ZAP Scanning Report

Summary of Alerts

Generated on Wed, 1 Sep 2021 00:09:13

Risk LevelNumber of Alerts
High0
Medium4
Low7
Informational7

Alerts

NameRisk LevelNumber of Instances
Content Security Policy (CSP) Header Not SetMedium2
Cross-Domain MisconfigurationMedium1
Source Code Disclosure - JavaMedium2
X-Frame-Options Header Not SetMedium2
Cookie No HttpOnly FlagLow11
Cookie without SameSite AttributeLow11
Cookie Without Secure FlagLow11
Dangerous JS FunctionsLow1
Permissions Policy Header Not SetLow8
Strict-Transport-Security Header Not SetLow1
X-Content-Type-Options Header MissingLow1
Base64 DisclosureInformational3
Charset Mismatch (Header Versus Meta Charset)Informational2
Information Disclosure - Suspicious CommentsInformational6
Loosely Scoped CookieInformational3
Modern Web ApplicationInformational6
Non-Storable ContentInformational11
Timestamp Disclosure - UnixInformational12

Alert Detail

Medium (High)Content Security Policy (CSP) Header Not Set
Description

Content Security Policy (CSP) is an added layer of security that helps to detect and mitigate certain types of attacks, including Cross Site Scripting (XSS) and data injection attacks. These attacks are used for everything from data theft to site defacement or distribution of malware. CSP provides a set of standard HTTP headers that allow website owners to declare approved sources of content that browsers should be allowed to load on that page — covered types are JavaScript, CSS, HTML frames, fonts, images and embeddable objects such as Java applets, ActiveX, audio and video files.

URLhttps://www.sipsi.travail.gouv.fr
MethodGET
URLhttps://www.sipsi.travail.gouv.fr/
MethodGET
Instances2
Solution

Ensure that your web server, application server, load balancer, etc. is configured to set the Content-Security-Policy header, to achieve optimal browser support: "Content-Security-Policy" for Chrome 25+, Firefox 23+ and Safari 7+, "X-Content-Security-Policy" for Firefox 4.0+ and Internet Explorer 10+, and "X-WebKit-CSP" for Chrome 14+ and Safari 6+.

Reference

https://developer.mozilla.org/en-US/docs/Web/Security/CSP/Introducing_Content_Security_Policy

https://cheatsheetseries.owasp.org/cheatsheets/Content_Security_Policy_Cheat_Sheet.html

http://www.w3.org/TR/CSP/

http://w3c.github.io/webappsec/specs/content-security-policy/csp-specification.dev.html

http://www.html5rocks.com/en/tutorials/security/content-security-policy/

http://caniuse.com/#feat=contentsecuritypolicy

http://content-security-policy.com/

CWE Id693
WASC Id15
Source ID3
Medium (Medium)Cross-Domain Misconfiguration
Description

Web browser data loading may be possible, due to a Cross Origin Resource Sharing (CORS) misconfiguration on the web server

URLhttps://www.sipsi.travail.gouv.fr/ruxitagentjs_ICA2SVfqru_10213210506081349.js
MethodGET
EvidenceAccess-Control-Allow-Origin: *
Instances1
Solution

Ensure that sensitive data is not available in an unauthenticated manner (using IP address white-listing, for instance).

Configure the "Access-Control-Allow-Origin" HTTP header to a more restrictive set of domains, or remove all CORS headers entirely, to allow the web browser to enforce the Same Origin Policy (SOP) in a more restrictive manner.

Other information

The CORS misconfiguration on the web server permits cross-domain read requests from arbitrary third party domains, using unauthenticated APIs on this domain. Web browser implementations do not permit arbitrary third parties to read the response from authenticated APIs, however. This reduces the risk somewhat. This misconfiguration could be used by an attacker to access data that is available in an unauthenticated manner, but which uses some other form of security, such as IP address white-listing.

Reference

http://www.hpenterprisesecurity.com/vulncat/en/vulncat/vb/html5_overly_permissive_cors_policy.html

CWE Id264
WASC Id14
Source ID3
Medium (Medium)Source Code Disclosure - Java
Description

Application Source Code was disclosed by the web server - Java

URLhttps://www.sipsi.travail.gouv.fr/main-es2015.5ee986c60d05e7fefe51.js
MethodGET
Evidenceclass t{constructor(){this.NUMERIC=/^\d+$/,this.DECIMAL=/^\d+\.?\d{0,2}$/,this.validPattern=this.NUMERIC}get appNumber(){return this._appNumber}set appNumber(t){this._appNumber=t,"int"===this._appNumber?this.validPattern=this.NUMERIC:"float"===this._appNumber&&(this.validPattern=this.DECIMAL)}get min(){return this._min}set min(t){this._min=+t}getTextAfterInsertNewValue(t,e,n){return t.substring(0,e)+n+t.substring(e,t.length)}isValid(t,e,n){return this.validPattern.test(this.getTextAfterInsertNewValue(t,e,n))}onKeydown(t){if(1!==t.key.length)t.preventDefault();else if(!t.ctrlKey&&t.key){const e=t.target;this.isValid(e.value,e.selectionStart,t.key)&&(!this._min||+this.getTextAfterInsertNewValue(e.value,e.selectionStart,t.key)>=this._min)||t.preventDefault()}}onblur(t){const e=t.target.value;e&&"."===e.charAt(e.length-1)&&(t.currentTarget.value=e.trim()),t.currentTarget.value=+t.currentTarget.value}onChange(t){const e=t.clipboardData.getData("text/plain");this.isValid(t.target.value,t.target.selectionStart,e)||t.preventDefault()}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.Ib({type:t,selectors:[["","appNumber",""]],hostBindings:function(t,e){1&t&&i.bc("keydown",function(t){return e.onKeydown(t)})("blur",function(t){return e.onblur(t)})("paste",function(t){return e.onChange(t)})},inputs:{appNumber:"appNumber",min:"min"}}),t})()},"/uUt":function(t,e,n){"use strict";n.d(e,"a",function(){return a});var i=n("7o/Q");function a(t,e){return n=>n.lift(new r(t,e))}class r{constructor(t,e){this.compare=t,this.keySelector=e}call(t,e){return e.subscribe(new o(t,this.compare,this.keySelector))}}class o extends i.a{constructor(t,e,n){super(t),this.keySelector=n,this.hasKey=!1,"function"==typeof e&&(this.compare=e)}compare(t,e){return t===e}_next(t){let e;try{const{keySelector:n}=this;e=n?n(t):t}catch(i){return this.destination.error(i)}let n=!1;if(this.hasKey)try{const{compare:t}=this;n=t(this.key,e)}catch(i){return this.destination.error(i)}else this.hasKey=!0;n||(this.key=e,this.destination.next(t))}}},0:function(t,e,n){t.exports=n("zUnb")},"0/Se":function(t,e,n){"use strict";n.d(e,"a",function(){return g});var i=n("xgIS"),a=n("LRne"),r=n("Kj3r"),o=n("/uUt"),s=n("vkgz"),l=n("JIr8"),c=n("nYR2"),d=n("IGtN");class u{constructor(){this.canCheck=!0,this.canSelect=!0}filter(t){if(this.value&&-1!==this.value.toLowerCase().indexOf(t.toLowerCase()))return this;let e=null;if(this.children&&this.children.length&&(e=this.children.map(e=>e.filter(t)).filter(t=>!!t)),e&&e.length){const t=new u;return t.id=this.id,t.value=this.value,t.canCheck=this.canCheck,t.children=e,t.originalData=this.originalData,t.canSelect=this.canSelect,t}return null}}var h=n("uuBd"),m=n("8Y7J"),p=n("TSSN");const f=["searchInput"];let g=(()=>{class t extends d.a{constructor(t,e){super(t),this.translateService=t,this.changeDetectorRef=e,this.label="",this.placeholder="",this.required=!1,this.disabled=!1,this.filter="",this.data=[],this.selection=[],this.allData=[],this.loading=!1,this.onChange=t=>{},this.onTouched=()=>{}}get selectedNodes(){return this._selectedNodes}set selectedNodes(t){t&&(this._selectedNodes=t,this.selection=t.map(t=>this.getId(t.originalData)),this.onChange(this.selection),this.changeDetectorRef.markForCheck())}ngAfterViewInit(){Object(i.a)(this.searchInput.nativeElement,"keyup").pipe(Object(r.a)(250),Object(o.a)(),Object(s.a)(()=>this.filterChange())).subscribe()}load(){this.loading=!0,this.getData().pipe(Object(l.a)(()=>Object(a.a)([])),Object(c.a)(()=>this.loading=!1)).subscribe(t=>{this.allData=[],t&&t.length&&t.forEach(t=>this.buildTree(t,this.allData,!0)),this.data=this.allData,this.changeDetectorRef.markForCheck()})}buildTree(t,e,n){const i=this.getChildren(t),a=i&&i.length>0,r=new u;r.value=this.getLabel(t),r.id=this.getId(t),r.canCheck=!0,r.canSelect=!a,r.originalData=t,a?(r.children=[],i.forEach(t=>this.buildTree(t,r.children,!1)),e.push(r)):n||e.push(r)}validate(t){return!1===this.required||t.value?null:{required:!0}}filterChange(){this.data=this.allData.map(t=>t.filter(this.filter)).filter(t=>!!t),this.changeDetectorRef.markForCheck()}writeValue(t){this.selection=t||[],this._selectedNodes=[],t&&(this.allData.forEach(t=>this._selectedNodes.push(...this.checkSelection(t,this.selection))),this.treeView&&this.treeView.setSelection(this._selectedNodes)),this.changeDetectorRef.markForCheck()}registerOnChange(t){this.onChange=t}registerOnTouched(t){this.onTouched=t}checkSelection(t,e){const n=[];return-1!==e.indexOf(this.getId(t.originalData))&&n.push(t),t.children&&t.children.forEach(t=>n.push(...this.checkSelection(t,e))),n}}return t.\u0275fac=function(e){return new(e||t)(m.Nb(p.d),m.Nb(m.h))},t.\u0275cmp=m.Hb({type:t,selectors:[["ng-component"]],viewQuery:function(t,e){if(1&t&&(m.Lc(h.a,1),m.Lc(f,3)),2&t){let t;m.uc(t=m.cc())&&(e.treeView=t.first),m.uc(t=m.cc())&&(e.searchInput=t.first)}},inputs:{label:"label",placeholder:"placeholder",name:"name",required:"required",disabled:"disabled"},features:[m.zb],decls:0,vars:0,template:function(t,e){},encapsulation:2}),t})()},"05l1":function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("jtHE"),a=n("oB13");function r(t,e,n,r){n&&"function"!=typeof n&&(r=n);const o="function"==typeof n?n:void 0,s=new i.a(t,e,r);return t=>Object(a.a)(()=>s,o)(t)}},"06/9":function(t,e,n){"use strict";n.d(e,"a",function(){return m});var i=n("IGtN"),a=n("8Y7J"),r=n("TSSN"),o=n("CRH9"),s=n("zR8O"),l=n("SVse"),c=n("iInd");function d(t,e){1&t&&(a.Tb(0,"button",5),a.Ob(1,"div"),a.Sb())}function u(t,e){1&t&&(a.Tb(0,"button",6),a.Ob(1,"div"),a.Sb())}function h(t,e){if(1&t&&(a.Tb(0,"ngu-tile"),a.Tb(1,"a",7),a.Tb(2,"div",8),a.Hc(3),a.Sb(),a.Tb(4,"span"),a.Hc(5),a.gc(6,"date"),a.Sb(),a.Sb(),a.Sb()),2&t){const t=e.$implicit;a.Cb(1),a.pc("routerLink","/news/",t.id,""),a.Cb(2),a.Ic(t.title),a.Cb(2),a.Ic(a.ic(6,3,t.date,"dd/MM/yy"))}}let m=(()=>{class t extends i.a{constructor(t,e,n){super(t),this.translateService=t,this.newsService=e,this.changeDetectorRef=n,this.carouselConfig={grid:{xs:1,sm:2,md:3,lg:3,all:0},slide:1,animation:"lazy",speed:100,interval:{timing:4e3,initialDelay:1e3},point:{visible:!1},load:2,loop:!1,touch:!1,easing:"ease"},this.news=new Array}load(){this.subscriptions.push(this.newsService.getNewsList().subscribe(t=>{this.news=t,setTimeout(()=>this.changeDetectorRef.markForCheck())}))}}return t.\u0275fac=function(e){return new(e||t)(a.Nb(r.d),a.Nb(o.a),a.Nb(a.h))},t.\u0275cmp=a.Hb({type:t,selectors:[["app-news-carrousel"]],features:[a.zb],decls:5,vars:4,consts:[[3,"inputs","dataSource"],["myCarousel",""],["NguCarouselPrev","","aria-label","previous","class","nav leftRs",4,"ngIf"],["NguCarouselNext","","aria-label","next","class","nav rightRs",4,"ngIf"],[4,"nguCarouselDef"],["NguCarouselPrev","","aria-label","previous",1,"nav","leftRs"],["NguCarouselNext","","aria-label","next",1,"nav","rightRs"],["routerLinkActive","active",3,"routerLink"],[1,"title"]],template:function(t,e){if(1&t&&(a.Tb(0,"ngu-carousel",0,1),a.Fc(2,d,2,0,"button",2),a.Fc(3,u,2,0,"button",3),a.Fc(4,h,7,6,"ngu-tile",4),a.Sb()),2&t){const t=a.vc(1);a.nc("inputs",e.carouselConfig)("dataSource",e.news),a.Cb(2),a.nc("ngIf",!t.isFirst),a.Cb(1),a.nc("ngIf",!t.isLast)}},directives:[s.a,l.l,s.b,s.e,s.d,s.f,c.i,c.h],pipes:[l.e],styles:[".mat-badge-content[_ngcontent-%COMP%]{font-weight:600;font-size:12px;font-family:Roboto,Helvetica Neue,sans-serif}.mat-badge-small[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{font-size:9px}.mat-badge-large[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{font-size:24px}.mat-h1[_ngcontent-%COMP%], .mat-headline[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font:400 24px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h2[_ngcontent-%COMP%], .mat-title[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font:500 20px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h3[_ngcontent-%COMP%], .mat-subheading-2[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font:400 16px/28px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h4[_ngcontent-%COMP%], .mat-subheading-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{font:400 15px/24px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h5[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{font:400 calc(14px * .83)/20px Roboto,Helvetica Neue,sans-serif;margin:0 0 12px}.mat-h6[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font:400 calc(14px * .67)/20px Roboto,Helvetica Neue,sans-serif;margin:0 0 12px}.mat-body-2[_ngcontent-%COMP%], .mat-body-strong[_ngcontent-%COMP%]{font:500 14px/24px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-body[_ngcontent-%COMP%], .mat-body-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%]{font:400 14px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-body-1[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .mat-body[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0 0 12px}.mat-caption[_ngcontent-%COMP%], .mat-small[_ngcontent-%COMP%]{font:400 12px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-display-4[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-4[_ngcontent-%COMP%]{font:300 112px/112px Roboto,Helvetica Neue,sans-serif;letter-spacing:-.05em;margin:0 0 56px}.mat-display-3[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-3[_ngcontent-%COMP%]{font:400 56px/56px Roboto,Helvetica Neue,sans-serif;letter-spacing:-.02em;margin:0 0 64px}.mat-display-2[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-2[_ngcontent-%COMP%]{font:400 45px/48px Roboto,Helvetica Neue,sans-serif;letter-spacing:-.005em;margin:0 0 64px}.mat-display-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-1[_ngcontent-%COMP%]{font:400 34px/40px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 64px}.mat-bottom-sheet-container[_ngcontent-%COMP%]{font:400 14px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-button[_ngcontent-%COMP%], .mat-fab[_ngcontent-%COMP%], .mat-flat-button[_ngcontent-%COMP%], .mat-icon-button[_ngcontent-%COMP%], .mat-mini-fab[_ngcontent-%COMP%], .mat-raised-button[_ngcontent-%COMP%], .mat-stroked-button[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:500}.mat-button-toggle[_ngcontent-%COMP%], .mat-card[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-card-title[_ngcontent-%COMP%]{font-size:24px;font-weight:500}.mat-card-header[_ngcontent-%COMP%] .mat-card-title[_ngcontent-%COMP%]{font-size:20px}.mat-card-content[_ngcontent-%COMP%], .mat-card-subtitle[_ngcontent-%COMP%]{font-size:14px}.mat-checkbox[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-checkbox-layout[_ngcontent-%COMP%] .mat-checkbox-label[_ngcontent-%COMP%]{line-height:24px}.mat-chip[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.mat-chip[_ngcontent-%COMP%] .mat-chip-remove.mat-icon[_ngcontent-%COMP%], .mat-chip[_ngcontent-%COMP%] .mat-chip-trailing-icon.mat-icon[_ngcontent-%COMP%]{font-size:18px}.mat-table[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-header-cell[_ngcontent-%COMP%]{font-size:12px;font-weight:500}.mat-cell[_ngcontent-%COMP%], .mat-footer-cell[_ngcontent-%COMP%]{font-size:14px}.mat-calendar[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-calendar-body[_ngcontent-%COMP%]{font-size:13px}.mat-calendar-body-label[_ngcontent-%COMP%], .mat-calendar-period-button[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.mat-calendar-table-header[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{font-size:11px;font-weight:400}.mat-dialog-title[_ngcontent-%COMP%]{font:500 20px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-expansion-panel-header[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:15px;font-weight:400}.mat-expansion-panel-content[_ngcontent-%COMP%]{font:400 14px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-form-field[_ngcontent-%COMP%]{font-size:inherit;font-weight:400;line-height:1.125;font-family:Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-form-field-wrapper[_ngcontent-%COMP%]{padding-bottom:1.34375em}.mat-form-field-prefix[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%], .mat-form-field-suffix[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{font-size:150%;line-height:1.125}.mat-form-field-prefix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%], .mat-form-field-suffix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%]{height:1.5em;width:1.5em}.mat-form-field-prefix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%], .mat-form-field-suffix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{height:1.125em;line-height:1.125}.mat-form-field-infix[_ngcontent-%COMP%]{padding:.5em 0;border-top:.84375em solid rgba(0,0,0,0)}.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-1.34375em) scale(.75);transform:translateY(-1.34375em) scale(.75);width:133.3333333333%}.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-1.34374em) scale(.75);transform:translateY(-1.34374em) scale(.75);width:133.3333433333%}.mat-form-field-label-wrapper[_ngcontent-%COMP%]{top:-.84375em;padding-top:.84375em}.mat-form-field-label[_ngcontent-%COMP%]{top:1.34375em}.mat-form-field-underline[_ngcontent-%COMP%]{bottom:1.34375em}.mat-form-field-subscript-wrapper[_ngcontent-%COMP%]{font-size:75%;margin-top:.6666666667em;top:calc(100% - 1.7916666667em)}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-wrapper[_ngcontent-%COMP%]{padding-bottom:1.25em}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]{padding:.4375em 0}.mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.001px);-ms-transform:translateY(-1.28125em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-form-field-autofill-control[_ngcontent-%COMP%]:-webkit-autofill + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00101px);-ms-transform:translateY(-1.28124em) scale(.75);width:133.3333433333%}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00102px);-ms-transform:translateY(-1.28123em) scale(.75);width:133.3333533333%}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{top:1.28125em}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]{bottom:1.25em}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-subscript-wrapper[_ngcontent-%COMP%]{margin-top:.5416666667em;top:calc(100% - 1.6666666667em)}@media print{.mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-1.28122em) scale(.75);transform:translateY(-1.28122em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-form-field-autofill-control[_ngcontent-%COMP%]:-webkit-autofill + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{transform:translateY(-1.28121em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-1.2812em) scale(.75);transform:translateY(-1.2812em) scale(.75)}}.mat-form-field-appearance-fill[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]{padding:.25em 0 .75em}.mat-form-field-appearance-fill[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{top:1.09375em;margin-top:-.5em}.mat-form-field-appearance-fill.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-fill.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-.59375em) scale(.75);transform:translateY(-.59375em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-fill.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-.59374em) scale(.75);transform:translateY(-.59374em) scale(.75);width:133.3333433333%}.mat-form-field-appearance-outline[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]{padding:1em 0}.mat-form-field-appearance-outline[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{top:1.84375em;margin-top:-.25em}.mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-outline.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-1.59375em) scale(.75);transform:translateY(-1.59375em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-outline.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-1.59374em) scale(.75);transform:translateY(-1.59374em) scale(.75);width:133.3333433333%}.mat-grid-tile-footer[_ngcontent-%COMP%], .mat-grid-tile-header[_ngcontent-%COMP%]{font-size:14px}.mat-grid-tile-footer[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%], .mat-grid-tile-header[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-grid-tile-footer[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2), .mat-grid-tile-header[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:12px}input.mat-input-element[_ngcontent-%COMP%]{margin-top:-.0625em}.mat-menu-item[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:400}.mat-paginator[_ngcontent-%COMP%], .mat-paginator-page-size[_ngcontent-%COMP%] .mat-select-trigger[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:12px}.mat-radio-button[_ngcontent-%COMP%], .mat-select[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-select-trigger[_ngcontent-%COMP%]{height:1.125em}.mat-slide-toggle-content[_ngcontent-%COMP%], .mat-slider-thumb-label-text[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-slider-thumb-label-text[_ngcontent-%COMP%]{font-size:12px;font-weight:500}.mat-stepper-horizontal[_ngcontent-%COMP%], .mat-stepper-vertical[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-step-label[_ngcontent-%COMP%]{font-size:14px;font-weight:400}.mat-step-sub-label-error[_ngcontent-%COMP%]{font-weight:400}.mat-step-label-error[_ngcontent-%COMP%]{font-size:14px}.mat-step-label-selected[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.mat-tab-group[_ngcontent-%COMP%], .mat-tab-label[_ngcontent-%COMP%], .mat-tab-link[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-tab-label[_ngcontent-%COMP%], .mat-tab-link[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.mat-toolbar[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font:500 20px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0}.mat-tooltip[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:10px;padding-top:6px;padding-bottom:6px}.mat-tooltip-handset[_ngcontent-%COMP%]{font-size:14px;padding-top:8px;padding-bottom:8px}.mat-list-item[_ngcontent-%COMP%], .mat-list-option[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]{font-size:16px}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:14px}.mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%]{font-size:16px}.mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:14px}.mat-list-base[_ngcontent-%COMP%] .mat-subheader[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:500}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]{font-size:12px}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2), .mat-list-base[dense][_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%]{font-size:12px}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:12px}.mat-list-base[dense][_ngcontent-%COMP%] .mat-subheader[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:12px;font-weight:500}.mat-option[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:16px}.mat-optgroup-label[_ngcontent-%COMP%]{font:500 14px/24px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-simple-snackbar[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px}.mat-simple-snackbar-action[_ngcontent-%COMP%]{line-height:1;font-family:inherit;font-size:inherit;font-weight:500}.mat-tree[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-nested-tree-node[_ngcontent-%COMP%], .mat-tree-node[_ngcontent-%COMP%]{font-weight:400;font-size:14px}.mat-ripple[_ngcontent-%COMP%]{overflow:hidden;position:relative}.mat-ripple[_ngcontent-%COMP%]:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded[_ngcontent-%COMP%]{overflow:visible}.mat-ripple-element[_ngcontent-%COMP%]{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0,0,.2,1);-ms-transform:scale(0);transform:scale(0)}.cdk-high-contrast-active[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{display:none}.cdk-visually-hidden[_ngcontent-%COMP%]{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;outline:0;-webkit-appearance:none;-moz-appearance:none}.cdk-global-overlay-wrapper[_ngcontent-%COMP%], .cdk-overlay-container[_ngcontent-%COMP%]{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container[_ngcontent-%COMP%]{position:fixed;z-index:1000}.cdk-overlay-container[_ngcontent-%COMP%]:empty{display:none}.cdk-global-overlay-wrapper[_ngcontent-%COMP%], .cdk-overlay-pane[_ngcontent-%COMP%]{display:-ms-flexbox;display:flex;position:absolute;z-index:1000}.cdk-overlay-pane[_ngcontent-%COMP%]{pointer-events:auto;box-sizing:border-box;max-width:100%;max-height:100%}.cdk-overlay-backdrop[_ngcontent-%COMP%]{position:absolute;top:0;bottom:0;left:0;right:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:transparent;transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:1}@media screen and (-ms-high-contrast:active){.cdk-overlay-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:.6}}.cdk-overlay-dark-backdrop[_ngcontent-%COMP%]{background:rgba(0,0,0,.32)}.cdk-overlay-transparent-backdrop[_ngcontent-%COMP%], .cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:0}.cdk-overlay-connected-position-bounding-box[_ngcontent-%COMP%]{position:absolute;z-index:1000;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock[_ngcontent-%COMP%]{position:fixed;width:100%;overflow-y:scroll}@-webkit-keyframes cdk-text-field-autofill-start{\n }@keyframes cdk-text-field-autofill-start{\n }@-webkit-keyframes cdk-text-field-autofill-end{\n }@keyframes cdk-text-field-autofill-end{\n }.cdk-text-field-autofill-monitored[_ngcontent-%COMP%]:-webkit-autofill{-webkit-animation:cdk-text-field-autofill-start 0s 1ms;animation:cdk-text-field-autofill-start 0s 1ms}.cdk-text-field-autofill-monitored[_ngcontent-%COMP%]:not(:-webkit-autofill){-webkit-animation:cdk-text-field-autofill-end 0s 1ms;animation:cdk-text-field-autofill-end 0s 1ms}textarea.cdk-textarea-autosize[_ngcontent-%COMP%]{resize:none}textarea.cdk-textarea-autosize-measuring[_ngcontent-%COMP%]{padding:2px 0!important;box-sizing:content-box!important;height:auto!important;overflow:hidden!important}textarea.cdk-textarea-autosize-measuring-firefox[_ngcontent-%COMP%]{padding:2px 0!important;box-sizing:content-box!important;height:0!important}.mat-focus-indicator[_ngcontent-%COMP%], .mat-mdc-focus-indicator[_ngcontent-%COMP%]{position:relative} .home-news{padding-top:24px} .home-news ngu-carousel{-ms-flex:1 1 100%;flex:1 1 100%} .home-news ngu-carousel .item{padding:10px} .home-news ngu-carousel .item .tile{height:120px;background:linear-gradient(135deg,#468dcd,#2770c2);margin:0 5px;line-height:28px} .home-news ngu-carousel .item .tile div{padding:0 20px;text-align:center;width:100%} .home-news ngu-carousel .item .tile span{font-size:.8em;font-weight:400} .home-news ngu-carousel .item .tile a{height:100%;width:100%;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;color:#fff;font-size:1.2rem;font-weight:700} .home-news ngu-carousel .item .tile a:-webkit-any-link{text-decoration:none} .home-news ngu-carousel .item .tile a:-moz-any-link{text-decoration:none} .home-news ngu-carousel .item .tile a:any-link{text-decoration:none} .home-news ngu-carousel .item .tile a:hover{cursor:pointer;background:linear-gradient(135deg,#2770c2,#468dcd)} .home-news ngu-carousel .nav{position:absolute;margin:auto;top:0;bottom:0;width:50px;height:100px;border:0;background-color:hsla(0,0%,100%,.6);outline:0} .home-news ngu-carousel .nav:hover{cursor:pointer;background-color:hsla(0,0%,100%,.8)} .home-news ngu-carousel .nav div{width:20px;height:20px;border-top:3px solid #2661a1} .home-news ngu-carousel .nav.leftRs{left:0;border-bottom-right-radius:100px;border-top-right-radius:100px} .home-news ngu-carousel .nav.leftRs div{border-left:3px solid #2661a1;-ms-transform:rotate(-45deg);transform:rotate(-45deg);margin:6px 0 6px 6px} .home-news ngu-carousel .nav.rightRs{right:0;border-bottom-left-radius:100px;border-top-left-radius:100px} .home-news ngu-carousel .nav.rightRs div{border-right:3px solid #2661a1;-ms-transform:rotate(45deg);transform:rotate(45deg);margin:6px 6px 6px 0} .home-news ngu-carousel .title{display:inline-table} .home-news h2{text-align:center}"],changeDetection:0}),t})()},"0MyW":function(t,e,n){"use strict";n.d(e,"a",function(){return N});var i=n("s7LF"),a=n("EY2u"),r=n("nYR2"),o=n("JIr8"),s=n("v/fa"),l=n("Rqom"),c=n("p/g4"),d=n("zfSa"),u=n("hGT6"),h=n("uc2U"),m=n("VIK+"),p=n("8Y7J"),f=n("TSSN"),g=n("zaPX"),b=n("keau"),_=n("iELJ"),y=n("iInd"),v=n("WTUP"),C=n("pSGz"),w=n("SVse"),x=n("Q2Ze"),M=n("e6WT"),O=n("q6Qu"),k=n("48lP"),S=n("pMoy"),T=n("Mkv7"),P=n("Tj54");function L(t,e){if(1&t){const t=p.Ub();p.Tb(0,"mat-checkbox",9),p.bc("change",function(e){return p.yc(t),p.fc().onNoTVAChange(e)}),p.Hc(1),p.gc(2,"translate"),p.Sb()}if(2&t){const t=p.fc();p.nc("indeterminate",t.country&&t.country.hasTVA),p.Cb(1),p.Jc(" ",p.hc(2,2,"common.tva.no")," ")}}function D(t,e){if(1&t){const t=p.Ub();p.Tb(0,"div",2),p.Tb(1,"app-tva-check-2",10),p.bc("stateChangeEvent",function(e){return p.yc(t),p.fc().onStateChange(e)})("tvaCheckEvent",function(e){return p.yc(t),p.fc().onTvaChange(e)}),p.Sb(),p.Sb()}if(2&t){const t=p.fc();p.Cb(1),p.nc("preventDoubleCheck",t.preventDoubleCheck)("state",t.state)("displayErrorMessageIndisponible",t.displayErrorMessageIndisponible)("formCtrl",t.numTVACtrl)("countryCode",null==t.country?null:t.country.codeTVA)("isAutocompleteDisabled",t.isAutocompleteDisabled)}}function E(t,e){1&t&&(p.Tb(0,"mat-error",11),p.Tb(1,"mat-icon",12),p.Hc(2,"close"),p.Sb(),p.Hc(3),p.gc(4,"translate"),p.Sb()),2&t&&(p.Cb(1),p.nc("color","warn"),p.Cb(2),p.Jc(" ",p.hc(4,2,"tva.error.ineligible")," "))}function A(t,e){1&t&&(p.Tb(0,"mat-error"),p.Hc(1),p.gc(2,"translate"),p.Sb()),2&t&&(p.Cb(1),p.Jc(" ",p.hc(2,1,"common.error.requis")," "))}function I(t,e){1&t&&(p.Tb(0,"mat-error"),p.Hc(1),p.gc(2,"translate"),p.Sb()),2&t&&(p.Cb(1),p.Jc(" ",p.hc(2,1,"common.error.length")," "))}function R(t,e){1&t&&(p.Tb(0,"mat-form-field",2),p.Ob(1,"input",13),p.Sb())}let N=(()=>{class t extends s.a{constructor(t,e,n,i,a,r){super(t),this.translateService=t,this.configSharedService=e,this.sireneService=n,this.dialog=i,this.route=a,this.loadingService=r,this.completion=!1,this.eligible=!0}load(){this.form=this.formGp,this.countries=this.configSharedService.countries,this.donneurOrdre=this.configSharedService.user&&this.configSharedService.user.role===d.a.DONNEUR_ORDRE;const t=this.route.snapshot.data.resolvedData;t&&(this.state=t.state,this.eligible=t.eligible),this.state===h.a.VALID&&this.countryCtrl.value&&"FR"===this.countryCtrl.value.code&&this.disableClientInfos(),this.numTVACtrl.setValidators([i.w.required,i.w.pattern("^\\w+$"),()=>l.a.numTVAInClient(this.eligible,this.state)])}get country(){return this.countryCtrl.value}get countryCtrl(){return this.addressFg.get("pays")}get showCheckboxSelectNoTVA(){return!this.donneurOrdre&&!this.completion}get isCodeNafDisplayed(){return!!this.form.get("codeNaf").value}get noTVACtrl(){return this.form.get("noTVA")}get isTvaDisplayed(){return!this.noTVACtrl.value&&this.country&&this.country.hasTVA}get addressFg(){return this.form.get("adresse")}get numTVACtrl(){return this.form.get("numTVA")}get raisonSocialeCtrl(){return this.form.get("raisonSociale")}onTvaChange(t){(this.modeDpd&&!this.donneurOrdre||!this.modeDpd)&&(t.isValid&&"FR"===this.country.code?this.checkSiren(t.numTVA,t.clientSelection,!0):t.clientSelection?(this.form.patchValue({raisonSociale:t.clientSelection.raisonSociale,adresse:{adresse:t.clientSelection.adresse,cp:t.clientSelection.cp,ville:t.clientSelection.ville,complementAdresse:t.clientSelection.complementAdresse},codeNaf:null,email:t.clientSelection.email}),this.enableClientInfos()):(this.eligible=!0,this.numTVACtrl.updateValueAndValidity()),this.updateLocationsAndRepresentativeValidity())}updateLocationsAndRepresentativeValidity(){this.modeDpd&&(this.configSharedService.form.get(u.a.LOCATIONS).updateValueAndValidity(),this.configSharedService.form.get(u.a.REPRESENTATIVE).updateValueAndValidity())}onCountryChange(t){t&&t.hasTVA?(this.noTVACtrl.enable(),this.numTVACtrl.enable()):(this.noTVACtrl.disable(),this.numTVACtrl.disable()),this.enableClientInfos(),this.reset(t),this.updateLocationsAndRepresentativeValidity()}checkSiren(t,e,n){if(!this.noTVACtrl.value&&t){const i=[{field:"siren",values:[t.slice(-9)],operand:c.a.EQUAL}];this.loadingService.setLoading(!0),this.subscriptions.push(this.sireneService.getSirets(i).pipe(Object(r.a)(()=>this.loadingService.setLoading(!1)),Object(o.a)(t=>(404===t.status?(this.eligible=!1,this.numTVACtrl.updateValueAndValidity(),this.disableClientInfos()):500===t.status&&(this.displayErrorMessageIndisponible=!0),a.a))).subscribe(t=>{this.eligible=!0,this.displayErrorMessageIndisponible=!1,this.numTVACtrl.updateValueAndValidity(),n&&t.total>0&&this.onSiretsFound(t,e)}))}}onSiretsFound(t,e){const n=t.items.find(t=>!!t.etablissementSiege);let i;n&&n.adresseSiren&&"FR"===n.adresseSiren.pays?(i={raisonSociale:n.rs,adresse:{adresse:n.adresseSiren.adresse,cp:n.adresseSiren.cp,ville:n.adresseSiren.ville,complementAdresse:n.adresseSiren.complementAdresse},codeNaf:n.codeNaf},e&&(i=Object.assign(Object.assign({},i),{email:e.email,numTVA:e.numTVA})),this.form.patchValue(i),this.disableClientInfos()):t.items&&t.items.length>0&&this.showSIRENPopup(t.items)}reset(t){let e={numTVA:null,raisonSociale:null,adresse:{adresse:null,complementAdresse:null,cp:null,ville:null},stateTVA:h.a.VALIDATE,codeNaf:null};void 0!==t&&(e=Object.assign(Object.assign({},e),{noTVA:!!t&&!t.hasTVA,adresse:Object.assign(Object.assign({},e.adresse),{pays:t})})),this.eligible=!0,this.form.patchValue(e)}showSIRENPopup(t){this.dialog.open(m.a,{data:{sirens:t},width:"90%",maxWidth:"90%"}).beforeClosed().subscribe(t=>{this.preventDoubleCheck=!1,t&&t.address&&(this.form.patchValue({raisonSociale:t.rs,adresse:{adresse:t.address.adresse,complementAdresse:t.address.complementAdresse,cp:t.address.cp,ville:t.address.ville,pays:this.countries.find(e=>e.code===t.address.pays),latitude:t.address.coordonnees.latitude,longitude:t.address.coordonnees.longitude},codeNaf:t.codeNaf}),this.disableClientInfos())})}onNoTVAChange(t){const e=t.checked;this.reset(),e?(this.numTVACtrl.disable(),this.enableClientInfos()):this.numTVACtrl.enable()}enableClientInfos(){this.raisonSocialeCtrl.enable(),this.addressFg.enable()}disableClientInfos(){this.raisonSocialeCtrl.disable(),this.addressFg.disable(),(this.completion||this.donneurOrdre)&&this.modeDpd||this.addressFg.get("pays").enable()}onStateChange(t){this.state=t,this.numTVACtrl.updateValueAndValidity()}}return t.\u0275fac=function(e){return new(e||t)(p.Nb(f.d),p.Nb(g.a),p.Nb(b.a),p.Nb(_.b),p.Nb(y.a),p.Nb(v.a))},t.\u0275cmp=p.Hb({type:t,selectors:[["app-client-form-2"]],inputs:{formGp:"formGp",modeDpd:"modeDpd",isAutocompleteDisabled:"isAutocompleteDisabled",completion:"completion"},features:[p.zb],decls:12,vars:15,consts:[[1,"client_container",3,"formGroup"],[1,"item",3,"countryCtrl","inputTitle","isRequired","showFR","selectionChanged"],[1,"item"],["data-cy","noTVA","color","primary","name","noTVA","formControlName","noTVA",3,"indeterminate","change",4,"ngIf"],["class","item",4,"ngIf"],["class","row",4,"ngIf"],["matInput","","data-cy","raison-sociale","type","text","name","raisonSociale","appLabel","compte.raisonsociale","formControlName","raisonSociale","required",""],[4,"ngIf"],["data-cy","client-adresse","name","entreprise",1,"item",3,"formGp","showCountry","isAutocompleteDisabled","isRequired"],["data-cy","noTVA","color","primary","name","noTVA","formControlName","noTVA",3,"indeterminate","change"],["data-cy","numTVA",3,"preventDoubleCheck","state","displayErrorMessageIndisponible","formCtrl","countryCode","isAutocompleteDisabled","stateChangeEvent","tvaCheckEvent"],[1,"row"],[3,"color"],["matInput","","data-cy","code-naf","type","text","name","codeNaf","appLabel","client.codeNaf","formControlName","codeNaf"]],template:function(t,e){1&t&&(p.Tb(0,"form",0),p.Tb(1,"app-country-autocomplete-2",1),p.bc("selectionChanged",function(t){return e.onCountryChange(t)}),p.Sb(),p.Tb(2,"div",2),p.Fc(3,L,3,4,"mat-checkbox",3),p.Sb(),p.Fc(4,D,2,6,"div",4),p.Fc(5,E,5,4,"mat-error",5),p.Tb(6,"mat-form-field",2),p.Ob(7,"input",6),p.Fc(8,A,3,3,"mat-error",7),p.Fc(9,I,3,3,"mat-error",7),p.Sb(),p.Ob(10,"app-address-form-2",8),p.Fc(11,R,2,0,"mat-form-field",4),p.Sb()),2&t&&(p.nc("formGroup",e.form),p.Cb(1),p.nc("countryCtrl",e.countryCtrl)("inputTitle","common.pays")("isRequired",!0)("showFR",!0),p.Cb(2),p.nc("ngIf",e.showCheckboxSelectNoTVA),p.Cb(1),p.nc("ngIf",e.isTvaDisplayed),p.Cb(1),p.nc("ngIf",!e.eligible),p.Cb(3),p.nc("ngIf",e.doesControlHaveError("raisonSociale","required")),p.Cb(1),p.nc("ngIf",e.doesControlHaveError("raisonSociale","maxlength")),p.Cb(1),p.nc("formGp",e.addressFg)("showCountry",!1)("isAutocompleteDisabled",e.isAutocompleteDisabled)("isRequired",!0),p.Cb(1),p.nc("ngIf",e.isCodeNafDisplayed))},directives:[i.x,i.p,i.i,C.a,w.l,x.c,M.b,i.c,O.a,i.o,i.g,i.v,k.a,S.a,T.a,x.b,P.a],pipes:[f.c],styles:[".client_container[_ngcontent-%COMP%]{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.client_container[_ngcontent-%COMP%] .item[_ngcontent-%COMP%]{width:100%}"]}),t})()},"0h1T":function(t,e,n){"use strict";n.d(e,"a",function(){return i});var i=function(t){return t[t.EMAIL=256]="EMAIL",t[t.COMMON=70]="COMMON",t[t.NUMBER=50]="NUMBER",t[t.ADDRESS=256]="ADDRESS",t[t.LONG_PERIOD_MOTIVE=256]="LONG_PERIOD_MOTIVE",t}({})},"0j+H":function(t,e,n){"use strict";n.r(e),n.d(e,"DeclarationAccessModule",function(){return Q});var i=n("SVse"),a=n("PCNd"),r=n("iInd"),o=n("nYR2"),s=n("IGtN"),l=function(t){return t.POSSIBLE="possible",t.ENCOURS="encours",t.VALIDE="valide",t.REFUSE="refuse",t}({}),c=n("8Y7J"),d=n("TSSN"),u=n("eaIg"),h=n("PDjf"),m=n("mbGh"),p=n("s7LF"),f=n("Dxy4"),g=n("M9ds"),b=n("jKJn"),_=n("o4Yh"),y=n("LUZP"),v=n("OaSA"),C=n("GH2U"),w=n("Tj54"),x=n("lawv");function M(t,e){1&t&&(c.Tb(0,"th",11),c.Hc(1),c.gc(2,"translate"),c.Sb()),2&t&&(c.Cb(1),c.Ic(c.hc(2,1,"declaration.access.table.code")))}function O(t,e){if(1&t&&(c.Tb(0,"td",12),c.Hc(1),c.Sb()),2&t){const t=e.$implicit;c.Cb(1),c.Ic(null==t?null:t.code)}}function k(t,e){1&t&&(c.Tb(0,"th",11),c.Hc(1),c.gc(2,"translate"),c.Sb()),2&t&&(c.Cb(1),c.Ic(c.hc(2,1,"declaration.access.table.version")))}function S(t,e){if(1&t&&(c.Tb(0,"td",12),c.Hc(1),c.Sb()),2&t){const t=e.$implicit;c.Cb(1),c.Ic(null==t?null:t.version)}}function T(t,e){1&t&&(c.Tb(0,"th",11),c.Hc(1),c.gc(2,"translate"),c.Sb()),2&t&&(c.Cb(1),c.Ic(c.hc(2,1,"declaration.access.table.date.debut")))}function P(t,e){if(1&t&&(c.Tb(0,"td",12),c.Hc(1),c.gc(2,"amDateFormat"),c.Sb()),2&t){const t=e.$implicit;c.Cb(1),c.Ic(c.ic(2,1,null==t?null:t.dateDebut,"DD/MM/YYYY"))}}function L(t,e){1&t&&(c.Tb(0,"th",11),c.Hc(1),c.gc(2,"translate"),c.Sb()),2&t&&(c.Cb(1),c.Ic(c.hc(2,1,"declaration.access.table.date.fin")))}function D(t,e){if(1&t&&(c.Tb(0,"td",12),c.Hc(1),c.gc(2,"amDateFormat"),c.Sb()),2&t){const t=e.$implicit;c.Cb(1),c.Ic(c.ic(2,1,null==t?null:t.dateFin,"DD/MM/YYYY"))}}function E(t,e){1&t&&c.Ob(0,"th",11)}function A(t,e){if(1&t){const t=c.Ub();c.Tb(0,"button",14),c.bc("click",function(){c.yc(t);const e=c.fc().$implicit;return c.fc().download(e.code)}),c.Tb(1,"mat-icon",15),c.Hc(2,"cloud_download"),c.Sb(),c.Sb()}}function I(t,e){if(1&t&&(c.Tb(0,"td",12),c.Fc(1,A,3,0,"button",13),c.Sb()),2&t){const t=c.fc();c.Cb(1),c.nc("ngIf",t.canDownload)}}function R(t,e){1&t&&c.Ob(0,"tr",16)}function N(t,e){1&t&&c.Ob(0,"tr",17)}let Y=(()=>{class t extends s.a{constructor(t,e,n,i){super(t),this.translateService=t,this.changeDetectorRef=e,this.userDeclarationPrestataireService=n,this.declarationService=i,this.dataSource=new v.k([]),this.displayedColumns=["code","version","dateDebut","dateFin","download"],this.canDownload=!1}get type(){return this._type}set type(t){this._type=t,this.canDownload=this.type===l.VALIDE}ngOnInit(){super.ngOnInit(),this.dataSource.sort=this.sort}load(){this.subscriptions.push(this.raisonSociale?this.userDeclarationPrestataireService.getDeclarationsValide(this.hash,this.departements,this.type,this.raisonSociale).subscribe(t=>{this.dataSource.data=t,setTimeout(()=>this.changeDetectorRef.markForCheck())}):this.userDeclarationPrestataireService.getDeclarations(this.hash,this.departements,this.type).subscribe(t=>{this.dataSource.data=t,setTimeout(()=>this.changeDetectorRef.markForCheck())}))}download(t){this.declarationService.getAccuseReception(t).subscribe(t=>{if(window.navigator.msSaveBlob){const e=atob(t.file),n=new ArrayBuffer(e.length),i=new Uint8Array(n);for(let t=0;t<e.length;t++)i[t]=e.charCodeAt(t);const a=new Blob([n],{type:"application/pdf"});window.navigator.msSaveOrOpenBlob(a,t.nom)}else{const e=document.getElementById("dwnldLnk");e.href="data:application/octet-stream;base64,"+t.file,e.setAttribute("download",t.nom),e.click()}})}}return t.\u0275fac=function(e){return new(e||t)(c.Nb(d.d),c.Nb(c.h),c.Nb(u.a),c.Nb(C.a))},t.\u0275cmp=c.Hb({type:t,selectors:[["app-declaration-list"]],viewQuery:function(t,e){if(1&t&&c.Lc(y.a,3),2&t){let t;c.uc(t=c.cc())&&(e.sort=t.first)}},inputs:{hash:"hash",raisonSociale:"raisonSociale",departements:"departements",type:"type"},features:[c.zb],decls:19,vars:3,consts:[["mat-table","","matSort","",1,"declaration-list",3,"dataSource"],["matColumnDef","code"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","version"],["matColumnDef","dateDebut"],["matColumnDef","dateFin"],["matColumnDef","download"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["id","dwnldLnk",2,"display","none"],["mat-header-cell","","mat-sort-header",""],["mat-cell",""],["mat-icon-button","","aria-label","download",3,"click",4,"ngIf"],["mat-icon-button","","aria-label","download",3,"click"],["color","primary","aria-label","Download"],["mat-header-row",""],["mat-row",""]],template:function(t,e){1&t&&(c.Tb(0,"table",0),c.Rb(1,1),c.Fc(2,M,3,3,"th",2),c.Fc(3,O,2,1,"td",3),c.Qb(),c.Rb(4,4),c.Fc(5,k,3,3,"th",2),c.Fc(6,S,2,1,"td",3),c.Qb(),c.Rb(7,5),c.Fc(8,T,3,3,"th",2),c.Fc(9,P,3,4,"td",3),c.Qb(),c.Rb(10,6),c.Fc(11,L,3,3,"th",2),c.Fc(12,D,3,4,"td",3),c.Qb(),c.Rb(13,7),c.Fc(14,E,1,0,"th",2),c.Fc(15,I,2,1,"td",3),c.Qb(),c.Fc(16,R,1,0,"tr",8),c.Fc(17,N,1,0,"tr",9),c.Sb(),c.Ob(18,"a",10)),2&t&&(c.nc("dataSource",e.dataSource),c.Cb(16),c.nc("matHeaderRowDef",e.displayedColumns),c.Cb(1),c.nc("matRowDefColumns",e.displayedColumns))},directives:[v.j,y.a,v.c,v.e,v.b,v.g,v.i,v.d,y.b,v.a,i.l,f.a,w.a,v.f,v.h],pipes:[d.c,x.a],styles:[".declaration-list[_ngcontent-%COMP%]{width:100%}"],changeDetection:0}),t})();function H(t,e){1&t&&(c.Tb(0,"div",2),c.Hc(1),c.gc(2,"translate"),c.Sb()),2&t&&(c.Cb(1),c.Jc(" ",c.hc(2,1,"declaration.access.list.empty")," "))}function j(t,e){if(1&t){const t=c.Ub();c.Tb(0,"button",11),c.bc("click",function(e){c.yc(t);const n=c.fc().$implicit;return c.fc(2).requestAccess(e,n)}),c.Hc(1),c.gc(2,"translate"),c.Sb()}if(2&t){const t=c.fc().$implicit,e=c.fc(2);c.pc("id","request_access_",t.hash,""),c.nc("disabled",e.requesting),c.Cb(1),c.Jc(" ",c.hc(2,3,"declaration.access.request.access")," ")}}function F(t,e){if(1&t&&(c.Tb(0,"span"),c.Hc(1),c.Sb()),2&t){const t=c.fc(2).$implicit;c.Cb(1),c.Jc(" - ",t.numTVA,"")}}function z(t,e){if(1&t&&(c.Tb(0,"span"),c.Hc(1),c.Fc(2,F,2,1,"span",12),c.Sb()),2&t){const t=c.fc().$implicit;c.Cb(1),c.Jc(" ",t.raisonSociale,""),c.Cb(1),c.nc("ngIf",!!t.numTVA)}}function V(t,e){1&t&&(c.Hc(0),c.gc(1,"translate")),2&t&&c.Ic(c.hc(1,1,"declaration.access.generic.name"))}function B(t,e){if(1&t&&c.Ob(0,"app-declaration-list",13),2&t){const t=c.fc().$implicit,e=c.fc(2);c.nc("hash",t.hash)("raisonSociale",t.raisonSociale)("type",e.type)("departements",e.departements)}}function W(t,e){if(1&t&&(c.Tb(0,"div"),c.Tb(1,"mat-expansion-panel"),c.Tb(2,"mat-expansion-panel-header"),c.Tb(3,"mat-panel-title",4),c.Tb(4,"div"),c.Fc(5,j,3,5,"button",5),c.Sb(),c.Tb(6,"div",6),c.Fc(7,z,3,2,"span",7),c.Fc(8,V,2,3,"ng-template",null,8,c.Gc),c.Sb(),c.Tb(10,"div",9),c.Hc(11),c.gc(12,"translate"),c.Sb(),c.Sb(),c.Sb(),c.Fc(13,B,1,4,"ng-template",10),c.Sb(),c.Sb()),2&t){const t=e.$implicit,n=c.vc(9),i=c.fc(2);c.Cb(3),c.pc("id","prestataire_",t.hash,""),c.Cb(2),c.nc("ngIf",i.canRequestAccess),c.Cb(2),c.nc("ngIf",!!t.raisonSociale)("ngIfElse",n),c.Cb(4),c.Kc("",t.count," ",c.hc(12,6,t.count>1?"declaration.access.count.declarations":"declaration.access.count.declaration"),"")}}function U(t,e){if(1&t&&c.Fc(0,W,14,8,"div",3),2&t){const t=c.fc();c.nc("ngForOf",t.prestataires)}}let q=(()=>{class t extends s.a{constructor(t,e,n,i){super(t),this.translateService=t,this.changeDetectorRef=e,this.userDeclarationPrestataireService=n,this.alertService=i,this.reload=new c.o,this.canRequestAccess=!1,this.requesting=!1,this._prestataires=[]}get type(){return this._type}set type(t){this._type=t,this.canRequestAccess=this.type===l.POSSIBLE}get prestataires(){return this._prestataires}set prestataires(t){this._prestataires=t,setTimeout(()=>this.changeDetectorRef.markForCheck())}requestAccess(t,e){return this.requesting||(t.preventDefault(),t.stopImmediatePropagation(),this.requesting=!0,this.userDeclarationPrestataireService.requestAccess(e.hash).pipe(Object(o.a)(()=>{this.requesting=!1,this.changeDetectorRef.markForCheck()})).subscribe(()=>this.reload.emit(this.type),()=>this.alertService.notifyByKey("declaration.access.request.access.failed"))),!1}}return t.\u0275fac=function(e){return new(e||t)(c.Nb(d.d),c.Nb(c.h),c.Nb(u.a),c.Nb(b.a))},t.\u0275cmp=c.Hb({type:t,selectors:[["app-prestataire-list"]],inputs:{departements:"departements",type:"type",prestataires:"prestataires"},outputs:{reload:"reload"},features:[c.zb],decls:4,vars:2,consts:[["class","emptyPrestataire",4,"ngIf","ngIfElse"],["list",""],[1,"emptyPrestataire"],[4,"ngFor","ngForOf"],[1,"prestataire-list-header",3,"id"],["mat-raised-button","","aria-label","requestAccess","color","primary",3,"id","disabled","click",4,"ngIf"],[1,"raisonSociale"],[4,"ngIf","ngIfElse"],["generic",""],[1,"prestataire-count"],["matExpansionPanelContent",""],["mat-raised-button","","aria-label","requestAccess","color","primary",3,"id","disabled","click"],[4,"ngIf"],[3,"hash","raisonSociale","type","departements"]],template:function(t,e){if(1&t&&(c.Tb(0,"mat-accordion"),c.Fc(1,H,3,3,"div",0),c.Fc(2,U,1,1,"ng-template",null,1,c.Gc),c.Sb()),2&t){const t=c.vc(3);c.Cb(1),c.nc("ngIf",!e.prestataires||0==(null==e.prestataires?null:e.prestataires.length))("ngIfElse",t)}},directives:[_.a,i.l,i.k,_.c,_.e,_.f,_.d,f.a,Y],pipes:[d.c],styles:[".prestataire-list-header[_ngcontent-%COMP%]{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-align:center;align-items:center}.prestataire-list-header[_ngcontent-%COMP%] .raisonSociale[_ngcontent-%COMP%]{font-weight:700}.prestataire-list-header[_ngcontent-%COMP%] .prestataire-count[_ngcontent-%COMP%]{margin-right:10px;width:120px;text-align:right}.emptyPrestataire[_ngcontent-%COMP%]{padding:16px}mat-expansion-panel[_ngcontent-%COMP%]{margin:8px!important}"],changeDetection:0}),t})();function G(t,e){if(1&t){const t=c.Ub();c.Tb(0,"app-prestataire-list",10),c.bc("reload",function(){return c.yc(t),c.fc().load()}),c.Sb()}if(2&t){const t=c.fc();c.nc("prestataires",null==t.prestataires?null:t.prestataires.possible)("type",t.DeclarationAccess.POSSIBLE)("departements",t.departements)}}function J(t,e){if(1&t&&c.Ob(0,"app-prestataire-list",11),2&t){const t=c.fc();c.nc("prestataires",null==t.prestataires?null:t.prestataires.encours)("type",t.DeclarationAccess.ENCOURS)("departements",t.departements)}}function Z(t,e){if(1&t&&c.Ob(0,"app-prestataire-list",11),2&t){const t=c.fc();c.nc("prestataires",null==t.prestataires?null:t.prestataires.valide)("type",t.DeclarationAccess.VALIDE)("departements",t.departements)}}function $(t,e){if(1&t&&c.Ob(0,"app-prestataire-list",11),2&t){const t=c.fc();c.nc("prestataires",null==t.prestataires?null:t.prestataires.refuse)("type",t.DeclarationAccess.REFUSE)("departements",t.departements)}}let X=(()=>{class t extends s.a{constructor(t,e,n){super(t),this.translateService=t,this.changeDetectorRef=e,this.userDeclarationPrestataireService=n,this.departements=[],this.DeclarationAccess=l,this.loading=!1}load(){this.loading=!0,this.subscriptions.push(this.userDeclarationPrestataireService.getPrestataires(this.departements).pipe(Object(o.a)(()=>{this.loading=!1,this.changeDetectorRef.markForCheck()})).subscribe(t=>this.prestataires=t))}}return t.\u0275fac=function(e){return new(e||t)(c.Nb(d.d),c.Nb(c.h),c.Nb(u.a))},t.\u0275cmp=c.Hb({type:t,selectors:[["app-declaration-access"]],features:[c.zb],decls:29,vars:26,consts:[[1,"main-block"],[1,"side-header"],[1,"main-title"],[1,"declaration-explication","alert-green"],[1,"declaration-departements"],[1,"input-departements",3,"placeholder","ngModel","ngModelChange","changed"],[2,"margin-left","8px"],["aria-label","search","mat-raised-button","","color","primary",1,"filter-button",3,"disabled","click"],[3,"label"],["matTabContent",""],[3,"prestataires","type","departements","reload"],[3,"prestataires","type","departements"]],template:function(t,e){1&t&&(c.Tb(0,"div",0),c.Tb(1,"mat-card"),c.Tb(2,"mat-card-title",1),c.Tb(3,"h1",2),c.Hc(4),c.gc(5,"translate"),c.Sb(),c.Sb(),c.Tb(6,"div",3),c.Hc(7),c.gc(8,"translate"),c.Sb(),c.Tb(9,"div",4),c.Tb(10,"app-region-form",5),c.bc("ngModelChange",function(t){return e.departements=t})("changed",function(){return e.load()}),c.gc(11,"translate"),c.Sb(),c.Tb(12,"div",6),c.Tb(13,"button",7),c.bc("click",function(){return e.load()}),c.Hc(14),c.gc(15,"translate"),c.Sb(),c.Sb(),c.Sb(),c.Tb(16,"mat-tab-group"),c.Tb(17,"mat-tab",8),c.gc(18,"translate"),c.Fc(19,G,1,3,"ng-template",9),c.Sb(),c.Tb(20,"mat-tab",8),c.gc(21,"translate"),c.Fc(22,J,1,3,"ng-template",9),c.Sb(),c.Tb(23,"mat-tab",8),c.gc(24,"translate"),c.Fc(25,Z,1,3,"ng-template",9),c.Sb(),c.Tb(26,"mat-tab",8),c.gc(27,"translate"),c.Fc(28,$,1,3,"ng-template",9),c.Sb(),c.Sb(),c.Sb(),c.Sb()),2&t&&(c.Cb(4),c.Ic(c.hc(5,10,"declaration.access.title")),c.Cb(3),c.Jc(" ",c.hc(8,12,"declaration.access.explication")," "),c.Cb(3),c.oc("placeholder",c.hc(11,14,"declaration.access.departements")),c.nc("ngModel",e.departements),c.Cb(3),c.nc("disabled",e.loading),c.Cb(1),c.Ic(c.hc(15,16,"common.rechercher")),c.Cb(3),c.oc("label",c.hc(18,18,"declaration.access.type.possible")),c.Cb(3),c.oc("label",c.hc(21,20,"declaration.access.type.encours")),c.Cb(3),c.oc("label",c.hc(24,22,"declaration.access.type.valide")),c.Cb(3),c.oc("label",c.hc(27,24,"declaration.access.type.refuse")))},directives:[h.a,h.d,m.a,p.o,p.r,f.a,g.c,g.a,g.b,q],pipes:[d.c],styles:[".main-block .declaration-explication{text-align:justify;font-size:14px;white-space:pre-line}.main-block span.label{padding-right:8px}.main-block .declaration-departements{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;width:50%;min-width:400px}.main-block .declaration-departements .mat-form-field{width:100%}.main-block .declaration-departements .mat-select-value-text{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;display:block}"],encapsulation:2,changeDetection:0}),t})(),K=(()=>{class t{}return t.\u0275mod=c.Lb({type:t}),t.\u0275inj=c.Kb({factory:function(e){return new(e||t)},imports:[[r.j.forChild([{path:"",component:X}])],r.j]}),t})(),Q=(()=>{class t{}return t.\u0275mod=c.Lb({type:t}),t.\u0275inj=c.Kb({factory:function(e){return new(e||t)},imports:[[i.c,a.a,K]]}),t})()},"0mo+":function(t,e,n){!function(t){"use strict";var e={1:"\u0f21",2:"\u0f22",3:"\u0f23",4:"\u0f24",5:"\u0f25",6:"\u0f26",7:"\u0f27",8:"\u0f28",9:"\u0f29",0:"\u0f20"},n={"\u0f21":"1","\u0f22":"2","\u0f23":"3","\u0f24":"4","\u0f25":"5","\u0f26":"6","\u0f27":"7","\u0f28":"8","\u0f29":"9","\u0f20":"0"};t.defineLocale("bo",{months:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f44\u0f0b\u0f54\u0f7c_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f66\u0f74\u0f58\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f5e\u0f72\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f63\u0f94\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0fb2\u0f74\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f62\u0f92\u0fb1\u0f51\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f42\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f45\u0f72\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54".split("_"),monthsShort:"\u0f5f\u0fb3\u0f0b1_\u0f5f\u0fb3\u0f0b2_\u0f5f\u0fb3\u0f0b3_\u0f5f\u0fb3\u0f0b4_\u0f5f\u0fb3\u0f0b5_\u0f5f\u0fb3\u0f0b6_\u0f5f\u0fb3\u0f0b7_\u0f5f\u0fb3\u0f0b8_\u0f5f\u0fb3\u0f0b9_\u0f5f\u0fb3\u0f0b10_\u0f5f\u0fb3\u0f0b11_\u0f5f\u0fb3\u0f0b12".split("_"),monthsShortRegex:/^(\u0f5f\u0fb3\u0f0b\d{1,2})/,monthsParseExact:!0,weekdays:"\u0f42\u0f5f\u0f60\u0f0b\u0f49\u0f72\u0f0b\u0f58\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f5f\u0fb3\u0f0b\u0f56\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74_\u0f42\u0f5f\u0f60\u0f0b\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b".split("_"),weekdaysShort:"\u0f49\u0f72\u0f0b\u0f58\u0f0b_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b_\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b_\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b_\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74_\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b_\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b".split("_"),weekdaysMin:"\u0f49\u0f72_\u0f5f\u0fb3_\u0f58\u0f72\u0f42_\u0f63\u0fb7\u0f42_\u0f55\u0f74\u0f62_\u0f66\u0f44\u0f66_\u0f66\u0fa4\u0f7a\u0f53".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0f51\u0f72\u0f0b\u0f62\u0f72\u0f44] LT",nextDay:"[\u0f66\u0f44\u0f0b\u0f49\u0f72\u0f53] LT",nextWeek:"[\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f55\u0fb2\u0f42\u0f0b\u0f62\u0f97\u0f7a\u0f66\u0f0b\u0f58], LT",lastDay:"[\u0f41\u0f0b\u0f66\u0f44] LT",lastWeek:"[\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f55\u0fb2\u0f42\u0f0b\u0f58\u0f50\u0f60\u0f0b\u0f58] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0f63\u0f0b",past:"%s \u0f66\u0f94\u0f53\u0f0b\u0f63",s:"\u0f63\u0f58\u0f0b\u0f66\u0f44",ss:"%d \u0f66\u0f90\u0f62\u0f0b\u0f46\u0f0d",m:"\u0f66\u0f90\u0f62\u0f0b\u0f58\u0f0b\u0f42\u0f45\u0f72\u0f42",mm:"%d \u0f66\u0f90\u0f62\u0f0b\u0f58",h:"\u0f46\u0f74\u0f0b\u0f5a\u0f7c\u0f51\u0f0b\u0f42\u0f45\u0f72\u0f42",hh:"%d \u0f46\u0f74\u0f0b\u0f5a\u0f7c\u0f51",d:"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f45\u0f72\u0f42",dd:"%d \u0f49\u0f72\u0f53\u0f0b",M:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f45\u0f72\u0f42",MM:"%d \u0f5f\u0fb3\u0f0b\u0f56",y:"\u0f63\u0f7c\u0f0b\u0f42\u0f45\u0f72\u0f42",yy:"%d \u0f63\u0f7c"},preparse:function(t){return t.replace(/[\u0f21\u0f22\u0f23\u0f24\u0f25\u0f26\u0f27\u0f28\u0f29\u0f20]/g,function(t){return n[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},meridiemParse:/\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c|\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66|\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44|\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42|\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"===e&&t>=4||"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44"===e&&t<5||"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42"===e?t+12:t},meridiem:function(t,e,n){return t<4?"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c":t<10?"\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66":t<17?"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44":t<20?"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42":"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"},week:{dow:0,doy:6}})}(n("wd/R"))},"0tRk":function(t,e,n){!function(t){"use strict";t.defineLocale("pt-br",{months:"janeiro_fevereiro_mar\xe7o_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"domingo_segunda-feira_ter\xe7a-feira_quarta-feira_quinta-feira_sexta-feira_s\xe1bado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_s\xe1b".split("_"),weekdaysMin:"do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [\xe0s] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [\xe0s] HH:mm"},calendar:{sameDay:"[Hoje \xe0s] LT",nextDay:"[Amanh\xe3 \xe0s] LT",nextWeek:"dddd [\xe0s] LT",lastDay:"[Ontem \xe0s] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[\xdaltimo] dddd [\xe0s] LT":"[\xdaltima] dddd [\xe0s] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"h\xe1 %s",s:"poucos segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",invalidDate:"Data inv\xe1lida"})}(n("wd/R"))},"0zE1":function(t,e,n){"use strict";n.d(e,"a",function(){return a});var i=n("8Y7J");let a=(()=>{class t{onKeydown(t){if(!t.ctrlKey&&t.key&&1===t.key.length&&/\s/.test(t.key))return t.preventDefault(),!1}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.Ib({type:t,selectors:[["","appNoSpace",""]],hostBindings:function(t,e){1&t&&i.bc("keydown",function(t){return e.onKeydown(t)})}}),t})()},"14/Y":function(t,e,n){"use strict";n.r(e),n.d(e,"ContactModule",function(){return g});var i=n("SVse"),a=n("PCNd"),r=n("iInd"),o=n("IGtN"),s=n("8Y7J"),l=n("TSSN"),c=n("cXaA"),d=n("IheW");let u=(()=>{class t{constructor(t){this.http=t,this.log=c.a.create("ContactService"),this.END_POINT="/api/contact"}getContact(){const t=this.END_POINT;return this.log.data(`[HTTP] (GET) -> ${t}`),this.http.get(t)}}return t.\u0275fac=function(e){return new(e||t)(s.Xb(d.b))},t.\u0275prov=s.Jb({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();var h=n("KSFr");function m(t,e){if(1&t&&(s.Tb(0,"div",1),s.Tb(1,"h1"),s.Hc(2),s.Sb(),s.Ob(3,"div",2),s.gc(4,"safeHtml"),s.Sb()),2&t){const t=s.fc();s.Cb(2),s.Ic(t.contact.titre),s.Cb(1),s.nc("innerHTML",s.hc(4,2,t.contact.contenu),s.zc)}}let p=(()=>{class t extends o.a{constructor(t,e){super(t),this.translateService=t,this.contactService=e,this.contact={id:"",contenu:"",titre:""}}load(){this.contactService.getContact().subscribe(t=>this.contact=t)}}return t.\u0275fac=function(e){return new(e||t)(s.Nb(l.d),s.Nb(u))},t.\u0275cmp=s.Hb({type:t,selectors:[["app-contact"]],features:[s.zb],decls:1,vars:1,consts:[["id","contact","class","content",4,"ngIf"],["id","contact",1,"content"],[1,"contact-content","ql-editor",3,"innerHTML"]],template:function(t,e){1&t&&s.Fc(0,m,5,4,"div",0),2&t&&s.nc("ngIf",e.contact)},directives:[i.l],pipes:[h.a],styles:["#contact a{text-decoration:underline}#contact .contact-content img{max-width:100%;max-width:-webkit-fill-available;max-width:-moz-available;max-width:stretch}"],encapsulation:2}),t})(),f=(()=>{class t{}return t.\u0275mod=s.Lb({type:t}),t.\u0275inj=s.Kb({factory:function(e){return new(e||t)},imports:[[r.j.forChild([{path:"",component:p}])],r.j]}),t})(),g=(()=>{class t{}return t.\u0275mod=s.Lb({type:t}),t.\u0275inj=s.Kb({factory:function(e){return new(e||t)},imports:[[i.c,a.a,f]]}),t})()},"1G5W":function(t,e,n){"use strict";n.d(e,"a",function(){return a});var i=n("zx2A");function a(t){return e=>e.lift(new r(t))}class r{constructor(t){this.notifier=t}call(t,e){const n=new o(t),a=Object(i.c)(this.notifier,new i.a(n));return a&&!n.seenValue?(n.add(a),e.subscribe(n)):n}}class o extends i.b{constructor(t){super(t),this.seenValue=!1}notifyNext(){this.seenValue=!0,this.complete()}notifyComplete(){}}},"1O3W":function(t,e,n){"use strict";n.d(e,"a",function(){return Z}),n.d(e,"b",function(){return J}),n.d(e,"c",function(){return U}),n.d(e,"d",function(){return S}),n.d(e,"e",function(){return I}),n.d(e,"f",function(){return X});var i=n("7KAL"),a=n("8Y7J"),r=n("SCoL"),o=n("9gLZ"),s=n("SVse"),l=n("8LU1"),c=n("1z/I"),d=n("XNiG"),u=n("quSY"),h=n("VRyK"),m=n("IzEk"),p=n("1G5W"),f=n("7o/Q");class g{constructor(t,e){this.predicate=t,this.inclusive=e}call(t,e){return e.subscribe(new b(t,this.predicate,this.inclusive))}}class b extends f.a{constructor(t,e,n){super(t),this.predicate=e,this.inclusive=n,this.index=0}_next(t){const e=this.destination;let n;try{n=this.predicate(t,this.index++)}catch(i){return void e.error(i)}this.nextOrComplete(t,n)}nextOrComplete(t,e){const n=this.destination;Boolean(e)?n.next(t):(this.inclusive&&n.next(t),n.complete())}}var _=n("Ht+U");const y=Object(r.g)();class v{constructor(t,e){this._viewportRuler=t,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=e}attach(){}enable(){if(this._canBeEnabled()){const t=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=t.style.left||"",this._previousHTMLStyles.top=t.style.top||"",t.style.left=Object(l.d)(-this._previousScrollPosition.left),t.style.top=Object(l.d)(-this._previousScrollPosition.top),t.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const t=this._document.documentElement,e=t.style,n=this._document.body.style,i=e.scrollBehavior||"",a=n.scrollBehavior||"";this._isEnabled=!1,e.left=this._previousHTMLStyles.left,e.top=this._previousHTMLStyles.top,t.classList.remove("cdk-global-scrollblock"),y&&(e.scrollBehavior=n.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),y&&(e.scrollBehavior=i,n.scrollBehavior=a)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const t=this._document.body,e=this._viewportRuler.getViewportSize();return t.scrollHeight>e.height||t.scrollWidth>e.width}}class C{constructor(t,e,n,i){this._scrollDispatcher=t,this._ngZone=e,this._viewportRuler=n,this._config=i,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(t){this._overlayRef=t}enable(){if(this._scrollSubscription)return;const t=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=t.subscribe(()=>{const t=this._viewportRuler.getViewportScrollPosition().top;Math.abs(t-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=t.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class w{enable(){}disable(){}attach(){}}function x(t,e){return e.some(e=>t.bottom<e.top||t.top>e.bottom||t.right<e.left||t.left>e.right)}function M(t,e){return e.some(e=>t.top<e.top||t.bottom>e.bottom||t.left<e.left||t.right>e.right)}class O{constructor(t,e,n,i){this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=n,this._config=i,this._scrollSubscription=null}attach(t){this._overlayRef=t}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const t=this._overlayRef.overlayElement.getBoundingClientRect(),{width:e,height:n}=this._viewportRuler.getViewportSize();x(t,[{width:e,height:n,bottom:n,right:e,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let k=(()=>{class t{constructor(t,e,n,i){this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=n,this.noop=()=>new w,this.close=t=>new C(this._scrollDispatcher,this._ngZone,this._viewportRuler,t),this.block=()=>new v(this._viewportRuler,this._document),this.reposition=t=>new O(this._scrollDispatcher,this._viewportRuler,this._ngZone,t),this._document=i}}return t.\u0275fac=function(e){return new(e||t)(a.Xb(i.c),a.Xb(i.e),a.Xb(a.B),a.Xb(s.d))},t.\u0275prov=Object(a.Jb)({factory:function(){return new t(Object(a.Xb)(i.c),Object(a.Xb)(i.e),Object(a.Xb)(a.B),Object(a.Xb)(s.d))},token:t,providedIn:"root"}),t})();class S{constructor(t){if(this.scrollStrategy=new w,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,t){const e=Object.keys(t);for(const n of e)void 0!==t[n]&&(this[n]=t[n])}}}class T{constructor(t,e,n,i,a){this.offsetX=n,this.offsetY=i,this.panelClass=a,this.originX=t.originX,this.originY=t.originY,this.overlayX=e.overlayX,this.overlayY=e.overlayY}}class P{constructor(t,e){this.connectionPair=t,this.scrollableViewProperties=e}}let L=(()=>{class t{constructor(t){this._attachedOverlays=[],this._document=t}ngOnDestroy(){this.detach()}add(t){this.remove(t),this._attachedOverlays.push(t)}remove(t){const e=this._attachedOverlays.indexOf(t);e>-1&&this._attachedOverlays.splice(e,1),0===this._attachedOverlays.length&&this.detach()}}return t.\u0275fac=function(e){return new(e||t)(a.Xb(s.d))},t.\u0275prov=Object(a.Jb)({factory:function(){return new t(Object(a.Xb)(s.d))},token:t,providedIn:"root"}),t})(),D=(()=>{class t extends L{constructor(t){super(t),this._keydownListener=t=>{const e=this._attachedOverlays;for(let n=e.length-1;n>-1;n--)if(e[n]._keydownEvents.observers.length>0){e[n]._keydownEvents.next(t);break}}}add(t){super.add(t),this._isAttached||(this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return t.\u0275fac=function(e){return new(e||t)(a.Xb(s.d))},t.\u0275prov=Object(a.Jb)({factory:function(){return new t(Object(a.Xb)(s.d))},token:t,providedIn:"root"}),t})(),E=(()=>{class t extends L{constructor(t,e){super(t),this._platform=e,this._cursorStyleIsSet=!1,this._clickListener=t=>{const e=t.composedPath?t.composedPath()[0]:t.target,n=this._attachedOverlays.slice();for(let i=n.length-1;i>-1;i--){const a=n[i];if(!(a._outsidePointerEvents.observers.length<1)&&a.hasAttached()){if(a.overlayElement.contains(e))break;a._outsidePointerEvents.next(t)}}}}add(t){super.add(t),this._isAttached||(this._document.body.addEventListener("click",this._clickListener,!0),this._document.body.addEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=this._document.body.style.cursor,this._document.body.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("click",this._clickListener,!0),this._document.body.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(this._document.body.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1)}}return t.\u0275fac=function(e){return new(e||t)(a.Xb(s.d),a.Xb(r.a))},t.\u0275prov=Object(a.Jb)({factory:function(){return new t(Object(a.Xb)(s.d),Object(a.Xb)(r.a))},token:t,providedIn:"root"}),t})();const A=!("undefined"==typeof window||!window||!window.__karma__&&!window.jasmine);let I=(()=>{class t{constructor(t,e){this._platform=e,this._document=t}ngOnDestroy(){const t=this._containerElement;t&&t.parentNode&&t.parentNode.removeChild(t)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){if(this._platform.isBrowser||A){const t=this._document.querySelectorAll('.cdk-overlay-container[platform="server"], .cdk-overlay-container[platform="test"]');for(let e=0;e<t.length;e++)t[e].parentNode.removeChild(t[e])}const t=this._document.createElement("div");t.classList.add("cdk-overlay-container"),A?t.setAttribute("platform","test"):this._platform.isBrowser||t.setAttribute("platform","server"),this._document.body.appendChild(t),this._containerElement=t}}return t.\u0275fac=function(e){return new(e||t)(a.Xb(s.d),a.Xb(r.a))},t.\u0275prov=Object(a.Jb)({factory:function(){return new t(Object(a.Xb)(s.d),Object(a.Xb)(r.a))},token:t,providedIn:"root"}),t})();class R{constructor(t,e,n,i,a,r,o,s,l){this._portalOutlet=t,this._host=e,this._pane=n,this._config=i,this._ngZone=a,this._keyboardDispatcher=r,this._document=o,this._location=s,this._outsideClickDispatcher=l,this._backdropElement=null,this._backdropClick=new d.a,this._attachments=new d.a,this._detachments=new d.a,this._locationChanges=u.a.EMPTY,this._backdropClickHandler=t=>this._backdropClick.next(t),this._keydownEvents=new d.a,this._outsidePointerEvents=new d.a,i.scrollStrategy&&(this._scrollStrategy=i.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=i.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(t){let e=this._portalOutlet.attach(t);return!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host),this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe(Object(m.a)(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),e}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const t=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),t}dispose(){const t=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this.detachBackdrop(),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host&&this._host.parentNode&&(this._host.parentNode.removeChild(this._host),this._host=null),this._previousHostParent=this._pane=null,t&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(t){t!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=t,this.hasAttached()&&(t.attach(this),this.updatePosition()))}updateSize(t){this._config=Object.assign(Object.assign({},this._config),t),this._updateElementSize()}setDirection(t){this._config=Object.assign(Object.assign({},this._config),{direction:t}),this._updateElementDirection()}addPanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!0)}removePanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!1)}getDirection(){const t=this._config.direction;return t?"string"==typeof t?t:t.value:"ltr"}updateScrollStrategy(t){t!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=t,this.hasAttached()&&(t.attach(this),t.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const t=this._pane.style;t.width=Object(l.d)(this._config.width),t.height=Object(l.d)(this._config.height),t.minWidth=Object(l.d)(this._config.minWidth),t.minHeight=Object(l.d)(this._config.minHeight),t.maxWidth=Object(l.d)(this._config.maxWidth),t.maxHeight=Object(l.d)(this._config.maxHeight)}_togglePointerEvents(t){this._pane.style.pointerEvents=t?"":"none"}_attachBackdrop(){this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add("cdk-overlay-backdrop-showing")})}):this._backdropElement.classList.add("cdk-overlay-backdrop-showing")}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){let t,e=this._backdropElement;if(!e)return;let n=()=>{e&&(e.removeEventListener("click",this._backdropClickHandler),e.removeEventListener("transitionend",n),e.parentNode&&e.parentNode.removeChild(e)),this._backdropElement==e&&(this._backdropElement=null),this._config.backdropClass&&this._toggleClasses(e,this._config.backdropClass,!1),clearTimeout(t)};e.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{e.addEventListener("transitionend",n)}),e.style.pointerEvents="none",t=this._ngZone.runOutsideAngular(()=>setTimeout(n,500))}_toggleClasses(t,e,n){const i=t.classList;Object(l.b)(e).forEach(t=>{t&&(n?i.add(t):i.remove(t))})}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const t=this._ngZone.onStable.pipe(Object(p.a)(Object(h.a)(this._attachments,this._detachments))).subscribe(()=>{this._pane&&this._host&&0!==this._pane.children.length||(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._previousHostParent.removeChild(this._host)),t.unsubscribe())})})}_disposeScrollStrategy(){const t=this._scrollStrategy;t&&(t.disable(),t.detach&&t.detach())}}const N=/([A-Za-z%]+)$/;class Y{constructor(t,e,n,i,a){this._viewportRuler=e,this._document=n,this._platform=i,this._overlayContainer=a,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new d.a,this._resizeSubscription=u.a.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(t)}get positions(){return this._preferredPositions}attach(t){this._validatePositions(),t.hostElement.classList.add("cdk-overlay-connected-position-bounding-box"),this._overlayRef=t,this._boundingBox=t.hostElement,this._pane=t.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect();const t=this._originRect,e=this._overlayRect,n=this._viewportRect,i=[];let a;for(let r of this._preferredPositions){let o=this._getOriginPoint(t,r),s=this._getOverlayPoint(o,e,r),l=this._getOverlayFit(s,e,n,r);if(l.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(r,o);this._canFitWithFlexibleDimensions(l,s,n)?i.push({position:r,origin:o,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(o,r)}):(!a||a.overlayFit.visibleArea<l.visibleArea)&&(a={overlayFit:l,overlayPoint:s,originPoint:o,position:r,overlayRect:e})}if(i.length){let t=null,e=-1;for(const n of i){const i=n.boundingBoxRect.width*n.boundingBoxRect.height*(n.position.weight||1);i>e&&(e=i,t=n)}return this._isPushed=!1,void this._applyPosition(t.position,t.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(a.position,a.originPoint);this._applyPosition(a.position,a.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&H(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove("cdk-overlay-connected-position-bounding-box"),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(!this._isDisposed&&(!this._platform||this._platform.isBrowser)){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect();const t=this._lastPosition||this._preferredPositions[0],e=this._getOriginPoint(this._originRect,t);this._applyPosition(t,e)}}withScrollableContainers(t){return this._scrollables=t,this}withPositions(t){return this._preferredPositions=t,-1===t.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(t){return this._viewportMargin=t,this}withFlexibleDimensions(t=!0){return this._hasFlexibleDimensions=t,this}withGrowAfterOpen(t=!0){return this._growAfterOpen=t,this}withPush(t=!0){return this._canPush=t,this}withLockedPosition(t=!0){return this._positionLocked=t,this}setOrigin(t){return this._origin=t,this}withDefaultOffsetX(t){return this._offsetX=t,this}withDefaultOffsetY(t){return this._offsetY=t,this}withTransformOriginOn(t){return this._transformOriginSelector=t,this}_getOriginPoint(t,e){let n,i;if("center"==e.originX)n=t.left+t.width/2;else{const i=this._isRtl()?t.right:t.left,a=this._isRtl()?t.left:t.right;n="start"==e.originX?i:a}return i="center"==e.originY?t.top+t.height/2:"top"==e.originY?t.top:t.bottom,{x:n,y:i}}_getOverlayPoint(t,e,n){let i,a;return i="center"==n.overlayX?-e.width/2:"start"===n.overlayX?this._isRtl()?-e.width:0:this._isRtl()?0:-e.width,a="center"==n.overlayY?-e.height/2:"top"==n.overlayY?0:-e.height,{x:t.x+i,y:t.y+a}}_getOverlayFit(t,e,n,i){const a=F(e);let{x:r,y:o}=t,s=this._getOffset(i,"x"),l=this._getOffset(i,"y");s&&(r+=s),l&&(o+=l);let c=0-o,d=o+a.height-n.height,u=this._subtractOverflows(a.width,0-r,r+a.width-n.width),h=this._subtractOverflows(a.height,c,d),m=u*h;return{visibleArea:m,isCompletelyWithinViewport:a.width*a.height===m,fitsInViewportVertically:h===a.height,fitsInViewportHorizontally:u==a.width}}_canFitWithFlexibleDimensions(t,e,n){if(this._hasFlexibleDimensions){const i=n.bottom-e.y,a=n.right-e.x,r=j(this._overlayRef.getConfig().minHeight),o=j(this._overlayRef.getConfig().minWidth),s=t.fitsInViewportHorizontally||null!=o&&o<=a;return(t.fitsInViewportVertically||null!=r&&r<=i)&&s}return!1}_pushOverlayOnScreen(t,e,n){if(this._previousPushAmount&&this._positionLocked)return{x:t.x+this._previousPushAmount.x,y:t.y+this._previousPushAmount.y};const i=F(e),a=this._viewportRect,r=Math.max(t.x+i.width-a.width,0),o=Math.max(t.y+i.height-a.height,0),s=Math.max(a.top-n.top-t.y,0),l=Math.max(a.left-n.left-t.x,0);let c=0,d=0;return c=i.width<=a.width?l||-r:t.x<this._viewportMargin?a.left-n.left-t.x:0,d=i.height<=a.height?s||-o:t.y<this._viewportMargin?a.top-n.top-t.y:0,this._previousPushAmount={x:c,y:d},{x:t.x+c,y:t.y+d}}_applyPosition(t,e){if(this._setTransformOrigin(t),this._setOverlayElementStyles(e,t),this._setBoundingBoxStyles(e,t),t.panelClass&&this._addPanelClasses(t.panelClass),this._lastPosition=t,this._positionChanges.observers.length){const e=this._getScrollVisibility(),n=new P(t,e);this._positionChanges.next(n)}this._isInitialRender=!1}_setTransformOrigin(t){if(!this._transformOriginSelector)return;const e=this._boundingBox.querySelectorAll(this._transformOriginSelector);let n,i=t.overlayY;n="center"===t.overlayX?"center":this._isRtl()?"start"===t.overlayX?"right":"left":"start"===t.overlayX?"left":"right";for(let a=0;a<e.length;a++)e[a].style.transformOrigin=`${n} ${i}`}_calculateBoundingBoxRect(t,e){const n=this._viewportRect,i=this._isRtl();let a,r,o,s,l,c;if("top"===e.overlayY)r=t.y,a=n.height-r+this._viewportMargin;else if("bottom"===e.overlayY)o=n.height-t.y+2*this._viewportMargin,a=n.height-o+this._viewportMargin;else{const e=Math.min(n.bottom-t.y+n.top,t.y),i=this._lastBoundingBoxSize.height;a=2*e,r=t.y-e,a>i&&!this._isInitialRender&&!this._growAfterOpen&&(r=t.y-i/2)}if("end"===e.overlayX&&!i||"start"===e.overlayX&&i)c=n.width-t.x+this._viewportMargin,s=t.x-this._viewportMargin;else if("start"===e.overlayX&&!i||"end"===e.overlayX&&i)l=t.x,s=n.right-t.x;else{const e=Math.min(n.right-t.x+n.left,t.x),i=this._lastBoundingBoxSize.width;s=2*e,l=t.x-e,s>i&&!this._isInitialRender&&!this._growAfterOpen&&(l=t.x-i/2)}return{top:r,left:l,bottom:o,right:c,width:s,height:a}}_setBoundingBoxStyles(t,e){const n=this._calculateBoundingBoxRect(t,e);this._isInitialRender||this._growAfterOpen||(n.height=Math.min(n.height,this._lastBoundingBoxSize.height),n.width=Math.min(n.width,this._lastBoundingBoxSize.width));const i={};if(this._hasExactPosition())i.top=i.left="0",i.bottom=i.right=i.maxHeight=i.maxWidth="",i.width=i.height="100%";else{const t=this._overlayRef.getConfig().maxHeight,a=this._overlayRef.getConfig().maxWidth;i.height=Object(l.d)(n.height),i.top=Object(l.d)(n.top),i.bottom=Object(l.d)(n.bottom),i.width=Object(l.d)(n.width),i.left=Object(l.d)(n.left),i.right=Object(l.d)(n.right),i.alignItems="center"===e.overlayX?"center":"end"===e.overlayX?"flex-end":"flex-start",i.justifyContent="center"===e.overlayY?"center":"bottom"===e.overlayY?"flex-end":"flex-start",t&&(i.maxHeight=Object(l.d)(t)),a&&(i.maxWidth=Object(l.d)(a))}this._lastBoundingBoxSize=n,H(this._boundingBox.style,i)}_resetBoundingBoxStyles(){H(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){H(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(t,e){const n={},i=this._hasExactPosition(),a=this._hasFlexibleDimensions,r=this._overlayRef.getConfig();if(i){const i=this._viewportRuler.getViewportScrollPosition();H(n,this._getExactOverlayY(e,t,i)),H(n,this._getExactOverlayX(e,t,i))}else n.position="static";let o="",s=this._getOffset(e,"x"),c=this._getOffset(e,"y");s&&(o+=`translateX(${s}px) `),c&&(o+=`translateY(${c}px)`),n.transform=o.trim(),r.maxHeight&&(i?n.maxHeight=Object(l.d)(r.maxHeight):a&&(n.maxHeight="")),r.maxWidth&&(i?n.maxWidth=Object(l.d)(r.maxWidth):a&&(n.maxWidth="")),H(this._pane.style,n)}_getExactOverlayY(t,e,n){let i={top:"",bottom:""},a=this._getOverlayPoint(e,this._overlayRect,t);this._isPushed&&(a=this._pushOverlayOnScreen(a,this._overlayRect,n));let r=this._overlayContainer.getContainerElement().getBoundingClientRect().top;return a.y-=r,"bottom"===t.overlayY?i.bottom=this._document.documentElement.clientHeight-(a.y+this._overlayRect.height)+"px":i.top=Object(l.d)(a.y),i}_getExactOverlayX(t,e,n){let i,a={left:"",right:""},r=this._getOverlayPoint(e,this._overlayRect,t);return this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,n)),i=this._isRtl()?"end"===t.overlayX?"left":"right":"end"===t.overlayX?"right":"left","right"===i?a.right=this._document.documentElement.clientWidth-(r.x+this._overlayRect.width)+"px":a.left=Object(l.d)(r.x),a}_getScrollVisibility(){const t=this._getOriginRect(),e=this._pane.getBoundingClientRect(),n=this._scrollables.map(t=>t.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:M(t,n),isOriginOutsideView:x(t,n),isOverlayClipped:M(e,n),isOverlayOutsideView:x(e,n)}}_subtractOverflows(t,...e){return e.reduce((t,e)=>t-Math.max(e,0),t)}_getNarrowedViewportRect(){const t=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,n=this._viewportRuler.getViewportScrollPosition();return{top:n.top+this._viewportMargin,left:n.left+this._viewportMargin,right:n.left+t-this._viewportMargin,bottom:n.top+e-this._viewportMargin,width:t-2*this._viewportMargin,height:e-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(t,e){return"x"===e?null==t.offsetX?this._offsetX:t.offsetX:null==t.offsetY?this._offsetY:t.offsetY}_validatePositions(){}_addPanelClasses(t){this._pane&&Object(l.b)(t).forEach(t=>{""!==t&&-1===this._appliedPanelClasses.indexOf(t)&&(this._appliedPanelClasses.push(t),this._pane.classList.add(t))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(t=>{this._pane.classList.remove(t)}),this._appliedPanelClasses=[])}_getOriginRect(){const t=this._origin;if(t instanceof a.l)return t.nativeElement.getBoundingClientRect();if(t instanceof Element)return t.getBoundingClientRect();const e=t.width||0,n=t.height||0;return{top:t.y,bottom:t.y+n,left:t.x,right:t.x+e,height:n,width:e}}}function H(t,e){for(let n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}function j(t){if("number"!=typeof t&&null!=t){const[e,n]=t.split(N);return n&&"px"!==n?null:parseFloat(e)}return t||null}function F(t){return{top:Math.floor(t.top),right:Math.floor(t.right),bottom:Math.floor(t.bottom),left:Math.floor(t.left),width:Math.floor(t.width),height:Math.floor(t.height)}}class z{constructor(t,e,n,i,a,r,o){this._preferredPositions=[],this._positionStrategy=new Y(n,i,a,r,o).withFlexibleDimensions(!1).withPush(!1).withViewportMargin(0),this.withFallbackPosition(t,e),this.onPositionChange=this._positionStrategy.positionChanges}get positions(){return this._preferredPositions}attach(t){this._overlayRef=t,this._positionStrategy.attach(t),this._direction&&(t.setDirection(this._direction),this._direction=null)}dispose(){this._positionStrategy.dispose()}detach(){this._positionStrategy.detach()}apply(){this._positionStrategy.apply()}recalculateLastPosition(){this._positionStrategy.reapplyLastPosition()}withScrollableContainers(t){this._positionStrategy.withScrollableContainers(t)}withFallbackPosition(t,e,n,i){const a=new T(t,e,n,i);return this._preferredPositions.push(a),this._positionStrategy.withPositions(this._preferredPositions),this}withDirection(t){return this._overlayRef?this._overlayRef.setDirection(t):this._direction=t,this}withOffsetX(t){return this._positionStrategy.withDefaultOffsetX(t),this}withOffsetY(t){return this._positionStrategy.withDefaultOffsetY(t),this}withLockedPosition(t){return this._positionStrategy.withLockedPosition(t),this}withPositions(t){return this._preferredPositions=t.slice(),this._positionStrategy.withPositions(this._preferredPositions),this}setOrigin(t){return this._positionStrategy.setOrigin(t),this}}class V{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._leftOffset="",this._rightOffset="",this._alignItems="",this._justifyContent="",this._width="",this._height=""}attach(t){const e=t.getConfig();this._overlayRef=t,this._width&&!e.width&&t.updateSize({width:this._width}),this._height&&!e.height&&t.updateSize({height:this._height}),t.hostElement.classList.add("cdk-global-overlay-wrapper"),this._isDisposed=!1}top(t=""){return this._bottomOffset="",this._topOffset=t,this._alignItems="flex-start",this}left(t=""){return this._rightOffset="",this._leftOffset=t,this._justifyContent="flex-start",this}bottom(t=""){return this._topOffset="",this._bottomOffset=t,this._alignItems="flex-end",this}right(t=""){return this._leftOffset="",this._rightOffset=t,this._justifyContent="flex-end",this}width(t=""){return this._overlayRef?this._overlayRef.updateSize({width:t}):this._width=t,this}height(t=""){return this._overlayRef?this._overlayRef.updateSize({height:t}):this._height=t,this}centerHorizontally(t=""){return this.left(t),this._justifyContent="center",this}centerVertically(t=""){return this.top(t),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,n=this._overlayRef.getConfig(),{width:i,height:a,maxWidth:r,maxHeight:o}=n,s=!("100%"!==i&&"100vw"!==i||r&&"100%"!==r&&"100vw"!==r),l=!("100%"!==a&&"100vh"!==a||o&&"100%"!==o&&"100vh"!==o);t.position=this._cssPosition,t.marginLeft=s?"0":this._leftOffset,t.marginTop=l?"0":this._topOffset,t.marginBottom=this._bottomOffset,t.marginRight=this._rightOffset,s?e.justifyContent="flex-start":"center"===this._justifyContent?e.justifyContent="center":"rtl"===this._overlayRef.getConfig().direction?"flex-start"===this._justifyContent?e.justifyContent="flex-end":"flex-end"===this._justifyContent&&(e.justifyContent="flex-start"):e.justifyContent=this._justifyContent,e.alignItems=l?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,n=e.style;e.classList.remove("cdk-global-overlay-wrapper"),n.justifyContent=n.alignItems=t.marginTop=t.marginBottom=t.marginLeft=t.marginRight=t.position="",this._overlayRef=null,this._isDisposed=!0}}let B=(()=>{class t{constructor(t,e,n,i){this._viewportRuler=t,this._document=e,this._platform=n,this._overlayContainer=i}global(){return new V}connectedTo(t,e,n){return new z(e,n,t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}flexibleConnectedTo(t){return new Y(t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return t.\u0275fac=function(e){return new(e||t)(a.Xb(i.e),a.Xb(s.d),a.Xb(r.a),a.Xb(I))},t.\u0275prov=Object(a.Jb)({factory:function(){return new t(Object(a.Xb)(i.e),Object(a.Xb)(s.d),Object(a.Xb)(r.a),Object(a.Xb)(I))},token:t,providedIn:"root"}),t})(),W=0,U=(()=>{class t{constructor(t,e,n,i,a,r,o,s,l,c,d){this.scrollStrategies=t,this._overlayContainer=e,this._componentFactoryResolver=n,this._positionBuilder=i,this._keyboardDispatcher=a,this._injector=r,this._ngZone=o,this._document=s,this._directionality=l,this._location=c,this._outsideClickDispatcher=d}create(t){const e=this._createHostElement(),n=this._createPaneElement(e),i=this._createPortalOutlet(n),a=new S(t);return a.direction=a.direction||this._directionality.value,new R(i,e,n,a,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher)}position(){return this._positionBuilder}_createPaneElement(t){const e=this._document.createElement("div");return e.id="cdk-overlay-"+W++,e.classList.add("cdk-overlay-pane"),t.appendChild(e),e}_createHostElement(){const t=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(t),t}_createPortalOutlet(t){return this._appRef||(this._appRef=this._injector.get(a.g)),new c.e(t,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return t.\u0275fac=function(e){return new(e||t)(a.Xb(k),a.Xb(I),a.Xb(a.j),a.Xb(B),a.Xb(D),a.Xb(a.t),a.Xb(a.B),a.Xb(s.d),a.Xb(o.b),a.Xb(s.h),a.Xb(E))},t.\u0275prov=a.Jb({token:t,factory:t.\u0275fac}),t})();const q=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],G=new a.s("cdk-connected-overlay-scroll-strategy");let J=(()=>{class t{constructor(t){this.elementRef=t}}return t.\u0275fac=function(e){return new(e||t)(a.Nb(a.l))},t.\u0275dir=a.Ib({type:t,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]}),t})(),Z=(()=>{class t{constructor(t,e,n,i,r){this._overlay=t,this._dir=r,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=u.a.EMPTY,this._attachSubscription=u.a.EMPTY,this._detachSubscription=u.a.EMPTY,this._positionSubscription=u.a.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new a.o,this.positionChange=new a.o,this.attach=new a.o,this.detach=new a.o,this.overlayKeydown=new a.o,this.overlayOutsideClick=new a.o,this._templatePortal=new c.g(e,n),this._scrollStrategyFactory=i,this.scrollStrategy=this._scrollStrategyFactory()}get offsetX(){return this._offsetX}set offsetX(t){this._offsetX=t,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(t){this._offsetY=t,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(t){this._hasBackdrop=Object(l.c)(t)}get lockPosition(){return this._lockPosition}set lockPosition(t){this._lockPosition=Object(l.c)(t)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(t){this._flexibleDimensions=Object(l.c)(t)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(t){this._growAfterOpen=Object(l.c)(t)}get push(){return this._push}set push(t){this._push=Object(l.c)(t)}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(t){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),t.origin&&this.open&&this._position.apply()),t.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){this.positions&&this.positions.length||(this.positions=q);const t=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=t.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=t.detachments().subscribe(()=>this.detach.emit()),t.keydownEvents().subscribe(t=>{this.overlayKeydown.next(t),t.keyCode!==_.f||this.disableClose||Object(_.r)(t)||(t.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(t=>{this.overlayOutsideClick.next(t)})}_buildConfig(){const t=this._position=this.positionStrategy||this._createPositionStrategy(),e=new S({direction:this._dir,positionStrategy:t,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(e.width=this.width),(this.height||0===this.height)&&(e.height=this.height),(this.minWidth||0===this.minWidth)&&(e.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(e.minHeight=this.minHeight),this.backdropClass&&(e.backdropClass=this.backdropClass),this.panelClass&&(e.panelClass=this.panelClass),e}_updatePositionStrategy(t){const e=this.positions.map(t=>({originX:t.originX,originY:t.originY,overlayX:t.overlayX,overlayY:t.overlayY,offsetX:t.offsetX||this.offsetX,offsetY:t.offsetY||this.offsetY,panelClass:t.panelClass||void 0}));return t.setOrigin(this.origin.elementRef).withPositions(e).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const t=this._overlay.position().flexibleConnectedTo(this.origin.elementRef);return this._updatePositionStrategy(t),t}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(t=>{this.backdropClick.emit(t)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(function(t,e=!1){return n=>n.lift(new g(t,e))}(()=>this.positionChange.observers.length>0)).subscribe(t=>{this.positionChange.emit(t),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(a.Nb(U),a.Nb(a.N),a.Nb(a.R),a.Nb(G),a.Nb(o.b,8))},t.\u0275dir=a.Ib({type:t,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"],positions:["cdkConnectedOverlayPositions","positions"],origin:["cdkConnectedOverlayOrigin","origin"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[a.Ab]}),t})();const $={provide:G,deps:[U],useFactory:function(t){return()=>t.scrollStrategies.reposition()}};let X=(()=>{class t{}return t.\u0275mod=a.Lb({type:t}),t.\u0275inj=a.Kb({factory:function(e){return new(e||t)},providers:[U,$],imports:[[o.a,c.f,i.d],i.d]}),t})()},"1ppg":function(t,e,n){!function(t){"use strict";t.defineLocale("fil",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(t){return t},week:{dow:1,doy:4}})}(n("wd/R"))},"1rYy":function(t,e,n){!function(t){"use strict";t.defineLocale("hy-am",{months:{format:"\u0570\u0578\u0582\u0576\u057e\u0561\u0580\u056b_\u0583\u0565\u057f\u0580\u057e\u0561\u0580\u056b_\u0574\u0561\u0580\u057f\u056b_\u0561\u057a\u0580\u056b\u056c\u056b_\u0574\u0561\u0575\u056b\u057d\u056b_\u0570\u0578\u0582\u0576\u056b\u057d\u056b_\u0570\u0578\u0582\u056c\u056b\u057d\u056b_\u0585\u0563\u0578\u057d\u057f\u0578\u057d\u056b_\u057d\u0565\u057a\u057f\u0565\u0574\u0562\u0565\u0580\u056b_\u0570\u0578\u056f\u057f\u0565\u0574\u0562\u0565\u0580\u056b_\u0576\u0578\u0575\u0565\u0574\u0562\u0565\u0580\u056b_\u0564\u0565\u056f\u057f\u0565\u0574\u0562\u0565\u0580\u056b".split("_"),standalone:"\u0570\u0578\u0582\u0576\u057e\u0561\u0580_\u0583\u0565\u057f\u0580\u057e\u0561\u0580_\u0574\u0561\u0580\u057f_\u0561\u057a\u0580\u056b\u056c_\u0574\u0561\u0575\u056b\u057d_\u0570\u0578\u0582\u0576\u056b\u057d_\u0570\u0578\u0582\u056c\u056b\u057d_\u0585\u0563\u0578\u057d\u057f\u0578\u057d_\u057d\u0565\u057a\u057f\u0565\u0574\u0562\u0565\u0580_\u0570\u0578\u056f\u057f\u0565\u0574\u0562\u0565\u0580_\u0576\u0578\u0575\u0565\u0574\u0562\u0565\u0580_\u0564\u0565\u056f\u057f\u0565\u0574\u0562\u0565\u0580".split("_")},monthsShort:"\u0570\u0576\u057e_\u0583\u057f\u0580_\u0574\u0580\u057f_\u0561\u057a\u0580_\u0574\u0575\u057d_\u0570\u0576\u057d_\u0570\u056c\u057d_\u0585\u0563\u057d_\u057d\u057a\u057f_\u0570\u056f\u057f_\u0576\u0574\u0562_\u0564\u056f\u057f".split("_"),weekdays:"\u056f\u056b\u0580\u0561\u056f\u056b_\u0565\u0580\u056f\u0578\u0582\u0577\u0561\u0562\u0569\u056b_\u0565\u0580\u0565\u0584\u0577\u0561\u0562\u0569\u056b_\u0579\u0578\u0580\u0565\u0584\u0577\u0561\u0562\u0569\u056b_\u0570\u056b\u0576\u0563\u0577\u0561\u0562\u0569\u056b_\u0578\u0582\u0580\u0562\u0561\u0569_\u0577\u0561\u0562\u0561\u0569".split("_"),weekdaysShort:"\u056f\u0580\u056f_\u0565\u0580\u056f_\u0565\u0580\u0584_\u0579\u0580\u0584_\u0570\u0576\u0563_\u0578\u0582\u0580\u0562_\u0577\u0562\u0569".split("_"),weekdaysMin:"\u056f\u0580\u056f_\u0565\u0580\u056f_\u0565\u0580\u0584_\u0579\u0580\u0584_\u0570\u0576\u0563_\u0578\u0582\u0580\u0562_\u0577\u0562\u0569".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0569.",LLL:"D MMMM YYYY \u0569., HH:mm",LLLL:"dddd, D MMMM YYYY \u0569., HH:mm"},calendar:{sameDay:"[\u0561\u0575\u057d\u0585\u0580] LT",nextDay:"[\u057e\u0561\u0572\u0568] LT",lastDay:"[\u0565\u0580\u0565\u056f] LT",nextWeek:function(){return"dddd [\u0585\u0580\u0568 \u056a\u0561\u0574\u0568] LT"},lastWeek:function(){return"[\u0561\u0576\u0581\u0561\u056e] dddd [\u0585\u0580\u0568 \u056a\u0561\u0574\u0568] LT"},sameElse:"L"},relativeTime:{future:"%s \u0570\u0565\u057f\u0578",past:"%s \u0561\u057c\u0561\u057b",s:"\u0574\u056b \u0584\u0561\u0576\u056b \u057e\u0561\u0575\u0580\u056f\u0575\u0561\u0576",ss:"%d \u057e\u0561\u0575\u0580\u056f\u0575\u0561\u0576",m:"\u0580\u0578\u057a\u0565",mm:"%d \u0580\u0578\u057a\u0565",h:"\u056a\u0561\u0574",hh:"%d \u056a\u0561\u0574",d:"\u0585\u0580",dd:"%d \u0585\u0580",M:"\u0561\u0574\u056b\u057d",MM:"%d \u0561\u0574\u056b\u057d",y:"\u057f\u0561\u0580\u056b",yy:"%d \u057f\u0561\u0580\u056b"},meridiemParse:/\u0563\u056b\u0577\u0565\u0580\u057e\u0561|\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561|\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576/,isPM:function(t){return/^(\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576)$/.test(t)},meridiem:function(t){return t<4?"\u0563\u056b\u0577\u0565\u0580\u057e\u0561":t<12?"\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561":t<17?"\u0581\u0565\u0580\u0565\u056f\u057e\u0561":"\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576"},dayOfMonthOrdinalParse:/\d{1,2}|\d{1,2}-(\u056b\u0576|\u0580\u0564)/,ordinal:function(t,e){switch(e){case"DDD":case"w":case"W":case"DDDo":return 1===t?t+"-\u056b\u0576":t+"-\u0580\u0564";default:return t}},week:{dow:1,doy:7}})}(n("wd/R"))},"1uah":function(t,e,n){"use strict";n.d(e,"a",function(){return l});var i=n("yCtX"),a=n("DH7j"),r=n("7o/Q"),o=n("Lhse"),s=n("zx2A");function l(...t){const e=t[t.length-1];return"function"==typeof e&&t.pop(),Object(i.a)(t,void 0).lift(new c(e))}class c{constructor(t){this.resultSelector=t}call(t,e){return e.subscribe(new d(t,this.resultSelector))}}class d extends r.a{constructor(t,e,n=Object.create(null)){super(t),this.resultSelector=e,this.iterators=[],this.active=0,this.resultSelector="function"==typeof e?e:void 0}_next(t){const e=this.iterators;Object(a.a)(t)?e.push(new h(t)):e.push("function"==typeof t[o.a]?new u(t[o.a]()):new m(this.destination,this,t))}_complete(){const t=this.iterators,e=t.length;if(this.unsubscribe(),0!==e){this.active=e;for(let n=0;n<e;n++){let e=t[n];e.stillUnsubscribed?this.destination.add(e.subscribe()):this.active--}}else this.destination.complete()}notifyInactive(){this.active--,0===this.active&&this.destination.complete()}checkIterators(){const t=this.iterators,e=t.length,n=this.destination;for(let r=0;r<e;r++){let e=t[r];if("function"==typeof e.hasValue&&!e.hasValue())return}let i=!1;const a=[];for(let r=0;r<e;r++){let e=t[r],o=e.next();if(e.hasCompleted()&&(i=!0),o.done)return void n.complete();a.push(o.value)}this.resultSelector?this._tryresultSelector(a):n.next(a),i&&n.complete()}_tryresultSelector(t){let e;try{e=this.resultSelector.apply(this,t)}catch(n){return void this.destination.error(n)}this.destination.next(e)}}class u{constructor(t){this.iterator=t,this.nextResult=t.next()}hasValue(){return!0}next(){const t=this.nextResult;return this.nextResult=this.iterator.next(),t}hasCompleted(){const t=this.nextResult;return Boolean(t&&t.done)}}class h{constructor(t){this.array=t,this.index=0,this.length=0,this.length=t.length}[o.a](){return this}next(t){const e=this.index++;return e<this.length?{value:this.array[e],done:!1}:{value:null,done:!0}}hasValue(){return this.array.length>this.index}hasCompleted(){return this.array.length===this.index}}class m extends s.b{constructor(t,e,n){super(t),this.parent=e,this.observable=n,this.stillUnsubscribed=!0,this.buffer=[],this.isComplete=!1}[o.a](){return this}next(){const t=this.buffer;return 0===t.length&&this.isComplete?{value:null,done:!0}:{value:t.shift(),done:!1}}hasValue(){return this.buffer.length>0}hasCompleted(){return 0===this.buffer.length&&this.isComplete}notifyComplete(){this.buffer.length>0?(this.isComplete=!0,this.parent.notifyInactive()):this.destination.complete()}notifyNext(t){this.buffer.push(t),this.parent.checkIterators()}subscribe(){return Object(s.c)(this.observable,new s.a(this))}}},"1xZ4":function(t,e,n){!function(t){"use strict";t.defineLocale("ca",{months:{standalone:"gener_febrer_mar\xe7_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),format:"de gener_de febrer_de mar\xe7_d'abril_de maig_de juny_de juliol_d'agost_de setembre_d'octubre_de novembre_de desembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._mar\xe7_abr._maig_juny_jul._ag._set._oct._nov._des.".split("_"),monthsParseExact:!0,weekdays:"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dt._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dt_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a les] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a les] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:function(){return"[avui a "+(1!==this.hours()?"les":"la")+"] LT"},nextDay:function(){return"[dem\xe0 a "+(1!==this.hours()?"les":"la")+"] LT"},nextWeek:function(){return"dddd [a "+(1!==this.hours()?"les":"la")+"] LT"},lastDay:function(){return"[ahir a "+(1!==this.hours()?"les":"la")+"] LT"},lastWeek:function(){return"[el] dddd [passat a "+(1!==this.hours()?"les":"la")+"] LT"},sameElse:"L"},relativeTime:{future:"d'aqu\xed %s",past:"fa %s",s:"uns segons",ss:"%d segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|\xe8|a)/,ordinal:function(t,e){var n=1===t?"r":2===t?"n":3===t?"r":4===t?"t":"\xe8";return"w"!==e&&"W"!==e||(n="a"),t+n},week:{dow:1,doy:4}})}(n("wd/R"))},"1z/I":function(t,e,n){"use strict";n.d(e,"a",function(){return c}),n.d(e,"b",function(){return u}),n.d(e,"c",function(){return h}),n.d(e,"d",function(){return o}),n.d(e,"e",function(){return d}),n.d(e,"f",function(){return m}),n.d(e,"g",function(){return s});var i=n("8Y7J"),a=n("SVse");class r{attach(t){return this._attachedHost=t,t.attach(this)}detach(){let t=this._attachedHost;null!=t&&(this._attachedHost=null,t.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(t){this._attachedHost=t}}class o extends r{constructor(t,e,n,i){super(),this.component=t,this.viewContainerRef=e,this.injector=n,this.componentFactoryResolver=i}}class s extends r{constructor(t,e,n){super(),this.templateRef=t,this.viewContainerRef=e,this.context=n}get origin(){return this.templateRef.elementRef}attach(t,e=this.context){return this.context=e,super.attach(t)}detach(){return this.context=void 0,super.detach()}}class l extends r{constructor(t){super(),this.element=t instanceof i.l?t.nativeElement:t}}class c{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(t){return t instanceof o?(this._attachedPortal=t,this.attachComponentPortal(t)):t instanceof s?(this._attachedPortal=t,this.attachTemplatePortal(t)):this.attachDomPortal&&t instanceof l?(this._attachedPortal=t,this.attachDomPortal(t)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(t){this._disposeFn=t}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class d extends c{constructor(t,e,n,i,a){super(),this.outletElement=t,this._componentFactoryResolver=e,this._appRef=n,this._defaultInjector=i,this.attachDomPortal=t=>{const e=t.element,n=this._document.createComment("dom-portal");e.parentNode.insertBefore(n,e),this.outletElement.appendChild(e),super.setDisposeFn(()=>{n.parentNode&&n.parentNode.replaceChild(e,n)})},this._document=a}attachComponentPortal(t){const e=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component);let n;return t.viewContainerRef?(n=t.viewContainerRef.createComponent(e,t.viewContainerRef.length,t.injector||t.viewContainerRef.injector),this.setDisposeFn(()=>n.destroy())):(n=e.create(t.injector||this._defaultInjector),this._appRef.attachView(n.hostView),this.setDisposeFn(()=>{this._appRef.detachView(n.hostView),n.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(n)),n}attachTemplatePortal(t){let e=t.viewContainerRef,n=e.createEmbeddedView(t.templateRef,t.context);return n.rootNodes.forEach(t=>this.outletElement.appendChild(t)),n.detectChanges(),this.setDisposeFn(()=>{let t=e.indexOf(n);-1!==t&&e.remove(t)}),n}dispose(){super.dispose(),null!=this.outletElement.parentNode&&this.outletElement.parentNode.removeChild(this.outletElement)}_getComponentRootNode(t){return t.hostView.rootNodes[0]}}let u=(()=>{class t extends s{constructor(t,e){super(t,e)}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.N),i.Nb(i.R))},t.\u0275dir=i.Ib({type:t,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[i.zb]}),t})(),h=(()=>{class t extends c{constructor(t,e,n){super(),this._componentFactoryResolver=t,this._viewContainerRef=e,this._isInitialized=!1,this.attached=new i.o,this.attachDomPortal=t=>{const e=t.element,n=this._document.createComment("dom-portal");t.setAttachedHost(this),e.parentNode.insertBefore(n,e),this._getRootNode().appendChild(e),super.setDisposeFn(()=>{n.parentNode&&n.parentNode.replaceChild(e,n)})},this._document=n}get portal(){return this._attachedPortal}set portal(t){(!this.hasAttached()||t||this._isInitialized)&&(this.hasAttached()&&super.detach(),t&&super.attach(t),this._attachedPortal=t)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedPortal=null,this._attachedRef=null}attachComponentPortal(t){t.setAttachedHost(this);const e=null!=t.viewContainerRef?t.viewContainerRef:this._viewContainerRef,n=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component),i=e.createComponent(n,e.length,t.injector||e.injector);return e!==this._viewContainerRef&&this._getRootNode().appendChild(i.hostView.rootNodes[0]),super.setDisposeFn(()=>i.destroy()),this._attachedPortal=t,this._attachedRef=i,this.attached.emit(i),i}attachTemplatePortal(t){t.setAttachedHost(this);const e=this._viewContainerRef.createEmbeddedView(t.templateRef,t.context);return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=t,this._attachedRef=e,this.attached.emit(e),e}_getRootNode(){const t=this._viewContainerRef.element.nativeElement;return t.nodeType===t.ELEMENT_NODE?t:t.parentNode}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.j),i.Nb(i.R),i.Nb(a.d))},t.\u0275dir=i.Ib({type:t,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[i.zb]}),t})(),m=(()=>{class t{}return t.\u0275mod=i.Lb({type:t}),t.\u0275inj=i.Kb({factory:function(e){return new(e||t)}}),t})()},"2QA8":function(t,e,n){"use strict";n.d(e,"a",function(){return i});const i=(()=>"function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random())()},"2Vo4":function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("XNiG"),a=n("9ppp");class r extends i.a{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){const e=super._subscribe(t);return e&&!e.closed&&t.next(this._value),e}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new a.a;return this._value}next(t){super.next(this._value=t)}}},"2XGR":function(t,e,n){"use strict";n.d(e,"a",function(){return i});var i=function(t){return t.EN_COURS="EN_COURS",t.VALIDE="VALIDE",t.REFUSE="REFUSE",t}({})},"2axB":function(t,e,n){"use strict";n.d(e,"a",function(){return y});var i=n("v/fa"),a=n("8Y7J"),r=n("TSSN"),o=n("zaPX"),s=n("s7LF"),l=n("SVse"),c=n("Q2Ze"),d=n("e6WT"),u=n("q6Qu"),h=n("Z0nv");function m(t,e){1&t&&(a.Tb(0,"mat-error"),a.Hc(1),a.gc(2,"translate"),a.Sb()),2&t&&(a.Cb(1),a.Jc(" ",a.hc(2,1,"common.error.requis")," "))}function p(t,e){1&t&&(a.Tb(0,"mat-error"),a.Hc(1),a.gc(2,"translate"),a.Sb()),2&t&&(a.Cb(1),a.Jc(" ",a.hc(2,1,"common.error.length")," "))}function f(t,e){if(1&t&&(a.Rb(0),a.Tb(1,"mat-form-field",3),a.Ob(2,"input",4),a.Fc(3,m,3,3,"mat-error",5),a.Fc(4,p,3,3,"mat-error",5),a.Sb(),a.Qb()),2&t){const t=a.fc();a.Cb(2),a.nc("required",t.isRequired),a.Cb(1),a.nc("ngIf",t.doesControlHaveError("nom","required")),a.Cb(1),a.nc("ngIf",t.doesControlHaveError("nom","maxlength"))}}function g(t,e){1&t&&(a.Tb(0,"mat-error"),a.Hc(1),a.gc(2,"translate"),a.Sb()),2&t&&(a.Cb(1),a.Jc(" ",a.hc(2,1,"common.error.requis")," "))}function b(t,e){1&t&&(a.Tb(0,"mat-error"),a.Hc(1),a.gc(2,"translate"),a.Sb()),2&t&&(a.Cb(1),a.Jc(" ",a.hc(2,1,"common.error.length")," "))}function _(t,e){if(1&t){const t=a.Ub();a.Tb(0,"app-salarie-autocomplete-2",6),a.bc("selectionChanged",function(e){return a.yc(t),a.fc().onPersonChange(e)}),a.Fc(1,g,3,3,"mat-error",5),a.Fc(2,b,3,3,"mat-error",5),a.Sb()}if(2&t){const t=a.fc();a.nc("name","salarie")("inputTitle","common.nom")("isRequired",t.isRequired)("formControl",t.nomCtrl),a.Cb(1),a.nc("ngIf",t.doesControlHaveError("nom","required")),a.Cb(1),a.nc("ngIf",t.doesControlHaveError("nom","maxlength"))}}let y=(()=>{class t extends i.a{constructor(t,e){super(t),this.translateService=t,this.configSharedService=e,this.countries=[]}set parentForm(t){this.form=t}load(){this.countries=this.configSharedService.countries}onPersonChange(t){t&&(this.form.parent.patchValue({sexe:t.sexe,nationalite:this.getCountry(t.nationalite),adresse:{adresse:t.adresse,pays:this.getCountry(t.pays),cp:t.cp,ville:t.ville,complementAdresse:t.complementAdresse},paysSecu:this.getCountry(t.paysSecu),emploi:t.emploi,qualification:t.qualification,salaire:t.salaire,salaireSpecifique:t.salaireSpecifique,dateContrat:t.dateContrat,identite:{nom:t.nom,prenom:t.prenom,dateNaissance:t.dateNaissance,villeNaissance:t.villeNaissance,paysNaissance:this.getCountry(t.paysNaissance)}}),t.salaireSpecifique?this.form.parent.get("salaire").disable():this.form.parent.get("salaire").enable())}getCountry(t){return this.countries.find(e=>e.code===t)}get nomCtrl(){return this.form.get("nom")}}return t.\u0275fac=function(e){return new(e||t)(a.Nb(r.d),a.Nb(o.a))},t.\u0275cmp=a.Hb({type:t,selectors:[["app-salarie-2"]],inputs:{isAutocompleteDisabled:"isAutocompleteDisabled",parentForm:"parentForm",isRequired:"isRequired"},features:[a.zb],decls:4,vars:3,consts:[[3,"formGroup"],[4,"ngIf","ngIfElse"],["autocompleteComponent",""],[1,"full-width"],["matInput","","data-cy","nom","type","text","appLabel","common.nom","name","'salarie'","formControlName","nom",3,"required"],[4,"ngIf"],["formControlName","nom",1,"inline-item",3,"name","inputTitle","isRequired","formControl","selectionChanged"]],template:function(t,e){if(1&t&&(a.Tb(0,"form",0),a.Fc(1,f,5,3,"ng-container",1),a.Fc(2,_,3,6,"ng-template",null,2,a.Gc),a.Sb()),2&t){const t=a.vc(3);a.nc("formGroup",e.form),a.Cb(1),a.nc("ngIf",e.isAutocompleteDisabled)("ngIfElse",t)}},directives:[s.x,s.p,s.i,l.l,c.c,d.b,s.c,u.a,s.o,s.g,s.v,c.b,h.a,s.f],pipes:[r.c],styles:[".full-width[_ngcontent-%COMP%]{width:100%}"]}),t})()},"2fFW":function(t,e,n){"use strict";n.d(e,"a",function(){return a});let i=!1;const a={Promise:void 0,set useDeprecatedSynchronousErrorHandling(t){if(t){const t=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+t.stack)}else i&&console.log("RxJS: Back to a better error behavior. Thank you. <3");i=t},get useDeprecatedSynchronousErrorHandling(){return i}}},"2fjn":function(t,e,n){!function(t){"use strict";t.defineLocale("fr-ca",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(t,e){switch(e){default:case"M":case"Q":case"D":case"DDD":case"d":return t+(1===t?"er":"e");case"w":case"W":return t+(1===t?"re":"e")}}})}(n("wd/R"))},"2ykv":function(t,e,n){!function(t){"use strict";var e="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),n="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),i=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],a=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;t.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(t,i){return t?/-MMM-/.test(i)?n[t.month()]:e[t.month()]:e},monthsRegex:a,monthsShortRegex:a,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"\xe9\xe9n minuut",mm:"%d minuten",h:"\xe9\xe9n uur",hh:"%d uur",d:"\xe9\xe9n dag",dd:"%d dagen",M:"\xe9\xe9n maand",MM:"%d maanden",y:"\xe9\xe9n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(t){return t+(1===t||8===t||t>=20?"ste":"de")},week:{dow:1,doy:4}})}(n("wd/R"))},"3+fm":function(t,e,n){"use strict";n.r(e),n.d(e,"CompteModule",function(){return D});var i=n("SVse"),a=n("PCNd"),r=n("iInd"),o=n("cp0P"),s=n("lJxs"),l=n("fqiG"),c=n("8Y7J"),d=n("f4AX"),u=n("cv7C"),h=n("bKjt"),m=n("zaPX"),p=n("s7LF");let f=(()=>{class t{constructor(t,e,n,i,a){this.userService=t,this.langueService=e,this.countryService=n,this.configSharedService=i,this.fb=a}resolve(){return Object(o.a)([this.userService.getUser(),this.langueService.getLangues(),this.countryService.getCountries()]).pipe(Object(s.a)(([t,e,n])=>(this.configSharedService.setlangues(e),this.configSharedService.setCountries(n),this.configSharedService.setForm(new l.a(this.fb,t,n,!0,!0).build()),t)))}}return t.\u0275fac=function(e){return new(e||t)(c.Xb(d.a),c.Xb(u.a),c.Xb(h.a),c.Xb(m.a),c.Xb(p.d))},t.\u0275prov=c.Jb({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();var g=n("IGtN"),b=n("zfSa"),_=n("NlNA"),y=n("TSSN"),v=n("qh/L"),C=n("jKJn"),w=n("M9ds"),x=n("PDjf"),M=n("4dBv"),O=n("Dxy4"),k=n("q6Qu"),S=n("RQKg"),T=n("Dwoe");let P=(()=>{class t extends g.a{constructor(t,e,n,i,a,r,o){super(t),this.translateService=t,this.router=e,this.route=n,this.userService=i,this.sessionService=a,this.alertService=r,this.configSharedService=o,this.editCompteForm=new p.h({})}get roleLabel(){const t=this.currentUser.role;if(!t)return"";switch(t){case b.a.MANDATAIRE:return"compte.type.mandataire";case b.a.ENTREPRISE:return"compte.type.entreprise";case b.a.DONNEUR_ORDRE:return"compte.type.ordre";default:return""}}load(){this.currentUser=this.route.snapshot.data.currentUser,this.editCompteForm=this.configSharedService.form}submitUser(){this.subscriptions.push(this.userService.updateUser(this.userMapper()).subscribe(t=>{this.sessionService.sendRefreshToken().subscribe(t=>{this.alertService.notifyByKey("compte.edit.done")})}))}getSubmitPasswordFn(){return(t="",e="")=>{this.currentUser&&this.subscriptions.push(this.userService.editPassword(e,t).subscribe(t=>{this.alertService.notifyByKey(t&&t.errorCode&&t.errorCode.length>0?"BAD_CREDENTIALS"===t.errorCode?"password.error.mauvais.identifiants":"common.error.interne":"password.edit.done")}))}}back(){this.router.navigate(["/"])}userMapper(){const t=new _.a(this.editCompteForm.getRawValue());t.role=this.currentUser.role,t.entreprise.adresse.pays=this.editCompteForm.get("entreprise").get("adresse").get("pays").value.code;const e=this.editCompteForm.get("entreprise").get("dirigeant").get("paysNaissance").value;return e&&(t.entreprise.dirigeant.paysNaissance=e.code),t}}return t.\u0275fac=function(e){return new(e||t)(c.Nb(y.d),c.Nb(r.f),c.Nb(r.a),c.Nb(d.a),c.Nb(v.a),c.Nb(C.a),c.Nb(m.a))},t.\u0275cmp=c.Hb({type:t,selectors:[["app-compte-tabs"]],features:[c.zb],decls:22,vars:20,consts:[["id","compte"],[3,"label"],[1,"content"],["name","editCompte",3,"userRole","compteForm"],[1,"actions"],["mat-raised-button","","color","primary","type","button","aria-label","submit","appLabel","compte.edit.submit",3,"disabled","click"],[1,"separator"],["mat-raised-button","","color","warn","type","button","aria-label","cancel","appLabel","common.annuler",3,"click"],["titre","password.edit.titre",3,"onSubmit"],[3,"roleLabel"]],template:function(t,e){1&t&&(c.Tb(0,"div",0),c.Tb(1,"mat-tab-group"),c.Tb(2,"mat-tab",1),c.gc(3,"translate"),c.Tb(4,"div",2),c.Tb(5,"h1"),c.Hc(6),c.gc(7,"translate"),c.gc(8,"translate"),c.Sb(),c.Tb(9,"mat-card"),c.Tb(10,"mat-card-content"),c.Ob(11,"app-edit-compte",3),c.Tb(12,"div",4),c.Tb(13,"button",5),c.bc("click",function(){return e.submitUser()}),c.Sb(),c.Ob(14,"div",6),c.Tb(15,"button",7),c.bc("click",function(){return e.back()}),c.Sb(),c.Sb(),c.Sb(),c.Sb(),c.Sb(),c.Sb(),c.Tb(16,"mat-tab",1),c.gc(17,"translate"),c.Ob(18,"app-edit-password",8),c.Sb(),c.Tb(19,"mat-tab",1),c.gc(20,"translate"),c.Ob(21,"app-delete-compte",9),c.Sb(),c.Sb(),c.Sb()),2&t&&(c.Cb(2),c.oc("label",c.hc(3,10,"compte.update.titre")),c.Cb(4),c.Kc(" ",c.hc(7,12,"compte.edit.titre")," ",c.hc(8,14,e.roleLabel)," "),c.Cb(5),c.nc("userRole",e.currentUser.role)("compteForm",e.editCompteForm),c.Cb(2),c.nc("disabled",e.editCompteForm.invalid),c.Cb(3),c.oc("label",c.hc(17,16,"password.edit.titre")),c.Cb(2),c.nc("onSubmit",e.getSubmitPasswordFn()),c.Cb(1),c.oc("label",c.hc(20,18,"compte.delete.titre")),c.Cb(2),c.nc("roleLabel",e.roleLabel))},directives:[w.c,w.a,x.a,x.b,M.a,O.a,k.a,S.a,T.a],pipes:[y.c],styles:["#compte[_ngcontent-%COMP%] div.mat-tab-label{width:50%}#compte[_ngcontent-%COMP%] .actions[_ngcontent-%COMP%]{display:-ms-flexbox;display:flex;padding-top:16px}#compte[_ngcontent-%COMP%] .actions[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{-ms-flex:1;flex:1}#compte[_ngcontent-%COMP%] .actions[_ngcontent-%COMP%] .separator[_ngcontent-%COMP%]{width:50px}"]}),t})(),L=(()=>{class t{}return t.\u0275mod=c.Lb({type:t}),t.\u0275inj=c.Kb({factory:function(e){return new(e||t)},imports:[[r.j.forChild([{path:"",component:P,resolve:{currentUser:f}}])],r.j]}),t})(),D=(()=>{class t{}return t.\u0275mod=c.Lb({type:t}),t.\u0275inj=c.Kb({factory:function(e){return new(e||t)},imports:[[i.c,a.a,L]]}),t})()},"3E0/":function(t,e,n){"use strict";n.d(e,"a",function(){return o});var i=n("D0XW"),a=n("7o/Q"),r=n("WMd4");function o(t,e=i.a){var n;const a=(n=t)instanceof Date&&!isNaN(+n)?+t-e.now():Math.abs(t);return t=>t.lift(new s(a,e))}class s{constructor(t,e){this.delay=t,this.scheduler=e}call(t,e){return e.subscribe(new l(t,this.delay,this.scheduler))}}class l extends a.a{constructor(t,e,n){super(t),this.delay=e,this.scheduler=n,this.queue=[],this.active=!1,this.errored=!1}static dispatch(t){const e=t.source,n=e.queue,i=t.scheduler,a=t.destination;for(;n.length>0&&n[0].time-i.now()<=0;)n.shift().notification.observe(a);if(n.length>0){const e=Math.max(0,n[0].time-i.now());this.schedule(t,e)}else this.unsubscribe(),e.active=!1}_schedule(t){this.active=!0,this.destination.add(t.schedule(l.dispatch,this.delay,{source:this,destination:this.destination,scheduler:t}))}scheduleNotification(t){if(!0===this.errored)return;const e=this.scheduler,n=new c(e.now()+this.delay,t);this.queue.push(n),!1===this.active&&this._schedule(e)}_next(t){this.scheduleNotification(r.a.createNext(t))}_error(t){this.errored=!0,this.queue=[],this.destination.error(t),this.unsubscribe()}_complete(){this.scheduleNotification(r.a.createComplete()),this.unsubscribe()}}class c{constructor(t,e){this.time=t,this.notification=e}}},"3E1r":function(t,e,n){!function(t){"use strict";var e={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},n={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"},i=[/^\u091c\u0928/i,/^\u092b\u093c\u0930|\u092b\u0930/i,/^\u092e\u093e\u0930\u094d\u091a/i,/^\u0905\u092a\u094d\u0930\u0948/i,/^\u092e\u0908/i,/^\u091c\u0942\u0928/i,/^\u091c\u0941\u0932/i,/^\u0905\u0917/i,/^\u0938\u093f\u0924\u0902|\u0938\u093f\u0924/i,/^\u0905\u0915\u094d\u091f\u0942/i,/^\u0928\u0935|\u0928\u0935\u0902/i,/^\u0926\u093f\u0938\u0902|\u0926\u093f\u0938/i];t.defineLocale("hi",{months:{format:"\u091c\u0928\u0935\u0930\u0940_\u092b\u093c\u0930\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948\u0932_\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0938\u094d\u0924_\u0938\u093f\u0924\u092e\u094d\u092c\u0930_\u0905\u0915\u094d\u091f\u0942\u092c\u0930_\u0928\u0935\u092e\u094d\u092c\u0930_\u0926\u093f\u0938\u092e\u094d\u092c\u0930".split("_"),standalone:"\u091c\u0928\u0935\u0930\u0940_\u092b\u0930\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948\u0932_\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0938\u094d\u0924_\u0938\u093f\u0924\u0902\u092c\u0930_\u0905\u0915\u094d\u091f\u0942\u092c\u0930_\u0928\u0935\u0902\u092c\u0930_\u0926\u093f\u0938\u0902\u092c\u0930".split("_")},monthsShort:"\u091c\u0928._\u092b\u093c\u0930._\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948._\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932._\u0905\u0917._\u0938\u093f\u0924._\u0905\u0915\u094d\u091f\u0942._\u0928\u0935._\u0926\u093f\u0938.".split("_"),weekdays:"\u0930\u0935\u093f\u0935\u093e\u0930_\u0938\u094b\u092e\u0935\u093e\u0930_\u092e\u0902\u0917\u0932\u0935\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u0917\u0941\u0930\u0942\u0935\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u0935\u093e\u0930_\u0936\u0928\u093f\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0930\u0935\u093f_\u0938\u094b\u092e_\u092e\u0902\u0917\u0932_\u092c\u0941\u0927_\u0917\u0941\u0930\u0942_\u0936\u0941\u0915\u094d\u0930_\u0936\u0928\u093f".split("_"),weekdaysMin:"\u0930_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u0917\u0941_\u0936\u0941_\u0936".split("_"),longDateFormat:{LT:"A h:mm \u092c\u091c\u0947",LTS:"A h:mm:ss \u092c\u091c\u0947",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u092c\u091c\u0947",LLLL:"dddd, D MMMM YYYY, A h:mm \u092c\u091c\u0947"},monthsParse:i,longMonthsParse:i,shortMonthsParse:[/^\u091c\u0928/i,/^\u092b\u093c\u0930/i,/^\u092e\u093e\u0930\u094d\u091a/i,/^\u0905\u092a\u094d\u0930\u0948/i,/^\u092e\u0908/i,/^\u091c\u0942\u0928/i,/^\u091c\u0941\u0932/i,/^\u0905\u0917/i,/^\u0938\u093f\u0924/i,/^\u0905\u0915\u094d\u091f\u0942/i,/^\u0928\u0935/i,/^\u0926\u093f\u0938/i],monthsRegex:/^(\u091c\u0928\u0935\u0930\u0940|\u091c\u0928\.?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908|\u091c\u0941\u0932\.?|\u0905\u0917\u0938\u094d\u0924|\u0905\u0917\.?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930|\u0928\u0935\.?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930|\u0926\u093f\u0938\.?)/i,monthsShortRegex:/^(\u091c\u0928\u0935\u0930\u0940|\u091c\u0928\.?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908|\u091c\u0941\u0932\.?|\u0905\u0917\u0938\u094d\u0924|\u0905\u0917\.?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930|\u0928\u0935\.?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930|\u0926\u093f\u0938\.?)/i,monthsStrictRegex:/^(\u091c\u0928\u0935\u0930\u0940?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908?|\u0905\u0917\u0938\u094d\u0924?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924?\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930?)/i,monthsShortStrictRegex:/^(\u091c\u0928\.?|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\.?|\u0905\u0917\.?|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\.?|\u0926\u093f\u0938\.?)/i,calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u0915\u0932] LT",nextWeek:"dddd, LT",lastDay:"[\u0915\u0932] LT",lastWeek:"[\u092a\u093f\u091b\u0932\u0947] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u092e\u0947\u0902",past:"%s \u092a\u0939\u0932\u0947",s:"\u0915\u0941\u091b \u0939\u0940 \u0915\u094d\u0937\u0923",ss:"%d \u0938\u0947\u0915\u0902\u0921",m:"\u090f\u0915 \u092e\u093f\u0928\u091f",mm:"%d \u092e\u093f\u0928\u091f",h:"\u090f\u0915 \u0918\u0902\u091f\u093e",hh:"%d \u0918\u0902\u091f\u0947",d:"\u090f\u0915 \u0926\u093f\u0928",dd:"%d \u0926\u093f\u0928",M:"\u090f\u0915 \u092e\u0939\u0940\u0928\u0947",MM:"%d \u092e\u0939\u0940\u0928\u0947",y:"\u090f\u0915 \u0935\u0930\u094d\u0937",yy:"%d \u0935\u0930\u094d\u0937"},preparse:function(t){return t.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(t){return n[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},meridiemParse:/\u0930\u093e\u0924|\u0938\u0941\u092c\u0939|\u0926\u094b\u092a\u0939\u0930|\u0936\u093e\u092e/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u0930\u093e\u0924"===e?t<4?t:t+12:"\u0938\u0941\u092c\u0939"===e?t:"\u0926\u094b\u092a\u0939\u0930"===e?t>=10?t:t+12:"\u0936\u093e\u092e"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"\u0930\u093e\u0924":t<10?"\u0938\u0941\u092c\u0939":t<17?"\u0926\u094b\u092a\u0939\u0930":t<20?"\u0936\u093e\u092e":"\u0930\u093e\u0924"},week:{dow:0,doy:6}})}(n("wd/R"))},"3EFq":function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("Qaas"),a=n("j9Ql");class r{constructor({siret:t=null,raisonSociale:e=null,adresse:n={},telephone:r=null,email:o=null,status:s=null,numTVA:l=null,registre:c=null,reference:d=null,dirigeant:u={},noTVA:h=!1,organisme:m=null,transporteur:p=null,codeNaf:f=null}){this.siret=t,this.raisonSociale=e,this.adresse=new i.a(n),this.telephone=r,this.email=o,this.status=s,this.numTVA=l,this.registre=c,this.reference=d,this.dirigeant=new a.a(u),this.noTVA=h,this.organisme=m,this.transporteur=p,this.codeNaf=f}getForPost(){return Object.assign(Object.assign({},this),{address:this.adresse.getForPost(),manager:this.dirigeant.getForPost()})}}},"3N8a":function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("quSY");class a extends i.a{constructor(t,e){super()}schedule(t,e=0){return this}}class r extends a{constructor(t,e){super(t,e),this.scheduler=t,this.work=e,this.pending=!1}schedule(t,e=0){if(this.closed)return this;this.state=t;const n=this.id,i=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(i,n,e)),this.pending=!0,this.delay=e,this.id=this.id||this.requestAsyncId(i,this.id,e),this}requestAsyncId(t,e,n=0){return setInterval(t.flush.bind(t,this),n)}recycleAsyncId(t,e,n=0){if(null!==n&&this.delay===n&&!1===this.pending)return e;clearInterval(e)}execute(t,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const n=this._execute(t,e);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,e){let n,i=!1;try{this.work(t)}catch(a){i=!0,n=!!a&&a||new Error(a)}if(i)return this.unsubscribe(),n}_unsubscribe(){const t=this.id,e=this.scheduler,n=e.actions,i=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==i&&n.splice(i,1),null!=t&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null}}},"3UWI":function(t,e,n){"use strict";n.d(e,"a",function(){return l});var i=n("D0XW"),a=n("zx2A");class r{constructor(t){this.durationSelector=t}call(t,e){return e.subscribe(new o(t,this.durationSelector))}}class o extends a.b{constructor(t,e){super(t),this.durationSelector=e,this.hasValue=!1}_next(t){if(this.value=t,this.hasValue=!0,!this.throttled){let n;try{const{durationSelector:e}=this;n=e(t)}catch(e){return this.destination.error(e)}const i=Object(a.c)(n,new a.a(this));!i||i.closed?this.clearThrottle():this.add(this.throttled=i)}}clearThrottle(){const{value:t,hasValue:e,throttled:n}=this;n&&(this.remove(n),this.throttled=void 0,n.unsubscribe()),e&&(this.value=void 0,this.hasValue=!1,this.destination.next(t))}notifyNext(){this.clearThrottle()}notifyComplete(){this.clearThrottle()}}var s=n("PqYM");function l(t,e=i.a){return n=()=>Object(s.a)(t,e),function(t){return t.lift(new r(n))};var n}},"3wrD":function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("8Y7J"),a=n("ZFy/");let r=(()=>{class t{constructor(t){this.changeDetectorRef=t}set label(t){this._label=t,this.changeDetectorRef.markForCheck()}get label(){return this._label}set info(t){this._info=t,this.changeDetectorRef.markForCheck()}get info(){return this._info}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.h))},t.\u0275cmp=i.Hb({type:t,selectors:[["app-button-info"]],inputs:{label:"label",info:"info"},decls:2,vars:2,consts:[["matTooltipClass","app-infobulle-tooltip",3,"matTooltip"]],template:function(t,e){1&t&&(i.Tb(0,"div",0),i.Hc(1),i.Sb()),2&t&&(i.nc("matTooltip",e.info),i.Cb(1),i.Ic(e.label))},directives:[a.c],styles:["\n .app-infobulle-tooltip {\n font-size: 0.75em;\n text-align: center;\n }"],encapsulation:2,changeDetection:0}),t})()},"48lP":function(t,e,n){"use strict";n.d(e,"a",function(){return T});var i=n("8Y7J"),a=n("v/fa"),r=n("ePOw"),o=n("Qaas"),s=n("TSSN"),l=n("zaPX"),c=n("s7LF"),d=n("SVse"),u=n("VjMq"),h=n("VM/L"),m=n("pSGz"),p=n("Q2Ze"),f=n("e6WT"),g=n("q6Qu"),b=n("mSn9");function _(t,e){if(1&t&&i.Ob(0,"app-collectif-2",8),2&t){const t=i.fc();i.nc("formGp",t.form)("isAutocompleteDisabled",t.isAutocompleteDisabled)("isRequired",t.isRequired)}}function y(t,e){1&t&&(i.Tb(0,"mat-error"),i.Hc(1),i.gc(2,"translate"),i.Sb()),2&t&&(i.Cb(1),i.Jc(" ",i.hc(2,1,"common.error.requis")," "))}function v(t,e){if(1&t){const t=i.Ub();i.Tb(0,"app-country-autocomplete-2",9),i.bc("selectionChanged",function(e){return i.yc(t),i.fc().onCountryChange(e)}),i.Fc(1,y,3,3,"mat-error",6),i.Sb()}if(2&t){const t=i.fc();i.nc("countryCtrl",t.countryCtrl)("inputTitle","common.pays")("isRequired",t.isRequired)("showFR",t.showFR),i.Cb(1),i.nc("ngIf",t.doesControlHaveError("pays","required"))}}function C(t,e){1&t&&i.Ob(0,"div",10)}function w(t,e){1&t&&(i.Tb(0,"mat-error"),i.Hc(1),i.gc(2,"translate"),i.Sb()),2&t&&(i.Cb(1),i.Jc(" ",i.hc(2,1,"common.error.length")," "))}function x(t,e){if(1&t&&(i.Tb(0,"mat-form-field"),i.Tb(1,"textarea",11),i.Hc(2," "),i.Sb(),i.Fc(3,w,3,3,"mat-error",6),i.Sb()),2&t){const t=i.fc();i.Cb(3),i.nc("ngIf",t.doesControlHaveError("complementAdresse","maxlength"))}}function M(t,e){1&t&&(i.Tb(0,"mat-error"),i.Hc(1),i.gc(2,"translate"),i.Sb()),2&t&&(i.Cb(1),i.Ic(i.hc(2,1,"common.error.requis")))}function O(t,e){1&t&&(i.Tb(0,"mat-error"),i.Hc(1),i.gc(2,"translate"),i.Sb()),2&t&&(i.Cb(1),i.Jc(" ",i.hc(2,1,"common.error.requis")," "))}function k(t,e){if(1&t&&(i.Tb(0,"div",2),i.Tb(1,"mat-form-field"),i.Ob(2,"input",12),i.Fc(3,M,3,3,"mat-error",6),i.Sb(),i.Ob(4,"div",10),i.Tb(5,"mat-form-field"),i.Ob(6,"input",13),i.Fc(7,O,3,3,"mat-error",6),i.Sb(),i.Sb()),2&t){const t=i.fc();i.Cb(3),i.nc("ngIf",t.doesControlHaveError("latitude","required")),i.Cb(4),i.nc("ngIf",t.doesControlHaveError("longitude","required"))}}function S(t,e){if(1&t){const t=i.Ub();i.Tb(0,"div"),i.Tb(1,"p"),i.Tb(2,"i"),i.Hc(3),i.gc(4,"translate"),i.Sb(),i.Sb(),i.Tb(5,"app-map",14),i.bc("fetchAddress",function(e){return i.yc(t),i.fc().onMapChangeAddress(e)}),i.Sb(),i.Sb()}if(2&t){const t=i.fc();i.Cb(3),i.Ic(i.hc(4,3,"common.info.map")),i.Cb(2),i.nc("address",t.addressForMap)("readonly",t.isCompletionMode)}}let T=(()=>{class t extends a.a{constructor(t,e){super(t),this.translateService=t,this.configSharedService=e,this.showCoords=!1,this.showCountry=!0,this.showAddress=!0,this.showFR=!0,this.isCompletionMode=!1,this.countryChangeEvent=new i.o}set formGp(t){this.form=t}load(){this.countries=this.configSharedService.countries}get cp(){return this.form.get("cp").value}get city(){return this.form.get("ville").value}get isCountryFrance(){return!!this.countryCtrl.value&&"FR"===this.countryCtrl.value.code}get countryCtrl(){return this.form.get("pays")}get latitude(){return this.form.get("latitude").value}get longitude(){return this.form.get("longitude").value}get addressForMap(){return new o.a({cp:this.cp,ville:this.city,coordonnees:{latitude:this.latitude,longitude:this.longitude},type:r.a.COORDONNEES})}onCountryChange(t){let e={pays:t};t&&"FR"===t.code&&(e=Object.assign(Object.assign({},e),{cp:null,city:null})),this.form.patchValue(e),this.countryChangeEvent.emit(t)}onMapChangeAddress(t){this.form.patchValue(Object.assign(Object.assign({},t),{pays:this.countries.find(t=>"FR"===t.code),latitude:t.coordonnees.latitude,longitude:t.coordonnees.longitude}))}get areCoordinatesDisplayed(){return this.showCoords&&!!this.cp&&!!this.city}get isCollectifAutocompleteDisabled(){return this._isCollectifAutocompleteDisabled}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(s.d),i.Nb(l.a))},t.\u0275cmp=i.Hb({type:t,selectors:[["app-address-form-2"]],inputs:{showCoords:"showCoords",showCountry:"showCountry",showAddress:"showAddress",isRequired:"isRequired",isAutocompleteDisabled:"isAutocompleteDisabled",showFR:"showFR",isCompletionMode:"isCompletionMode",formGp:"formGp"},outputs:{countryChangeEvent:"countryChangeEvent"},features:[i.zb],decls:9,vars:11,consts:[[1,"container",3,"formGroup"],[3,"formGp","isAutocompleteDisabled","isRequired",4,"ngIf"],[1,"inline-form"],["class","inline-item",3,"countryCtrl","inputTitle","isRequired","showFR","selectionChanged",4,"ngIf"],["class","spacer",4,"ngIf"],[1,"inline-item",3,"formGp","isRequired","showCoords","isCountryFrance"],[4,"ngIf"],["class","inline-form",4,"ngIf"],[3,"formGp","isAutocompleteDisabled","isRequired"],[1,"inline-item",3,"countryCtrl","inputTitle","isRequired","showFR","selectionChanged"],[1,"spacer"],["data-cy","complement-adresse","matInput","","type","text","rows","3","appLabel","common.adresse.complement","formControlName","complementAdresse"],["matInput","","data-cy","latitude","type","text","appLabel","common.latitude","formControlName","latitude"],["matInput","","data-cy","longitude","type","text","appLabel","common.longitude","formControlName","longitude"],["name","map",3,"address","readonly","fetchAddress"]],template:function(t,e){1&t&&(i.Tb(0,"form",0),i.Fc(1,_,1,3,"app-collectif-2",1),i.Tb(2,"div",2),i.Fc(3,v,2,5,"app-country-autocomplete-2",3),i.Fc(4,C,1,0,"div",4),i.Ob(5,"app-communes-2",5),i.Sb(),i.Fc(6,x,4,1,"mat-form-field",6),i.Fc(7,k,8,2,"div",7),i.Fc(8,S,6,5,"div",6),i.Sb()),2&t&&(i.nc("formGroup",e.form),i.Cb(1),i.nc("ngIf",e.showAddress),i.Cb(2),i.nc("ngIf",e.showCountry),i.Cb(1),i.nc("ngIf",e.showCountry),i.Cb(1),i.nc("formGp",e.form)("isRequired",e.isRequired)("showCoords",e.showCoords)("isCountryFrance",e.isCountryFrance),i.Cb(1),i.nc("ngIf",e.showAddress),i.Cb(1),i.nc("ngIf",e.areCoordinatesDisplayed),i.Cb(1),i.nc("ngIf",e.areCoordinatesDisplayed))},directives:[c.x,c.p,c.i,d.l,u.a,h.a,m.a,p.b,p.c,f.b,c.c,g.a,c.o,c.g,b.a],pipes:[s.c],styles:[".container[_ngcontent-%COMP%]{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.container[_ngcontent-%COMP%] .inline-form[_ngcontent-%COMP%]{display:-ms-flexbox;display:flex;-ms-flex-flow:row;flex-flow:row}.container[_ngcontent-%COMP%] .inline-form[_ngcontent-%COMP%] .spacer[_ngcontent-%COMP%]{width:50px}.container[_ngcontent-%COMP%] .inline-form[_ngcontent-%COMP%] .inline-item[_ngcontent-%COMP%]{-ms-flex:1;flex:1}"]}),t})()},"4I5i":function(t,e,n){"use strict";n.d(e,"a",function(){return i});const i=(()=>{function t(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return t.prototype=Object.create(Error.prototype),t})()},"4MV3":function(t,e,n){!function(t){"use strict";var e={1:"\u0ae7",2:"\u0ae8",3:"\u0ae9",4:"\u0aea",5:"\u0aeb",6:"\u0aec",7:"\u0aed",8:"\u0aee",9:"\u0aef",0:"\u0ae6"},n={"\u0ae7":"1","\u0ae8":"2","\u0ae9":"3","\u0aea":"4","\u0aeb":"5","\u0aec":"6","\u0aed":"7","\u0aee":"8","\u0aef":"9","\u0ae6":"0"};t.defineLocale("gu",{months:"\u0a9c\u0abe\u0aa8\u0acd\u0aaf\u0ac1\u0a86\u0ab0\u0ac0_\u0aab\u0ac7\u0aac\u0acd\u0ab0\u0ac1\u0a86\u0ab0\u0ac0_\u0aae\u0abe\u0ab0\u0acd\u0a9a_\u0a8f\u0aaa\u0acd\u0ab0\u0abf\u0ab2_\u0aae\u0ac7_\u0a9c\u0ac2\u0aa8_\u0a9c\u0ac1\u0ab2\u0abe\u0a88_\u0a91\u0a97\u0ab8\u0acd\u0a9f_\u0ab8\u0aaa\u0acd\u0a9f\u0ac7\u0aae\u0acd\u0aac\u0ab0_\u0a91\u0a95\u0acd\u0a9f\u0acd\u0aac\u0ab0_\u0aa8\u0ab5\u0ac7\u0aae\u0acd\u0aac\u0ab0_\u0aa1\u0abf\u0ab8\u0ac7\u0aae\u0acd\u0aac\u0ab0".split("_"),monthsShort:"\u0a9c\u0abe\u0aa8\u0acd\u0aaf\u0ac1._\u0aab\u0ac7\u0aac\u0acd\u0ab0\u0ac1._\u0aae\u0abe\u0ab0\u0acd\u0a9a_\u0a8f\u0aaa\u0acd\u0ab0\u0abf._\u0aae\u0ac7_\u0a9c\u0ac2\u0aa8_\u0a9c\u0ac1\u0ab2\u0abe._\u0a91\u0a97._\u0ab8\u0aaa\u0acd\u0a9f\u0ac7._\u0a91\u0a95\u0acd\u0a9f\u0acd._\u0aa8\u0ab5\u0ac7._\u0aa1\u0abf\u0ab8\u0ac7.".split("_"),monthsParseExact:!0,weekdays:"\u0ab0\u0ab5\u0abf\u0ab5\u0abe\u0ab0_\u0ab8\u0acb\u0aae\u0ab5\u0abe\u0ab0_\u0aae\u0a82\u0a97\u0ab3\u0ab5\u0abe\u0ab0_\u0aac\u0ac1\u0aa7\u0acd\u0ab5\u0abe\u0ab0_\u0a97\u0ac1\u0ab0\u0ac1\u0ab5\u0abe\u0ab0_\u0ab6\u0ac1\u0a95\u0acd\u0ab0\u0ab5\u0abe\u0ab0_\u0ab6\u0aa8\u0abf\u0ab5\u0abe\u0ab0".split("_"),weekdaysShort:"\u0ab0\u0ab5\u0abf_\u0ab8\u0acb\u0aae_\u0aae\u0a82\u0a97\u0ab3_\u0aac\u0ac1\u0aa7\u0acd_\u0a97\u0ac1\u0ab0\u0ac1_\u0ab6\u0ac1\u0a95\u0acd\u0ab0_\u0ab6\u0aa8\u0abf".split("_"),weekdaysMin:"\u0ab0_\u0ab8\u0acb_\u0aae\u0a82_\u0aac\u0ac1_\u0a97\u0ac1_\u0ab6\u0ac1_\u0ab6".split("_"),longDateFormat:{LT:"A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",LTS:"A h:mm:ss \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",LLLL:"dddd, D MMMM YYYY, A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7"},calendar:{sameDay:"[\u0a86\u0a9c] LT",nextDay:"[\u0a95\u0abe\u0ab2\u0ac7] LT",nextWeek:"dddd, LT",lastDay:"[\u0a97\u0a87\u0a95\u0abe\u0ab2\u0ac7] LT",lastWeek:"[\u0aaa\u0abe\u0a9b\u0ab2\u0abe] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0aae\u0abe",past:"%s \u0aaa\u0ab9\u0ac7\u0ab2\u0abe",s:"\u0a85\u0aae\u0ac1\u0a95 \u0aaa\u0ab3\u0acb",ss:"%d \u0ab8\u0ac7\u0a95\u0a82\u0aa1",m:"\u0a8f\u0a95 \u0aae\u0abf\u0aa8\u0abf\u0a9f",mm:"%d \u0aae\u0abf\u0aa8\u0abf\u0a9f",h:"\u0a8f\u0a95 \u0a95\u0ab2\u0abe\u0a95",hh:"%d \u0a95\u0ab2\u0abe\u0a95",d:"\u0a8f\u0a95 \u0aa6\u0abf\u0ab5\u0ab8",dd:"%d \u0aa6\u0abf\u0ab5\u0ab8",M:"\u0a8f\u0a95 \u0aae\u0ab9\u0abf\u0aa8\u0acb",MM:"%d \u0aae\u0ab9\u0abf\u0aa8\u0acb",y:"\u0a8f\u0a95 \u0ab5\u0ab0\u0acd\u0ab7",yy:"%d \u0ab5\u0ab0\u0acd\u0ab7"},preparse:function(t){return t.replace(/[\u0ae7\u0ae8\u0ae9\u0aea\u0aeb\u0aec\u0aed\u0aee\u0aef\u0ae6]/g,function(t){return n[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},meridiemParse:/\u0ab0\u0abe\u0aa4|\u0aac\u0aaa\u0acb\u0ab0|\u0ab8\u0ab5\u0abe\u0ab0|\u0ab8\u0abe\u0a82\u0a9c/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u0ab0\u0abe\u0aa4"===e?t<4?t:t+12:"\u0ab8\u0ab5\u0abe\u0ab0"===e?t:"\u0aac\u0aaa\u0acb\u0ab0"===e?t>=10?t:t+12:"\u0ab8\u0abe\u0a82\u0a9c"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"\u0ab0\u0abe\u0aa4":t<10?"\u0ab8\u0ab5\u0abe\u0ab0":t<17?"\u0aac\u0aaa\u0acb\u0ab0":t<20?"\u0ab8\u0abe\u0a82\u0a9c":"\u0ab0\u0abe\u0aa4"},week:{dow:0,doy:6}})}(n("wd/R"))},"4R65":function(t,e,n){!function(t){"use strict";function e(t){var e,n,i,a;for(n=1,i=arguments.length;n<i;n++)for(e in a=arguments[n])t[e]=a[e];return t}var n=Object.create||function(){function t(){}return function(e){return t.prototype=e,new t}}();function i(t,e){var n=Array.prototype.slice;if(t.bind)return t.bind.apply(t,n.call(arguments,1));var i=n.call(arguments,2);return function(){return t.apply(e,i.length?i.concat(n.call(arguments)):arguments)}}var a=0;function r(t){return t._leaflet_id=t._leaflet_id||++a,t._leaflet_id}function o(t,e,n){var i,a,r,o;return o=function(){i=!1,a&&(r.apply(n,a),a=!1)},r=function(){i?a=arguments:(t.apply(n,arguments),setTimeout(o,e),i=!0)}}function s(t,e,n){var i=e[1],a=e[0],r=i-a;return t===i&&n?t:((t-a)%r+r)%r+a}function l(){return!1}function c(t,e){var n=Math.pow(10,void 0===e?6:e);return Math.round(t*n)/n}function d(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function u(t){return d(t).split(/\s+/)}function h(t,e){for(var i in Object.prototype.hasOwnProperty.call(t,"options")||(t.options=t.options?n(t.options):{}),e)t.options[i]=e[i];return t.options}function m(t,e,n){var i=[];for(var a in t)i.push(encodeURIComponent(n?a.toUpperCase():a)+"="+encodeURIComponent(t[a]));return(e&&-1!==e.indexOf("?")?"&":"?")+i.join("&")}var p=/\{ *([\w_-]+) *\}/g;function f(t,e){return t.replace(p,function(t,n){var i=e[n];if(void 0===i)throw new Error("No value provided for variable "+t);return"function"==typeof i&&(i=i(e)),i})}var g=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)};function b(t,e){for(var n=0;n<t.length;n++)if(t[n]===e)return n;return-1}var _="data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=";function y(t){return window["webkit"+t]||window["moz"+t]||window["ms"+t]}var v=0;function C(t){var e=+new Date,n=Math.max(0,16-(e-v));return v=e+n,window.setTimeout(t,n)}var w=window.requestAnimationFrame||y("RequestAnimationFrame")||C,x=window.cancelAnimationFrame||y("CancelAnimationFrame")||y("CancelRequestAnimationFrame")||function(t){window.clearTimeout(t)};function M(t,e,n){if(!n||w!==C)return w.call(window,i(t,e));t.call(e)}function O(t){t&&x.call(window,t)}var k={extend:e,create:n,bind:i,lastId:a,stamp:r,throttle:o,wrapNum:s,falseFn:l,formatNum:c,trim:d,splitWords:u,setOptions:h,getParamString:m,template:f,isArray:g,indexOf:b,emptyImageUrl:_,requestFn:w,cancelFn:x,requestAnimFrame:M,cancelAnimFrame:O};function S(){}S.extend=function(t){var i=function(){this.initialize&&this.initialize.apply(this,arguments),this.callInitHooks()},a=i.__super__=this.prototype,r=n(a);for(var o in r.constructor=i,i.prototype=r,this)Object.prototype.hasOwnProperty.call(this,o)&&"prototype"!==o&&"__super__"!==o&&(i[o]=this[o]);return t.statics&&(e(i,t.statics),delete t.statics),t.includes&&(function(t){if("undefined"!=typeof L&&L&&L.Mixin){t=g(t)?t:[t];for(var e=0;e<t.length;e++)t[e]===L.Mixin.Events&&console.warn("Deprecated include of L.Mixin.Events: this property will be removed in future releases, please inherit from L.Evented instead.",(new Error).stack)}}(t.includes),e.apply(null,[r].concat(t.includes)),delete t.includes),r.options&&(t.options=e(n(r.options),t.options)),e(r,t),r._initHooks=[],r.callInitHooks=function(){if(!this._initHooksCalled){a.callInitHooks&&a.callInitHooks.call(this),this._initHooksCalled=!0;for(var t=0,e=r._initHooks.length;t<e;t++)r._initHooks[t].call(this)}},i},S.include=function(t){return e(this.prototype,t),this},S.mergeOptions=function(t){return e(this.prototype.options,t),this},S.addInitHook=function(t){var e=Array.prototype.slice.call(arguments,1),n="function"==typeof t?t:function(){this[t].apply(this,e)};return this.prototype._initHooks=this.prototype._initHooks||[],this.prototype._initHooks.push(n),this};var T={on:function(t,e,n){if("object"==typeof t)for(var i in t)this._on(i,t[i],e);else for(var a=0,r=(t=u(t)).length;a<r;a++)this._on(t[a],e,n);return this},off:function(t,e,n){if(t)if("object"==typeof t)for(var i in t)this._off(i,t[i],e);else for(var a=0,r=(t=u(t)).length;a<r;a++)this._off(t[a],e,n);else delete this._events;return this},_on:function(t,e,n){this._events=this._events||{};var i=this._events[t];i||(this._events[t]=i=[]),n===this&&(n=void 0);for(var a={fn:e,ctx:n},r=i,o=0,s=r.length;o<s;o++)if(r[o].fn===e&&r[o].ctx===n)return;r.push(a)},_off:function(t,e,n){var i,a,r;if(this._events&&(i=this._events[t]))if(e){if(n===this&&(n=void 0),i)for(a=0,r=i.length;a<r;a++){var o=i[a];if(o.ctx===n&&o.fn===e)return o.fn=l,this._firingCount&&(this._events[t]=i=i.slice()),void i.splice(a,1)}}else{for(a=0,r=i.length;a<r;a++)i[a].fn=l;delete this._events[t]}},fire:function(t,n,i){if(!this.listens(t,i))return this;var a=e({},n,{type:t,target:this,sourceTarget:n&&n.sourceTarget||this});if(this._events){var r=this._events[t];if(r){this._firingCount=this._firingCount+1||1;for(var o=0,s=r.length;o<s;o++){var l=r[o];l.fn.call(l.ctx||this,a)}this._firingCount--}}return i&&this._propagateEvent(a),this},listens:function(t,e){var n=this._events&&this._events[t];if(n&&n.length)return!0;if(e)for(var i in this._eventParents)if(this._eventParents[i].listens(t,e))return!0;return!1},once:function(t,e,n){if("object"==typeof t){for(var a in t)this.once(a,t[a],e);return this}var r=i(function(){this.off(t,e,n).off(t,r,n)},this);return this.on(t,e,n).on(t,r,n)},addEventParent:function(t){return this._eventParents=this._eventParents||{},this._eventParents[r(t)]=t,this},removeEventParent:function(t){return this._eventParents&&delete this._eventParents[r(t)],this},_propagateEvent:function(t){for(var n in this._eventParents)this._eventParents[n].fire(t.type,e({layer:t.target,propagatedFrom:t.target},t),!0)}};T.addEventListener=T.on,T.removeEventListener=T.clearAllEventListeners=T.off,T.addOneTimeEventListener=T.once,T.fireEvent=T.fire,T.hasEventListeners=T.listens;var P=S.extend(T);function D(t,e,n){this.x=n?Math.round(t):t,this.y=n?Math.round(e):e}var E=Math.trunc||function(t){return t>0?Math.floor(t):Math.ceil(t)};function A(t,e,n){return t instanceof D?t:g(t)?new D(t[0],t[1]):null==t?t:"object"==typeof t&&"x"in t&&"y"in t?new D(t.x,t.y):new D(t,e,n)}function I(t,e){if(t)for(var n=e?[t,e]:t,i=0,a=n.length;i<a;i++)this.extend(n[i])}function R(t,e){return!t||t instanceof I?t:new I(t,e)}function N(t,e){if(t)for(var n=e?[t,e]:t,i=0,a=n.length;i<a;i++)this.extend(n[i])}function Y(t,e){return t instanceof N?t:new N(t,e)}function H(t,e,n){if(isNaN(t)||isNaN(e))throw new Error("Invalid LatLng object: ("+t+", "+e+")");this.lat=+t,this.lng=+e,void 0!==n&&(this.alt=+n)}function j(t,e,n){return t instanceof H?t:g(t)&&"object"!=typeof t[0]?3===t.length?new H(t[0],t[1],t[2]):2===t.length?new H(t[0],t[1]):null:null==t?t:"object"==typeof t&&"lat"in t?new H(t.lat,"lng"in t?t.lng:t.lon,t.alt):void 0===e?null:new H(t,e,n)}D.prototype={clone:function(){return new D(this.x,this.y)},add:function(t){return this.clone()._add(A(t))},_add:function(t){return this.x+=t.x,this.y+=t.y,this},subtract:function(t){return this.clone()._subtract(A(t))},_subtract:function(t){return this.x-=t.x,this.y-=t.y,this},divideBy:function(t){return this.clone()._divideBy(t)},_divideBy:function(t){return this.x/=t,this.y/=t,this},multiplyBy:function(t){return this.clone()._multiplyBy(t)},_multiplyBy:function(t){return this.x*=t,this.y*=t,this},scaleBy:function(t){return new D(this.x*t.x,this.y*t.y)},unscaleBy:function(t){return new D(this.x/t.x,this.y/t.y)},round:function(){return this.clone()._round()},_round:function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this},floor:function(){return this.clone()._floor()},_floor:function(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this},ceil:function(){return this.clone()._ceil()},_ceil:function(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this},trunc:function(){return this.clone()._trunc()},_trunc:function(){return this.x=E(this.x),this.y=E(this.y),this},distanceTo:function(t){var e=(t=A(t)).x-this.x,n=t.y-this.y;return Math.sqrt(e*e+n*n)},equals:function(t){return(t=A(t)).x===this.x&&t.y===this.y},contains:function(t){return t=A(t),Math.abs(t.x)<=Math.abs(this.x)&&Math.abs(t.y)<=Math.abs(this.y)},toString:function(){return"Point("+c(this.x)+", "+c(this.y)+")"}},I.prototype={extend:function(t){return t=A(t),this.min||this.max?(this.min.x=Math.min(t.x,this.min.x),this.max.x=Math.max(t.x,this.max.x),this.min.y=Math.min(t.y,this.min.y),this.max.y=Math.max(t.y,this.max.y)):(this.min=t.clone(),this.max=t.clone()),this},getCenter:function(t){return new D((this.min.x+this.max.x)/2,(this.min.y+this.max.y)/2,t)},getBottomLeft:function(){return new D(this.min.x,this.max.y)},getTopRight:function(){return new D(this.max.x,this.min.y)},getTopLeft:function(){return this.min},getBottomRight:function(){return this.max},getSize:function(){return this.max.subtract(this.min)},contains:function(t){var e,n;return(t="number"==typeof t[0]||t instanceof D?A(t):R(t))instanceof I?(e=t.min,n=t.max):e=n=t,e.x>=this.min.x&&n.x<=this.max.x&&e.y>=this.min.y&&n.y<=this.max.y},intersects:function(t){t=R(t);var e=this.min,n=this.max,i=t.min,a=t.max;return a.x>=e.x&&i.x<=n.x&&a.y>=e.y&&i.y<=n.y},overlaps:function(t){t=R(t);var e=this.min,n=this.max,i=t.min,a=t.max;return a.x>e.x&&i.x<n.x&&a.y>e.y&&i.y<n.y},isValid:function(){return!(!this.min||!this.max)}},N.prototype={extend:function(t){var e,n,i=this._southWest,a=this._northEast;if(t instanceof H)e=t,n=t;else{if(!(t instanceof N))return t?this.extend(j(t)||Y(t)):this;if(n=t._northEast,!(e=t._southWest)||!n)return this}return i||a?(i.lat=Math.min(e.lat,i.lat),i.lng=Math.min(e.lng,i.lng),a.lat=Math.max(n.lat,a.lat),a.lng=Math.max(n.lng,a.lng)):(this._southWest=new H(e.lat,e.lng),this._northEast=new H(n.lat,n.lng)),this},pad:function(t){var e=this._southWest,n=this._northEast,i=Math.abs(e.lat-n.lat)*t,a=Math.abs(e.lng-n.lng)*t;return new N(new H(e.lat-i,e.lng-a),new H(n.lat+i,n.lng+a))},getCenter:function(){return new H((this._southWest.lat+this._northEast.lat)/2,(this._southWest.lng+this._northEast.lng)/2)},getSouthWest:function(){return this._southWest},getNorthEast:function(){return this._northEast},getNorthWest:function(){return new H(this.getNorth(),this.getWest())},getSouthEast:function(){return new H(this.getSouth(),this.getEast())},getWest:function(){return this._southWest.lng},getSouth:function(){return this._southWest.lat},getEast:function(){return this._northEast.lng},getNorth:function(){return this._northEast.lat},contains:function(t){t="number"==typeof t[0]||t instanceof H||"lat"in t?j(t):Y(t);var e,n,i=this._southWest,a=this._northEast;return t instanceof N?(e=t.getSouthWest(),n=t.getNorthEast()):e=n=t,e.lat>=i.lat&&n.lat<=a.lat&&e.lng>=i.lng&&n.lng<=a.lng},intersects:function(t){t=Y(t);var e=this._southWest,n=this._northEast,i=t.getSouthWest(),a=t.getNorthEast();return a.lat>=e.lat&&i.lat<=n.lat&&a.lng>=e.lng&&i.lng<=n.lng},overlaps:function(t){t=Y(t);var e=this._southWest,n=this._northEast,i=t.getSouthWest(),a=t.getNorthEast();return a.lat>e.lat&&i.lat<n.lat&&a.lng>e.lng&&i.lng<n.lng},toBBoxString:function(){return[this.getWest(),this.getSouth(),this.getEast(),this.getNorth()].join(",")},equals:function(t,e){return!!t&&(t=Y(t),this._southWest.equals(t.getSouthWest(),e)&&this._northEast.equals(t.getNorthEast(),e))},isValid:function(){return!(!this._southWest||!this._northEast)}},H.prototype={equals:function(t,e){return!!t&&(t=j(t),Math.max(Math.abs(this.lat-t.lat),Math.abs(this.lng-t.lng))<=(void 0===e?1e-9:e))},toString:function(t){return"LatLng("+c(this.lat,t)+", "+c(this.lng,t)+")"},distanceTo:function(t){return V.distance(this,j(t))},wrap:function(){return V.wrapLatLng(this)},toBounds:function(t){var e=180*t/40075017,n=e/Math.cos(Math.PI/180*this.lat);return Y([this.lat-e,this.lng-n],[this.lat+e,this.lng+n])},clone:function(){return new H(this.lat,this.lng,this.alt)}};var F,z={latLngToPoint:function(t,e){var n=this.projection.project(t),i=this.scale(e);return this.transformation._transform(n,i)},pointToLatLng:function(t,e){var n=this.scale(e),i=this.transformation.untransform(t,n);return this.projection.unproject(i)},project:function(t){return this.projection.project(t)},unproject:function(t){return this.projection.unproject(t)},scale:function(t){return 256*Math.pow(2,t)},zoom:function(t){return Math.log(t/256)/Math.LN2},getProjectedBounds:function(t){if(this.infinite)return null;var e=this.projection.bounds,n=this.scale(t);return new I(this.transformation.transform(e.min,n),this.transformation.transform(e.max,n))},infinite:!1,wrapLatLng:function(t){var e=this.wrapLng?s(t.lng,this.wrapLng,!0):t.lng;return new H(this.wrapLat?s(t.lat,this.wrapLat,!0):t.lat,e,t.alt)},wrapLatLngBounds:function(t){var e=t.getCenter(),n=this.wrapLatLng(e),i=e.lat-n.lat,a=e.lng-n.lng;if(0===i&&0===a)return t;var r=t.getSouthWest(),o=t.getNorthEast();return new N(new H(r.lat-i,r.lng-a),new H(o.lat-i,o.lng-a))}},V=e({},z,{wrapLng:[-180,180],R:6371e3,distance:function(t,e){var n=Math.PI/180,i=t.lat*n,a=e.lat*n,r=Math.sin((e.lat-t.lat)*n/2),o=Math.sin((e.lng-t.lng)*n/2),s=r*r+Math.cos(i)*Math.cos(a)*o*o,l=2*Math.atan2(Math.sqrt(s),Math.sqrt(1-s));return this.R*l}}),B={R:6378137,MAX_LATITUDE:85.0511287798,project:function(t){var e=Math.PI/180,n=this.MAX_LATITUDE,i=Math.max(Math.min(n,t.lat),-n),a=Math.sin(i*e);return new D(this.R*t.lng*e,this.R*Math.log((1+a)/(1-a))/2)},unproject:function(t){var e=180/Math.PI;return new H((2*Math.atan(Math.exp(t.y/this.R))-Math.PI/2)*e,t.x*e/this.R)},bounds:(F=6378137*Math.PI,new I([-F,-F],[F,F]))};function W(t,e,n,i){if(g(t))return this._a=t[0],this._b=t[1],this._c=t[2],void(this._d=t[3]);this._a=t,this._b=e,this._c=n,this._d=i}function U(t,e,n,i){return new W(t,e,n,i)}W.prototype={transform:function(t,e){return this._transform(t.clone(),e)},_transform:function(t,e){return t.x=(e=e||1)*(this._a*t.x+this._b),t.y=e*(this._c*t.y+this._d),t},untransform:function(t,e){return new D((t.x/(e=e||1)-this._b)/this._a,(t.y/e-this._d)/this._c)}};var q,G=e({},V,{code:"EPSG:3857",projection:B,transformation:(q=.5/(Math.PI*B.R),U(q,.5,-q,.5))}),J=e({},G,{code:"EPSG:900913"});function Z(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function $(t,e){var n,i,a,r,o,s,l="";for(n=0,a=t.length;n<a;n++){for(i=0,r=(o=t[n]).length;i<r;i++)l+=(i?"L":"M")+(s=o[i]).x+" "+s.y;l+=e?Tt?"z":"x":""}return l||"M0 0"}var X=document.documentElement.style,K="ActiveXObject"in window,Q=K&&!document.addEventListener,tt="msLaunchUri"in navigator&&!("documentMode"in document),et=Lt("webkit"),nt=Lt("android"),it=Lt("android 2")||Lt("android 3"),at=parseInt(/WebKit\/([0-9]+)|$/.exec(navigator.userAgent)[1],10),rt=nt&&Lt("Google")&&at<537&&!("AudioNode"in window),ot=!!window.opera,st=!tt&&Lt("chrome"),lt=Lt("gecko")&&!et&&!ot&&!K,ct=!st&&Lt("safari"),dt=Lt("phantom"),ut="OTransition"in X,ht=0===navigator.platform.indexOf("Win"),mt=K&&"transition"in X,pt="WebKitCSSMatrix"in window&&"m11"in new window.WebKitCSSMatrix&&!it,ft="MozPerspective"in X,gt=!window.L_DISABLE_3D&&(mt||pt||ft)&&!ut&&!dt,bt="undefined"!=typeof orientation||Lt("mobile"),_t=bt&&et,yt=bt&&pt,vt=!window.PointerEvent&&window.MSPointerEvent,Ct=!(!window.PointerEvent&&!vt),wt=!window.L_NO_TOUCH&&(Ct||"ontouchstart"in window||window.DocumentTouch&&document instanceof window.DocumentTouch),xt=bt&&ot,Mt=bt&&lt,Ot=(window.devicePixelRatio||window.screen.deviceXDPI/window.screen.logicalXDPI)>1,kt=function(){var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("testPassiveEventSupport",l,e),window.removeEventListener("testPassiveEventSupport",l,e)}catch(n){}return t}(),St=!!document.createElement("canvas").getContext,Tt=!(!document.createElementNS||!Z("svg").createSVGRect),Pt=!Tt&&function(){try{var t=document.createElement("div");t.innerHTML='<v:shape adj="1"/>';var e=t.firstChild;return e.style.behavior="url(#default#VML)",e&&"object"==typeof e.adj}catch(n){return!1}}();function Lt(t){return navigator.userAgent.toLowerCase().indexOf(t)>=0}var Dt={ie:K,ielt9:Q,edge:tt,webkit:et,android:nt,android23:it,androidStock:rt,opera:ot,chrome:st,gecko:lt,safari:ct,phantom:dt,opera12:ut,win:ht,ie3d:mt,webkit3d:pt,gecko3d:ft,any3d:gt,mobile:bt,mobileWebkit:_t,mobileWebkit3d:yt,msPointer:vt,pointer:Ct,touch:wt,mobileOpera:xt,mobileGecko:Mt,retina:Ot,passiveEvents:kt,canvas:St,svg:Tt,vml:Pt},Et=vt?"MSPointerDown":"pointerdown",At=vt?"MSPointerMove":"pointermove",It=vt?"MSPointerUp":"pointerup",Rt=vt?"MSPointerCancel":"pointercancel",Nt={},Yt=!1;function Ht(t){Nt[t.pointerId]=t}function jt(t){Nt[t.pointerId]&&(Nt[t.pointerId]=t)}function Ft(t){delete Nt[t.pointerId]}function zt(t,e){for(var n in t.touches=[],Nt)t.touches.push(Nt[n]);t.changedTouches=[t],e(t)}var Vt,Bt,Wt,Ut,qt,Gt=vt?"MSPointerDown":Ct?"pointerdown":"touchstart",Jt=vt?"MSPointerUp":Ct?"pointerup":"touchend",Zt="_leaflet_",$t=he(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),Xt=he(["webkitTransition","transition","OTransition","MozTransition","msTransition"]),Kt="webkitTransition"===Xt||"OTransition"===Xt?Xt+"End":"transitionend";function Qt(t){return"string"==typeof t?document.getElementById(t):t}function te(t,e){var n=t.style[e]||t.currentStyle&&t.currentStyle[e];if((!n||"auto"===n)&&document.defaultView){var i=document.defaultView.getComputedStyle(t,null);n=i?i[e]:null}return"auto"===n?null:n}function ee(t,e,n){var i=document.createElement(t);return i.className=e||"",n&&n.appendChild(i),i}function ne(t){var e=t.parentNode;e&&e.removeChild(t)}function ie(t){for(;t.firstChild;)t.removeChild(t.firstChild)}function ae(t){var e=t.parentNode;e&&e.lastChild!==t&&e.appendChild(t)}function re(t){var e=t.parentNode;e&&e.firstChild!==t&&e.insertBefore(t,e.firstChild)}function oe(t,e){if(void 0!==t.classList)return t.classList.contains(e);var n=de(t);return n.length>0&&new RegExp("(^|\\s)"+e+"(\\s|$)").test(n)}function se(t,e){if(void 0!==t.classList)for(var n=u(e),i=0,a=n.length;i<a;i++)t.classList.add(n[i]);else if(!oe(t,e)){var r=de(t);ce(t,(r?r+" ":"")+e)}}function le(t,e){void 0!==t.classList?t.classList.remove(e):ce(t,d((" "+de(t)+" ").replace(" "+e+" "," ")))}function ce(t,e){void 0===t.className.baseVal?t.className=e:t.className.baseVal=e}function de(t){return t.correspondingElement&&(t=t.correspondingElement),void 0===t.className.baseVal?t.className:t.className.baseVal}function ue(t,e){"opacity"in t.style?t.style.opacity=e:"filter"in t.style&&function(t,e){var n=!1,i="DXImageTransform.Microsoft.Alpha";try{n=t.filters.item(i)}catch(a){if(1===e)return}e=Math.round(100*e),n?(n.Enabled=100!==e,n.Opacity=e):t.style.filter+=" progid:"+i+"(opacity="+e+")"}(t,e)}function he(t){for(var e=document.documentElement.style,n=0;n<t.length;n++)if(t[n]in e)return t[n];return!1}function me(t,e,n){var i=e||new D(0,0);t.style[$t]=(mt?"translate("+i.x+"px,"+i.y+"px)":"translate3d("+i.x+"px,"+i.y+"px,0)")+(n?" scale("+n+")":"")}function pe(t,e){t._leaflet_pos=e,gt?me(t,e):(t.style.left=e.x+"px",t.style.top=e.y+"px")}function fe(t){return t._leaflet_pos||new D(0,0)}if("onselectstart"in document)Vt=function(){Me(window,"selectstart",Ie)},Bt=function(){ke(window,"selectstart",Ie)};else{var ge=he(["userSelect","WebkitUserSelect","OUserSelect","MozUserSelect","msUserSelect"]);Vt=function(){if(ge){var t=document.documentElement.style;Wt=t[ge],t[ge]="none"}},Bt=function(){ge&&(document.documentElement.style[ge]=Wt,Wt=void 0)}}function be(){Me(window,"dragstart",Ie)}function _e(){ke(window,"dragstart",Ie)}function ye(t){for(;-1===t.tabIndex;)t=t.parentNode;t.style&&(ve(),Ut=t,qt=t.style.outline,t.style.outline="none",Me(window,"keydown",ve))}function ve(){Ut&&(Ut.style.outline=qt,Ut=void 0,qt=void 0,ke(window,"keydown",ve))}function Ce(t){do{t=t.parentNode}while(!(t.offsetWidth&&t.offsetHeight||t===document.body));return t}function we(t){var e=t.getBoundingClientRect();return{x:e.width/t.offsetWidth||1,y:e.height/t.offsetHeight||1,boundingClientRect:e}}var xe={TRANSFORM:$t,TRANSITION:Xt,TRANSITION_END:Kt,get:Qt,getStyle:te,create:ee,remove:ne,empty:ie,toFront:ae,toBack:re,hasClass:oe,addClass:se,removeClass:le,setClass:ce,getClass:de,setOpacity:ue,testProp:he,setTransform:me,setPosition:pe,getPosition:fe,disableTextSelection:Vt,enableTextSelection:Bt,disableImageDrag:be,enableImageDrag:_e,preventOutline:ye,restoreOutline:ve,getSizedParentNode:Ce,getScale:we};function Me(t,e,n,i){if("object"==typeof e)for(var a in e)Pe(t,a,e[a],n);else for(var r=0,o=(e=u(e)).length;r<o;r++)Pe(t,e[r],n,i);return this}var Oe="_leaflet_events";function ke(t,e,n,i){if("object"==typeof e)for(var a in e)Le(t,a,e[a],n);else if(e)for(var r=0,o=(e=u(e)).length;r<o;r++)Le(t,e[r],n,i);else{for(var s in t[Oe])Le(t,s,t[Oe][s]);delete t[Oe]}return this}function Se(){if(Ct)return!(tt||ct)}var Te={mouseenter:"mouseover",mouseleave:"mouseout",wheel:!("onwheel"in window)&&"mousewheel"};function Pe(t,e,n,a){var o=e+r(n)+(a?"_"+r(a):"");if(t[Oe]&&t[Oe][o])return this;var s=function(e){return n.call(a||t,e||window.event)},l=s;Ct&&0===e.indexOf("touch")?function(t,e,n,a){"touchstart"===e?function(t,e,n){var a=i(function(t){t.MSPOINTER_TYPE_TOUCH&&t.pointerType===t.MSPOINTER_TYPE_TOUCH&&Ie(t),zt(t,e)});t["_leaflet_touchstart"+n]=a,t.addEventListener(Et,a,!1),Yt||(document.addEventListener(Et,Ht,!0),document.addEventListener(At,jt,!0),document.addEventListener(It,Ft,!0),document.addEventListener(Rt,Ft,!0),Yt=!0)}(t,n,a):"touchmove"===e?function(t,e,n){var i=function(t){t.pointerType===(t.MSPOINTER_TYPE_MOUSE||"mouse")&&0===t.buttons||zt(t,e)};t["_leaflet_touchmove"+n]=i,t.addEventListener(At,i,!1)}(t,n,a):"touchend"===e&&function(t,e,n){var i=function(t){zt(t,e)};t["_leaflet_touchend"+n]=i,t.addEventListener(It,i,!1),t.addEventListener(Rt,i,!1)}(t,n,a)}(t,e,s,o):wt&&"dblclick"===e&&!Se()?function(t,e,n){var i,a,r=!1;function o(t){if(Ct){if(!t.isPrimary)return;if("mouse"===t.pointerType)return}else if(t.touches.length>1)return;var e=Date.now(),n=e-(i||e);a=t.touches?t.touches[0]:t,r=n>0&&n<=250,i=e}function s(t){if(r&&!a.cancelBubble){if(Ct){if("mouse"===t.pointerType)return;var n,o,s={};for(o in a)s[o]=(n=a[o])&&n.bind?n.bind(a):n;a=s}a.type="dblclick",a.button=0,e(a),i=null}}t[Zt+Gt+n]=o,t[Zt+Jt+n]=s,t[Zt+"dblclick"+n]=e,t.addEventListener(Gt,o,!!kt&&{passive:!1}),t.addEventListener(Jt,s,!!kt&&{passive:!1}),t.addEventListener("dblclick",e,!1)}(t,s,o):"addEventListener"in t?"touchstart"===e||"touchmove"===e||"wheel"===e||"mousewheel"===e?t.addEventListener(Te[e]||e,s,!!kt&&{passive:!1}):"mouseenter"===e||"mouseleave"===e?t.addEventListener(Te[e],s=function(e){e=e||window.event,Ve(t,e)&&l(e)},!1):t.addEventListener(e,l,!1):"attachEvent"in t&&t.attachEvent("on"+e,s),t[Oe]=t[Oe]||{},t[Oe][o]=s}function Le(t,e,n,i){var a=e+r(n)+(i?"_"+r(i):""),o=t[Oe]&&t[Oe][a];if(!o)return this;Ct&&0===e.indexOf("touch")?function(t,e,n){var i=t["_leaflet_"+e+n];"touchstart"===e?t.removeEventListener(Et,i,!1):"touchmove"===e?t.removeEventListener(At,i,!1):"touchend"===e&&(t.removeEventListener(It,i,!1),t.removeEventListener(Rt,i,!1))}(t,e,a):wt&&"dblclick"===e&&!Se()?function(t,e){var n=t[Zt+Jt+e],i=t[Zt+"dblclick"+e];t.removeEventListener(Gt,t[Zt+Gt+e],!!kt&&{passive:!1}),t.removeEventListener(Jt,n,!!kt&&{passive:!1}),t.removeEventListener("dblclick",i,!1)}(t,a):"removeEventListener"in t?t.removeEventListener(Te[e]||e,o,!1):"detachEvent"in t&&t.detachEvent("on"+e,o),t[Oe][a]=null}function De(t){return t.stopPropagation?t.stopPropagation():t.originalEvent?t.originalEvent._stopped=!0:t.cancelBubble=!0,ze(t),this}function Ee(t){return Pe(t,"wheel",De),this}function Ae(t){return Me(t,"mousedown touchstart dblclick",De),Pe(t,"click",Fe),this}function Ie(t){return t.preventDefault?t.preventDefault():t.returnValue=!1,this}function Re(t){return Ie(t),De(t),this}function Ne(t,e){if(!e)return new D(t.clientX,t.clientY);var n=we(e),i=n.boundingClientRect;return new D((t.clientX-i.left)/n.x-e.clientLeft,(t.clientY-i.top)/n.y-e.clientTop)}var Ye=ht&&st?2*window.devicePixelRatio:lt?window.devicePixelRatio:1;function He(t){return tt?t.wheelDeltaY/2:t.deltaY&&0===t.deltaMode?-t.deltaY/Ye:t.deltaY&&1===t.deltaMode?20*-t.deltaY:t.deltaY&&2===t.deltaMode?60*-t.deltaY:t.deltaX||t.deltaZ?0:t.wheelDelta?(t.wheelDeltaY||t.wheelDelta)/2:t.detail&&Math.abs(t.detail)<32765?20*-t.detail:t.detail?t.detail/-32765*60:0}var je={};function Fe(t){je[t.type]=!0}function ze(t){var e=je[t.type];return je[t.type]=!1,e}function Ve(t,e){var n=e.relatedTarget;if(!n)return!0;try{for(;n&&n!==t;)n=n.parentNode}catch(i){return!1}return n!==t}var Be={on:Me,off:ke,stopPropagation:De,disableScrollPropagation:Ee,disableClickPropagation:Ae,preventDefault:Ie,stop:Re,getMousePosition:Ne,getWheelDelta:He,fakeStop:Fe,skipped:ze,isExternalTarget:Ve,addListener:Me,removeListener:ke},We=P.extend({run:function(t,e,n,i){this.stop(),this._el=t,this._inProgress=!0,this._duration=n||.25,this._easeOutPower=1/Math.max(i||.5,.2),this._startPos=fe(t),this._offset=e.subtract(this._startPos),this._startTime=+new Date,this.fire("start"),this._animate()},stop:function(){this._inProgress&&(this._step(!0),this._complete())},_animate:function(){this._animId=M(this._animate,this),this._step()},_step:function(t){var e=+new Date-this._startTime,n=1e3*this._duration;e<n?this._runFrame(this._easeOut(e/n),t):(this._runFrame(1),this._complete())},_runFrame:function(t,e){var n=this._startPos.add(this._offset.multiplyBy(t));e&&n._round(),pe(this._el,n),this.fire("step")},_complete:function(){O(this._animId),this._inProgress=!1,this.fire("end")},_easeOut:function(t){return 1-Math.pow(1-t,this._easeOutPower)}}),Ue=P.extend({options:{crs:G,center:void 0,zoom:void 0,minZoom:void 0,maxZoom:void 0,layers:[],maxBounds:void 0,renderer:void 0,zoomAnimation:!0,zoomAnimationThreshold:4,fadeAnimation:!0,markerZoomAnimation:!0,transform3DLimit:8388608,zoomSnap:1,zoomDelta:1,trackResize:!0},initialize:function(t,e){e=h(this,e),this._handlers=[],this._layers={},this._zoomBoundLayers={},this._sizeChanged=!0,this._initContainer(t),this._initLayout(),this._onResize=i(this._onResize,this),this._initEvents(),e.maxBounds&&this.setMaxBounds(e.maxBounds),void 0!==e.zoom&&(this._zoom=this._limitZoom(e.zoom)),e.center&&void 0!==e.zoom&&this.setView(j(e.center),e.zoom,{reset:!0}),this.callInitHooks(),this._zoomAnimated=Xt&&gt&&!xt&&this.options.zoomAnimation,this._zoomAnimated&&(this._createAnimProxy(),Me(this._proxy,Kt,this._catchTransitionEnd,this)),this._addLayers(this.options.layers)},setView:function(t,n,i){return n=void 0===n?this._zoom:this._limitZoom(n),t=this._limitCenter(j(t),n,this.options.maxBounds),i=i||{},this._stop(),this._loaded&&!i.reset&&!0!==i&&(void 0!==i.animate&&(i.zoom=e({animate:i.animate},i.zoom),i.pan=e({animate:i.animate,duration:i.duration},i.pan)),this._zoom!==n?this._tryAnimatedZoom&&this._tryAnimatedZoom(t,n,i.zoom):this._tryAnimatedPan(t,i.pan))?(clearTimeout(this._sizeTimer),this):(this._resetView(t,n),this)},setZoom:function(t,e){return this._loaded?this.setView(this.getCenter(),t,{zoom:e}):(this._zoom=t,this)},zoomIn:function(t,e){return this.setZoom(this._zoom+(t=t||(gt?this.options.zoomDelta:1)),e)},zoomOut:function(t,e){return this.setZoom(this._zoom-(t=t||(gt?this.options.zoomDelta:1)),e)},setZoomAround:function(t,e,n){var i=this.getZoomScale(e),a=this.getSize().divideBy(2),r=(t instanceof D?t:this.latLngToContainerPoint(t)).subtract(a).multiplyBy(1-1/i),o=this.containerPointToLatLng(a.add(r));return this.setView(o,e,{zoom:n})},_getBoundsCenterZoom:function(t,e){e=e||{},t=t.getBounds?t.getBounds():Y(t);var n=A(e.paddingTopLeft||e.padding||[0,0]),i=A(e.paddingBottomRight||e.padding||[0,0]),a=this.getBoundsZoom(t,!1,n.add(i));if((a="number"==typeof e.maxZoom?Math.min(e.maxZoom,a):a)===1/0)return{center:t.getCenter(),zoom:a};var r=i.subtract(n).divideBy(2),o=this.project(t.getSouthWest(),a),s=this.project(t.getNorthEast(),a);return{center:this.unproject(o.add(s).divideBy(2).add(r),a),zoom:a}},fitBounds:function(t,e){if(!(t=Y(t)).isValid())throw new Error("Bounds are not valid.");var n=this._getBoundsCenterZoom(t,e);return this.setView(n.center,n.zoom,e)},fitWorld:function(t){return this.fitBounds([[-90,-180],[90,180]],t)},panTo:function(t,e){return this.setView(t,this._zoom,{pan:e})},panBy:function(t,e){if(e=e||{},!(t=A(t).round()).x&&!t.y)return this.fire("moveend");if(!0!==e.animate&&!this.getSize().contains(t))return this._resetView(this.unproject(this.project(this.getCenter()).add(t)),this.getZoom()),this;if(this._panAnim||(this._panAnim=new We,this._panAnim.on({step:this._onPanTransitionStep,end:this._onPanTransitionEnd},this)),e.noMoveStart||this.fire("movestart"),!1!==e.animate){se(this._mapPane,"leaflet-pan-anim");var n=this._getMapPanePos().subtract(t).round();this._panAnim.run(this._mapPane,n,e.duration||.25,e.easeLinearity)}else this._rawPanBy(t),this.fire("move").fire("moveend");return this},flyTo:function(t,e,n){if(!1===(n=n||{}).animate||!gt)return this.setView(t,e,n);this._stop();var i=this.project(this.getCenter()),a=this.project(t),r=this.getSize(),o=this._zoom;t=j(t),e=void 0===e?o:e;var s=Math.max(r.x,r.y),l=s*this.getZoomScale(o,e),c=a.distanceTo(i)||1;function d(t){var e=(l*l-s*s+2.0164*(t?-1:1)*2.0164*c*c)/(2*(t?l:s)*2.0164*c),n=Math.sqrt(e*e+1)-e;return n<1e-9?-18:Math.log(n)}function u(t){return(Math.exp(t)-Math.exp(-t))/2}function h(t){return(Math.exp(t)+Math.exp(-t))/2}var m=d(0);var p=Date.now(),f=(d(1)-m)/1.42,g=n.duration?1e3*n.duration:1e3*f*.8;return this._moveStart(!0,n.noMoveStart),(function n(){var r=(Date.now()-p)/g,l=function(t){return 1-Math.pow(1-t,1.5)}(r)*f;r<=1?(this._flyToFrame=M(n,this),this._move(this.unproject(i.add(a.subtract(i).multiplyBy(function(t){return s*(h(m)*(u(e=m+1.42*t)/h(e))-u(m))/2.0164;var e}(l)/c)),o),this.getScaleZoom(s/function(t){return s*(h(m)/h(m+1.42*t))}(l),o),{flyTo:!0})):this._move(t,e)._moveEnd(!0)}).call(this),this},flyToBounds:function(t,e){var n=this._getBoundsCenterZoom(t,e);return this.flyTo(n.center,n.zoom,e)},setMaxBounds:function(t){return(t=Y(t)).isValid()?(this.options.maxBounds&&this.off("moveend",this._panInsideMaxBounds),this.options.maxBounds=t,this._loaded&&this._panInsideMaxBounds(),this.on("moveend",this._panInsideMaxBounds)):(this.options.maxBounds=null,this.off("moveend",this._panInsideMaxBounds))},setMinZoom:function(t){var e=this.options.minZoom;return this.options.minZoom=t,this._loaded&&e!==t&&(this.fire("zoomlevelschange"),this.getZoom()<this.options.minZoom)?this.setZoom(t):this},setMaxZoom:function(t){var e=this.options.maxZoom;return this.options.maxZoom=t,this._loaded&&e!==t&&(this.fire("zoomlevelschange"),this.getZoom()>this.options.maxZoom)?this.setZoom(t):this},panInsideBounds:function(t,e){this._enforcingBounds=!0;var n=this.getCenter(),i=this._limitCenter(n,this._zoom,Y(t));return n.equals(i)||this.panTo(i,e),this._enforcingBounds=!1,this},panInside:function(t,e){var n=A((e=e||{}).paddingTopLeft||e.padding||[0,0]),i=A(e.paddingBottomRight||e.padding||[0,0]),a=this.getCenter(),r=this.project(a),o=this.project(t),s=this.getPixelBounds(),l=s.getSize().divideBy(2),c=R([s.min.add(n),s.max.subtract(i)]);if(!c.contains(o)){this._enforcingBounds=!0;var d=r.subtract(o),u=A(o.x+d.x,o.y+d.y);(o.x<c.min.x||o.x>c.max.x)&&(u.x=r.x-d.x,d.x>0?u.x+=l.x-n.x:u.x-=l.x-i.x),(o.y<c.min.y||o.y>c.max.y)&&(u.y=r.y-d.y,d.y>0?u.y+=l.y-n.y:u.y-=l.y-i.y),this.panTo(this.unproject(u),e),this._enforcingBounds=!1}return this},invalidateSize:function(t){if(!this._loaded)return this;t=e({animate:!1,pan:!0},!0===t?{animate:!0}:t);var n=this.getSize();this._sizeChanged=!0,this._lastCenter=null;var a=this.getSize(),r=n.divideBy(2).round(),o=a.divideBy(2).round(),s=r.subtract(o);return s.x||s.y?(t.animate&&t.pan?this.panBy(s):(t.pan&&this._rawPanBy(s),this.fire("move"),t.debounceMoveend?(clearTimeout(this._sizeTimer),this._sizeTimer=setTimeout(i(this.fire,this,"moveend"),200)):this.fire("moveend")),this.fire("resize",{oldSize:n,newSize:a})):this},stop:function(){return this.setZoom(this._limitZoom(this._zoom)),this.options.zoomSnap||this.fire("viewreset"),this._stop()},locate:function(t){if(t=this._locateOptions=e({timeout:1e4,watch:!1},t),!("geolocation"in navigator))return this._handleGeolocationError({code:0,message:"Geolocation not supported."}),this;var n=i(this._handleGeolocationResponse,this),a=i(this._handleGeolocationError,this);return t.watch?this._locationWatchId=navigator.geolocation.watchPosition(n,a,t):navigator.geolocation.getCurrentPosition(n,a,t),this},stopLocate:function(){return navigator.geolocation&&navigator.geolocation.clearWatch&&navigator.geolocation.clearWatch(this._locationWatchId),this._locateOptions&&(this._locateOptions.setView=!1),this},_handleGeolocationError:function(t){var e=t.code,n=t.message||(1===e?"permission denied":2===e?"position unavailable":"timeout");this._locateOptions.setView&&!this._loaded&&this.fitWorld(),this.fire("locationerror",{code:e,message:"Geolocation error: "+n+"."})},_handleGeolocationResponse:function(t){var e=new H(t.coords.latitude,t.coords.longitude),n=e.toBounds(2*t.coords.accuracy),i=this._locateOptions;if(i.setView){var a=this.getBoundsZoom(n);this.setView(e,i.maxZoom?Math.min(a,i.maxZoom):a)}var r={latlng:e,bounds:n,timestamp:t.timestamp};for(var o in t.coords)"number"==typeof t.coords[o]&&(r[o]=t.coords[o]);this.fire("locationfound",r)},addHandler:function(t,e){if(!e)return this;var n=this[t]=new e(this);return this._handlers.push(n),this.options[t]&&n.enable(),this},remove:function(){if(this._initEvents(!0),this.off("moveend",this._panInsideMaxBounds),this._containerId!==this._container._leaflet_id)throw new Error("Map container is being reused by another instance");try{delete this._container._leaflet_id,delete this._containerId}catch(e){this._container._leaflet_id=void 0,this._containerId=void 0}var t;for(t in void 0!==this._locationWatchId&&this.stopLocate(),this._stop(),ne(this._mapPane),this._clearControlPos&&this._clearControlPos(),this._resizeRequest&&(O(this._resizeRequest),this._resizeRequest=null),this._clearHandlers(),this._loaded&&this.fire("unload"),this._layers)this._layers[t].remove();for(t in this._panes)ne(this._panes[t]);return this._layers=[],this._panes=[],delete this._mapPane,delete this._renderer,this},createPane:function(t,e){var n=ee("div","leaflet-pane"+(t?" leaflet-"+t.replace("Pane","")+"-pane":""),e||this._mapPane);return t&&(this._panes[t]=n),n},getCenter:function(){return this._checkIfLoaded(),this._lastCenter&&!this._moved()?this._lastCenter:this.layerPointToLatLng(this._getCenterLayerPoint())},getZoom:function(){return this._zoom},getBounds:function(){var t=this.getPixelBounds();return new N(this.unproject(t.getBottomLeft()),this.unproject(t.getTopRight()))},getMinZoom:function(){return void 0===this.options.minZoom?this._layersMinZoom||0:this.options.minZoom},getMaxZoom:function(){return void 0===this.options.maxZoom?void 0===this._layersMaxZoom?1/0:this._layersMaxZoom:this.options.maxZoom},getBoundsZoom:function(t,e,n){t=Y(t),n=A(n||[0,0]);var i=this.getZoom()||0,a=this.getMinZoom(),r=this.getMaxZoom(),o=t.getNorthWest(),s=t.getSouthEast(),l=this.getSize().subtract(n),c=R(this.project(s,i),this.project(o,i)).getSize(),d=gt?this.options.zoomSnap:1,u=l.x/c.x,h=l.y/c.y,m=e?Math.max(u,h):Math.min(u,h);return i=this.getScaleZoom(m,i),d&&(i=Math.round(i/(d/100))*(d/100),i=e?Math.ceil(i/d)*d:Math.floor(i/d)*d),Math.max(a,Math.min(r,i))},getSize:function(){return this._size&&!this._sizeChanged||(this._size=new D(this._container.clientWidth||0,this._container.clientHeight||0),this._sizeChanged=!1),this._size.clone()},getPixelBounds:function(t,e){var n=this._getTopLeftPoint(t,e);return new I(n,n.add(this.getSize()))},getPixelOrigin:function(){return this._checkIfLoaded(),this._pixelOrigin},getPixelWorldBounds:function(t){return this.options.crs.getProjectedBounds(void 0===t?this.getZoom():t)},getPane:function(t){return"string"==typeof t?this._panes[t]:t},getPanes:function(){return this._panes},getContainer:function(){return this._container},getZoomScale:function(t,e){var n=this.options.crs;return e=void 0===e?this._zoom:e,n.scale(t)/n.scale(e)},getScaleZoom:function(t,e){var n=this.options.crs,i=n.zoom(t*n.scale(e=void 0===e?this._zoom:e));return isNaN(i)?1/0:i},project:function(t,e){return e=void 0===e?this._zoom:e,this.options.crs.latLngToPoint(j(t),e)},unproject:function(t,e){return e=void 0===e?this._zoom:e,this.options.crs.pointToLatLng(A(t),e)},layerPointToLatLng:function(t){var e=A(t).add(this.getPixelOrigin());return this.unproject(e)},latLngToLayerPoint:function(t){return this.project(j(t))._round()._subtract(this.getPixelOrigin())},wrapLatLng:function(t){return this.options.crs.wrapLatLng(j(t))},wrapLatLngBounds:function(t){return this.options.crs.wrapLatLngBounds(Y(t))},distance:function(t,e){return this.options.crs.distance(j(t),j(e))},containerPointToLayerPoint:function(t){return A(t).subtract(this._getMapPanePos())},layerPointToContainerPoint:function(t){return A(t).add(this._getMapPanePos())},containerPointToLatLng:function(t){var e=this.containerPointToLayerPoint(A(t));return this.layerPointToLatLng(e)},latLngToContainerPoint:function(t){return this.layerPointToContainerPoint(this.latLngToLayerPoint(j(t)))},mouseEventToContainerPoint:function(t){return Ne(t,this._container)},mouseEventToLayerPoint:function(t){return this.containerPointToLayerPoint(this.mouseEventToContainerPoint(t))},mouseEventToLatLng:function(t){return this.layerPointToLatLng(this.mouseEventToLayerPoint(t))},_initContainer:function(t){var e=this._container=Qt(t);if(!e)throw new Error("Map container not found.");if(e._leaflet_id)throw new Error("Map container is already initialized.");Me(e,"scroll",this._onScroll,this),this._containerId=r(e)},_initLayout:function(){var t=this._container;this._fadeAnimated=this.options.fadeAnimation&&gt,se(t,"leaflet-container"+(wt?" leaflet-touch":"")+(Ot?" leaflet-retina":"")+(Q?" leaflet-oldie":"")+(ct?" leaflet-safari":"")+(this._fadeAnimated?" leaflet-fade-anim":""));var e=te(t,"position");"absolute"!==e&&"relative"!==e&&"fixed"!==e&&(t.style.position="relative"),this._initPanes(),this._initControlPos&&this._initControlPos()},_initPanes:function(){var t=this._panes={};this._paneRenderers={},this._mapPane=this.createPane("mapPane",this._container),pe(this._mapPane,new D(0,0)),this.createPane("tilePane"),this.createPane("shadowPane"),this.createPane("overlayPane"),this.createPane("markerPane"),this.createPane("tooltipPane"),this.createPane("popupPane"),this.options.markerZoomAnimation||(se(t.markerPane,"leaflet-zoom-hide"),se(t.shadowPane,"leaflet-zoom-hide"))},_resetView:function(t,e){pe(this._mapPane,new D(0,0));var n=!this._loaded;this._loaded=!0,e=this._limitZoom(e),this.fire("viewprereset");var i=this._zoom!==e;this._moveStart(i,!1)._move(t,e)._moveEnd(i),this.fire("viewreset"),n&&this.fire("load")},_moveStart:function(t,e){return t&&this.fire("zoomstart"),e||this.fire("movestart"),this},_move:function(t,e,n){void 0===e&&(e=this._zoom);var i=this._zoom!==e;return this._zoom=e,this._lastCenter=t,this._pixelOrigin=this._getNewPixelOrigin(t),(i||n&&n.pinch)&&this.fire("zoom",n),this.fire("move",n)},_moveEnd:function(t){return t&&this.fire("zoomend"),this.fire("moveend")},_stop:function(){return O(this._flyToFrame),this._panAnim&&this._panAnim.stop(),this},_rawPanBy:function(t){pe(this._mapPane,this._getMapPanePos().subtract(t))},_getZoomSpan:function(){return this.getMaxZoom()-this.getMinZoom()},_panInsideMaxBounds:function(){this._enforcingBounds||this.panInsideBounds(this.options.maxBounds)},_checkIfLoaded:function(){if(!this._loaded)throw new Error("Set map center and zoom first.")},_initEvents:function(t){this._targets={},this._targets[r(this._container)]=this;var e=t?ke:Me;e(this._container,"click dblclick mousedown mouseup mouseover mouseout mousemove contextmenu keypress keydown keyup",this._handleDOMEvent,this),this.options.trackResize&&e(window,"resize",this._onResize,this),gt&&this.options.transform3DLimit&&(t?this.off:this.on).call(this,"moveend",this._onMoveEnd)},_onResize:function(){O(this._resizeRequest),this._resizeRequest=M(function(){this.invalidateSize({debounceMoveend:!0})},this)},_onScroll:function(){this._container.scrollTop=0,this._container.scrollLeft=0},_onMoveEnd:function(){var t=this._getMapPanePos();Math.max(Math.abs(t.x),Math.abs(t.y))>=this.options.transform3DLimit&&this._resetView(this.getCenter(),this.getZoom())},_findEventTargets:function(t,e){for(var n,i=[],a="mouseout"===e||"mouseover"===e,o=t.target||t.srcElement,s=!1;o;){if((n=this._targets[r(o)])&&("click"===e||"preclick"===e)&&!t._simulated&&this._draggableMoved(n)){s=!0;break}if(n&&n.listens(e,!0)){if(a&&!Ve(o,t))break;if(i.push(n),a)break}if(o===this._container)break;o=o.parentNode}return i.length||s||a||!Ve(o,t)||(i=[this]),i},_handleDOMEvent:function(t){if(this._loaded&&!ze(t)){var e=t.type;"mousedown"!==e&&"keypress"!==e&&"keyup"!==e&&"keydown"!==e||ye(t.target||t.srcElement),this._fireDOMEvent(t,e)}},_mouseEvents:["click","dblclick","mouseover","mouseout","contextmenu"],_fireDOMEvent:function(t,n,i){if("click"===t.type){var a=e({},t);a.type="preclick",this._fireDOMEvent(a,a.type,i)}if(!t._stopped&&(i=(i||[]).concat(this._findEventTargets(t,n))).length){var r=i[0];"contextmenu"===n&&r.listens(n,!0)&&Ie(t);var o={originalEvent:t};if("keypress"!==t.type&&"keydown"!==t.type&&"keyup"!==t.type){var s=r.getLatLng&&(!r._radius||r._radius<=10);o.containerPoint=s?this.latLngToContainerPoint(r.getLatLng()):this.mouseEventToContainerPoint(t),o.layerPoint=this.containerPointToLayerPoint(o.containerPoint),o.latlng=s?r.getLatLng():this.layerPointToLatLng(o.layerPoint)}for(var l=0;l<i.length;l++)if(i[l].fire(n,o,!0),o.originalEvent._stopped||!1===i[l].options.bubblingMouseEvents&&-1!==b(this._mouseEvents,n))return}},_draggableMoved:function(t){return(t=t.dragging&&t.dragging.enabled()?t:this).dragging&&t.dragging.moved()||this.boxZoom&&this.boxZoom.moved()},_clearHandlers:function(){for(var t=0,e=this._handlers.length;t<e;t++)this._handlers[t].disable()},whenReady:function(t,e){return this._loaded?t.call(e||this,{target:this}):this.on("load",t,e),this},_getMapPanePos:function(){return fe(this._mapPane)||new D(0,0)},_moved:function(){var t=this._getMapPanePos();return t&&!t.equals([0,0])},_getTopLeftPoint:function(t,e){return(t&&void 0!==e?this._getNewPixelOrigin(t,e):this.getPixelOrigin()).subtract(this._getMapPanePos())},_getNewPixelOrigin:function(t,e){var n=this.getSize()._divideBy(2);return this.project(t,e)._subtract(n)._add(this._getMapPanePos())._round()},_latLngToNewLayerPoint:function(t,e,n){var i=this._getNewPixelOrigin(n,e);return this.project(t,e)._subtract(i)},_latLngBoundsToNewLayerBounds:function(t,e,n){var i=this._getNewPixelOrigin(n,e);return R([this.project(t.getSouthWest(),e)._subtract(i),this.project(t.getNorthWest(),e)._subtract(i),this.project(t.getSouthEast(),e)._subtract(i),this.project(t.getNorthEast(),e)._subtract(i)])},_getCenterLayerPoint:function(){return this.containerPointToLayerPoint(this.getSize()._divideBy(2))},_getCenterOffset:function(t){return this.latLngToLayerPoint(t).subtract(this._getCenterLayerPoint())},_limitCenter:function(t,e,n){if(!n)return t;var i=this.project(t,e),a=this.getSize().divideBy(2),r=new I(i.subtract(a),i.add(a)),o=this._getBoundsOffset(r,n,e);return o.round().equals([0,0])?t:this.unproject(i.add(o),e)},_limitOffset:function(t,e){if(!e)return t;var n=this.getPixelBounds(),i=new I(n.min.add(t),n.max.add(t));return t.add(this._getBoundsOffset(i,e))},_getBoundsOffset:function(t,e,n){var i=R(this.project(e.getNorthEast(),n),this.project(e.getSouthWest(),n)),a=i.min.subtract(t.min),r=i.max.subtract(t.max);return new D(this._rebound(a.x,-r.x),this._rebound(a.y,-r.y))},_rebound:function(t,e){return t+e>0?Math.round(t-e)/2:Math.max(0,Math.ceil(t))-Math.max(0,Math.floor(e))},_limitZoom:function(t){var e=this.getMinZoom(),n=this.getMaxZoom(),i=gt?this.options.zoomSnap:1;return i&&(t=Math.round(t/i)*i),Math.max(e,Math.min(n,t))},_onPanTransitionStep:function(){this.fire("move")},_onPanTransitionEnd:function(){le(this._mapPane,"leaflet-pan-anim"),this.fire("moveend")},_tryAnimatedPan:function(t,e){var n=this._getCenterOffset(t)._trunc();return!(!0!==(e&&e.animate)&&!this.getSize().contains(n)||(this.panBy(n,e),0))},_createAnimProxy:function(){var t=this._proxy=ee("div","leaflet-proxy leaflet-zoom-animated");this._panes.mapPane.appendChild(t),this.on("zoomanim",function(t){var e=$t,n=this._proxy.style[e];me(this._proxy,this.project(t.center,t.zoom),this.getZoomScale(t.zoom,1)),n===this._proxy.style[e]&&this._animatingZoom&&this._onZoomTransitionEnd()},this),this.on("load moveend",this._animMoveEnd,this),this._on("unload",this._destroyAnimProxy,this)},_destroyAnimProxy:function(){ne(this._proxy),this.off("load moveend",this._animMoveEnd,this),delete this._proxy},_animMoveEnd:function(){var t=this.getCenter(),e=this.getZoom();me(this._proxy,this.project(t,e),this.getZoomScale(e,1))},_catchTransitionEnd:function(t){this._animatingZoom&&t.propertyName.indexOf("transform")>=0&&this._onZoomTransitionEnd()},_nothingToAnimate:function(){return!this._container.getElementsByClassName("leaflet-zoom-animated").length},_tryAnimatedZoom:function(t,e,n){if(this._animatingZoom)return!0;if(n=n||{},!this._zoomAnimated||!1===n.animate||this._nothingToAnimate()||Math.abs(e-this._zoom)>this.options.zoomAnimationThreshold)return!1;var i=this.getZoomScale(e),a=this._getCenterOffset(t)._divideBy(1-1/i);return!(!0!==n.animate&&!this.getSize().contains(a)||(M(function(){this._moveStart(!0,!1)._animateZoom(t,e,!0)},this),0))},_animateZoom:function(t,e,n,a){this._mapPane&&(n&&(this._animatingZoom=!0,this._animateToCenter=t,this._animateToZoom=e,se(this._mapPane,"leaflet-zoom-anim")),this.fire("zoomanim",{center:t,zoom:e,noUpdate:a}),setTimeout(i(this._onZoomTransitionEnd,this),250))},_onZoomTransitionEnd:function(){this._animatingZoom&&(this._mapPane&&le(this._mapPane,"leaflet-zoom-anim"),this._animatingZoom=!1,this._move(this._animateToCenter,this._animateToZoom),M(function(){this._moveEnd(!0)},this))}}),qe=S.extend({options:{position:"topright"},initialize:function(t){h(this,t)},getPosition:function(){return this.options.position},setPosition:function(t){var e=this._map;return e&&e.removeControl(this),this.options.position=t,e&&e.addControl(this),this},getContainer:function(){return this._container},addTo:function(t){this.remove(),this._map=t;var e=this._container=this.onAdd(t),n=this.getPosition(),i=t._controlCorners[n];return se(e,"leaflet-control"),-1!==n.indexOf("bottom")?i.insertBefore(e,i.firstChild):i.appendChild(e),this._map.on("unload",this.remove,this),this},remove:function(){return this._map?(ne(this._container),this.onRemove&&this.onRemove(this._map),this._map.off("unload",this.remove,this),this._map=null,this):this},_refocusOnMap:function(t){this._map&&t&&t.screenX>0&&t.screenY>0&&this._map.getContainer().focus()}}),Ge=function(t){return new qe(t)};Ue.include({addControl:function(t){return t.addTo(this),this},removeControl:function(t){return t.remove(),this},_initControlPos:function(){var t=this._controlCorners={},e="leaflet-",n=this._controlContainer=ee("div",e+"control-container",this._container);function i(i,a){t[i+a]=ee("div",e+i+" "+e+a,n)}i("top","left"),i("top","right"),i("bottom","left"),i("bottom","right")},_clearControlPos:function(){for(var t in this._controlCorners)ne(this._controlCorners[t]);ne(this._controlContainer),delete this._controlCorners,delete this._controlContainer}});var Je=qe.extend({options:{collapsed:!0,position:"topright",autoZIndex:!0,hideSingleBase:!1,sortLayers:!1,sortFunction:function(t,e,n,i){return n<i?-1:i<n?1:0}},initialize:function(t,e,n){for(var i in h(this,n),this._layerControlInputs=[],this._layers=[],this._lastZIndex=0,this._handlingClick=!1,t)this._addLayer(t[i],i);for(i in e)this._addLayer(e[i],i,!0)},onAdd:function(t){this._initLayout(),this._update(),this._map=t,t.on("zoomend",this._checkDisabledLayers,this);for(var e=0;e<this._layers.length;e++)this._layers[e].layer.on("add remove",this._onLayerChange,this);return this._container},addTo:function(t){return qe.prototype.addTo.call(this,t),this._expandIfNotCollapsed()},onRemove:function(){this._map.off("zoomend",this._checkDisabledLayers,this);for(var t=0;t<this._layers.length;t++)this._layers[t].layer.off("add remove",this._onLayerChange,this)},addBaseLayer:function(t,e){return this._addLayer(t,e),this._map?this._update():this},addOverlay:function(t,e){return this._addLayer(t,e,!0),this._map?this._update():this},removeLayer:function(t){t.off("add remove",this._onLayerChange,this);var e=this._getLayer(r(t));return e&&this._layers.splice(this._layers.indexOf(e),1),this._map?this._update():this},expand:function(){se(this._container,"leaflet-control-layers-expanded"),this._section.style.height=null;var t=this._map.getSize().y-(this._container.offsetTop+50);return t<this._section.clientHeight?(se(this._section,"leaflet-control-layers-scrollbar"),this._section.style.height=t+"px"):le(this._section,"leaflet-control-layers-scrollbar"),this._checkDisabledLayers(),this},collapse:function(){return le(this._container,"leaflet-control-layers-expanded"),this},_initLayout:function(){var t="leaflet-control-layers",e=this._container=ee("div",t),n=this.options.collapsed;e.setAttribute("aria-haspopup",!0),Ae(e),Ee(e);var i=this._section=ee("section",t+"-list");n&&(this._map.on("click",this.collapse,this),nt||Me(e,{mouseenter:this.expand,mouseleave:this.collapse},this));var a=this._layersLink=ee("a",t+"-toggle",e);a.href="#",a.title="Layers",wt?(Me(a,"click",Re),Me(a,"click",this.expand,this)):Me(a,"focus",this.expand,this),n||this.expand(),this._baseLayersList=ee("div",t+"-base",i),this._separator=ee("div",t+"-separator",i),this._overlaysList=ee("div",t+"-overlays",i),e.appendChild(i)},_getLayer:function(t){for(var e=0;e<this._layers.length;e++)if(this._layers[e]&&r(this._layers[e].layer)===t)return this._layers[e]},_addLayer:function(t,e,n){this._map&&t.on("add remove",this._onLayerChange,this),this._layers.push({layer:t,name:e,overlay:n}),this.options.sortLayers&&this._layers.sort(i(function(t,e){return this.options.sortFunction(t.layer,e.layer,t.name,e.name)},this)),this.options.autoZIndex&&t.setZIndex&&(this._lastZIndex++,t.setZIndex(this._lastZIndex)),this._expandIfNotCollapsed()},_update:function(){if(!this._container)return this;ie(this._baseLayersList),ie(this._overlaysList),this._layerControlInputs=[];var t,e,n,i,a=0;for(n=0;n<this._layers.length;n++)this._addItem(i=this._layers[n]),e=e||i.overlay,t=t||!i.overlay,a+=i.overlay?0:1;return this.options.hideSingleBase&&(this._baseLayersList.style.display=(t=t&&a>1)?"":"none"),this._separator.style.display=e&&t?"":"none",this},_onLayerChange:function(t){this._handlingClick||this._update();var e=this._getLayer(r(t.target)),n=e.overlay?"add"===t.type?"overlayadd":"overlayremove":"add"===t.type?"baselayerchange":null;n&&this._map.fire(n,e)},_createRadioElement:function(t,e){var n='<input type="radio" class="leaflet-control-layers-selector" name="'+t+'"'+(e?' checked="checked"':"")+"/>",i=document.createElement("div");return i.innerHTML=n,i.firstChild},_addItem:function(t){var e,n=document.createElement("label"),i=this._map.hasLayer(t.layer);t.overlay?((e=document.createElement("input")).type="checkbox",e.className="leaflet-control-layers-selector",e.defaultChecked=i):e=this._createRadioElement("leaflet-base-layers_"+r(this),i),this._layerControlInputs.push(e),e.layerId=r(t.layer),Me(e,"click",this._onInputClick,this);var a=document.createElement("span");a.innerHTML=" "+t.name;var o=document.createElement("div");return n.appendChild(o),o.appendChild(e),o.appendChild(a),(t.overlay?this._overlaysList:this._baseLayersList).appendChild(n),this._checkDisabledLayers(),n},_onInputClick:function(){var t,e,n=this._layerControlInputs,i=[],a=[];this._handlingClick=!0;for(var r=n.length-1;r>=0;r--)e=this._getLayer((t=n[r]).layerId).layer,t.checked?i.push(e):t.checked||a.push(e);for(r=0;r<a.length;r++)this._map.hasLayer(a[r])&&this._map.removeLayer(a[r]);for(r=0;r<i.length;r++)this._map.hasLayer(i[r])||this._map.addLayer(i[r]);this._handlingClick=!1,this._refocusOnMap()},_checkDisabledLayers:function(){for(var t,e,n=this._layerControlInputs,i=this._map.getZoom(),a=n.length-1;a>=0;a--)e=this._getLayer((t=n[a]).layerId).layer,t.disabled=void 0!==e.options.minZoom&&i<e.options.minZoom||void 0!==e.options.maxZoom&&i>e.options.maxZoom},_expandIfNotCollapsed:function(){return this._map&&!this.options.collapsed&&this.expand(),this},_expand:function(){return this.expand()},_collapse:function(){return this.collapse()}}),Ze=qe.extend({options:{position:"topleft",zoomInText:"+",zoomInTitle:"Zoom in",zoomOutText:"&#x2212;",zoomOutTitle:"Zoom out"},onAdd:function(t){var e="leaflet-control-zoom",n=ee("div",e+" leaflet-bar"),i=this.options;return this._zoomInButton=this._createButton(i.zoomInText,i.zoomInTitle,e+"-in",n,this._zoomIn),this._zoomOutButton=this._createButton(i.zoomOutText,i.zoomOutTitle,e+"-out",n,this._zoomOut),this._updateDisabled(),t.on("zoomend zoomlevelschange",this._updateDisabled,this),n},onRemove:function(t){t.off("zoomend zoomlevelschange",this._updateDisabled,this)},disable:function(){return this._disabled=!0,this._updateDisabled(),this},enable:function(){return this._disabled=!1,this._updateDisabled(),this},_zoomIn:function(t){!this._disabled&&this._map._zoom<this._map.getMaxZoom()&&this._map.zoomIn(this._map.options.zoomDelta*(t.shiftKey?3:1))},_zoomOut:function(t){!this._disabled&&this._map._zoom>this._map.getMinZoom()&&this._map.zoomOut(this._map.options.zoomDelta*(t.shiftKey?3:1))},_createButton:function(t,e,n,i,a){var r=ee("a",n,i);return r.innerHTML=t,r.href="#",r.title=e,r.setAttribute("role","button"),r.setAttribute("aria-label",e),Ae(r),Me(r,"click",Re),Me(r,"click",a,this),Me(r,"click",this._refocusOnMap,this),r},_updateDisabled:function(){var t=this._map,e="leaflet-disabled";le(this._zoomInButton,e),le(this._zoomOutButton,e),(this._disabled||t._zoom===t.getMinZoom())&&se(this._zoomOutButton,e),(this._disabled||t._zoom===t.getMaxZoom())&&se(this._zoomInButton,e)}});Ue.mergeOptions({zoomControl:!0}),Ue.addInitHook(function(){this.options.zoomControl&&(this.zoomControl=new Ze,this.addControl(this.zoomControl))});var $e=qe.extend({options:{position:"bottomleft",maxWidth:100,metric:!0,imperial:!0},onAdd:function(t){var e=ee("div","leaflet-control-scale"),n=this.options;return this._addScales(n,"leaflet-control-scale-line",e),t.on(n.updateWhenIdle?"moveend":"move",this._update,this),t.whenReady(this._update,this),e},onRemove:function(t){t.off(this.options.updateWhenIdle?"moveend":"move",this._update,this)},_addScales:function(t,e,n){t.metric&&(this._mScale=ee("div",e,n)),t.imperial&&(this._iScale=ee("div",e,n))},_update:function(){var t=this._map,e=t.getSize().y/2,n=t.distance(t.containerPointToLatLng([0,e]),t.containerPointToLatLng([this.options.maxWidth,e]));this._updateScales(n)},_updateScales:function(t){this.options.metric&&t&&this._updateMetric(t),this.options.imperial&&t&&this._updateImperial(t)},_updateMetric:function(t){var e=this._getRoundNum(t);this._updateScale(this._mScale,e<1e3?e+" m":e/1e3+" km",e/t)},_updateImperial:function(t){var e,n,i,a=3.2808399*t;a>5280?(n=this._getRoundNum(e=a/5280),this._updateScale(this._iScale,n+" mi",n/e)):(i=this._getRoundNum(a),this._updateScale(this._iScale,i+" ft",i/a))},_updateScale:function(t,e,n){t.style.width=Math.round(this.options.maxWidth*n)+"px",t.innerHTML=e},_getRoundNum:function(t){var e=Math.pow(10,(Math.floor(t)+"").length-1),n=t/e;return e*(n>=10?10:n>=5?5:n>=3?3:n>=2?2:1)}}),Xe=qe.extend({options:{position:"bottomright",prefix:'<a href="https://leafletjs.com" title="A JS library for interactive maps">Leaflet</a>'},initialize:function(t){h(this,t),this._attributions={}},onAdd:function(t){for(var e in t.attributionControl=this,this._container=ee("div","leaflet-control-attribution"),Ae(this._container),t._layers)t._layers[e].getAttribution&&this.addAttribution(t._layers[e].getAttribution());return this._update(),this._container},setPrefix:function(t){return this.options.prefix=t,this._update(),this},addAttribution:function(t){return t?(this._attributions[t]||(this._attributions[t]=0),this._attributions[t]++,this._update(),this):this},removeAttribution:function(t){return t?(this._attributions[t]&&(this._attributions[t]--,this._update()),this):this},_update:function(){if(this._map){var t=[];for(var e in this._attributions)this._attributions[e]&&t.push(e);var n=[];this.options.prefix&&n.push(this.options.prefix),t.length&&n.push(t.join(", ")),this._container.innerHTML=n.join(" | ")}}});Ue.mergeOptions({attributionControl:!0}),Ue.addInitHook(function(){this.options.attributionControl&&(new Xe).addTo(this)}),qe.Layers=Je,qe.Zoom=Ze,qe.Scale=$e,qe.Attribution=Xe,Ge.layers=function(t,e,n){return new Je(t,e,n)},Ge.zoom=function(t){return new Ze(t)},Ge.scale=function(t){return new $e(t)},Ge.attribution=function(t){return new Xe(t)};var Ke=S.extend({initialize:function(t){this._map=t},enable:function(){return this._enabled||(this._enabled=!0,this.addHooks()),this},disable:function(){return this._enabled?(this._enabled=!1,this.removeHooks(),this):this},enabled:function(){return!!this._enabled}});Ke.addTo=function(t,e){return t.addHandler(e,this),this};var Qe,tn={Events:T},en=wt?"touchstart mousedown":"mousedown",nn={mousedown:"mouseup",touchstart:"touchend",pointerdown:"touchend",MSPointerDown:"touchend"},an={mousedown:"mousemove",touchstart:"touchmove",pointerdown:"touchmove",MSPointerDown:"touchmove"},rn=P.extend({options:{clickTolerance:3},initialize:function(t,e,n,i){h(this,i),this._element=t,this._dragStartTarget=e||t,this._preventOutline=n},enable:function(){this._enabled||(Me(this._dragStartTarget,en,this._onDown,this),this._enabled=!0)},disable:function(){this._enabled&&(rn._dragging===this&&this.finishDrag(),ke(this._dragStartTarget,en,this._onDown,this),this._enabled=!1,this._moved=!1)},_onDown:function(t){if(!t._simulated&&this._enabled&&(this._moved=!1,!oe(this._element,"leaflet-zoom-anim")&&!(rn._dragging||t.shiftKey||1!==t.which&&1!==t.button&&!t.touches||(rn._dragging=this,this._preventOutline&&ye(this._element),be(),Vt(),this._moving)))){this.fire("down");var e=t.touches?t.touches[0]:t,n=Ce(this._element);this._startPoint=new D(e.clientX,e.clientY),this._parentScale=we(n),Me(document,an[t.type],this._onMove,this),Me(document,nn[t.type],this._onUp,this)}},_onMove:function(t){if(!t._simulated&&this._enabled)if(t.touches&&t.touches.length>1)this._moved=!0;else{var e=t.touches&&1===t.touches.length?t.touches[0]:t,n=new D(e.clientX,e.clientY)._subtract(this._startPoint);(n.x||n.y)&&(Math.abs(n.x)+Math.abs(n.y)<this.options.clickTolerance||(n.x/=this._parentScale.x,n.y/=this._parentScale.y,Ie(t),this._moved||(this.fire("dragstart"),this._moved=!0,this._startPos=fe(this._element).subtract(n),se(document.body,"leaflet-dragging"),this._lastTarget=t.target||t.srcElement,window.SVGElementInstance&&this._lastTarget instanceof window.SVGElementInstance&&(this._lastTarget=this._lastTarget.correspondingUseElement),se(this._lastTarget,"leaflet-drag-target")),this._newPos=this._startPos.add(n),this._moving=!0,O(this._animRequest),this._lastEvent=t,this._animRequest=M(this._updatePosition,this,!0)))}},_updatePosition:function(){var t={originalEvent:this._lastEvent};this.fire("predrag",t),pe(this._element,this._newPos),this.fire("drag",t)},_onUp:function(t){!t._simulated&&this._enabled&&this.finishDrag()},finishDrag:function(){for(var t in le(document.body,"leaflet-dragging"),this._lastTarget&&(le(this._lastTarget,"leaflet-drag-target"),this._lastTarget=null),an)ke(document,an[t],this._onMove,this),ke(document,nn[t],this._onUp,this);_e(),Bt(),this._moved&&this._moving&&(O(this._animRequest),this.fire("dragend",{distance:this._newPos.distanceTo(this._startPos)})),this._moving=!1,rn._dragging=!1}});function on(t,e){if(!e||!t.length)return t.slice();var n=e*e;return function(t,e){var n=t.length,i=new(typeof Uint8Array!=void 0+""?Uint8Array:Array)(n);i[0]=i[n-1]=1,ln(t,i,e,0,n-1);var a,r=[];for(a=0;a<n;a++)i[a]&&r.push(t[a]);return r}(t=function(t,e){for(var n=[t[0]],i=1,a=0,r=t.length;i<r;i++)l=void 0,c=void 0,(l=(s=t[a]).x-(o=t[i]).x)*l+(c=s.y-o.y)*c>e&&(n.push(t[i]),a=i);var o,s,l,c;return a<r-1&&n.push(t[r-1]),n}(t,n),n)}function sn(t,e,n){return Math.sqrt(hn(t,e,n,!0))}function ln(t,e,n,i,a){var r,o,s,l=0;for(o=i+1;o<=a-1;o++)(s=hn(t[o],t[i],t[a],!0))>l&&(r=o,l=s);l>n&&(e[r]=1,ln(t,e,n,i,r),ln(t,e,n,r,a))}function cn(t,e,n,i,a){var r,o,s,l=i?Qe:un(t,n),c=un(e,n);for(Qe=c;;){if(!(l|c))return[t,e];if(l&c)return!1;s=un(o=dn(t,e,r=l||c,n,a),n),r===l?(t=o,l=s):(e=o,c=s)}}function dn(t,e,n,i,a){var r,o,s=e.x-t.x,l=e.y-t.y,c=i.min,d=i.max;return 8&n?(r=t.x+s*(d.y-t.y)/l,o=d.y):4&n?(r=t.x+s*(c.y-t.y)/l,o=c.y):2&n?(r=d.x,o=t.y+l*(d.x-t.x)/s):1&n&&(r=c.x,o=t.y+l*(c.x-t.x)/s),new D(r,o,a)}function un(t,e){var n=0;return t.x<e.min.x?n|=1:t.x>e.max.x&&(n|=2),t.y<e.min.y?n|=4:t.y>e.max.y&&(n|=8),n}function hn(t,e,n,i){var a,r=e.x,o=e.y,s=n.x-r,l=n.y-o,c=s*s+l*l;return c>0&&((a=((t.x-r)*s+(t.y-o)*l)/c)>1?(r=n.x,o=n.y):a>0&&(r+=s*a,o+=l*a)),s=t.x-r,l=t.y-o,i?s*s+l*l:new D(r,o)}function mn(t){return!g(t[0])||"object"!=typeof t[0][0]&&void 0!==t[0][0]}function pn(t){return console.warn("Deprecated use of _flat, please use L.LineUtil.isFlat instead."),mn(t)}var fn={simplify:on,pointToSegmentDistance:sn,closestPointOnSegment:function(t,e,n){return hn(t,e,n)},clipSegment:cn,_getEdgeIntersection:dn,_getBitCode:un,_sqClosestPointOnSegment:hn,isFlat:mn,_flat:pn};function gn(t,e,n){var i,a,r,o,s,l,c,d,u,h=[1,4,2,8];for(a=0,c=t.length;a<c;a++)t[a]._code=un(t[a],e);for(o=0;o<4;o++){for(d=h[o],i=[],a=0,r=(c=t.length)-1;a<c;r=a++)l=t[r],(s=t[a])._code&d?l._code&d||((u=dn(l,s,d,e,n))._code=un(u,e),i.push(u)):(l._code&d&&((u=dn(l,s,d,e,n))._code=un(u,e),i.push(u)),i.push(s));t=i}return t}var bn={clipPolygon:gn},_n={project:function(t){return new D(t.lng,t.lat)},unproject:function(t){return new H(t.y,t.x)},bounds:new I([-180,-90],[180,90])},yn={R:6378137,R_MINOR:6356752.314245179,bounds:new I([-20037508.34279,-15496570.73972],[20037508.34279,18764656.23138]),project:function(t){var e=Math.PI/180,n=this.R,i=t.lat*e,a=this.R_MINOR/n,r=Math.sqrt(1-a*a),o=r*Math.sin(i),s=Math.tan(Math.PI/4-i/2)/Math.pow((1-o)/(1+o),r/2);return i=-n*Math.log(Math.max(s,1e-10)),new D(t.lng*e*n,i)},unproject:function(t){for(var e,n=180/Math.PI,i=this.R,a=this.R_MINOR/i,r=Math.sqrt(1-a*a),o=Math.exp(-t.y/i),s=Math.PI/2-2*Math.atan(o),l=0,c=.1;l<15&&Math.abs(c)>1e-7;l++)e=r*Math.sin(s),e=Math.pow((1-e)/(1+e),r/2),s+=c=Math.PI/2-2*Math.atan(o*e)-s;return new H(s*n,t.x*n/i)}},vn={LonLat:_n,Mercator:yn,SphericalMercator:B},Cn=e({},V,{code:"EPSG:3395",projection:yn,transformation:function(){var t=.5/(Math.PI*yn.R);return U(t,.5,-t,.5)}()}),wn=e({},V,{code:"EPSG:4326",projection:_n,transformation:U(1/180,1,-1/180,.5)}),xn=e({},z,{projection:_n,transformation:U(1,0,-1,0),scale:function(t){return Math.pow(2,t)},zoom:function(t){return Math.log(t)/Math.LN2},distance:function(t,e){var n=e.lng-t.lng,i=e.lat-t.lat;return Math.sqrt(n*n+i*i)},infinite:!0});z.Earth=V,z.EPSG3395=Cn,z.EPSG3857=G,z.EPSG900913=J,z.EPSG4326=wn,z.Simple=xn;var Mn=P.extend({options:{pane:"overlayPane",attribution:null,bubblingMouseEvents:!0},addTo:function(t){return t.addLayer(this),this},remove:function(){return this.removeFrom(this._map||this._mapToAdd)},removeFrom:function(t){return t&&t.removeLayer(this),this},getPane:function(t){return this._map.getPane(t?this.options[t]||t:this.options.pane)},addInteractiveTarget:function(t){return this._map._targets[r(t)]=this,this},removeInteractiveTarget:function(t){return delete this._map._targets[r(t)],this},getAttribution:function(){return this.options.attribution},_layerAdd:function(t){var e=t.target;if(e.hasLayer(this)){if(this._map=e,this._zoomAnimated=e._zoomAnimated,this.getEvents){var n=this.getEvents();e.on(n,this),this.once("remove",function(){e.off(n,this)},this)}this.onAdd(e),this.getAttribution&&e.attributionControl&&e.attributionControl.addAttribution(this.getAttribution()),this.fire("add"),e.fire("layeradd",{layer:this})}}});Ue.include({addLayer:function(t){if(!t._layerAdd)throw new Error("The provided object is not a Layer.");var e=r(t);return this._layers[e]||(this._layers[e]=t,t._mapToAdd=this,t.beforeAdd&&t.beforeAdd(this),this.whenReady(t._layerAdd,t)),this},removeLayer:function(t){var e=r(t);return this._layers[e]?(this._loaded&&t.onRemove(this),t.getAttribution&&this.attributionControl&&this.attributionControl.removeAttribution(t.getAttribution()),delete this._layers[e],this._loaded&&(this.fire("layerremove",{layer:t}),t.fire("remove")),t._map=t._mapToAdd=null,this):this},hasLayer:function(t){return!!t&&r(t)in this._layers},eachLayer:function(t,e){for(var n in this._layers)t.call(e,this._layers[n]);return this},_addLayers:function(t){for(var e=0,n=(t=t?g(t)?t:[t]:[]).length;e<n;e++)this.addLayer(t[e])},_addZoomLimit:function(t){!isNaN(t.options.maxZoom)&&isNaN(t.options.minZoom)||(this._zoomBoundLayers[r(t)]=t,this._updateZoomLevels())},_removeZoomLimit:function(t){var e=r(t);this._zoomBoundLayers[e]&&(delete this._zoomBoundLayers[e],this._updateZoomLevels())},_updateZoomLevels:function(){var t=1/0,e=-1/0,n=this._getZoomSpan();for(var i in this._zoomBoundLayers){var a=this._zoomBoundLayers[i].options;t=void 0===a.minZoom?t:Math.min(t,a.minZoom),e=void 0===a.maxZoom?e:Math.max(e,a.maxZoom)}this._layersMaxZoom=e===-1/0?void 0:e,this._layersMinZoom=t===1/0?void 0:t,n!==this._getZoomSpan()&&this.fire("zoomlevelschange"),void 0===this.options.maxZoom&&this._layersMaxZoom&&this.getZoom()>this._layersMaxZoom&&this.setZoom(this._layersMaxZoom),void 0===this.options.minZoom&&this._layersMinZoom&&this.getZoom()<this._layersMinZoom&&this.setZoom(this._layersMinZoom)}});var On=Mn.extend({initialize:function(t,e){var n,i;if(h(this,e),this._layers={},t)for(n=0,i=t.length;n<i;n++)this.addLayer(t[n])},addLayer:function(t){var e=this.getLayerId(t);return this._layers[e]=t,this._map&&this._map.addLayer(t),this},removeLayer:function(t){var e=t in this._layers?t:this.getLayerId(t);return this._map&&this._layers[e]&&this._map.removeLayer(this._layers[e]),delete this._layers[e],this},hasLayer:function(t){return!!t&&("number"==typeof t?t:this.getLayerId(t))in this._layers},clearLayers:function(){return this.eachLayer(this.removeLayer,this)},invoke:function(t){var e,n,i=Array.prototype.slice.call(arguments,1);for(e in this._layers)(n=this._layers[e])[t]&&n[t].apply(n,i);return this},onAdd:function(t){this.eachLayer(t.addLayer,t)},onRemove:function(t){this.eachLayer(t.removeLayer,t)},eachLayer:function(t,e){for(var n in this._layers)t.call(e,this._layers[n]);return this},getLayer:function(t){return this._layers[t]},getLayers:function(){var t=[];return this.eachLayer(t.push,t),t},setZIndex:function(t){return this.invoke("setZIndex",t)},getLayerId:function(t){return r(t)}}),kn=On.extend({addLayer:function(t){return this.hasLayer(t)?this:(t.addEventParent(this),On.prototype.addLayer.call(this,t),this.fire("layeradd",{layer:t}))},removeLayer:function(t){return this.hasLayer(t)?(t in this._layers&&(t=this._layers[t]),t.removeEventParent(this),On.prototype.removeLayer.call(this,t),this.fire("layerremove",{layer:t})):this},setStyle:function(t){return this.invoke("setStyle",t)},bringToFront:function(){return this.invoke("bringToFront")},bringToBack:function(){return this.invoke("bringToBack")},getBounds:function(){var t=new N;for(var e in this._layers){var n=this._layers[e];t.extend(n.getBounds?n.getBounds():n.getLatLng())}return t}}),Sn=S.extend({options:{popupAnchor:[0,0],tooltipAnchor:[0,0]},initialize:function(t){h(this,t)},createIcon:function(t){return this._createIcon("icon",t)},createShadow:function(t){return this._createIcon("shadow",t)},_createIcon:function(t,e){var n=this._getIconUrl(t);if(!n){if("icon"===t)throw new Error("iconUrl not set in Icon options (see the docs).");return null}var i=this._createImg(n,e&&"IMG"===e.tagName?e:null);return this._setIconStyles(i,t),i},_setIconStyles:function(t,e){var n=this.options,i=n[e+"Size"];"number"==typeof i&&(i=[i,i]);var a=A(i),r=A("shadow"===e&&n.shadowAnchor||n.iconAnchor||a&&a.divideBy(2,!0));t.className="leaflet-marker-"+e+" "+(n.className||""),r&&(t.style.marginLeft=-r.x+"px",t.style.marginTop=-r.y+"px"),a&&(t.style.width=a.x+"px",t.style.height=a.y+"px")},_createImg:function(t,e){return(e=e||document.createElement("img")).src=t,e},_getIconUrl:function(t){return Ot&&this.options[t+"RetinaUrl"]||this.options[t+"Url"]}}),Tn=Sn.extend({options:{iconUrl:"marker-icon.png",iconRetinaUrl:"marker-icon-2x.png",shadowUrl:"marker-shadow.png",iconSize:[25,41],iconAnchor:[12,41],popupAnchor:[1,-34],tooltipAnchor:[16,-28],shadowSize:[41,41]},_getIconUrl:function(t){return Tn.imagePath||(Tn.imagePath=this._detectIconPath()),(this.options.imagePath||Tn.imagePath)+Sn.prototype._getIconUrl.call(this,t)},_detectIconPath:function(){var t=ee("div","leaflet-default-icon-path",document.body),e=te(t,"background-image")||te(t,"backgroundImage");return document.body.removeChild(t),null===e||0!==e.indexOf("url")?"":e.replace(/^url\(["']?/,"").replace(/marker-icon\.png["']?\)$/,"")}}),Pn=Ke.extend({initialize:function(t){this._marker=t},addHooks:function(){var t=this._marker._icon;this._draggable||(this._draggable=new rn(t,t,!0)),this._draggable.on({dragstart:this._onDragStart,predrag:this._onPreDrag,drag:this._onDrag,dragend:this._onDragEnd},this).enable(),se(t,"leaflet-marker-draggable")},removeHooks:function(){this._draggable.off({dragstart:this._onDragStart,predrag:this._onPreDrag,drag:this._onDrag,dragend:this._onDragEnd},this).disable(),this._marker._icon&&le(this._marker._icon,"leaflet-marker-draggable")},moved:function(){return this._draggable&&this._draggable._moved},_adjustPan:function(t){var e=this._marker,n=e._map,i=this._marker.options.autoPanSpeed,a=this._marker.options.autoPanPadding,r=fe(e._icon),o=n.getPixelBounds(),s=n.getPixelOrigin(),l=R(o.min._subtract(s).add(a),o.max._subtract(s).subtract(a));if(!l.contains(r)){var c=A((Math.max(l.max.x,r.x)-l.max.x)/(o.max.x-l.max.x)-(Math.min(l.min.x,r.x)-l.min.x)/(o.min.x-l.min.x),(Math.max(l.max.y,r.y)-l.max.y)/(o.max.y-l.max.y)-(Math.min(l.min.y,r.y)-l.min.y)/(o.min.y-l.min.y)).multiplyBy(i);n.panBy(c,{animate:!1}),this._draggable._newPos._add(c),this._draggable._startPos._add(c),pe(e._icon,this._draggable._newPos),this._onDrag(t),this._panRequest=M(this._adjustPan.bind(this,t))}},_onDragStart:function(){this._oldLatLng=this._marker.getLatLng(),this._marker.closePopup&&this._marker.closePopup(),this._marker.fire("movestart").fire("dragstart")},_onPreDrag:function(t){this._marker.options.autoPan&&(O(this._panRequest),this._panRequest=M(this._adjustPan.bind(this,t)))},_onDrag:function(t){var e=this._marker,n=e._shadow,i=fe(e._icon),a=e._map.layerPointToLatLng(i);n&&pe(n,i),e._latlng=a,t.latlng=a,t.oldLatLng=this._oldLatLng,e.fire("move",t).fire("drag",t)},_onDragEnd:function(t){O(this._panRequest),delete this._oldLatLng,this._marker.fire("moveend").fire("dragend",t)}}),Ln=Mn.extend({options:{icon:new Tn,interactive:!0,keyboard:!0,title:"",alt:"",zIndexOffset:0,opacity:1,riseOnHover:!1,riseOffset:250,pane:"markerPane",shadowPane:"shadowPane",bubblingMouseEvents:!1,draggable:!1,autoPan:!1,autoPanPadding:[50,50],autoPanSpeed:10},initialize:function(t,e){h(this,e),this._latlng=j(t)},onAdd:function(t){this._zoomAnimated=this._zoomAnimated&&t.options.markerZoomAnimation,this._zoomAnimated&&t.on("zoomanim",this._animateZoom,this),this._initIcon(),this.update()},onRemove:function(t){this.dragging&&this.dragging.enabled()&&(this.options.draggable=!0,this.dragging.removeHooks()),delete this.dragging,this._zoomAnimated&&t.off("zoomanim",this._animateZoom,this),this._removeIcon(),this._removeShadow()},getEvents:function(){return{zoom:this.update,viewreset:this.update}},getLatLng:function(){return this._latlng},setLatLng:function(t){var e=this._latlng;return this._latlng=j(t),this.update(),this.fire("move",{oldLatLng:e,latlng:this._latlng})},setZIndexOffset:function(t){return this.options.zIndexOffset=t,this.update()},getIcon:function(){return this.options.icon},setIcon:function(t){return this.options.icon=t,this._map&&(this._initIcon(),this.update()),this._popup&&this.bindPopup(this._popup,this._popup.options),this},getElement:function(){return this._icon},update:function(){if(this._icon&&this._map){var t=this._map.latLngToLayerPoint(this._latlng).round();this._setPos(t)}return this},_initIcon:function(){var t=this.options,e="leaflet-zoom-"+(this._zoomAnimated?"animated":"hide"),n=t.icon.createIcon(this._icon),i=!1;n!==this._icon&&(this._icon&&this._removeIcon(),i=!0,t.title&&(n.title=t.title),"IMG"===n.tagName&&(n.alt=t.alt||"")),se(n,e),t.keyboard&&(n.tabIndex="0"),this._icon=n,t.riseOnHover&&this.on({mouseover:this._bringToFront,mouseout:this._resetZIndex});var a=t.icon.createShadow(this._shadow),r=!1;a!==this._shadow&&(this._removeShadow(),r=!0),a&&(se(a,e),a.alt=""),this._shadow=a,t.opacity<1&&this._updateOpacity(),i&&this.getPane().appendChild(this._icon),this._initInteraction(),a&&r&&this.getPane(t.shadowPane).appendChild(this._shadow)},_removeIcon:function(){this.options.riseOnHover&&this.off({mouseover:this._bringToFront,mouseout:this._resetZIndex}),ne(this._icon),this.removeInteractiveTarget(this._icon),this._icon=null},_removeShadow:function(){this._shadow&&ne(this._shadow),this._shadow=null},_setPos:function(t){this._icon&&pe(this._icon,t),this._shadow&&pe(this._shadow,t),this._zIndex=t.y+this.options.zIndexOffset,this._resetZIndex()},_updateZIndex:function(t){this._icon&&(this._icon.style.zIndex=this._zIndex+t)},_animateZoom:function(t){var e=this._map._latLngToNewLayerPoint(this._latlng,t.zoom,t.center).round();this._setPos(e)},_initInteraction:function(){if(this.options.interactive&&(se(this._icon,"leaflet-interactive"),this.addInteractiveTarget(this._icon),Pn)){var t=this.options.draggable;this.dragging&&(t=this.dragging.enabled(),this.dragging.disable()),this.dragging=new Pn(this),t&&this.dragging.enable()}},setOpacity:function(t){return this.options.opacity=t,this._map&&this._updateOpacity(),this},_updateOpacity:function(){var t=this.options.opacity;this._icon&&ue(this._icon,t),this._shadow&&ue(this._shadow,t)},_bringToFront:function(){this._updateZIndex(this.options.riseOffset)},_resetZIndex:function(){this._updateZIndex(0)},_getPopupAnchor:function(){return this.options.icon.options.popupAnchor},_getTooltipAnchor:function(){return this.options.icon.options.tooltipAnchor}}),Dn=Mn.extend({options:{stroke:!0,color:"#3388ff",weight:3,opacity:1,lineCap:"round",lineJoin:"round",dashArray:null,dashOffset:null,fill:!1,fillColor:null,fillOpacity:.2,fillRule:"evenodd",interactive:!0,bubblingMouseEvents:!0},beforeAdd:function(t){this._renderer=t.getRenderer(this)},onAdd:function(){this._renderer._initPath(this),this._reset(),this._renderer._addPath(this)},onRemove:function(){this._renderer._removePath(this)},redraw:function(){return this._map&&this._renderer._updatePath(this),this},setStyle:function(t){return h(this,t),this._renderer&&(this._renderer._updateStyle(this),this.options.stroke&&t&&Object.prototype.hasOwnProperty.call(t,"weight")&&this._updateBounds()),this},bringToFront:function(){return this._renderer&&this._renderer._bringToFront(this),this},bringToBack:function(){return this._renderer&&this._renderer._bringToBack(this),this},getElement:function(){return this._path},_reset:function(){this._project(),this._update()},_clickTolerance:function(){return(this.options.stroke?this.options.weight/2:0)+this._renderer.options.tolerance}}),En=Dn.extend({options:{fill:!0,radius:10},initialize:function(t,e){h(this,e),this._latlng=j(t),this._radius=this.options.radius},setLatLng:function(t){var e=this._latlng;return this._latlng=j(t),this.redraw(),this.fire("move",{oldLatLng:e,latlng:this._latlng})},getLatLng:function(){return this._latlng},setRadius:function(t){return this.options.radius=this._radius=t,this.redraw()},getRadius:function(){return this._radius},setStyle:function(t){var e=t&&t.radius||this._radius;return Dn.prototype.setStyle.call(this,t),this.setRadius(e),this},_project:function(){this._point=this._map.latLngToLayerPoint(this._latlng),this._updateBounds()},_updateBounds:function(){var t=this._radius,e=this._radiusY||t,n=this._clickTolerance(),i=[t+n,e+n];this._pxBounds=new I(this._point.subtract(i),this._point.add(i))},_update:function(){this._map&&this._updatePath()},_updatePath:function(){this._renderer._updateCircle(this)},_empty:function(){return this._radius&&!this._renderer._bounds.intersects(this._pxBounds)},_containsPoint:function(t){return t.distanceTo(this._point)<=this._radius+this._clickTolerance()}}),An=En.extend({initialize:function(t,n,i){if("number"==typeof n&&(n=e({},i,{radius:n})),h(this,n),this._latlng=j(t),isNaN(this.options.radius))throw new Error("Circle radius cannot be NaN");this._mRadius=this.options.radius},setRadius:function(t){return this._mRadius=t,this.redraw()},getRadius:function(){return this._mRadius},getBounds:function(){var t=[this._radius,this._radiusY||this._radius];return new N(this._map.layerPointToLatLng(this._point.subtract(t)),this._map.layerPointToLatLng(this._point.add(t)))},setStyle:Dn.prototype.setStyle,_project:function(){var t=this._latlng.lng,e=this._latlng.lat,n=this._map,i=n.options.crs;if(i.distance===V.distance){var a=Math.PI/180,r=this._mRadius/V.R/a,o=n.project([e+r,t]),s=n.project([e-r,t]),l=o.add(s).divideBy(2),c=n.unproject(l).lat,d=Math.acos((Math.cos(r*a)-Math.sin(e*a)*Math.sin(c*a))/(Math.cos(e*a)*Math.cos(c*a)))/a;(isNaN(d)||0===d)&&(d=r/Math.cos(Math.PI/180*e)),this._point=l.subtract(n.getPixelOrigin()),this._radius=isNaN(d)?0:l.x-n.project([c,t-d]).x,this._radiusY=l.y-o.y}else{var u=i.unproject(i.project(this._latlng).subtract([this._mRadius,0]));this._point=n.latLngToLayerPoint(this._latlng),this._radius=this._point.x-n.latLngToLayerPoint(u).x}this._updateBounds()}}),In=Dn.extend({options:{smoothFactor:1,noClip:!1},initialize:function(t,e){h(this,e),this._setLatLngs(t)},getLatLngs:function(){return this._latlngs},setLatLngs:function(t){return this._setLatLngs(t),this.redraw()},isEmpty:function(){return!this._latlngs.length},closestLayerPoint:function(t){for(var e,n,i=1/0,a=null,r=hn,o=0,s=this._parts.length;o<s;o++)for(var l=this._parts[o],c=1,d=l.length;c<d;c++){var u=r(t,e=l[c-1],n=l[c],!0);u<i&&(i=u,a=r(t,e,n))}return a&&(a.distance=Math.sqrt(i)),a},getCenter:function(){if(!this._map)throw new Error("Must add layer to map before using getCenter()");var t,e,n,i,a,r,o,s=this._rings[0],l=s.length;if(!l)return null;for(t=0,e=0;t<l-1;t++)e+=s[t].distanceTo(s[t+1])/2;if(0===e)return this._map.layerPointToLatLng(s[0]);for(t=0,i=0;t<l-1;t++)if((i+=n=(a=s[t]).distanceTo(r=s[t+1]))>e)return this._map.layerPointToLatLng([r.x-(o=(i-e)/n)*(r.x-a.x),r.y-o*(r.y-a.y)])},getBounds:function(){return this._bounds},addLatLng:function(t,e){return e=e||this._defaultShape(),t=j(t),e.push(t),this._bounds.extend(t),this.redraw()},_setLatLngs:function(t){this._bounds=new N,this._latlngs=this._convertLatLngs(t)},_defaultShape:function(){return mn(this._latlngs)?this._latlngs:this._latlngs[0]},_convertLatLngs:function(t){for(var e=[],n=mn(t),i=0,a=t.length;i<a;i++)n?(e[i]=j(t[i]),this._bounds.extend(e[i])):e[i]=this._convertLatLngs(t[i]);return e},_project:function(){var t=new I;this._rings=[],this._projectLatlngs(this._latlngs,this._rings,t),this._bounds.isValid()&&t.isValid()&&(this._rawPxBounds=t,this._updateBounds())},_updateBounds:function(){var t=this._clickTolerance(),e=new D(t,t);this._pxBounds=new I([this._rawPxBounds.min.subtract(e),this._rawPxBounds.max.add(e)])},_projectLatlngs:function(t,e,n){var i,a,r=t.length;if(t[0]instanceof H){for(a=[],i=0;i<r;i++)a[i]=this._map.latLngToLayerPoint(t[i]),n.extend(a[i]);e.push(a)}else for(i=0;i<r;i++)this._projectLatlngs(t[i],e,n)},_clipPoints:function(){var t=this._renderer._bounds;if(this._parts=[],this._pxBounds&&this._pxBounds.intersects(t))if(this.options.noClip)this._parts=this._rings;else{var e,n,i,a,r,o,s,l=this._parts;for(e=0,i=0,a=this._rings.length;e<a;e++)for(n=0,r=(s=this._rings[e]).length;n<r-1;n++)(o=cn(s[n],s[n+1],t,n,!0))&&(l[i]=l[i]||[],l[i].push(o[0]),o[1]===s[n+1]&&n!==r-2||(l[i].push(o[1]),i++))}},_simplifyPoints:function(){for(var t=this._parts,e=this.options.smoothFactor,n=0,i=t.length;n<i;n++)t[n]=on(t[n],e)},_update:function(){this._map&&(this._clipPoints(),this._simplifyPoints(),this._updatePath())},_updatePath:function(){this._renderer._updatePoly(this)},_containsPoint:function(t,e){var n,i,a,r,o,s,l=this._clickTolerance();if(!this._pxBounds||!this._pxBounds.contains(t))return!1;for(n=0,r=this._parts.length;n<r;n++)for(i=0,a=(o=(s=this._parts[n]).length)-1;i<o;a=i++)if((e||0!==i)&&sn(t,s[a],s[i])<=l)return!0;return!1}});In._flat=pn;var Rn=In.extend({options:{fill:!0},isEmpty:function(){return!this._latlngs.length||!this._latlngs[0].length},getCenter:function(){if(!this._map)throw new Error("Must add layer to map before using getCenter()");var t,e,n,i,a,r,o,s,l=this._rings[0],c=l.length;if(!c)return null;for(r=o=s=0,t=0,e=c-1;t<c;e=t++)o+=((n=l[t]).x+(i=l[e]).x)*(a=n.y*i.x-i.y*n.x),s+=(n.y+i.y)*a,r+=3*a;return this._map.layerPointToLatLng(0===r?l[0]:[o/r,s/r])},_convertLatLngs:function(t){var e=In.prototype._convertLatLngs.call(this,t),n=e.length;return n>=2&&e[0]instanceof H&&e[0].equals(e[n-1])&&e.pop(),e},_setLatLngs:function(t){In.prototype._setLatLngs.call(this,t),mn(this._latlngs)&&(this._latlngs=[this._latlngs])},_defaultShape:function(){return mn(this._latlngs[0])?this._latlngs[0]:this._latlngs[0][0]},_clipPoints:function(){var t=this._renderer._bounds,e=this.options.weight,n=new D(e,e);if(t=new I(t.min.subtract(n),t.max.add(n)),this._parts=[],this._pxBounds&&this._pxBounds.intersects(t))if(this.options.noClip)this._parts=this._rings;else for(var i,a=0,r=this._rings.length;a<r;a++)(i=gn(this._rings[a],t,!0)).length&&this._parts.push(i)},_updatePath:function(){this._renderer._updatePoly(this,!0)},_containsPoint:function(t){var e,n,i,a,r,o,s,l,c=!1;if(!this._pxBounds||!this._pxBounds.contains(t))return!1;for(a=0,s=this._parts.length;a<s;a++)for(r=0,o=(l=(e=this._parts[a]).length)-1;r<l;o=r++)(n=e[r]).y>t.y!=(i=e[o]).y>t.y&&t.x<(i.x-n.x)*(t.y-n.y)/(i.y-n.y)+n.x&&(c=!c);return c||In.prototype._containsPoint.call(this,t,!0)}}),Nn=kn.extend({initialize:function(t,e){h(this,e),this._layers={},t&&this.addData(t)},addData:function(t){var e,n,i,a=g(t)?t:t.features;if(a){for(e=0,n=a.length;e<n;e++)((i=a[e]).geometries||i.geometry||i.features||i.coordinates)&&this.addData(i);return this}var r=this.options;if(r.filter&&!r.filter(t))return this;var o=Yn(t,r);return o?(o.feature=Wn(t),o.defaultOptions=o.options,this.resetStyle(o),r.onEachFeature&&r.onEachFeature(t,o),this.addLayer(o)):this},resetStyle:function(t){return void 0===t?this.eachLayer(this.resetStyle,this):(t.options=e({},t.defaultOptions),this._setLayerStyle(t,this.options.style),this)},setStyle:function(t){return this.eachLayer(function(e){this._setLayerStyle(e,t)},this)},_setLayerStyle:function(t,e){t.setStyle&&("function"==typeof e&&(e=e(t.feature)),t.setStyle(e))}});function Yn(t,e){var n,i,a,r,o="Feature"===t.type?t.geometry:t,s=o?o.coordinates:null,l=[],c=e&&e.pointToLayer,d=e&&e.coordsToLatLng||jn;if(!s&&!o)return null;switch(o.type){case"Point":return Hn(c,t,n=d(s),e);case"MultiPoint":for(a=0,r=s.length;a<r;a++)n=d(s[a]),l.push(Hn(c,t,n,e));return new kn(l);case"LineString":case"MultiLineString":return i=Fn(s,"LineString"===o.type?0:1,d),new In(i,e);case"Polygon":case"MultiPolygon":return i=Fn(s,"Polygon"===o.type?1:2,d),new Rn(i,e);case"GeometryCollection":for(a=0,r=o.geometries.length;a<r;a++){var u=Yn({geometry:o.geometries[a],type:"Feature",properties:t.properties},e);u&&l.push(u)}return new kn(l);default:throw new Error("Invalid GeoJSON object.")}}function Hn(t,e,n,i){return t?t(e,n):new Ln(n,i&&i.markersInheritOptions&&i)}function jn(t){return new H(t[1],t[0],t[2])}function Fn(t,e,n){for(var i,a=[],r=0,o=t.length;r<o;r++)i=e?Fn(t[r],e-1,n):(n||jn)(t[r]),a.push(i);return a}function zn(t,e){return e="number"==typeof e?e:6,void 0!==t.alt?[c(t.lng,e),c(t.lat,e),c(t.alt,e)]:[c(t.lng,e),c(t.lat,e)]}function Vn(t,e,n,i){for(var a=[],r=0,o=t.length;r<o;r++)a.push(e?Vn(t[r],e-1,n,i):zn(t[r],i));return!e&&n&&a.push(a[0]),a}function Bn(t,n){return t.feature?e({},t.feature,{geometry:n}):Wn(n)}function Wn(t){return"Feature"===t.type||"FeatureCollection"===t.type?t:{type:"Feature",properties:{},geometry:t}}var Un={toGeoJSON:function(t){return Bn(this,{type:"Point",coordinates:zn(this.getLatLng(),t)})}};function qn(t,e){return new Nn(t,e)}Ln.include(Un),An.include(Un),En.include(Un),In.include({toGeoJSON:function(t){var e=!mn(this._latlngs);return Bn(this,{type:(e?"Multi":"")+"LineString",coordinates:Vn(this._latlngs,e?1:0,!1,t)})}}),Rn.include({toGeoJSON:function(t){var e=!mn(this._latlngs),n=e&&!mn(this._latlngs[0]),i=Vn(this._latlngs,n?2:e?1:0,!0,t);return e||(i=[i]),Bn(this,{type:(n?"Multi":"")+"Polygon",coordinates:i})}}),On.include({toMultiPoint:function(t){var e=[];return this.eachLayer(function(n){e.push(n.toGeoJSON(t).geometry.coordinates)}),Bn(this,{type:"MultiPoint",coordinates:e})},toGeoJSON:function(t){var e=this.feature&&this.feature.geometry&&this.feature.geometry.type;if("MultiPoint"===e)return this.toMultiPoint(t);var n="GeometryCollection"===e,i=[];return this.eachLayer(function(e){if(e.toGeoJSON){var a=e.toGeoJSON(t);if(n)i.push(a.geometry);else{var r=Wn(a);"FeatureCollection"===r.type?i.push.apply(i,r.features):i.push(r)}}}),n?Bn(this,{geometries:i,type:"GeometryCollection"}):{type:"FeatureCollection",features:i}}});var Gn=qn,Jn=Mn.extend({options:{opacity:1,alt:"",interactive:!1,crossOrigin:!1,errorOverlayUrl:"",zIndex:1,className:""},initialize:function(t,e,n){this._url=t,this._bounds=Y(e),h(this,n)},onAdd:function(){this._image||(this._initImage(),this.options.opacity<1&&this._updateOpacity()),this.options.interactive&&(se(this._image,"leaflet-interactive"),this.addInteractiveTarget(this._image)),this.getPane().appendChild(this._image),this._reset()},onRemove:function(){ne(this._image),this.options.interactive&&this.removeInteractiveTarget(this._image)},setOpacity:function(t){return this.options.opacity=t,this._image&&this._updateOpacity(),this},setStyle:function(t){return t.opacity&&this.setOpacity(t.opacity),this},bringToFront:function(){return this._map&&ae(this._image),this},bringToBack:function(){return this._map&&re(this._image),this},setUrl:function(t){return this._url=t,this._image&&(this._image.src=t),this},setBounds:function(t){return this._bounds=Y(t),this._map&&this._reset(),this},getEvents:function(){var t={zoom:this._reset,viewreset:this._reset};return this._zoomAnimated&&(t.zoomanim=this._animateZoom),t},setZIndex:function(t){return this.options.zIndex=t,this._updateZIndex(),this},getBounds:function(){return this._bounds},getElement:function(){return this._image},_initImage:function(){var t="IMG"===this._url.tagName,e=this._image=t?this._url:ee("img");se(e,"leaflet-image-layer"),this._zoomAnimated&&se(e,"leaflet-zoom-animated"),this.options.className&&se(e,this.options.className),e.onselectstart=l,e.onmousemove=l,e.onload=i(this.fire,this,"load"),e.onerror=i(this._overlayOnError,this,"error"),(this.options.crossOrigin||""===this.options.crossOrigin)&&(e.crossOrigin=!0===this.options.crossOrigin?"":this.options.crossOrigin),this.options.zIndex&&this._updateZIndex(),t?this._url=e.src:(e.src=this._url,e.alt=this.options.alt)},_animateZoom:function(t){var e=this._map.getZoomScale(t.zoom),n=this._map._latLngBoundsToNewLayerBounds(this._bounds,t.zoom,t.center).min;me(this._image,n,e)},_reset:function(){var t=this._image,e=new I(this._map.latLngToLayerPoint(this._bounds.getNorthWest()),this._map.latLngToLayerPoint(this._bounds.getSouthEast())),n=e.getSize();pe(t,e.min),t.style.width=n.x+"px",t.style.height=n.y+"px"},_updateOpacity:function(){ue(this._image,this.options.opacity)},_updateZIndex:function(){this._image&&null!=this.options.zIndex&&(this._image.style.zIndex=this.options.zIndex)},_overlayOnError:function(){this.fire("error");var t=this.options.errorOverlayUrl;t&&this._url!==t&&(this._url=t,this._image.src=t)}}),Zn=Jn.extend({options:{autoplay:!0,loop:!0,keepAspectRatio:!0,muted:!1},_initImage:function(){var t="VIDEO"===this._url.tagName,e=this._image=t?this._url:ee("video");if(se(e,"leaflet-image-layer"),this._zoomAnimated&&se(e,"leaflet-zoom-animated"),this.options.className&&se(e,this.options.className),e.onselectstart=l,e.onmousemove=l,e.onloadeddata=i(this.fire,this,"load"),t){for(var n=e.getElementsByTagName("source"),a=[],r=0;r<n.length;r++)a.push(n[r].src);this._url=n.length>0?a:[e.src]}else{g(this._url)||(this._url=[this._url]),!this.options.keepAspectRatio&&Object.prototype.hasOwnProperty.call(e.style,"objectFit")&&(e.style.objectFit="fill"),e.autoplay=!!this.options.autoplay,e.loop=!!this.options.loop,e.muted=!!this.options.muted;for(var o=0;o<this._url.length;o++){var s=ee("source");s.src=this._url[o],e.appendChild(s)}}}}),$n=Jn.extend({_initImage:function(){var t=this._image=this._url;se(t,"leaflet-image-layer"),this._zoomAnimated&&se(t,"leaflet-zoom-animated"),this.options.className&&se(t,this.options.className),t.onselectstart=l,t.onmousemove=l}}),Xn=Mn.extend({options:{offset:[0,7],className:"",pane:"popupPane"},initialize:function(t,e){h(this,t),this._source=e},onAdd:function(t){this._zoomAnimated=t._zoomAnimated,this._container||this._initLayout(),t._fadeAnimated&&ue(this._container,0),clearTimeout(this._removeTimeout),this.getPane().appendChild(this._container),this.update(),t._fadeAnimated&&ue(this._container,1),this.bringToFront()},onRemove:function(t){t._fadeAnimated?(ue(this._container,0),this._removeTimeout=setTimeout(i(ne,void 0,this._container),200)):ne(this._container)},getLatLng:function(){return this._latlng},setLatLng:function(t){return this._latlng=j(t),this._map&&(this._updatePosition(),this._adjustPan()),this},getContent:function(){return this._content},setContent:function(t){return this._content=t,this.update(),this},getElement:function(){return this._container},update:function(){this._map&&(this._container.style.visibility="hidden",this._updateContent(),this._updateLayout(),this._updatePosition(),this._container.style.visibility="",this._adjustPan())},getEvents:function(){var t={zoom:this._updatePosition,viewreset:this._updatePosition};return this._zoomAnimated&&(t.zoomanim=this._animateZoom),t},isOpen:function(){return!!this._map&&this._map.hasLayer(this)},bringToFront:function(){return this._map&&ae(this._container),this},bringToBack:function(){return this._map&&re(this._container),this},_prepareOpen:function(t,e,n){if(e instanceof Mn||(n=e,e=t),e instanceof kn)for(var i in t._layers){e=t._layers[i];break}if(!n)if(e.getCenter)n=e.getCenter();else{if(!e.getLatLng)throw new Error("Unable to get source layer LatLng.");n=e.getLatLng()}return this._source=e,this.update(),n},_updateContent:function(){if(this._content){var t=this._contentNode,e="function"==typeof this._content?this._content(this._source||this):this._content;if("string"==typeof e)t.innerHTML=e;else{for(;t.hasChildNodes();)t.removeChild(t.firstChild);t.appendChild(e)}this.fire("contentupdate")}},_updatePosition:function(){if(this._map){var t=this._map.latLngToLayerPoint(this._latlng),e=A(this.options.offset),n=this._getAnchor();this._zoomAnimated?pe(this._container,t.add(n)):e=e.add(t).add(n);var i=this._containerBottom=-e.y,a=this._containerLeft=-Math.round(this._containerWidth/2)+e.x;this._container.style.bottom=i+"px",this._container.style.left=a+"px"}},_getAnchor:function(){return[0,0]}}),Kn=Xn.extend({options:{maxWidth:300,minWidth:50,maxHeight:null,autoPan:!0,autoPanPaddingTopLeft:null,autoPanPaddingBottomRight:null,autoPanPadding:[5,5],keepInView:!1,closeButton:!0,autoClose:!0,closeOnEscapeKey:!0,className:""},openOn:function(t){return t.openPopup(this),this},onAdd:function(t){Xn.prototype.onAdd.call(this,t),t.fire("popupopen",{popup:this}),this._source&&(this._source.fire("popupopen",{popup:this},!0),this._source instanceof Dn||this._source.on("preclick",De))},onRemove:function(t){Xn.prototype.onRemove.call(this,t),t.fire("popupclose",{popup:this}),this._source&&(this._source.fire("popupclose",{popup:this},!0),this._source instanceof Dn||this._source.off("preclick",De))},getEvents:function(){var t=Xn.prototype.getEvents.call(this);return(void 0!==this.options.closeOnClick?this.options.closeOnClick:this._map.options.closePopupOnClick)&&(t.preclick=this._close),this.options.keepInView&&(t.moveend=this._adjustPan),t},_close:function(){this._map&&this._map.closePopup(this)},_initLayout:function(){var t="leaflet-popup",e=this._container=ee("div",t+" "+(this.options.className||"")+" leaflet-zoom-animated"),n=this._wrapper=ee("div",t+"-content-wrapper",e);if(this._contentNode=ee("div",t+"-content",n),Ae(e),Ee(this._contentNode),Me(e,"contextmenu",De),this._tipContainer=ee("div",t+"-tip-container",e),this._tip=ee("div",t+"-tip",this._tipContainer),this.options.closeButton){var i=this._closeButton=ee("a",t+"-close-button",e);i.href="#close",i.innerHTML="&#215;",Me(i,"click",this._onCloseButtonClick,this)}},_updateLayout:function(){var t=this._contentNode,e=t.style;e.width="",e.whiteSpace="nowrap";var n=t.offsetWidth;n=Math.min(n,this.options.maxWidth),n=Math.max(n,this.options.minWidth),e.width=n+1+"px",e.whiteSpace="",e.height="";var i=this.options.maxHeight;i&&t.offsetHeight>i?(e.height=i+"px",se(t,"leaflet-popup-scrolled")):le(t,"leaflet-popup-scrolled"),this._containerWidth=this._container.offsetWidth},_animateZoom:function(t){var e=this._map._latLngToNewLayerPoint(this._latlng,t.zoom,t.center),n=this._getAnchor();pe(this._container,e.add(n))},_adjustPan:function(){if(this.options.autoPan){this._map._panAnim&&this._map._panAnim.stop();var t=this._map,e=parseInt(te(this._container,"marginBottom"),10)||0,n=this._container.offsetHeight+e,i=this._containerWidth,a=new D(this._containerLeft,-n-this._containerBottom);a._add(fe(this._container));var r=t.layerPointToContainerPoint(a),o=A(this.options.autoPanPadding),s=A(this.options.autoPanPaddingTopLeft||o),l=A(this.options.autoPanPaddingBottomRight||o),c=t.getSize(),d=0,u=0;r.x+i+l.x>c.x&&(d=r.x+i-c.x+l.x),r.x-d-s.x<0&&(d=r.x-s.x),r.y+n+l.y>c.y&&(u=r.y+n-c.y+l.y),r.y-u-s.y<0&&(u=r.y-s.y),(d||u)&&t.fire("autopanstart").panBy([d,u])}},_onCloseButtonClick:function(t){this._close(),Re(t)},_getAnchor:function(){return A(this._source&&this._source._getPopupAnchor?this._source._getPopupAnchor():[0,0])}});Ue.mergeOptions({closePopupOnClick:!0}),Ue.include({openPopup:function(t,e,n){return t instanceof Kn||(t=new Kn(n).setContent(t)),e&&t.setLatLng(e),this.hasLayer(t)?this:(this._popup&&this._popup.options.autoClose&&this.closePopup(),this._popup=t,this.addLayer(t))},closePopup:function(t){return t&&t!==this._popup||(t=this._popup,this._popup=null),t&&this.removeLayer(t),this}}),Mn.include({bindPopup:function(t,e){return t instanceof Kn?(h(t,e),this._popup=t,t._source=this):(this._popup&&!e||(this._popup=new Kn(e,this)),this._popup.setContent(t)),this._popupHandlersAdded||(this.on({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!0),this},unbindPopup:function(){return this._popup&&(this.off({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!1,this._popup=null),this},openPopup:function(t,e){return this._popup&&this._map&&(e=this._popup._prepareOpen(this,t,e),this._map.openPopup(this._popup,e)),this},closePopup:function(){return this._popup&&this._popup._close(),this},togglePopup:function(t){return this._popup&&(this._popup._map?this.closePopup():this.openPopup(t)),this},isPopupOpen:function(){return!!this._popup&&this._popup.isOpen()},setPopupContent:function(t){return this._popup&&this._popup.setContent(t),this},getPopup:function(){return this._popup},_openPopup:function(t){var e=t.layer||t.target;this._popup&&this._map&&(Re(t),e instanceof Dn?this.openPopup(t.layer||t.target,t.latlng):this._map.hasLayer(this._popup)&&this._popup._source===e?this.closePopup():this.openPopup(e,t.latlng))},_movePopup:function(t){this._popup.setLatLng(t.latlng)},_onKeyPress:function(t){13===t.originalEvent.keyCode&&this._openPopup(t)}});var Qn=Xn.extend({options:{pane:"tooltipPane",offset:[0,0],direction:"auto",permanent:!1,sticky:!1,interactive:!1,opacity:.9},onAdd:function(t){Xn.prototype.onAdd.call(this,t),this.setOpacity(this.options.opacity),t.fire("tooltipopen",{tooltip:this}),this._source&&this._source.fire("tooltipopen",{tooltip:this},!0)},onRemove:function(t){Xn.prototype.onRemove.call(this,t),t.fire("tooltipclose",{tooltip:this}),this._source&&this._source.fire("tooltipclose",{tooltip:this},!0)},getEvents:function(){var t=Xn.prototype.getEvents.call(this);return wt&&!this.options.permanent&&(t.preclick=this._close),t},_close:function(){this._map&&this._map.closeTooltip(this)},_initLayout:function(){this._contentNode=this._container=ee("div","leaflet-tooltip "+(this.options.className||"")+" leaflet-zoom-"+(this._zoomAnimated?"animated":"hide"))},_updateLayout:function(){},_adjustPan:function(){},_setPosition:function(t){var e,n,i=this._map,a=this._container,r=i.latLngToContainerPoint(i.getCenter()),o=i.layerPointToContainerPoint(t),s=this.options.direction,l=a.offsetWidth,c=a.offsetHeight,d=A(this.options.offset),u=this._getAnchor();"top"===s?(e=l/2,n=c):"bottom"===s?(e=l/2,n=0):"center"===s?(e=l/2,n=c/2):"right"===s?(e=0,n=c/2):"left"===s?(e=l,n=c/2):o.x<r.x?(s="right",e=0,n=c/2):(s="left",e=l+2*(d.x+u.x),n=c/2),t=t.subtract(A(e,n,!0)).add(d).add(u),le(a,"leaflet-tooltip-right"),le(a,"leaflet-tooltip-left"),le(a,"leaflet-tooltip-top"),le(a,"leaflet-tooltip-bottom"),se(a,"leaflet-tooltip-"+s),pe(a,t)},_updatePosition:function(){var t=this._map.latLngToLayerPoint(this._latlng);this._setPosition(t)},setOpacity:function(t){this.options.opacity=t,this._container&&ue(this._container,t)},_animateZoom:function(t){var e=this._map._latLngToNewLayerPoint(this._latlng,t.zoom,t.center);this._setPosition(e)},_getAnchor:function(){return A(this._source&&this._source._getTooltipAnchor&&!this.options.sticky?this._source._getTooltipAnchor():[0,0])}});Ue.include({openTooltip:function(t,e,n){return t instanceof Qn||(t=new Qn(n).setContent(t)),e&&t.setLatLng(e),this.hasLayer(t)?this:this.addLayer(t)},closeTooltip:function(t){return t&&this.removeLayer(t),this}}),Mn.include({bindTooltip:function(t,e){return t instanceof Qn?(h(t,e),this._tooltip=t,t._source=this):(this._tooltip&&!e||(this._tooltip=new Qn(e,this)),this._tooltip.setContent(t)),this._initTooltipInteractions(),this._tooltip.options.permanent&&this._map&&this._map.hasLayer(this)&&this.openTooltip(),this},unbindTooltip:function(){return this._tooltip&&(this._initTooltipInteractions(!0),this.closeTooltip(),this._tooltip=null),this},_initTooltipInteractions:function(t){if(t||!this._tooltipHandlersAdded){var e=t?"off":"on",n={remove:this.closeTooltip,move:this._moveTooltip};this._tooltip.options.permanent?n.add=this._openTooltip:(n.mouseover=this._openTooltip,n.mouseout=this.closeTooltip,this._tooltip.options.sticky&&(n.mousemove=this._moveTooltip),wt&&(n.click=this._openTooltip)),this[e](n),this._tooltipHandlersAdded=!t}},openTooltip:function(t,e){return this._tooltip&&this._map&&(e=this._tooltip._prepareOpen(this,t,e),this._map.openTooltip(this._tooltip,e),this._tooltip.options.interactive&&this._tooltip._container&&(se(this._tooltip._container,"leaflet-clickable"),this.addInteractiveTarget(this._tooltip._container))),this},closeTooltip:function(){return this._tooltip&&(this._tooltip._close(),this._tooltip.options.interactive&&this._tooltip._container&&(le(this._tooltip._container,"leaflet-clickable"),this.removeInteractiveTarget(this._tooltip._container))),this},toggleTooltip:function(t){return this._tooltip&&(this._tooltip._map?this.closeTooltip():this.openTooltip(t)),this},isTooltipOpen:function(){return this._tooltip.isOpen()},setTooltipContent:function(t){return this._tooltip&&this._tooltip.setContent(t),this},getTooltip:function(){return this._tooltip},_openTooltip:function(t){this._tooltip&&this._map&&this.openTooltip(t.layer||t.target,this._tooltip.options.sticky?t.latlng:void 0)},_moveTooltip:function(t){var e,n,i=t.latlng;this._tooltip.options.sticky&&t.originalEvent&&(e=this._map.mouseEventToContainerPoint(t.originalEvent),n=this._map.containerPointToLayerPoint(e),i=this._map.layerPointToLatLng(n)),this._tooltip.setLatLng(i)}});var ti=Sn.extend({options:{iconSize:[12,12],html:!1,bgPos:null,className:"leaflet-div-icon"},createIcon:function(t){var e=t&&"DIV"===t.tagName?t:document.createElement("div"),n=this.options;if(n.html instanceof Element?(ie(e),e.appendChild(n.html)):e.innerHTML=!1!==n.html?n.html:"",n.bgPos){var i=A(n.bgPos);e.style.backgroundPosition=-i.x+"px "+-i.y+"px"}return this._setIconStyles(e,"icon"),e},createShadow:function(){return null}});Sn.Default=Tn;var ei=Mn.extend({options:{tileSize:256,opacity:1,updateWhenIdle:bt,updateWhenZooming:!0,updateInterval:200,zIndex:1,bounds:null,minZoom:0,maxZoom:void 0,maxNativeZoom:void 0,minNativeZoom:void 0,noWrap:!1,pane:"tilePane",className:"",keepBuffer:2},initialize:function(t){h(this,t)},onAdd:function(){this._initContainer(),this._levels={},this._tiles={},this._resetView(),this._update()},beforeAdd:function(t){t._addZoomLimit(this)},onRemove:function(t){this._removeAllTiles(),ne(this._container),t._removeZoomLimit(this),this._container=null,this._tileZoom=void 0},bringToFront:function(){return this._map&&(ae(this._container),this._setAutoZIndex(Math.max)),this},bringToBack:function(){return this._map&&(re(this._container),this._setAutoZIndex(Math.min)),this},getContainer:function(){return this._container},setOpacity:function(t){return this.options.opacity=t,this._updateOpacity(),this},setZIndex:function(t){return this.options.zIndex=t,this._updateZIndex(),this},isLoading:function(){return this._loading},redraw:function(){return this._map&&(this._removeAllTiles(),this._update()),this},getEvents:function(){var t={viewprereset:this._invalidateAll,viewreset:this._resetView,zoom:this._resetView,moveend:this._onMoveEnd};return this.options.updateWhenIdle||(this._onMove||(this._onMove=o(this._onMoveEnd,this.options.updateInterval,this)),t.move=this._onMove),this._zoomAnimated&&(t.zoomanim=this._animateZoom),t},createTile:function(){return document.createElement("div")},getTileSize:function(){var t=this.options.tileSize;return t instanceof D?t:new D(t,t)},_updateZIndex:function(){this._container&&null!=this.options.zIndex&&(this._container.style.zIndex=this.options.zIndex)},_setAutoZIndex:function(t){for(var e,n=this.getPane().children,i=-t(-1/0,1/0),a=0,r=n.length;a<r;a++)e=n[a].style.zIndex,n[a]!==this._container&&e&&(i=t(i,+e));isFinite(i)&&(this.options.zIndex=i+t(-1,1),this._updateZIndex())},_updateOpacity:function(){if(this._map&&!Q){ue(this._container,this.options.opacity);var t=+new Date,e=!1,n=!1;for(var i in this._tiles){var a=this._tiles[i];if(a.current&&a.loaded){var r=Math.min(1,(t-a.loaded)/200);ue(a.el,r),r<1?e=!0:(a.active?n=!0:this._onOpaqueTile(a),a.active=!0)}}n&&!this._noPrune&&this._pruneTiles(),e&&(O(this._fadeFrame),this._fadeFrame=M(this._updateOpacity,this))}},_onOpaqueTile:l,_initContainer:function(){this._container||(this._container=ee("div","leaflet-layer "+(this.options.className||"")),this._updateZIndex(),this.options.opacity<1&&this._updateOpacity(),this.getPane().appendChild(this._container))},_updateLevels:function(){var t=this._tileZoom,e=this.options.maxZoom;if(void 0!==t){for(var n in this._levels)n=Number(n),this._levels[n].el.children.length||n===t?(this._levels[n].el.style.zIndex=e-Math.abs(t-n),this._onUpdateLevel(n)):(ne(this._levels[n].el),this._removeTilesAtZoom(n),this._onRemoveLevel(n),delete this._levels[n]);var i=this._levels[t],a=this._map;return i||((i=this._levels[t]={}).el=ee("div","leaflet-tile-container leaflet-zoom-animated",this._container),i.el.style.zIndex=e,i.origin=a.project(a.unproject(a.getPixelOrigin()),t).round(),i.zoom=t,this._setZoomTransform(i,a.getCenter(),a.getZoom()),this._onCreateLevel(i)),this._level=i,i}},_onUpdateLevel:l,_onRemoveLevel:l,_onCreateLevel:l,_pruneTiles:function(){if(this._map){var t,e,n=this._map.getZoom();if(n>this.options.maxZoom||n<this.options.minZoom)this._removeAllTiles();else{for(t in this._tiles)(e=this._tiles[t]).retain=e.current;for(t in this._tiles)if((e=this._tiles[t]).current&&!e.active){var i=e.coords;this._retainParent(i.x,i.y,i.z,i.z-5)||this._retainChildren(i.x,i.y,i.z,i.z+2)}for(t in this._tiles)this._tiles[t].retain||this._removeTile(t)}}},_removeTilesAtZoom:function(t){for(var e in this._tiles)this._tiles[e].coords.z===t&&this._removeTile(e)},_removeAllTiles:function(){for(var t in this._tiles)this._removeTile(t)},_invalidateAll:function(){for(var t in this._levels)ne(this._levels[t].el),this._onRemoveLevel(Number(t)),delete this._levels[t];this._removeAllTiles(),this._tileZoom=void 0},_retainParent:function(t,e,n,i){var a=Math.floor(t/2),r=Math.floor(e/2),o=n-1,s=new D(+a,+r);s.z=+o;var l=this._tileCoordsToKey(s),c=this._tiles[l];return c&&c.active?(c.retain=!0,!0):(c&&c.loaded&&(c.retain=!0),o>i&&this._retainParent(a,r,o,i))},_retainChildren:function(t,e,n,i){for(var a=2*t;a<2*t+2;a++)for(var r=2*e;r<2*e+2;r++){var o=new D(a,r);o.z=n+1;var s=this._tileCoordsToKey(o),l=this._tiles[s];l&&l.active?l.retain=!0:(l&&l.loaded&&(l.retain=!0),n+1<i&&this._retainChildren(a,r,n+1,i))}},_resetView:function(t){var e=t&&(t.pinch||t.flyTo);this._setView(this._map.getCenter(),this._map.getZoom(),e,e)},_animateZoom:function(t){this._setView(t.center,t.zoom,!0,t.noUpdate)},_clampZoom:function(t){var e=this.options;return void 0!==e.minNativeZoom&&t<e.minNativeZoom?e.minNativeZoom:void 0!==e.maxNativeZoom&&e.maxNativeZoom<t?e.maxNativeZoom:t},_setView:function(t,e,n,i){var a=Math.round(e);a=void 0!==this.options.maxZoom&&a>this.options.maxZoom||void 0!==this.options.minZoom&&a<this.options.minZoom?void 0:this._clampZoom(a),i&&!(this.options.updateWhenZooming&&a!==this._tileZoom)||(this._tileZoom=a,this._abortLoading&&this._abortLoading(),this._updateLevels(),this._resetGrid(),void 0!==a&&this._update(t),n||this._pruneTiles(),this._noPrune=!!n),this._setZoomTransforms(t,e)},_setZoomTransforms:function(t,e){for(var n in this._levels)this._setZoomTransform(this._levels[n],t,e)},_setZoomTransform:function(t,e,n){var i=this._map.getZoomScale(n,t.zoom),a=t.origin.multiplyBy(i).subtract(this._map._getNewPixelOrigin(e,n)).round();gt?me(t.el,a,i):pe(t.el,a)},_resetGrid:function(){var t=this._map,e=t.options.crs,n=this._tileSize=this.getTileSize(),i=this._tileZoom,a=this._map.getPixelWorldBounds(this._tileZoom);a&&(this._globalTileRange=this._pxBoundsToTileRange(a)),this._wrapX=e.wrapLng&&!this.options.noWrap&&[Math.floor(t.project([0,e.wrapLng[0]],i).x/n.x),Math.ceil(t.project([0,e.wrapLng[1]],i).x/n.y)],this._wrapY=e.wrapLat&&!this.options.noWrap&&[Math.floor(t.project([e.wrapLat[0],0],i).y/n.x),Math.ceil(t.project([e.wrapLat[1],0],i).y/n.y)]},_onMoveEnd:function(){this._map&&!this._map._animatingZoom&&this._update()},_getTiledPixelBounds:function(t){var e=this._map,n=e._animatingZoom?Math.max(e._animateToZoom,e.getZoom()):e.getZoom(),i=e.getZoomScale(n,this._tileZoom),a=e.project(t,this._tileZoom).floor(),r=e.getSize().divideBy(2*i);return new I(a.subtract(r),a.add(r))},_update:function(t){var e=this._map;if(e){var n=this._clampZoom(e.getZoom());if(void 0===t&&(t=e.getCenter()),void 0!==this._tileZoom){var i=this._getTiledPixelBounds(t),a=this._pxBoundsToTileRange(i),r=a.getCenter(),o=[],s=this.options.keepBuffer,l=new I(a.getBottomLeft().subtract([s,-s]),a.getTopRight().add([s,-s]));if(!(isFinite(a.min.x)&&isFinite(a.min.y)&&isFinite(a.max.x)&&isFinite(a.max.y)))throw new Error("Attempted to load an infinite number of tiles");for(var c in this._tiles){var d=this._tiles[c].coords;d.z===this._tileZoom&&l.contains(new D(d.x,d.y))||(this._tiles[c].current=!1)}if(Math.abs(n-this._tileZoom)>1)this._setView(t,n);else{for(var u=a.min.y;u<=a.max.y;u++)for(var h=a.min.x;h<=a.max.x;h++){var m=new D(h,u);if(m.z=this._tileZoom,this._isValidTile(m)){var p=this._tiles[this._tileCoordsToKey(m)];p?p.current=!0:o.push(m)}}if(o.sort(function(t,e){return t.distanceTo(r)-e.distanceTo(r)}),0!==o.length){this._loading||(this._loading=!0,this.fire("loading"));var f=document.createDocumentFragment();for(h=0;h<o.length;h++)this._addTile(o[h],f);this._level.el.appendChild(f)}}}}},_isValidTile:function(t){var e=this._map.options.crs;if(!e.infinite){var n=this._globalTileRange;if(!e.wrapLng&&(t.x<n.min.x||t.x>n.max.x)||!e.wrapLat&&(t.y<n.min.y||t.y>n.max.y))return!1}if(!this.options.bounds)return!0;var i=this._tileCoordsToBounds(t);return Y(this.options.bounds).overlaps(i)},_keyToBounds:function(t){return this._tileCoordsToBounds(this._keyToTileCoords(t))},_tileCoordsToNwSe:function(t){var e=this._map,n=this.getTileSize(),i=t.scaleBy(n),a=i.add(n);return[e.unproject(i,t.z),e.unproject(a,t.z)]},_tileCoordsToBounds:function(t){var e=this._tileCoordsToNwSe(t),n=new N(e[0],e[1]);return this.options.noWrap||(n=this._map.wrapLatLngBounds(n)),n},_tileCoordsToKey:function(t){return t.x+":"+t.y+":"+t.z},_keyToTileCoords:function(t){var e=t.split(":"),n=new D(+e[0],+e[1]);return n.z=+e[2],n},_removeTile:function(t){var e=this._tiles[t];e&&(ne(e.el),delete this._tiles[t],this.fire("tileunload",{tile:e.el,coords:this._keyToTileCoords(t)}))},_initTile:function(t){se(t,"leaflet-tile");var e=this.getTileSize();t.style.width=e.x+"px",t.style.height=e.y+"px",t.onselectstart=l,t.onmousemove=l,Q&&this.options.opacity<1&&ue(t,this.options.opacity),nt&&!it&&(t.style.WebkitBackfaceVisibility="hidden")},_addTile:function(t,e){var n=this._getTilePos(t),a=this._tileCoordsToKey(t),r=this.createTile(this._wrapCoords(t),i(this._tileReady,this,t));this._initTile(r),this.createTile.length<2&&M(i(this._tileReady,this,t,null,r)),pe(r,n),this._tiles[a]={el:r,coords:t,current:!0},e.appendChild(r),this.fire("tileloadstart",{tile:r,coords:t})},_tileReady:function(t,e,n){e&&this.fire("tileerror",{error:e,tile:n,coords:t});var a=this._tileCoordsToKey(t);(n=this._tiles[a])&&(n.loaded=+new Date,this._map._fadeAnimated?(ue(n.el,0),O(this._fadeFrame),this._fadeFrame=M(this._updateOpacity,this)):(n.active=!0,this._pruneTiles()),e||(se(n.el,"leaflet-tile-loaded"),this.fire("tileload",{tile:n.el,coords:t})),this._noTilesToLoad()&&(this._loading=!1,this.fire("load"),Q||!this._map._fadeAnimated?M(this._pruneTiles,this):setTimeout(i(this._pruneTiles,this),250)))},_getTilePos:function(t){return t.scaleBy(this.getTileSize()).subtract(this._level.origin)},_wrapCoords:function(t){var e=new D(this._wrapX?s(t.x,this._wrapX):t.x,this._wrapY?s(t.y,this._wrapY):t.y);return e.z=t.z,e},_pxBoundsToTileRange:function(t){var e=this.getTileSize();return new I(t.min.unscaleBy(e).floor(),t.max.unscaleBy(e).ceil().subtract([1,1]))},_noTilesToLoad:function(){for(var t in this._tiles)if(!this._tiles[t].loaded)return!1;return!0}}),ni=ei.extend({options:{minZoom:0,maxZoom:18,subdomains:"abc",errorTileUrl:"",zoomOffset:0,tms:!1,zoomReverse:!1,detectRetina:!1,crossOrigin:!1},initialize:function(t,e){this._url=t,(e=h(this,e)).detectRetina&&Ot&&e.maxZoom>0&&(e.tileSize=Math.floor(e.tileSize/2),e.zoomReverse?(e.zoomOffset--,e.minZoom++):(e.zoomOffset++,e.maxZoom--),e.minZoom=Math.max(0,e.minZoom)),"string"==typeof e.subdomains&&(e.subdomains=e.subdomains.split("")),nt||this.on("tileunload",this._onTileRemove)},setUrl:function(t,e){return this._url===t&&void 0===e&&(e=!0),this._url=t,e||this.redraw(),this},createTile:function(t,e){var n=document.createElement("img");return Me(n,"load",i(this._tileOnLoad,this,e,n)),Me(n,"error",i(this._tileOnError,this,e,n)),(this.options.crossOrigin||""===this.options.crossOrigin)&&(n.crossOrigin=!0===this.options.crossOrigin?"":this.options.crossOrigin),n.alt="",n.setAttribute("role","presentation"),n.src=this.getTileUrl(t),n},getTileUrl:function(t){var n={r:Ot?"@2x":"",s:this._getSubdomain(t),x:t.x,y:t.y,z:this._getZoomForUrl()};if(this._map&&!this._map.options.crs.infinite){var i=this._globalTileRange.max.y-t.y;this.options.tms&&(n.y=i),n["-y"]=i}return f(this._url,e(n,this.options))},_tileOnLoad:function(t,e){Q?setTimeout(i(t,this,null,e),0):t(null,e)},_tileOnError:function(t,e,n){var i=this.options.errorTileUrl;i&&e.getAttribute("src")!==i&&(e.src=i),t(n,e)},_onTileRemove:function(t){t.tile.onload=null},_getZoomForUrl:function(){var t=this._tileZoom;return this.options.zoomReverse&&(t=this.options.maxZoom-t),t+this.options.zoomOffset},_getSubdomain:function(t){var e=Math.abs(t.x+t.y)%this.options.subdomains.length;return this.options.subdomains[e]},_abortLoading:function(){var t,e;for(t in this._tiles)this._tiles[t].coords.z!==this._tileZoom&&((e=this._tiles[t].el).onload=l,e.onerror=l,e.complete||(e.src=_,ne(e),delete this._tiles[t]))},_removeTile:function(t){var e=this._tiles[t];if(e)return rt||e.el.setAttribute("src",_),ei.prototype._removeTile.call(this,t)},_tileReady:function(t,e,n){if(this._map&&(!n||n.getAttribute("src")!==_))return ei.prototype._tileReady.call(this,t,e,n)}});function ii(t,e){return new ni(t,e)}var ai=ni.extend({defaultWmsParams:{service:"WMS",request:"GetMap",layers:"",styles:"",format:"image/jpeg",transparent:!1,version:"1.1.1"},options:{crs:null,uppercase:!1},initialize:function(t,n){this._url=t;var i=e({},this.defaultWmsParams);for(var a in n)a in this.options||(i[a]=n[a]);var r=(n=h(this,n)).detectRetina&&Ot?2:1,o=this.getTileSize();i.width=o.x*r,i.height=o.y*r,this.wmsParams=i},onAdd:function(t){this._crs=this.options.crs||t.options.crs,this._wmsVersion=parseFloat(this.wmsParams.version),this.wmsParams[this._wmsVersion>=1.3?"crs":"srs"]=this._crs.code,ni.prototype.onAdd.call(this,t)},getTileUrl:function(t){var e=this._tileCoordsToNwSe(t),n=this._crs,i=R(n.project(e[0]),n.project(e[1])),a=i.min,r=i.max,o=(this._wmsVersion>=1.3&&this._crs===wn?[a.y,a.x,r.y,r.x]:[a.x,a.y,r.x,r.y]).join(","),s=ni.prototype.getTileUrl.call(this,t);return s+m(this.wmsParams,s,this.options.uppercase)+(this.options.uppercase?"&BBOX=":"&bbox=")+o},setParams:function(t,n){return e(this.wmsParams,t),n||this.redraw(),this}});ni.WMS=ai,ii.wms=function(t,e){return new ai(t,e)};var ri=Mn.extend({options:{padding:.1,tolerance:0},initialize:function(t){h(this,t),r(this),this._layers=this._layers||{}},onAdd:function(){this._container||(this._initContainer(),this._zoomAnimated&&se(this._container,"leaflet-zoom-animated")),this.getPane().appendChild(this._container),this._update(),this.on("update",this._updatePaths,this)},onRemove:function(){this.off("update",this._updatePaths,this),this._destroyContainer()},getEvents:function(){var t={viewreset:this._reset,zoom:this._onZoom,moveend:this._update,zoomend:this._onZoomEnd};return this._zoomAnimated&&(t.zoomanim=this._onAnimZoom),t},_onAnimZoom:function(t){this._updateTransform(t.center,t.zoom)},_onZoom:function(){this._updateTransform(this._map.getCenter(),this._map.getZoom())},_updateTransform:function(t,e){var n=this._map.getZoomScale(e,this._zoom),i=fe(this._container),a=this._map.getSize().multiplyBy(.5+this.options.padding),r=this._map.project(this._center,e),o=this._map.project(t,e).subtract(r),s=a.multiplyBy(-n).add(i).add(a).subtract(o);gt?me(this._container,s,n):pe(this._container,s)},_reset:function(){for(var t in this._update(),this._updateTransform(this._center,this._zoom),this._layers)this._layers[t]._reset()},_onZoomEnd:function(){for(var t in this._layers)this._layers[t]._project()},_updatePaths:function(){for(var t in this._layers)this._layers[t]._update()},_update:function(){var t=this.options.padding,e=this._map.getSize(),n=this._map.containerPointToLayerPoint(e.multiplyBy(-t)).round();this._bounds=new I(n,n.add(e.multiplyBy(1+2*t)).round()),this._center=this._map.getCenter(),this._zoom=this._map.getZoom()}}),oi=ri.extend({getEvents:function(){var t=ri.prototype.getEvents.call(this);return t.viewprereset=this._onViewPreReset,t},_onViewPreReset:function(){this._postponeUpdatePaths=!0},onAdd:function(){ri.prototype.onAdd.call(this),this._draw()},_initContainer:function(){var t=this._container=document.createElement("canvas");Me(t,"mousemove",this._onMouseMove,this),Me(t,"click dblclick mousedown mouseup contextmenu",this._onClick,this),Me(t,"mouseout",this._handleMouseOut,this),this._ctx=t.getContext("2d")},_destroyContainer:function(){O(this._redrawRequest),delete this._ctx,ne(this._container),ke(this._container),delete this._container},_updatePaths:function(){if(!this._postponeUpdatePaths){for(var t in this._redrawBounds=null,this._layers)this._layers[t]._update();this._redraw()}},_update:function(){if(!this._map._animatingZoom||!this._bounds){ri.prototype._update.call(this);var t=this._bounds,e=this._container,n=t.getSize(),i=Ot?2:1;pe(e,t.min),e.width=i*n.x,e.height=i*n.y,e.style.width=n.x+"px",e.style.height=n.y+"px",Ot&&this._ctx.scale(2,2),this._ctx.translate(-t.min.x,-t.min.y),this.fire("update")}},_reset:function(){ri.prototype._reset.call(this),this._postponeUpdatePaths&&(this._postponeUpdatePaths=!1,this._updatePaths())},_initPath:function(t){this._updateDashArray(t),this._layers[r(t)]=t;var e=t._order={layer:t,prev:this._drawLast,next:null};this._drawLast&&(this._drawLast.next=e),this._drawLast=e,this._drawFirst=this._drawFirst||this._drawLast},_addPath:function(t){this._requestRedraw(t)},_removePath:function(t){var e=t._order,n=e.next,i=e.prev;n?n.prev=i:this._drawLast=i,i?i.next=n:this._drawFirst=n,delete t._order,delete this._layers[r(t)],this._requestRedraw(t)},_updatePath:function(t){this._extendRedrawBounds(t),t._project(),t._update(),this._requestRedraw(t)},_updateStyle:function(t){this._updateDashArray(t),this._requestRedraw(t)},_updateDashArray:function(t){if("string"==typeof t.options.dashArray){var e,n,i=t.options.dashArray.split(/[, ]+/),a=[];for(n=0;n<i.length;n++){if(e=Number(i[n]),isNaN(e))return;a.push(e)}t.options._dashArray=a}else t.options._dashArray=t.options.dashArray},_requestRedraw:function(t){this._map&&(this._extendRedrawBounds(t),this._redrawRequest=this._redrawRequest||M(this._redraw,this))},_extendRedrawBounds:function(t){if(t._pxBounds){var e=(t.options.weight||0)+1;this._redrawBounds=this._redrawBounds||new I,this._redrawBounds.extend(t._pxBounds.min.subtract([e,e])),this._redrawBounds.extend(t._pxBounds.max.add([e,e]))}},_redraw:function(){this._redrawRequest=null,this._redrawBounds&&(this._redrawBounds.min._floor(),this._redrawBounds.max._ceil()),this._clear(),this._draw(),this._redrawBounds=null},_clear:function(){var t=this._redrawBounds;if(t){var e=t.getSize();this._ctx.clearRect(t.min.x,t.min.y,e.x,e.y)}else this._ctx.save(),this._ctx.setTransform(1,0,0,1,0,0),this._ctx.clearRect(0,0,this._container.width,this._container.height),this._ctx.restore()},_draw:function(){var t,e=this._redrawBounds;if(this._ctx.save(),e){var n=e.getSize();this._ctx.beginPath(),this._ctx.rect(e.min.x,e.min.y,n.x,n.y),this._ctx.clip()}this._drawing=!0;for(var i=this._drawFirst;i;i=i.next)t=i.layer,(!e||t._pxBounds&&t._pxBounds.intersects(e))&&t._updatePath();this._drawing=!1,this._ctx.restore()},_updatePoly:function(t,e){if(this._drawing){var n,i,a,r,o=t._parts,s=o.length,l=this._ctx;if(s){for(l.beginPath(),n=0;n<s;n++){for(i=0,a=o[n].length;i<a;i++)l[i?"lineTo":"moveTo"]((r=o[n][i]).x,r.y);e&&l.closePath()}this._fillStroke(l,t)}}},_updateCircle:function(t){if(this._drawing&&!t._empty()){var e=t._point,n=this._ctx,i=Math.max(Math.round(t._radius),1),a=(Math.max(Math.round(t._radiusY),1)||i)/i;1!==a&&(n.save(),n.scale(1,a)),n.beginPath(),n.arc(e.x,e.y/a,i,0,2*Math.PI,!1),1!==a&&n.restore(),this._fillStroke(n,t)}},_fillStroke:function(t,e){var n=e.options;n.fill&&(t.globalAlpha=n.fillOpacity,t.fillStyle=n.fillColor||n.color,t.fill(n.fillRule||"evenodd")),n.stroke&&0!==n.weight&&(t.setLineDash&&t.setLineDash(e.options&&e.options._dashArray||[]),t.globalAlpha=n.opacity,t.lineWidth=n.weight,t.strokeStyle=n.color,t.lineCap=n.lineCap,t.lineJoin=n.lineJoin,t.stroke())},_onClick:function(t){for(var e,n,i=this._map.mouseEventToLayerPoint(t),a=this._drawFirst;a;a=a.next)(e=a.layer).options.interactive&&e._containsPoint(i)&&("click"!==t.type&&"preclick"===t.type||!this._map._draggableMoved(e))&&(n=e);n&&(Fe(t),this._fireEvent([n],t))},_onMouseMove:function(t){if(this._map&&!this._map.dragging.moving()&&!this._map._animatingZoom){var e=this._map.mouseEventToLayerPoint(t);this._handleMouseHover(t,e)}},_handleMouseOut:function(t){var e=this._hoveredLayer;e&&(le(this._container,"leaflet-interactive"),this._fireEvent([e],t,"mouseout"),this._hoveredLayer=null,this._mouseHoverThrottled=!1)},_handleMouseHover:function(t,e){if(!this._mouseHoverThrottled){for(var n,a,r=this._drawFirst;r;r=r.next)(n=r.layer).options.interactive&&n._containsPoint(e)&&(a=n);a!==this._hoveredLayer&&(this._handleMouseOut(t),a&&(se(this._container,"leaflet-interactive"),this._fireEvent([a],t,"mouseover"),this._hoveredLayer=a)),this._hoveredLayer&&this._fireEvent([this._hoveredLayer],t),this._mouseHoverThrottled=!0,setTimeout(i(function(){this._mouseHoverThrottled=!1},this),32)}},_fireEvent:function(t,e,n){this._map._fireDOMEvent(e,n||e.type,t)},_bringToFront:function(t){var e=t._order;if(e){var n=e.next,i=e.prev;n&&(n.prev=i,i?i.next=n:n&&(this._drawFirst=n),e.prev=this._drawLast,this._drawLast.next=e,e.next=null,this._drawLast=e,this._requestRedraw(t))}},_bringToBack:function(t){var e=t._order;if(e){var n=e.next,i=e.prev;i&&(i.next=n,n?n.prev=i:i&&(this._drawLast=i),e.prev=null,e.next=this._drawFirst,this._drawFirst.prev=e,this._drawFirst=e,this._requestRedraw(t))}}});function si(t){return St?new oi(t):null}var li=function(){try{return document.namespaces.add("lvml","urn:schemas-microsoft-com:vml"),function(t){return document.createElement("<lvml:"+t+' class="lvml">')}}catch(t){return function(t){return document.createElement("<"+t+' xmlns="urn:schemas-microsoft.com:vml" class="lvml">')}}}(),ci={_initContainer:function(){this._container=ee("div","leaflet-vml-container")},_update:function(){this._map._animatingZoom||(ri.prototype._update.call(this),this.fire("update"))},_initPath:function(t){var e=t._container=li("shape");se(e,"leaflet-vml-shape "+(this.options.className||"")),e.coordsize="1 1",t._path=li("path"),e.appendChild(t._path),this._updateStyle(t),this._layers[r(t)]=t},_addPath:function(t){var e=t._container;this._container.appendChild(e),t.options.interactive&&t.addInteractiveTarget(e)},_removePath:function(t){var e=t._container;ne(e),t.removeInteractiveTarget(e),delete this._layers[r(t)]},_updateStyle:function(t){var e=t._stroke,n=t._fill,i=t.options,a=t._container;a.stroked=!!i.stroke,a.filled=!!i.fill,i.stroke?(e||(e=t._stroke=li("stroke")),a.appendChild(e),e.weight=i.weight+"px",e.color=i.color,e.opacity=i.opacity,e.dashStyle=i.dashArray?g(i.dashArray)?i.dashArray.join(" "):i.dashArray.replace(/( *, *)/g," "):"",e.endcap=i.lineCap.replace("butt","flat"),e.joinstyle=i.lineJoin):e&&(a.removeChild(e),t._stroke=null),i.fill?(n||(n=t._fill=li("fill")),a.appendChild(n),n.color=i.fillColor||i.color,n.opacity=i.fillOpacity):n&&(a.removeChild(n),t._fill=null)},_updateCircle:function(t){var e=t._point.round(),n=Math.round(t._radius),i=Math.round(t._radiusY||n);this._setPath(t,t._empty()?"M0 0":"AL "+e.x+","+e.y+" "+n+","+i+" 0,23592600")},_setPath:function(t,e){t._path.v=e},_bringToFront:function(t){ae(t._container)},_bringToBack:function(t){re(t._container)}},di=Pt?li:Z,ui=ri.extend({getEvents:function(){var t=ri.prototype.getEvents.call(this);return t.zoomstart=this._onZoomStart,t},_initContainer:function(){this._container=di("svg"),this._container.setAttribute("pointer-events","none"),this._rootGroup=di("g"),this._container.appendChild(this._rootGroup)},_destroyContainer:function(){ne(this._container),ke(this._container),delete this._container,delete this._rootGroup,delete this._svgSize},_onZoomStart:function(){this._update()},_update:function(){if(!this._map._animatingZoom||!this._bounds){ri.prototype._update.call(this);var t=this._bounds,e=t.getSize(),n=this._container;this._svgSize&&this._svgSize.equals(e)||(this._svgSize=e,n.setAttribute("width",e.x),n.setAttribute("height",e.y)),pe(n,t.min),n.setAttribute("viewBox",[t.min.x,t.min.y,e.x,e.y].join(" ")),this.fire("update")}},_initPath:function(t){var e=t._path=di("path");t.options.className&&se(e,t.options.className),t.options.interactive&&se(e,"leaflet-interactive"),this._updateStyle(t),this._layers[r(t)]=t},_addPath:function(t){this._rootGroup||this._initContainer(),this._rootGroup.appendChild(t._path),t.addInteractiveTarget(t._path)},_removePath:function(t){ne(t._path),t.removeInteractiveTarget(t._path),delete this._layers[r(t)]},_updatePath:function(t){t._project(),t._update()},_updateStyle:function(t){var e=t._path,n=t.options;e&&(n.stroke?(e.setAttribute("stroke",n.color),e.setAttribute("stroke-opacity",n.opacity),e.setAttribute("stroke-width",n.weight),e.setAttribute("stroke-linecap",n.lineCap),e.setAttribute("stroke-linejoin",n.lineJoin),n.dashArray?e.setAttribute("stroke-dasharray",n.dashArray):e.removeAttribute("stroke-dasharray"),n.dashOffset?e.setAttribute("stroke-dashoffset",n.dashOffset):e.removeAttribute("stroke-dashoffset")):e.setAttribute("stroke","none"),n.fill?(e.setAttribute("fill",n.fillColor||n.color),e.setAttribute("fill-opacity",n.fillOpacity),e.setAttribute("fill-rule",n.fillRule||"evenodd")):e.setAttribute("fill","none"))},_updatePoly:function(t,e){this._setPath(t,$(t._parts,e))},_updateCircle:function(t){var e=t._point,n=Math.max(Math.round(t._radius),1),i="a"+n+","+(Math.max(Math.round(t._radiusY),1)||n)+" 0 1,0 ",a=t._empty()?"M0 0":"M"+(e.x-n)+","+e.y+i+2*n+",0 "+i+2*-n+",0 ";this._setPath(t,a)},_setPath:function(t,e){t._path.setAttribute("d",e)},_bringToFront:function(t){ae(t._path)},_bringToBack:function(t){re(t._path)}});function hi(t){return Tt||Pt?new ui(t):null}Pt&&ui.include(ci),Ue.include({getRenderer:function(t){var e=t.options.renderer||this._getPaneRenderer(t.options.pane)||this.options.renderer||this._renderer;return e||(e=this._renderer=this._createRenderer()),this.hasLayer(e)||this.addLayer(e),e},_getPaneRenderer:function(t){if("overlayPane"===t||void 0===t)return!1;var e=this._paneRenderers[t];return void 0===e&&(e=this._createRenderer({pane:t}),this._paneRenderers[t]=e),e},_createRenderer:function(t){return this.options.preferCanvas&&si(t)||hi(t)}});var mi=Rn.extend({initialize:function(t,e){Rn.prototype.initialize.call(this,this._boundsToLatLngs(t),e)},setBounds:function(t){return this.setLatLngs(this._boundsToLatLngs(t))},_boundsToLatLngs:function(t){return[(t=Y(t)).getSouthWest(),t.getNorthWest(),t.getNorthEast(),t.getSouthEast()]}});ui.create=di,ui.pointsToPath=$,Nn.geometryToLayer=Yn,Nn.coordsToLatLng=jn,Nn.coordsToLatLngs=Fn,Nn.latLngToCoords=zn,Nn.latLngsToCoords=Vn,Nn.getFeature=Bn,Nn.asFeature=Wn,Ue.mergeOptions({boxZoom:!0});var pi=Ke.extend({initialize:function(t){this._map=t,this._container=t._container,this._pane=t._panes.overlayPane,this._resetStateTimeout=0,t.on("unload",this._destroy,this)},addHooks:function(){Me(this._container,"mousedown",this._onMouseDown,this)},removeHooks:function(){ke(this._container,"mousedown",this._onMouseDown,this)},moved:function(){return this._moved},_destroy:function(){ne(this._pane),delete this._pane},_resetState:function(){this._resetStateTimeout=0,this._moved=!1},_clearDeferredResetState:function(){0!==this._resetStateTimeout&&(clearTimeout(this._resetStateTimeout),this._resetStateTimeout=0)},_onMouseDown:function(t){if(!t.shiftKey||1!==t.which&&1!==t.button)return!1;this._clearDeferredResetState(),this._resetState(),Vt(),be(),this._startPoint=this._map.mouseEventToContainerPoint(t),Me(document,{contextmenu:Re,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseMove:function(t){this._moved||(this._moved=!0,this._box=ee("div","leaflet-zoom-box",this._container),se(this._container,"leaflet-crosshair"),this._map.fire("boxzoomstart")),this._point=this._map.mouseEventToContainerPoint(t);var e=new I(this._point,this._startPoint),n=e.getSize();pe(this._box,e.min),this._box.style.width=n.x+"px",this._box.style.height=n.y+"px"},_finish:function(){this._moved&&(ne(this._box),le(this._container,"leaflet-crosshair")),Bt(),_e(),ke(document,{contextmenu:Re,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseUp:function(t){if((1===t.which||1===t.button)&&(this._finish(),this._moved)){this._clearDeferredResetState(),this._resetStateTimeout=setTimeout(i(this._resetState,this),0);var e=new N(this._map.containerPointToLatLng(this._startPoint),this._map.containerPointToLatLng(this._point));this._map.fitBounds(e).fire("boxzoomend",{boxZoomBounds:e})}},_onKeyDown:function(t){27===t.keyCode&&this._finish()}});Ue.addInitHook("addHandler","boxZoom",pi),Ue.mergeOptions({doubleClickZoom:!0});var fi=Ke.extend({addHooks:function(){this._map.on("dblclick",this._onDoubleClick,this)},removeHooks:function(){this._map.off("dblclick",this._onDoubleClick,this)},_onDoubleClick:function(t){var e=this._map,n=e.getZoom(),i=e.options.zoomDelta,a=t.originalEvent.shiftKey?n-i:n+i;"center"===e.options.doubleClickZoom?e.setZoom(a):e.setZoomAround(t.containerPoint,a)}});Ue.addInitHook("addHandler","doubleClickZoom",fi),Ue.mergeOptions({dragging:!0,inertia:!it,inertiaDeceleration:3400,inertiaMaxSpeed:1/0,easeLinearity:.2,worldCopyJump:!1,maxBoundsViscosity:0});var gi=Ke.extend({addHooks:function(){if(!this._draggable){var t=this._map;this._draggable=new rn(t._mapPane,t._container),this._draggable.on({dragstart:this._onDragStart,drag:this._onDrag,dragend:this._onDragEnd},this),this._draggable.on("predrag",this._onPreDragLimit,this),t.options.worldCopyJump&&(this._draggable.on("predrag",this._onPreDragWrap,this),t.on("zoomend",this._onZoomEnd,this),t.whenReady(this._onZoomEnd,this))}se(this._map._container,"leaflet-grab leaflet-touch-drag"),this._draggable.enable(),this._positions=[],this._times=[]},removeHooks:function(){le(this._map._container,"leaflet-grab"),le(this._map._container,"leaflet-touch-drag"),this._draggable.disable()},moved:function(){return this._draggable&&this._draggable._moved},moving:function(){return this._draggable&&this._draggable._moving},_onDragStart:function(){var t=this._map;if(t._stop(),this._map.options.maxBounds&&this._map.options.maxBoundsViscosity){var e=Y(this._map.options.maxBounds);this._offsetLimit=R(this._map.latLngToContainerPoint(e.getNorthWest()).multiplyBy(-1),this._map.latLngToContainerPoint(e.getSouthEast()).multiplyBy(-1).add(this._map.getSize())),this._viscosity=Math.min(1,Math.max(0,this._map.options.maxBoundsViscosity))}else this._offsetLimit=null;t.fire("movestart").fire("dragstart"),t.options.inertia&&(this._positions=[],this._times=[])},_onDrag:function(t){if(this._map.options.inertia){var e=this._lastTime=+new Date,n=this._lastPos=this._draggable._absPos||this._draggable._newPos;this._positions.push(n),this._times.push(e),this._prunePositions(e)}this._map.fire("move",t).fire("drag",t)},_prunePositions:function(t){for(;this._positions.length>1&&t-this._times[0]>50;)this._positions.shift(),this._times.shift()},_onZoomEnd:function(){var t=this._map.getSize().divideBy(2),e=this._map.latLngToLayerPoint([0,0]);this._initialWorldOffset=e.subtract(t).x,this._worldWidth=this._map.getPixelWorldBounds().getSize().x},_viscousLimit:function(t,e){return t-(t-e)*this._viscosity},_onPreDragLimit:function(){if(this._viscosity&&this._offsetLimit){var t=this._draggable._newPos.subtract(this._draggable._startPos),e=this._offsetLimit;t.x<e.min.x&&(t.x=this._viscousLimit(t.x,e.min.x)),t.y<e.min.y&&(t.y=this._viscousLimit(t.y,e.min.y)),t.x>e.max.x&&(t.x=this._viscousLimit(t.x,e.max.x)),t.y>e.max.y&&(t.y=this._viscousLimit(t.y,e.max.y)),this._draggable._newPos=this._draggable._startPos.add(t)}},_onPreDragWrap:function(){var t=this._worldWidth,e=Math.round(t/2),n=this._initialWorldOffset,i=this._draggable._newPos.x,a=(i-e+n)%t+e-n,r=(i+e+n)%t-e-n,o=Math.abs(a+n)<Math.abs(r+n)?a:r;this._draggable._absPos=this._draggable._newPos.clone(),this._draggable._newPos.x=o},_onDragEnd:function(t){var e=this._map,n=e.options,i=!n.inertia||this._times.length<2;if(e.fire("dragend",t),i)e.fire("moveend");else{this._prunePositions(+new Date);var a=this._lastPos.subtract(this._positions[0]),r=n.easeLinearity,o=a.multiplyBy(r/((this._lastTime-this._times[0])/1e3)),s=o.distanceTo([0,0]),l=Math.min(n.inertiaMaxSpeed,s),c=o.multiplyBy(l/s),d=l/(n.inertiaDeceleration*r),u=c.multiplyBy(-d/2).round();u.x||u.y?(u=e._limitOffset(u,e.options.maxBounds),M(function(){e.panBy(u,{duration:d,easeLinearity:r,noMoveStart:!0,animate:!0})})):e.fire("moveend")}}});Ue.addInitHook("addHandler","dragging",gi),Ue.mergeOptions({keyboard:!0,keyboardPanDelta:80});var bi=Ke.extend({keyCodes:{left:[37],right:[39],down:[40],up:[38],zoomIn:[187,107,61,171],zoomOut:[189,109,54,173]},initialize:function(t){this._map=t,this._setPanDelta(t.options.keyboardPanDelta),this._setZoomDelta(t.options.zoomDelta)},addHooks:function(){var t=this._map._container;t.tabIndex<=0&&(t.tabIndex="0"),Me(t,{focus:this._onFocus,blur:this._onBlur,mousedown:this._onMouseDown},this),this._map.on({focus:this._addHooks,blur:this._removeHooks},this)},removeHooks:function(){this._removeHooks(),ke(this._map._container,{focus:this._onFocus,blur:this._onBlur,mousedown:this._onMouseDown},this),this._map.off({focus:this._addHooks,blur:this._removeHooks},this)},_onMouseDown:function(){if(!this._focused){var t=document.body,e=document.documentElement,n=t.scrollTop||e.scrollTop,i=t.scrollLeft||e.scrollLeft;this._map._container.focus(),window.scrollTo(i,n)}},_onFocus:function(){this._focused=!0,this._map.fire("focus")},_onBlur:function(){this._focused=!1,this._map.fire("blur")},_setPanDelta:function(t){var e,n,i=this._panKeys={},a=this.keyCodes;for(e=0,n=a.left.length;e<n;e++)i[a.left[e]]=[-1*t,0];for(e=0,n=a.right.length;e<n;e++)i[a.right[e]]=[t,0];for(e=0,n=a.down.length;e<n;e++)i[a.down[e]]=[0,t];for(e=0,n=a.up.length;e<n;e++)i[a.up[e]]=[0,-1*t]},_setZoomDelta:function(t){var e,n,i=this._zoomKeys={},a=this.keyCodes;for(e=0,n=a.zoomIn.length;e<n;e++)i[a.zoomIn[e]]=t;for(e=0,n=a.zoomOut.length;e<n;e++)i[a.zoomOut[e]]=-t},_addHooks:function(){Me(document,"keydown",this._onKeyDown,this)},_removeHooks:function(){ke(document,"keydown",this._onKeyDown,this)},_onKeyDown:function(t){if(!(t.altKey||t.ctrlKey||t.metaKey)){var e,n=t.keyCode,i=this._map;if(n in this._panKeys)i._panAnim&&i._panAnim._inProgress||(e=this._panKeys[n],t.shiftKey&&(e=A(e).multiplyBy(3)),i.panBy(e),i.options.maxBounds&&i.panInsideBounds(i.options.maxBounds));else if(n in this._zoomKeys)i.setZoom(i.getZoom()+(t.shiftKey?3:1)*this._zoomKeys[n]);else{if(27!==n||!i._popup||!i._popup.options.closeOnEscapeKey)return;i.closePopup()}Re(t)}}});Ue.addInitHook("addHandler","keyboard",bi),Ue.mergeOptions({scrollWheelZoom:!0,wheelDebounceTime:40,wheelPxPerZoomLevel:60});var _i=Ke.extend({addHooks:function(){Me(this._map._container,"wheel",this._onWheelScroll,this),this._delta=0},removeHooks:function(){ke(this._map._container,"wheel",this._onWheelScroll,this)},_onWheelScroll:function(t){var e=He(t),n=this._map.options.wheelDebounceTime;this._delta+=e,this._lastMousePos=this._map.mouseEventToContainerPoint(t),this._startTime||(this._startTime=+new Date);var a=Math.max(n-(+new Date-this._startTime),0);clearTimeout(this._timer),this._timer=setTimeout(i(this._performZoom,this),a),Re(t)},_performZoom:function(){var t=this._map,e=t.getZoom(),n=this._map.options.zoomSnap||0;t._stop();var i=4*Math.log(2/(1+Math.exp(-Math.abs(this._delta/(4*this._map.options.wheelPxPerZoomLevel)))))/Math.LN2,a=n?Math.ceil(i/n)*n:i,r=t._limitZoom(e+(this._delta>0?a:-a))-e;this._delta=0,this._startTime=null,r&&("center"===t.options.scrollWheelZoom?t.setZoom(e+r):t.setZoomAround(this._lastMousePos,e+r))}});Ue.addInitHook("addHandler","scrollWheelZoom",_i),Ue.mergeOptions({tap:!0,tapTolerance:15});var yi=Ke.extend({addHooks:function(){Me(this._map._container,"touchstart",this._onDown,this)},removeHooks:function(){ke(this._map._container,"touchstart",this._onDown,this)},_onDown:function(t){if(t.touches){if(Ie(t),this._fireClick=!0,t.touches.length>1)return this._fireClick=!1,void clearTimeout(this._holdTimeout);var e=t.touches[0],n=e.target;this._startPos=this._newPos=new D(e.clientX,e.clientY),n.tagName&&"a"===n.tagName.toLowerCase()&&se(n,"leaflet-active"),this._holdTimeout=setTimeout(i(function(){this._isTapValid()&&(this._fireClick=!1,this._onUp(),this._simulateEvent("contextmenu",e))},this),1e3),this._simulateEvent("mousedown",e),Me(document,{touchmove:this._onMove,touchend:this._onUp},this)}},_onUp:function(t){if(clearTimeout(this._holdTimeout),ke(document,{touchmove:this._onMove,touchend:this._onUp},this),this._fireClick&&t&&t.changedTouches){var e=t.changedTouches[0],n=e.target;n&&n.tagName&&"a"===n.tagName.toLowerCase()&&le(n,"leaflet-active"),this._simulateEvent("mouseup",e),this._isTapValid()&&this._simulateEvent("click",e)}},_isTapValid:function(){return this._newPos.distanceTo(this._startPos)<=this._map.options.tapTolerance},_onMove:function(t){var e=t.touches[0];this._newPos=new D(e.clientX,e.clientY),this._simulateEvent("mousemove",e)},_simulateEvent:function(t,e){var n=document.createEvent("MouseEvents");n._simulated=!0,e.target._simulatedClick=!0,n.initMouseEvent(t,!0,!0,window,1,e.screenX,e.screenY,e.clientX,e.clientY,!1,!1,!1,!1,0,null),e.target.dispatchEvent(n)}});!wt||Ct&&!ct||Ue.addInitHook("addHandler","tap",yi),Ue.mergeOptions({touchZoom:wt&&!it,bounceAtZoomLimits:!0});var vi=Ke.extend({addHooks:function(){se(this._map._container,"leaflet-touch-zoom"),Me(this._map._container,"touchstart",this._onTouchStart,this)},removeHooks:function(){le(this._map._container,"leaflet-touch-zoom"),ke(this._map._container,"touchstart",this._onTouchStart,this)},_onTouchStart:function(t){var e=this._map;if(t.touches&&2===t.touches.length&&!e._animatingZoom&&!this._zooming){var n=e.mouseEventToContainerPoint(t.touches[0]),i=e.mouseEventToContainerPoint(t.touches[1]);this._centerPoint=e.getSize()._divideBy(2),this._startLatLng=e.containerPointToLatLng(this._centerPoint),"center"!==e.options.touchZoom&&(this._pinchStartLatLng=e.containerPointToLatLng(n.add(i)._divideBy(2))),this._startDist=n.distanceTo(i),this._startZoom=e.getZoom(),this._moved=!1,this._zooming=!0,e._stop(),Me(document,"touchmove",this._onTouchMove,this),Me(document,"touchend",this._onTouchEnd,this),Ie(t)}},_onTouchMove:function(t){if(t.touches&&2===t.touches.length&&this._zooming){var e=this._map,n=e.mouseEventToContainerPoint(t.touches[0]),a=e.mouseEventToContainerPoint(t.touches[1]),r=n.distanceTo(a)/this._startDist;if(this._zoom=e.getScaleZoom(r,this._startZoom),!e.options.bounceAtZoomLimits&&(this._zoom<e.getMinZoom()&&r<1||this._zoom>e.getMaxZoom()&&r>1)&&(this._zoom=e._limitZoom(this._zoom)),"center"===e.options.touchZoom){if(this._center=this._startLatLng,1===r)return}else{var o=n._add(a)._divideBy(2)._subtract(this._centerPoint);if(1===r&&0===o.x&&0===o.y)return;this._center=e.unproject(e.project(this._pinchStartLatLng,this._zoom).subtract(o),this._zoom)}this._moved||(e._moveStart(!0,!1),this._moved=!0),O(this._animRequest);var s=i(e._move,e,this._center,this._zoom,{pinch:!0,round:!1});this._animRequest=M(s,this,!0),Ie(t)}},_onTouchEnd:function(){this._moved&&this._zooming?(this._zooming=!1,O(this._animRequest),ke(document,"touchmove",this._onTouchMove,this),ke(document,"touchend",this._onTouchEnd,this),this._map.options.zoomAnimation?this._map._animateZoom(this._center,this._map._limitZoom(this._zoom),!0,this._map.options.zoomSnap):this._map._resetView(this._center,this._map._limitZoom(this._zoom))):this._zooming=!1}});Ue.addInitHook("addHandler","touchZoom",vi),Ue.BoxZoom=pi,Ue.DoubleClickZoom=fi,Ue.Drag=gi,Ue.Keyboard=bi,Ue.ScrollWheelZoom=_i,Ue.Tap=yi,Ue.TouchZoom=vi,t.version="1.7.1",t.Control=qe,t.control=Ge,t.Browser=Dt,t.Evented=P,t.Mixin=tn,t.Util=k,t.Class=S,t.Handler=Ke,t.extend=e,t.bind=i,t.stamp=r,t.setOptions=h,t.DomEvent=Be,t.DomUtil=xe,t.PosAnimation=We,t.Draggable=rn,t.LineUtil=fn,t.PolyUtil=bn,t.Point=D,t.point=A,t.Bounds=I,t.bounds=R,t.Transformation=W,t.transformation=U,t.Projection=vn,t.LatLng=H,t.latLng=j,t.LatLngBounds=N,t.latLngBounds=Y,t.CRS=z,t.GeoJSON=Nn,t.geoJSON=qn,t.geoJson=Gn,t.Layer=Mn,t.LayerGroup=On,t.layerGroup=function(t,e){return new On(t,e)},t.FeatureGroup=kn,t.featureGroup=function(t,e){return new kn(t,e)},t.ImageOverlay=Jn,t.imageOverlay=function(t,e,n){return new Jn(t,e,n)},t.VideoOverlay=Zn,t.videoOverlay=function(t,e,n){return new Zn(t,e,n)},t.SVGOverlay=$n,t.svgOverlay=function(t,e,n){return new $n(t,e,n)},t.DivOverlay=Xn,t.Popup=Kn,t.popup=function(t,e){return new Kn(t,e)},t.Tooltip=Qn,t.tooltip=function(t,e){return new Qn(t,e)},t.Icon=Sn,t.icon=function(t){return new Sn(t)},t.DivIcon=ti,t.divIcon=function(t){return new ti(t)},t.Marker=Ln,t.marker=function(t,e){return new Ln(t,e)},t.TileLayer=ni,t.tileLayer=ii,t.GridLayer=ei,t.gridLayer=function(t){return new ei(t)},t.SVG=ui,t.svg=hi,t.Renderer=ri,t.Canvas=oi,t.canvas=si,t.Path=Dn,t.CircleMarker=En,t.circleMarker=function(t,e){return new En(t,e)},t.Circle=An,t.circle=function(t,e,n){return new An(t,e,n)},t.Polyline=In,t.polyline=function(t,e){return new In(t,e)},t.Polygon=Rn,t.polygon=function(t,e){return new Rn(t,e)},t.Rectangle=mi,t.rectangle=function(t,e){return new mi(t,e)},t.Map=Ue,t.map=function(t,e){return new Ue(t,e)};var Ci=window.L;t.noConflict=function(){return window.L=Ci,this},window.L=t}(e)},"4Smk":function(t,e,n){"use strict";n.r(e),n.d(e,"InscriptionModule",function(){return R});var i=n("SVse"),a=n("PCNd"),r=n("iInd"),o=n("AFtR"),s=n("cp0P"),l=n("lJxs"),c=n("fqiG"),d=n("zfSa"),u=n("NlNA"),h=n("8Y7J"),m=n("cv7C"),p=n("bKjt"),f=n("zaPX"),g=n("TSSN"),b=n("s7LF");let _=(()=>{class t{constructor(t,e,n,i,a){this.langueService=t,this.countryService=e,this.configSharedService=n,this.translateService=i,this.fb=a}resolve(t){return Object(s.a)([this.langueService.getLangues(),this.countryService.getCountries()]).pipe(Object(l.a)(([e,n])=>{const i=new u.a({});return i.role=this.getRoleFromKey(t.params.type),i.compte.langue=this.translateService.currentLang,this.configSharedService.setlangues(e),this.configSharedService.setCountries(n),this.configSharedService.setForm(new c.a(this.fb,i,n,!1,!1).build()),i}))}getRoleFromKey(t){switch(t){case"mandataire":return d.a.MANDATAIRE;case"ordre":return d.a.DONNEUR_ORDRE;default:return d.a.ENTREPRISE}}}return t.\u0275fac=function(e){return new(e||t)(h.Xb(m.a),h.Xb(p.a),h.Xb(f.a),h.Xb(g.d),h.Xb(b.d))},t.\u0275prov=h.Jb({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();var y=n("IGtN"),v=n("f4AX"),C=n("jKJn"),w=n("PDjf"),x=n("4dBv"),M=n("Dxy4"),O=n("q6Qu"),k=n("Q2Ze"),S=n("Tj54");function T(t,e){1&t&&(h.Tb(0,"span"),h.Hc(1),h.gc(2,"translate"),h.Sb()),2&t&&(h.Cb(1),h.Ic(h.hc(2,1,"compte.error.validation")))}function P(t,e){1&t&&(h.Tb(0,"span"),h.Hc(1),h.gc(2,"translate"),h.Sb()),2&t&&(h.Cb(1),h.Ic(h.hc(2,1,"compte.error.email.utilise")))}function L(t,e){1&t&&(h.Tb(0,"span"),h.Hc(1),h.gc(2,"translate"),h.Sb()),2&t&&(h.Cb(1),h.Ic(h.hc(2,1,"compte.delete.message")))}function D(t,e){1&t&&(h.Tb(0,"span"),h.Hc(1),h.gc(2,"translate"),h.Sb()),2&t&&(h.Cb(1),h.Ic(h.hc(2,1,"common.error.interne")))}function E(t,e){if(1&t&&(h.Tb(0,"div",7),h.Tb(1,"mat-error"),h.Tb(2,"mat-icon"),h.Hc(3,"warning"),h.Sb(),h.Fc(4,T,3,3,"span",8),h.Fc(5,P,3,3,"span",8),h.Fc(6,L,3,3,"span",8),h.Fc(7,D,3,3,"span",8),h.Sb(),h.Sb()),2&t){const t=h.fc();h.Cb(4),h.nc("ngIf","VALIDITY"===t.errorKey),h.Cb(1),h.nc("ngIf","UNICITY"===t.errorKey),h.Cb(1),h.nc("ngIf","USER_DELETED"===t.errorKey),h.Cb(1),h.nc("ngIf",t.error&&"VALIDITY"!==t.errorKey&&"UNICITY"!==t.errorKey&&"USER_DELETED"!==t.errorKey)}}let A=(()=>{class t extends y.a{constructor(t,e,n,i,a,r){super(t),this.translateService=t,this.userService=e,this.alertService=n,this.router=i,this.route=a,this.configSharedService=r,this.loaderReady=!1,this.error=!1,this.errorKey=null}get roleLabel(){switch(this.userRole){case d.a.MANDATAIRE:return"compte.type.mandataire";case d.a.ENTREPRISE:return"compte.type.entreprise";case d.a.DONNEUR_ORDRE:return"compte.type.ordre";default:return""}}load(){this.countries=this.configSharedService.countries,this.subscriptions.push(this.route.params.subscribe(t=>{this.createCompteForm=this.configSharedService.form,this.userRole=this.getRoleFromKey(t.type)}))}resetDirigeantForm(){this.userRole===d.a.DONNEUR_ORDRE||this.userRole===d.a.MANDATAIRE?this.createCompteForm.get("entreprise").get("dirigeant").disable():this.createCompteForm.get("entreprise").get("dirigeant").enable()}getRoleFromKey(t){switch(t){case"mandataire":return d.a.MANDATAIRE;case"ordre":return d.a.DONNEUR_ORDRE;default:return d.a.ENTREPRISE}}onSubmit(){this.createCompteForm&&!this.createCompteForm.valid||this.userService.createUser(this.userMapper()).subscribe(t=>{t.errorCode?(this.errorKey=t.errorCode,this.error=!0):this.translateService.get("compte.inscription.done").subscribe(t=>{this.alertService.notify(t),this.router.navigate(["/auth/login"])})})}back(){this.router.navigate(["/"])}userMapper(){const t=new u.a(this.createCompteForm.getRawValue());t.role=this.userRole,t.entreprise.adresse.pays=this.createCompteForm.get("entreprise").get("adresse").get("pays").value.code;const e=this.createCompteForm.get("entreprise").get("dirigeant").get("paysNaissance").value;return e&&(t.entreprise.dirigeant.paysNaissance=e.code),t}}return t.\u0275fac=function(e){return new(e||t)(h.Nb(g.d),h.Nb(v.a),h.Nb(C.a),h.Nb(r.f),h.Nb(r.a),h.Nb(f.a))},t.\u0275cmp=h.Hb({type:t,selectors:[["app-inscription"]],features:[h.zb],decls:13,vars:11,consts:[[1,"content"],["name","editCompte",3,"showCaptcha","userRole","compteForm"],["class","error",4,"ngIf"],[1,"actions"],["mat-raised-button","","color","primary","name","submitBtn","type","button","aria-label","submit","appLabel","compte.inscription.submit",3,"disabled","click"],[1,"separator"],["mat-raised-button","","color","warn","type","button","aria-label","cancel","appLabel","common.annuler",3,"click"],[1,"error"],[4,"ngIf"]],template:function(t,e){1&t&&(h.Tb(0,"div",0),h.Tb(1,"h1"),h.Hc(2),h.gc(3,"translate"),h.gc(4,"translate"),h.Sb(),h.Tb(5,"mat-card"),h.Tb(6,"mat-card-content"),h.Ob(7,"app-edit-compte",1),h.Fc(8,E,8,4,"div",2),h.Tb(9,"div",3),h.Tb(10,"button",4),h.bc("click",function(){return e.onSubmit()}),h.Sb(),h.Ob(11,"div",5),h.Tb(12,"button",6),h.bc("click",function(){return e.back()}),h.Sb(),h.Sb(),h.Sb(),h.Sb(),h.Sb()),2&t&&(h.Cb(2),h.Kc(" ",h.hc(3,7,"compte.inscription.titre")," ",h.hc(4,9,e.roleLabel)," "),h.Cb(5),h.nc("showCaptcha",!0)("userRole",e.userRole)("compteForm",e.createCompteForm),h.Cb(1),h.nc("ngIf",e.error),h.Cb(2),h.nc("disabled",e.createCompteForm.invalid))},directives:[w.a,w.b,x.a,i.l,M.a,O.a,k.b,S.a],pipes:[g.c],styles:[".actions[_ngcontent-%COMP%]{display:-ms-flexbox;display:flex;padding-top:16px}.actions[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{-ms-flex:1;flex:1}.actions[_ngcontent-%COMP%] .separator[_ngcontent-%COMP%]{width:50px}"]}),t})(),I=(()=>{class t{}return t.\u0275mod=h.Lb({type:t}),t.\u0275inj=h.Kb({factory:function(e){return new(e||t)},imports:[[r.j.forChild([{path:":type",component:A,resolve:{configurationData:o.a,newUser:_},runGuardsAndResolvers:"always"}])],r.j]}),t})(),R=(()=>{class t{}return t.\u0275mod=h.Lb({type:t}),t.\u0275inj=h.Kb({factory:function(e){return new(e||t)},imports:[[i.c,a.a,I]]}),t})()},"4dBv":function(t,e,n){"use strict";n.d(e,"a",function(){return tt});var i=n("s7LF"),a=n("Lyw/"),r=n("Rqom"),o=n("IGtN"),s=n("zfSa"),l=n("8Y7J"),c=n("TSSN"),d=n("lxpx"),u=n("iInd"),h=n("zaPX"),m=(n("Cwn8"),n("q6Qu")),p=n("Q2Ze"),f=n("e6WT"),g=n("ZTz/"),b=n("SVse"),_=n("UhP/"),y=n("48lP"),v=n("Y7XA"),C=n("pMoy"),w=n("Mkv7"),x=n("0MyW"),M=n("7pfu");function O(t,e){if(1&t&&(l.Tb(0,"mat-option",18),l.Hc(1),l.Sb()),2&t){const t=e.$implicit;l.nc("value",t.code)("ngClass",t.code),l.Cb(1),l.Jc(" ",t.nom," ")}}function k(t,e){if(1&t&&(l.Tb(0,"mat-form-field"),l.Tb(1,"mat-select",19),l.Tb(2,"mat-option",20),l.Hc(3),l.gc(4,"translate"),l.Sb(),l.Tb(5,"mat-option",21),l.Hc(6),l.gc(7,"translate"),l.Sb(),l.Tb(8,"mat-option",22),l.Hc(9),l.gc(10,"translate"),l.Sb(),l.Sb(),l.Sb()),2&t){const t=l.fc();l.Cb(1),l.nc("formControl",t.dpdDefault),l.Cb(2),l.Jc(" ",l.hc(4,4,"compte.dpd.choix.prestation")," "),l.Cb(3),l.Jc(" ",l.hc(7,6,"compte.dpd.choix.mobilite")," "),l.Cb(3),l.Jc(" ",l.hc(10,8,"compte.dpd.choix.disposition")," ")}}function S(t,e){1&t&&l.Ob(0,"div",23)}function T(t,e){1&t&&l.Ob(0,"div",24)}function P(t,e){1&t&&l.Ob(0,"div",25)}function L(t,e){if(1&t&&(l.Tb(0,"div",34),l.Ob(1,"app-siret-check-2",35),l.Sb()),2&t){const t=l.fc(2);l.Cb(1),l.nc("formGp",t.entrepriseFg)("isAutocompleteDisabled",!0)("isRequired",!0)}}function D(t,e){1&t&&(l.Tb(0,"mat-error"),l.Hc(1),l.gc(2,"translate"),l.Sb()),2&t&&(l.Cb(1),l.Jc(" ",l.hc(2,1,"common.error.requis")," "))}function E(t,e){1&t&&(l.Tb(0,"mat-error"),l.Hc(1),l.gc(2,"translate"),l.Sb()),2&t&&(l.Cb(1),l.Jc(" ",l.hc(2,1,"common.error.length")," "))}function A(t,e){1&t&&(l.Tb(0,"mat-error"),l.Hc(1),l.gc(2,"translate"),l.Sb()),2&t&&(l.Cb(1),l.Jc(" ",l.hc(2,1,"common.error.requis")," "))}function I(t,e){1&t&&(l.Tb(0,"mat-error"),l.Hc(1),l.gc(2,"translate"),l.Sb()),2&t&&(l.Cb(1),l.Jc(" ",l.hc(2,1,"common.error.length")," "))}function R(t,e){1&t&&(l.Tb(0,"mat-error"),l.Hc(1),l.gc(2,"translate"),l.Sb()),2&t&&(l.Cb(1),l.Jc(" ",l.hc(2,1,"common.error.requis")," "))}function N(t,e){1&t&&(l.Tb(0,"mat-error"),l.Hc(1),l.gc(2,"translate"),l.Sb()),2&t&&(l.Cb(1),l.Jc(" ",l.hc(2,1,"common.error.email")," "))}function Y(t,e){1&t&&(l.Tb(0,"mat-error"),l.Hc(1),l.gc(2,"translate"),l.Sb()),2&t&&(l.Cb(1),l.Jc(" ",l.hc(2,1,"common.error.length")," "))}function H(t,e){1&t&&(l.Tb(0,"mat-error"),l.Hc(1),l.gc(2,"translate"),l.Sb()),2&t&&(l.Cb(1),l.Jc(" ",l.hc(2,1,"common.error.requis")," "))}function j(t,e){1&t&&(l.Tb(0,"mat-error"),l.Hc(1),l.gc(2,"translate"),l.Sb()),2&t&&(l.Cb(1),l.Jc(" ",l.hc(2,1,"common.error.length")," "))}function F(t,e){if(1&t&&(l.Tb(0,"mat-form-field",27),l.Ob(1,"input",36),l.Fc(2,H,3,3,"mat-error",11),l.Fc(3,j,3,3,"mat-error",11),l.Sb()),2&t){const t=l.fc(2);l.Cb(2),l.nc("ngIf",t.doesEntrepriseHaveError("status","required")),l.Cb(1),l.nc("ngIf",t.doesEntrepriseHaveError("status","maxlength"))}}function z(t,e){if(1&t){const t=l.Ub();l.Tb(0,"div",37),l.Tb(1,"mat-checkbox",38),l.bc("change",function(e){return l.yc(t),l.fc(2).onNoTVACheckboxChange(e.checked)}),l.Hc(2),l.gc(3,"translate"),l.Sb(),l.Sb()}if(2&t){const t=l.fc(2);l.Cb(1),l.nc("indeterminate",!t.doesCountryHaveTVA),l.Cb(1),l.Jc(" ",l.hc(3,2,"common.tva.no")," ")}}function V(t,e){if(1&t){const t=l.Ub();l.Tb(0,"div",27),l.Tb(1,"app-tva-check-2",39),l.bc("stateChangeEvent",function(e){return l.yc(t),l.fc(2).onStateChange(e)}),l.Sb(),l.Sb()}if(2&t){const t=l.fc(2);l.Cb(1),l.nc("state",t.state)("formCtrl",t.numTVACtrl)("countryCode",t.countryCodeTVA)("isAutocompleteDisabled",!0)}}function B(t,e){1&t&&(l.Tb(0,"mat-error"),l.Hc(1),l.gc(2,"translate"),l.Sb()),2&t&&(l.Cb(1),l.Jc(" ",l.hc(2,1,"common.error.requis")," "))}function W(t,e){1&t&&(l.Tb(0,"mat-error"),l.Hc(1),l.gc(2,"translate"),l.Sb()),2&t&&(l.Cb(1),l.Jc(" ",l.hc(2,1,"common.error.length")," "))}function U(t,e){if(1&t&&(l.Tb(0,"mat-form-field"),l.Ob(1,"input",40),l.Fc(2,B,3,3,"mat-error",11),l.Fc(3,W,3,3,"mat-error",11),l.Sb()),2&t){const t=l.fc(2);l.Cb(2),l.nc("ngIf",t.doesEntrepriseHaveError("registre","required")),l.Cb(1),l.nc("ngIf",t.doesEntrepriseHaveError("registre","maxlength"))}}function q(t,e){1&t&&(l.Tb(0,"mat-error"),l.Hc(1),l.gc(2,"translate"),l.Sb()),2&t&&(l.Cb(1),l.Jc(" ",l.hc(2,1,"common.error.requis")," "))}function G(t,e){1&t&&(l.Tb(0,"mat-error"),l.Hc(1),l.gc(2,"translate"),l.Sb()),2&t&&(l.Cb(1),l.Jc(" ",l.hc(2,1,"common.error.length")," "))}function J(t,e){if(1&t&&(l.Tb(0,"mat-form-field"),l.Ob(1,"input",41),l.Fc(2,q,3,3,"mat-error",11),l.Fc(3,G,3,3,"mat-error",11),l.Sb()),2&t){const t=l.fc(2);l.Cb(2),l.nc("ngIf",t.doesEntrepriseHaveError("reference","required")),l.Cb(1),l.nc("ngIf",t.doesEntrepriseHaveError("reference","maxlength"))}}function Z(t,e){if(1&t){const t=l.Ub();l.Tb(0,"div"),l.Fc(1,L,2,3,"div",26),l.Tb(2,"mat-form-field",27),l.Ob(3,"input",28),l.Fc(4,D,3,3,"mat-error",11),l.Fc(5,E,3,3,"mat-error",11),l.Sb(),l.Tb(6,"app-address-form-2",29),l.bc("countryChangeEvent",function(e){return l.yc(t),l.fc().onCountryChange(e)}),l.Sb(),l.Tb(7,"div",3),l.Tb(8,"mat-form-field"),l.Ob(9,"input",30),l.Fc(10,A,3,3,"mat-error",11),l.Fc(11,I,3,3,"mat-error",11),l.Sb(),l.Ob(12,"div",5),l.Tb(13,"mat-form-field"),l.Ob(14,"input",31),l.Fc(15,R,3,3,"mat-error",11),l.Fc(16,N,3,3,"mat-error",11),l.Fc(17,Y,3,3,"mat-error",11),l.Sb(),l.Sb(),l.Fc(18,F,4,2,"mat-form-field",32),l.Fc(19,z,4,4,"div",33),l.Fc(20,V,2,4,"div",32),l.Tb(21,"div",3),l.Fc(22,U,4,2,"mat-form-field",11),l.Ob(23,"div",5),l.Fc(24,J,4,2,"mat-form-field",11),l.Sb(),l.Sb()}if(2&t){const t=l.fc();l.Cb(1),l.nc("ngIf",t.isUserMandataire),l.Cb(3),l.nc("ngIf",t.doesEntrepriseHaveError("raisonSociale","required")),l.Cb(1),l.nc("ngIf",t.doesEntrepriseHaveError("raisonSociale","maxlength")),l.Cb(1),l.nc("formGp",t.adresseFg)("showCountry",!t.isUserMandataire)("isAutocompleteDisabled",!0)("isRequired",!0)("showFR",t.showFR),l.Cb(4),l.nc("ngIf",t.doesEntrepriseHaveError("telephone","required")),l.Cb(1),l.nc("ngIf",t.doesEntrepriseHaveError("telephone","maxlength")),l.Cb(4),l.nc("ngIf",t.doesEntrepriseHaveError("email","required")),l.Cb(1),l.nc("ngIf",t.doesEntrepriseHaveError("email","email")),l.Cb(1),l.nc("ngIf",t.doesEntrepriseHaveError("email","maxlength")),l.Cb(1),l.nc("ngIf",t.isUserEntreprise),l.Cb(1),l.nc("ngIf",!t.isUserMandataire),l.Cb(1),l.nc("ngIf",t.isTVANumberDisplayed),l.Cb(2),l.nc("ngIf",t.isRegisterOrReferenceDisplayed),l.Cb(2),l.nc("ngIf",t.isRegisterOrReferenceDisplayed)}}const $=function(){return{"full-width":!0}};function X(t,e){if(1&t&&(l.Tb(0,"div"),l.Ob(1,"app-client-form-2",42),l.Tb(2,"mat-form-field",43),l.Ob(3,"input",44),l.Sb(),l.Sb()),2&t){const t=l.fc();l.Cb(1),l.nc("formGp",t.entrepriseFg)("modeDpd",!1)("isAutocompleteDisabled",!0),l.Cb(1),l.nc("ngClass",l.rc(4,$))}}function K(t,e){if(1&t&&(l.Tb(0,"div",45),l.Ob(1,"div",46),l.Ob(2,"app-person-form-2",47),l.Sb()),2&t){const t=l.fc();l.Cb(2),l.nc("formGp",t.dirigeantFg)("isAutocompleteDisabled",!0)}}function Q(t,e){if(1&t&&l.Ob(0,"re-captcha",48),2&t){const t=l.fc();l.nc("siteKey",t.siteKey)("required",!0)}}let tt=(()=>{class t extends o.a{constructor(t,e,n,i,a,r,o){super(t),this.translateService=t,this.translationService=e,this.loader=n,this.zone=i,this.changeDetectorRef=a,this.route=r,this.configSharedService=o,this.showCaptcha=!1,this.langues=new Array,this.showFR=!0,this.siteKey=null,this.loaderReady=!1,this.eligible=!0;const s=this.route.snapshot.data.configurationData;s&&(this.siteKey=s.siteKey)}load(){this.langues=this.configSharedService.langues,this.checkShowFR(),this.numTVACtrl.setValidators([i.w.required,i.w.pattern("^\\w+$"),()=>r.a.numTVAInClient(this.eligible,this.state)]),this.showCaptcha&&this.subscriptions.push(this.loader.ready.subscribe(t=>{this.zone.run(()=>{this.loaderReady=!!t,this.changeDetectorRef.markForCheck()})})),this.subscriptions.push(this.langue.valueChanges.subscribe(t=>{this.translationService.use(t)}),this.login.valueChanges.subscribe(t=>{this.login.patchValue(t.toLowerCase(),{emitEvent:!1})}))}get login(){return this.compteForm.get("login")}get entrepriseFg(){return this.compteForm.get("entreprise")}get adresseFg(){return this.entrepriseFg.get("adresse")}get dirigeantFg(){return this.entrepriseFg.get("dirigeant")}get langue(){return this.compteForm.get("compte").get("langue")}get dpdDefault(){return this.compteForm.get("compte").get("dpdDefault")}get dpdDefaultSelected(){return this.compteForm.get("compte").get("dpdDefaultSelected")}get isDpdDefaultSelected(){return this.dpdDefaultSelected.value}get country(){return this.entrepriseFg.get("adresse").get("pays").value}get countryCodeTVA(){return this.country?this.country.codeTVA:null}get numTVACtrl(){return this.entrepriseFg.get("numTVA")}get referenceCtrl(){return this.entrepriseFg.get("reference")}get registreCtrl(){return this.entrepriseFg.get("registre")}get doesCountryHaveTVA(){return!!this.country&&this.country.hasTVA}get doesEntrpriseHaveTVA(){return!this.entrepriseFg.get("noTVA").value}get isRegisterOrReferenceDisplayed(){return!(this.userRole!==s.a.ENTREPRISE||this.doesEntrpriseHaveTVA&&this.doesCountryHaveTVA)}get isTVANumberDisplayed(){return this.userRole!==s.a.MANDATAIRE&&this.doesEntrpriseHaveTVA&&this.doesCountryHaveTVA}get isUserEntreprise(){return this.userRole===s.a.ENTREPRISE}get isUserMandataire(){return this.userRole===s.a.MANDATAIRE}get isUserDonneur(){return this.userRole===s.a.DONNEUR_ORDRE}doesEntrepriseHaveError(t,e){return this.entrepriseFg.get(t).hasError(e)}checkShowFR(){this.showFR=this.userRole!==s.a.ENTREPRISE}selectDpdDefault(t){t?this.dpdDefault.enable():(this.dpdDefault.setValue(null),this.dpdDefault.disable())}onNoTVACheckboxChange(t){this.cleanTvaRegistreReference(),t?(this.referenceCtrl.enable(),this.registreCtrl.enable(),this.entrepriseFg.get("numTVA").disable()):(this.referenceCtrl.disable(),this.registreCtrl.disable(),this.entrepriseFg.get("numTVA").enable())}onCountryChange(t){this.cleanTvaRegistreReference(),t&&t.hasTVA?(this.entrepriseFg.get("noTVA").setValue(!1),this.entrepriseFg.get("noTVA").enable(),this.entrepriseFg.get("numTVA").enable(),this.referenceCtrl.disable(),this.registreCtrl.disable()):(this.entrepriseFg.get("noTVA").disable(),this.entrepriseFg.get("numTVA").disable(),this.referenceCtrl.enable(),this.registreCtrl.enable())}onStateChange(t){this.state=t,this.numTVACtrl.updateValueAndValidity()}cleanTvaRegistreReference(){this.entrepriseFg.patchValue({numTVA:null,reference:null,registre:null})}}return t.\u0275fac=function(e){return new(e||t)(l.Nb(c.d),l.Nb(d.a),l.Nb(a.c),l.Nb(l.B),l.Nb(l.h),l.Nb(u.a),l.Nb(h.a))},t.\u0275cmp=l.Hb({type:t,selectors:[["app-edit-compte"]],inputs:{showCaptcha:"showCaptcha",userRole:"userRole",compteForm:"compteForm"},features:[l.zb],decls:27,vars:21,consts:[["id","form-edit-compte",3,"formGroup"],["id","compte"],["appLabel","compte.section.compte",1,"form-section"],[1,"form-2-column"],["matInput","","type","text","name","login","appLabel","compte.identifiant","formControlName","login","required",""],[1,"form-2-column-separator"],["name","langue","appLabel","common.langue","required","",3,"formControl"],[3,"value","ngClass",4,"ngFor","ngForOf"],["name","dpdDefaultSelected","appLabel","compte.dpd.default",3,"formControl","selectionChange"],["ngClass","defautTrue",3,"value"],["ngClass","defautFalse",3,"value"],[4,"ngIf"],["id","entreprise",3,"formGroup"],["class","form-section","appLabel","compte.section.entreprise",4,"ngIf"],["class","form-section","appLabel","compte.section.mandataire",4,"ngIf"],["class","form-section","appLabel","compte.section.ordre",4,"ngIf"],["id","dirigeant",4,"ngIf"],["id","captcha","name","captcha","formControlName","captcha",3,"siteKey","required",4,"ngIf"],[3,"value","ngClass"],["name","dpd","appLabel","compte.dpd.choix",3,"formControl"],["value","psi"],["value","mobil"],["value","dispo"],["appLabel","compte.section.entreprise",1,"form-section"],["appLabel","compte.section.mandataire",1,"form-section"],["appLabel","compte.section.ordre",1,"form-section"],["class","siret",4,"ngIf"],[1,"full-width"],["matInput","","type","text","name","raisonSociale","appLabel","compte.raisonsociale","formControlName","raisonSociale","required",""],["name","entreprise",3,"formGp","showCountry","isAutocompleteDisabled","isRequired","showFR","countryChangeEvent"],["matInput","","type","text","name","tel","appLabel","common.tel","formControlName","telephone","required",""],["matInput","","name","email","appLabel","common.email","formControlName","email","required",""],["class","full-width",4,"ngIf"],["class","checkbox",4,"ngIf"],[1,"siret"],["name","siret",3,"formGp","isAutocompleteDisabled","isRequired"],["matInput","","type","text","name","status","appLabel","common.forme.juridique","formControlName","status","required",""],[1,"checkbox"],["color","primary","name","noTVA","formControlName","noTVA",3,"indeterminate","change"],[3,"state","formCtrl","countryCode","isAutocompleteDisabled","stateChangeEvent"],["matInput","","type","text","name","registre","appLabel","common.registre","formControlName","registre","required",""],["matInput","","type","text","name","reference","appLabel","common.reference","formControlName","reference","required",""],[3,"formGp","modeDpd","isAutocompleteDisabled"],[3,"ngClass"],["matInput","","name","email","formControlName","email","appLabel","common.email"],["id","dirigeant"],["appLabel","compte.section.dirigeant",1,"form-section"],["name","dirigeant",3,"formGp","isAutocompleteDisabled"],["id","captcha","name","captcha","formControlName","captcha",3,"siteKey","required"]],template:function(t,e){1&t&&(l.Tb(0,"form",0),l.Tb(1,"div",1),l.Ob(2,"div",2),l.Tb(3,"div",3),l.Tb(4,"mat-form-field"),l.Ob(5,"input",4),l.Sb(),l.Ob(6,"div",5),l.Tb(7,"mat-form-field"),l.Tb(8,"mat-select",6),l.Fc(9,O,2,3,"mat-option",7),l.Sb(),l.Sb(),l.Sb(),l.Tb(10,"mat-form-field"),l.Tb(11,"mat-select",8),l.bc("selectionChange",function(t){return e.selectDpdDefault(t.value)}),l.Tb(12,"mat-option",9),l.Hc(13),l.gc(14,"translate"),l.Sb(),l.Tb(15,"mat-option",10),l.Hc(16),l.gc(17,"translate"),l.Sb(),l.Sb(),l.Sb(),l.Fc(18,k,11,10,"mat-form-field",11),l.Sb(),l.Tb(19,"div",12),l.Fc(20,S,1,0,"div",13),l.Fc(21,T,1,0,"div",14),l.Fc(22,P,1,0,"div",15),l.Fc(23,Z,25,18,"div",11),l.Fc(24,X,4,5,"div",11),l.Sb(),l.Fc(25,K,3,2,"div",16),l.Fc(26,Q,1,2,"re-captcha",17),l.Sb()),2&t&&(l.nc("formGroup",e.compteForm),l.Cb(8),l.nc("formControl",e.langue),l.Cb(1),l.nc("ngForOf",e.langues),l.Cb(2),l.nc("formControl",e.dpdDefaultSelected),l.Cb(1),l.nc("value",!0),l.Cb(1),l.Jc(" ",l.hc(14,17,"common.oui")," "),l.Cb(2),l.nc("value",!1),l.Cb(1),l.Jc(" ",l.hc(17,19,"common.non")," "),l.Cb(2),l.nc("ngIf",e.isDpdDefaultSelected),l.Cb(1),l.nc("formGroup",e.entrepriseFg),l.Cb(1),l.nc("ngIf",e.isUserEntreprise),l.Cb(1),l.nc("ngIf",e.isUserMandataire),l.Cb(1),l.nc("ngIf",e.isUserDonneur),l.Cb(1),l.nc("ngIf",!e.isUserDonneur),l.Cb(1),l.nc("ngIf",e.isUserDonneur),l.Cb(1),l.nc("ngIf",e.isUserEntreprise),l.Cb(1),l.nc("ngIf",!1!==e.showCaptcha&&e.loaderReady))},directives:[i.x,i.p,i.i,m.a,p.c,f.b,i.c,i.o,i.g,i.v,g.a,i.f,b.k,_.m,b.j,b.l,y.a,v.a,p.b,C.a,w.a,x.a,M.a,a.a,a.e],pipes:[c.c],styles:["#form-edit-compte[_ngcontent-%COMP%]{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}#form-edit-compte[_ngcontent-%COMP%] .form-section[_ngcontent-%COMP%]{font-size:1.125rem;font-weight:600;margin:30px 0 15px}#form-edit-compte[_ngcontent-%COMP%] #withTva[_ngcontent-%COMP%]{margin-bottom:15px}#form-edit-compte[_ngcontent-%COMP%] .form-2-column[_ngcontent-%COMP%]{display:-ms-flexbox;display:flex}#form-edit-compte[_ngcontent-%COMP%] .form-2-column[_ngcontent-%COMP%] mat-form-field[_ngcontent-%COMP%]{-ms-flex-positive:1;flex-grow:1}#form-edit-compte[_ngcontent-%COMP%] .form-2-column[_ngcontent-%COMP%] .form-2-column-separator[_ngcontent-%COMP%]{width:50px}#form-edit-compte[_ngcontent-%COMP%] .form-2-column[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]{margin-right:-16px}#form-edit-compte[_ngcontent-%COMP%] .form-2-column[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{-ms-flex-positive:1;flex-grow:1}#form-edit-compte[_ngcontent-%COMP%] .form-2-column[_ngcontent-%COMP%] #country-code[_ngcontent-%COMP%]{-ms-flex-item-align:center;align-self:center;margin-right:8px}#form-edit-compte[_ngcontent-%COMP%] re-captcha[_ngcontent-%COMP%]{padding-top:16px;padding-bottom:1.25em}#form-edit-compte[_ngcontent-%COMP%] .error[_ngcontent-%COMP%] mat-error[_ngcontent-%COMP%]{display:-ms-flexbox;display:flex;padding:10px;-ms-flex-align:center;align-items:center}#form-edit-compte[_ngcontent-%COMP%] .error[_ngcontent-%COMP%] mat-error[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{margin-right:12px}#form-edit-compte[_ngcontent-%COMP%] .full-width[_ngcontent-%COMP%]{width:100%}#compte[_ngcontent-%COMP%], #dirigeant[_ngcontent-%COMP%], #entreprise[_ngcontent-%COMP%]{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}"],changeDetection:0}),t})()},"4dOw":function(t,e,n){!function(t){"use strict";t.defineLocale("en-ie",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})}(n("wd/R"))},"5+tZ":function(t,e,n){"use strict";n.d(e,"a",function(){return o});var i=n("lJxs"),a=n("Cfvw"),r=n("zx2A");function o(t,e,n=Number.POSITIVE_INFINITY){return"function"==typeof e?r=>r.pipe(o((n,r)=>Object(a.a)(t(n,r)).pipe(Object(i.a)((t,i)=>e(n,t,r,i))),n)):("number"==typeof e&&(n=e),e=>e.lift(new s(t,n)))}class s{constructor(t,e=Number.POSITIVE_INFINITY){this.project=t,this.concurrent=e}call(t,e){return e.subscribe(new l(t,this.project,this.concurrent))}}class l extends r.b{constructor(t,e,n=Number.POSITIVE_INFINITY){super(t),this.project=e,this.concurrent=n,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(t){this.active<this.concurrent?this._tryNext(t):this.buffer.push(t)}_tryNext(t){let e;const n=this.index++;try{e=this.project(t,n)}catch(i){return void this.destination.error(i)}this.active++,this._innerSub(e)}_innerSub(t){const e=new r.a(this),n=this.destination;n.add(e);const i=Object(r.c)(t,e);i!==e&&n.add(i)}_complete(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}notifyNext(t){this.destination.next(t)}notifyComplete(){const t=this.buffer;this.active--,t.length>0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}},"5Gnb":function(t,e,n){"use strict";n.d(e,"a",function(){return i});var i=function(t){return t.CLIENT="CLIENT",t.CHANTIER="CHANTIER",t.AUTRE="AUTRE",t}({})},"5QHs":function(t,e,n){"use strict";n.d(e,"a",function(){return M}),n.d(e,"b",function(){return _}),n.d(e,"c",function(){return O});var i=n("SVse"),a=n("8Y7J"),r=n("UhP/"),o=n("Dxy4"),s=n("ZTz/"),l=n("ZFy/"),c=n("8LU1"),d=n("XNiG"),u=n("Q2Ze");function h(t,e){if(1&t&&(a.Tb(0,"mat-option",19),a.Hc(1),a.Sb()),2&t){const t=e.$implicit;a.nc("value",t),a.Cb(1),a.Jc(" ",t," ")}}function m(t,e){if(1&t){const t=a.Ub();a.Tb(0,"mat-form-field",16),a.Tb(1,"mat-select",17),a.bc("selectionChange",function(e){return a.yc(t),a.fc(2)._changePageSize(e.value)}),a.Fc(2,h,2,2,"mat-option",18),a.Sb(),a.Sb()}if(2&t){const t=a.fc(2);a.nc("appearance",t._formFieldAppearance)("color",t.color),a.Cb(1),a.nc("value",t.pageSize)("disabled",t.disabled)("aria-label",t._intl.itemsPerPageLabel),a.Cb(1),a.nc("ngForOf",t._displayedPageSizeOptions)}}function p(t,e){if(1&t&&(a.Tb(0,"div",20),a.Hc(1),a.Sb()),2&t){const t=a.fc(2);a.Cb(1),a.Ic(t.pageSize)}}function f(t,e){if(1&t&&(a.Tb(0,"div",12),a.Tb(1,"div",13),a.Hc(2),a.Sb(),a.Fc(3,m,3,6,"mat-form-field",14),a.Fc(4,p,2,1,"div",15),a.Sb()),2&t){const t=a.fc();a.Cb(2),a.Jc(" ",t._intl.itemsPerPageLabel," "),a.Cb(1),a.nc("ngIf",t._displayedPageSizeOptions.length>1),a.Cb(1),a.nc("ngIf",t._displayedPageSizeOptions.length<=1)}}function g(t,e){if(1&t){const t=a.Ub();a.Tb(0,"button",21),a.bc("click",function(){return a.yc(t),a.fc().firstPage()}),a.ec(),a.Tb(1,"svg",7),a.Ob(2,"path",22),a.Sb(),a.Sb()}if(2&t){const t=a.fc();a.nc("matTooltip",t._intl.firstPageLabel)("matTooltipDisabled",t._previousButtonsDisabled())("matTooltipPosition","above")("disabled",t._previousButtonsDisabled()),a.Db("aria-label",t._intl.firstPageLabel)}}function b(t,e){if(1&t){const t=a.Ub();a.ec(),a.dc(),a.Tb(0,"button",23),a.bc("click",function(){return a.yc(t),a.fc().lastPage()}),a.ec(),a.Tb(1,"svg",7),a.Ob(2,"path",24),a.Sb(),a.Sb()}if(2&t){const t=a.fc();a.nc("matTooltip",t._intl.lastPageLabel)("matTooltipDisabled",t._nextButtonsDisabled())("matTooltipPosition","above")("disabled",t._nextButtonsDisabled()),a.Db("aria-label",t._intl.lastPageLabel)}}let _=(()=>{class t{constructor(){this.changes=new d.a,this.itemsPerPageLabel="Items per page:",this.nextPageLabel="Next page",this.previousPageLabel="Previous page",this.firstPageLabel="First page",this.lastPageLabel="Last page",this.getRangeLabel=(t,e,n)=>{if(0==n||0==e)return`0 of ${n}`;const i=t*e;return`${i+1} \u2013 ${i<(n=Math.max(n,0))?Math.min(i+e,n):i+e} of ${n}`}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Object(a.Jb)({factory:function(){return new t},token:t,providedIn:"root"}),t})();const y={provide:_,deps:[[new a.C,new a.L,_]],useFactory:function(t){return t||new _}},v=new a.s("MAT_PAGINATOR_DEFAULT_OPTIONS");class C{}const w=Object(r.y)(Object(r.A)(C));let x=(()=>{class t extends w{constructor(t,e,n){if(super(),this._intl=t,this._changeDetectorRef=e,this._pageIndex=0,this._length=0,this._pageSizeOptions=[],this._hidePageSize=!1,this._showFirstLastButtons=!1,this.page=new a.o,this._intlChanges=t.changes.subscribe(()=>this._changeDetectorRef.markForCheck()),n){const{pageSize:t,pageSizeOptions:e,hidePageSize:i,showFirstLastButtons:a}=n;null!=t&&(this._pageSize=t),null!=e&&(this._pageSizeOptions=e),null!=i&&(this._hidePageSize=i),null!=a&&(this._showFirstLastButtons=a)}}get pageIndex(){return this._pageIndex}set pageIndex(t){this._pageIndex=Math.max(Object(c.f)(t),0),this._changeDetectorRef.markForCheck()}get length(){return this._length}set length(t){this._length=Object(c.f)(t),this._changeDetectorRef.markForCheck()}get pageSize(){return this._pageSize}set pageSize(t){this._pageSize=Math.max(Object(c.f)(t),0),this._updateDisplayedPageSizeOptions()}get pageSizeOptions(){return this._pageSizeOptions}set pageSizeOptions(t){this._pageSizeOptions=(t||[]).map(t=>Object(c.f)(t)),this._updateDisplayedPageSizeOptions()}get hidePageSize(){return this._hidePageSize}set hidePageSize(t){this._hidePageSize=Object(c.c)(t)}get showFirstLastButtons(){return this._showFirstLastButtons}set showFirstLastButtons(t){this._showFirstLastButtons=Object(c.c)(t)}ngOnInit(){this._initialized=!0,this._updateDisplayedPageSizeOptions(),this._markInitialized()}ngOnDestroy(){this._intlChanges.unsubscribe()}nextPage(){if(!this.hasNextPage())return;const t=this.pageIndex;this.pageIndex++,this._emitPageEvent(t)}previousPage(){if(!this.hasPreviousPage())return;const t=this.pageIndex;this.pageIndex--,this._emitPageEvent(t)}firstPage(){if(!this.hasPreviousPage())return;const t=this.pageIndex;this.pageIndex=0,this._emitPageEvent(t)}lastPage(){if(!this.hasNextPage())return;const t=this.pageIndex;this.pageIndex=this.getNumberOfPages()-1,this._emitPageEvent(t)}hasPreviousPage(){return this.pageIndex>=1&&0!=this.pageSize}hasNextPage(){const t=this.getNumberOfPages()-1;return this.pageIndex<t&&0!=this.pageSize}getNumberOfPages(){return this.pageSize?Math.ceil(this.length/this.pageSize):0}_changePageSize(t){const e=this.pageIndex;this.pageIndex=Math.floor(this.pageIndex*this.pageSize/t)||0,this.pageSize=t,this._emitPageEvent(e)}_nextButtonsDisabled(){return this.disabled||!this.hasNextPage()}_previousButtonsDisabled(){return this.disabled||!this.hasPreviousPage()}_updateDisplayedPageSizeOptions(){this._initialized&&(this.pageSize||(this._pageSize=0!=this.pageSizeOptions.length?this.pageSizeOptions[0]:50),this._displayedPageSizeOptions=this.pageSizeOptions.slice(),-1===this._displayedPageSizeOptions.indexOf(this.pageSize)&&this._displayedPageSizeOptions.push(this.pageSize),this._displayedPageSizeOptions.sort((t,e)=>t-e),this._changeDetectorRef.markForCheck())}_emitPageEvent(t){this.page.emit({previousPageIndex:t,pageIndex:this.pageIndex,pageSize:this.pageSize,length:this.length})}}return t.\u0275fac=function(e){return new(e||t)(a.Nb(_),a.Nb(a.h),a.Nb(void 0))},t.\u0275dir=a.Ib({type:t,inputs:{pageIndex:"pageIndex",length:"length",pageSize:"pageSize",pageSizeOptions:"pageSizeOptions",hidePageSize:"hidePageSize",showFirstLastButtons:"showFirstLastButtons",color:"color"},outputs:{page:"page"},features:[a.zb]}),t})(),M=(()=>{class t extends x{constructor(t,e,n){super(t,e,n),n&&null!=n.formFieldAppearance&&(this._formFieldAppearance=n.formFieldAppearance)}}return t.\u0275fac=function(e){return new(e||t)(a.Nb(_),a.Nb(a.h),a.Nb(v,8))},t.\u0275cmp=a.Hb({type:t,selectors:[["mat-paginator"]],hostAttrs:[1,"mat-paginator"],inputs:{disabled:"disabled"},exportAs:["matPaginator"],features:[a.zb],decls:14,vars:14,consts:[[1,"mat-paginator-outer-container"],[1,"mat-paginator-container"],["class","mat-paginator-page-size",4,"ngIf"],[1,"mat-paginator-range-actions"],[1,"mat-paginator-range-label"],["mat-icon-button","","type","button","class","mat-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click",4,"ngIf"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-previous",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["viewBox","0 0 24 24","focusable","false",1,"mat-paginator-icon"],["d","M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-next",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"],["mat-icon-button","","type","button","class","mat-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click",4,"ngIf"],[1,"mat-paginator-page-size"],[1,"mat-paginator-page-size-label"],["class","mat-paginator-page-size-select",3,"appearance","color",4,"ngIf"],["class","mat-paginator-page-size-value",4,"ngIf"],[1,"mat-paginator-page-size-select",3,"appearance","color"],[3,"value","disabled","aria-label","selectionChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],[1,"mat-paginator-page-size-value"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"]],template:function(t,e){1&t&&(a.Tb(0,"div",0),a.Tb(1,"div",1),a.Fc(2,f,5,3,"div",2),a.Tb(3,"div",3),a.Tb(4,"div",4),a.Hc(5),a.Sb(),a.Fc(6,g,3,5,"button",5),a.Tb(7,"button",6),a.bc("click",function(){return e.previousPage()}),a.ec(),a.Tb(8,"svg",7),a.Ob(9,"path",8),a.Sb(),a.Sb(),a.dc(),a.Tb(10,"button",9),a.bc("click",function(){return e.nextPage()}),a.ec(),a.Tb(11,"svg",7),a.Ob(12,"path",10),a.Sb(),a.Sb(),a.Fc(13,b,3,5,"button",11),a.Sb(),a.Sb(),a.Sb()),2&t&&(a.Cb(2),a.nc("ngIf",!e.hidePageSize),a.Cb(3),a.Jc(" ",e._intl.getRangeLabel(e.pageIndex,e.pageSize,e.length)," "),a.Cb(1),a.nc("ngIf",e.showFirstLastButtons),a.Cb(1),a.nc("matTooltip",e._intl.previousPageLabel)("matTooltipDisabled",e._previousButtonsDisabled())("matTooltipPosition","above")("disabled",e._previousButtonsDisabled()),a.Db("aria-label",e._intl.previousPageLabel),a.Cb(3),a.nc("matTooltip",e._intl.nextPageLabel)("matTooltipDisabled",e._nextButtonsDisabled())("matTooltipPosition","above")("disabled",e._nextButtonsDisabled()),a.Db("aria-label",e._intl.nextPageLabel),a.Cb(3),a.nc("ngIf",e.showFirstLastButtons))},directives:[i.l,o.a,l.c,u.c,s.a,i.k,r.m],styles:[".mat-paginator{display:block}.mat-paginator-outer-container{display:flex}.mat-paginator-container{display:flex;align-items:center;justify-content:flex-end;padding:0 8px;flex-wrap:wrap-reverse;width:100%}.mat-paginator-page-size{display:flex;align-items:baseline;margin-right:8px}[dir=rtl] .mat-paginator-page-size{margin-right:0;margin-left:8px}.mat-paginator-page-size-label{margin:0 4px}.mat-paginator-page-size-select{margin:6px 4px 0 4px;width:56px}.mat-paginator-page-size-select.mat-form-field-appearance-outline{width:64px}.mat-paginator-page-size-select.mat-form-field-appearance-fill{width:64px}.mat-paginator-range-label{margin:0 32px 0 24px}.mat-paginator-range-actions{display:flex;align-items:center}.mat-paginator-icon{width:28px;fill:currentColor}[dir=rtl] .mat-paginator-icon{transform:rotate(180deg)}\n"],encapsulation:2,changeDetection:0}),t})(),O=(()=>{class t{}return t.\u0275mod=a.Lb({type:t}),t.\u0275inj=a.Kb({factory:function(e){return new(e||t)},providers:[y],imports:[[i.c,o.b,s.b,l.d,r.j]]}),t})()},"6+QB":function(t,e,n){!function(t){"use strict";t.defineLocale("ms",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(t,e){return 12===t&&(t=0),"pagi"===e?t:"tengahari"===e?t>=11?t:t+12:"petang"===e||"malam"===e?t+12:void 0},meridiem:function(t,e,n){return t<11?"pagi":t<15?"tengahari":t<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(n("wd/R"))},"6B0Y":function(t,e,n){!function(t){"use strict";var e={1:"\u17e1",2:"\u17e2",3:"\u17e3",4:"\u17e4",5:"\u17e5",6:"\u17e6",7:"\u17e7",8:"\u17e8",9:"\u17e9",0:"\u17e0"},n={"\u17e1":"1","\u17e2":"2","\u17e3":"3","\u17e4":"4","\u17e5":"5","\u17e6":"6","\u17e7":"7","\u17e8":"8","\u17e9":"9","\u17e0":"0"};t.defineLocale("km",{months:"\u1798\u1780\u179a\u17b6_\u1780\u17bb\u1798\u17d2\u1797\u17c8_\u1798\u17b8\u1793\u17b6_\u1798\u17c1\u179f\u17b6_\u17a7\u179f\u1797\u17b6_\u1798\u17b7\u1790\u17bb\u1793\u17b6_\u1780\u1780\u17d2\u1780\u178a\u17b6_\u179f\u17b8\u17a0\u17b6_\u1780\u1789\u17d2\u1789\u17b6_\u178f\u17bb\u179b\u17b6_\u179c\u17b7\u1785\u17d2\u1786\u17b7\u1780\u17b6_\u1792\u17d2\u1793\u17bc".split("_"),monthsShort:"\u1798\u1780\u179a\u17b6_\u1780\u17bb\u1798\u17d2\u1797\u17c8_\u1798\u17b8\u1793\u17b6_\u1798\u17c1\u179f\u17b6_\u17a7\u179f\u1797\u17b6_\u1798\u17b7\u1790\u17bb\u1793\u17b6_\u1780\u1780\u17d2\u1780\u178a\u17b6_\u179f\u17b8\u17a0\u17b6_\u1780\u1789\u17d2\u1789\u17b6_\u178f\u17bb\u179b\u17b6_\u179c\u17b7\u1785\u17d2\u1786\u17b7\u1780\u17b6_\u1792\u17d2\u1793\u17bc".split("_"),weekdays:"\u17a2\u17b6\u1791\u17b7\u178f\u17d2\u1799_\u1785\u17d0\u1793\u17d2\u1791_\u17a2\u1784\u17d2\u1782\u17b6\u179a_\u1796\u17bb\u1792_\u1796\u17d2\u179a\u17a0\u179f\u17d2\u1794\u178f\u17b7\u17cd_\u179f\u17bb\u1780\u17d2\u179a_\u179f\u17c5\u179a\u17cd".split("_"),weekdaysShort:"\u17a2\u17b6_\u1785_\u17a2_\u1796_\u1796\u17d2\u179a_\u179f\u17bb_\u179f".split("_"),weekdaysMin:"\u17a2\u17b6_\u1785_\u17a2_\u1796_\u1796\u17d2\u179a_\u179f\u17bb_\u179f".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u1796\u17d2\u179a\u17b9\u1780|\u179b\u17d2\u1784\u17b6\u1785/,isPM:function(t){return"\u179b\u17d2\u1784\u17b6\u1785"===t},meridiem:function(t,e,n){return t<12?"\u1796\u17d2\u179a\u17b9\u1780":"\u179b\u17d2\u1784\u17b6\u1785"},calendar:{sameDay:"[\u1790\u17d2\u1784\u17c3\u1793\u17c1\u17c7 \u1798\u17c9\u17c4\u1784] LT",nextDay:"[\u179f\u17d2\u17a2\u17c2\u1780 \u1798\u17c9\u17c4\u1784] LT",nextWeek:"dddd [\u1798\u17c9\u17c4\u1784] LT",lastDay:"[\u1798\u17d2\u179f\u17b7\u179b\u1798\u17b7\u1789 \u1798\u17c9\u17c4\u1784] LT",lastWeek:"dddd [\u179f\u1794\u17d2\u178f\u17b6\u17a0\u17cd\u1798\u17bb\u1793] [\u1798\u17c9\u17c4\u1784] LT",sameElse:"L"},relativeTime:{future:"%s\u1791\u17c0\u178f",past:"%s\u1798\u17bb\u1793",s:"\u1794\u17c9\u17bb\u1793\u17d2\u1798\u17b6\u1793\u179c\u17b7\u1793\u17b6\u1791\u17b8",ss:"%d \u179c\u17b7\u1793\u17b6\u1791\u17b8",m:"\u1798\u17bd\u1799\u1793\u17b6\u1791\u17b8",mm:"%d \u1793\u17b6\u1791\u17b8",h:"\u1798\u17bd\u1799\u1798\u17c9\u17c4\u1784",hh:"%d \u1798\u17c9\u17c4\u1784",d:"\u1798\u17bd\u1799\u1790\u17d2\u1784\u17c3",dd:"%d \u1790\u17d2\u1784\u17c3",M:"\u1798\u17bd\u1799\u1781\u17c2",MM:"%d \u1781\u17c2",y:"\u1798\u17bd\u1799\u1786\u17d2\u1793\u17b6\u17c6",yy:"%d \u1786\u17d2\u1793\u17b6\u17c6"},dayOfMonthOrdinalParse:/\u1791\u17b8\d{1,2}/,ordinal:"\u1791\u17b8%d",preparse:function(t){return t.replace(/[\u17e1\u17e2\u17e3\u17e4\u17e5\u17e6\u17e7\u17e8\u17e9\u17e0]/g,function(t){return n[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},week:{dow:1,doy:4}})}(n("wd/R"))},"7+OI":function(t,e,n){"use strict";n.d(e,"a",function(){return a});var i=n("HDdC");function a(t){return!!t&&(t instanceof i.a||"function"==typeof t.lift&&"function"==typeof t.subscribe)}},"71J3":function(t,e,n){"use strict";n.d(e,"a",function(){return u});var i=n("wa/n"),a=n("3EFq"),r=n("J+ds"),o=n("j9Ql"),s=n("Zd/F"),l=n("ji8I"),c=n("TMPf"),d=n("K2tM");class u{constructor({id:t=null,numeroModele:e=null,code:n=null,etat:o=null,dateEtat:d=null,titre:u=null,entrepriseEtrangere:h={},client:m={},prestation:p={},frais:f={},salaries:g=[],representant:b={},version:_=null,typeDeclarant:y=null,raisonSocialeDeclarant:v=null}){this.id=t,this.titre=u,this.numeroModele=e,this.code=n,this.etat=o,this.dateEtat=d,this.version=_,this.typeDeclarant=y,this.raisonSocialeDeclarant=v,this.entrepriseEtrangere=new a.a(h),this.client=new i.a(m),this.prestation=new l.a(p),this.frais=new r.a(f),this.salaries=g.map(t=>new c.a(t)),this.representant=new s.a(b)}getRepresentativeFromType(){const t=this.representant.getForPost();switch(this.representant.type){case d.a.DIRIGEANT:return Object.assign(Object.assign({},t),{personne:this.entrepriseEtrangere.dirigeant.getForPost()});case d.a.SALARIE:const e=this.salaries.find(t=>t.id===this.representant.idSalarie),n=new o.a(e||{});return Object.assign(Object.assign({},t),{personne:n.getForPost()});case d.a.CLIENT:const i=this.client.getForPost();return Object.assign(Object.assign({},t),{raisonSociale:i.raisonSociale,numTVA:i.numTVA,adresse:i.adresse});default:return t}}getForPost(){return{id:this.id,numeroModele:this.numeroModele,code:this.code,etat:this.etat,dateEtat:this.dateEtat,titre:this.titre,entrepriseEtrangere:this.entrepriseEtrangere.getForPost(),client:4!==this.numeroModele?this.client.getForPost():null,representant:7!==this.numeroModele?this.getRepresentativeFromType():null,prestation:this.prestation.getForPost(),frais:this.frais.getForPost(),salaries:this.salaries.map(t=>t.getForPost())}}}},"7BjC":function(t,e,n){!function(t){"use strict";function e(t,e,n,i){var a={s:["m\xf5ne sekundi","m\xf5ni sekund","paar sekundit"],ss:[t+"sekundi",t+"sekundit"],m:["\xfche minuti","\xfcks minut"],mm:[t+" minuti",t+" minutit"],h:["\xfche tunni","tund aega","\xfcks tund"],hh:[t+" tunni",t+" tundi"],d:["\xfche p\xe4eva","\xfcks p\xe4ev"],M:["kuu aja","kuu aega","\xfcks kuu"],MM:[t+" kuu",t+" kuud"],y:["\xfche aasta","aasta","\xfcks aasta"],yy:[t+" aasta",t+" aastat"]};return e?a[n][2]?a[n][2]:a[n][1]:i?a[n][0]:a[n][1]}t.defineLocale("et",{months:"jaanuar_veebruar_m\xe4rts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_m\xe4rts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"p\xfchap\xe4ev_esmasp\xe4ev_teisip\xe4ev_kolmap\xe4ev_neljap\xe4ev_reede_laup\xe4ev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[T\xe4na,] LT",nextDay:"[Homme,] LT",nextWeek:"[J\xe4rgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",sameElse:"L"},relativeTime:{future:"%s p\xe4rast",past:"%s tagasi",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:"%d p\xe4eva",M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},"7C5Q":function(t,e,n){!function(t){"use strict";t.defineLocale("en-in",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:0,doy:6}})}(n("wd/R"))},"7Hc7":function(t,e,n){"use strict";n.d(e,"a",function(){return h});let i=1;const a=(()=>Promise.resolve())(),r={};function o(t){return t in r&&(delete r[t],!0)}const s={setImmediate(t){const e=i++;return r[e]=!0,a.then(()=>o(e)&&t()),e},clearImmediate(t){o(t)}};var l=n("3N8a");class c extends l.a{constructor(t,e){super(t,e),this.scheduler=t,this.work=e}requestAsyncId(t,e,n=0){return null!==n&&n>0?super.requestAsyncId(t,e,n):(t.actions.push(this),t.scheduled||(t.scheduled=s.setImmediate(t.flush.bind(t,null))))}recycleAsyncId(t,e,n=0){if(null!==n&&n>0||null===n&&this.delay>0)return super.recycleAsyncId(t,e,n);0===t.actions.length&&(s.clearImmediate(e),t.scheduled=void 0)}}var d=n("IjjT");class u extends d.a{flush(t){this.active=!0,this.scheduled=void 0;const{actions:e}=this;let n,i=-1,a=e.length;t=t||e.shift();do{if(n=t.execute(t.state,t.delay))break}while(++i<a&&(t=e.shift()));if(this.active=!1,n){for(;++i<a&&(t=e.shift());)t.unsubscribe();throw n}}}const h=new u(c)},"7KAL":function(t,e,n){"use strict";n.d(e,"a",function(){return g}),n.d(e,"b",function(){return _}),n.d(e,"c",function(){return f}),n.d(e,"d",function(){return y}),n.d(e,"e",function(){return b});var i=n("8LU1"),a=n("8Y7J"),r=n("XNiG"),o=n("LRne"),s=n("HDdC"),l=n("xgIS");n("3N8a"),n("IjjT"),n("7Hc7");var c=(n("quSY"),n("7+OI"),n("/uUt"),n("3UWI")),d=n("pLZG"),u=n("1G5W");n("JX91"),n("7o/Q"),n("eIep"),n("UXun");var h=n("SCoL"),m=n("SVse"),p=n("9gLZ");n("CtHx");let f=(()=>{class t{constructor(t,e,n){this._ngZone=t,this._platform=e,this._scrolled=new r.a,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=n}register(t){this.scrollContainers.has(t)||this.scrollContainers.set(t,t.elementScrolled().subscribe(()=>this._scrolled.next(t)))}deregister(t){const e=this.scrollContainers.get(t);e&&(e.unsubscribe(),this.scrollContainers.delete(t))}scrolled(t=20){return this._platform.isBrowser?new s.a(e=>{this._globalSubscription||this._addGlobalListener();const n=t>0?this._scrolled.pipe(Object(c.a)(t)).subscribe(e):this._scrolled.subscribe(e);return this._scrolledCount++,()=>{n.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):Object(o.a)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((t,e)=>this.deregister(e)),this._scrolled.complete()}ancestorScrolled(t,e){const n=this.getAncestorScrollContainers(t);return this.scrolled(e).pipe(Object(d.a)(t=>!t||n.indexOf(t)>-1))}getAncestorScrollContainers(t){const e=[];return this.scrollContainers.forEach((n,i)=>{this._scrollableContainsElement(i,t)&&e.push(i)}),e}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(t,e){let n=Object(i.e)(e),a=t.getElementRef().nativeElement;do{if(n==a)return!0}while(n=n.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const t=this._getWindow();return Object(l.a)(t.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return t.\u0275fac=function(e){return new(e||t)(a.Xb(a.B),a.Xb(h.a),a.Xb(m.d,8))},t.\u0275prov=Object(a.Jb)({factory:function(){return new t(Object(a.Xb)(a.B),Object(a.Xb)(h.a),Object(a.Xb)(m.d,8))},token:t,providedIn:"root"}),t})(),g=(()=>{class t{constructor(t,e,n,i){this.elementRef=t,this.scrollDispatcher=e,this.ngZone=n,this.dir=i,this._destroyed=new r.a,this._elementScrolled=new s.a(t=>this.ngZone.runOutsideAngular(()=>Object(l.a)(this.elementRef.nativeElement,"scroll").pipe(Object(u.a)(this._destroyed)).subscribe(t)))}ngOnInit(){this.scrollDispatcher.register(this)}ngOnDestroy(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(t){const e=this.elementRef.nativeElement,n=this.dir&&"rtl"==this.dir.value;null==t.left&&(t.left=n?t.end:t.start),null==t.right&&(t.right=n?t.start:t.end),null!=t.bottom&&(t.top=e.scrollHeight-e.clientHeight-t.bottom),n&&0!=Object(h.d)()?(null!=t.left&&(t.right=e.scrollWidth-e.clientWidth-t.left),2==Object(h.d)()?t.left=t.right:1==Object(h.d)()&&(t.left=t.right?-t.right:t.right)):null!=t.right&&(t.left=e.scrollWidth-e.clientWidth-t.right),this._applyScrollToOptions(t)}_applyScrollToOptions(t){const e=this.elementRef.nativeElement;Object(h.g)()?e.scrollTo(t):(null!=t.top&&(e.scrollTop=t.top),null!=t.left&&(e.scrollLeft=t.left))}measureScrollOffset(t){const e=this.elementRef.nativeElement;if("top"==t)return e.scrollTop;if("bottom"==t)return e.scrollHeight-e.clientHeight-e.scrollTop;const n=this.dir&&"rtl"==this.dir.value;return"start"==t?t=n?"right":"left":"end"==t&&(t=n?"left":"right"),n&&2==Object(h.d)()?"left"==t?e.scrollWidth-e.clientWidth-e.scrollLeft:e.scrollLeft:n&&1==Object(h.d)()?"left"==t?e.scrollLeft+e.scrollWidth-e.clientWidth:-e.scrollLeft:"left"==t?e.scrollLeft:e.scrollWidth-e.clientWidth-e.scrollLeft}}return t.\u0275fac=function(e){return new(e||t)(a.Nb(a.l),a.Nb(f),a.Nb(a.B),a.Nb(p.b,8))},t.\u0275dir=a.Ib({type:t,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]}),t})(),b=(()=>{class t{constructor(t,e,n){this._platform=t,this._change=new r.a,this._changeListener=t=>{this._change.next(t)},this._document=n,e.runOutsideAngular(()=>{if(t.isBrowser){const t=this._getWindow();t.addEventListener("resize",this._changeListener),t.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._updateViewportSize())})}ngOnDestroy(){if(this._platform.isBrowser){const t=this._getWindow();t.removeEventListener("resize",this._changeListener),t.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const t={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),t}getViewportRect(){const t=this.getViewportScrollPosition(),{width:e,height:n}=this.getViewportSize();return{top:t.top,left:t.left,bottom:t.top+n,right:t.left+e,height:n,width:e}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const t=this._document,e=this._getWindow(),n=t.documentElement,i=n.getBoundingClientRect();return{top:-i.top||t.body.scrollTop||e.scrollY||n.scrollTop||0,left:-i.left||t.body.scrollLeft||e.scrollX||n.scrollLeft||0}}change(t=20){return t>0?this._change.pipe(Object(c.a)(t)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const t=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:t.innerWidth,height:t.innerHeight}:{width:0,height:0}}}return t.\u0275fac=function(e){return new(e||t)(a.Xb(h.a),a.Xb(a.B),a.Xb(m.d,8))},t.\u0275prov=Object(a.Jb)({factory:function(){return new t(Object(a.Xb)(h.a),Object(a.Xb)(a.B),Object(a.Xb)(m.d,8))},token:t,providedIn:"root"}),t})(),_=(()=>{class t{}return t.\u0275mod=a.Lb({type:t}),t.\u0275inj=a.Kb({factory:function(e){return new(e||t)}}),t})(),y=(()=>{class t{}return t.\u0275mod=a.Lb({type:t}),t.\u0275inj=a.Kb({factory:function(e){return new(e||t)},imports:[[p.a,h.b,_],p.a,_]}),t})()},"7aV9":function(t,e,n){!function(t){"use strict";t.defineLocale("si",{months:"\u0da2\u0db1\u0dc0\u0dcf\u0dbb\u0dd2_\u0db4\u0dd9\u0db6\u0dbb\u0dc0\u0dcf\u0dbb\u0dd2_\u0db8\u0dcf\u0dbb\u0dca\u0dad\u0dd4_\u0d85\u0db4\u0dca\u200d\u0dbb\u0dda\u0dbd\u0dca_\u0db8\u0dd0\u0dba\u0dd2_\u0da2\u0dd6\u0db1\u0dd2_\u0da2\u0dd6\u0dbd\u0dd2_\u0d85\u0d9c\u0ddd\u0dc3\u0dca\u0dad\u0dd4_\u0dc3\u0dd0\u0db4\u0dca\u0dad\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca_\u0d94\u0d9a\u0dca\u0dad\u0ddd\u0db6\u0dbb\u0dca_\u0db1\u0ddc\u0dc0\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca_\u0daf\u0dd9\u0dc3\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca".split("_"),monthsShort:"\u0da2\u0db1_\u0db4\u0dd9\u0db6_\u0db8\u0dcf\u0dbb\u0dca_\u0d85\u0db4\u0dca_\u0db8\u0dd0\u0dba\u0dd2_\u0da2\u0dd6\u0db1\u0dd2_\u0da2\u0dd6\u0dbd\u0dd2_\u0d85\u0d9c\u0ddd_\u0dc3\u0dd0\u0db4\u0dca_\u0d94\u0d9a\u0dca_\u0db1\u0ddc\u0dc0\u0dd0_\u0daf\u0dd9\u0dc3\u0dd0".split("_"),weekdays:"\u0d89\u0dbb\u0dd2\u0daf\u0dcf_\u0dc3\u0db3\u0dd4\u0daf\u0dcf_\u0d85\u0d9f\u0dc4\u0dbb\u0dd4\u0dc0\u0dcf\u0daf\u0dcf_\u0db6\u0daf\u0dcf\u0daf\u0dcf_\u0db6\u0dca\u200d\u0dbb\u0dc4\u0dc3\u0dca\u0db4\u0dad\u0dd2\u0db1\u0dca\u0daf\u0dcf_\u0dc3\u0dd2\u0d9a\u0dd4\u0dbb\u0dcf\u0daf\u0dcf_\u0dc3\u0dd9\u0db1\u0dc3\u0dd4\u0dbb\u0dcf\u0daf\u0dcf".split("_"),weekdaysShort:"\u0d89\u0dbb\u0dd2_\u0dc3\u0db3\u0dd4_\u0d85\u0d9f_\u0db6\u0daf\u0dcf_\u0db6\u0dca\u200d\u0dbb\u0dc4_\u0dc3\u0dd2\u0d9a\u0dd4_\u0dc3\u0dd9\u0db1".split("_"),weekdaysMin:"\u0d89_\u0dc3_\u0d85_\u0db6_\u0db6\u0dca\u200d\u0dbb_\u0dc3\u0dd2_\u0dc3\u0dd9".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"a h:mm",LTS:"a h:mm:ss",L:"YYYY/MM/DD",LL:"YYYY MMMM D",LLL:"YYYY MMMM D, a h:mm",LLLL:"YYYY MMMM D [\u0dc0\u0dd0\u0db1\u0dd2] dddd, a h:mm:ss"},calendar:{sameDay:"[\u0d85\u0daf] LT[\u0da7]",nextDay:"[\u0dc4\u0dd9\u0da7] LT[\u0da7]",nextWeek:"dddd LT[\u0da7]",lastDay:"[\u0d8a\u0dba\u0dda] LT[\u0da7]",lastWeek:"[\u0db4\u0dc3\u0dd4\u0d9c\u0dd2\u0dba] dddd LT[\u0da7]",sameElse:"L"},relativeTime:{future:"%s\u0d9a\u0dd2\u0db1\u0dca",past:"%s\u0d9a\u0da7 \u0db4\u0dd9\u0dbb",s:"\u0dad\u0dad\u0dca\u0db4\u0dbb \u0d9a\u0dd2\u0dc4\u0dd2\u0db4\u0dba",ss:"\u0dad\u0dad\u0dca\u0db4\u0dbb %d",m:"\u0db8\u0dd2\u0db1\u0dd2\u0dad\u0dca\u0dad\u0dd4\u0dc0",mm:"\u0db8\u0dd2\u0db1\u0dd2\u0dad\u0dca\u0dad\u0dd4 %d",h:"\u0db4\u0dd0\u0dba",hh:"\u0db4\u0dd0\u0dba %d",d:"\u0daf\u0dd2\u0db1\u0dba",dd:"\u0daf\u0dd2\u0db1 %d",M:"\u0db8\u0dcf\u0dc3\u0dba",MM:"\u0db8\u0dcf\u0dc3 %d",y:"\u0dc0\u0dc3\u0dbb",yy:"\u0dc0\u0dc3\u0dbb %d"},dayOfMonthOrdinalParse:/\d{1,2} \u0dc0\u0dd0\u0db1\u0dd2/,ordinal:function(t){return t+" \u0dc0\u0dd0\u0db1\u0dd2"},meridiemParse:/\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4|\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4|\u0db4\u0dd9.\u0dc0|\u0db4.\u0dc0./,isPM:function(t){return"\u0db4.\u0dc0."===t||"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4"===t},meridiem:function(t,e,n){return t>11?n?"\u0db4.\u0dc0.":"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4":n?"\u0db4\u0dd9.\u0dc0.":"\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4"}})}(n("wd/R"))},"7duk":function(t,e,n){"use strict";n.d(e,"a",function(){return v});var i=n("8LU1"),a=n("1O3W"),r=n("Q2Ze"),o=n("XNiG"),s=n("/uUt"),l=n("1G5W"),c=n("IzEk"),d=n("GS7A");const u={transformPanel:Object(d.n)("transformPanel",[Object(d.k)("void",Object(d.l)({transform:"scaleY(0.8)",minWidth:"100%",opacity:0})),Object(d.k)("showing",Object(d.l)({opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"})),Object(d.k)("showing-multiple",Object(d.l)({opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"})),Object(d.m)("void => *",Object(d.g)([Object(d.e)("150ms cubic-bezier(0.25, 0.8, 0.25, 1)")])),Object(d.m)("* => void",[Object(d.e)("250ms 100ms linear",Object(d.l)({opacity:0}))])]),fadeInContent:Object(d.n)("fadeInContent",[Object(d.k)("showing",Object(d.l)({opacity:1})),Object(d.m)("void => showing",[Object(d.l)({opacity:0}),Object(d.e)("150ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};var h=n("8Y7J"),m=n("SVse");const p=["trigger"],f=["panel"];function g(t,e){if(1&t&&(h.Tb(0,"span",8),h.Hc(1),h.Sb()),2&t){const t=h.fc();h.Cb(1),h.Ic(t.placeholder||"\xa0")}}function b(t,e){if(1&t&&(h.Tb(0,"span",9),h.Hc(1),h.Sb()),2&t){const t=h.fc();h.Cb(1),h.Ic(t.label||"\xa0")}}function _(t,e){if(1&t){const t=h.Ub();h.Tb(0,"div",10,11),h.bc("@transformPanel.done",function(e){return h.yc(t),h.fc()._panelDoneAnimatingStream.next(e.toState)}),h.lc(2),h.Sb()}if(2&t){const t=h.fc();h.Cc("transform-origin",t._transformOrigin),h.nc("@transformPanel","showing-multiple")}}const y=["*"];let v=(()=>{class t{constructor(e,n){this._changeDetectorRef=e,this.elementRef=n,this.id="app-dropdown-select-"+t.nextId++,this.describedBy="",this.stateChanges=new o.a,this.ngControl=null,this.errorState=!1,this.controlType="dropdown-select-input",this._panelDoneAnimatingStream=new o.a,this._transformOrigin="top",this._offsetY=0,this._positions=[{originX:"start",originY:"top",overlayX:"start",overlayY:"top"},{originX:"start",originY:"bottom",overlayX:"start",overlayY:"bottom"}],this.value=null,this._panelOpen=!1,this._focused=!1,this._scrollTop=0,this._destroy=new o.a}get label(){return this._label}set label(t){this._label=t,this.stateChanges.next()}get placeholder(){return this._placeholder}set placeholder(t){this._placeholder=t,this.stateChanges.next()}get disabled(){return this._disabled}set disabled(t){this._disabled=Object(i.c)(t),this.stateChanges.next()}get required(){return this._required}set required(t){this._required=Object(i.c)(t),this.stateChanges.next()}get empty(){return!this.label}get panelOpen(){return this._panelOpen}get focused(){return this._focused||this._panelOpen}get shouldLabelFloat(){return this.focused||!this.empty}ngOnInit(){this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(Object(s.a)(),Object(l.a)(this._destroy)).subscribe(()=>{this.panelOpen?this._scrollTop=0:(this.overlayDir.offsetX=0,this._changeDetectorRef.markForCheck())})}ngOnDestroy(){this._destroy.next(),this._destroy.complete(),this.stateChanges.complete()}toggle(){this.panelOpen?this.close():this.open()}focus(){this.elementRef.nativeElement.focus()}open(){this.disabled||this._panelOpen||(this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._panelOpen=!0,this._changeDetectorRef.markForCheck())}close(){this._panelOpen&&(this._panelOpen=!1,this._changeDetectorRef.markForCheck())}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,this.disabled||this.panelOpen||(this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this.overlayDir.positionChange.pipe(Object(c.a)(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.panel.nativeElement.scrollTop=this._scrollTop})}setDescribedByIds(t){this.describedBy=t.join(" ")}onContainerClick(){this.focus(),this.open()}}return t.nextId=0,t.\u0275fac=function(e){return new(e||t)(h.Nb(h.h),h.Nb(h.l))},t.\u0275cmp=h.Hb({type:t,selectors:[["app-dropdown-select"]],viewQuery:function(t,e){if(1&t&&(h.Lc(p,3),h.Lc(f,1),h.Lc(a.a,3)),2&t){let t;h.uc(t=h.cc())&&(e.trigger=t.first),h.uc(t=h.cc())&&(e.panel=t.first),h.uc(t=h.cc())&&(e.overlayDir=t.first)}},hostVars:4,hostBindings:function(t,e){2&t&&(h.Wb("id",e.id),h.Db("aria-describedby",e.describedBy),h.Fb("floating",e.shouldLabelFloat))},inputs:{label:"label",placeholder:"placeholder",disabled:"disabled",required:"required"},exportAs:["appDropdownSelect"],features:[h.Bb([{provide:r.d,useExisting:t}])],ngContentSelectors:y,decls:9,vars:8,consts:[["cdk-overlay-origin","","aria-hidden","true",1,"mat-select-trigger"],["origin","cdkOverlayOrigin","trigger",""],[1,"mat-select-value",3,"ngSwitch"],["class","mat-select-placeholder",4,"ngSwitchCase"],["class","mat-select-value-text",4,"ngSwitchCase"],[1,"mat-select-arrow-wrapper"],[1,"mat-select-arrow"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayMinWidth","cdkConnectedOverlayOffsetY","backdropClick","attach","detach"],[1,"mat-select-placeholder"],[1,"mat-select-value-text"],[1,"mat-select-panel","dropdown-select"],["panel",""]],template:function(t,e){if(1&t&&(h.mc(),h.Tb(0,"div",0,1),h.Tb(3,"div",2),h.Fc(4,g,2,1,"span",3),h.Fc(5,b,2,1,"span",4),h.Sb(),h.Tb(6,"div",5),h.Ob(7,"div",6),h.Sb(),h.Sb(),h.Fc(8,_,3,3,"ng-template",7),h.bc("backdropClick",function(){return e.close()})("attach",function(){return e._onAttached()})("detach",function(){return e.close()})),2&t){const t=h.vc(1);h.Cb(3),h.nc("ngSwitch",e.empty),h.Cb(1),h.nc("ngSwitchCase",!0),h.Cb(1),h.nc("ngSwitchCase",!1),h.Cb(3),h.nc("cdkConnectedOverlayOrigin",t)("cdkConnectedOverlayOpen",e.panelOpen)("cdkConnectedOverlayPositions",e._positions)("cdkConnectedOverlayMinWidth",null==e._triggerRect?null:e._triggerRect.width)("cdkConnectedOverlayOffsetY",e._offsetY)}},directives:[a.b,m.n,m.o,a.a],styles:["span[_ngcontent-%COMP%]{opacity:0;transition:opacity .2s}.floating[_nghost-%COMP%] span[_ngcontent-%COMP%]{opacity:1}.dropdown-select[_ngcontent-%COMP%]{background:#fff;max-width:750px;max-height:400px}"],data:{animation:[u.transformPanel]},changeDetection:0}),t})()},"7o/Q":function(t,e,n){"use strict";n.d(e,"a",function(){return c});var i=n("n6bG"),a=n("gRHU"),r=n("quSY"),o=n("2QA8"),s=n("2fFW"),l=n("NJ4a");class c extends r.a{constructor(t,e,n){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=a.a;break;case 1:if(!t){this.destination=a.a;break}if("object"==typeof t){t instanceof c?(this.syncErrorThrowable=t.syncErrorThrowable,this.destination=t,t.add(this)):(this.syncErrorThrowable=!0,this.destination=new d(this,t));break}default:this.syncErrorThrowable=!0,this.destination=new d(this,t,e,n)}}[o.a](){return this}static create(t,e,n){const i=new c(t,e,n);return i.syncErrorThrowable=!1,i}next(t){this.isStopped||this._next(t)}error(t){this.isStopped||(this.isStopped=!0,this._error(t))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(t){this.destination.next(t)}_error(t){this.destination.error(t),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:t}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=t,this}}class d extends c{constructor(t,e,n,r){let o;super(),this._parentSubscriber=t;let s=this;Object(i.a)(e)?o=e:e&&(o=e.next,n=e.error,r=e.complete,e!==a.a&&(s=Object.create(e),Object(i.a)(s.unsubscribe)&&this.add(s.unsubscribe.bind(s)),s.unsubscribe=this.unsubscribe.bind(this))),this._context=s,this._next=o,this._error=n,this._complete=r}next(t){if(!this.isStopped&&this._next){const{_parentSubscriber:e}=this;s.a.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?this.__tryOrSetError(e,this._next,t)&&this.unsubscribe():this.__tryOrUnsub(this._next,t)}}error(t){if(!this.isStopped){const{_parentSubscriber:e}=this,{useDeprecatedSynchronousErrorHandling:n}=s.a;if(this._error)n&&e.syncErrorThrowable?(this.__tryOrSetError(e,this._error,t),this.unsubscribe()):(this.__tryOrUnsub(this._error,t),this.unsubscribe());else if(e.syncErrorThrowable)n?(e.syncErrorValue=t,e.syncErrorThrown=!0):Object(l.a)(t),this.unsubscribe();else{if(this.unsubscribe(),n)throw t;Object(l.a)(t)}}}complete(){if(!this.isStopped){const{_parentSubscriber:t}=this;if(this._complete){const e=()=>this._complete.call(this._context);s.a.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?(this.__tryOrSetError(t,e),this.unsubscribe()):(this.__tryOrUnsub(e),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(t,e){try{t.call(this._context,e)}catch(n){if(this.unsubscribe(),s.a.useDeprecatedSynchronousErrorHandling)throw n;Object(l.a)(n)}}__tryOrSetError(t,e,n){if(!s.a.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{e.call(this._context,n)}catch(i){return s.a.useDeprecatedSynchronousErrorHandling?(t.syncErrorValue=i,t.syncErrorThrown=!0,!0):(Object(l.a)(i),!0)}return!1}_unsubscribe(){const{_parentSubscriber:t}=this;this._context=null,this._parentSubscriber=null,t.unsubscribe()}}},"7pfu":function(t,e,n){"use strict";n.d(e,"a",function(){return y});var i=n("v/fa"),a=n("8Y7J"),r=n("TSSN"),o=n("s7LF"),s=n("2axB"),l=n("f3LI"),c=n("Q2Ze"),d=n("e6WT"),u=n("q6Qu"),h=n("SVse"),m=n("UPR3"),p=n("pSGz");function f(t,e){1&t&&(a.Tb(0,"mat-error"),a.Hc(1),a.gc(2,"translate"),a.Sb()),2&t&&(a.Cb(1),a.Jc(" ",a.hc(2,1,"common.error.requis")," "))}function g(t,e){1&t&&(a.Tb(0,"mat-error"),a.Hc(1),a.gc(2,"translate"),a.Sb()),2&t&&(a.Cb(1),a.Jc(" ",a.hc(2,1,"common.error.length")," "))}function b(t,e){1&t&&(a.Tb(0,"mat-error"),a.Hc(1),a.gc(2,"translate"),a.Sb()),2&t&&(a.Cb(1),a.Jc(" ",a.hc(2,1,"common.error.requis")," "))}function _(t,e){1&t&&(a.Tb(0,"mat-error"),a.Hc(1),a.gc(2,"translate"),a.Sb()),2&t&&(a.Cb(1),a.Jc(" ",a.hc(2,1,"common.error.length")," "))}let y=(()=>{class t extends i.a{constructor(t){super(t),this.translateService=t}set formGp(t){this.form=t}get birthdayCtrl(){return this.form.get("dateNaissance")}get countryCtrl(){return this.form.get("paysNaissance")}get isNameDisabled(){return!1}get isCityDisabled(){return!1}get isCountryDisabled(){return!1}onCountryChange(t){this.countryCtrl.setValue(t)}}return t.\u0275fac=function(e){return new(e||t)(a.Nb(r.d))},t.\u0275cmp=a.Hb({type:t,selectors:[["app-person-form-2"]],inputs:{isAutocompleteDisabled:"isAutocompleteDisabled",formGp:"formGp"},features:[a.zb],decls:17,vars:13,consts:[[1,"form-container",3,"formGroup"],[1,"inline-form"],["appTextField","latin",1,"inline-item",3,"parentForm","isAutocompleteDisabled","isRequired"],[1,"spacer"],[1,"inline-item"],["matInput","","appTextField","latin","data-cy","prenom","type","text","name","firstname","appLabel","common.prenom","formControlName","prenom","required",""],[4,"ngIf"],["data-cy","birthday","formControlName","dateNaissance",1,"inline-item","birthday",3,"inputTitle","isRequired"],["matInput","","data-cy","ville-naissance","type","text","name","city-of-birth","appLabel","common.ville.naissance","formControlName","villeNaissance","required",""],["data-cy","pays-naissance","name","country-of-birth",1,"inline-item",3,"countryCtrl","inputTitle","isRequired","selectionChanged"]],template:function(t,e){1&t&&(a.Tb(0,"form",0),a.Tb(1,"div",1),a.Ob(2,"app-salarie-2",2),a.Ob(3,"div",3),a.Tb(4,"mat-form-field",4),a.Ob(5,"input",5),a.Fc(6,f,3,3,"mat-error",6),a.Fc(7,g,3,3,"mat-error",6),a.Sb(),a.Sb(),a.Tb(8,"div",1),a.Ob(9,"app-date-form-2",7),a.Ob(10,"div",3),a.Tb(11,"mat-form-field",4),a.Ob(12,"input",8),a.Fc(13,b,3,3,"mat-error",6),a.Fc(14,_,3,3,"mat-error",6),a.Sb(),a.Ob(15,"div",3),a.Tb(16,"app-country-autocomplete-2",9),a.bc("selectionChanged",function(t){return e.onCountryChange(t)}),a.Sb(),a.Sb(),a.Sb()),2&t&&(a.nc("formGroup",e.form),a.Cb(2),a.nc("parentForm",e.form)("isAutocompleteDisabled",e.isAutocompleteDisabled)("isRequired",!0),a.Cb(4),a.nc("ngIf",e.doesControlHaveError("prenom","required")),a.Cb(1),a.nc("ngIf",e.doesControlHaveError("prenom","maxlength")),a.Cb(2),a.nc("inputTitle","common.date.naissance")("isRequired",!0),a.Cb(4),a.nc("ngIf",e.doesControlHaveError("villeNaissance","required")),a.Cb(1),a.nc("ngIf",e.doesControlHaveError("villeNaissance","maxlength")),a.Cb(2),a.nc("countryCtrl",e.countryCtrl)("inputTitle","common.pays.naissance")("isRequired",!0))},directives:[o.x,o.p,o.i,s.a,l.a,c.c,d.b,o.c,u.a,o.o,o.g,o.v,h.l,m.a,p.a,c.b],pipes:[r.c],styles:[".form-container[_ngcontent-%COMP%]{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.form-container[_ngcontent-%COMP%] .inline-form[_ngcontent-%COMP%]{display:-ms-flexbox;display:flex;-ms-flex-flow:row;flex-flow:row}.form-container[_ngcontent-%COMP%] .inline-form[_ngcontent-%COMP%] .spacer[_ngcontent-%COMP%]{width:50px}.form-container[_ngcontent-%COMP%] .inline-form[_ngcontent-%COMP%] .inline-item[_ngcontent-%COMP%]{-ms-flex:1;flex:1}.form-container[_ngcontent-%COMP%] .inline-form[_ngcontent-%COMP%] .inline-item.birthday[_ngcontent-%COMP%]{max-width:250px}"]}),t})()},"8/+R":function(t,e,n){!function(t){"use strict";var e={1:"\u0a67",2:"\u0a68",3:"\u0a69",4:"\u0a6a",5:"\u0a6b",6:"\u0a6c",7:"\u0a6d",8:"\u0a6e",9:"\u0a6f",0:"\u0a66"},n={"\u0a67":"1","\u0a68":"2","\u0a69":"3","\u0a6a":"4","\u0a6b":"5","\u0a6c":"6","\u0a6d":"7","\u0a6e":"8","\u0a6f":"9","\u0a66":"0"};t.defineLocale("pa-in",{months:"\u0a1c\u0a28\u0a35\u0a30\u0a40_\u0a2b\u0a3c\u0a30\u0a35\u0a30\u0a40_\u0a2e\u0a3e\u0a30\u0a1a_\u0a05\u0a2a\u0a4d\u0a30\u0a48\u0a32_\u0a2e\u0a08_\u0a1c\u0a42\u0a28_\u0a1c\u0a41\u0a32\u0a3e\u0a08_\u0a05\u0a17\u0a38\u0a24_\u0a38\u0a24\u0a70\u0a2c\u0a30_\u0a05\u0a15\u0a24\u0a42\u0a2c\u0a30_\u0a28\u0a35\u0a70\u0a2c\u0a30_\u0a26\u0a38\u0a70\u0a2c\u0a30".split("_"),monthsShort:"\u0a1c\u0a28\u0a35\u0a30\u0a40_\u0a2b\u0a3c\u0a30\u0a35\u0a30\u0a40_\u0a2e\u0a3e\u0a30\u0a1a_\u0a05\u0a2a\u0a4d\u0a30\u0a48\u0a32_\u0a2e\u0a08_\u0a1c\u0a42\u0a28_\u0a1c\u0a41\u0a32\u0a3e\u0a08_\u0a05\u0a17\u0a38\u0a24_\u0a38\u0a24\u0a70\u0a2c\u0a30_\u0a05\u0a15\u0a24\u0a42\u0a2c\u0a30_\u0a28\u0a35\u0a70\u0a2c\u0a30_\u0a26\u0a38\u0a70\u0a2c\u0a30".split("_"),weekdays:"\u0a10\u0a24\u0a35\u0a3e\u0a30_\u0a38\u0a4b\u0a2e\u0a35\u0a3e\u0a30_\u0a2e\u0a70\u0a17\u0a32\u0a35\u0a3e\u0a30_\u0a2c\u0a41\u0a27\u0a35\u0a3e\u0a30_\u0a35\u0a40\u0a30\u0a35\u0a3e\u0a30_\u0a38\u0a3c\u0a41\u0a71\u0a15\u0a30\u0a35\u0a3e\u0a30_\u0a38\u0a3c\u0a28\u0a40\u0a1a\u0a30\u0a35\u0a3e\u0a30".split("_"),weekdaysShort:"\u0a10\u0a24_\u0a38\u0a4b\u0a2e_\u0a2e\u0a70\u0a17\u0a32_\u0a2c\u0a41\u0a27_\u0a35\u0a40\u0a30_\u0a38\u0a3c\u0a41\u0a15\u0a30_\u0a38\u0a3c\u0a28\u0a40".split("_"),weekdaysMin:"\u0a10\u0a24_\u0a38\u0a4b\u0a2e_\u0a2e\u0a70\u0a17\u0a32_\u0a2c\u0a41\u0a27_\u0a35\u0a40\u0a30_\u0a38\u0a3c\u0a41\u0a15\u0a30_\u0a38\u0a3c\u0a28\u0a40".split("_"),longDateFormat:{LT:"A h:mm \u0a35\u0a1c\u0a47",LTS:"A h:mm:ss \u0a35\u0a1c\u0a47",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0a35\u0a1c\u0a47",LLLL:"dddd, D MMMM YYYY, A h:mm \u0a35\u0a1c\u0a47"},calendar:{sameDay:"[\u0a05\u0a1c] LT",nextDay:"[\u0a15\u0a32] LT",nextWeek:"[\u0a05\u0a17\u0a32\u0a3e] dddd, LT",lastDay:"[\u0a15\u0a32] LT",lastWeek:"[\u0a2a\u0a3f\u0a1b\u0a32\u0a47] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0a35\u0a3f\u0a71\u0a1a",past:"%s \u0a2a\u0a3f\u0a1b\u0a32\u0a47",s:"\u0a15\u0a41\u0a1d \u0a38\u0a15\u0a3f\u0a70\u0a1f",ss:"%d \u0a38\u0a15\u0a3f\u0a70\u0a1f",m:"\u0a07\u0a15 \u0a2e\u0a3f\u0a70\u0a1f",mm:"%d \u0a2e\u0a3f\u0a70\u0a1f",h:"\u0a07\u0a71\u0a15 \u0a18\u0a70\u0a1f\u0a3e",hh:"%d \u0a18\u0a70\u0a1f\u0a47",d:"\u0a07\u0a71\u0a15 \u0a26\u0a3f\u0a28",dd:"%d \u0a26\u0a3f\u0a28",M:"\u0a07\u0a71\u0a15 \u0a2e\u0a39\u0a40\u0a28\u0a3e",MM:"%d \u0a2e\u0a39\u0a40\u0a28\u0a47",y:"\u0a07\u0a71\u0a15 \u0a38\u0a3e\u0a32",yy:"%d \u0a38\u0a3e\u0a32"},preparse:function(t){return t.replace(/[\u0a67\u0a68\u0a69\u0a6a\u0a6b\u0a6c\u0a6d\u0a6e\u0a6f\u0a66]/g,function(t){return n[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},meridiemParse:/\u0a30\u0a3e\u0a24|\u0a38\u0a35\u0a47\u0a30|\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30|\u0a38\u0a3c\u0a3e\u0a2e/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u0a30\u0a3e\u0a24"===e?t<4?t:t+12:"\u0a38\u0a35\u0a47\u0a30"===e?t:"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30"===e?t>=10?t:t+12:"\u0a38\u0a3c\u0a3e\u0a2e"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"\u0a30\u0a3e\u0a24":t<10?"\u0a38\u0a35\u0a47\u0a30":t<17?"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30":t<20?"\u0a38\u0a3c\u0a3e\u0a2e":"\u0a30\u0a3e\u0a24"},week:{dow:0,doy:6}})}(n("wd/R"))},"80qe":function(t,e,n){"use strict";n.d(e,"a",function(){return a});var i=n("kAim");class a{constructor({type:t=i.a.PRIS_EN_CHARGE,montant:e=null}){this.type=t,this.montant=e}getForPost(){return this}}},"8LU1":function(t,e,n){"use strict";n.d(e,"a",function(){return o}),n.d(e,"b",function(){return s}),n.d(e,"c",function(){return a}),n.d(e,"d",function(){return l}),n.d(e,"e",function(){return c}),n.d(e,"f",function(){return r}),n.d(e,"g",function(){return d});var i=n("8Y7J");function a(t){return null!=t&&"false"!=`${t}`}function r(t,e=0){return o(t)?Number(t):e}function o(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}function s(t){return Array.isArray(t)?t:[t]}function l(t){return null==t?"":"string"==typeof t?t:`${t}px`}function c(t){return t instanceof i.l?t.nativeElement:t}function d(t,e=/\s+/){const n=[];if(null!=t){const i=Array.isArray(t)?t:`${t}`.split(e);for(const t of i){const e=`${t}`.trim();e&&n.push(e)}}return n}},"8Y7J":function(t,e,n){"use strict";n.d(e,"a",function(){return an}),n.d(e,"b",function(){return nc}),n.d(e,"c",function(){return Xl}),n.d(e,"d",function(){return Zl}),n.d(e,"e",function(){return $l}),n.d(e,"f",function(){return Xc}),n.d(e,"g",function(){return jc}),n.d(e,"h",function(){return zs}),n.d(e,"i",function(){return mc}),n.d(e,"j",function(){return us}),n.d(e,"k",function(){return rc}),n.d(e,"l",function(){return fs}),n.d(e,"m",function(){return Gc}),n.d(e,"n",function(){return Ci}),n.d(e,"o",function(){return Tl}),n.d(e,"p",function(){return cr}),n.d(e,"q",function(){return Mn}),n.d(e,"r",function(){return O}),n.d(e,"s",function(){return nn}),n.d(e,"t",function(){return Or}),n.d(e,"u",function(){return Is}),n.d(e,"v",function(){return Ns}),n.d(e,"w",function(){return ac}),n.d(e,"x",function(){return Ks}),n.d(e,"y",function(){return zc}),n.d(e,"z",function(){return Xs}),n.d(e,"A",function(){return Ic}),n.d(e,"B",function(){return gc}),n.d(e,"C",function(){return On}),n.d(e,"D",function(){return ec}),n.d(e,"E",function(){return tc}),n.d(e,"F",function(){return Ll}),n.d(e,"G",function(){return _s}),n.d(e,"H",function(){return bs}),n.d(e,"I",function(){return Si}),n.d(e,"J",function(){return vs}),n.d(e,"K",function(){return pi}),n.d(e,"L",function(){return kn}),n.d(e,"M",function(){return Wc}),n.d(e,"N",function(){return Gs}),n.d(e,"O",function(){return xc}),n.d(e,"P",function(){return rn}),n.d(e,"Q",function(){return Cs}),n.d(e,"R",function(){return tl}),n.d(e,"S",function(){return D}),n.d(e,"T",function(){return Rc}),n.d(e,"U",function(){return Ec}),n.d(e,"V",function(){return m}),n.d(e,"W",function(){return Cn}),n.d(e,"X",function(){return Dc}),n.d(e,"Y",function(){return Zc}),n.d(e,"Z",function(){return kc}),n.d(e,"ab",function(){return ic}),n.d(e,"bb",function(){return ur}),n.d(e,"cb",function(){return Ko}),n.d(e,"db",function(){return hi}),n.d(e,"eb",function(){return Zn}),n.d(e,"fb",function(){return Hn}),n.d(e,"gb",function(){return Fn}),n.d(e,"hb",function(){return Wn}),n.d(e,"ib",function(){return Vn}),n.d(e,"jb",function(){return zn}),n.d(e,"kb",function(){return Bn}),n.d(e,"lb",function(){return Jo}),n.d(e,"mb",function(){return Jc}),n.d(e,"nb",function(){return Zo}),n.d(e,"ob",function(){return $o}),n.d(e,"pb",function(){return jn}),n.d(e,"qb",function(){return N}),n.d(e,"rb",function(){return Rr}),n.d(e,"sb",function(){return ao}),n.d(e,"tb",function(){return no}),n.d(e,"ub",function(){return io}),n.d(e,"vb",function(){return Go}),n.d(e,"wb",function(){return wt}),n.d(e,"xb",function(){return d}),n.d(e,"yb",function(){return Yn}),n.d(e,"zb",function(){return Sr}),n.d(e,"Ab",function(){return gt}),n.d(e,"Bb",function(){return ls}),n.d(e,"Cb",function(){return ha}),n.d(e,"Db",function(){return Fr}),n.d(e,"Eb",function(){return zo}),n.d(e,"Fb",function(){return ko}),n.d(e,"Gb",function(){return Vl}),n.d(e,"Hb",function(){return G}),n.d(e,"Ib",function(){return tt}),n.d(e,"Jb",function(){return g}),n.d(e,"Kb",function(){return b}),n.d(e,"Lb",function(){return X}),n.d(e,"Mb",function(){return et}),n.d(e,"Nb",function(){return Ur}),n.d(e,"Ob",function(){return Xr}),n.d(e,"Pb",function(){return to}),n.d(e,"Qb",function(){return Qr}),n.d(e,"Rb",function(){return Kr}),n.d(e,"Sb",function(){return $r}),n.d(e,"Tb",function(){return Zr}),n.d(e,"Ub",function(){return eo}),n.d(e,"Vb",function(){return Qe}),n.d(e,"Wb",function(){return Vo}),n.d(e,"Xb",function(){return vn}),n.d(e,"Yb",function(){return tn}),n.d(e,"Zb",function(){return Jl}),n.d(e,"ac",function(){return qr}),n.d(e,"bc",function(){return ro}),n.d(e,"cc",function(){return Bl}),n.d(e,"dc",function(){return be}),n.d(e,"ec",function(){return ge}),n.d(e,"fc",function(){return uo}),n.d(e,"gc",function(){return Cl}),n.d(e,"hc",function(){return wl}),n.d(e,"ic",function(){return xl}),n.d(e,"jc",function(){return Ml}),n.d(e,"kc",function(){return Ol}),n.d(e,"lc",function(){return po}),n.d(e,"mc",function(){return mo}),n.d(e,"nc",function(){return Gr}),n.d(e,"oc",function(){return fo}),n.d(e,"pc",function(){return go}),n.d(e,"qc",function(){return bo}),n.d(e,"rc",function(){return fl}),n.d(e,"sc",function(){return gl}),n.d(e,"tc",function(){return bl}),n.d(e,"uc",function(){return Fl}),n.d(e,"vc",function(){return Wr}),n.d(e,"wc",function(){return Oi}),n.d(e,"xc",function(){return Mi}),n.d(e,"yc",function(){return Vt}),n.d(e,"zc",function(){return fi}),n.d(e,"Ac",function(){return gi}),n.d(e,"Bc",function(){return K}),n.d(e,"Cc",function(){return Oo}),n.d(e,"Dc",function(){return oo}),n.d(e,"Ec",function(){return Bo}),n.d(e,"Fc",function(){return Br}),n.d(e,"Gc",function(){return Gl}),n.d(e,"Hc",function(){return Yo}),n.d(e,"Ic",function(){return Ho}),n.d(e,"Jc",function(){return jo}),n.d(e,"Kc",function(){return Fo}),n.d(e,"Lc",function(){return zl});var i=n("XNiG"),a=n("quSY"),r=n("HDdC"),o=n("VRyK"),s=n("w1tV");function l(t){for(let e in t)if(t[e]===l)return e;throw Error("Could not find renamed property on target object.")}function c(t,e){for(const n in e)e.hasOwnProperty(n)&&!t.hasOwnProperty(n)&&(t[n]=e[n])}function d(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map(d).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;const e=t.toString();if(null==e)return""+e;const n=e.indexOf("\n");return-1===n?e:e.substring(0,n)}function u(t,e){return null==t||""===t?null===e?"":e:null==e||""===e?t:t+" "+e}const h=l({__forward_ref__:l});function m(t){return t.__forward_ref__=m,t.toString=function(){return d(this())},t}function p(t){return f(t)?t():t}function f(t){return"function"==typeof t&&t.hasOwnProperty(h)&&t.__forward_ref__===m}function g(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function b(t){return{factory:t.factory,providers:t.providers||[],imports:t.imports||[]}}function _(t){return y(t,C)||y(t,x)}function y(t,e){return t.hasOwnProperty(e)?t[e]:null}function v(t){return t&&(t.hasOwnProperty(w)||t.hasOwnProperty(M))?t[w]:null}const C=l({"\u0275prov":l}),w=l({"\u0275inj":l}),x=l({ngInjectableDef:l}),M=l({ngInjectorDef:l});var O=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}({});let k;function S(t){const e=k;return k=t,e}function T(t,e,n){const i=_(t);if(i&&"root"==i.providedIn)return void 0===i.value?i.value=i.factory():i.value;if(n&O.Optional)return null;if(void 0!==e)return e;throw new Error(`Injector: NOT_FOUND [${d(t)}]`)}function P(t){return{toString:t}.toString()}var L=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}({}),D=function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}({});const E="undefined"!=typeof globalThis&&globalThis,A="undefined"!=typeof window&&window,I="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,R="undefined"!=typeof global&&global,N=E||R||A||I,Y={},H=[],j=l({"\u0275cmp":l}),F=l({"\u0275dir":l}),z=l({"\u0275pipe":l}),V=l({"\u0275mod":l}),B=l({"\u0275loc":l}),W=l({"\u0275fac":l}),U=l({__NG_ELEMENT_ID__:l});let q=0;function G(t){return P(()=>{const e={},n={type:t.type,providersResolver:null,decls:t.decls,vars:t.vars,factory:null,template:t.template||null,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:e,inputs:null,outputs:null,exportAs:t.exportAs||null,onPush:t.changeDetection===L.OnPush,directiveDefs:null,pipeDefs:null,selectors:t.selectors||H,viewQuery:t.viewQuery||null,features:t.features||null,data:t.data||{},encapsulation:t.encapsulation||D.Emulated,id:"c",styles:t.styles||H,_:null,setInput:null,schemas:t.schemas||null,tView:null},i=t.directives,a=t.features,r=t.pipes;return n.id+=q++,n.inputs=Q(t.inputs,e),n.outputs=Q(t.outputs),a&&a.forEach(t=>t(n)),n.directiveDefs=i?()=>("function"==typeof i?i():i).map(J):null,n.pipeDefs=r?()=>("function"==typeof r?r():r).map(Z):null,n})}function J(t){return nt(t)||function(t){return t[F]||null}(t)}function Z(t){return function(t){return t[z]||null}(t)}const $={};function X(t){const e={type:t.type,bootstrap:t.bootstrap||H,declarations:t.declarations||H,imports:t.imports||H,exports:t.exports||H,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null};return null!=t.id&&P(()=>{$[t.id]=t.type}),e}function K(t,e){return P(()=>{const n=it(t,!0);n.declarations=e.declarations||H,n.imports=e.imports||H,n.exports=e.exports||H})}function Q(t,e){if(null==t)return Y;const n={};for(const i in t)if(t.hasOwnProperty(i)){let a=t[i],r=a;Array.isArray(a)&&(r=a[1],a=a[0]),n[a]=i,e&&(e[a]=r)}return n}const tt=G;function et(t){return{type:t.type,name:t.name,factory:null,pure:!1!==t.pure,onDestroy:t.type.prototype.ngOnDestroy||null}}function nt(t){return t[j]||null}function it(t,e){const n=t[V]||null;if(!n&&!0===e)throw new Error(`Type ${d(t)} does not have '\u0275mod' property.`);return n}function at(t){return Array.isArray(t)&&"object"==typeof t[1]}function rt(t){return Array.isArray(t)&&!0===t[1]}function ot(t){return 0!=(8&t.flags)}function st(t){return 2==(2&t.flags)}function lt(t){return 1==(1&t.flags)}function ct(t){return null!==t.template}function dt(t,e){return t.hasOwnProperty(W)?t[W]:null}class ut extends Error{constructor(t,e){super(function(t,e){return`${t?`NG0${t}: `:""}${e}`}(t,e)),this.code=t}}function ht(t){return"string"==typeof t?t:null==t?"":String(t)}function mt(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():ht(t)}function pt(t,e){const n=e?` in ${e}`:"";throw new ut("201",`No provider for ${mt(t)} found${n}`)}class ft{constructor(t,e,n){this.previousValue=t,this.currentValue=e,this.firstChange=n}isFirstChange(){return this.firstChange}}function gt(){return bt}function bt(t){return t.type.prototype.ngOnChanges&&(t.setInput=yt),_t}function _t(){const t=vt(this),e=null==t?void 0:t.current;if(e){const n=t.previous;if(n===Y)t.previous=e;else for(let t in e)n[t]=e[t];t.current=null,this.ngOnChanges(e)}}function yt(t,e,n,i){const a=vt(t)||function(t,e){return t.__ngSimpleChanges__=e}(t,{previous:Y,current:null}),r=a.current||(a.current={}),o=a.previous,s=this.declaredInputs[n],l=o[s];r[s]=new ft(l&&l.currentValue,e,o===Y),t[i]=e}function vt(t){return t.__ngSimpleChanges__||null}let Ct;function wt(t){Ct=t}function xt(){return void 0!==Ct?Ct:"undefined"!=typeof document?document:void 0}function Mt(t){return!!t.listen}gt.ngInherit=!0;const Ot={createRenderer:(t,e)=>xt()};function kt(t){for(;Array.isArray(t);)t=t[0];return t}function St(t,e){return kt(e[t])}function Tt(t,e){return kt(e[t.index])}function Pt(t,e){return t.data[e]}function Lt(t,e){return t[e]}function Dt(t,e){const n=e[t];return at(n)?n:n[0]}function Et(t){const e=function(t){return t.__ngContext__||null}(t);return e?Array.isArray(e)?e:e.lView:null}function At(t){return 4==(4&t[2])}function It(t){return 128==(128&t[2])}function Rt(t,e){return null==e?null:t[e]}function Nt(t){t[18]=0}function Yt(t,e){t[5]+=e;let n=t,i=t[3];for(;null!==i&&(1===e&&1===n[5]||-1===e&&0===n[5]);)i[5]+=e,n=i,i=i[3]}const Ht={lFrame:ce(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function jt(){return Ht.bindingsEnabled}function Ft(){return Ht.lFrame.lView}function zt(){return Ht.lFrame.tView}function Vt(t){Ht.lFrame.contextLView=t}function Bt(){let t=Wt();for(;null!==t&&64===t.type;)t=t.parent;return t}function Wt(){return Ht.lFrame.currentTNode}function Ut(t,e){const n=Ht.lFrame;n.currentTNode=t,n.isParent=e}function qt(){return Ht.lFrame.isParent}function Gt(){Ht.lFrame.isParent=!1}function Jt(){return Ht.isInCheckNoChangesMode}function Zt(t){Ht.isInCheckNoChangesMode=t}function $t(){const t=Ht.lFrame;let e=t.bindingRootIndex;return-1===e&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function Xt(){return Ht.lFrame.bindingIndex}function Kt(){return Ht.lFrame.bindingIndex++}function Qt(t){const e=Ht.lFrame,n=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,n}function te(t,e){const n=Ht.lFrame;n.bindingIndex=n.bindingRootIndex=t,ee(e)}function ee(t){Ht.lFrame.currentDirectiveIndex=t}function ne(t){const e=Ht.lFrame.currentDirectiveIndex;return-1===e?null:t[e]}function ie(){return Ht.lFrame.currentQueryIndex}function ae(t){Ht.lFrame.currentQueryIndex=t}function re(t){const e=t[1];return 2===e.type?e.declTNode:1===e.type?t[6]:null}function oe(t,e,n){if(n&O.SkipSelf){let i=e,a=t;for(;i=i.parent,!(null!==i||n&O.Host||(i=re(a),null===i)||(a=a[15],10&i.type)););if(null===i)return!1;e=i,t=a}const i=Ht.lFrame=le();return i.currentTNode=e,i.lView=t,!0}function se(t){const e=le(),n=t[1];Ht.lFrame=e,e.currentTNode=n.firstChild,e.lView=t,e.tView=n,e.contextLView=t,e.bindingIndex=n.bindingStartIndex,e.inI18n=!1}function le(){const t=Ht.lFrame,e=null===t?null:t.child;return null===e?ce(t):e}function ce(t){const e={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null,inI18n:!1};return null!==t&&(t.child=e),e}function de(){const t=Ht.lFrame;return Ht.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}const ue=de;function he(){const t=de();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function me(){return Ht.lFrame.selectedIndex}function pe(t){Ht.lFrame.selectedIndex=t}function fe(){const t=Ht.lFrame;return Pt(t.tView,t.selectedIndex)}function ge(){Ht.lFrame.currentNamespace="http://www.w3.org/2000/svg"}function be(){Ht.lFrame.currentNamespace=null}function _e(t,e){for(let n=e.directiveStart,i=e.directiveEnd;n<i;n++){const e=t.data[n].type.prototype,{ngAfterContentInit:i,ngAfterContentChecked:a,ngAfterViewInit:r,ngAfterViewChecked:o,ngOnDestroy:s}=e;i&&(t.contentHooks||(t.contentHooks=[])).push(-n,i),a&&((t.contentHooks||(t.contentHooks=[])).push(n,a),(t.contentCheckHooks||(t.contentCheckHooks=[])).push(n,a)),r&&(t.viewHooks||(t.viewHooks=[])).push(-n,r),o&&((t.viewHooks||(t.viewHooks=[])).push(n,o),(t.viewCheckHooks||(t.viewCheckHooks=[])).push(n,o)),null!=s&&(t.destroyHooks||(t.destroyHooks=[])).push(n,s)}}function ye(t,e,n){we(t,e,3,n)}function ve(t,e,n,i){(3&t[2])===n&&we(t,e,n,i)}function Ce(t,e){let n=t[2];(3&n)===e&&(n&=2047,n+=1,t[2]=n)}function we(t,e,n,i){const a=null!=i?i:-1,r=e.length-1;let o=0;for(let s=void 0!==i?65535&t[18]:0;s<r;s++)if("number"==typeof e[s+1]){if(o=e[s],null!=i&&o>=i)break}else e[s]<0&&(t[18]+=65536),(o<a||-1==a)&&(xe(t,n,e,s),t[18]=(4294901760&t[18])+s+2),s++}function xe(t,e,n,i){const a=n[i]<0,r=n[i+1],o=t[a?-n[i]:n[i]];a?t[2]>>11<t[18]>>16&&(3&t[2])===e&&(t[2]+=2048,r.call(o)):r.call(o)}class Me{constructor(t,e,n){this.factory=t,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=n}}function Oe(t,e,n){const i=Mt(t);let a=0;for(;a<n.length;){const r=n[a];if("number"==typeof r){if(0!==r)break;a++;const o=n[a++],s=n[a++],l=n[a++];i?t.setAttribute(e,s,l,o):e.setAttributeNS(o,s,l)}else{const o=r,s=n[++a];Se(o)?i&&t.setProperty(e,o,s):i?t.setAttribute(e,o,s):e.setAttribute(o,s),a++}}return a}function ke(t){return 3===t||4===t||6===t}function Se(t){return 64===t.charCodeAt(0)}function Te(t,e){if(null===e||0===e.length);else if(null===t||0===t.length)t=e.slice();else{let n=-1;for(let i=0;i<e.length;i++){const a=e[i];"number"==typeof a?n=a:0===n||Pe(t,n,a,null,-1===n||2===n?e[++i]:null)}}return t}function Pe(t,e,n,i,a){let r=0,o=t.length;if(-1===e)o=-1;else for(;r<t.length;){const n=t[r++];if("number"==typeof n){if(n===e){o=-1;break}if(n>e){o=r-1;break}}}for(;r<t.length;){const e=t[r];if("number"==typeof e)break;if(e===n){if(null===i)return void(null!==a&&(t[r+1]=a));if(i===t[r+1])return void(t[r+2]=a)}r++,null!==i&&r++,null!==a&&r++}-1!==o&&(t.splice(o,0,e),r=o+1),t.splice(r++,0,n),null!==i&&t.splice(r++,0,i),null!==a&&t.splice(r++,0,a)}function Le(t){return-1!==t}function De(t){return 32767&t}function Ee(t,e){let n=t>>16,i=e;for(;n>0;)i=i[15],n--;return i}let Ae=!0;function Ie(t){const e=Ae;return Ae=t,e}let Re=0;function Ne(t,e){const n=He(t,e);if(-1!==n)return n;const i=e[1];i.firstCreatePass&&(t.injectorIndex=e.length,Ye(i.data,t),Ye(e,null),Ye(i.blueprint,null));const a=je(t,e),r=t.injectorIndex;if(Le(a)){const t=De(a),n=Ee(a,e),i=n[1].data;for(let a=0;a<8;a++)e[r+a]=n[t+a]|i[t+a]}return e[r+8]=a,r}function Ye(t,e){t.push(0,0,0,0,0,0,0,0,e)}function He(t,e){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null===e[t.injectorIndex+8]?-1:t.injectorIndex}function je(t,e){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;let n=0,i=null,a=e;for(;null!==a;){const t=a[1],e=t.type;if(i=2===e?t.declTNode:1===e?a[6]:null,null===i)return-1;if(n++,a=a[15],-1!==i.injectorIndex)return i.injectorIndex|n<<16}return-1}function Fe(t,e,n){!function(t,e,n){let i;"string"==typeof n?i=n.charCodeAt(0)||0:n.hasOwnProperty(U)&&(i=n[U]),null==i&&(i=n[U]=Re++);const a=255&i;e.data[t+(a>>5)]|=1<<a}(t,e,n)}function ze(t,e,n){if(n&O.Optional)return t;pt(e,"NodeInjector")}function Ve(t,e,n,i){if(n&O.Optional&&void 0===i&&(i=null),0==(n&(O.Self|O.Host))){const a=t[9],r=S(void 0);try{return a?a.get(e,i,n&O.Optional):T(e,i,n&O.Optional)}finally{S(r)}}return ze(i,e,n)}function Be(t,e,n,i=O.Default,a){if(null!==t){const r=function(t){if("string"==typeof t)return t.charCodeAt(0)||0;const e=t.hasOwnProperty(U)?t[U]:void 0;return"number"==typeof e?e>=0?255&e:Ue:e}(n);if("function"==typeof r){if(!oe(e,t,i))return i&O.Host?ze(a,n,i):Ve(e,n,i,a);try{const t=r();if(null!=t||i&O.Optional)return t;pt(n)}finally{ue()}}else if("number"==typeof r){let a=null,o=He(t,e),s=-1,l=i&O.Host?e[16][6]:null;for((-1===o||i&O.SkipSelf)&&(s=-1===o?je(t,e):e[o+8],-1!==s&&$e(i,!1)?(a=e[1],o=De(s),e=Ee(s,e)):o=-1);-1!==o;){const t=e[1];if(Ze(r,o,t.data)){const t=qe(o,e,n,a,i,l);if(t!==We)return t}s=e[o+8],-1!==s&&$e(i,e[1].data[o+8]===l)&&Ze(r,o,e)?(a=t,o=De(s),e=Ee(s,e)):o=-1}}}return Ve(e,n,i,a)}const We={};function Ue(){return new Xe(Bt(),Ft())}function qe(t,e,n,i,a,r){const o=e[1],s=o.data[t+8],l=Ge(s,o,n,null==i?st(s)&&Ae:i!=o&&0!=(3&s.type),a&O.Host&&r===s);return null!==l?Je(e,o,l,s):We}function Ge(t,e,n,i,a){const r=t.providerIndexes,o=e.data,s=1048575&r,l=t.directiveStart,c=r>>20,d=a?s+c:t.directiveEnd;for(let u=i?s:s+c;u<d;u++){const t=o[u];if(u<l&&n===t||u>=l&&t.type===n)return u}if(a){const t=o[l];if(t&&ct(t)&&t.type===n)return l}return null}function Je(t,e,n,i){let a=t[n];const r=e.data;if(a instanceof Me){const o=a;o.resolving&&function(t,e){throw new ut("200",`Circular dependency in DI detected for ${t}`)}(mt(r[n]));const s=Ie(o.canSeeViewProviders);o.resolving=!0;const l=o.injectImpl?S(o.injectImpl):null;oe(t,i,O.Default);try{a=t[n]=o.factory(void 0,r,t,i),e.firstCreatePass&&n>=i.directiveStart&&function(t,e,n){const{ngOnChanges:i,ngOnInit:a,ngDoCheck:r}=e.type.prototype;if(i){const i=bt(e);(n.preOrderHooks||(n.preOrderHooks=[])).push(t,i),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,i)}a&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-t,a),r&&((n.preOrderHooks||(n.preOrderHooks=[])).push(t,r),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,r))}(n,r[n],e)}finally{null!==l&&S(l),Ie(s),o.resolving=!1,ue()}}return a}function Ze(t,e,n){return!!(n[e+(t>>5)]&1<<t)}function $e(t,e){return!(t&O.Self||t&O.Host&&e)}class Xe{constructor(t,e){this._tNode=t,this._lView=e}get(t,e){return Be(this._tNode,this._lView,t,void 0,e)}}function Ke(t){const e=t;if(f(t))return()=>{const t=Ke(p(e));return t?t():null};let n=dt(e);if(null===n){const t=v(e);n=t&&t.factory}return n||null}function Qe(t){return P(()=>{const e=t.prototype.constructor,n=e[W]||Ke(e),i=Object.prototype;let a=Object.getPrototypeOf(t.prototype).constructor;for(;a&&a!==i;){const t=a[W]||Ke(a);if(t&&t!==n)return t;a=Object.getPrototypeOf(a)}return t=>new t})}function tn(t){return function(t,e){if("class"===e)return t.classes;if("style"===e)return t.styles;const n=t.attrs;if(n){const t=n.length;let i=0;for(;i<t;){const a=n[i];if(ke(a))break;if(0===a)i+=2;else if("number"==typeof a)for(i++;i<t&&"string"==typeof n[i];)i++;else{if(a===e)return n[i+1];i+=2}}}return null}(Bt(),t)}function en(t,e,n){return P(()=>{const i=function(t){return function(...e){if(t){const n=t(...e);for(const t in n)this[t]=n[t]}}}(e);function a(...t){if(this instanceof a)return i.apply(this,t),this;const e=new a(...t);return n.annotation=e,n;function n(t,n,i){const a=t.hasOwnProperty("__parameters__")?t.__parameters__:Object.defineProperty(t,"__parameters__",{value:[]}).__parameters__;for(;a.length<=i;)a.push(null);return(a[i]=a[i]||[]).push(e),t}}return n&&(a.prototype=Object.create(n.prototype)),a.prototype.ngMetadataName=t,a.annotationCls=a,a})}class nn{constructor(t,e){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof e?this.__NG_ELEMENT_ID__=e:void 0!==e&&(this.\u0275prov=g({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}toString(){return`InjectionToken ${this._desc}`}}const an=new nn("AnalyzeForEntryComponents"),rn=Function;function on(t,e){void 0===e&&(e=t);for(let n=0;n<t.length;n++){let i=t[n];Array.isArray(i)?(e===t&&(e=t.slice(0,n)),on(i,e)):e!==t&&e.push(i)}return e}function sn(t,e){t.forEach(t=>Array.isArray(t)?sn(t,e):e(t))}function ln(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function cn(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function dn(t,e){const n=[];for(let i=0;i<t;i++)n.push(e);return n}function un(t,e,n){let i=mn(t,e);return i>=0?t[1|i]=n:(i=~i,function(t,e,n,i){let a=t.length;if(a==e)t.push(n,i);else if(1===a)t.push(i,t[0]),t[0]=n;else{for(a--,t.push(t[a-1],t[a]);a>e;)t[a]=t[a-2],a--;t[e]=n,t[e+1]=i}}(t,i,e,n)),i}function hn(t,e){const n=mn(t,e);if(n>=0)return t[1|n]}function mn(t,e){return function(t,e,n){let i=0,a=t.length>>1;for(;a!==i;){const n=i+(a-i>>1),r=t[n<<1];if(e===r)return n<<1;r>e?a=n:i=n+1}return~(a<<1)}(t,e)}const pn={},fn=/\n/gm,gn=l({provide:String,useValue:l});let bn;function _n(t){const e=bn;return bn=t,e}function yn(t,e=O.Default){if(void 0===bn)throw new Error("inject() must be called from an injection context");return null===bn?T(t,void 0,e):bn.get(t,e&O.Optional?null:void 0,e)}function vn(t,e=O.Default){return(k||yn)(p(t),e)}const Cn=vn;function wn(t){const e=[];for(let n=0;n<t.length;n++){const i=p(t[n]);if(Array.isArray(i)){if(0===i.length)throw new Error("Arguments array must have arguments.");let t,n=O.Default;for(let e=0;e<i.length;e++){const a=i[e],r=a.__NG_DI_FLAG__;"number"==typeof r?-1===r?t=a.token:n|=r:t=a}e.push(vn(t,n))}else e.push(vn(i))}return e}function xn(t,e){return t.__NG_DI_FLAG__=e,t.prototype.__NG_DI_FLAG__=e,t}const Mn=xn(en("Inject",t=>({token:t})),-1),On=xn(en("Optional"),8),kn=xn(en("SkipSelf"),4);let Sn,Tn;function Pn(t){var e;return(null===(e=function(){if(void 0===Sn&&(Sn=null,N.trustedTypes))try{Sn=N.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch(e){}return Sn}())||void 0===e?void 0:e.createHTML(t))||t}function Ln(t){var e;return(null===(e=function(){if(void 0===Tn&&(Tn=null,N.trustedTypes))try{Tn=N.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch(e){}return Tn}())||void 0===e?void 0:e.createHTML(t))||t}class Dn{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class En extends Dn{getTypeName(){return"HTML"}}class An extends Dn{getTypeName(){return"Style"}}class In extends Dn{getTypeName(){return"Script"}}class Rn extends Dn{getTypeName(){return"URL"}}class Nn extends Dn{getTypeName(){return"ResourceURL"}}function Yn(t){return t instanceof Dn?t.changingThisBreaksApplicationSecurity:t}function Hn(t,e){const n=jn(t);if(null!=n&&n!==e){if("ResourceURL"===n&&"URL"===e)return!0;throw new Error(`Required a safe ${e}, got a ${n} (see https://g.co/ng/security#xss)`)}return n===e}function jn(t){return t instanceof Dn&&t.getTypeName()||null}function Fn(t){return new En(t)}function zn(t){return new An(t)}function Vn(t){return new In(t)}function Bn(t){return new Rn(t)}function Wn(t){return new Nn(t)}class Un{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const e=(new window.DOMParser).parseFromString(Pn(t),"text/html").body;return null===e?this.inertDocumentHelper.getInertBodyElement(t):(e.removeChild(e.firstChild),e)}catch(e){return null}}}class qn{constructor(t){if(this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const t=this.inertDocument.createElement("html");this.inertDocument.appendChild(t);const e=this.inertDocument.createElement("body");t.appendChild(e)}}getInertBodyElement(t){const e=this.inertDocument.createElement("template");if("content"in e)return e.innerHTML=Pn(t),e;const n=this.inertDocument.createElement("body");return n.innerHTML=Pn(t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(n),n}stripCustomNsAttrs(t){const e=t.attributes;for(let i=e.length-1;0<i;i--){const n=e.item(i).name;"xmlns:ns1"!==n&&0!==n.indexOf("ns1:")||t.removeAttribute(n)}let n=t.firstChild;for(;n;)n.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(n),n=n.nextSibling}}const Gn=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi,Jn=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i;function Zn(t){return(t=String(t)).match(Gn)||t.match(Jn)?t:"unsafe:"+t}function $n(t){const e={};for(const n of t.split(","))e[n]=!0;return e}function Xn(...t){const e={};for(const n of t)for(const t in n)n.hasOwnProperty(t)&&(e[t]=!0);return e}const Kn=$n("area,br,col,hr,img,wbr"),Qn=$n("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),ti=$n("rp,rt"),ei=Xn(ti,Qn),ni=Xn(Kn,Xn(Qn,$n("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),Xn(ti,$n("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),ei),ii=$n("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),ai=$n("srcset"),ri=Xn(ii,ai,$n("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),$n("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),oi=$n("script,style,template");class si{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let e=t.firstChild,n=!0;for(;e;)if(e.nodeType===Node.ELEMENT_NODE?n=this.startElement(e):e.nodeType===Node.TEXT_NODE?this.chars(e.nodeValue):this.sanitizedSomething=!0,n&&e.firstChild)e=e.firstChild;else for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);let t=this.checkClobberedElement(e,e.nextSibling);if(t){e=t;break}e=this.checkClobberedElement(e,e.parentNode)}return this.buf.join("")}startElement(t){const e=t.nodeName.toLowerCase();if(!ni.hasOwnProperty(e))return this.sanitizedSomething=!0,!oi.hasOwnProperty(e);this.buf.push("<"),this.buf.push(e);const n=t.attributes;for(let a=0;a<n.length;a++){const t=n.item(a),e=t.name,r=e.toLowerCase();if(!ri.hasOwnProperty(r)){this.sanitizedSomething=!0;continue}let o=t.value;ii[r]&&(o=Zn(o)),ai[r]&&(i=o,o=(i=String(i)).split(",").map(t=>Zn(t.trim())).join(", ")),this.buf.push(" ",e,'="',di(o),'"')}var i;return this.buf.push(">"),!0}endElement(t){const e=t.nodeName.toLowerCase();ni.hasOwnProperty(e)&&!Kn.hasOwnProperty(e)&&(this.buf.push("</"),this.buf.push(e),this.buf.push(">"))}chars(t){this.buf.push(di(t))}checkClobberedElement(t,e){if(e&&(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`);return e}}const li=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,ci=/([^\#-~ |!])/g;function di(t){return t.replace(/&/g,"&amp;").replace(li,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(ci,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let ui;function hi(t,e){let n=null;try{ui=ui||function(t){const e=new qn(t);return function(){try{return!!(new window.DOMParser).parseFromString(Pn(""),"text/html")}catch(t){return!1}}()?new Un(e):e}(t);let i=e?String(e):"";n=ui.getInertBodyElement(i);let a=5,r=i;do{if(0===a)throw new Error("Failed to sanitize html because the input is unstable");a--,i=r,r=n.innerHTML,n=ui.getInertBodyElement(i)}while(i!==r);return Pn((new si).sanitizeChildren(mi(n)||n))}finally{if(n){const t=mi(n)||n;for(;t.firstChild;)t.removeChild(t.firstChild)}}}function mi(t){return"content"in t&&function(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}var pi=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}({});function fi(t){const e=bi();return e?Ln(e.sanitize(pi.HTML,t)||""):Hn(t,"HTML")?Ln(Yn(t)):hi(xt(),ht(t))}function gi(t){const e=bi();return e?e.sanitize(pi.URL,t)||"":Hn(t,"URL")?Yn(t):Zn(ht(t))}function bi(){const t=Ft();return t&&t[12]}function _i(t){return t.ngDebugContext}function yi(t){return t.ngOriginalError}function vi(t,...e){t.error(...e)}class Ci{constructor(){this._console=console}handleError(t){const e=this._findOriginalError(t),n=this._findContext(t),i=function(t){return t.ngErrorLogger||vi}(t);i(this._console,"ERROR",t),e&&i(this._console,"ORIGINAL ERROR",e),n&&i(this._console,"ERROR CONTEXT",n)}_findContext(t){return t?_i(t)?_i(t):this._findContext(yi(t)):null}_findOriginalError(t){let e=yi(t);for(;e&&yi(e);)e=yi(e);return e}}function wi(t,e){t.__ngContext__=e}const xi=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(N))();function Mi(t){return{name:"window",target:t.ownerDocument.defaultView}}function Oi(t){return{name:"body",target:t.ownerDocument.body}}function ki(t){return t instanceof Function?t():t}var Si=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}({});function Ti(t,e){return(void 0)(t,e)}function Pi(t){const e=t[3];return rt(e)?e[3]:e}function Li(t){return Ei(t[13])}function Di(t){return Ei(t[4])}function Ei(t){for(;null!==t&&!rt(t);)t=t[4];return t}function Ai(t,e,n,i,a){if(null!=i){let r,o=!1;rt(i)?r=i:at(i)&&(o=!0,i=i[0]);const s=kt(i);0===t&&null!==n?null==a?zi(e,n,s):Fi(e,n,s,a||null,!0):1===t&&null!==n?Fi(e,n,s,a||null,!0):2===t?function(t,e,n){const i=Bi(t,e);i&&function(t,e,n,i){Mt(t)?t.removeChild(e,n,i):e.removeChild(n)}(t,i,e,n)}(e,s,o):3===t&&e.destroyNode(s),null!=r&&function(t,e,n,i,a){const r=n[7];r!==kt(n)&&Ai(e,t,i,r,a);for(let o=10;o<n.length;o++){const a=n[o];$i(a[1],a,t,e,i,r)}}(e,t,r,n,a)}}function Ii(t,e,n){return Mt(t)?t.createElement(e,n):null===n?t.createElement(e):t.createElementNS(n,e)}function Ri(t,e){const n=t[9],i=n.indexOf(e),a=e[3];1024&e[2]&&(e[2]&=-1025,Yt(a,-1)),n.splice(i,1)}function Ni(t,e){if(t.length<=10)return;const n=10+e,i=t[n];if(i){const r=i[17];null!==r&&r!==t&&Ri(r,i),e>0&&(t[n-1][4]=i[4]);const o=cn(t,10+e);$i(i[1],a=i,a[11],2,null,null),a[0]=null,a[6]=null;const s=o[19];null!==s&&s.detachView(o[1]),i[3]=null,i[4]=null,i[2]&=-129}var a;return i}function Yi(t,e){if(!(256&e[2])){const n=e[11];Mt(n)&&n.destroyNode&&$i(t,e,n,3,null,null),function(t){let e=t[13];if(!e)return Hi(t[1],t);for(;e;){let n=null;if(at(e))n=e[13];else{const t=e[10];t&&(n=t)}if(!n){for(;e&&!e[4]&&e!==t;)at(e)&&Hi(e[1],e),e=e[3];null===e&&(e=t),at(e)&&Hi(e[1],e),n=e&&e[4]}e=n}}(e)}}function Hi(t,e){if(!(256&e[2])){e[2]&=-129,e[2]|=256,function(t,e){let n;if(null!=t&&null!=(n=t.destroyHooks))for(let i=0;i<n.length;i+=2){const t=e[n[i]];if(!(t instanceof Me)){const e=n[i+1];if(Array.isArray(e))for(let n=0;n<e.length;n+=2)e[n+1].call(t[e[n]]);else e.call(t)}}}(t,e),function(t,e){const n=t.cleanup,i=e[7];let a=-1;if(null!==n)for(let r=0;r<n.length-1;r+=2)if("string"==typeof n[r]){const t=n[r+1],o="function"==typeof t?t(e):kt(e[t]),s=i[a=n[r+2]],l=n[r+3];"boolean"==typeof l?o.removeEventListener(n[r],s,l):l>=0?i[a=l]():i[a=-l].unsubscribe(),r+=2}else{const t=i[a=n[r+1]];n[r].call(t)}if(null!==i){for(let t=a+1;t<i.length;t++)(0,i[t])();e[7]=null}}(t,e),1===e[1].type&&Mt(e[11])&&e[11].destroy();const n=e[17];if(null!==n&&rt(e[3])){n!==e[3]&&Ri(n,e);const i=e[19];null!==i&&i.detachView(t)}}}function ji(t,e,n){return function(t,e,n){let i=e;for(;null!==i&&40&i.type;)i=(e=i).parent;if(null===i)return n[0];if(2&i.flags){const e=t.data[i.directiveStart].encapsulation;if(e===D.None||e===D.Emulated)return null}return Tt(i,n)}(t,e.parent,n)}function Fi(t,e,n,i,a){Mt(t)?t.insertBefore(e,n,i,a):e.insertBefore(n,i,a)}function zi(t,e,n){Mt(t)?t.appendChild(e,n):e.appendChild(n)}function Vi(t,e,n,i,a){null!==i?Fi(t,e,n,i,a):zi(t,e,n)}function Bi(t,e){return Mt(t)?t.parentNode(e):e.parentNode}function Wi(t,e,n){return Ui(t,e,n)}let Ui=function(t,e,n){return 40&t.type?Tt(t,n):null};function qi(t,e,n,i){const a=ji(t,i,e),r=e[11],o=Wi(i.parent||e[6],i,e);if(null!=a)if(Array.isArray(n))for(let s=0;s<n.length;s++)Vi(r,a,n[s],o,!1);else Vi(r,a,n,o,!1)}function Gi(t,e){if(null!==e){const n=e.type;if(3&n)return Tt(e,t);if(4&n)return Ji(-1,t[e.index]);if(8&n){const n=e.child;if(null!==n)return Gi(t,n);{const n=t[e.index];return rt(n)?Ji(-1,n):kt(n)}}if(32&n)return Ti(e,t)()||kt(t[e.index]);{const n=t[16],i=n[6],a=Pi(n),r=i.projection[e.projection];return null!=r?Gi(a,r):Gi(t,e.next)}}return null}function Ji(t,e){const n=10+t+1;if(n<e.length){const t=e[n],i=t[1].firstChild;if(null!==i)return Gi(t,i)}return e[7]}function Zi(t,e,n,i,a,r,o){for(;null!=n;){const s=i[n.index],l=n.type;if(o&&0===e&&(s&&wi(kt(s),i),n.flags|=4),64!=(64&n.flags))if(8&l)Zi(t,e,n.child,i,a,r,!1),Ai(e,t,a,s,r);else if(32&l){const o=Ti(n,i);let l;for(;l=o();)Ai(e,t,a,l,r);Ai(e,t,a,s,r)}else 16&l?Xi(t,e,i,n,a,r):Ai(e,t,a,s,r);n=o?n.projectionNext:n.next}}function $i(t,e,n,i,a,r){Zi(n,i,t.firstChild,e,a,r,!1)}function Xi(t,e,n,i,a,r){const o=n[16],s=o[6].projection[i.projection];if(Array.isArray(s))for(let l=0;l<s.length;l++)Ai(e,t,a,s[l],r);else Zi(t,e,s,o[3],a,r,!0)}function Ki(t,e,n){Mt(t)?t.setAttribute(e,"style",n):e.style.cssText=n}function Qi(t,e,n){Mt(t)?""===n?t.removeAttribute(e,"class"):t.setAttribute(e,"class",n):e.className=n}function ta(t,e,n){let i=t.length;for(;;){const a=t.indexOf(e,n);if(-1===a)return a;if(0===a||t.charCodeAt(a-1)<=32){const n=e.length;if(a+n===i||t.charCodeAt(a+n)<=32)return a}n=a+1}}function ea(t,e,n){let i=0;for(;i<t.length;){let a=t[i++];if(n&&"class"===a){if(a=t[i],-1!==ta(a.toLowerCase(),e,0))return!0}else if(1===a){for(;i<t.length&&"string"==typeof(a=t[i++]);)if(a.toLowerCase()===e)return!0;return!1}}return!1}function na(t){return 4===t.type&&"ng-template"!==t.value}function ia(t,e,n){return e===(4!==t.type||n?t.value:"ng-template")}function aa(t,e,n){let i=4;const a=t.attrs||[],r=function(t){for(let e=0;e<t.length;e++)if(ke(t[e]))return e;return t.length}(a);let o=!1;for(let s=0;s<e.length;s++){const l=e[s];if("number"!=typeof l){if(!o)if(4&i){if(i=2|1&i,""!==l&&!ia(t,l,n)||""===l&&1===e.length){if(ra(i))return!1;o=!0}}else{const c=8&i?l:e[++s];if(8&i&&null!==t.attrs){if(!ea(t.attrs,c,n)){if(ra(i))return!1;o=!0}continue}const d=oa(8&i?"class":l,a,na(t),n);if(-1===d){if(ra(i))return!1;o=!0;continue}if(""!==c){let t;t=d>r?"":a[d+1].toLowerCase();const e=8&i?t:null;if(e&&-1!==ta(e,c,0)||2&i&&c!==t){if(ra(i))return!1;o=!0}}}}else{if(!o&&!ra(i)&&!ra(l))return!1;if(o&&ra(l))continue;o=!1,i=l|1&i}}return ra(i)||o}function ra(t){return 0==(1&t)}function oa(t,e,n,i){if(null===e)return-1;let a=0;if(i||!n){let n=!1;for(;a<e.length;){const i=e[a];if(i===t)return a;if(3===i||6===i)n=!0;else{if(1===i||2===i){let t=e[++a];for(;"string"==typeof t;)t=e[++a];continue}if(4===i)break;if(0===i){a+=4;continue}}a+=n?1:2}return-1}return function(t,e){let n=t.indexOf(4);if(n>-1)for(n++;n<t.length;){const i=t[n];if("number"==typeof i)return-1;if(i===e)return n;n++}return-1}(e,t)}function sa(t,e,n=!1){for(let i=0;i<e.length;i++)if(aa(t,e[i],n))return!0;return!1}function la(t,e){t:for(let n=0;n<e.length;n++){const i=e[n];if(t.length===i.length){for(let e=0;e<t.length;e++)if(t[e]!==i[e])continue t;return!0}}return!1}function ca(t,e){return t?":not("+e.trim()+")":e}function da(t){let e=t[0],n=1,i=2,a="",r=!1;for(;n<t.length;){let o=t[n];if("string"==typeof o)if(2&i){const e=t[++n];a+="["+o+(e.length>0?'="'+e+'"':"")+"]"}else 8&i?a+="."+o:4&i&&(a+=" "+o);else""===a||ra(o)||(e+=ca(r,a),a=""),i=o,r=r||!ra(i);n++}return""!==a&&(e+=ca(r,a)),e}const ua={};function ha(t){ma(zt(),Ft(),me()+t,Jt())}function ma(t,e,n,i){if(!i)if(3==(3&e[2])){const i=t.preOrderCheckHooks;null!==i&&ye(e,i,n)}else{const i=t.preOrderHooks;null!==i&&ve(e,i,0,n)}pe(n)}function pa(t,e){return t<<17|e<<2}function fa(t){return t>>17&32767}function ga(t){return 2|t}function ba(t){return(131068&t)>>2}function _a(t,e){return-131069&t|e<<2}function ya(t){return 1|t}function va(t,e){const n=t.contentQueries;if(null!==n)for(let i=0;i<n.length;i+=2){const a=n[i],r=n[i+1];if(-1!==r){const n=t.data[r];ae(a),n.contentQueries(2,e[r],r)}}}function Ca(t,e,n,i,a,r,o,s,l,c){const d=e.blueprint.slice();return d[0]=a,d[2]=140|i,Nt(d),d[3]=d[15]=t,d[8]=n,d[10]=o||t&&t[10],d[11]=s||t&&t[11],d[12]=l||t&&t[12]||null,d[9]=c||t&&t[9]||null,d[6]=r,d[16]=2==e.type?t[16]:d,d}function wa(t,e,n,i,a){let r=t.data[e];if(null===r)r=function(t,e,n,i,a){const r=Wt(),o=qt(),s=t.data[e]=function(t,e,n,i,a,r){return{type:n,index:i,insertBeforeIndex:null,injectorIndex:e?e.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,value:a,attrs:r,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:e,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,o?r:r&&r.parent,n,e,i,a);return null===t.firstChild&&(t.firstChild=s),null!==r&&(o?null==r.child&&null!==s.parent&&(r.child=s):null===r.next&&(r.next=s)),s}(t,e,n,i,a),Ht.lFrame.inI18n&&(r.flags|=64);else if(64&r.type){r.type=n,r.value=i,r.attrs=a;const t=function(){const t=Ht.lFrame,e=t.currentTNode;return t.isParent?e:e.parent}();r.injectorIndex=null===t?-1:t.injectorIndex}return Ut(r,!0),r}function xa(t,e,n,i){if(0===n)return-1;const a=e.length;for(let r=0;r<n;r++)e.push(i),t.blueprint.push(i),t.data.push(null);return a}function Ma(t,e,n){se(e);try{const i=t.viewQuery;null!==i&&tr(1,i,n);const a=t.template;null!==a&&Sa(t,e,a,1,n),t.firstCreatePass&&(t.firstCreatePass=!1),t.staticContentQueries&&va(t,e),t.staticViewQueries&&tr(2,t.viewQuery,n);const r=t.components;null!==r&&function(t,e){for(let n=0;n<e.length;n++)Za(t,e[n])}(e,r)}catch(i){throw t.firstCreatePass&&(t.incompleteFirstPass=!0),i}finally{e[2]&=-5,he()}}function Oa(t,e,n,i){const a=e[2];if(256==(256&a))return;se(e);const r=Jt();try{Nt(e),Ht.lFrame.bindingIndex=t.bindingStartIndex,null!==n&&Sa(t,e,n,2,i);const o=3==(3&a);if(!r)if(o){const n=t.preOrderCheckHooks;null!==n&&ye(e,n,null)}else{const n=t.preOrderHooks;null!==n&&ve(e,n,0,null),Ce(e,0)}if(function(t){for(let e=Li(t);null!==e;e=Di(e)){if(!e[2])continue;const t=e[9];for(let e=0;e<t.length;e++){const n=t[e],i=n[3];0==(1024&n[2])&&Yt(i,1),n[2]|=1024}}}(e),function(t){for(let e=Li(t);null!==e;e=Di(e))for(let t=10;t<e.length;t++){const n=e[t],i=n[1];It(n)&&Oa(i,n,i.template,n[8])}}(e),null!==t.contentQueries&&va(t,e),!r)if(o){const n=t.contentCheckHooks;null!==n&&ye(e,n)}else{const n=t.contentHooks;null!==n&&ve(e,n,1),Ce(e,1)}!function(t,e){const n=t.hostBindingOpCodes;if(null!==n)try{for(let t=0;t<n.length;t++){const i=n[t];if(i<0)pe(~i);else{const a=i,r=n[++t],o=n[++t];te(r,a),o(2,e[a])}}}finally{pe(-1)}}(t,e);const s=t.components;null!==s&&function(t,e){for(let n=0;n<e.length;n++)Ga(t,e[n])}(e,s);const l=t.viewQuery;if(null!==l&&tr(2,l,i),!r)if(o){const n=t.viewCheckHooks;null!==n&&ye(e,n)}else{const n=t.viewHooks;null!==n&&ve(e,n,2),Ce(e,2)}!0===t.firstUpdatePass&&(t.firstUpdatePass=!1),r||(e[2]&=-73),1024&e[2]&&(e[2]&=-1025,Yt(e[3],-1))}finally{he()}}function ka(t,e,n,i){const a=e[10],r=!Jt(),o=At(e);try{r&&!o&&a.begin&&a.begin(),o&&Ma(t,e,i),Oa(t,e,n,i)}finally{r&&!o&&a.end&&a.end()}}function Sa(t,e,n,i,a){const r=me();try{pe(-1),2&i&&e.length>20&&ma(t,e,20,Jt()),n(i,a)}finally{pe(r)}}function Ta(t,e,n){if(ot(e)){const i=e.directiveEnd;for(let a=e.directiveStart;a<i;a++){const e=t.data[a];e.contentQueries&&e.contentQueries(1,n[a],a)}}}function Pa(t,e,n){jt()&&(function(t,e,n,i){const a=n.directiveStart,r=n.directiveEnd;t.firstCreatePass||Ne(n,e),wi(i,e);const o=n.initialInputs;for(let s=a;s<r;s++){const i=t.data[s],r=ct(i);r&&Ba(e,n,i);const l=Je(e,t,s,n);wi(l,e),null!==o&&Wa(0,s-a,l,i,0,o),r&&(Dt(n.index,e)[8]=l)}}(t,e,n,Tt(n,e)),128==(128&n.flags)&&function(t,e,n){const i=n.directiveStart,a=n.directiveEnd,r=n.index,o=Ht.lFrame.currentDirectiveIndex;try{pe(r);for(let n=i;n<a;n++){const i=t.data[n],a=e[n];ee(n),null===i.hostBindings&&0===i.hostVars&&null===i.hostAttrs||Ha(i,a)}}finally{pe(-1),ee(o)}}(t,e,n))}function La(t,e,n=Tt){const i=e.localNames;if(null!==i){let a=e.index+1;for(let r=0;r<i.length;r+=2){const o=i[r+1],s=-1===o?n(e,t):t[o];t[a++]=s}}}function Da(t){const e=t.tView;return null===e||e.incompleteFirstPass?t.tView=Ea(1,null,t.template,t.decls,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery,t.schemas,t.consts):e}function Ea(t,e,n,i,a,r,o,s,l,c){const d=20+i,u=d+a,h=function(t,e){const n=[];for(let i=0;i<e;i++)n.push(i<t?null:ua);return n}(d,u),m="function"==typeof c?c():c;return h[1]={type:t,blueprint:h,template:n,queries:null,viewQuery:s,declTNode:e,data:h.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:u,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof r?r():r,pipeRegistry:"function"==typeof o?o():o,firstChild:null,schemas:l,consts:m,incompleteFirstPass:!1}}function Aa(t,e,n,i){const a=nr(e);null===n?a.push(i):(a.push(n),t.firstCreatePass&&ir(t).push(i,a.length-1))}function Ia(t,e,n){for(let i in t)if(t.hasOwnProperty(i)){const a=t[i];(n=null===n?{}:n).hasOwnProperty(i)?n[i].push(e,a):n[i]=[e,a]}return n}function Ra(t,e,n,i,a,r,o,s){const l=Tt(e,n);let c,d=e.inputs;var u;!s&&null!=d&&(c=d[i])?(or(t,n,c,i,a),st(e)&&function(t,e){const n=Dt(e,t);16&n[2]||(n[2]|=64)}(n,e.index)):3&e.type&&(i="class"===(u=i)?"className":"for"===u?"htmlFor":"formaction"===u?"formAction":"innerHtml"===u?"innerHTML":"readonly"===u?"readOnly":"tabindex"===u?"tabIndex":u,a=null!=o?o(a,e.value||"",i):a,Mt(r)?r.setProperty(l,i,a):Se(i)||(l.setProperty?l.setProperty(i,a):l[i]=a))}function Na(t,e,n,i){let a=!1;if(jt()){const r=function(t,e,n){const i=t.directiveRegistry;let a=null;if(i)for(let r=0;r<i.length;r++){const o=i[r];sa(n,o.selectors,!1)&&(a||(a=[]),Fe(Ne(n,e),t,o.type),ct(o)?(ja(t,n),a.unshift(o)):a.push(o))}return a}(t,e,n),o=null===i?null:{"":-1};if(null!==r){a=!0,za(n,t.data.length,r.length);for(let t=0;t<r.length;t++){const e=r[t];e.providersResolver&&e.providersResolver(e)}let i=!1,s=!1,l=xa(t,e,r.length,null);for(let a=0;a<r.length;a++){const c=r[a];n.mergedAttrs=Te(n.mergedAttrs,c.hostAttrs),Va(t,n,e,l,c),Fa(l,c,o),null!==c.contentQueries&&(n.flags|=8),null===c.hostBindings&&null===c.hostAttrs&&0===c.hostVars||(n.flags|=128);const d=c.type.prototype;!i&&(d.ngOnChanges||d.ngOnInit||d.ngDoCheck)&&((t.preOrderHooks||(t.preOrderHooks=[])).push(n.index),i=!0),s||!d.ngOnChanges&&!d.ngDoCheck||((t.preOrderCheckHooks||(t.preOrderCheckHooks=[])).push(n.index),s=!0),l++}!function(t,e){const n=e.directiveEnd,i=t.data,a=e.attrs,r=[];let o=null,s=null;for(let l=e.directiveStart;l<n;l++){const t=i[l],n=t.inputs,c=null===a||na(e)?null:Ua(n,a);r.push(c),o=Ia(n,l,o),s=Ia(t.outputs,l,s)}null!==o&&(o.hasOwnProperty("class")&&(e.flags|=16),o.hasOwnProperty("style")&&(e.flags|=32)),e.initialInputs=r,e.inputs=o,e.outputs=s}(t,n)}o&&function(t,e,n){if(e){const i=t.localNames=[];for(let t=0;t<e.length;t+=2){const a=n[e[t+1]];if(null==a)throw new ut("301",`Export of name '${e[t+1]}' not found!`);i.push(e[t],a)}}}(n,i,o)}return n.mergedAttrs=Te(n.mergedAttrs,n.attrs),a}function Ya(t,e,n,i,a,r){const o=r.hostBindings;if(o){let n=t.hostBindingOpCodes;null===n&&(n=t.hostBindingOpCodes=[]);const r=~e.index;(function(t){let e=t.length;for(;e>0;){const n=t[--e];if("number"==typeof n&&n<0)return n}return 0})(n)!=r&&n.push(r),n.push(i,a,o)}}function Ha(t,e){null!==t.hostBindings&&t.hostBindings(1,e)}function ja(t,e){e.flags|=2,(t.components||(t.components=[])).push(e.index)}function Fa(t,e,n){if(n){if(e.exportAs)for(let i=0;i<e.exportAs.length;i++)n[e.exportAs[i]]=t;ct(e)&&(n[""]=t)}}function za(t,e,n){t.flags|=1,t.directiveStart=e,t.directiveEnd=e+n,t.providerIndexes=e}function Va(t,e,n,i,a){t.data[i]=a;const r=a.factory||(a.factory=dt(a.type)),o=new Me(r,ct(a),null);t.blueprint[i]=o,n[i]=o,Ya(t,e,0,i,xa(t,n,a.hostVars,ua),a)}function Ba(t,e,n){const i=Tt(e,t),a=Da(n),r=t[10],o=$a(t,Ca(t,a,null,n.onPush?64:16,i,e,r,r.createRenderer(i,n),null,null));t[e.index]=o}function Wa(t,e,n,i,a,r){const o=r[e];if(null!==o){const t=i.setInput;for(let e=0;e<o.length;){const a=o[e++],r=o[e++],s=o[e++];null!==t?i.setInput(n,s,a,r):n[r]=s}}}function Ua(t,e){let n=null,i=0;for(;i<e.length;){const a=e[i];if(0!==a)if(5!==a){if("number"==typeof a)break;t.hasOwnProperty(a)&&(null===n&&(n=[]),n.push(a,t[a],e[i+1])),i+=2}else i+=2;else i+=4}return n}function qa(t,e,n,i){return new Array(t,!0,!1,e,null,0,i,n,null,null)}function Ga(t,e){const n=Dt(e,t);if(It(n)){const t=n[1];80&n[2]?Oa(t,n,t.template,n[8]):n[5]>0&&Ja(n)}}function Ja(t){for(let n=Li(t);null!==n;n=Di(n))for(let t=10;t<n.length;t++){const e=n[t];if(1024&e[2]){const t=e[1];Oa(t,e,t.template,e[8])}else e[5]>0&&Ja(e)}const e=t[1].components;if(null!==e)for(let n=0;n<e.length;n++){const i=Dt(e[n],t);It(i)&&i[5]>0&&Ja(i)}}function Za(t,e){const n=Dt(e,t),i=n[1];!function(t,e){for(let n=e.length;n<t.blueprint.length;n++)e.push(t.blueprint[n])}(i,n),Ma(i,n,n[8])}function $a(t,e){return t[13]?t[14][4]=e:t[13]=e,t[14]=e,e}function Xa(t){for(;t;){t[2]|=64;const e=Pi(t);if(0!=(512&t[2])&&!e)return t;t=e}return null}function Ka(t,e,n){const i=e[10];i.begin&&i.begin();try{Oa(t,e,t.template,n)}catch(a){throw rr(e,a),a}finally{i.end&&i.end()}}function Qa(t){!function(t){for(let e=0;e<t.components.length;e++){const n=t.components[e],i=Et(n),a=i[1];ka(a,i,a.template,n)}}(t[8])}function tr(t,e,n){ae(0),e(t,n)}const er=(()=>Promise.resolve(null))();function nr(t){return t[7]||(t[7]=[])}function ir(t){return t.cleanup||(t.cleanup=[])}function ar(t,e,n){return(null===t||ct(t))&&(n=function(t){for(;Array.isArray(t);){if("object"==typeof t[1])return t;t=t[0]}return null}(n[e.index])),n[11]}function rr(t,e){const n=t[9],i=n?n.get(Ci,null):null;i&&i.handleError(e)}function or(t,e,n,i,a){for(let r=0;r<n.length;){const o=n[r++],s=n[r++],l=e[o],c=t.data[o];null!==c.setInput?c.setInput(l,a,i,s):l[s]=a}}function sr(t,e,n){const i=St(e,t);!function(t,e,n){Mt(t)?t.setValue(e,n):e.textContent=n}(t[11],i,n)}function lr(t,e,n){let i=n?t.styles:null,a=n?t.classes:null,r=0;if(null!==e)for(let o=0;o<e.length;o++){const t=e[o];"number"==typeof t?r=t:1==r?a=u(a,t):2==r&&(i=u(i,t+": "+e[++o]+";"))}n?t.styles=i:t.stylesWithoutHost=i,n?t.classes=a:t.classesWithoutHost=a}const cr=new nn("INJECTOR",-1);class dr{get(t,e=pn){if(e===pn){const e=new Error(`NullInjectorError: No provider for ${d(t)}!`);throw e.name="NullInjectorError",e}return e}}const ur=new nn("Set Injector scope."),hr={},mr={},pr=[];let fr;function gr(){return void 0===fr&&(fr=new dr),fr}function br(t,e=null,n=null,i){return new _r(t,n,e||gr(),i)}class _r{constructor(t,e,n,i=null){this.parent=n,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;const a=[];e&&sn(e,n=>this.processProvider(n,t,e)),sn([t],t=>this.processInjectorType(t,[],a)),this.records.set(cr,Cr(void 0,this));const r=this.records.get(ur);this.scope=null!=r?r.value:null,this.source=i||("object"==typeof t?null:d(t))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(t=>t.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(t,e=pn,n=O.Default){this.assertNotDestroyed();const i=_n(this);try{if(!(n&O.SkipSelf)){let e=this.records.get(t);if(void 0===e){const n=("function"==typeof(a=t)||"object"==typeof a&&a instanceof nn)&&_(t);e=n&&this.injectableDefInScope(n)?Cr(yr(t),hr):null,this.records.set(t,e)}if(null!=e)return this.hydrate(t,e)}return(n&O.Self?gr():this.parent).get(t,e=n&O.Optional&&e===pn?null:e)}catch(r){if("NullInjectorError"===r.name){if((r.ngTempTokenPath=r.ngTempTokenPath||[]).unshift(d(t)),i)throw r;return function(t,e,n,i){const a=t.ngTempTokenPath;throw e.__source&&a.unshift(e.__source),t.message=function(t,e,n,i=null){t=t&&"\n"===t.charAt(0)&&"\u0275"==t.charAt(1)?t.substr(2):t;let a=d(e);if(Array.isArray(e))a=e.map(d).join(" -> ");else if("object"==typeof e){let t=[];for(let n in e)if(e.hasOwnProperty(n)){let i=e[n];t.push(n+":"+("string"==typeof i?JSON.stringify(i):d(i)))}a=`{${t.join(", ")}}`}return`${n}${i?"("+i+")":""}[${a}]: ${t.replace(fn,"\n ")}`}("\n"+t.message,a,n,i),t.ngTokenPath=a,t.ngTempTokenPath=null,t}(r,t,"R3InjectorError",this.source)}throw r}finally{_n(i)}var a}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(t=>this.get(t))}toString(){const t=[];return this.records.forEach((e,n)=>t.push(d(n))),`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}processInjectorType(t,e,n){if(!(t=p(t)))return!1;let i=v(t);const a=null==i&&t.ngModule||void 0,r=void 0===a?t:a,o=-1!==n.indexOf(r);if(void 0!==a&&(i=v(a)),null==i)return!1;if(null!=i.imports&&!o){let t;n.push(r);try{sn(i.imports,i=>{this.processInjectorType(i,e,n)&&(void 0===t&&(t=[]),t.push(i))})}finally{}if(void 0!==t)for(let e=0;e<t.length;e++){const{ngModule:n,providers:i}=t[e];sn(i,t=>this.processProvider(t,n,i||pr))}}this.injectorDefTypes.add(r),this.records.set(r,Cr(i.factory,hr));const s=i.providers;if(null!=s&&!o){const e=t;sn(s,t=>this.processProvider(t,e,s))}return void 0!==a&&void 0!==t.providers}processProvider(t,e,n){let i=xr(t=p(t))?t:p(t&&t.provide);const a=function(t,e,n){return wr(t)?Cr(void 0,t.useValue):Cr(vr(t),hr)}(t);if(xr(t)||!0!==t.multi)this.records.get(i);else{let e=this.records.get(i);e||(e=Cr(void 0,hr,!0),e.factory=()=>wn(e.multi),this.records.set(i,e)),i=t,e.multi.push(t)}this.records.set(i,a)}hydrate(t,e){var n;return e.value===hr&&(e.value=mr,e.value=e.factory()),"object"==typeof e.value&&e.value&&null!==(n=e.value)&&"object"==typeof n&&"function"==typeof n.ngOnDestroy&&this.onDestroy.add(e.value),e.value}injectableDefInScope(t){return!!t.providedIn&&("string"==typeof t.providedIn?"any"===t.providedIn||t.providedIn===this.scope:this.injectorDefTypes.has(t.providedIn))}}function yr(t){const e=_(t),n=null!==e?e.factory:dt(t);if(null!==n)return n;const i=v(t);if(null!==i)return i.factory;if(t instanceof nn)throw new Error(`Token ${d(t)} is missing a \u0275prov definition.`);if(t instanceof Function)return function(t){const e=t.length;if(e>0){const n=dn(e,"?");throw new Error(`Can't resolve all parameters for ${d(t)}: (${n.join(", ")}).`)}const n=function(t){const e=t&&(t[C]||t[x]);if(e){const n=function(t){if(t.hasOwnProperty("name"))return t.name;const e=(""+t).match(/^function\s*([^\s(]+)/);return null===e?"":e[1]}(t);return console.warn(`DEPRECATED: DI is instantiating a token "${n}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${n}" class.`),e}return null}(t);return null!==n?()=>n.factory(t):()=>new t}(t);throw new Error("unreachable")}function vr(t,e,n){let i;if(xr(t)){const e=p(t);return dt(e)||yr(e)}if(wr(t))i=()=>p(t.useValue);else if((a=t)&&a.useFactory)i=()=>t.useFactory(...wn(t.deps||[]));else if(function(t){return!(!t||!t.useExisting)}(t))i=()=>vn(p(t.useExisting));else{const e=p(t&&(t.useClass||t.provide));if(!function(t){return!!t.deps}(t))return dt(e)||yr(e);i=()=>new e(...wn(t.deps))}var a;return i}function Cr(t,e,n=!1){return{factory:t,value:e,multi:n?[]:void 0}}function wr(t){return null!==t&&"object"==typeof t&&gn in t}function xr(t){return"function"==typeof t}const Mr=function(t,e,n){return function(t,e=null,n=null,i){const a=br(t,e,n,i);return a._resolveInjectorDefTypes(),a}({name:n},e,t,n)};let Or=(()=>{class t{static create(t,e){return Array.isArray(t)?Mr(t,e,""):Mr(t.providers,t.parent,t.name||"")}}return t.THROW_IF_NOT_FOUND=pn,t.NULL=new dr,t.\u0275prov=g({token:t,providedIn:"any",factory:()=>vn(cr)}),t.__NG_ELEMENT_ID__=-1,t})();function kr(t,e){_e(Et(t)[1],Bt())}function Sr(t){let e=Object.getPrototypeOf(t.type.prototype).constructor,n=!0;const i=[t];for(;e;){let a;if(ct(t))a=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new Error("Directives cannot inherit Components");a=e.\u0275dir}if(a){if(n){i.push(a);const e=t;e.inputs=Tr(t.inputs),e.declaredInputs=Tr(t.declaredInputs),e.outputs=Tr(t.outputs);const n=a.hostBindings;n&&Dr(t,n);const r=a.viewQuery,o=a.contentQueries;if(r&&Pr(t,r),o&&Lr(t,o),c(t.inputs,a.inputs),c(t.declaredInputs,a.declaredInputs),c(t.outputs,a.outputs),ct(a)&&a.data.animation){const e=t.data;e.animation=(e.animation||[]).concat(a.data.animation)}}const e=a.features;if(e)for(let i=0;i<e.length;i++){const a=e[i];a&&a.ngInherit&&a(t),a===Sr&&(n=!1)}}e=Object.getPrototypeOf(e)}!function(t){let e=0,n=null;for(let i=t.length-1;i>=0;i--){const a=t[i];a.hostVars=e+=a.hostVars,a.hostAttrs=Te(a.hostAttrs,n=Te(n,a.hostAttrs))}}(i)}function Tr(t){return t===Y?{}:t===H?[]:t}function Pr(t,e){const n=t.viewQuery;t.viewQuery=n?(t,i)=>{e(t,i),n(t,i)}:e}function Lr(t,e){const n=t.contentQueries;t.contentQueries=n?(t,i,a)=>{e(t,i,a),n(t,i,a)}:e}function Dr(t,e){const n=t.hostBindings;t.hostBindings=n?(t,i)=>{e(t,i),n(t,i)}:e}let Er=null;function Ar(){if(!Er){const t=N.Symbol;if(t&&t.iterator)Er=t.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let e=0;e<t.length;++e){const n=t[e];"entries"!==n&&"size"!==n&&Map.prototype[n]===Map.prototype.entries&&(Er=n)}}}return Er}class Ir{constructor(t){this.wrapped=t}static wrap(t){return new Ir(t)}static unwrap(t){return Ir.isWrapped(t)?t.wrapped:t}static isWrapped(t){return t instanceof Ir}}function Rr(t){return!!Nr(t)&&(Array.isArray(t)||!(t instanceof Map)&&Ar()in t)}function Nr(t){return null!==t&&("function"==typeof t||"object"==typeof t)}function Yr(t,e,n){return t[e]=n}function Hr(t,e,n){return!Object.is(t[e],n)&&(t[e]=n,!0)}function jr(t,e,n,i){const a=Hr(t,e,n);return Hr(t,e+1,i)||a}function Fr(t,e,n,i){const a=Ft();return Hr(a,Kt(),e)&&(zt(),function(t,e,n,i,a,r){const o=Tt(t,e);!function(t,e,n,i,a,r,o){if(null==r)Mt(t)?t.removeAttribute(e,a,n):e.removeAttribute(a);else{const s=null==o?ht(r):o(r,i||"",a);Mt(t)?t.setAttribute(e,a,s,n):n?e.setAttributeNS(n,a,s):e.setAttribute(a,s)}}(e[11],o,r,t.value,n,i,a)}(fe(),a,t,e,n,i)),Fr}function zr(t,e,n,i){return Hr(t,Kt(),n)?e+ht(n)+i:ua}function Vr(t,e,n,i,a,r){const o=jr(t,Xt(),n,a);return Qt(2),o?e+ht(n)+i+ht(a)+r:ua}function Br(t,e,n,i,a,r,o,s){const l=Ft(),c=zt(),d=t+20,u=c.firstCreatePass?function(t,e,n,i,a,r,o,s,l){const c=e.consts,d=wa(e,t,4,o||null,Rt(c,s));Na(e,n,d,Rt(c,l)),_e(e,d);const u=d.tViews=Ea(2,d,i,a,r,e.directiveRegistry,e.pipeRegistry,null,e.schemas,c);return null!==e.queries&&(e.queries.template(e,d),u.queries=e.queries.embeddedTView(d)),d}(d,c,l,e,n,i,a,r,o):c.data[d];Ut(u,!1);const h=l[11].createComment("");qi(c,l,h,u),wi(h,l),$a(l,l[d]=qa(h,l,h,u)),lt(u)&&Pa(c,l,u),null!=o&&La(l,u,s)}function Wr(t){return Lt(Ht.lFrame.contextLView,20+t)}function Ur(t,e=O.Default){const n=Ft();return null===n?vn(t,e):Be(Bt(),n,p(t),e)}function qr(){throw new Error("invalid")}function Gr(t,e,n){const i=Ft();return Hr(i,Kt(),e)&&Ra(zt(),fe(),i,t,e,i[11],n,!1),Gr}function Jr(t,e,n,i,a){const r=a?"class":"style";or(t,n,e.inputs[r],r,i)}function Zr(t,e,n,i){const a=Ft(),r=zt(),o=20+t,s=a[11],l=a[o]=Ii(s,e,Ht.lFrame.currentNamespace),c=r.firstCreatePass?function(t,e,n,i,a,r,o){const s=e.consts,l=wa(e,t,2,a,Rt(s,r));return Na(e,n,l,Rt(s,o)),null!==l.attrs&&lr(l,l.attrs,!1),null!==l.mergedAttrs&&lr(l,l.mergedAttrs,!0),null!==e.queries&&e.queries.elementStart(e,l),l}(o,r,a,0,e,n,i):r.data[o];Ut(c,!0);const d=c.mergedAttrs;null!==d&&Oe(s,l,d);const u=c.classes;null!==u&&Qi(s,l,u);const h=c.styles;null!==h&&Ki(s,l,h),64!=(64&c.flags)&&qi(r,a,l,c),0===Ht.lFrame.elementDepthCount&&wi(l,a),Ht.lFrame.elementDepthCount++,lt(c)&&(Pa(r,a,c),Ta(r,c,a)),null!==i&&La(a,c)}function $r(){let t=Bt();qt()?Gt():(t=t.parent,Ut(t,!1));const e=t;Ht.lFrame.elementDepthCount--;const n=zt();n.firstCreatePass&&(_e(n,t),ot(t)&&n.queries.elementEnd(t)),null!=e.classesWithoutHost&&function(t){return 0!=(16&t.flags)}(e)&&Jr(n,e,Ft(),e.classesWithoutHost,!0),null!=e.stylesWithoutHost&&function(t){return 0!=(32&t.flags)}(e)&&Jr(n,e,Ft(),e.stylesWithoutHost,!1)}function Xr(t,e,n,i){Zr(t,e,n,i),$r()}function Kr(t,e,n){const i=Ft(),a=zt(),r=t+20,o=a.firstCreatePass?function(t,e,n,i,a){const r=e.consts,o=Rt(r,i),s=wa(e,t,8,"ng-container",o);return null!==o&&lr(s,o,!0),Na(e,n,s,Rt(r,a)),null!==e.queries&&e.queries.elementStart(e,s),s}(r,a,i,e,n):a.data[r];Ut(o,!0);const s=i[r]=i[11].createComment("");qi(a,i,s,o),wi(s,i),lt(o)&&(Pa(a,i,o),Ta(a,o,i)),null!=n&&La(i,o)}function Qr(){let t=Bt();const e=zt();qt()?Gt():(t=t.parent,Ut(t,!1)),e.firstCreatePass&&(_e(e,t),ot(t)&&e.queries.elementEnd(t))}function to(t,e,n){Kr(t,e,n),Qr()}function eo(){return Ft()}function no(t){return!!t&&"function"==typeof t.then}function io(t){return!!t&&"function"==typeof t.subscribe}const ao=io;function ro(t,e,n=!1,i){const a=Ft(),r=zt(),o=Bt();return so(r,a,a[11],o,t,e,n,i),ro}function oo(t,e,n=!1,i){const a=Bt(),r=Ft(),o=zt();return so(o,r,ar(ne(o.data),a,r),a,t,e,n,i),oo}function so(t,e,n,i,a,r,o=!1,s){const l=lt(i),c=t.firstCreatePass&&ir(t),d=nr(e);let u=!0;if(3&i.type){const h=Tt(i,e),m=s?s(h):Y,p=m.target||h,f=d.length,g=s?t=>s(kt(t[i.index])).target:i.index;if(Mt(n)){let o=null;if(!s&&l&&(o=function(t,e,n,i){const a=t.cleanup;if(null!=a)for(let r=0;r<a.length-1;r+=2){const t=a[r];if(t===n&&a[r+1]===i){const t=e[7],n=a[r+2];return t.length>n?t[n]:null}"string"==typeof t&&(r+=2)}return null}(t,e,a,i.index)),null!==o)(o.__ngLastListenerFn__||o).__ngNextListenerFn__=r,o.__ngLastListenerFn__=r,u=!1;else{r=co(i,e,r,!1);const t=n.listen(m.name||p,a,r);d.push(r,t),c&&c.push(a,g,f,f+1)}}else r=co(i,e,r,!0),p.addEventListener(a,r,o),d.push(r),c&&c.push(a,g,f,o)}else r=co(i,e,r,!1);const h=i.outputs;let m;if(u&&null!==h&&(m=h[a])){const t=m.length;if(t)for(let n=0;n<t;n+=2){const t=e[m[n]][m[n+1]].subscribe(r),o=d.length;d.push(r,t),c&&c.push(a,i.index,o,-(o+1))}}}function lo(t,e,n){try{return!1!==e(n)}catch(i){return rr(t,i),!1}}function co(t,e,n,i){return function a(r){if(r===Function)return n;const o=2&t.flags?Dt(t.index,e):e;0==(32&e[2])&&Xa(o);let s=lo(e,n,r),l=a.__ngNextListenerFn__;for(;l;)s=lo(e,l,r)&&s,l=l.__ngNextListenerFn__;return i&&!1===s&&(r.preventDefault(),r.returnValue=!1),s}}function uo(t=1){return function(t){return(Ht.lFrame.contextLView=function(t,e){for(;t>0;)e=e[15],t--;return e}(t,Ht.lFrame.contextLView))[8]}(t)}function ho(t,e){let n=null;const i=function(t){const e=t.attrs;if(null!=e){const t=e.indexOf(5);if(0==(1&t))return e[t+1]}return null}(t);for(let a=0;a<e.length;a++){const r=e[a];if("*"!==r){if(null===i?sa(t,r,!0):la(i,r))return a}else n=a}return n}function mo(t){const e=Ft()[16][6];if(!e.projection){const n=e.projection=dn(t?t.length:1,null),i=n.slice();let a=e.child;for(;null!==a;){const e=t?ho(a,t):0;null!==e&&(i[e]?i[e].projectionNext=a:n[e]=a,i[e]=a),a=a.next}}}function po(t,e=0,n){const i=Ft(),a=zt(),r=wa(a,20+t,16,null,n||null);null===r.projection&&(r.projection=e),Gt(),64!=(64&r.flags)&&function(t,e,n){Xi(e[11],0,e,n,ji(t,n,e),Wi(n.parent||e[6],n,e))}(a,i,r)}function fo(t,e,n){return go(t,"",e,"",n),fo}function go(t,e,n,i,a){const r=Ft(),o=zr(r,e,n,i);return o!==ua&&Ra(zt(),fe(),r,t,o,r[11],a,!1),go}function bo(t,e,n,i,a,r,o){const s=Ft(),l=Vr(s,e,n,i,a,r);return l!==ua&&Ra(zt(),fe(),s,t,l,s[11],o,!1),bo}const _o=[];function yo(t,e,n,i,a){const r=t[n+1],o=null===e;let s=i?fa(r):ba(r),l=!1;for(;0!==s&&(!1===l||o);){const n=t[s+1];vo(t[s],e)&&(l=!0,t[s+1]=i?ya(n):ga(n)),s=i?fa(n):ba(n)}l&&(t[n+1]=i?ga(r):ya(r))}function vo(t,e){return null===t||null==e||(Array.isArray(t)?t[1]:t)===e||!(!Array.isArray(t)||"string"!=typeof e)&&mn(t,e)>=0}const Co={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function wo(t){return t.substring(Co.key,Co.keyEnd)}function xo(t,e){const n=Co.textEnd;return n===e?-1:(e=Co.keyEnd=function(t,e,n){for(;e<n&&t.charCodeAt(e)>32;)e++;return e}(t,Co.key=e,n),Mo(t,e,n))}function Mo(t,e,n){for(;e<n&&t.charCodeAt(e)<=32;)e++;return e}function Oo(t,e,n){return To(t,e,n,!1),Oo}function ko(t,e){return To(t,e,null,!0),ko}function So(t,e){for(let n=function(t){return function(t){Co.key=0,Co.keyEnd=0,Co.value=0,Co.valueEnd=0,Co.textEnd=t.length}(t),xo(t,Mo(t,0,Co.textEnd))}(e);n>=0;n=xo(e,n))un(t,wo(e),!0)}function To(t,e,n,i){const a=Ft(),r=zt(),o=Qt(2);r.firstUpdatePass&&Lo(r,t,o,i),e!==ua&&Hr(a,o,e)&&Ao(r,r.data[me()],a,a[11],t,a[o+1]=function(t,e){return null==t||("string"==typeof e?t+=e:"object"==typeof t&&(t=d(Yn(t)))),t}(e,n),i,o)}function Po(t,e){return e>=t.expandoStartIndex}function Lo(t,e,n,i){const a=t.data;if(null===a[n+1]){const r=a[me()],o=Po(t,n);No(r,i)&&null===e&&!o&&(e=!1),e=function(t,e,n,i){const a=ne(t);let r=i?e.residualClasses:e.residualStyles;if(null===a)0===(i?e.classBindings:e.styleBindings)&&(n=Eo(n=Do(null,t,e,n,i),e.attrs,i),r=null);else{const o=e.directiveStylingLast;if(-1===o||t[o]!==a)if(n=Do(a,t,e,n,i),null===r){let n=function(t,e,n){const i=n?e.classBindings:e.styleBindings;if(0!==ba(i))return t[fa(i)]}(t,e,i);void 0!==n&&Array.isArray(n)&&(n=Do(null,t,e,n[1],i),n=Eo(n,e.attrs,i),function(t,e,n,i){t[fa(n?e.classBindings:e.styleBindings)]=i}(t,e,i,n))}else r=function(t,e,n){let i;const a=e.directiveEnd;for(let r=1+e.directiveStylingLast;r<a;r++)i=Eo(i,t[r].hostAttrs,n);return Eo(i,e.attrs,n)}(t,e,i)}return void 0!==r&&(i?e.residualClasses=r:e.residualStyles=r),n}(a,r,e,i),function(t,e,n,i,a,r){let o=r?e.classBindings:e.styleBindings,s=fa(o),l=ba(o);t[i]=n;let c,d=!1;if(Array.isArray(n)){const t=n;c=t[1],(null===c||mn(t,c)>0)&&(d=!0)}else c=n;if(a)if(0!==l){const e=fa(t[s+1]);t[i+1]=pa(e,s),0!==e&&(t[e+1]=_a(t[e+1],i)),t[s+1]=131071&t[s+1]|i<<17}else t[i+1]=pa(s,0),0!==s&&(t[s+1]=_a(t[s+1],i)),s=i;else t[i+1]=pa(l,0),0===s?s=i:t[l+1]=_a(t[l+1],i),l=i;d&&(t[i+1]=ga(t[i+1])),yo(t,c,i,!0),yo(t,c,i,!1),function(t,e,n,i,a){const r=a?t.residualClasses:t.residualStyles;null!=r&&"string"==typeof e&&mn(r,e)>=0&&(n[i+1]=ya(n[i+1]))}(e,c,t,i,r),o=pa(s,l),r?e.classBindings=o:e.styleBindings=o}(a,r,e,n,o,i)}}function Do(t,e,n,i,a){let r=null;const o=n.directiveEnd;let s=n.directiveStylingLast;for(-1===s?s=n.directiveStart:s++;s<o&&(r=e[s],i=Eo(i,r.hostAttrs,a),r!==t);)s++;return null!==t&&(n.directiveStylingLast=s),i}function Eo(t,e,n){const i=n?1:2;let a=-1;if(null!==e)for(let r=0;r<e.length;r++){const o=e[r];"number"==typeof o?a=o:a===i&&(Array.isArray(t)||(t=void 0===t?[]:["",t]),un(t,o,!!n||e[++r]))}return void 0===t?null:t}function Ao(t,e,n,i,a,r,o,s){if(!(3&e.type))return;const l=t.data,c=l[s+1];Ro(1==(1&c)?Io(l,e,n,a,ba(c),o):void 0)||(Ro(r)||2==(2&c)&&(r=Io(l,null,n,a,s,o)),function(t,e,n,i,a){const r=Mt(t);if(e)a?r?t.addClass(n,i):n.classList.add(i):r?t.removeClass(n,i):n.classList.remove(i);else{let e=-1===i.indexOf("-")?void 0:Si.DashCase;if(null==a)r?t.removeStyle(n,i,e):n.style.removeProperty(i);else{const o="string"==typeof a&&a.endsWith("!important");o&&(a=a.slice(0,-10),e|=Si.Important),r?t.setStyle(n,i,a,e):n.style.setProperty(i,a,o?"important":"")}}}(i,o,St(me(),n),a,r))}function Io(t,e,n,i,a,r){const o=null===e;let s;for(;a>0;){const e=t[a],r=Array.isArray(e),l=r?e[1]:e,c=null===l;let d=n[a+1];d===ua&&(d=c?_o:void 0);let u=c?hn(d,i):l===i?d:void 0;if(r&&!Ro(u)&&(u=hn(e,i)),Ro(u)&&(s=u,o))return s;const h=t[a+1];a=o?fa(h):ba(h)}if(null!==e){let t=r?e.residualClasses:e.residualStyles;null!=t&&(s=hn(t,i))}return s}function Ro(t){return void 0!==t}function No(t,e){return 0!=(t.flags&(e?16:32))}function Yo(t,e=""){const n=Ft(),i=zt(),a=t+20,r=i.firstCreatePass?wa(i,a,1,e,null):i.data[a],o=n[a]=function(t,e){return Mt(t)?t.createText(e):t.createTextNode(e)}(n[11],e);qi(i,n,o,r),Ut(r,!1)}function Ho(t){return jo("",t,""),Ho}function jo(t,e,n){const i=Ft(),a=zr(i,t,e,n);return a!==ua&&sr(i,me(),a),jo}function Fo(t,e,n,i,a){const r=Ft(),o=Vr(r,t,e,n,i,a);return o!==ua&&sr(r,me(),o),Fo}function zo(t,e,n){!function(t,e,n,i){const a=zt(),r=Qt(2);a.firstUpdatePass&&Lo(a,null,r,true);const o=Ft();if(n!==ua&&Hr(o,r,n)){const i=a.data[me()];if(No(i,true)&&!Po(a,r)){let t=i.classesWithoutHost;null!==t&&(n=u(t,n||"")),Jr(a,i,o,n,true)}else!function(t,e,n,i,a,r,o,s){a===ua&&(a=_o);let l=0,c=0,d=0<a.length?a[0]:null,u=0<r.length?r[0]:null;for(;null!==d||null!==u;){const o=l<a.length?a[l+1]:void 0,h=c<r.length?r[c+1]:void 0;let m,p=null;d===u?(l+=2,c+=2,o!==h&&(p=u,m=h)):null===u||null!==d&&d<u?(l+=2,p=d):(c+=2,p=u,m=h),null!==p&&Ao(t,e,n,i,p,m,true,s),d=l<a.length?a[l]:null,u=c<r.length?r[c]:null}}(a,i,o,o[11],o[r+1],o[r+1]=function(t,e,n){if(null==n||""===n)return _o;const i=[],a=Yn(n);if(Array.isArray(a))for(let r=0;r<a.length;r++)t(i,a[r],!0);else if("object"==typeof a)for(const r in a)a.hasOwnProperty(r)&&t(i,r,a[r]);else"string"==typeof a&&e(i,a);return i}(t,e,n),0,r)}}(un,So,zr(Ft(),t,e,n))}function Vo(t,e,n){const i=Ft();return Hr(i,Kt(),e)&&Ra(zt(),fe(),i,t,e,i[11],n,!0),Vo}function Bo(t,e,n){const i=Ft();if(Hr(i,Kt(),e)){const a=zt(),r=fe();Ra(a,r,i,t,e,ar(ne(a.data),r,i),n,!0)}return Bo}const Wo=void 0;var Uo=["en",[["a","p"],["AM","PM"],Wo],[["AM","PM"],Wo,Wo],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Wo,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],Wo,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",Wo,"{1} 'at' {0}",Wo],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(t){let e=Math.floor(Math.abs(t)),n=t.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===n?1:5}];let qo={};function Go(t,e,n){"string"!=typeof e&&(n=e,e=t[Ko.LocaleId]),e=e.toLowerCase().replace(/_/g,"-"),qo[e]=t,n&&(qo[e][Ko.ExtraData]=n)}function Jo(t){const e=function(t){return t.toLowerCase().replace(/_/g,"-")}(t);let n=Xo(e);if(n)return n;const i=e.split("-")[0];if(n=Xo(i),n)return n;if("en"===i)return Uo;throw new Error(`Missing locale data for the locale "${t}".`)}function Zo(t){return Jo(t)[Ko.CurrencyCode]||null}function $o(t){return Jo(t)[Ko.PluralCase]}function Xo(t){return t in qo||(qo[t]=N.ng&&N.ng.common&&N.ng.common.locales&&N.ng.common.locales[t]),qo[t]}var Ko=function(t){return t[t.LocaleId=0]="LocaleId",t[t.DayPeriodsFormat=1]="DayPeriodsFormat",t[t.DayPeriodsStandalone=2]="DayPeriodsStandalone",t[t.DaysFormat=3]="DaysFormat",t[t.DaysStandalone=4]="DaysStandalone",t[t.MonthsFormat=5]="MonthsFormat",t[t.MonthsStandalone=6]="MonthsStandalone",t[t.Eras=7]="Eras",t[t.FirstDayOfWeek=8]="FirstDayOfWeek",t[t.WeekendRange=9]="WeekendRange",t[t.DateFormat=10]="DateFormat",t[t.TimeFormat=11]="TimeFormat",t[t.DateTimeFormat=12]="DateTimeFormat",t[t.NumberSymbols=13]="NumberSymbols",t[t.NumberFormats=14]="NumberFormats",t[t.CurrencyCode=15]="CurrencyCode",t[t.CurrencySymbol=16]="CurrencySymbol",t[t.CurrencyName=17]="CurrencyName",t[t.Currencies=18]="Currencies",t[t.Directionality=19]="Directionality",t[t.PluralCase=20]="PluralCase",t[t.ExtraData=21]="ExtraData",t}({});let Qo="en-US";function ts(t){var e,n;n="Expected localeId to be defined",null==(e=t)&&function(t,e,n,i){throw new Error(`ASSERTION ERROR: ${t} [Expected=> null != ${e} <=Actual]`)}(n,e),"string"==typeof t&&(Qo=t.toLowerCase().replace(/_/g,"-"))}function es(t,e,n,i,a){if(t=p(t),Array.isArray(t))for(let r=0;r<t.length;r++)es(t[r],e,n,i,a);else{const r=zt(),o=Ft();let s=xr(t)?t:p(t.provide),l=vr(t);const c=Bt(),d=1048575&c.providerIndexes,u=c.directiveStart,h=c.providerIndexes>>20;if(xr(t)||!t.multi){const i=new Me(l,a,Ur),m=as(s,e,a?d:d+h,u);-1===m?(Fe(Ne(c,o),r,s),ns(r,t,e.length),e.push(s),c.directiveStart++,c.directiveEnd++,a&&(c.providerIndexes+=1048576),n.push(i),o.push(i)):(n[m]=i,o[m]=i)}else{const m=as(s,e,d+h,u),p=as(s,e,d,d+h),f=m>=0&&n[m],g=p>=0&&n[p];if(a&&!g||!a&&!f){Fe(Ne(c,o),r,s);const d=function(t,e,n,i,a){const r=new Me(t,n,Ur);return r.multi=[],r.index=e,r.componentProviders=0,is(r,a,i&&!n),r}(a?os:rs,n.length,a,i,l);!a&&g&&(n[p].providerFactory=d),ns(r,t,e.length,0),e.push(s),c.directiveStart++,c.directiveEnd++,a&&(c.providerIndexes+=1048576),n.push(d),o.push(d)}else ns(r,t,m>-1?m:p,is(n[a?p:m],l,!a&&i));!a&&i&&g&&n[p].componentProviders++}}}function ns(t,e,n,i){const a=xr(e);if(a||e.useClass){const r=(e.useClass||e).prototype.ngOnDestroy;if(r){const o=t.destroyHooks||(t.destroyHooks=[]);if(!a&&e.multi){const t=o.indexOf(n);-1===t?o.push(n,[i,r]):o[t+1].push(i,r)}else o.push(n,r)}}}function is(t,e,n){return n&&t.componentProviders++,t.multi.push(e)-1}function as(t,e,n,i){for(let a=n;a<i;a++)if(e[a]===t)return a;return-1}function rs(t,e,n,i){return ss(this.multi,[])}function os(t,e,n,i){const a=this.multi;let r;if(this.providerFactory){const t=this.providerFactory.componentProviders,e=Je(n,n[1],this.providerFactory.index,i);r=e.slice(0,t),ss(a,r);for(let n=t;n<e.length;n++)r.push(e[n])}else r=[],ss(a,r);return r}function ss(t,e){for(let n=0;n<t.length;n++)e.push((0,t[n])());return e}function ls(t,e=[]){return n=>{n.providersResolver=(n,i)=>function(t,e,n){const i=zt();if(i.firstCreatePass){const a=ct(t);es(n,i.data,i.blueprint,a,!0),es(e,i.data,i.blueprint,a,!1)}}(n,i?i(t):t,e)}}class cs{}class ds{resolveComponentFactory(t){throw function(t){const e=Error(`No component factory found for ${d(t)}. Did you add it to @NgModule.entryComponents?`);return e.ngComponent=t,e}(t)}}let us=(()=>{class t{}return t.NULL=new ds,t})();function hs(...t){}function ms(t,e){return new fs(Tt(t,e))}const ps=function(){return ms(Bt(),Ft())};let fs=(()=>{class t{constructor(t){this.nativeElement=t}}return t.__NG_ELEMENT_ID__=ps,t})();function gs(t){return t instanceof fs?t.nativeElement:t}class bs{}let _s=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>ys(),t})();const ys=function(){const t=Ft(),e=Dt(Bt().index,t);return function(t){return t[11]}(at(e)?e:t)};let vs=(()=>{class t{}return t.\u0275prov=g({token:t,providedIn:"root",factory:()=>null}),t})();class Cs{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const ws=new Cs("11.1.1");class xs{constructor(){}supports(t){return Rr(t)}create(t){return new Os(t)}}const Ms=(t,e)=>e;class Os{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||Ms}forEachItem(t){let e;for(e=this._itHead;null!==e;e=e._next)t(e)}forEachOperation(t){let e=this._itHead,n=this._removalsHead,i=0,a=null;for(;e||n;){const r=!n||e&&e.currentIndex<Ps(n,i,a)?e:n,o=Ps(r,i,a),s=r.currentIndex;if(r===n)i--,n=n._nextRemoved;else if(e=e._next,null==r.previousIndex)i++;else{a||(a=[]);const t=o-i,e=s-i;if(t!=e){for(let n=0;n<t;n++){const i=n<a.length?a[n]:a[n]=0,r=i+n;e<=r&&r<t&&(a[n]=i+1)}a[r.previousIndex]=e-t}}o!==s&&t(r,o,s)}}forEachPreviousItem(t){let e;for(e=this._previousItHead;null!==e;e=e._nextPrevious)t(e)}forEachAddedItem(t){let e;for(e=this._additionsHead;null!==e;e=e._nextAdded)t(e)}forEachMovedItem(t){let e;for(e=this._movesHead;null!==e;e=e._nextMoved)t(e)}forEachRemovedItem(t){let e;for(e=this._removalsHead;null!==e;e=e._nextRemoved)t(e)}forEachIdentityChange(t){let e;for(e=this._identityChangesHead;null!==e;e=e._nextIdentityChange)t(e)}diff(t){if(null==t&&(t=[]),!Rr(t))throw new Error(`Error trying to diff '${d(t)}'. Only arrays and iterables are allowed`);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let e,n,i,a=this._itHead,r=!1;if(Array.isArray(t)){this.length=t.length;for(let e=0;e<this.length;e++)n=t[e],i=this._trackByFn(e,n),null!==a&&Object.is(a.trackById,i)?(r&&(a=this._verifyReinsertion(a,n,i,e)),Object.is(a.item,n)||this._addIdentityChange(a,n)):(a=this._mismatch(a,n,i,e),r=!0),a=a._next}else e=0,function(t,e){if(Array.isArray(t))for(let n=0;n<t.length;n++)e(t[n]);else{const n=t[Ar()]();let i;for(;!(i=n.next()).done;)e(i.value)}}(t,t=>{i=this._trackByFn(e,t),null!==a&&Object.is(a.trackById,i)?(r&&(a=this._verifyReinsertion(a,t,i,e)),Object.is(a.item,t)||this._addIdentityChange(a,t)):(a=this._mismatch(a,t,i,e),r=!0),a=a._next,e++}),this.length=e;return this._truncate(a),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,e,n,i){let a;return null===t?a=this._itTail:(a=t._prev,this._remove(t)),null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(n,i))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._moveAfter(t,a,i)):null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._reinsertAfter(t,a,i)):t=this._addAfter(new ks(e,n),a,i),t}_verifyReinsertion(t,e,n,i){let a=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==a?t=this._reinsertAfter(a,t._prev,i):t.currentIndex!=i&&(t.currentIndex=i,this._addToMoves(t,i)),t}_truncate(t){for(;null!==t;){const e=t._next;this._addToRemovals(this._unlink(t)),t=e}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,e,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const i=t._prevRemoved,a=t._nextRemoved;return null===i?this._removalsHead=a:i._nextRemoved=a,null===a?this._removalsTail=i:a._prevRemoved=i,this._insertAfter(t,e,n),this._addToMoves(t,n),t}_moveAfter(t,e,n){return this._unlink(t),this._insertAfter(t,e,n),this._addToMoves(t,n),t}_addAfter(t,e,n){return this._insertAfter(t,e,n),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,e,n){const i=null===e?this._itHead:e._next;return t._next=i,t._prev=e,null===i?this._itTail=t:i._prev=t,null===e?this._itHead=t:e._next=t,null===this._linkedRecords&&(this._linkedRecords=new Ts),this._linkedRecords.put(t),t.currentIndex=n,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const e=t._prev,n=t._next;return null===e?this._itHead=n:e._next=n,null===n?this._itTail=e:n._prev=e,t}_addToMoves(t,e){return t.previousIndex===e||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Ts),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,e){return t.item=e,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class ks{constructor(t,e){this.item=t,this.trackById=e,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class Ss{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,e){let n;for(n=this._head;null!==n;n=n._nextDup)if((null===e||e<=n.currentIndex)&&Object.is(n.trackById,t))return n;return null}remove(t){const e=t._prevDup,n=t._nextDup;return null===e?this._head=n:e._nextDup=n,null===n?this._tail=e:n._prevDup=e,null===this._head}}class Ts{constructor(){this.map=new Map}put(t){const e=t.trackById;let n=this.map.get(e);n||(n=new Ss,this.map.set(e,n)),n.add(t)}get(t,e){const n=this.map.get(t);return n?n.get(t,e):null}remove(t){const e=t.trackById;return this.map.get(e).remove(t)&&this.map.delete(e),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function Ps(t,e,n){const i=t.previousIndex;if(null===i)return i;let a=0;return n&&i<n.length&&(a=n[i]),i+e+a}class Ls{constructor(){}supports(t){return t instanceof Map||Nr(t)}create(){return new Ds}}class Ds{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(t){let e;for(e=this._mapHead;null!==e;e=e._next)t(e)}forEachPreviousItem(t){let e;for(e=this._previousMapHead;null!==e;e=e._nextPrevious)t(e)}forEachChangedItem(t){let e;for(e=this._changesHead;null!==e;e=e._nextChanged)t(e)}forEachAddedItem(t){let e;for(e=this._additionsHead;null!==e;e=e._nextAdded)t(e)}forEachRemovedItem(t){let e;for(e=this._removalsHead;null!==e;e=e._nextRemoved)t(e)}diff(t){if(t){if(!(t instanceof Map||Nr(t)))throw new Error(`Error trying to diff '${d(t)}'. Only maps and objects are allowed`)}else t=new Map;return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let e=this._mapHead;if(this._appendAfter=null,this._forEach(t,(t,n)=>{if(e&&e.key===n)this._maybeAddToChanges(e,t),this._appendAfter=e,e=e._next;else{const i=this._getOrCreateRecordForKey(n,t);e=this._insertBeforeOrAppend(e,i)}}),e){e._prev&&(e._prev._next=null),this._removalsHead=e;for(let t=e;null!==t;t=t._nextRemoved)t===this._mapHead&&(this._mapHead=null),this._records.delete(t.key),t._nextRemoved=t._next,t.previousValue=t.currentValue,t.currentValue=null,t._prev=null,t._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,e){if(t){const n=t._prev;return e._next=t,e._prev=n,t._prev=e,n&&(n._next=e),t===this._mapHead&&(this._mapHead=e),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null}_getOrCreateRecordForKey(t,e){if(this._records.has(t)){const n=this._records.get(t);this._maybeAddToChanges(n,e);const i=n._prev,a=n._next;return i&&(i._next=a),a&&(a._prev=i),n._next=null,n._prev=null,n}const n=new Es(t);return this._records.set(t,n),n.currentValue=e,this._addToAdditions(n),n}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,e){Object.is(e,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=e,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,e){t instanceof Map?t.forEach(e):Object.keys(t).forEach(n=>e(t[n],n))}}class Es{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function As(){return new Is([new xs])}let Is=(()=>{class t{constructor(t){this.factories=t}static create(e,n){if(null!=n){const t=n.factories.slice();e=e.concat(t)}return new t(e)}static extend(e){return{provide:t,useFactory:n=>t.create(e,n||As()),deps:[[t,new kn,new On]]}}find(t){const e=this.factories.find(e=>e.supports(t));if(null!=e)return e;throw new Error(`Cannot find a differ supporting object '${t}' of type '${n=t,n.name||typeof n}'`);var n}}return t.\u0275prov=g({token:t,providedIn:"root",factory:As}),t})();function Rs(){return new Ns([new Ls])}let Ns=(()=>{class t{constructor(t){this.factories=t}static create(e,n){if(n){const t=n.factories.slice();e=e.concat(t)}return new t(e)}static extend(e){return{provide:t,useFactory:n=>t.create(e,n||Rs()),deps:[[t,new kn,new On]]}}find(t){const e=this.factories.find(e=>e.supports(t));if(e)return e;throw new Error(`Cannot find a differ supporting object '${t}'`)}}return t.\u0275prov=g({token:t,providedIn:"root",factory:Rs}),t})();function Ys(t,e,n,i,a=!1){for(;null!==n;){const r=e[n.index];if(null!==r&&i.push(kt(r)),rt(r))for(let t=10;t<r.length;t++){const e=r[t],n=e[1].firstChild;null!==n&&Ys(e[1],e,n,i)}const o=n.type;if(8&o)Ys(t,e,n.child,i);else if(32&o){const t=Ti(n,e);let a;for(;a=t();)i.push(a)}else if(16&o){const t=e[16],a=t[6].projection[n.projection];if(Array.isArray(a))i.push(...a);else{const e=Pi(t);Ys(e[1],e,a,i,!0)}}n=a?n.projectionNext:n.next}return i}class Hs{constructor(t,e){this._lView=t,this._cdRefInjectingView=e,this._appRef=null,this._attachedToViewContainer=!1}get rootNodes(){const t=this._lView,e=t[1];return Ys(e,t,e.firstChild,[])}get context(){return this._lView[8]}get destroyed(){return 256==(256&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[3];if(rt(t)){const e=t[8],n=e?e.indexOf(this):-1;n>-1&&(Ni(t,n),cn(e,n))}this._attachedToViewContainer=!1}Yi(this._lView[1],this._lView)}onDestroy(t){Aa(this._lView[1],this._lView,null,t)}markForCheck(){Xa(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){Ka(this._lView[1],this._lView,this.context)}checkNoChanges(){!function(t,e,n){Zt(!0);try{Ka(t,e,n)}finally{Zt(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._attachedToViewContainer=!0}detachFromAppRef(){var t;this._appRef=null,$i(this._lView[1],t=this._lView,t[11],2,null,null)}attachToAppRef(t){if(this._attachedToViewContainer)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t}}class js extends Hs{constructor(t){super(t),this._view=t}detectChanges(){Qa(this._view)}checkNoChanges(){!function(t){Zt(!0);try{Qa(t)}finally{Zt(!1)}}(this._view)}get context(){return null}}const Fs=Vs;let zs=(()=>{class t{}return t.__NG_ELEMENT_ID__=Fs,t.__ChangeDetectorRef__=!0,t})();function Vs(t=!1){return function(t,e,n){if(!n&&st(t)){const n=Dt(t.index,e);return new Hs(n,n)}return 47&t.type?new Hs(e[16],e):null}(Bt(),Ft(),t)}const Bs=[new Ls],Ws=new Is([new xs]),Us=new Ns(Bs),qs=function(){return $s(Bt(),Ft())};let Gs=(()=>{class t{}return t.__NG_ELEMENT_ID__=qs,t})();const Js=Gs,Zs=class extends Js{constructor(t,e,n){super(),this._declarationLView=t,this._declarationTContainer=e,this.elementRef=n}createEmbeddedView(t){const e=this._declarationTContainer.tViews,n=Ca(this._declarationLView,e,t,16,null,e.declTNode,null,null,null,null);n[17]=this._declarationLView[this._declarationTContainer.index];const i=this._declarationLView[19];return null!==i&&(n[19]=i.createEmbeddedView(e)),Ma(e,n,t),new Hs(n)}};function $s(t,e){return 4&t.type?new Zs(e,t,ms(t,e)):null}class Xs{}class Ks{}const Qs=function(){return rl(Bt(),Ft())};let tl=(()=>{class t{}return t.__NG_ELEMENT_ID__=Qs,t})();const el=tl,nl=class extends el{constructor(t,e,n){super(),this._lContainer=t,this._hostTNode=e,this._hostLView=n}get element(){return ms(this._hostTNode,this._hostLView)}get injector(){return new Xe(this._hostTNode,this._hostLView)}get parentInjector(){const t=je(this._hostTNode,this._hostLView);if(Le(t)){const e=Ee(t,this._hostLView),n=De(t);return new Xe(e[1].data[n+8],e)}return new Xe(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const e=il(this._lContainer);return null!==e&&e[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,e,n){const i=t.createEmbeddedView(e||{});return this.insert(i,n),i}createComponent(t,e,n,i,a){const r=n||this.parentInjector;if(!a&&null==t.ngModule&&r){const t=r.get(Xs,null);t&&(a=t)}const o=t.create(r,i,void 0,a);return this.insert(o.hostView,e),o}insert(t,e){const n=t._lView,i=n[1];if(rt(n[3])){const e=this.indexOf(t);if(-1!==e)this.detach(e);else{const e=n[3],i=new nl(e,e[6],e[3]);i.detach(i.indexOf(t))}}const a=this._adjustIndex(e),r=this._lContainer;!function(t,e,n,i){const a=10+i,r=n.length;i>0&&(n[a-1][4]=e),i<r-10?(e[4]=n[a],ln(n,10+i,e)):(n.push(e),e[4]=null),e[3]=n;const o=e[17];null!==o&&n!==o&&function(t,e){const n=t[9];e[16]!==e[3][3][16]&&(t[2]=!0),null===n?t[9]=[e]:n.push(e)}(o,e);const s=e[19];null!==s&&s.insertView(t),e[2]|=128}(i,n,r,a);const o=Ji(a,r),s=n[11],l=Bi(s,r[7]);return null!==l&&function(t,e,n,i,a,r){i[0]=a,i[6]=e,$i(t,i,n,1,a,r)}(i,r[6],s,n,l,o),t.attachToViewContainerRef(),ln(al(r),a,t),t}move(t,e){return this.insert(t,e)}indexOf(t){const e=il(this._lContainer);return null!==e?e.indexOf(t):-1}remove(t){const e=this._adjustIndex(t,-1),n=Ni(this._lContainer,e);n&&(cn(al(this._lContainer),e),Yi(n[1],n))}detach(t){const e=this._adjustIndex(t,-1),n=Ni(this._lContainer,e);return n&&null!=cn(al(this._lContainer),e)?new Hs(n):null}_adjustIndex(t,e=0){return null==t?this.length+e:t}};function il(t){return t[8]}function al(t){return t[8]||(t[8]=[])}function rl(t,e){let n;const i=e[t.index];if(rt(i))n=i;else{let a;if(8&t.type)a=kt(i);else{const n=e[11];a=n.createComment("");const i=Tt(t,e);Fi(n,Bi(n,i),a,function(t,e){return Mt(t)?t.nextSibling(e):e.nextSibling}(n,i),!1)}e[t.index]=n=qa(i,e,a,t),$a(e,n)}return new nl(n,t,e)}const ol={};class sl extends us{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const e=nt(t);return new dl(e,this.ngModule)}}function ll(t){const e=[];for(let n in t)t.hasOwnProperty(n)&&e.push({propName:t[n],templateName:n});return e}const cl=new nn("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>xi});class dl extends cs{constructor(t,e){super(),this.componentDef=t,this.ngModule=e,this.componentType=t.type,this.selector=t.selectors.map(da).join(","),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!e}get inputs(){return ll(this.componentDef.inputs)}get outputs(){return ll(this.componentDef.outputs)}create(t,e,n,i){const a=(i=i||this.ngModule)?function(t,e){return{get:(n,i,a)=>{const r=t.get(n,ol,a);return r!==ol||i===ol?r:e.get(n,i,a)}}}(t,i.injector):t,r=a.get(bs,Ot),o=a.get(vs,null),s=r.createRenderer(null,this.componentDef),l=this.componentDef.selectors[0][0]||"div",c=n?function(t,e,n){if(Mt(t))return t.selectRootElement(e,n===D.ShadowDom);let i="string"==typeof e?t.querySelector(e):e;return i.textContent="",i}(s,n,this.componentDef.encapsulation):Ii(r.createRenderer(null,this.componentDef),l,function(t){const e=t.toLowerCase();return"svg"===e?"http://www.w3.org/2000/svg":"math"===e?"http://www.w3.org/1998/MathML/":null}(l)),d=this.componentDef.onPush?576:528,u={components:[],scheduler:xi,clean:er,playerHandler:null,flags:0},h=Ea(0,null,null,1,0,null,null,null,null,null),m=Ca(null,h,u,d,null,null,r,s,o,a);let p,f;se(m);try{const t=function(t,e,n,i,a,r){const o=n[1];n[20]=t;const s=wa(o,20,2,"#host",null),l=s.mergedAttrs=e.hostAttrs;null!==l&&(lr(s,l,!0),null!==t&&(Oe(a,t,l),null!==s.classes&&Qi(a,t,s.classes),null!==s.styles&&Ki(a,t,s.styles)));const c=i.createRenderer(t,e),d=Ca(n,Da(e),null,e.onPush?64:16,n[20],s,i,c,null,null);return o.firstCreatePass&&(Fe(Ne(s,n),o,e.type),ja(o,s),za(s,n.length,1)),$a(n,d),n[20]=d}(c,this.componentDef,m,r,s);if(c)if(n)Oe(s,c,["ng-version",ws.full]);else{const{attrs:t,classes:e}=function(t){const e=[],n=[];let i=1,a=2;for(;i<t.length;){let r=t[i];if("string"==typeof r)2===a?""!==r&&e.push(r,t[++i]):8===a&&n.push(r);else{if(!ra(a))break;a=r}i++}return{attrs:e,classes:n}}(this.componentDef.selectors[0]);t&&Oe(s,c,t),e&&e.length>0&&Qi(s,c,e.join(" "))}if(f=Pt(h,20),void 0!==e){const t=f.projection=[];for(let n=0;n<this.ngContentSelectors.length;n++){const i=e[n];t.push(null!=i?Array.from(i):null)}}p=function(t,e,n,i,a){const r=n[1],o=function(t,e,n){const i=Bt();t.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),Va(t,i,e,xa(t,e,1,null),n));const a=Je(e,t,i.directiveStart,i);wi(a,e);const r=Tt(i,e);return r&&wi(r,e),a}(r,n,e);if(i.components.push(o),t[8]=o,a&&a.forEach(t=>t(o,e)),e.contentQueries){const t=Bt();e.contentQueries(1,o,t.directiveStart)}const s=Bt();return!r.firstCreatePass||null===e.hostBindings&&null===e.hostAttrs||(pe(s.index),Ya(n[1],s,0,s.directiveStart,s.directiveEnd,e),Ha(e,o)),o}(t,this.componentDef,m,u,[kr]),Ma(h,m,null)}finally{he()}return new ul(this.componentType,p,ms(f,m),m,f)}}class ul extends class{}{constructor(t,e,n,i,a){super(),this.location=n,this._rootLView=i,this._tNode=a,this.instance=e,this.hostView=this.changeDetectorRef=new js(i),this.componentType=t}get injector(){return new Xe(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}const hl=new Map;class ml extends Xs{constructor(t,e){super(),this._parent=e,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new sl(this);const n=it(t),i=t[B]||null;i&&ts(i),this._bootstrapComponents=ki(n.bootstrap),this._r3Injector=br(t,e,[{provide:Xs,useValue:this},{provide:us,useValue:this.componentFactoryResolver}],d(t)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(t)}get(t,e=Or.THROW_IF_NOT_FOUND,n=O.Default){return t===Or||t===Xs||t===cr?this:this._r3Injector.get(t,e,n)}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(t=>t()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class pl extends Ks{constructor(t){super(),this.moduleType=t,null!==it(t)&&function(t){const e=new Set;!function t(n){const i=it(n,!0),a=i.id;null!==a&&(function(t,e,n){if(e&&e!==n)throw new Error(`Duplicate module registered for ${t} - ${d(e)} vs ${d(e.name)}`)}(a,hl.get(a),n),hl.set(a,n));const r=ki(i.imports);for(const o of r)e.has(o)||(e.add(o),t(o))}(t)}(t)}create(t){return new ml(this.moduleType,t)}}function fl(t,e,n){const i=$t()+t,a=Ft();return a[i]===ua?Yr(a,i,n?e.call(n):e()):function(t,e){return t[e]}(a,i)}function gl(t,e,n,i){return yl(Ft(),$t(),t,e,n,i)}function bl(t,e,n,i,a){return vl(Ft(),$t(),t,e,n,i,a)}function _l(t,e){const n=t[e];return n===ua?void 0:n}function yl(t,e,n,i,a,r){const o=e+n;return Hr(t,o,a)?Yr(t,o+1,r?i.call(r,a):i(a)):_l(t,o+1)}function vl(t,e,n,i,a,r,o){const s=e+n;return jr(t,s,a,r)?Yr(t,s+2,o?i.call(o,a,r):i(a,r)):_l(t,s+2)}function Cl(t,e){const n=zt();let i;const a=t+20;n.firstCreatePass?(i=function(t,e){if(e)for(let n=e.length-1;n>=0;n--){const i=e[n];if(t===i.name)return i}throw new ut("302",`The pipe '${t}' could not be found!`)}(e,n.pipeRegistry),n.data[a]=i,i.onDestroy&&(n.destroyHooks||(n.destroyHooks=[])).push(a,i.onDestroy)):i=n.data[a];const r=i.factory||(i.factory=dt(i.type)),o=S(Ur);try{const t=Ie(!1),e=r();return Ie(t),function(t,e,n,i){n>=t.data.length&&(t.data[n]=null,t.blueprint[n]=null),e[n]=i}(n,Ft(),a,e),e}finally{S(o)}}function wl(t,e,n){const i=t+20,a=Ft(),r=Lt(a,i);return Sl(a,kl(a,i)?yl(a,$t(),e,r.transform,n,r):r.transform(n))}function xl(t,e,n,i){const a=t+20,r=Ft(),o=Lt(r,a);return Sl(r,kl(r,a)?vl(r,$t(),e,o.transform,n,i,o):o.transform(n,i))}function Ml(t,e,n,i,a){const r=t+20,o=Ft(),s=Lt(o,r);return Sl(o,kl(o,r)?function(t,e,n,i,a,r,o,s){const l=e+n;return function(t,e,n,i,a){const r=jr(t,e,n,i);return Hr(t,e+2,a)||r}(t,l,a,r,o)?Yr(t,l+3,s?i.call(s,a,r,o):i(a,r,o)):_l(t,l+3)}(o,$t(),e,s.transform,n,i,a,s):s.transform(n,i,a))}function Ol(t,e,n,i,a,r){const o=t+20,s=Ft(),l=Lt(s,o);return Sl(s,kl(s,o)?function(t,e,n,i,a,r,o,s,l){const c=e+n;return function(t,e,n,i,a,r){const o=jr(t,e,n,i);return jr(t,e+2,a,r)||o}(t,c,a,r,o,s)?Yr(t,c+4,l?i.call(l,a,r,o,s):i(a,r,o,s)):_l(t,c+4)}(s,$t(),e,l.transform,n,i,a,r,l):l.transform(n,i,a,r))}function kl(t,e){return t[1].data[e].pure}function Sl(t,e){return Ir.isWrapped(e)&&(e=Ir.unwrap(e),t[Xt()]=ua),e}const Tl=class extends i.a{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,e,n){let i,r=t=>null,o=()=>null;t&&"object"==typeof t?(i=this.__isAsync?e=>{setTimeout(()=>t.next(e))}:e=>{t.next(e)},t.error&&(r=this.__isAsync?e=>{setTimeout(()=>t.error(e))}:e=>{t.error(e)}),t.complete&&(o=this.__isAsync?()=>{setTimeout(()=>t.complete())}:()=>{t.complete()})):(i=this.__isAsync?e=>{setTimeout(()=>t(e))}:e=>{t(e)},e&&(r=this.__isAsync?t=>{setTimeout(()=>e(t))}:t=>{e(t)}),n&&(o=this.__isAsync?()=>{setTimeout(()=>n())}:()=>{n()}));const s=super.subscribe(i,r,o);return t instanceof a.a&&t.add(s),s}};function Pl(){return this._results[Ar()]()}class Ll{constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const e=Ar(),n=Ll.prototype;n[e]||(n[e]=Pl)}get changes(){return this._changes||(this._changes=new Tl)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,e){return this._results.reduce(t,e)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,e){this.dirty=!1;const n=on(t);(this._changesDetected=!function(t,e,n){if(t.length!==e.length)return!1;for(let i=0;i<t.length;i++){let a=t[i],r=e[i];if(n&&(a=n(a),r=n(r)),r!==a)return!1}return!0}(this._results,n,e))&&(this._results=n,this.length=n.length,this.last=n[this.length-1],this.first=n[0])}notifyOnChanges(){!this._changes||!this._changesDetected&&this._emitDistinctChangesOnly||this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}class Dl{constructor(t){this.queryList=t,this.matches=null}clone(){return new Dl(this.queryList)}setDirty(){this.queryList.setDirty()}}class El{constructor(t=[]){this.queries=t}createEmbeddedView(t){const e=t.queries;if(null!==e){const n=null!==t.contentQueries?t.contentQueries[0]:e.length,i=[];for(let t=0;t<n;t++){const n=e.getByIndex(t);i.push(this.queries[n.indexInDeclarationView].clone())}return new El(i)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let e=0;e<this.queries.length;e++)null!==ql(t,e).matches&&this.queries[e].setDirty()}}class Al{constructor(t,e,n=null){this.predicate=t,this.flags=e,this.read=n}}class Il{constructor(t=[]){this.queries=t}elementStart(t,e){for(let n=0;n<this.queries.length;n++)this.queries[n].elementStart(t,e)}elementEnd(t){for(let e=0;e<this.queries.length;e++)this.queries[e].elementEnd(t)}embeddedTView(t){let e=null;for(let n=0;n<this.length;n++){const i=null!==e?e.length:0,a=this.getByIndex(n).embeddedTView(t,i);a&&(a.indexInDeclarationView=n,null!==e?e.push(a):e=[a])}return null!==e?new Il(e):null}template(t,e){for(let n=0;n<this.queries.length;n++)this.queries[n].template(t,e)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}}class Rl{constructor(t,e=-1){this.metadata=t,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=e}elementStart(t,e){this.isApplyingToNode(e)&&this.matchTNode(t,e)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,e){this.elementStart(t,e)}embeddedTView(t,e){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,e),new Rl(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){const e=this._declarationNodeIndex;let n=t.parent;for(;null!==n&&8&n.type&&n.index!==e;)n=n.parent;return e===(null!==n?n.index:-1)}return this._appliesToNextNode}matchTNode(t,e){const n=this.metadata.predicate;if(Array.isArray(n))for(let i=0;i<n.length;i++){const a=n[i];this.matchTNodeWithReadOption(t,e,Nl(e,a)),this.matchTNodeWithReadOption(t,e,Ge(e,t,a,!1,!1))}else n===Gs?4&e.type&&this.matchTNodeWithReadOption(t,e,-1):this.matchTNodeWithReadOption(t,e,Ge(e,t,n,!1,!1))}matchTNodeWithReadOption(t,e,n){if(null!==n){const i=this.metadata.read;if(null!==i)if(i===fs||i===tl||i===Gs&&4&e.type)this.addMatch(e.index,-2);else{const n=Ge(e,t,i,!1,!1);null!==n&&this.addMatch(e.index,n)}else this.addMatch(e.index,n)}}addMatch(t,e){null===this.matches?this.matches=[t,e]:this.matches.push(t,e)}}function Nl(t,e){const n=t.localNames;if(null!==n)for(let i=0;i<n.length;i+=2)if(n[i]===e)return n[i+1];return null}function Yl(t,e,n,i){return-1===n?function(t,e){return 11&t.type?ms(t,e):4&t.type?$s(t,e):null}(e,t):-2===n?function(t,e,n){return n===fs?ms(e,t):n===Gs?$s(e,t):n===tl?rl(e,t):void 0}(t,e,i):Je(t,t[1],n,e)}function Hl(t,e,n,i){const a=e[19].queries[i];if(null===a.matches){const i=t.data,r=n.matches,o=[];for(let t=0;t<r.length;t+=2){const a=r[t];o.push(a<0?null:Yl(e,i[a],r[t+1],n.metadata.read))}a.matches=o}return a.matches}function jl(t,e,n,i){const a=t.queries.getByIndex(n),r=a.matches;if(null!==r){const o=Hl(t,e,a,n);for(let t=0;t<r.length;t+=2){const n=r[t];if(n>0)i.push(o[t/2]);else{const a=r[t+1],o=e[-n];for(let t=10;t<o.length;t++){const e=o[t];e[17]===e[3]&&jl(e[1],e,a,i)}if(null!==o[9]){const t=o[9];for(let e=0;e<t.length;e++){const n=t[e];jl(n[1],n,a,i)}}}}}return i}function Fl(t){const e=Ft(),n=zt(),i=ie();ae(i+1);const a=ql(n,i);if(t.dirty&&At(e)===(2==(2&a.metadata.flags))){if(null===a.matches)t.reset([]);else{const r=a.crossesNgTemplate?jl(n,e,i,[]):Hl(n,e,a,i);t.reset(r,gs),t.notifyOnChanges()}return!0}return!1}function zl(t,e,n){const i=zt();i.firstCreatePass&&(Ul(i,new Al(t,e,n),-1),2==(2&e)&&(i.staticViewQueries=!0)),Wl(i,Ft(),e)}function Vl(t,e,n,i){const a=zt();if(a.firstCreatePass){const r=Bt();Ul(a,new Al(e,n,i),r.index),function(t,e){const n=t.contentQueries||(t.contentQueries=[]);e!==(n.length?n[n.length-1]:-1)&&n.push(t.queries.length-1,e)}(a,t),2==(2&n)&&(a.staticContentQueries=!0)}Wl(a,Ft(),n)}function Bl(){return t=Ft(),e=ie(),t[19].queries[e].queryList;var t,e}function Wl(t,e,n){const i=new Ll(4==(4&n));Aa(t,e,i,i.destroy),null===e[19]&&(e[19]=new El),e[19].queries.push(new Dl(i))}function Ul(t,e,n){null===t.queries&&(t.queries=new Il),t.queries.track(new Rl(e,n))}function ql(t,e){return t.queries.getByIndex(e)}function Gl(t,e){return $s(t,e)}function Jl(t=O.Default){const e=Vs(!0);if(null!=e||t&O.Optional)return e;pt("ChangeDetectorRef")}const Zl=new nn("Application Initializer");let $l=(()=>{class t{constructor(t){this.appInits=t,this.resolve=hs,this.reject=hs,this.initialized=!1,this.done=!1,this.donePromise=new Promise((t,e)=>{this.resolve=t,this.reject=e})}runInitializers(){if(this.initialized)return;const t=[],e=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let n=0;n<this.appInits.length;n++){const e=this.appInits[n]();no(e)&&t.push(e)}Promise.all(t).then(()=>{e()}).catch(t=>{this.reject(t)}),0===t.length&&e(),this.initialized=!0}}return t.\u0275fac=function(e){return new(e||t)(vn(Zl,8))},t.\u0275prov=g({token:t,factory:t.\u0275fac}),t})();const Xl=new nn("AppId"),Kl={provide:Xl,useFactory:function(){return`${Ql()}${Ql()}${Ql()}`},deps:[]};function Ql(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const tc=new nn("Platform Initializer"),ec=new nn("Platform ID"),nc=new nn("appBootstrapListener");let ic=(()=>{class t{log(t){console.log(t)}warn(t){console.warn(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=g({token:t,factory:t.\u0275fac}),t})();const ac=new nn("LocaleId"),rc=new nn("DefaultCurrencyCode");class oc{constructor(t,e){this.ngModuleFactory=t,this.componentFactories=e}}const sc=function(t){return new pl(t)},lc=sc,cc=function(t){return Promise.resolve(sc(t))},dc=function(t){const e=sc(t),n=ki(it(t).declarations).reduce((t,e)=>{const n=nt(e);return n&&t.push(new dl(n)),t},[]);return new oc(e,n)},uc=dc,hc=function(t){return Promise.resolve(dc(t))};let mc=(()=>{class t{constructor(){this.compileModuleSync=lc,this.compileModuleAsync=cc,this.compileModuleAndAllComponentsSync=uc,this.compileModuleAndAllComponentsAsync=hc}clearCache(){}clearCacheFor(t){}getModuleId(t){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=g({token:t,factory:t.\u0275fac}),t})();const pc=(()=>Promise.resolve(0))();function fc(t){"undefined"==typeof Zone?pc.then(()=>{t&&t.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",t)}class gc{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:e=!1,shouldCoalesceRunChangeDetection:n=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Tl(!1),this.onMicrotaskEmpty=new Tl(!1),this.onStable=new Tl(!1),this.onError=new Tl(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched(),this._nesting=0,this._outer=this._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(this._inner=this._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(this._inner=this._inner.fork(Zone.longStackTraceZoneSpec)),this.shouldCoalesceEventChangeDetection=!n&&e,this.shouldCoalesceRunChangeDetection=n,this.lastRequestAnimationFrameId=-1,this.nativeRequestAnimationFrame=function(){let t=N.requestAnimationFrame,e=N.cancelAnimationFrame;if("undefined"!=typeof Zone&&t&&e){const n=t[Zone.__symbol__("OriginalDelegate")];n&&(t=n);const i=e[Zone.__symbol__("OriginalDelegate")];i&&(e=i)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:e}}().nativeRequestAnimationFrame,function(t){const e=()=>{!function(t){-1===t.lastRequestAnimationFrameId&&(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(N,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,yc(t),_c(t)},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),yc(t))}(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,i,a,r,o,s)=>{try{return vc(t),n.invokeTask(a,r,o,s)}finally{(t.shouldCoalesceEventChangeDetection&&"eventTask"===r.type||t.shouldCoalesceRunChangeDetection)&&e(),Cc(t)}},onInvoke:(n,i,a,r,o,s,l)=>{try{return vc(t),n.invoke(a,r,o,s,l)}finally{t.shouldCoalesceRunChangeDetection&&e(),Cc(t)}},onHasTask:(e,n,i,a)=>{e.hasTask(i,a),n===i&&("microTask"==a.change?(t._hasPendingMicrotasks=a.microTask,yc(t),_c(t)):"macroTask"==a.change&&(t.hasPendingMacrotasks=a.macroTask))},onHandleError:(e,n,i,a)=>(e.handleError(i,a),t.runOutsideAngular(()=>t.onError.emit(a)),!1)})}(this)}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!gc.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(gc.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(t,e,n){return this._inner.run(t,e,n)}runTask(t,e,n,i){const a=this._inner,r=a.scheduleEventTask("NgZoneEvent: "+i,t,bc,hs,hs);try{return a.runTask(r,e,n)}finally{a.cancelTask(r)}}runGuarded(t,e,n){return this._inner.runGuarded(t,e,n)}runOutsideAngular(t){return this._outer.run(t)}}const bc={};function _c(t){if(0==t._nesting&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function yc(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&-1!==t.lastRequestAnimationFrameId)}function vc(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function Cc(t){t._nesting--,_c(t)}class wc{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Tl,this.onMicrotaskEmpty=new Tl,this.onStable=new Tl,this.onError=new Tl}run(t,e,n){return t.apply(e,n)}runGuarded(t,e,n){return t.apply(e,n)}runOutsideAngular(t){return t()}runTask(t,e,n,i){return t.apply(e,n)}}let xc=(()=>{class t{constructor(t){this._ngZone=t,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),t.run(()=>{this.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{gc.assertNotInAngularZone(),fc(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())fc(()=>{for(;0!==this._callbacks.length;){let t=this._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb(this._didWork)}this._didWork=!1});else{let t=this.getPendingTasks();this._callbacks=this._callbacks.filter(e=>!e.updateCb||!e.updateCb(t)||(clearTimeout(e.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(t=>({source:t.source,creationLocation:t.creationLocation,data:t.data})):[]}addCallback(t,e,n){let i=-1;e&&e>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(t=>t.timeoutId!==i),t(this._didWork,this.getPendingTasks())},e)),this._callbacks.push({doneCb:t,timeoutId:i,updateCb:n})}whenStable(t,e,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/dist/task-tracking.js" loaded?');this.addCallback(t,e,n),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(t,e,n){return[]}}return t.\u0275fac=function(e){return new(e||t)(vn(gc))},t.\u0275prov=g({token:t,factory:t.\u0275fac}),t})(),Mc=(()=>{class t{constructor(){this._applications=new Map,Tc.addToWindow(this)}registerApplication(t,e){this._applications.set(t,e)}unregisterApplication(t){this._applications.delete(t)}unregisterAllApplications(){this._applications.clear()}getTestability(t){return this._applications.get(t)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(t,e=!0){return Tc.findTestabilityInTree(this,t,e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=g({token:t,factory:t.\u0275fac}),t})();class Oc{addToWindow(t){}findTestabilityInTree(t,e,n){return null}}function kc(t){Tc=t}let Sc,Tc=new Oc,Pc=!0,Lc=!1;function Dc(){return Lc=!0,Pc}function Ec(){if(Lc)throw new Error("Cannot enable prod mode after platform setup.");Pc=!1}const Ac=new nn("AllowMultipleToken");class Ic{constructor(t,e){this.name=t,this.token=e}}function Rc(t,e,n=[]){const i=`Platform: ${e}`,a=new nn(i);return(e=[])=>{let r=Nc();if(!r||r.injector.get(Ac,!1))if(t)t(n.concat(e).concat({provide:a,useValue:!0}));else{const t=n.concat(e).concat({provide:a,useValue:!0},{provide:ur,useValue:"platform"});!function(t){if(Sc&&!Sc.destroyed&&!Sc.injector.get(Ac,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");Sc=t.get(Yc);const e=t.get(tc,null);e&&e.forEach(t=>t())}(Or.create({providers:t,name:i}))}return function(t){const e=Nc();if(!e)throw new Error("No platform exists!");if(!e.injector.get(t,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return e}(a)}}function Nc(){return Sc&&!Sc.destroyed?Sc:null}let Yc=(()=>{class t{constructor(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(t,e){const n=function(t,e){let n;return n="noop"===t?new wc:("zone.js"===t?void 0:t)||new gc({enableLongStackTrace:Dc(),shouldCoalesceEventChangeDetection:!!(null==e?void 0:e.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==e?void 0:e.ngZoneRunCoalescing)}),n}(e?e.ngZone:void 0,{ngZoneEventCoalescing:e&&e.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:e&&e.ngZoneRunCoalescing||!1}),i=[{provide:gc,useValue:n}];return n.run(()=>{const e=Or.create({providers:i,parent:this.injector,name:t.moduleType.name}),a=t.create(e),r=a.injector.get(Ci,null);if(!r)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return n.runOutsideAngular(()=>{const t=n.onError.subscribe({next:t=>{r.handleError(t)}});a.onDestroy(()=>{Fc(this._modules,a),t.unsubscribe()})}),function(t,e,n){try{const i=n();return no(i)?i.catch(n=>{throw e.runOutsideAngular(()=>t.handleError(n)),n}):i}catch(i){throw e.runOutsideAngular(()=>t.handleError(i)),i}}(r,n,()=>{const t=a.injector.get($l);return t.runInitializers(),t.donePromise.then(()=>(ts(a.injector.get(ac,"en-US")||"en-US"),this._moduleDoBootstrap(a),a))})})}bootstrapModule(t,e=[]){const n=Hc({},e);return function(t,e,n){const i=new pl(n);return Promise.resolve(i)}(0,0,t).then(t=>this.bootstrapModuleFactory(t,n))}_moduleDoBootstrap(t){const e=t.injector.get(jc);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(t=>e.bootstrap(t));else{if(!t.instance.ngDoBootstrap)throw new Error(`The module ${d(t.instance.constructor)} was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.`);t.instance.ngDoBootstrap(e)}this._modules.push(t)}onDestroy(t){this._destroyListeners.push(t)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(t=>t.destroy()),this._destroyListeners.forEach(t=>t()),this._destroyed=!0}get destroyed(){return this._destroyed}}return t.\u0275fac=function(e){return new(e||t)(vn(Or))},t.\u0275prov=g({token:t,factory:t.\u0275fac}),t})();function Hc(t,e){return Array.isArray(e)?e.reduce(Hc,t):Object.assign(Object.assign({},t),e)}let jc=(()=>{class t{constructor(t,e,n,i,a,l){this._zone=t,this._console=e,this._injector=n,this._exceptionHandler=i,this._componentFactoryResolver=a,this._initStatus=l,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const c=new r.a(t=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{t.next(this._stable),t.complete()})}),d=new r.a(t=>{let e;this._zone.runOutsideAngular(()=>{e=this._zone.onStable.subscribe(()=>{gc.assertNotInAngularZone(),fc(()=>{this._stable||this._zone.hasPendingMacrotasks||this._zone.hasPendingMicrotasks||(this._stable=!0,t.next(!0))})})});const n=this._zone.onUnstable.subscribe(()=>{gc.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{t.next(!1)}))});return()=>{e.unsubscribe(),n.unsubscribe()}});this.isStable=Object(o.a)(c,d.pipe(Object(s.a)()))}bootstrap(t,e){if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");let n;n=t instanceof cs?t:this._componentFactoryResolver.resolveComponentFactory(t),this.componentTypes.push(n.componentType);const i=n.isBoundToModule?void 0:this._injector.get(Xs),a=n.create(Or.NULL,[],e||n.selector,i),r=a.location.nativeElement,o=a.injector.get(xc,null),s=o&&a.injector.get(Mc);return o&&s&&s.registerApplication(r,o),a.onDestroy(()=>{this.detachView(a.hostView),Fc(this.components,a),s&&s.unregisterApplication(r)}),this._loadComponent(a),Dc()&&this._console.log("Angular is running in development mode. Call enableProdMode() to enable production mode."),a}tick(){if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;for(let t of this._views)t.detectChanges()}catch(t){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(t))}finally{this._runningTick=!1}}attachView(t){const e=t;this._views.push(e),e.attachToAppRef(this)}detachView(t){const e=t;Fc(this._views,e),e.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(nc,[]).concat(this._bootstrapListeners).forEach(e=>e(t))}ngOnDestroy(){this._views.slice().forEach(t=>t.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}return t.\u0275fac=function(e){return new(e||t)(vn(gc),vn(ic),vn(Or),vn(Ci),vn(us),vn($l))},t.\u0275prov=g({token:t,factory:t.\u0275fac}),t})();function Fc(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}class zc{}class Vc{}const Bc={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"};let Wc=(()=>{class t{constructor(t,e){this._compiler=t,this._config=e||Bc}load(t){return this.loadAndCompile(t)}loadAndCompile(t){let[e,i]=t.split("#");return void 0===i&&(i="default"),n("zn8P")(e).then(t=>t[i]).then(t=>Uc(t,e,i)).then(t=>this._compiler.compileModuleAsync(t))}loadFactory(t){let[e,i]=t.split("#"),a="NgFactory";return void 0===i&&(i="default",a=""),n("zn8P")(this._config.factoryPathPrefix+e+this._config.factoryPathSuffix).then(t=>t[i+a]).then(t=>Uc(t,e,i))}}return t.\u0275fac=function(e){return new(e||t)(vn(mc),vn(Vc,8))},t.\u0275prov=g({token:t,factory:t.\u0275fac}),t})();function Uc(t,e,n){if(!t)throw new Error(`Cannot find '${n}' in '${e}'`);return t}class qc extends zs{}class Gc extends qc{}const Jc=function(t){return null},Zc=Rc(null,"core",[{provide:ec,useValue:"unknown"},{provide:Yc,deps:[Or]},{provide:Mc,deps:[]},{provide:ic,deps:[]}]),$c=[{provide:jc,useClass:jc,deps:[gc,ic,Or,Ci,us,$l]},{provide:cl,deps:[gc],useFactory:function(t){let e=[];return t.onStable.subscribe(()=>{for(;e.length;)e.pop()()}),function(t){e.push(t)}}},{provide:$l,useClass:$l,deps:[[new On,Zl]]},{provide:mc,useClass:mc,deps:[]},Kl,{provide:Is,useFactory:function(){return Ws},deps:[]},{provide:Ns,useFactory:function(){return Us},deps:[]},{provide:ac,useFactory:function(t){return ts(t=t||"undefined"!=typeof $localize&&$localize.locale||"en-US"),t},deps:[[new Mn(ac),new On,new kn]]},{provide:rc,useValue:"USD"}];let Xc=(()=>{class t{constructor(t){}}return t.\u0275mod=X({type:t}),t.\u0275inj=b({factory:function(e){return new(e||t)(vn(jc))},providers:$c}),t})()},"8mBD":function(t,e,n){!function(t){"use strict";t.defineLocale("pt",{months:"janeiro_fevereiro_mar\xe7o_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"Domingo_Segunda-feira_Ter\xe7a-feira_Quarta-feira_Quinta-feira_Sexta-feira_S\xe1bado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_S\xe1b".split("_"),weekdaysMin:"Do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_S\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY HH:mm"},calendar:{sameDay:"[Hoje \xe0s] LT",nextDay:"[Amanh\xe3 \xe0s] LT",nextWeek:"dddd [\xe0s] LT",lastDay:"[Ontem \xe0s] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[\xdaltimo] dddd [\xe0s] LT":"[\xdaltima] dddd [\xe0s] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"h\xe1 %s",s:"segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",w:"uma semana",ww:"%d semanas",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(n("wd/R"))},"92Zs":function(t,e,n){"use strict";n.d(e,"a",function(){return y});var i=n("wd/R"),a=n("ePOw"),r=n("hGT6"),o=n("vzmS"),s=n("Qaas"),l=n("wa/n"),c=n("3EFq"),d=n("tgYw"),u=n("71J3"),h=n("80qe"),m=n("J+ds"),p=n("j9Ql"),f=n("n33M"),g=n("Zd/F"),b=n("ji8I"),_=n("TMPf");class y{static mapDpd(t,e){const n=t.getRawValue();return new u.a(4===e?{titre:n.title||"",entrepriseEtrangere:y._mapForeignCompany(n[r.a.FOREIGN_COMPANY]),prestation:new b.a({dateDebut:i(n[r.a.SINGLE_WORKER].dateDebut).format("YYYY-MM-DD"),dateFin:i(n[r.a.SINGLE_WORKER].dateFin).format("YYYY-MM-DD")}),frais:y._mapExpenses(n[r.a.EXPENSES]),salaries:[y._mapWorker(n[r.a.SINGLE_WORKER])],representant:y._mapRepresentative(n[r.a.REPRESENTATIVE])}:{titre:n.title||"",entrepriseEtrangere:y._mapForeignCompany(n[r.a.FOREIGN_COMPANY]),client:y._mapClient(n[r.a.CLIENT]),prestation:y._mapService(n[r.a.PRESTATION],n[r.a.WORKERS],n[r.a.LOCATIONS]),frais:y._mapExpenses(n[r.a.EXPENSES]),salaries:n[r.a.WORKERS].workers.map(t=>y._mapWorker(t)),representant:y._mapRepresentative(n[r.a.REPRESENTATIVE])})}static _mapForeignCompany(t){return new c.a({siret:null,raisonSociale:t.raisonSociale,adresse:y._mapAddress(t.adresse,a.a.ADRESSE),telephone:t.telephone,email:t.email,status:t.status,noTVA:t.noTVA,numTVA:t.numTVA,registre:t.registre,reference:t.reference,dirigeant:y._mapPerson(t.dirigeant),organisme:t.organisme,transporteur:t.transporteur,codeNaf:null})}static _mapClient(t){return new l.a({raisonSociale:t.client.raisonSociale,codeNaf:t.client.codeNaf,noTVA:t.client.noTVA,numTVA:t.client.numTVA,adresse:y._mapAddress(t.client.adresse,a.a.ADRESSE),email:t.email})}static _mapService(t,e,n){return new b.a({activites:this._mapActivities(t.activities),dangereux:{actif:t.isMaterialDangereux,valeur:t.materielsDangereuxList},dateDebut:i(e.dateDebut).format("YYYY-MM-DD"),dateFin:i(e.dateFin).format("YYYY-MM-DD"),nbJoursRepos:t.nbJoursRepos,horaireDebut:t.horaireDebut,horaireFin:t.horaireFin,horairesAtypiques:t.horairesAtypiques,lieus:n.locations.map(t=>y._mapLocation(t))})}static _mapLocation(t){return new f.a({id:t.id||null,type:t.type,siret:t.siret,codeNaf:t.codeNaf,nom:t.nom,adresse:this._mapAddress(t.adresse,t.typeAdresse),isHebergementCollectif:t.isHebergementCollectif,nomHebergement:t.nomHebergement,hebergementCollectif:y._mapAddress(t.hebergementCollectif,t.typeAdresseHebergement)})}static _mapExpenses(t){return new m.a({voyage:new h.a({type:t.tripExpenses.type,montant:t.tripExpenses.amount}),nourriture:new h.a({type:t.foodExpenses.type,montant:t.foodExpenses.amount}),hebergement:new h.a({type:t.hostingExpenses.type,montant:t.hostingExpenses.amount})})}static _mapWorker(t){return new _.a({id:t.id,sexe:t.sexe,nationalite:(t.nationalite||{}).code||null,paysSecu:(t.paysSecu||{}).code||null,paysRegistre:(t.paysRegistre||{}).code||null,adresse:this._mapAddress(t.adresse,a.a.ADRESSE),dateContrat:t.dateContrat,dateDebut:t.dateDebut,dateFin:t.dateFin,emploi:t.emploi,qualification:t.qualification,salaire:t.salaire,salaireSpecifique:t.salaireSpecifique,isDetachementLongueDuree:t.isDetachementLongueDuree,motifLongueDuree:t.motifLongueDuree,nom:t.identite.nom,prenom:t.identite.prenom,dateNaissance:t.identite.dateNaissance,villeNaissance:t.identite.villeNaissance,paysNaissance:(t.identite.paysNaissance||{}).code||null})}static _mapRepresentative(t){return new g.a({type:t.type,raisonSociale:t.raisonSociale,idSalarie:t.idSalarie,numTVA:t.numTVA,siret:t.siret,adresse:this._mapAddress(t.adresse,a.a.ADRESSE),personne:this._mapPerson(t.personne),telephone:t.telephone,email:t.email,conservation:t.conservation})}static _mapActivities(t){return new o.a({activite1:(t.activite1||{}).code||null,activite2:(t.activite2||{}).code||null,activite3:(t.activite3||{}).code||null,activite4:(t.activite4||{}).code||null})}static _mapPerson(t){return new p.a({nom:t.nom,prenom:t.prenom,dateNaissance:t.dateNaissance,paysNaissance:t.paysNaissance?t.paysNaissance.code:null,villeNaissance:t.villeNaissance})}static _mapAddress(t,e){return new s.a({type:e||null,adresse:t.adresse,complementAdresse:t.complementAdresse,cp:t.cp,ville:t.ville,pays:(t.pays||{}).code||null,coordonnees:e&&e!==a.a.ADRESSE?y._mapCoordonnees(t):{}})}static _mapCoordonnees(t){return new d.a({latitude:t.latitude,longitude:t.longitude})}static convertAddressFgToAddress(t,e){return new s.a({type:e,adresse:t.get("adresse").value,complementAdresse:t.get("complementAdresse").value,cp:t.get("cp").value,ville:t.get("ville").value,pays:t.get("pays").value?t.get("pays").value.code:null,coordonnees:new d.a({latitude:t.get("latitude").value,longitude:t.get("longitude").value})})}static convertCompanyToClient(t){return new l.a({raisonSociale:t.raisonSociale,numTVA:t.numTVA,adresse:t.adresse,email:t.email,noTVA:t.noTVA,codeNaf:t.codeNaf})}static convertWorkerFgToWorker(t){return new _.a({id:t.get("id").value,sexe:t.get("sexe").value,nationalite:t.get("nationalite").value?t.get("nationalite").value.code:null,adresse:this.convertAddressFgToAddress(t.get("adresse"),a.a.ADRESSE),paysSecu:t.get("paysSecu").value?t.get("paysSecu").value.code:null,dateContrat:t.get("dateContrat").value,dateDebut:t.get("dateDebut").value,dateFin:t.get("dateFin").value,emploi:t.get("emploi").value,qualification:t.get("qualification").value,salaire:t.get("salaire").value,salaireSpecifique:t.get("salaireSpecifique").value,paysRegistre:t.get("paysRegistre").value?t.get("paysRegistre").value.code:null,isDetachementLongueDuree:t.get("isDetachementLongueDuree").value,motifLongueDuree:t.get("motifLongueDuree").value,nom:t.get("identite").get("nom").value,prenom:t.get("identite").get("prenom").value,dateNaissance:t.get("identite").get("dateNaissance").value,villeNaissance:t.get("identite").get("villeNaissance").value,paysNaissance:t.get("identite").get("paysNaissance").value?t.get("identite").get("paysNaissance").value.code:null})}}},"99Un":function(t,e,n){"use strict";n.r(e),n.d(e,"HomeModule",function(){return P});var i=n("SVse"),a=n("zR8O"),r=n("PCNd"),o=n("iInd"),s=n("IGtN"),l=n("2XGR"),c=n("zfSa"),d=n("iELJ"),u=n("8Y7J"),h=n("f4AX"),m=n("q6Qu"),p=n("zQhy"),f=n("s7LF"),g=n("Dxy4"),b=n("TSSN");function _(t,e){1&t&&u.Ob(0,"h2",12)}function y(t,e){1&t&&u.Ob(0,"div",16)}function v(t,e){if(1&t){const t=u.Ub();u.Tb(0,"mat-radio-group",13),u.bc("ngModelChange",function(e){return u.yc(t),u.fc().subisidiaryDpd=e}),u.Tb(1,"mat-radio-button",14),u.Hc(2),u.gc(3,"translate"),u.Sb(),u.Tb(4,"mat-radio-button",14),u.Hc(5),u.gc(6,"translate"),u.Sb(),u.Fc(7,y,1,0,"div",15),u.Sb()}if(2&t){const t=u.fc();u.nc("ngModel",t.subisidiaryDpd),u.Cb(1),u.nc("value",!0),u.Cb(1),u.Jc(" ",u.hc(3,6,"common.oui")," "),u.Cb(2),u.nc("value",!1),u.Cb(1),u.Jc(" ",u.hc(6,8,"common.non")," "),u.Cb(2),u.nc("ngIf",t.subisidiaryDpd)}}let C=(()=>{class t{constructor(t,e,n){this.dialogRef=t,this.userService=e,this.data=n,this.cas=n.cas,this.userRole=c.a[this.userService.role],this.cadreSituation=this.userService.compteDpdDefault,this.userRole===c.a.DONNEUR_ORDRE&&(this.subisidiaryDpd=!1)}ok(){let t;if(this.subisidiaryDpd)t=7;else switch(this.cadreSituation){case"psi":t=1===this.cas?1:4;break;case"mobil":t=1===this.cas?2:6;break;case"dispo":t=1===this.cas?3:5}this.dialogRef.close(t)}ko(){this.dialogRef.close()}isValid(){return this.isSubsidiaryPossible()?this.cadreSituation&&void 0!==this.subisidiaryDpd:this.cadreSituation}isSubsidiaryPossible(){return 1===this.cas&&this.userRole===c.a.DONNEUR_ORDRE}}return t.\u0275fac=function(e){return new(e||t)(u.Nb(d.f),u.Nb(h.a),u.Nb(d.a))},t.\u0275cmp=u.Hb({type:t,selectors:[["app-routing-dpd"]],decls:14,vars:7,consts:[["mat-dialog-title","","appLabel","dpd_choix.titre"],["mat-dialog-content","",1,"thick-dialog"],["appLabel","dpd_choix.question.detachement",1,"label-pop-up"],["aria-label","situation",1,"cadre-situation-radio-group",3,"ngModel","ngModelChange"],["color","primary","id","cadre-situation-psi","value","psi","appLabel","dpd_choix.prestation",1,"cadre-situation-radio-button"],["color","primary","id","cadre-situation-mobil","value","mobil","appLabel","dpd_choix.mobilite",1,"cadre-situation-radio-button"],["color","primary","id","cadre-situation-dispo","value","dispo","appLabel","dpd_choix.disposition",1,"cadre-situation-radio-button"],["class","label-pop-up","appLabel","dpd_choix.question.subsidiaire",4,"ngIf"],["class","optional-radio-group","aria-label","subisidiary",3,"ngModel","ngModelChange",4,"ngIf"],["mat-dialog-actions",""],["mat-raised-button","","aria-label","valid","id","mat-ok","appLabel","dpd_choix.suivant",1,"mat-primary",3,"disabled","click"],["mat-raised-button","","aria-label","cancel","id","mat-ko",3,"click"],["appLabel","dpd_choix.question.subsidiaire",1,"label-pop-up"],["aria-label","subisidiary",1,"optional-radio-group",3,"ngModel","ngModelChange"],["color","primary",1,"optional-radio-button",3,"value"],["class","label-pop-up","appLabel","dpd_choix.warning.subsidiaire",4,"ngIf"],["appLabel","dpd_choix.warning.subsidiaire",1,"label-pop-up"]],template:function(t,e){1&t&&(u.Ob(0,"h1",0),u.Tb(1,"div",1),u.Ob(2,"h2",2),u.Tb(3,"mat-radio-group",3),u.bc("ngModelChange",function(t){return e.cadreSituation=t}),u.Ob(4,"mat-radio-button",4),u.Ob(5,"mat-radio-button",5),u.Ob(6,"mat-radio-button",6),u.Sb(),u.Fc(7,_,1,0,"h2",7),u.Fc(8,v,8,10,"mat-radio-group",8),u.Tb(9,"div",9),u.Tb(10,"button",10),u.bc("click",function(){return e.ok()}),u.Sb(),u.Tb(11,"button",11),u.bc("click",function(){return e.ko()}),u.Hc(12),u.gc(13,"translate"),u.Sb(),u.Sb(),u.Sb()),2&t&&(u.Cb(3),u.nc("ngModel",e.cadreSituation),u.Cb(4),u.nc("ngIf",e.isSubsidiaryPossible()),u.Cb(1),u.nc("ngIf",e.isSubsidiaryPossible()),u.Cb(2),u.nc("disabled",!e.isValid()),u.Cb(2),u.Ic(u.hc(13,5,"common.annuler")))},directives:[d.g,m.a,d.d,p.b,f.o,f.r,p.a,i.l,d.c,g.a],pipes:[b.c],styles:[".cadre-situation-radio-group[_ngcontent-%COMP%]{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-direction:column;flex-direction:column}.cadre-situation-radio-button[_ngcontent-%COMP%], .optional-radio-button[_ngcontent-%COMP%]{margin:10px}.cadre-situation-radio-button[_ngcontent-%COMP%] .app-infobulle-trigger.default, .optional-radio-button[_ngcontent-%COMP%] .app-infobulle-trigger.default{top:3px}.label-pop-up[_ngcontent-%COMP%]{font-size:16px;text-transform:none;text-align:justify;margin:20px auto}.thick-dialog[_ngcontent-%COMP%]{overflow:visible}.thick-dialog[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{max-width:550px}"]}),t})();var w=n("GH2U"),x=n("eaIg"),M=n("06/9");function O(t,e){if(1&t&&(u.Tb(0,"div",2),u.Tb(1,"a",19),u.Tb(2,"div",4),u.Tb(3,"span",20),u.Hc(4),u.Sb(),u.Tb(5,"span",6),u.Hc(6),u.gc(7,"translate"),u.Sb(),u.Sb(),u.Sb(),u.Sb()),2&t){const t=u.fc();u.Cb(4),u.Ic(t.nbTransmisSuivis),u.Cb(2),u.Ic(u.hc(7,2,"home.suivre.titre"))}}function k(t,e){if(1&t&&(u.Tb(0,"div",2),u.Tb(1,"a",21),u.Tb(2,"div",4),u.Tb(3,"span",22),u.Hc(4),u.Sb(),u.Tb(5,"span",6),u.Hc(6),u.gc(7,"translate"),u.Sb(),u.Sb(),u.Sb(),u.Sb()),2&t){const t=u.fc();u.Cb(4),u.Ic(t.nbDemande),u.Cb(2),u.Ic(u.hc(7,2,"home.acces.demandes"))}}let S=(()=>{class t extends s.a{constructor(t,e,n,i,a,r,o){super(t),this.translateService=t,this.declarationService=e,this.userService=n,this.userDeclarationPrestataireService=i,this.dialog=a,this.router=r,this.cdr=o,this.nbTransmisSuivis=0,this.nbDemande=0,this.canSuivreDeclaration=!1,this.canGererDemandes=!1}declarationCas(t){const e=this.userService.role;e&&e!==c.a.DONNEUR_ORDRE&&this.userService.compteDpdDefault?this.router.navigate(["dpd/new/"+this.getDpdModel(t)]):this.dialog.open(C,{data:{cas:t}}).afterClosed().subscribe(t=>{t&&this.router.navigate(["dpd/new/"+t])})}getDpdModel(t){switch(this.userService.compteDpdDefault){case"psi":return 1===t?1:4;case"mobil":return 1===t?2:6;case"dispo":return 1===t?3:5;default:return 7}}load(){const t=this.userService.role;this.canSuivreDeclaration=t===c.a.DONNEUR_ORDRE&&!!this.userService.numTva,this.canGererDemandes=t===c.a.ENTREPRISE||t===c.a.MANDATAIRE,this.subscriptions.push(this.declarationService.getCompteurs().subscribe(t=>{this.nbNonTransmis=t.nbDeclarationsEnregistrees,this.nbTransmis=t.nbDeclarationsTransmises,this.cdr.markForCheck()})),this.canGererDemandes&&this.subscriptions.push(this.userDeclarationPrestataireService.getAccess().subscribe(t=>{this.nbDemande=t.filter(t=>t.etat===l.a.EN_COURS).length,this.cdr.markForCheck()})),this.canSuivreDeclaration&&this.subscriptions.push(this.userDeclarationPrestataireService.getPrestataires(null).subscribe(t=>{t.encours.forEach(t=>{this.nbTransmisSuivis+=t.count}),t.possible.forEach(t=>{this.nbTransmisSuivis+=t.count}),t.refuse.forEach(t=>{this.nbTransmisSuivis+=t.count}),t.valide.forEach(t=>{this.nbTransmisSuivis+=t.count}),this.cdr.markForCheck()}))}}return t.\u0275fac=function(e){return new(e||t)(u.Nb(b.d),u.Nb(w.a),u.Nb(h.a),u.Nb(x.a),u.Nb(d.b),u.Nb(o.f),u.Nb(u.h))},t.\u0275cmp=u.Hb({type:t,selectors:[["app-page-home"]],features:[u.zb],decls:49,vars:34,consts:[["id","home-gerer-decla"],["id","home-gerer-decla-container"],[1,"link-container"],["routerLink","/dpd/transmise","routerLinkActive","active"],[1,"home-gerer-decla-bloc"],["id","nbTransmis",1,"home-gerer-decla-number"],[1,"home-gerer-decla-label"],["routerLink","/dpd/non-transmise","routerLinkActive","active"],["id","nbNonTransmis",1,"home-gerer-decla-number"],["class","link-container",4,"ngIf"],["id","home-creer-decla"],["id","home-creer-decla-container"],[1,"home-creer-decla-bloc",3,"click"],[1,"home-creer-decla-title"],[1,"home-creer-decla-separator"],[1,"home-creer-decla-desc",3,"innerHTML"],["id","home-creer-decla-info-container"],[1,"home-creer-decla-info",3,"innerHTML"],[1,"home-news"],["routerLink","/declaration-access","routerLinkActive","active"],["id","nbTransmisSuivis",1,"home-gerer-decla-number"],["routerLink","/demande-acces","routerLinkActive","active"],["id","nbDemande",1,"home-gerer-decla-number"]],template:function(t,e){1&t&&(u.Tb(0,"div",0),u.Tb(1,"h1"),u.Hc(2),u.gc(3,"translate"),u.Sb(),u.Tb(4,"div",1),u.Tb(5,"div",2),u.Tb(6,"a",3),u.Tb(7,"div",4),u.Tb(8,"span",5),u.Hc(9),u.Sb(),u.Tb(10,"span",6),u.Hc(11),u.gc(12,"translate"),u.Sb(),u.Sb(),u.Sb(),u.Sb(),u.Tb(13,"div",2),u.Tb(14,"a",7),u.Tb(15,"div",4),u.Tb(16,"span",8),u.Hc(17),u.Sb(),u.Tb(18,"span",6),u.Hc(19),u.gc(20,"translate"),u.Sb(),u.Sb(),u.Sb(),u.Sb(),u.Fc(21,O,8,4,"div",9),u.Fc(22,k,8,4,"div",9),u.Sb(),u.Sb(),u.Tb(23,"div",10),u.Tb(24,"h2"),u.Hc(25),u.gc(26,"translate"),u.Sb(),u.Tb(27,"div",11),u.Tb(28,"div",12),u.bc("click",function(){return e.declarationCas(1)}),u.Tb(29,"span",13),u.Hc(30),u.gc(31,"translate"),u.Sb(),u.Ob(32,"span",14),u.Ob(33,"span",15),u.gc(34,"translate"),u.Sb(),u.Tb(35,"div",12),u.bc("click",function(){return e.declarationCas(2)}),u.Tb(36,"span",13),u.Hc(37),u.gc(38,"translate"),u.Sb(),u.Ob(39,"span",14),u.Ob(40,"span",15),u.gc(41,"translate"),u.Sb(),u.Sb(),u.Tb(42,"div",16),u.Ob(43,"div",17),u.gc(44,"translate"),u.Ob(45,"div",17),u.gc(46,"translate"),u.Sb(),u.Sb(),u.Tb(47,"div",18),u.Ob(48,"app-news-carrousel"),u.Sb()),2&t&&(u.Cb(2),u.Ic(u.hc(3,14,"home.gerer.titre")),u.Cb(7),u.Ic(e.nbTransmis),u.Cb(2),u.Ic(u.hc(12,16,"home.gerer.transmis")),u.Cb(6),u.Ic(e.nbNonTransmis),u.Cb(2),u.Ic(u.hc(20,18,"home.gerer.non.transmis")),u.Cb(2),u.nc("ngIf",e.canSuivreDeclaration),u.Cb(1),u.nc("ngIf",e.canGererDemandes),u.Cb(3),u.Ic(u.hc(26,20,"home.declarer.titre")),u.Cb(5),u.Ic(u.hc(31,22,"home.declarer.general.titre")),u.Cb(3),u.nc("innerHTML",u.hc(34,24,"home.declarer.general.desc"),u.zc),u.Cb(4),u.Ic(u.hc(38,26,"home.declarer.transport.titre")),u.Cb(3),u.nc("innerHTML",u.hc(41,28,"home.declarer.transport.desc"),u.zc),u.Cb(3),u.nc("innerHTML",u.hc(44,30,"home.declarer.general.info"),u.zc),u.Cb(2),u.nc("innerHTML",u.hc(46,32,"home.declarer.transport.info"),u.zc))},directives:[o.i,o.h,i.l,M.a],pipes:[b.c],styles:[".mat-badge-content{font-weight:600;font-size:12px;font-family:Roboto,Helvetica Neue,sans-serif}.mat-badge-small .mat-badge-content{font-size:9px}.mat-badge-large .mat-badge-content{font-size:24px}.mat-h1,.mat-headline,.mat-typography h1{font:400 24px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h2,.mat-title,.mat-typography h2{font:500 20px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h3,.mat-subheading-2,.mat-typography h3{font:400 16px/28px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h4,.mat-subheading-1,.mat-typography h4{font:400 15px/24px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h5,.mat-typography h5{font:400 calc(14px * .83)/20px Roboto,Helvetica Neue,sans-serif;margin:0 0 12px}.mat-h6,.mat-typography h6{font:400 calc(14px * .67)/20px Roboto,Helvetica Neue,sans-serif;margin:0 0 12px}.mat-body-2,.mat-body-strong{font:500 14px/24px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-body,.mat-body-1,.mat-typography{font:400 14px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-body-1 p,.mat-body p,.mat-typography p{margin:0 0 12px}.mat-caption,.mat-small{font:400 12px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-display-4,.mat-typography .mat-display-4{font:300 112px/112px Roboto,Helvetica Neue,sans-serif;letter-spacing:-.05em;margin:0 0 56px}.mat-display-3,.mat-typography .mat-display-3{font:400 56px/56px Roboto,Helvetica Neue,sans-serif;letter-spacing:-.02em;margin:0 0 64px}.mat-display-2,.mat-typography .mat-display-2{font:400 45px/48px Roboto,Helvetica Neue,sans-serif;letter-spacing:-.005em;margin:0 0 64px}.mat-display-1,.mat-typography .mat-display-1{font:400 34px/40px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 64px}.mat-bottom-sheet-container{font:400 14px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-button,.mat-fab,.mat-flat-button,.mat-icon-button,.mat-mini-fab,.mat-raised-button,.mat-stroked-button{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:500}.mat-button-toggle,.mat-card{font-family:Roboto,Helvetica Neue,sans-serif}.mat-card-title{font-size:24px;font-weight:500}.mat-card-header .mat-card-title{font-size:20px}.mat-card-content,.mat-card-subtitle{font-size:14px}.mat-checkbox{font-family:Roboto,Helvetica Neue,sans-serif}.mat-checkbox-layout .mat-checkbox-label{line-height:24px}.mat-chip{font-size:14px;font-weight:500}.mat-chip .mat-chip-remove.mat-icon,.mat-chip .mat-chip-trailing-icon.mat-icon{font-size:18px}.mat-table{font-family:Roboto,Helvetica Neue,sans-serif}.mat-header-cell{font-size:12px;font-weight:500}.mat-cell,.mat-footer-cell{font-size:14px}.mat-calendar{font-family:Roboto,Helvetica Neue,sans-serif}.mat-calendar-body{font-size:13px}.mat-calendar-body-label,.mat-calendar-period-button{font-size:14px;font-weight:500}.mat-calendar-table-header th{font-size:11px;font-weight:400}.mat-dialog-title{font:500 20px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-expansion-panel-header{font-family:Roboto,Helvetica Neue,sans-serif;font-size:15px;font-weight:400}.mat-expansion-panel-content{font:400 14px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-form-field{font-size:inherit;font-weight:400;line-height:1.125;font-family:Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-form-field-wrapper{padding-bottom:1.34375em}.mat-form-field-prefix .mat-icon,.mat-form-field-suffix .mat-icon{font-size:150%;line-height:1.125}.mat-form-field-prefix .mat-icon-button,.mat-form-field-suffix .mat-icon-button{height:1.5em;width:1.5em}.mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field-suffix .mat-icon-button .mat-icon{height:1.125em;line-height:1.125}.mat-form-field-infix{padding:.5em 0;border-top:.84375em solid rgba(0,0,0,0)}.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label{-ms-transform:translateY(-1.34375em) scale(.75);transform:translateY(-1.34375em) scale(.75);width:133.3333333333%}.mat-form-field-can-float .mat-input-server[label]:not(:label-shown)+.mat-form-field-label-wrapper .mat-form-field-label{-ms-transform:translateY(-1.34374em) scale(.75);transform:translateY(-1.34374em) scale(.75);width:133.3333433333%}.mat-form-field-label-wrapper{top:-.84375em;padding-top:.84375em}.mat-form-field-label{top:1.34375em}.mat-form-field-underline{bottom:1.34375em}.mat-form-field-subscript-wrapper{font-size:75%;margin-top:.6666666667em;top:calc(100% - 1.7916666667em)}.mat-form-field-appearance-legacy .mat-form-field-wrapper{padding-bottom:1.25em}.mat-form-field-appearance-legacy .mat-form-field-infix{padding:.4375em 0}.mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.001px);-ms-transform:translateY(-1.28125em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00101px);-ms-transform:translateY(-1.28124em) scale(.75);width:133.3333433333%}.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-input-server[label]:not(:label-shown)+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00102px);-ms-transform:translateY(-1.28123em) scale(.75);width:133.3333533333%}.mat-form-field-appearance-legacy .mat-form-field-label{top:1.28125em}.mat-form-field-appearance-legacy .mat-form-field-underline{bottom:1.25em}.mat-form-field-appearance-legacy .mat-form-field-subscript-wrapper{margin-top:.5416666667em;top:calc(100% - 1.6666666667em)}@media print{.mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label{-ms-transform:translateY(-1.28122em) scale(.75);transform:translateY(-1.28122em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.28121em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-input-server[label]:not(:label-shown)+.mat-form-field-label-wrapper .mat-form-field-label{-ms-transform:translateY(-1.2812em) scale(.75);transform:translateY(-1.2812em) scale(.75)}}.mat-form-field-appearance-fill .mat-form-field-infix{padding:.25em 0 .75em}.mat-form-field-appearance-fill .mat-form-field-label{top:1.09375em;margin-top:-.5em}.mat-form-field-appearance-fill.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-appearance-fill.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label{-ms-transform:translateY(-.59375em) scale(.75);transform:translateY(-.59375em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-fill.mat-form-field-can-float .mat-input-server[label]:not(:label-shown)+.mat-form-field-label-wrapper .mat-form-field-label{-ms-transform:translateY(-.59374em) scale(.75);transform:translateY(-.59374em) scale(.75);width:133.3333433333%}.mat-form-field-appearance-outline .mat-form-field-infix{padding:1em 0}.mat-form-field-appearance-outline .mat-form-field-label{top:1.84375em;margin-top:-.25em}.mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-appearance-outline.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label{-ms-transform:translateY(-1.59375em) scale(.75);transform:translateY(-1.59375em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-outline.mat-form-field-can-float .mat-input-server[label]:not(:label-shown)+.mat-form-field-label-wrapper .mat-form-field-label{-ms-transform:translateY(-1.59374em) scale(.75);transform:translateY(-1.59374em) scale(.75);width:133.3333433333%}.mat-grid-tile-footer,.mat-grid-tile-header{font-size:14px}.mat-grid-tile-footer .mat-line,.mat-grid-tile-header .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-grid-tile-footer .mat-line:nth-child(n+2),.mat-grid-tile-header .mat-line:nth-child(n+2){font-size:12px}input.mat-input-element{margin-top:-.0625em}.mat-menu-item{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:400}.mat-paginator,.mat-paginator-page-size .mat-select-trigger{font-family:Roboto,Helvetica Neue,sans-serif;font-size:12px}.mat-radio-button,.mat-select{font-family:Roboto,Helvetica Neue,sans-serif}.mat-select-trigger{height:1.125em}.mat-slide-toggle-content,.mat-slider-thumb-label-text{font-family:Roboto,Helvetica Neue,sans-serif}.mat-slider-thumb-label-text{font-size:12px;font-weight:500}.mat-stepper-horizontal,.mat-stepper-vertical{font-family:Roboto,Helvetica Neue,sans-serif}.mat-step-label{font-size:14px;font-weight:400}.mat-step-sub-label-error{font-weight:400}.mat-step-label-error{font-size:14px}.mat-step-label-selected{font-size:14px;font-weight:500}.mat-tab-group,.mat-tab-label,.mat-tab-link{font-family:Roboto,Helvetica Neue,sans-serif}.mat-tab-label,.mat-tab-link{font-size:14px;font-weight:500}.mat-toolbar,.mat-toolbar h1,.mat-toolbar h2,.mat-toolbar h3,.mat-toolbar h4,.mat-toolbar h5,.mat-toolbar h6{font:500 20px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0}.mat-tooltip{font-family:Roboto,Helvetica Neue,sans-serif;font-size:10px;padding-top:6px;padding-bottom:6px}.mat-tooltip-handset{font-size:14px;padding-top:8px;padding-bottom:8px}.mat-list-item,.mat-list-option{font-family:Roboto,Helvetica Neue,sans-serif}.mat-list-base .mat-list-item{font-size:16px}.mat-list-base .mat-list-item .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base .mat-list-item .mat-line:nth-child(n+2){font-size:14px}.mat-list-base .mat-list-option{font-size:16px}.mat-list-base .mat-list-option .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base .mat-list-option .mat-line:nth-child(n+2){font-size:14px}.mat-list-base .mat-subheader{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:500}.mat-list-base[dense] .mat-list-item{font-size:12px}.mat-list-base[dense] .mat-list-item .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[dense] .mat-list-item .mat-line:nth-child(n+2),.mat-list-base[dense] .mat-list-option{font-size:12px}.mat-list-base[dense] .mat-list-option .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[dense] .mat-list-option .mat-line:nth-child(n+2){font-size:12px}.mat-list-base[dense] .mat-subheader{font-family:Roboto,Helvetica Neue,sans-serif;font-size:12px;font-weight:500}.mat-option{font-family:Roboto,Helvetica Neue,sans-serif;font-size:16px}.mat-optgroup-label{font:500 14px/24px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-simple-snackbar{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px}.mat-simple-snackbar-action{line-height:1;font-family:inherit;font-size:inherit;font-weight:500}.mat-tree{font-family:Roboto,Helvetica Neue,sans-serif}.mat-nested-tree-node,.mat-tree-node{font-weight:400;font-size:14px}.mat-ripple{overflow:hidden;position:relative}.mat-ripple:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded{overflow:visible}.mat-ripple-element{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0,0,.2,1);-ms-transform:scale(0);transform:scale(0)}.cdk-high-contrast-active .mat-ripple-element{display:none}.cdk-visually-hidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;outline:0;-webkit-appearance:none;-moz-appearance:none}.cdk-global-overlay-wrapper,.cdk-overlay-container{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed;z-index:1000}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper,.cdk-overlay-pane{display:-ms-flexbox;display:flex;position:absolute;z-index:1000}.cdk-overlay-pane{pointer-events:auto;box-sizing:border-box;max-width:100%;max-height:100%}.cdk-overlay-backdrop{position:absolute;top:0;bottom:0;left:0;right:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:transparent;transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:1}@media screen and (-ms-high-contrast:active){.cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:.6}}.cdk-overlay-dark-backdrop{background:rgba(0,0,0,.32)}.cdk-overlay-transparent-backdrop,.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing{opacity:0}.cdk-overlay-connected-position-bounding-box{position:absolute;z-index:1000;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}@-webkit-keyframes cdk-text-field-autofill-start{\n /*!*/}@keyframes cdk-text-field-autofill-start{\n /*!*/}@-webkit-keyframes cdk-text-field-autofill-end{\n /*!*/}@keyframes cdk-text-field-autofill-end{\n /*!*/}.cdk-text-field-autofill-monitored:-webkit-autofill{-webkit-animation:cdk-text-field-autofill-start 0s 1ms;animation:cdk-text-field-autofill-start 0s 1ms}.cdk-text-field-autofill-monitored:not(:-webkit-autofill){-webkit-animation:cdk-text-field-autofill-end 0s 1ms;animation:cdk-text-field-autofill-end 0s 1ms}textarea.cdk-textarea-autosize{resize:none}textarea.cdk-textarea-autosize-measuring{padding:2px 0!important;box-sizing:content-box!important;height:auto!important;overflow:hidden!important}textarea.cdk-textarea-autosize-measuring-firefox{padding:2px 0!important;box-sizing:content-box!important;height:0!important}.mat-focus-indicator,.mat-mdc-focus-indicator{position:relative}h1,h2{font-weight:600;text-transform:uppercase;text-align:center;letter-spacing:.82px;font-size:1.5em}#home-gerer-decla #home-gerer-decla-container{display:-ms-flexbox;display:flex}#home-gerer-decla #home-gerer-decla-container .link-container{-ms-flex:1 1 33.33%;flex:1 1 33.33%;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;margin:0 10px 24px;background-color:#fff;box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12);color:#004590}#home-gerer-decla #home-gerer-decla-container .link-container:hover{box-shadow:0 6px 6px -3px rgba(98,155,211,.2),0 10px 14px 1px rgba(98,155,211,.14),0 4px 18px 3px rgba(98,155,211,.12);cursor:pointer}#home-gerer-decla #home-gerer-decla-container .link-container a{width:100%}#home-gerer-decla #home-gerer-decla-container .link-container .home-gerer-decla-bloc{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;color:#004590}#home-gerer-decla #home-gerer-decla-container .link-container .home-gerer-decla-bloc .home-gerer-decla-number{font-size:1.75rem;margin-right:10px}#home-gerer-decla #home-gerer-decla-container .link-container .home-gerer-decla-bloc .home-gerer-decla-label{font-size:1rem}#home-creer-decla{background-color:#b3c7de;padding-top:10px}#home-creer-decla #home-creer-decla-container,#home-creer-decla #home-creer-decla-info-container{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center}#home-creer-decla #home-creer-decla-container .home-creer-decla-info,#home-creer-decla #home-creer-decla-info-container .home-creer-decla-info{-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;margin:10px 65.5px;text-align:justify;padding:0 6px;width:420px}#home-creer-decla #home-creer-decla-container .home-creer-decla-bloc,#home-creer-decla #home-creer-decla-info-container .home-creer-decla-bloc{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;text-align:center;color:#2661a1;background-color:#fff;box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12);margin:0 65.5px;height:200px}#home-creer-decla #home-creer-decla-container .home-creer-decla-bloc:hover,#home-creer-decla #home-creer-decla-info-container .home-creer-decla-bloc:hover{box-shadow:0 6px 6px -3px rgba(98,155,211,.2),0 10px 14px 1px rgba(98,155,211,.14),0 4px 18px 3px rgba(98,155,211,.12);cursor:pointer}#home-creer-decla #home-creer-decla-container .home-creer-decla-bloc .home-creer-decla-separator,#home-creer-decla #home-creer-decla-info-container .home-creer-decla-bloc .home-creer-decla-separator{box-sizing:border-box;height:1px;width:135px;border:.5px solid #2661a1;margin:16px 0}#home-creer-decla #home-creer-decla-container .home-creer-decla-bloc .home-creer-decla-title,#home-creer-decla #home-creer-decla-info-container .home-creer-decla-bloc .home-creer-decla-title{font-weight:600;text-transform:uppercase;font-size:2rem}#home-creer-decla #home-creer-decla-container .home-creer-decla-bloc .home-creer-decla-desc,#home-creer-decla #home-creer-decla-info-container .home-creer-decla-bloc .home-creer-decla-desc{font-size:1.25rem;max-width:420px;text-align:justify;padding:0 8px}#home-creer-decla #home-creer-decla-container{padding-top:10px}#home-creer-decla #home-creer-decla-info-container{padding-bottom:20px}"],encapsulation:2,changeDetection:0}),t})(),T=(()=>{class t{}return t.\u0275mod=u.Lb({type:t}),t.\u0275inj=u.Kb({factory:function(e){return new(e||t)},imports:[[o.j.forChild([{path:"",component:S}])],o.j]}),t})(),P=(()=>{class t{}return t.\u0275mod=u.Lb({type:t}),t.\u0275inj=u.Kb({factory:function(e){return new(e||t)},imports:[[i.c,T,a.c,r.a]]}),t})()},"9b/N":function(t,e,n){"use strict";n.d(e,"a",function(){return d}),n.d(e,"b",function(){return c}),n.d(e,"c",function(){return u});var i=n("8LU1"),a=n("8Y7J"),r=n("HDdC"),o=n("XNiG"),s=n("Kj3r");let l=(()=>{class t{create(t){return"undefined"==typeof MutationObserver?null:new MutationObserver(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Object(a.Jb)({factory:function(){return new t},token:t,providedIn:"root"}),t})(),c=(()=>{class t{constructor(t){this._mutationObserverFactory=t,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((t,e)=>this._cleanupObserver(e))}observe(t){const e=Object(i.e)(t);return new r.a(t=>{const n=this._observeElement(e).subscribe(t);return()=>{n.unsubscribe(),this._unobserveElement(e)}})}_observeElement(t){if(this._observedElements.has(t))this._observedElements.get(t).count++;else{const e=new o.a,n=this._mutationObserverFactory.create(t=>e.next(t));n&&n.observe(t,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(t,{observer:n,stream:e,count:1})}return this._observedElements.get(t).stream}_unobserveElement(t){this._observedElements.has(t)&&(this._observedElements.get(t).count--,this._observedElements.get(t).count||this._cleanupObserver(t))}_cleanupObserver(t){if(this._observedElements.has(t)){const{observer:e,stream:n}=this._observedElements.get(t);e&&e.disconnect(),n.complete(),this._observedElements.delete(t)}}}return t.\u0275fac=function(e){return new(e||t)(a.Xb(l))},t.\u0275prov=Object(a.Jb)({factory:function(){return new t(Object(a.Xb)(l))},token:t,providedIn:"root"}),t})(),d=(()=>{class t{constructor(t,e,n){this._contentObserver=t,this._elementRef=e,this._ngZone=n,this.event=new a.o,this._disabled=!1,this._currentSubscription=null}get disabled(){return this._disabled}set disabled(t){this._disabled=Object(i.c)(t),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(t){this._debounce=Object(i.f)(t),this._subscribe()}ngAfterContentInit(){this._currentSubscription||this.disabled||this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const t=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?t.pipe(Object(s.a)(this.debounce)):t).subscribe(this.event)})}_unsubscribe(){var t;null===(t=this._currentSubscription)||void 0===t||t.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(a.Nb(c),a.Nb(a.l),a.Nb(a.B))},t.\u0275dir=a.Ib({type:t,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),t})(),u=(()=>{class t{}return t.\u0275mod=a.Lb({type:t}),t.\u0275inj=a.Kb({factory:function(e){return new(e||t)},providers:[l]}),t})()},"9gLZ":function(t,e,n){"use strict";n.d(e,"a",function(){return s}),n.d(e,"b",function(){return o});var i=n("8Y7J"),a=n("SVse");const r=new i.s("cdk-dir-doc",{providedIn:"root",factory:function(){return Object(i.W)(a.d)}});let o=(()=>{class t{constructor(t){if(this.value="ltr",this.change=new i.o,t){const e=t.documentElement?t.documentElement.dir:null,n=(t.body?t.body.dir:null)||e;this.value="ltr"===n||"rtl"===n?n:"ltr"}}ngOnDestroy(){this.change.complete()}}return t.\u0275fac=function(e){return new(e||t)(i.Xb(r,8))},t.\u0275prov=Object(i.Jb)({factory:function(){return new t(Object(i.Xb)(r,8))},token:t,providedIn:"root"}),t})(),s=(()=>{class t{}return t.\u0275mod=i.Lb({type:t}),t.\u0275inj=i.Kb({factory:function(e){return new(e||t)}}),t})()},"9ppp":function(t,e,n){"use strict";n.d(e,"a",function(){return i});const i=(()=>{function t(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return t.prototype=Object.create(Error.prototype),t})()},"9rRi":function(t,e,n){!function(t){"use strict";t.defineLocale("gd",{months:["Am Faoilleach","An Gearran","Am M\xe0rt","An Giblean","An C\xe8itean","An t-\xd2gmhios","An t-Iuchar","An L\xf9nastal","An t-Sultain","An D\xe0mhair","An t-Samhain","An D\xf9bhlachd"],monthsShort:["Faoi","Gear","M\xe0rt","Gibl","C\xe8it","\xd2gmh","Iuch","L\xf9n","Sult","D\xe0mh","Samh","D\xf9bh"],monthsParseExact:!0,weekdays:["Did\xf2mhnaich","Diluain","Dim\xe0irt","Diciadain","Diardaoin","Dihaoine","Disathairne"],weekdaysShort:["Did","Dil","Dim","Dic","Dia","Dih","Dis"],weekdaysMin:["D\xf2","Lu","M\xe0","Ci","Ar","Ha","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[An-diugh aig] LT",nextDay:"[A-m\xe0ireach aig] LT",nextWeek:"dddd [aig] LT",lastDay:"[An-d\xe8 aig] LT",lastWeek:"dddd [seo chaidh] [aig] LT",sameElse:"L"},relativeTime:{future:"ann an %s",past:"bho chionn %s",s:"beagan diogan",ss:"%d diogan",m:"mionaid",mm:"%d mionaidean",h:"uair",hh:"%d uairean",d:"latha",dd:"%d latha",M:"m\xecos",MM:"%d m\xecosan",y:"bliadhna",yy:"%d bliadhna"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(t){return t+(1===t?"d":t%10==2?"na":"mh")},week:{dow:1,doy:4}})}(n("wd/R"))},"A+xa":function(t,e,n){!function(t){"use strict";t.defineLocale("cv",{months:"\u043a\u04d1\u0440\u043b\u0430\u0447_\u043d\u0430\u0440\u04d1\u0441_\u043f\u0443\u0448_\u0430\u043a\u0430_\u043c\u0430\u0439_\u04ab\u04d7\u0440\u0442\u043c\u0435_\u0443\u0442\u04d1_\u04ab\u0443\u0440\u043b\u0430_\u0430\u0432\u04d1\u043d_\u044e\u043f\u0430_\u0447\u04f3\u043a_\u0440\u0430\u0448\u0442\u0430\u0432".split("_"),monthsShort:"\u043a\u04d1\u0440_\u043d\u0430\u0440_\u043f\u0443\u0448_\u0430\u043a\u0430_\u043c\u0430\u0439_\u04ab\u04d7\u0440_\u0443\u0442\u04d1_\u04ab\u0443\u0440_\u0430\u0432\u043d_\u044e\u043f\u0430_\u0447\u04f3\u043a_\u0440\u0430\u0448".split("_"),weekdays:"\u0432\u044b\u0440\u0441\u0430\u0440\u043d\u0438\u043a\u0443\u043d_\u0442\u0443\u043d\u0442\u0438\u043a\u0443\u043d_\u044b\u0442\u043b\u0430\u0440\u0438\u043a\u0443\u043d_\u044e\u043d\u043a\u0443\u043d_\u043a\u04d7\u04ab\u043d\u0435\u0440\u043d\u0438\u043a\u0443\u043d_\u044d\u0440\u043d\u0435\u043a\u0443\u043d_\u0448\u04d1\u043c\u0430\u0442\u043a\u0443\u043d".split("_"),weekdaysShort:"\u0432\u044b\u0440_\u0442\u0443\u043d_\u044b\u0442\u043b_\u044e\u043d_\u043a\u04d7\u04ab_\u044d\u0440\u043d_\u0448\u04d1\u043c".split("_"),weekdaysMin:"\u0432\u0440_\u0442\u043d_\u044b\u0442_\u044e\u043d_\u043a\u04ab_\u044d\u0440_\u0448\u043c".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7]",LLL:"YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7], HH:mm",LLLL:"dddd, YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7], HH:mm"},calendar:{sameDay:"[\u041f\u0430\u044f\u043d] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",nextDay:"[\u042b\u0440\u0430\u043d] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",lastDay:"[\u04d6\u043d\u0435\u0440] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",nextWeek:"[\u04aa\u0438\u0442\u0435\u0441] dddd LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",lastWeek:"[\u0418\u0440\u0442\u043d\u04d7] dddd LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",sameElse:"L"},relativeTime:{future:function(t){return t+(/\u0441\u0435\u0445\u0435\u0442$/i.exec(t)?"\u0440\u0435\u043d":/\u04ab\u0443\u043b$/i.exec(t)?"\u0442\u0430\u043d":"\u0440\u0430\u043d")},past:"%s \u043a\u0430\u044f\u043b\u043b\u0430",s:"\u043f\u04d7\u0440-\u0438\u043a \u04ab\u0435\u043a\u043a\u0443\u043d\u0442",ss:"%d \u04ab\u0435\u043a\u043a\u0443\u043d\u0442",m:"\u043f\u04d7\u0440 \u043c\u0438\u043d\u0443\u0442",mm:"%d \u043c\u0438\u043d\u0443\u0442",h:"\u043f\u04d7\u0440 \u0441\u0435\u0445\u0435\u0442",hh:"%d \u0441\u0435\u0445\u0435\u0442",d:"\u043f\u04d7\u0440 \u043a\u0443\u043d",dd:"%d \u043a\u0443\u043d",M:"\u043f\u04d7\u0440 \u0443\u0439\u04d1\u0445",MM:"%d \u0443\u0439\u04d1\u0445",y:"\u043f\u04d7\u0440 \u04ab\u0443\u043b",yy:"%d \u04ab\u0443\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-\u043c\u04d7\u0448/,ordinal:"%d-\u043c\u04d7\u0448",week:{dow:1,doy:7}})}(n("wd/R"))},AFtR:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("8Y7J"),a=n("WiJD");let r=(()=>{class t{constructor(t){this.configurationService=t}resolve(){return this.configurationService.getData()}}return t.\u0275fac=function(e){return new(e||t)(i.Xb(a.a))},t.\u0275prov=i.Jb({token:t,factory:t.\u0275fac,providedIn:"root"}),t})()},AQ68:function(t,e,n){!function(t){"use strict";t.defineLocale("uz-latn",{months:"Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr".split("_"),monthsShort:"Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek".split("_"),weekdays:"Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba".split("_"),weekdaysShort:"Yak_Dush_Sesh_Chor_Pay_Jum_Shan".split("_"),weekdaysMin:"Ya_Du_Se_Cho_Pa_Ju_Sha".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Bugun soat] LT [da]",nextDay:"[Ertaga] LT [da]",nextWeek:"dddd [kuni soat] LT [da]",lastDay:"[Kecha soat] LT [da]",lastWeek:"[O'tgan] dddd [kuni soat] LT [da]",sameElse:"L"},relativeTime:{future:"Yaqin %s ichida",past:"Bir necha %s oldin",s:"soniya",ss:"%d soniya",m:"bir daqiqa",mm:"%d daqiqa",h:"bir soat",hh:"%d soat",d:"bir kun",dd:"%d kun",M:"bir oy",MM:"%d oy",y:"bir yil",yy:"%d yil"},week:{dow:1,doy:7}})}(n("wd/R"))},AkaL:function(t,e,n){"use strict";n.d(e,"a",function(){return a});var i=n("lJxs");class a{constructor(t){this.http=t}search(t,e){return this.http.post(this.BASE_URL,{prefix:t,nbElement:e}).pipe(Object(i.a)(t=>this.setLabels(t.results)))}setLabels(t){return t.forEach(t=>this.setLabel(t)),t}}},AvvY:function(t,e,n){!function(t){"use strict";t.defineLocale("ml",{months:"\u0d1c\u0d28\u0d41\u0d35\u0d30\u0d3f_\u0d2b\u0d46\u0d2c\u0d4d\u0d30\u0d41\u0d35\u0d30\u0d3f_\u0d2e\u0d3e\u0d7c\u0d1a\u0d4d\u0d1a\u0d4d_\u0d0f\u0d2a\u0d4d\u0d30\u0d3f\u0d7d_\u0d2e\u0d47\u0d2f\u0d4d_\u0d1c\u0d42\u0d7a_\u0d1c\u0d42\u0d32\u0d48_\u0d13\u0d17\u0d38\u0d4d\u0d31\u0d4d\u0d31\u0d4d_\u0d38\u0d46\u0d2a\u0d4d\u0d31\u0d4d\u0d31\u0d02\u0d2c\u0d7c_\u0d12\u0d15\u0d4d\u0d1f\u0d4b\u0d2c\u0d7c_\u0d28\u0d35\u0d02\u0d2c\u0d7c_\u0d21\u0d3f\u0d38\u0d02\u0d2c\u0d7c".split("_"),monthsShort:"\u0d1c\u0d28\u0d41._\u0d2b\u0d46\u0d2c\u0d4d\u0d30\u0d41._\u0d2e\u0d3e\u0d7c._\u0d0f\u0d2a\u0d4d\u0d30\u0d3f._\u0d2e\u0d47\u0d2f\u0d4d_\u0d1c\u0d42\u0d7a_\u0d1c\u0d42\u0d32\u0d48._\u0d13\u0d17._\u0d38\u0d46\u0d2a\u0d4d\u0d31\u0d4d\u0d31._\u0d12\u0d15\u0d4d\u0d1f\u0d4b._\u0d28\u0d35\u0d02._\u0d21\u0d3f\u0d38\u0d02.".split("_"),monthsParseExact:!0,weekdays:"\u0d1e\u0d3e\u0d2f\u0d31\u0d3e\u0d34\u0d4d\u0d1a_\u0d24\u0d3f\u0d19\u0d4d\u0d15\u0d33\u0d3e\u0d34\u0d4d\u0d1a_\u0d1a\u0d4a\u0d35\u0d4d\u0d35\u0d3e\u0d34\u0d4d\u0d1a_\u0d2c\u0d41\u0d27\u0d28\u0d3e\u0d34\u0d4d\u0d1a_\u0d35\u0d4d\u0d2f\u0d3e\u0d34\u0d3e\u0d34\u0d4d\u0d1a_\u0d35\u0d46\u0d33\u0d4d\u0d33\u0d3f\u0d2f\u0d3e\u0d34\u0d4d\u0d1a_\u0d36\u0d28\u0d3f\u0d2f\u0d3e\u0d34\u0d4d\u0d1a".split("_"),weekdaysShort:"\u0d1e\u0d3e\u0d2f\u0d7c_\u0d24\u0d3f\u0d19\u0d4d\u0d15\u0d7e_\u0d1a\u0d4a\u0d35\u0d4d\u0d35_\u0d2c\u0d41\u0d27\u0d7b_\u0d35\u0d4d\u0d2f\u0d3e\u0d34\u0d02_\u0d35\u0d46\u0d33\u0d4d\u0d33\u0d3f_\u0d36\u0d28\u0d3f".split("_"),weekdaysMin:"\u0d1e\u0d3e_\u0d24\u0d3f_\u0d1a\u0d4a_\u0d2c\u0d41_\u0d35\u0d4d\u0d2f\u0d3e_\u0d35\u0d46_\u0d36".split("_"),longDateFormat:{LT:"A h:mm -\u0d28\u0d41",LTS:"A h:mm:ss -\u0d28\u0d41",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm -\u0d28\u0d41",LLLL:"dddd, D MMMM YYYY, A h:mm -\u0d28\u0d41"},calendar:{sameDay:"[\u0d07\u0d28\u0d4d\u0d28\u0d4d] LT",nextDay:"[\u0d28\u0d3e\u0d33\u0d46] LT",nextWeek:"dddd, LT",lastDay:"[\u0d07\u0d28\u0d4d\u0d28\u0d32\u0d46] LT",lastWeek:"[\u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d",past:"%s \u0d2e\u0d41\u0d7b\u0d2a\u0d4d",s:"\u0d05\u0d7d\u0d2a \u0d28\u0d3f\u0d2e\u0d3f\u0d37\u0d19\u0d4d\u0d19\u0d7e",ss:"%d \u0d38\u0d46\u0d15\u0d4d\u0d15\u0d7b\u0d21\u0d4d",m:"\u0d12\u0d30\u0d41 \u0d2e\u0d3f\u0d28\u0d3f\u0d31\u0d4d\u0d31\u0d4d",mm:"%d \u0d2e\u0d3f\u0d28\u0d3f\u0d31\u0d4d\u0d31\u0d4d",h:"\u0d12\u0d30\u0d41 \u0d2e\u0d23\u0d3f\u0d15\u0d4d\u0d15\u0d42\u0d7c",hh:"%d \u0d2e\u0d23\u0d3f\u0d15\u0d4d\u0d15\u0d42\u0d7c",d:"\u0d12\u0d30\u0d41 \u0d26\u0d3f\u0d35\u0d38\u0d02",dd:"%d \u0d26\u0d3f\u0d35\u0d38\u0d02",M:"\u0d12\u0d30\u0d41 \u0d2e\u0d3e\u0d38\u0d02",MM:"%d \u0d2e\u0d3e\u0d38\u0d02",y:"\u0d12\u0d30\u0d41 \u0d35\u0d7c\u0d37\u0d02",yy:"%d \u0d35\u0d7c\u0d37\u0d02"},meridiemParse:/\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f|\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46|\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d|\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02|\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f/i,meridiemHour:function(t,e){return 12===t&&(t=0),"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"===e&&t>=4||"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d"===e||"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02"===e?t+12:t},meridiem:function(t,e,n){return t<4?"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f":t<12?"\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46":t<17?"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d":t<20?"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02":"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"}})}(n("wd/R"))},AxuS:function(t,e,n){"use strict";n.d(e,"a",function(){return i});var i=function(t){return t.VALIDATE="search",t.VALID="check",t.INVALID="close",t.ERROR="error_outline",t}({})},B55N:function(t,e,n){!function(t){"use strict";t.defineLocale("ja",{eras:[{since:"2019-05-01",offset:1,name:"\u4ee4\u548c",narrow:"\u32ff",abbr:"R"},{since:"1989-01-08",until:"2019-04-30",offset:1,name:"\u5e73\u6210",narrow:"\u337b",abbr:"H"},{since:"1926-12-25",until:"1989-01-07",offset:1,name:"\u662d\u548c",narrow:"\u337c",abbr:"S"},{since:"1912-07-30",until:"1926-12-24",offset:1,name:"\u5927\u6b63",narrow:"\u337d",abbr:"T"},{since:"1873-01-01",until:"1912-07-29",offset:6,name:"\u660e\u6cbb",narrow:"\u337e",abbr:"M"},{since:"0001-01-01",until:"1873-12-31",offset:1,name:"\u897f\u66a6",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"\u7d00\u5143\u524d",narrow:"BC",abbr:"BC"}],eraYearOrdinalRegex:/(\u5143|\d+)\u5e74/,eraYearOrdinalParse:function(t,e){return"\u5143"===e[1]?1:parseInt(e[1]||t,10)},months:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u65e5\u66dc\u65e5_\u6708\u66dc\u65e5_\u706b\u66dc\u65e5_\u6c34\u66dc\u65e5_\u6728\u66dc\u65e5_\u91d1\u66dc\u65e5_\u571f\u66dc\u65e5".split("_"),weekdaysShort:"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),weekdaysMin:"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5(ddd) HH:mm"},meridiemParse:/\u5348\u524d|\u5348\u5f8c/i,isPM:function(t){return"\u5348\u5f8c"===t},meridiem:function(t,e,n){return t<12?"\u5348\u524d":"\u5348\u5f8c"},calendar:{sameDay:"[\u4eca\u65e5] LT",nextDay:"[\u660e\u65e5] LT",nextWeek:function(t){return t.week()!==this.week()?"[\u6765\u9031]dddd LT":"dddd LT"},lastDay:"[\u6628\u65e5] LT",lastWeek:function(t){return this.week()!==t.week()?"[\u5148\u9031]dddd LT":"dddd LT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}\u65e5/,ordinal:function(t,e){switch(e){case"y":return 1===t?"\u5143\u5e74":t+"\u5e74";case"d":case"D":case"DDD":return t+"\u65e5";default:return t}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u6570\u79d2",ss:"%d\u79d2",m:"1\u5206",mm:"%d\u5206",h:"1\u6642\u9593",hh:"%d\u6642\u9593",d:"1\u65e5",dd:"%d\u65e5",M:"1\u30f6\u6708",MM:"%d\u30f6\u6708",y:"1\u5e74",yy:"%d\u5e74"}})}(n("wd/R"))},B6AI:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("zHaW"),a=n("8Y7J");let r=(()=>{class t{constructor(t){this.data=t}ngOnInit(){this.text=this.data.text}}return t.\u0275fac=function(e){return new(e||t)(a.Nb(i.a))},t.\u0275cmp=a.Hb({type:t,selectors:[["app-custom-snackbar"]],decls:1,vars:1,consts:[[3,"innerHTML"]],template:function(t,e){1&t&&a.Ob(0,"div",0),2&t&&a.nc("innerHTML",e.text,a.zc)},encapsulation:2}),t})()},BSbQ:function(t,e,n){"use strict";n.d(e,"a",function(){return o}),n.d(e,"b",function(){return s});var i=n("8LU1"),a=n("UhP/"),r=n("8Y7J");let o=(()=>{class t{constructor(){this._vertical=!1,this._inset=!1}get vertical(){return this._vertical}set vertical(t){this._vertical=Object(i.c)(t)}get inset(){return this._inset}set inset(t){this._inset=Object(i.c)(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=r.Hb({type:t,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(t,e){2&t&&(r.Db("aria-orientation",e.vertical?"vertical":"horizontal"),r.Fb("mat-divider-vertical",e.vertical)("mat-divider-horizontal",!e.vertical)("mat-divider-inset",e.inset))},inputs:{vertical:"vertical",inset:"inset"},decls:0,vars:0,template:function(t,e){},styles:[".mat-divider{display:block;margin:0;border-top-width:1px;border-top-style:solid}.mat-divider.mat-divider-vertical{border-top:0;border-right-width:1px;border-right-style:solid}.mat-divider.mat-divider-inset{margin-left:80px}[dir=rtl] .mat-divider.mat-divider-inset{margin-left:auto;margin-right:80px}\n"],encapsulation:2,changeDetection:0}),t})(),s=(()=>{class t{}return t.\u0275mod=r.Lb({type:t}),t.\u0275inj=r.Kb({factory:function(e){return new(e||t)},imports:[[a.j],a.j]}),t})()},BTe0:function(t,e,n){"use strict";n.d(e,"a",function(){return g}),n.d(e,"b",function(){return _});var i=n("8Y7J"),a=n("SVse"),r=n("UhP/"),o=n("8LU1"),s=n("omvX"),l=n("quSY"),c=n("xgIS"),d=n("pLZG");const u=["primaryValueBar"];class h{constructor(t){this._elementRef=t}}const m=Object(r.w)(h,"primary"),p=new i.s("mat-progress-bar-location",{providedIn:"root",factory:function(){const t=Object(i.W)(a.d),e=t?t.location:null;return{getPathname:()=>e?e.pathname+e.search:""}}});let f=0,g=(()=>{class t extends m{constructor(t,e,n,a){super(t),this._elementRef=t,this._ngZone=e,this._animationMode=n,this._isNoopAnimation=!1,this._value=0,this._bufferValue=0,this.animationEnd=new i.o,this._animationEndSubscription=l.a.EMPTY,this.mode="determinate",this.progressbarId="mat-progress-bar-"+f++;const r=a?a.getPathname().split("#")[0]:"";this._rectangleFillValue=`url('${r}#${this.progressbarId}')`,this._isNoopAnimation="NoopAnimations"===n}get value(){return this._value}set value(t){this._value=b(Object(o.f)(t)||0)}get bufferValue(){return this._bufferValue}set bufferValue(t){this._bufferValue=b(t||0)}_primaryTransform(){return{transform:`scale3d(${this.value/100}, 1, 1)`}}_bufferTransform(){return"buffer"===this.mode?{transform:`scale3d(${this.bufferValue/100}, 1, 1)`}:null}ngAfterViewInit(){this._ngZone.runOutsideAngular(()=>{const t=this._primaryValueBar.nativeElement;this._animationEndSubscription=Object(c.a)(t,"transitionend").pipe(Object(d.a)(e=>e.target===t)).subscribe(()=>{"determinate"!==this.mode&&"buffer"!==this.mode||this._ngZone.run(()=>this.animationEnd.next({value:this.value}))})})}ngOnDestroy(){this._animationEndSubscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.l),i.Nb(i.B),i.Nb(s.a,8),i.Nb(p,8))},t.\u0275cmp=i.Hb({type:t,selectors:[["mat-progress-bar"]],viewQuery:function(t,e){if(1&t&&i.Lc(u,1),2&t){let t;i.uc(t=i.cc())&&(e._primaryValueBar=t.first)}},hostAttrs:["role","progressbar","aria-valuemin","0","aria-valuemax","100",1,"mat-progress-bar"],hostVars:4,hostBindings:function(t,e){2&t&&(i.Db("aria-valuenow","indeterminate"===e.mode||"query"===e.mode?null:e.value)("mode",e.mode),i.Fb("_mat-animation-noopable",e._isNoopAnimation))},inputs:{color:"color",mode:"mode",value:"value",bufferValue:"bufferValue"},outputs:{animationEnd:"animationEnd"},exportAs:["matProgressBar"],features:[i.zb],decls:9,vars:4,consts:[["width","100%","height","4","focusable","false",1,"mat-progress-bar-background","mat-progress-bar-element"],["x","4","y","0","width","8","height","4","patternUnits","userSpaceOnUse",3,"id"],["cx","2","cy","2","r","2"],["width","100%","height","100%"],[1,"mat-progress-bar-buffer","mat-progress-bar-element",3,"ngStyle"],[1,"mat-progress-bar-primary","mat-progress-bar-fill","mat-progress-bar-element",3,"ngStyle"],["primaryValueBar",""],[1,"mat-progress-bar-secondary","mat-progress-bar-fill","mat-progress-bar-element"]],template:function(t,e){1&t&&(i.ec(),i.Tb(0,"svg",0),i.Tb(1,"defs"),i.Tb(2,"pattern",1),i.Ob(3,"circle",2),i.Sb(),i.Sb(),i.Ob(4,"rect",3),i.Sb(),i.dc(),i.Ob(5,"div",4),i.Ob(6,"div",5,6),i.Ob(8,"div",7)),2&t&&(i.Cb(2),i.nc("id",e.progressbarId),i.Cb(2),i.Db("fill",e._rectangleFillValue),i.Cb(1),i.nc("ngStyle",e._bufferTransform()),i.Cb(1),i.nc("ngStyle",e._primaryTransform()))},directives:[a.m],styles:['.mat-progress-bar{display:block;height:4px;overflow:hidden;position:relative;transition:opacity 250ms linear;width:100%}._mat-animation-noopable.mat-progress-bar{transition:none;animation:none}.mat-progress-bar .mat-progress-bar-element,.mat-progress-bar .mat-progress-bar-fill::after{height:100%;position:absolute;width:100%}.mat-progress-bar .mat-progress-bar-background{width:calc(100% + 10px)}.cdk-high-contrast-active .mat-progress-bar .mat-progress-bar-background{display:none}.mat-progress-bar .mat-progress-bar-buffer{transform-origin:top left;transition:transform 250ms ease}.cdk-high-contrast-active .mat-progress-bar .mat-progress-bar-buffer{border-top:solid 5px;opacity:.5}.mat-progress-bar .mat-progress-bar-secondary{display:none}.mat-progress-bar .mat-progress-bar-fill{animation:none;transform-origin:top left;transition:transform 250ms ease}.cdk-high-contrast-active .mat-progress-bar .mat-progress-bar-fill{border-top:solid 4px}.mat-progress-bar .mat-progress-bar-fill::after{animation:none;content:"";display:inline-block;left:0}.mat-progress-bar[dir=rtl],[dir=rtl] .mat-progress-bar{transform:rotateY(180deg)}.mat-progress-bar[mode=query]{transform:rotateZ(180deg)}.mat-progress-bar[mode=query][dir=rtl],[dir=rtl] .mat-progress-bar[mode=query]{transform:rotateZ(180deg) rotateY(180deg)}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-fill,.mat-progress-bar[mode=query] .mat-progress-bar-fill{transition:none}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-primary,.mat-progress-bar[mode=query] .mat-progress-bar-primary{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-primary-indeterminate-translate 2000ms infinite linear;left:-145.166611%}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-primary.mat-progress-bar-fill::after,.mat-progress-bar[mode=query] .mat-progress-bar-primary.mat-progress-bar-fill::after{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-primary-indeterminate-scale 2000ms infinite linear}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-secondary,.mat-progress-bar[mode=query] .mat-progress-bar-secondary{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-secondary-indeterminate-translate 2000ms infinite linear;left:-54.888891%;display:block}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-secondary.mat-progress-bar-fill::after,.mat-progress-bar[mode=query] .mat-progress-bar-secondary.mat-progress-bar-fill::after{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-secondary-indeterminate-scale 2000ms infinite linear}.mat-progress-bar[mode=buffer] .mat-progress-bar-background{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-background-scroll 250ms infinite linear;display:block}.mat-progress-bar._mat-animation-noopable .mat-progress-bar-fill,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-fill::after,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-buffer,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-primary,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-primary.mat-progress-bar-fill::after,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-secondary,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-secondary.mat-progress-bar-fill::after,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-background{animation:none;transition-duration:1ms}@keyframes mat-progress-bar-primary-indeterminate-translate{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(83.67142%)}100%{transform:translateX(200.611057%)}}@keyframes mat-progress-bar-primary-indeterminate-scale{0%{transform:scaleX(0.08)}36.65%{animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);transform:scaleX(0.08)}69.15%{animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);transform:scaleX(0.661479)}100%{transform:scaleX(0.08)}}@keyframes mat-progress-bar-secondary-indeterminate-translate{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(37.651913%)}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(84.386165%)}100%{transform:translateX(160.277782%)}}@keyframes mat-progress-bar-secondary-indeterminate-scale{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:scaleX(0.08)}19.15%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:scaleX(0.457104)}44.15%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:scaleX(0.72796)}100%{transform:scaleX(0.08)}}@keyframes mat-progress-bar-background-scroll{to{transform:translateX(-8px)}}\n'],encapsulation:2,changeDetection:0}),t})();function b(t,e=0,n=100){return Math.max(e,Math.min(n,t))}let _=(()=>{class t{}return t.\u0275mod=i.Lb({type:t}),t.\u0275inj=i.Kb({factory:function(e){return new(e||t)},imports:[[a.c,r.j],r.j]}),t})()},BVg3:function(t,e,n){!function(t){"use strict";function e(t){return t%100==11||t%10!=1}function n(t,n,i,a){var r=t+" ";switch(i){case"s":return n||a?"nokkrar sek\xfandur":"nokkrum sek\xfandum";case"ss":return e(t)?r+(n||a?"sek\xfandur":"sek\xfandum"):r+"sek\xfanda";case"m":return n?"m\xedn\xfata":"m\xedn\xfatu";case"mm":return e(t)?r+(n||a?"m\xedn\xfatur":"m\xedn\xfatum"):n?r+"m\xedn\xfata":r+"m\xedn\xfatu";case"hh":return e(t)?r+(n||a?"klukkustundir":"klukkustundum"):r+"klukkustund";case"d":return n?"dagur":a?"dag":"degi";case"dd":return e(t)?n?r+"dagar":r+(a?"daga":"d\xf6gum"):n?r+"dagur":r+(a?"dag":"degi");case"M":return n?"m\xe1nu\xf0ur":a?"m\xe1nu\xf0":"m\xe1nu\xf0i";case"MM":return e(t)?n?r+"m\xe1nu\xf0ir":r+(a?"m\xe1nu\xf0i":"m\xe1nu\xf0um"):n?r+"m\xe1nu\xf0ur":r+(a?"m\xe1nu\xf0":"m\xe1nu\xf0i");case"y":return n||a?"\xe1r":"\xe1ri";case"yy":return e(t)?r+(n||a?"\xe1r":"\xe1rum"):r+(n||a?"\xe1r":"\xe1ri")}}t.defineLocale("is",{months:"jan\xfaar_febr\xfaar_mars_apr\xedl_ma\xed_j\xfan\xed_j\xfal\xed_\xe1g\xfast_september_okt\xf3ber_n\xf3vember_desember".split("_"),monthsShort:"jan_feb_mar_apr_ma\xed_j\xfan_j\xfal_\xe1g\xfa_sep_okt_n\xf3v_des".split("_"),weekdays:"sunnudagur_m\xe1nudagur_\xferi\xf0judagur_mi\xf0vikudagur_fimmtudagur_f\xf6studagur_laugardagur".split("_"),weekdaysShort:"sun_m\xe1n_\xferi_mi\xf0_fim_f\xf6s_lau".split("_"),weekdaysMin:"Su_M\xe1_\xder_Mi_Fi_F\xf6_La".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd, D. MMMM YYYY [kl.] H:mm"},calendar:{sameDay:"[\xed dag kl.] LT",nextDay:"[\xe1 morgun kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[\xed g\xe6r kl.] LT",lastWeek:"[s\xed\xf0asta] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"eftir %s",past:"fyrir %s s\xed\xf0an",s:n,ss:n,m:n,mm:n,h:"klukkustund",hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},BhQr:function(t,e,n){"use strict";n.r(e),n.d(e,"FaqModule",function(){return v});var i=n("SVse"),a=n("PCNd"),r=n("iInd"),o=n("IGtN"),s=n("8Y7J"),l=n("TSSN"),c=n("o4Yh"),d=n("KSFr");function u(t,e){if(1&t&&(s.Tb(0,"mat-expansion-panel-header",5),s.Tb(1,"mat-panel-title"),s.Tb(2,"span",6),s.Hc(3),s.Sb(),s.Sb(),s.Sb()),2&t){const t=s.fc().$implicit;s.Cb(3),s.Ic(t.categorie)}}function h(t,e){if(1&t&&(s.Tb(0,"mat-expansion-panel",3),s.Tb(1,"mat-expansion-panel-header"),s.Tb(2,"mat-panel-title",7),s.Tb(3,"span",8),s.Hc(4),s.Sb(),s.Sb(),s.Sb(),s.Ob(5,"div",9),s.gc(6,"safeHtml"),s.Sb()),2&t){const t=e.$implicit,n=s.fc(2);s.nc("expanded",t===n.expandFaq),s.Cb(2),s.oc("id",t.ancre),s.Cb(2),s.Ic(t.question),s.Cb(1),s.nc("innerHTML",s.hc(6,4,t.response),s.zc)}}function m(t,e){if(1&t&&(s.Tb(0,"mat-expansion-panel",3),s.Fc(1,u,4,1,"mat-expansion-panel-header",4),s.Tb(2,"mat-accordion",1),s.Fc(3,h,7,6,"mat-expansion-panel",2),s.Sb(),s.Sb()),2&t){const t=e.$implicit;s.nc("expanded",!0),s.Cb(1),s.nc("ngIf",0!==t.faqList.length),s.Cb(2),s.nc("ngForOf",t.faqList)}}let p=(()=>{class t extends o.a{constructor(t,e,n){super(t),this.translateService=t,this.route=e,this.viewportScroller=n,this.categories=new Array}load(){this.route.data.subscribe(t=>{this.categories=t.categories,setTimeout(()=>{this.route.fragment.subscribe(t=>{t&&(this.viewportScroller.scrollToAnchor(t),this.categories.forEach(e=>{e.faqList&&e.faqList.forEach(e=>{e.ancre===t&&(this.expandFaq=e)})}))})})})}}return t.\u0275fac=function(e){return new(e||t)(s.Nb(l.d),s.Nb(r.a),s.Nb(i.u))},t.\u0275cmp=s.Hb({type:t,selectors:[["app-page-faq"]],features:[s.zb],decls:6,vars:4,consts:[["id","faq",1,"content"],["multi","true"],[3,"expanded",4,"ngFor","ngForOf"],[3,"expanded"],["class","categorie-panel-header",4,"ngIf"],[1,"categorie-panel-header"],[1,"categorie"],[3,"id"],[1,"faq-title"],[1,"faq-content","ql-editor",3,"innerHTML"]],template:function(t,e){1&t&&(s.Tb(0,"div",0),s.Tb(1,"h1"),s.Hc(2),s.gc(3,"translate"),s.Sb(),s.Tb(4,"mat-accordion",1),s.Fc(5,m,4,3,"mat-expansion-panel",2),s.Sb(),s.Sb()),2&t&&(s.Cb(2),s.Ic(s.hc(3,2,"faq.titre")),s.Cb(3),s.nc("ngForOf",e.categories))},directives:[c.a,i.k,c.c,i.l,c.e,c.f],pipes:[l.c,d.a],styles:["@-webkit-keyframes cdk-text-field-autofill-start{\n /*!*/}@-webkit-keyframes cdk-text-field-autofill-end{\n /*!*/}.mat-badge-content{font-weight:600;font-size:12px;font-family:Roboto,Helvetica Neue,sans-serif}.mat-badge-small .mat-badge-content{font-size:9px}.mat-badge-large .mat-badge-content{font-size:24px}.mat-h1,.mat-headline,.mat-typography h1{font:400 24px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h2,.mat-title,.mat-typography h2{font:500 20px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h3,.mat-subheading-2,.mat-typography h3{font:400 16px/28px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h4,.mat-subheading-1,.mat-typography h4{font:400 15px/24px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h5,.mat-typography h5{font:400 calc(14px * .83)/20px Roboto,Helvetica Neue,sans-serif;margin:0 0 12px}.mat-h6,.mat-typography h6{font:400 calc(14px * .67)/20px Roboto,Helvetica Neue,sans-serif;margin:0 0 12px}.mat-body-2,.mat-body-strong{font:500 14px/24px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-body,.mat-body-1,.mat-typography{font:400 14px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-body-1 p,.mat-body p,.mat-typography p{margin:0 0 12px}.mat-caption,.mat-small{font:400 12px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-display-4,.mat-typography .mat-display-4{font:300 112px/112px Roboto,Helvetica Neue,sans-serif;letter-spacing:-.05em;margin:0 0 56px}.mat-display-3,.mat-typography .mat-display-3{font:400 56px/56px Roboto,Helvetica Neue,sans-serif;letter-spacing:-.02em;margin:0 0 64px}.mat-display-2,.mat-typography .mat-display-2{font:400 45px/48px Roboto,Helvetica Neue,sans-serif;letter-spacing:-.005em;margin:0 0 64px}.mat-display-1,.mat-typography .mat-display-1{font:400 34px/40px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 64px}.mat-bottom-sheet-container{font:400 14px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-button,.mat-fab,.mat-flat-button,.mat-icon-button,.mat-mini-fab,.mat-raised-button,.mat-stroked-button{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:500}.mat-button-toggle,.mat-card{font-family:Roboto,Helvetica Neue,sans-serif}.mat-card-title{font-size:24px;font-weight:500}.mat-card-header .mat-card-title{font-size:20px}.mat-card-content,.mat-card-subtitle{font-size:14px}.mat-checkbox{font-family:Roboto,Helvetica Neue,sans-serif}.mat-checkbox-layout .mat-checkbox-label{line-height:24px}.mat-chip{font-size:14px;font-weight:500}.mat-chip .mat-chip-remove.mat-icon,.mat-chip .mat-chip-trailing-icon.mat-icon{font-size:18px}.mat-table{font-family:Roboto,Helvetica Neue,sans-serif}.mat-header-cell{font-size:12px;font-weight:500}.mat-cell,.mat-footer-cell{font-size:14px}.mat-calendar{font-family:Roboto,Helvetica Neue,sans-serif}.mat-calendar-body{font-size:13px}.mat-calendar-body-label,.mat-calendar-period-button{font-size:14px;font-weight:500}.mat-calendar-table-header th{font-size:11px;font-weight:400}.mat-dialog-title{font:500 20px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-expansion-panel-header{font-family:Roboto,Helvetica Neue,sans-serif;font-size:15px;font-weight:400}.mat-expansion-panel-content{font:400 14px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-form-field{font-size:inherit;font-weight:400;line-height:1.125;font-family:Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-form-field-wrapper{padding-bottom:1.34375em}.mat-form-field-prefix .mat-icon,.mat-form-field-suffix .mat-icon{font-size:150%;line-height:1.125}.mat-form-field-prefix .mat-icon-button,.mat-form-field-suffix .mat-icon-button{height:1.5em;width:1.5em}.mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field-suffix .mat-icon-button .mat-icon{height:1.125em;line-height:1.125}.mat-form-field-infix{padding:.5em 0;border-top:.84375em solid rgba(0,0,0,0)}.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label{-ms-transform:translateY(-1.34375em) scale(.75);transform:translateY(-1.34375em) scale(.75);width:133.3333333333%}.mat-form-field-can-float .mat-input-server[label]:not(:label-shown)+.mat-form-field-label-wrapper .mat-form-field-label{-ms-transform:translateY(-1.34374em) scale(.75);transform:translateY(-1.34374em) scale(.75);width:133.3333433333%}.mat-form-field-label-wrapper{top:-.84375em;padding-top:.84375em}.mat-form-field-label{top:1.34375em}.mat-form-field-underline{bottom:1.34375em}.mat-form-field-subscript-wrapper{font-size:75%;margin-top:.6666666667em;top:calc(100% - 1.7916666667em)}.mat-form-field-appearance-legacy .mat-form-field-wrapper{padding-bottom:1.25em}.mat-form-field-appearance-legacy .mat-form-field-infix{padding:.4375em 0}.mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.001px);-ms-transform:translateY(-1.28125em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00101px);-ms-transform:translateY(-1.28124em) scale(.75);width:133.3333433333%}.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-input-server[label]:not(:label-shown)+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00102px);-ms-transform:translateY(-1.28123em) scale(.75);width:133.3333533333%}.mat-form-field-appearance-legacy .mat-form-field-label{top:1.28125em}.mat-form-field-appearance-legacy .mat-form-field-underline{bottom:1.25em}.mat-form-field-appearance-legacy .mat-form-field-subscript-wrapper{margin-top:.5416666667em;top:calc(100% - 1.6666666667em)}@media print{.mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label{-ms-transform:translateY(-1.28122em) scale(.75);transform:translateY(-1.28122em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.28121em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-input-server[label]:not(:label-shown)+.mat-form-field-label-wrapper .mat-form-field-label{-ms-transform:translateY(-1.2812em) scale(.75);transform:translateY(-1.2812em) scale(.75)}}.mat-form-field-appearance-fill .mat-form-field-infix{padding:.25em 0 .75em}.mat-form-field-appearance-fill .mat-form-field-label{top:1.09375em;margin-top:-.5em}.mat-form-field-appearance-fill.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-appearance-fill.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label{-ms-transform:translateY(-.59375em) scale(.75);transform:translateY(-.59375em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-fill.mat-form-field-can-float .mat-input-server[label]:not(:label-shown)+.mat-form-field-label-wrapper .mat-form-field-label{-ms-transform:translateY(-.59374em) scale(.75);transform:translateY(-.59374em) scale(.75);width:133.3333433333%}.mat-form-field-appearance-outline .mat-form-field-infix{padding:1em 0}.mat-form-field-appearance-outline .mat-form-field-label{top:1.84375em;margin-top:-.25em}.mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-appearance-outline.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label{-ms-transform:translateY(-1.59375em) scale(.75);transform:translateY(-1.59375em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-outline.mat-form-field-can-float .mat-input-server[label]:not(:label-shown)+.mat-form-field-label-wrapper .mat-form-field-label{-ms-transform:translateY(-1.59374em) scale(.75);transform:translateY(-1.59374em) scale(.75);width:133.3333433333%}.mat-grid-tile-footer,.mat-grid-tile-header{font-size:14px}.mat-grid-tile-footer .mat-line,.mat-grid-tile-header .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-grid-tile-footer .mat-line:nth-child(n+2),.mat-grid-tile-header .mat-line:nth-child(n+2){font-size:12px}input.mat-input-element{margin-top:-.0625em}.mat-menu-item{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:400}.mat-paginator,.mat-paginator-page-size .mat-select-trigger{font-family:Roboto,Helvetica Neue,sans-serif;font-size:12px}.mat-radio-button,.mat-select{font-family:Roboto,Helvetica Neue,sans-serif}.mat-select-trigger{height:1.125em}.mat-slide-toggle-content,.mat-slider-thumb-label-text{font-family:Roboto,Helvetica Neue,sans-serif}.mat-slider-thumb-label-text{font-size:12px;font-weight:500}.mat-stepper-horizontal,.mat-stepper-vertical{font-family:Roboto,Helvetica Neue,sans-serif}.mat-step-label{font-size:14px;font-weight:400}.mat-step-sub-label-error{font-weight:400}.mat-step-label-error{font-size:14px}.mat-step-label-selected{font-size:14px;font-weight:500}.mat-tab-group,.mat-tab-label,.mat-tab-link{font-family:Roboto,Helvetica Neue,sans-serif}.mat-tab-label,.mat-tab-link{font-size:14px;font-weight:500}.mat-toolbar,.mat-toolbar h1,.mat-toolbar h2,.mat-toolbar h3,.mat-toolbar h4,.mat-toolbar h5,.mat-toolbar h6{font:500 20px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0}.mat-tooltip{font-family:Roboto,Helvetica Neue,sans-serif;font-size:10px;padding-top:6px;padding-bottom:6px}.mat-tooltip-handset{font-size:14px;padding-top:8px;padding-bottom:8px}.mat-list-item,.mat-list-option{font-family:Roboto,Helvetica Neue,sans-serif}.mat-list-base .mat-list-item{font-size:16px}.mat-list-base .mat-list-item .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base .mat-list-item .mat-line:nth-child(n+2){font-size:14px}.mat-list-base .mat-list-option{font-size:16px}.mat-list-base .mat-list-option .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base .mat-list-option .mat-line:nth-child(n+2){font-size:14px}.mat-list-base .mat-subheader{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:500}.mat-list-base[dense] .mat-list-item{font-size:12px}.mat-list-base[dense] .mat-list-item .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[dense] .mat-list-item .mat-line:nth-child(n+2),.mat-list-base[dense] .mat-list-option{font-size:12px}.mat-list-base[dense] .mat-list-option .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[dense] .mat-list-option .mat-line:nth-child(n+2){font-size:12px}.mat-list-base[dense] .mat-subheader{font-family:Roboto,Helvetica Neue,sans-serif;font-size:12px;font-weight:500}.mat-option{font-family:Roboto,Helvetica Neue,sans-serif;font-size:16px}.mat-optgroup-label{font:500 14px/24px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-simple-snackbar{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px}.mat-simple-snackbar-action{line-height:1;font-family:inherit;font-size:inherit;font-weight:500}.mat-tree{font-family:Roboto,Helvetica Neue,sans-serif}.mat-nested-tree-node,.mat-tree-node{font-weight:400;font-size:14px}.mat-ripple{overflow:hidden;position:relative}.mat-ripple:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded{overflow:visible}.mat-ripple-element{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0,0,.2,1);-ms-transform:scale(0);transform:scale(0)}.cdk-high-contrast-active .mat-ripple-element{display:none}.cdk-visually-hidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;outline:0;-webkit-appearance:none;-moz-appearance:none}.cdk-global-overlay-wrapper,.cdk-overlay-container{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed;z-index:1000}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper,.cdk-overlay-pane{display:-ms-flexbox;display:flex;position:absolute;z-index:1000}.cdk-overlay-pane{pointer-events:auto;box-sizing:border-box;max-width:100%;max-height:100%}.cdk-overlay-backdrop{position:absolute;top:0;bottom:0;left:0;right:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:transparent;transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:1}@media screen and (-ms-high-contrast:active){.cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:.6}}.cdk-overlay-dark-backdrop{background:rgba(0,0,0,.32)}.cdk-overlay-transparent-backdrop,.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing{opacity:0}.cdk-overlay-connected-position-bounding-box{position:absolute;z-index:1000;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}@keyframes cdk-text-field-autofill-start{\n /*!*/}@keyframes cdk-text-field-autofill-end{\n /*!*/}.cdk-text-field-autofill-monitored:-webkit-autofill{-webkit-animation:cdk-text-field-autofill-start 0s 1ms;animation:cdk-text-field-autofill-start 0s 1ms}.cdk-text-field-autofill-monitored:not(:-webkit-autofill){-webkit-animation:cdk-text-field-autofill-end 0s 1ms;animation:cdk-text-field-autofill-end 0s 1ms}textarea.cdk-textarea-autosize{resize:none}textarea.cdk-textarea-autosize-measuring{padding:2px 0!important;box-sizing:content-box!important;height:auto!important;overflow:hidden!important}textarea.cdk-textarea-autosize-measuring-firefox{padding:2px 0!important;box-sizing:content-box!important;height:0!important}.mat-focus-indicator,.mat-mdc-focus-indicator{position:relative}.mat-ripple-element{background-color:rgba(0,0,0,.1)}.mat-option{color:rgba(0,0,0,.87)}.mat-option.mat-active,.mat-option.mat-selected:not(.mat-option-multiple):not(.mat-option-disabled),.mat-option:focus:not(.mat-option-disabled),.mat-option:hover:not(.mat-option-disabled){background:rgba(0,0,0,.04)}.mat-option.mat-active{color:rgba(0,0,0,.87)}.mat-option.mat-option-disabled{color:rgba(0,0,0,.38)}.mat-primary .mat-option.mat-selected:not(.mat-option-disabled){color:#004590}.mat-accent .mat-option.mat-selected:not(.mat-option-disabled){color:#009606}.mat-warn .mat-option.mat-selected:not(.mat-option-disabled){color:#e2001d}.mat-optgroup-label{color:rgba(0,0,0,.54)}.mat-optgroup-disabled .mat-optgroup-label{color:rgba(0,0,0,.38)}.mat-pseudo-checkbox{color:rgba(0,0,0,.54)}.mat-pseudo-checkbox:after{color:#fafafa}.mat-pseudo-checkbox-disabled{color:#b0b0b0}.mat-primary .mat-pseudo-checkbox-checked,.mat-primary .mat-pseudo-checkbox-indeterminate{background:#004590}.mat-accent .mat-pseudo-checkbox-checked,.mat-accent .mat-pseudo-checkbox-indeterminate,.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-indeterminate{background:#009606}.mat-warn .mat-pseudo-checkbox-checked,.mat-warn .mat-pseudo-checkbox-indeterminate{background:#e2001d}.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background:#b0b0b0}.mat-app-background{background-color:#fafafa;color:rgba(0,0,0,.87)}.mat-elevation-z0{box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-elevation-z1{box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12)}.mat-elevation-z2{box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.mat-elevation-z3{box-shadow:0 3px 3px -2px rgba(0,0,0,.2),0 3px 4px 0 rgba(0,0,0,.14),0 1px 8px 0 rgba(0,0,0,.12)}.mat-elevation-z4{box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.mat-elevation-z5{box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 5px 8px 0 rgba(0,0,0,.14),0 1px 14px 0 rgba(0,0,0,.12)}.mat-elevation-z6{box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.mat-elevation-z7{box-shadow:0 4px 5px -2px rgba(0,0,0,.2),0 7px 10px 1px rgba(0,0,0,.14),0 2px 16px 1px rgba(0,0,0,.12)}.mat-elevation-z8{box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}.mat-elevation-z9{box-shadow:0 5px 6px -3px rgba(0,0,0,.2),0 9px 12px 1px rgba(0,0,0,.14),0 3px 16px 2px rgba(0,0,0,.12)}.mat-elevation-z10{box-shadow:0 6px 6px -3px rgba(0,0,0,.2),0 10px 14px 1px rgba(0,0,0,.14),0 4px 18px 3px rgba(0,0,0,.12)}.mat-elevation-z11{box-shadow:0 6px 7px -4px rgba(0,0,0,.2),0 11px 15px 1px rgba(0,0,0,.14),0 4px 20px 3px rgba(0,0,0,.12)}.mat-elevation-z12{box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 12px 17px 2px rgba(0,0,0,.14),0 5px 22px 4px rgba(0,0,0,.12)}.mat-elevation-z13{box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 13px 19px 2px rgba(0,0,0,.14),0 5px 24px 4px rgba(0,0,0,.12)}.mat-elevation-z14{box-shadow:0 7px 9px -4px rgba(0,0,0,.2),0 14px 21px 2px rgba(0,0,0,.14),0 5px 26px 4px rgba(0,0,0,.12)}.mat-elevation-z15{box-shadow:0 8px 9px -5px rgba(0,0,0,.2),0 15px 22px 2px rgba(0,0,0,.14),0 6px 28px 5px rgba(0,0,0,.12)}.mat-elevation-z16{box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12)}.mat-elevation-z17{box-shadow:0 8px 11px -5px rgba(0,0,0,.2),0 17px 26px 2px rgba(0,0,0,.14),0 6px 32px 5px rgba(0,0,0,.12)}.mat-elevation-z18{box-shadow:0 9px 11px -5px rgba(0,0,0,.2),0 18px 28px 2px rgba(0,0,0,.14),0 7px 34px 6px rgba(0,0,0,.12)}.mat-elevation-z19{box-shadow:0 9px 12px -6px rgba(0,0,0,.2),0 19px 29px 2px rgba(0,0,0,.14),0 7px 36px 6px rgba(0,0,0,.12)}.mat-elevation-z20{box-shadow:0 10px 13px -6px rgba(0,0,0,.2),0 20px 31px 3px rgba(0,0,0,.14),0 8px 38px 7px rgba(0,0,0,.12)}.mat-elevation-z21{box-shadow:0 10px 13px -6px rgba(0,0,0,.2),0 21px 33px 3px rgba(0,0,0,.14),0 8px 40px 7px rgba(0,0,0,.12)}.mat-elevation-z22{box-shadow:0 10px 14px -6px rgba(0,0,0,.2),0 22px 35px 3px rgba(0,0,0,.14),0 8px 42px 7px rgba(0,0,0,.12)}.mat-elevation-z23{box-shadow:0 11px 14px -7px rgba(0,0,0,.2),0 23px 36px 3px rgba(0,0,0,.14),0 9px 44px 8px rgba(0,0,0,.12)}.mat-elevation-z24{box-shadow:0 11px 15px -7px rgba(0,0,0,.2),0 24px 38px 3px rgba(0,0,0,.14),0 9px 46px 8px rgba(0,0,0,.12)}.mat-theme-loaded-marker{display:none}.mat-autocomplete-panel{background:#fff;color:rgba(0,0,0,.87)}.mat-autocomplete-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.mat-autocomplete-panel .mat-option.mat-selected:not(.mat-active):not(:hover){background:#fff}.mat-autocomplete-panel .mat-option.mat-selected:not(.mat-active):not(:hover):not(.mat-option-disabled){color:rgba(0,0,0,.87)}.mat-badge-content{color:#fff;background:#004590}.cdk-high-contrast-active .mat-badge-content{outline:1px solid;border-radius:0}.mat-badge-accent .mat-badge-content{background:#009606;color:#fff}.mat-badge-warn .mat-badge-content{color:#fff;background:#e2001d}.mat-badge{position:relative}.mat-badge-hidden .mat-badge-content{display:none}.mat-badge-disabled .mat-badge-content{background:#b9b9b9;color:rgba(0,0,0,.38)}.mat-badge-content{position:absolute;text-align:center;display:inline-block;border-radius:50%;transition:transform .2s ease-in-out;-ms-transform:scale(.6);transform:scale(.6);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;pointer-events:none}.mat-badge-content._mat-animation-noopable,.ng-animate-disabled .mat-badge-content{transition:none}.mat-badge-content.mat-badge-active{-ms-transform:none;transform:none}.mat-badge-small .mat-badge-content{width:16px;height:16px;line-height:16px}.mat-badge-small.mat-badge-above .mat-badge-content{top:-8px}.mat-badge-small.mat-badge-below .mat-badge-content{bottom:-8px}.mat-badge-small.mat-badge-before .mat-badge-content{left:-16px}[dir=rtl] .mat-badge-small.mat-badge-before .mat-badge-content{left:auto;right:-16px}.mat-badge-small.mat-badge-after .mat-badge-content{right:-16px}[dir=rtl] .mat-badge-small.mat-badge-after .mat-badge-content{right:auto;left:-16px}.mat-badge-small.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-8px}[dir=rtl] .mat-badge-small.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-8px}.mat-badge-small.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-8px}[dir=rtl] .mat-badge-small.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-8px}.mat-badge-medium .mat-badge-content{width:22px;height:22px;line-height:22px}.mat-badge-medium.mat-badge-above .mat-badge-content{top:-11px}.mat-badge-medium.mat-badge-below .mat-badge-content{bottom:-11px}.mat-badge-medium.mat-badge-before .mat-badge-content{left:-22px}[dir=rtl] .mat-badge-medium.mat-badge-before .mat-badge-content{left:auto;right:-22px}.mat-badge-medium.mat-badge-after .mat-badge-content{right:-22px}[dir=rtl] .mat-badge-medium.mat-badge-after .mat-badge-content{right:auto;left:-22px}.mat-badge-medium.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-11px}[dir=rtl] .mat-badge-medium.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-11px}.mat-badge-medium.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-11px}[dir=rtl] .mat-badge-medium.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-11px}.mat-badge-large .mat-badge-content{width:28px;height:28px;line-height:28px}.mat-badge-large.mat-badge-above .mat-badge-content{top:-14px}.mat-badge-large.mat-badge-below .mat-badge-content{bottom:-14px}.mat-badge-large.mat-badge-before .mat-badge-content{left:-28px}[dir=rtl] .mat-badge-large.mat-badge-before .mat-badge-content{left:auto;right:-28px}.mat-badge-large.mat-badge-after .mat-badge-content{right:-28px}[dir=rtl] .mat-badge-large.mat-badge-after .mat-badge-content{right:auto;left:-28px}.mat-badge-large.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-14px}[dir=rtl] .mat-badge-large.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-14px}.mat-badge-large.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-14px}[dir=rtl] .mat-badge-large.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-14px}.mat-bottom-sheet-container{box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12);background:#fff;color:rgba(0,0,0,.87)}.mat-button,.mat-icon-button,.mat-stroked-button{color:inherit;background:rgba(0,0,0,0)}.mat-button.mat-primary,.mat-icon-button.mat-primary,.mat-stroked-button.mat-primary{color:#004590}.mat-button.mat-accent,.mat-icon-button.mat-accent,.mat-stroked-button.mat-accent{color:#009606}.mat-button.mat-warn,.mat-icon-button.mat-warn,.mat-stroked-button.mat-warn{color:#e2001d}.mat-button.mat-accent.mat-button-disabled,.mat-button.mat-button-disabled.mat-button-disabled,.mat-button.mat-primary.mat-button-disabled,.mat-button.mat-warn.mat-button-disabled,.mat-icon-button.mat-accent.mat-button-disabled,.mat-icon-button.mat-button-disabled.mat-button-disabled,.mat-icon-button.mat-primary.mat-button-disabled,.mat-icon-button.mat-warn.mat-button-disabled,.mat-stroked-button.mat-accent.mat-button-disabled,.mat-stroked-button.mat-button-disabled.mat-button-disabled,.mat-stroked-button.mat-primary.mat-button-disabled,.mat-stroked-button.mat-warn.mat-button-disabled{color:rgba(0,0,0,.26)}.mat-button.mat-primary .mat-button-focus-overlay,.mat-icon-button.mat-primary .mat-button-focus-overlay,.mat-stroked-button.mat-primary .mat-button-focus-overlay{background-color:#004590}.mat-button.mat-accent .mat-button-focus-overlay,.mat-icon-button.mat-accent .mat-button-focus-overlay,.mat-stroked-button.mat-accent .mat-button-focus-overlay{background-color:#009606}.mat-button.mat-warn .mat-button-focus-overlay,.mat-icon-button.mat-warn .mat-button-focus-overlay,.mat-stroked-button.mat-warn .mat-button-focus-overlay{background-color:#e2001d}.mat-button.mat-button-disabled .mat-button-focus-overlay,.mat-icon-button.mat-button-disabled .mat-button-focus-overlay,.mat-stroked-button.mat-button-disabled .mat-button-focus-overlay{background-color:rgba(0,0,0,0)}.mat-button .mat-ripple-element,.mat-icon-button .mat-ripple-element,.mat-stroked-button .mat-ripple-element{opacity:.1;background-color:currentColor}.mat-button-focus-overlay{background:#000}.mat-stroked-button:not(.mat-button-disabled){border-color:rgba(0,0,0,.12)}.mat-fab,.mat-flat-button,.mat-mini-fab,.mat-raised-button{color:rgba(0,0,0,.87);background-color:#fff}.mat-fab.mat-accent,.mat-fab.mat-primary,.mat-fab.mat-warn,.mat-flat-button.mat-accent,.mat-flat-button.mat-primary,.mat-flat-button.mat-warn,.mat-mini-fab.mat-accent,.mat-mini-fab.mat-primary,.mat-mini-fab.mat-warn,.mat-raised-button.mat-accent,.mat-raised-button.mat-primary,.mat-raised-button.mat-warn{color:#fff}.mat-fab.mat-accent.mat-button-disabled,.mat-fab.mat-button-disabled.mat-button-disabled,.mat-fab.mat-primary.mat-button-disabled,.mat-fab.mat-warn.mat-button-disabled,.mat-flat-button.mat-accent.mat-button-disabled,.mat-flat-button.mat-button-disabled.mat-button-disabled,.mat-flat-button.mat-primary.mat-button-disabled,.mat-flat-button.mat-warn.mat-button-disabled,.mat-mini-fab.mat-accent.mat-button-disabled,.mat-mini-fab.mat-button-disabled.mat-button-disabled,.mat-mini-fab.mat-primary.mat-button-disabled,.mat-mini-fab.mat-warn.mat-button-disabled,.mat-raised-button.mat-accent.mat-button-disabled,.mat-raised-button.mat-button-disabled.mat-button-disabled,.mat-raised-button.mat-primary.mat-button-disabled,.mat-raised-button.mat-warn.mat-button-disabled{color:rgba(0,0,0,.26)}.mat-fab.mat-primary,.mat-flat-button.mat-primary,.mat-mini-fab.mat-primary,.mat-raised-button.mat-primary{background-color:#004590}.mat-fab.mat-accent,.mat-flat-button.mat-accent,.mat-mini-fab.mat-accent,.mat-raised-button.mat-accent{background-color:#009606}.mat-fab.mat-warn,.mat-flat-button.mat-warn,.mat-mini-fab.mat-warn,.mat-raised-button.mat-warn{background-color:#e2001d}.mat-fab.mat-accent.mat-button-disabled,.mat-fab.mat-button-disabled.mat-button-disabled,.mat-fab.mat-primary.mat-button-disabled,.mat-fab.mat-warn.mat-button-disabled,.mat-flat-button.mat-accent.mat-button-disabled,.mat-flat-button.mat-button-disabled.mat-button-disabled,.mat-flat-button.mat-primary.mat-button-disabled,.mat-flat-button.mat-warn.mat-button-disabled,.mat-mini-fab.mat-accent.mat-button-disabled,.mat-mini-fab.mat-button-disabled.mat-button-disabled,.mat-mini-fab.mat-primary.mat-button-disabled,.mat-mini-fab.mat-warn.mat-button-disabled,.mat-raised-button.mat-accent.mat-button-disabled,.mat-raised-button.mat-button-disabled.mat-button-disabled,.mat-raised-button.mat-primary.mat-button-disabled,.mat-raised-button.mat-warn.mat-button-disabled{background-color:rgba(0,0,0,.12)}.mat-fab.mat-accent .mat-ripple-element,.mat-fab.mat-primary .mat-ripple-element,.mat-fab.mat-warn .mat-ripple-element,.mat-flat-button.mat-accent .mat-ripple-element,.mat-flat-button.mat-primary .mat-ripple-element,.mat-flat-button.mat-warn .mat-ripple-element,.mat-mini-fab.mat-accent .mat-ripple-element,.mat-mini-fab.mat-primary .mat-ripple-element,.mat-mini-fab.mat-warn .mat-ripple-element,.mat-raised-button.mat-accent .mat-ripple-element,.mat-raised-button.mat-primary .mat-ripple-element,.mat-raised-button.mat-warn .mat-ripple-element{background-color:hsla(0,0%,100%,.1)}.mat-flat-button:not([class*=mat-elevation-z]),.mat-stroked-button:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-raised-button:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.mat-raised-button:not(.mat-button-disabled):active:not([class*=mat-elevation-z]){box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}.mat-raised-button.mat-button-disabled:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-fab:not([class*=mat-elevation-z]),.mat-mini-fab:not([class*=mat-elevation-z]){box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.mat-fab:not(.mat-button-disabled):active:not([class*=mat-elevation-z]),.mat-mini-fab:not(.mat-button-disabled):active:not([class*=mat-elevation-z]){box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 12px 17px 2px rgba(0,0,0,.14),0 5px 22px 4px rgba(0,0,0,.12)}.mat-fab.mat-button-disabled:not([class*=mat-elevation-z]),.mat-mini-fab.mat-button-disabled:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-button-toggle-group,.mat-button-toggle-standalone{box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.mat-button-toggle-group-appearance-standard,.mat-button-toggle-standalone.mat-button-toggle-appearance-standard{box-shadow:none}.mat-button-toggle{color:rgba(0,0,0,.38)}.mat-button-toggle .mat-button-toggle-focus-overlay{background-color:rgba(0,0,0,.12)}.mat-button-toggle-appearance-standard{color:rgba(0,0,0,.87);background:#fff}.mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay{background-color:#000}.mat-button-toggle-group-appearance-standard .mat-button-toggle+.mat-button-toggle{border-left:1px solid rgba(0,0,0,.12)}[dir=rtl] .mat-button-toggle-group-appearance-standard .mat-button-toggle+.mat-button-toggle{border-left:none;border-right:1px solid rgba(0,0,0,.12)}.mat-button-toggle-group-appearance-standard.mat-button-toggle-vertical .mat-button-toggle+.mat-button-toggle{border-left:none;border-right:none;border-top:1px solid rgba(0,0,0,.12)}.mat-button-toggle-checked{background-color:#e0e0e0;color:rgba(0,0,0,.54)}.mat-button-toggle-checked.mat-button-toggle-appearance-standard{color:rgba(0,0,0,.87)}.mat-button-toggle-disabled{color:rgba(0,0,0,.26);background-color:#eee}.mat-button-toggle-disabled.mat-button-toggle-appearance-standard{background:#fff}.mat-button-toggle-disabled.mat-button-toggle-checked{background-color:#bdbdbd}.mat-button-toggle-group-appearance-standard,.mat-button-toggle-standalone.mat-button-toggle-appearance-standard{border:1px solid rgba(0,0,0,.12)}.mat-button-toggle-appearance-standard .mat-button-toggle-label-content{line-height:48px}.mat-card{background:#fff;color:rgba(0,0,0,.87)}.mat-card:not([class*=mat-elevation-z]){box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12)}.mat-card.mat-card-flat:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-card-subtitle{color:rgba(0,0,0,.54)}.mat-checkbox-frame{border-color:rgba(0,0,0,.54)}.mat-checkbox-checkmark{fill:#fafafa}.mat-checkbox-checkmark-path{stroke:#fafafa!important}.mat-checkbox-mixedmark{background-color:#fafafa}.mat-checkbox-checked.mat-primary .mat-checkbox-background,.mat-checkbox-indeterminate.mat-primary .mat-checkbox-background{background-color:#004590}.mat-checkbox-checked.mat-accent .mat-checkbox-background,.mat-checkbox-indeterminate.mat-accent .mat-checkbox-background{background-color:#009606}.mat-checkbox-checked.mat-warn .mat-checkbox-background,.mat-checkbox-indeterminate.mat-warn .mat-checkbox-background{background-color:#e2001d}.mat-checkbox-disabled.mat-checkbox-checked .mat-checkbox-background,.mat-checkbox-disabled.mat-checkbox-indeterminate .mat-checkbox-background{background-color:#b0b0b0}.mat-checkbox-disabled:not(.mat-checkbox-checked) .mat-checkbox-frame{border-color:#b0b0b0}.mat-checkbox-disabled .mat-checkbox-label{color:rgba(0,0,0,.54)}.mat-checkbox .mat-ripple-element{background-color:#000}.mat-checkbox-checked:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element,.mat-checkbox:active:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element{background:#004590}.mat-checkbox-checked:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element,.mat-checkbox:active:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element{background:#009606}.mat-checkbox-checked:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element,.mat-checkbox:active:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element{background:#e2001d}.mat-chip.mat-standard-chip{background-color:#e0e0e0;color:rgba(0,0,0,.87)}.mat-chip.mat-standard-chip .mat-chip-remove{color:rgba(0,0,0,.87);opacity:.4}.mat-chip.mat-standard-chip:not(.mat-chip-disabled):active{box-shadow:0 3px 3px -2px rgba(0,0,0,.2),0 3px 4px 0 rgba(0,0,0,.14),0 1px 8px 0 rgba(0,0,0,.12)}.mat-chip.mat-standard-chip:not(.mat-chip-disabled) .mat-chip-remove:hover{opacity:.54}.mat-chip.mat-standard-chip.mat-chip-disabled{opacity:.4}.mat-chip.mat-standard-chip:after{background:#000}.mat-chip.mat-standard-chip.mat-chip-selected.mat-primary{background-color:#004590;color:#fff}.mat-chip.mat-standard-chip.mat-chip-selected.mat-primary .mat-chip-remove{color:#fff;opacity:.4}.mat-chip.mat-standard-chip.mat-chip-selected.mat-primary .mat-ripple-element{background-color:hsla(0,0%,100%,.1)}.mat-chip.mat-standard-chip.mat-chip-selected.mat-warn{background-color:#e2001d;color:#fff}.mat-chip.mat-standard-chip.mat-chip-selected.mat-warn .mat-chip-remove{color:#fff;opacity:.4}.mat-chip.mat-standard-chip.mat-chip-selected.mat-warn .mat-ripple-element{background-color:hsla(0,0%,100%,.1)}.mat-chip.mat-standard-chip.mat-chip-selected.mat-accent{background-color:#009606;color:#fff}.mat-chip.mat-standard-chip.mat-chip-selected.mat-accent .mat-chip-remove{color:#fff;opacity:.4}.mat-chip.mat-standard-chip.mat-chip-selected.mat-accent .mat-ripple-element{background-color:hsla(0,0%,100%,.1)}.mat-table{background:#fff}.mat-table-sticky,.mat-table tbody,.mat-table tfoot,.mat-table thead,[mat-footer-row],[mat-header-row],[mat-row],mat-footer-row,mat-header-row,mat-row{background:inherit}mat-footer-row,mat-header-row,mat-row,td.mat-cell,td.mat-footer-cell,th.mat-header-cell{border-bottom-color:rgba(0,0,0,.12)}.mat-header-cell{color:rgba(0,0,0,.54)}.mat-cell,.mat-footer-cell{color:rgba(0,0,0,.87)}.mat-calendar-arrow{border-top-color:rgba(0,0,0,.54)}.mat-datepicker-content .mat-calendar-next-button,.mat-datepicker-content .mat-calendar-previous-button,.mat-datepicker-toggle{color:rgba(0,0,0,.54)}.mat-calendar-table-header{color:rgba(0,0,0,.38)}.mat-calendar-table-header-divider:after{background:rgba(0,0,0,.12)}.mat-calendar-body-label{color:rgba(0,0,0,.54)}.mat-calendar-body-cell-content,.mat-date-range-input-separator{color:rgba(0,0,0,.87);border-color:rgba(0,0,0,0)}.mat-calendar-body-disabled>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.mat-form-field-disabled .mat-date-range-input-separator{color:rgba(0,0,0,.38)}.mat-calendar-body-in-preview{color:rgba(0,0,0,.24)}.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:rgba(0,0,0,.38)}.mat-calendar-body-disabled>.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:rgba(0,0,0,.18)}.mat-calendar-body-in-range:before{background:rgba(0,69,144,.2)}.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.mat-calendar-body-comparison-bridge-start:before,[dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(90deg,rgba(0,69,144,.2) 50%,rgba(249,171,0,.2) 0)}.mat-calendar-body-comparison-bridge-end:before,[dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(270deg,rgba(0,69,144,.2) 50%,rgba(249,171,0,.2) 0)}.mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after,.mat-calendar-body-in-range>.mat-calendar-body-comparison-identical{background:#a8dab5}.mat-calendar-body-comparison-identical.mat-calendar-body-selected,.mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.mat-calendar-body-selected{background-color:#004590;color:#fff}.mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:rgba(0,69,144,.4)}.mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:rgba(0,69,144,.3)}.mat-datepicker-content{box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12);background-color:#fff;color:rgba(0,0,0,.87)}.mat-datepicker-content.mat-accent .mat-calendar-body-in-range:before{background:rgba(0,150,6,.2)}.mat-datepicker-content.mat-accent .mat-calendar-body-comparison-identical,.mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.mat-datepicker-content.mat-accent .mat-calendar-body-comparison-bridge-start:before,.mat-datepicker-content.mat-accent [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(90deg,rgba(0,150,6,.2) 50%,rgba(249,171,0,.2) 0)}.mat-datepicker-content.mat-accent .mat-calendar-body-comparison-bridge-end:before,.mat-datepicker-content.mat-accent [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(270deg,rgba(0,150,6,.2) 50%,rgba(249,171,0,.2) 0)}.mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after,.mat-datepicker-content.mat-accent .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical{background:#a8dab5}.mat-datepicker-content.mat-accent .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.mat-datepicker-content.mat-accent .mat-calendar-body-selected{background-color:#009606;color:#fff}.mat-datepicker-content.mat-accent .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:rgba(0,150,6,.4)}.mat-datepicker-content.mat-accent .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.mat-datepicker-content.mat-accent .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.mat-datepicker-content.mat-accent .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.mat-datepicker-content.mat-accent .mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:rgba(0,150,6,.3)}.mat-datepicker-content.mat-warn .mat-calendar-body-in-range:before{background:rgba(226,0,29,.2)}.mat-datepicker-content.mat-warn .mat-calendar-body-comparison-identical,.mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.mat-datepicker-content.mat-warn .mat-calendar-body-comparison-bridge-start:before,.mat-datepicker-content.mat-warn [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(90deg,rgba(226,0,29,.2) 50%,rgba(249,171,0,.2) 0)}.mat-datepicker-content.mat-warn .mat-calendar-body-comparison-bridge-end:before,.mat-datepicker-content.mat-warn [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(270deg,rgba(226,0,29,.2) 50%,rgba(249,171,0,.2) 0)}.mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after,.mat-datepicker-content.mat-warn .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical{background:#a8dab5}.mat-datepicker-content.mat-warn .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.mat-datepicker-content.mat-warn .mat-calendar-body-selected{background-color:#e2001d;color:#fff}.mat-datepicker-content.mat-warn .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:rgba(226,0,29,.4)}.mat-datepicker-content.mat-warn .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.mat-datepicker-content.mat-warn .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.mat-datepicker-content.mat-warn .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.mat-datepicker-content.mat-warn .mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:rgba(226,0,29,.3)}.mat-datepicker-content-touch{box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-datepicker-toggle-active{color:#004590}.mat-datepicker-toggle-active.mat-accent{color:#009606}.mat-datepicker-toggle-active.mat-warn{color:#e2001d}.mat-date-range-input-inner[disabled]{color:rgba(0,0,0,.38)}.mat-dialog-container{box-shadow:0 11px 15px -7px rgba(0,0,0,.2),0 24px 38px 3px rgba(0,0,0,.14),0 9px 46px 8px rgba(0,0,0,.12);background:#fff;color:rgba(0,0,0,.87)}.mat-divider{border-top-color:rgba(0,0,0,.12)}.mat-divider-vertical{border-right-color:rgba(0,0,0,.12)}.mat-expansion-panel{background:#fff;color:rgba(0,0,0,.87)}.mat-expansion-panel:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.mat-action-row{border-top-color:rgba(0,0,0,.12)}.mat-expansion-panel .mat-expansion-panel-header.cdk-keyboard-focused:not([aria-disabled=true]),.mat-expansion-panel .mat-expansion-panel-header.cdk-program-focused:not([aria-disabled=true]),.mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:hover:not([aria-disabled=true]){background:rgba(0,0,0,.04)}@media (hover:none){.mat-expansion-panel:not(.mat-expanded):not([aria-disabled=true]) .mat-expansion-panel-header:hover{background:#fff}}.mat-expansion-panel-header-title{color:rgba(0,0,0,.87)}.mat-expansion-indicator:after,.mat-expansion-panel-header-description{color:rgba(0,0,0,.54)}.mat-expansion-panel-header[aria-disabled=true]{color:rgba(0,0,0,.26)}.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-description,.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-title{color:inherit}.mat-expansion-panel-header{height:48px}.mat-expansion-panel-header.mat-expanded{height:64px}.mat-form-field-label,.mat-hint{color:rgba(0,0,0,.6)}.mat-form-field.mat-focused .mat-form-field-label{color:#004590}.mat-form-field.mat-focused .mat-form-field-label.mat-accent{color:#009606}.mat-form-field.mat-focused .mat-form-field-label.mat-warn{color:#e2001d}.mat-focused .mat-form-field-required-marker{color:#009606}.mat-form-field-ripple{background-color:rgba(0,0,0,.87)}.mat-form-field.mat-focused .mat-form-field-ripple{background-color:#004590}.mat-form-field.mat-focused .mat-form-field-ripple.mat-accent{background-color:#009606}.mat-form-field.mat-focused .mat-form-field-ripple.mat-warn{background-color:#e2001d}.mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid) .mat-form-field-infix:after{color:#004590}.mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid).mat-accent .mat-form-field-infix:after{color:#009606}.mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid).mat-warn .mat-form-field-infix:after,.mat-form-field.mat-form-field-invalid .mat-form-field-label,.mat-form-field.mat-form-field-invalid .mat-form-field-label.mat-accent,.mat-form-field.mat-form-field-invalid .mat-form-field-label .mat-form-field-required-marker{color:#e2001d}.mat-form-field.mat-form-field-invalid .mat-form-field-ripple,.mat-form-field.mat-form-field-invalid .mat-form-field-ripple.mat-accent{background-color:#e2001d}.mat-error{color:#e2001d}.mat-form-field-appearance-legacy .mat-form-field-label,.mat-form-field-appearance-legacy .mat-hint{color:rgba(0,0,0,.54)}.mat-form-field-appearance-legacy .mat-form-field-underline{background-color:rgba(0,0,0,.42)}.mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{background-image:linear-gradient(90deg,rgba(0,0,0,.42) 0,rgba(0,0,0,.42) 33%,rgba(0,0,0,0) 0);background-size:4px 100%;background-repeat:repeat-x}.mat-form-field-appearance-standard .mat-form-field-underline{background-color:rgba(0,0,0,.42)}.mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{background-image:linear-gradient(90deg,rgba(0,0,0,.42) 0,rgba(0,0,0,.42) 33%,rgba(0,0,0,0) 0);background-size:4px 100%;background-repeat:repeat-x}.mat-form-field-appearance-fill .mat-form-field-flex{background-color:rgba(0,0,0,.04)}.mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-flex{background-color:rgba(0,0,0,.02)}.mat-form-field-appearance-fill .mat-form-field-underline:before{background-color:rgba(0,0,0,.42)}.mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-label{color:rgba(0,0,0,.38)}.mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-underline:before{background-color:rgba(0,0,0,0)}.mat-form-field-appearance-outline .mat-form-field-outline{color:rgba(0,0,0,.12)}.mat-form-field-appearance-outline .mat-form-field-outline-thick{color:rgba(0,0,0,.87)}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick{color:#004590}.mat-form-field-appearance-outline.mat-focused.mat-accent .mat-form-field-outline-thick{color:#009606}.mat-form-field-appearance-outline.mat-focused.mat-warn .mat-form-field-outline-thick,.mat-form-field-appearance-outline.mat-form-field-invalid.mat-form-field-invalid .mat-form-field-outline-thick{color:#e2001d}.mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-label{color:rgba(0,0,0,.38)}.mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-outline{color:rgba(0,0,0,.06)}.mat-icon.mat-primary{color:#004590}.mat-icon.mat-accent{color:#009606}.mat-icon.mat-warn{color:#e2001d}.mat-form-field-type-mat-native-select .mat-form-field-infix:after{color:rgba(0,0,0,.54)}.mat-form-field-type-mat-native-select.mat-form-field-disabled .mat-form-field-infix:after,.mat-input-element:disabled{color:rgba(0,0,0,.38)}.mat-input-element{caret-color:#004590}.mat-input-element::placeholder{color:rgba(0,0,0,.42)}.mat-input-element::-moz-placeholder{color:rgba(0,0,0,.42)}.mat-input-element::-webkit-input-placeholder{color:rgba(0,0,0,.42)}.mat-input-element:-ms-input-placeholder{color:rgba(0,0,0,.42)}.mat-form-field.mat-accent .mat-input-element{caret-color:#009606}.mat-form-field-invalid .mat-input-element,.mat-form-field.mat-warn .mat-input-element{caret-color:#e2001d}.mat-form-field-type-mat-native-select.mat-form-field-invalid .mat-form-field-infix:after{color:#e2001d}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{color:rgba(0,0,0,.87)}.mat-list-base .mat-subheader{color:rgba(0,0,0,.54)}.mat-list-item-disabled{background-color:#eee}.mat-action-list .mat-list-item:focus,.mat-action-list .mat-list-item:hover,.mat-list-option:focus,.mat-list-option:hover,.mat-nav-list .mat-list-item:focus,.mat-nav-list .mat-list-item:hover{background:rgba(0,0,0,.04)}.mat-list-single-selected-option,.mat-list-single-selected-option:focus,.mat-list-single-selected-option:hover{background:rgba(0,0,0,.12)}.mat-menu-panel{background:#fff}.mat-menu-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.mat-menu-item{background:rgba(0,0,0,0);color:rgba(0,0,0,.87)}.mat-menu-item[disabled],.mat-menu-item[disabled] .mat-icon-no-color,.mat-menu-item[disabled]:after{color:rgba(0,0,0,.38)}.mat-menu-item-submenu-trigger:after,.mat-menu-item .mat-icon-no-color{color:rgba(0,0,0,.54)}.mat-menu-item-highlighted:not([disabled]),.mat-menu-item.cdk-keyboard-focused:not([disabled]),.mat-menu-item.cdk-program-focused:not([disabled]),.mat-menu-item:hover:not([disabled]){background:rgba(0,0,0,.04)}.mat-paginator{background:#fff}.mat-paginator,.mat-paginator-page-size .mat-select-trigger{color:rgba(0,0,0,.54)}.mat-paginator-decrement,.mat-paginator-increment{border-top:2px solid rgba(0,0,0,.54);border-right:2px solid rgba(0,0,0,.54)}.mat-paginator-first,.mat-paginator-last{border-top:2px solid rgba(0,0,0,.54)}.mat-icon-button[disabled] .mat-paginator-decrement,.mat-icon-button[disabled] .mat-paginator-first,.mat-icon-button[disabled] .mat-paginator-increment,.mat-icon-button[disabled] .mat-paginator-last{border-color:rgba(0,0,0,.38)}.mat-paginator-container{min-height:56px}.mat-progress-bar-background{fill:#b3c7de}.mat-progress-bar-buffer{background-color:#b3c7de}.mat-progress-bar-fill:after{background-color:#004590}.mat-progress-bar.mat-accent .mat-progress-bar-background{fill:#b3e0b4}.mat-progress-bar.mat-accent .mat-progress-bar-buffer{background-color:#b3e0b4}.mat-progress-bar.mat-accent .mat-progress-bar-fill:after{background-color:#009606}.mat-progress-bar.mat-warn .mat-progress-bar-background{fill:#f6b3bb}.mat-progress-bar.mat-warn .mat-progress-bar-buffer{background-color:#f6b3bb}.mat-progress-bar.mat-warn .mat-progress-bar-fill:after{background-color:#e2001d}.mat-progress-spinner circle,.mat-spinner circle{stroke:#004590}.mat-progress-spinner.mat-accent circle,.mat-spinner.mat-accent circle{stroke:#009606}.mat-progress-spinner.mat-warn circle,.mat-spinner.mat-warn circle{stroke:#e2001d}.mat-radio-outer-circle{border-color:rgba(0,0,0,.54)}.mat-radio-button.mat-primary.mat-radio-checked .mat-radio-outer-circle{border-color:#004590}.mat-radio-button.mat-primary.mat-radio-checked .mat-radio-persistent-ripple,.mat-radio-button.mat-primary .mat-radio-inner-circle,.mat-radio-button.mat-primary .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.mat-radio-button.mat-primary:active .mat-radio-persistent-ripple{background-color:#004590}.mat-radio-button.mat-accent.mat-radio-checked .mat-radio-outer-circle{border-color:#009606}.mat-radio-button.mat-accent.mat-radio-checked .mat-radio-persistent-ripple,.mat-radio-button.mat-accent .mat-radio-inner-circle,.mat-radio-button.mat-accent .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.mat-radio-button.mat-accent:active .mat-radio-persistent-ripple{background-color:#009606}.mat-radio-button.mat-warn.mat-radio-checked .mat-radio-outer-circle{border-color:#e2001d}.mat-radio-button.mat-warn.mat-radio-checked .mat-radio-persistent-ripple,.mat-radio-button.mat-warn .mat-radio-inner-circle,.mat-radio-button.mat-warn .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.mat-radio-button.mat-warn:active .mat-radio-persistent-ripple{background-color:#e2001d}.mat-radio-button.mat-radio-disabled.mat-radio-checked .mat-radio-outer-circle,.mat-radio-button.mat-radio-disabled .mat-radio-outer-circle{border-color:rgba(0,0,0,.38)}.mat-radio-button.mat-radio-disabled .mat-radio-inner-circle,.mat-radio-button.mat-radio-disabled .mat-radio-ripple .mat-ripple-element{background-color:rgba(0,0,0,.38)}.mat-radio-button.mat-radio-disabled .mat-radio-label-content{color:rgba(0,0,0,.38)}.mat-radio-button .mat-ripple-element{background-color:#000}.mat-select-value{color:rgba(0,0,0,.87)}.mat-select-placeholder{color:rgba(0,0,0,.42)}.mat-select-disabled .mat-select-value{color:rgba(0,0,0,.38)}.mat-select-arrow{color:rgba(0,0,0,.54)}.mat-select-panel{background:#fff}.mat-select-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.mat-select-panel .mat-option.mat-selected:not(.mat-option-multiple){background:rgba(0,0,0,.12)}.mat-form-field.mat-focused.mat-primary .mat-select-arrow{color:#004590}.mat-form-field.mat-focused.mat-accent .mat-select-arrow{color:#009606}.mat-form-field.mat-focused.mat-warn .mat-select-arrow,.mat-form-field .mat-select.mat-select-invalid .mat-select-arrow{color:#e2001d}.mat-form-field .mat-select.mat-select-disabled .mat-select-arrow{color:rgba(0,0,0,.38)}.mat-drawer-container{background-color:#fafafa;color:rgba(0,0,0,.87)}.mat-drawer{color:rgba(0,0,0,.87)}.mat-drawer,.mat-drawer.mat-drawer-push{background-color:#fff}.mat-drawer:not(.mat-drawer-side){box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12)}.mat-drawer-side{border-right:1px solid rgba(0,0,0,.12)}.mat-drawer-side.mat-drawer-end,[dir=rtl] .mat-drawer-side{border-left:1px solid rgba(0,0,0,.12);border-right:none}[dir=rtl] .mat-drawer-side.mat-drawer-end{border-left:none;border-right:1px solid rgba(0,0,0,.12)}.mat-drawer-backdrop.mat-drawer-shown{background-color:rgba(0,0,0,.6)}.mat-slide-toggle.mat-checked .mat-slide-toggle-thumb{background-color:#009606}.mat-slide-toggle.mat-checked .mat-slide-toggle-bar{background-color:rgba(0,150,6,.54)}.mat-slide-toggle.mat-checked .mat-ripple-element{background-color:#009606}.mat-slide-toggle.mat-primary.mat-checked .mat-slide-toggle-thumb{background-color:#004590}.mat-slide-toggle.mat-primary.mat-checked .mat-slide-toggle-bar{background-color:rgba(0,69,144,.54)}.mat-slide-toggle.mat-primary.mat-checked .mat-ripple-element{background-color:#004590}.mat-slide-toggle.mat-warn.mat-checked .mat-slide-toggle-thumb{background-color:#e2001d}.mat-slide-toggle.mat-warn.mat-checked .mat-slide-toggle-bar{background-color:rgba(226,0,29,.54)}.mat-slide-toggle.mat-warn.mat-checked .mat-ripple-element{background-color:#e2001d}.mat-slide-toggle:not(.mat-checked) .mat-ripple-element{background-color:#000}.mat-slide-toggle-thumb{box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12);background-color:#fafafa}.mat-slide-toggle-bar{background-color:rgba(0,0,0,.38)}.mat-slider-track-background{background-color:rgba(0,0,0,.26)}.mat-primary .mat-slider-thumb,.mat-primary .mat-slider-thumb-label,.mat-primary .mat-slider-track-fill{background-color:#004590}.mat-primary .mat-slider-thumb-label-text{color:#fff}.mat-primary .mat-slider-focus-ring{background-color:rgba(0,69,144,.2)}.mat-accent .mat-slider-thumb,.mat-accent .mat-slider-thumb-label,.mat-accent .mat-slider-track-fill{background-color:#009606}.mat-accent .mat-slider-thumb-label-text{color:#fff}.mat-accent .mat-slider-focus-ring{background-color:rgba(0,150,6,.2)}.mat-warn .mat-slider-thumb,.mat-warn .mat-slider-thumb-label,.mat-warn .mat-slider-track-fill{background-color:#e2001d}.mat-warn .mat-slider-thumb-label-text{color:#fff}.mat-warn .mat-slider-focus-ring{background-color:rgba(226,0,29,.2)}.cdk-focused .mat-slider-track-background,.mat-slider:hover .mat-slider-track-background{background-color:rgba(0,0,0,.38)}.mat-slider-disabled .mat-slider-thumb,.mat-slider-disabled .mat-slider-track-background,.mat-slider-disabled .mat-slider-track-fill,.mat-slider-disabled:hover .mat-slider-track-background{background-color:rgba(0,0,0,.26)}.mat-slider-min-value .mat-slider-focus-ring{background-color:rgba(0,0,0,.12)}.mat-slider-min-value.mat-slider-thumb-label-showing .mat-slider-thumb,.mat-slider-min-value.mat-slider-thumb-label-showing .mat-slider-thumb-label{background-color:rgba(0,0,0,.87)}.mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused .mat-slider-thumb,.mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused .mat-slider-thumb-label{background-color:rgba(0,0,0,.26)}.mat-slider-min-value:not(.mat-slider-thumb-label-showing) .mat-slider-thumb{border-color:rgba(0,0,0,.26);background-color:rgba(0,0,0,0)}.mat-slider-min-value:not(.mat-slider-thumb-label-showing).cdk-focused .mat-slider-thumb,.mat-slider-min-value:not(.mat-slider-thumb-label-showing):hover .mat-slider-thumb{border-color:rgba(0,0,0,.38)}.mat-slider-min-value:not(.mat-slider-thumb-label-showing).cdk-focused.mat-slider-disabled .mat-slider-thumb,.mat-slider-min-value:not(.mat-slider-thumb-label-showing):hover.mat-slider-disabled .mat-slider-thumb{border-color:rgba(0,0,0,.26)}.mat-slider-has-ticks .mat-slider-wrapper:after{border-color:rgba(0,0,0,.7)}.mat-slider-horizontal .mat-slider-ticks{background-image:repeating-linear-gradient(90deg,rgba(0,0,0,.7),rgba(0,0,0,.7) 2px,rgba(0,0,0,0) 0,rgba(0,0,0,0));background-image:-moz-repeating-linear-gradient(.0001deg,rgba(0,0,0,.7),rgba(0,0,0,.7) 2px,rgba(0,0,0,0) 0,rgba(0,0,0,0))}.mat-slider-vertical .mat-slider-ticks{background-image:repeating-linear-gradient(180deg,rgba(0,0,0,.7),rgba(0,0,0,.7) 2px,rgba(0,0,0,0) 0,rgba(0,0,0,0))}.mat-step-header.cdk-keyboard-focused,.mat-step-header.cdk-program-focused,.mat-step-header:hover{background-color:rgba(0,0,0,.04)}@media (hover:none){.mat-step-header:hover{background:none}}.mat-step-header .mat-step-label,.mat-step-header .mat-step-optional{color:rgba(0,0,0,.54)}.mat-step-header .mat-step-icon{background-color:rgba(0,0,0,.54);color:#fff}.mat-step-header .mat-step-icon-selected,.mat-step-header .mat-step-icon-state-done,.mat-step-header .mat-step-icon-state-edit{background-color:#004590;color:#fff}.mat-step-header.mat-accent .mat-step-icon{color:#fff}.mat-step-header.mat-accent .mat-step-icon-selected,.mat-step-header.mat-accent .mat-step-icon-state-done,.mat-step-header.mat-accent .mat-step-icon-state-edit{background-color:#009606;color:#fff}.mat-step-header.mat-warn .mat-step-icon{color:#fff}.mat-step-header.mat-warn .mat-step-icon-selected,.mat-step-header.mat-warn .mat-step-icon-state-done,.mat-step-header.mat-warn .mat-step-icon-state-edit{background-color:#e2001d;color:#fff}.mat-step-header .mat-step-icon-state-error{background-color:rgba(0,0,0,0);color:#e2001d}.mat-step-header .mat-step-label.mat-step-label-active{color:rgba(0,0,0,.87)}.mat-step-header .mat-step-label.mat-step-label-error{color:#e2001d}.mat-stepper-horizontal,.mat-stepper-vertical{background-color:#fff}.mat-stepper-vertical-line:before{border-left-color:rgba(0,0,0,.12)}.mat-horizontal-stepper-header:after,.mat-horizontal-stepper-header:before,.mat-stepper-horizontal-line{border-top-color:rgba(0,0,0,.12)}.mat-horizontal-stepper-header{height:72px}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header,.mat-vertical-stepper-header{padding:24px}.mat-stepper-vertical-line:before{top:-16px;bottom:-16px}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:after,.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:before,.mat-stepper-label-position-bottom .mat-stepper-horizontal-line{top:36px}.mat-sort-header-arrow{color:#757575}.mat-tab-header,.mat-tab-nav-bar{border-bottom:1px solid rgba(0,0,0,.12)}.mat-tab-group-inverted-header .mat-tab-header,.mat-tab-group-inverted-header .mat-tab-nav-bar{border-top:1px solid rgba(0,0,0,.12);border-bottom:none}.mat-tab-label,.mat-tab-link{color:rgba(0,0,0,.87)}.mat-tab-label.mat-tab-disabled,.mat-tab-link.mat-tab-disabled{color:rgba(0,0,0,.38)}.mat-tab-header-pagination-chevron{border-color:rgba(0,0,0,.87)}.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:rgba(0,0,0,.38)}.mat-tab-group[class*=mat-background-] .mat-tab-header,.mat-tab-nav-bar[class*=mat-background-]{border-bottom:none;border-top:none}.mat-tab-group.mat-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-group.mat-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(179,199,222,.3)}.mat-tab-group.mat-primary .mat-ink-bar,.mat-tab-nav-bar.mat-primary .mat-ink-bar{background-color:#004590}.mat-tab-group.mat-primary.mat-background-primary>.mat-tab-header .mat-ink-bar,.mat-tab-group.mat-primary.mat-background-primary>.mat-tab-link-container .mat-ink-bar,.mat-tab-nav-bar.mat-primary.mat-background-primary>.mat-tab-header .mat-ink-bar,.mat-tab-nav-bar.mat-primary.mat-background-primary>.mat-tab-link-container .mat-ink-bar{background-color:#fff}.mat-tab-group.mat-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-group.mat-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(179,224,180,.3)}.mat-tab-group.mat-accent .mat-ink-bar,.mat-tab-nav-bar.mat-accent .mat-ink-bar{background-color:#009606}.mat-tab-group.mat-accent.mat-background-accent>.mat-tab-header .mat-ink-bar,.mat-tab-group.mat-accent.mat-background-accent>.mat-tab-link-container .mat-ink-bar,.mat-tab-nav-bar.mat-accent.mat-background-accent>.mat-tab-header .mat-ink-bar,.mat-tab-nav-bar.mat-accent.mat-background-accent>.mat-tab-link-container .mat-ink-bar{background-color:#fff}.mat-tab-group.mat-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-group.mat-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(246,179,187,.3)}.mat-tab-group.mat-warn .mat-ink-bar,.mat-tab-nav-bar.mat-warn .mat-ink-bar{background-color:#e2001d}.mat-tab-group.mat-warn.mat-background-warn>.mat-tab-header .mat-ink-bar,.mat-tab-group.mat-warn.mat-background-warn>.mat-tab-link-container .mat-ink-bar,.mat-tab-nav-bar.mat-warn.mat-background-warn>.mat-tab-header .mat-ink-bar,.mat-tab-nav-bar.mat-warn.mat-background-warn>.mat-tab-link-container .mat-ink-bar{background-color:#fff}.mat-tab-group.mat-background-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(179,199,222,.3)}.mat-tab-group.mat-background-primary>.mat-tab-header,.mat-tab-group.mat-background-primary>.mat-tab-header-pagination,.mat-tab-group.mat-background-primary>.mat-tab-link-container,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination,.mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container{background-color:#004590}.mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-label,.mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-tab-link,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-label,.mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-tab-link{color:#fff}.mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-label.mat-tab-disabled,.mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-label.mat-tab-disabled,.mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:hsla(0,0%,100%,.4)}.mat-tab-group.mat-background-primary>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination .mat-tab-header-pagination-chevron{border-color:#fff}.mat-tab-group.mat-background-primary>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:hsla(0,0%,100%,.4)}.mat-tab-group.mat-background-primary>.mat-tab-header .mat-ripple-element,.mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-ripple-element,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-ripple-element,.mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-ripple-element{background-color:hsla(0,0%,100%,.12)}.mat-tab-group.mat-background-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(179,224,180,.3)}.mat-tab-group.mat-background-accent>.mat-tab-header,.mat-tab-group.mat-background-accent>.mat-tab-header-pagination,.mat-tab-group.mat-background-accent>.mat-tab-link-container,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination,.mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container{background-color:#009606}.mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-label,.mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-tab-link,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-label,.mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-tab-link{color:#fff}.mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-label.mat-tab-disabled,.mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-label.mat-tab-disabled,.mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:hsla(0,0%,100%,.4)}.mat-tab-group.mat-background-accent>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination .mat-tab-header-pagination-chevron{border-color:#fff}.mat-tab-group.mat-background-accent>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:hsla(0,0%,100%,.4)}.mat-tab-group.mat-background-accent>.mat-tab-header .mat-ripple-element,.mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-ripple-element,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-ripple-element,.mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-ripple-element{background-color:hsla(0,0%,100%,.12)}.mat-tab-group.mat-background-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(246,179,187,.3)}.mat-tab-group.mat-background-warn>.mat-tab-header,.mat-tab-group.mat-background-warn>.mat-tab-header-pagination,.mat-tab-group.mat-background-warn>.mat-tab-link-container,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination,.mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container{background-color:#e2001d}.mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-label,.mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-tab-link,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-label,.mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-tab-link{color:#fff}.mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-label.mat-tab-disabled,.mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-label.mat-tab-disabled,.mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:hsla(0,0%,100%,.4)}.mat-tab-group.mat-background-warn>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination .mat-tab-header-pagination-chevron{border-color:#fff}.mat-tab-group.mat-background-warn>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:hsla(0,0%,100%,.4)}.mat-tab-group.mat-background-warn>.mat-tab-header .mat-ripple-element,.mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-ripple-element,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-ripple-element,.mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-ripple-element{background-color:hsla(0,0%,100%,.12)}.mat-toolbar{background:#f5f5f5;color:rgba(0,0,0,.87)}.mat-toolbar.mat-primary{background:#004590;color:#fff}.mat-toolbar.mat-accent{background:#009606;color:#fff}.mat-toolbar.mat-warn{background:#e2001d;color:#fff}.mat-toolbar .mat-focused .mat-form-field-ripple,.mat-toolbar .mat-form-field-ripple,.mat-toolbar .mat-form-field-underline{background-color:currentColor}.mat-toolbar .mat-focused .mat-form-field-label,.mat-toolbar .mat-form-field-label,.mat-toolbar .mat-form-field.mat-focused .mat-select-arrow,.mat-toolbar .mat-select-arrow,.mat-toolbar .mat-select-value{color:inherit}.mat-toolbar .mat-input-element{caret-color:currentColor}.mat-toolbar-multiple-rows{min-height:64px}.mat-toolbar-row,.mat-toolbar-single-row{height:64px}@media (max-width:599px){.mat-toolbar-multiple-rows{min-height:56px}.mat-toolbar-row,.mat-toolbar-single-row{height:56px}}.mat-tooltip{background:rgba(97,97,97,.9)}.mat-tree{background:#fff}.mat-nested-tree-node,.mat-tree-node{color:rgba(0,0,0,.87)}.mat-tree-node{min-height:48px}.mat-snack-bar-container{color:hsla(0,0%,100%,.7);background:#323232;box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.mat-simple-snackbar-action{color:#009606}.mat-radio-button{display:-ms-inline-flexbox;display:inline-flex}.mat-radio-button .mat-radio-label{width:-webkit-max-content;width:-moz-max-content;width:max-content}#faq .faq-title{font-weight:700;color:#004590}#faq .mat-expansion-panel-body{padding:16px 24px}#faq .faq-content img{max-width:100%;max-width:-webkit-fill-available;max-width:-moz-available;max-width:stretch}#faq .categorie{font-size:large;font-weight:700;text-transform:uppercase;color:#fff}#faq .categorie-panel-header{background-color:#004590}#faq .categorie-panel-header:hover{opacity:.8}#faq .categorie-panel-header .mat-expansion-indicator:after{color:#fff}"],encapsulation:2}),t})();var f=n("cXaA"),g=n("IheW");let b=(()=>{class t{constructor(t){this.http=t,this.log=f.a.create("FaqService"),this.END_POINT="/api/faqs",this.CATEGORIE="/categories"}getFaqs(){const t=this.END_POINT;return this.log.data(`[HTTP] (GET) -> ${t}`),this.http.get(t)}getCategories(){return this.log.data(`[HTTP] (GET) -> ${this.END_POINT+this.CATEGORIE}`),this.http.get(this.END_POINT+this.CATEGORIE)}}return t.\u0275fac=function(e){return new(e||t)(s.Xb(g.b))},t.\u0275prov=s.Jb({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),_=(()=>{class t{constructor(t){this.faqService=t}resolve(){return this.faqService.getCategories()}}return t.\u0275fac=function(e){return new(e||t)(s.Xb(b))},t.\u0275prov=s.Jb({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),y=(()=>{class t{}return t.\u0275mod=s.Lb({type:t}),t.\u0275inj=s.Kb({factory:function(e){return new(e||t)},imports:[[r.j.forChild([{path:"",component:p,resolve:{categories:_}}])],r.j]}),t})(),v=(()=>{class t{}return t.\u0275mod=s.Lb({type:t}),t.\u0275inj=s.Kb({factory:function(e){return new(e||t)},imports:[[i.c,a.a,y]]}),t})()},ByF4:function(t,e,n){!function(t){"use strict";t.defineLocale("fo",{months:"januar_februar_mars_apr\xedl_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sunnudagur_m\xe1nadagur_t\xfdsdagur_mikudagur_h\xf3sdagur_fr\xedggjadagur_leygardagur".split("_"),weekdaysShort:"sun_m\xe1n_t\xfds_mik_h\xf3s_fr\xed_ley".split("_"),weekdaysMin:"su_m\xe1_t\xfd_mi_h\xf3_fr_le".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D. MMMM, YYYY HH:mm"},calendar:{sameDay:"[\xcd dag kl.] LT",nextDay:"[\xcd morgin kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[\xcd gj\xe1r kl.] LT",lastWeek:"[s\xed\xf0stu] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"um %s",past:"%s s\xed\xf0ani",s:"f\xe1 sekund",ss:"%d sekundir",m:"ein minuttur",mm:"%d minuttir",h:"ein t\xedmi",hh:"%d t\xedmar",d:"ein dagur",dd:"%d dagar",M:"ein m\xe1na\xf0ur",MM:"%d m\xe1na\xf0ir",y:"eitt \xe1r",yy:"%d \xe1r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},CRH9:function(t,e,n){"use strict";n.d(e,"a",function(){return o});var i=n("cXaA"),a=n("8Y7J"),r=n("IheW");let o=(()=>{class t{constructor(t){this.http=t,this.log=i.a.create("NewsService"),this.END_POINT="/api/news"}getNewsList(){const t=this.END_POINT;return this.log.data(`[HTTP] (GET) -> ${t}`),this.http.get(t)}getNews(t){const e=`${this.END_POINT}/${t}`;return this.log.data(`[HTTP] (GET) -> ${e}`),this.http.get(e)}}return t.\u0275fac=function(e){return new(e||t)(a.Xb(r.b))},t.\u0275prov=a.Jb({token:t,factory:t.\u0275fac,providedIn:"root"}),t})()},Cfvw:function(t,e,n){"use strict";n.d(e,"a",function(){return u});var i=n("HDdC"),a=n("SeVD"),r=n("quSY"),o=n("kJWO"),s=n("jZKg"),l=n("Lhse"),c=n("c2HN"),d=n("I55L");function u(t,e){return e?function(t,e){if(null!=t){if(function(t){return t&&"function"==typeof t[o.a]}(t))return function(t,e){return new i.a(n=>{const i=new r.a;return i.add(e.schedule(()=>{const a=t[o.a]();i.add(a.subscribe({next(t){i.add(e.schedule(()=>n.next(t)))},error(t){i.add(e.schedule(()=>n.error(t)))},complete(){i.add(e.schedule(()=>n.complete()))}}))})),i})}(t,e);if(Object(c.a)(t))return function(t,e){return new i.a(n=>{const i=new r.a;return i.add(e.schedule(()=>t.then(t=>{i.add(e.schedule(()=>{n.next(t),i.add(e.schedule(()=>n.complete()))}))},t=>{i.add(e.schedule(()=>n.error(t)))}))),i})}(t,e);if(Object(d.a)(t))return Object(s.a)(t,e);if(function(t){return t&&"function"==typeof t[l.a]}(t)||"string"==typeof t)return function(t,e){if(!t)throw new Error("Iterable cannot be null");return new i.a(n=>{const i=new r.a;let a;return i.add(()=>{a&&"function"==typeof a.return&&a.return()}),i.add(e.schedule(()=>{a=t[l.a](),i.add(e.schedule(function(){if(n.closed)return;let t,e;try{const n=a.next();t=n.value,e=n.done}catch(i){return void n.error(i)}e?n.complete():(n.next(t),this.schedule())}))})),i})}(t,e)}throw new TypeError((null!==t&&typeof t||t)+" is not observable")}(t,e):t instanceof i.a?t:new i.a(Object(a.a)(t))}},CjzT:function(t,e,n){!function(t){"use strict";var e="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),i=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],a=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;t.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(t,i){return t?/-MMM-/.test(i)?n[t.month()]:e[t.month()]:e},monthsRegex:a,monthsShortRegex:a,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(n("wd/R"))},CoRJ:function(t,e,n){!function(t){"use strict";t.defineLocale("ar-ma",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0627\u062d\u062f_\u0627\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:1,doy:4}})}(n("wd/R"))},CqXF:function(t,e,n){"use strict";n.d(e,"a",function(){return a});var i=n("7o/Q");function a(t){return e=>e.lift(new r(t))}class r{constructor(t){this.value=t}call(t,e){return e.subscribe(new o(t,this.value))}}class o extends i.a{constructor(t,e){super(t),this.value=e}_next(t){this.destination.next(this.value)}}},CtHx:function(t,e,n){"use strict";n.d(e,"a",function(){return c}),n.d(e,"b",function(){return s}),n.d(e,"c",function(){return h}),n.d(e,"d",function(){return m}),n.d(e,"e",function(){return d}),n.d(e,"f",function(){return u}),n.d(e,"g",function(){return p}),n.d(e,"h",function(){return l});var i=n("7+OI"),a=n("LRne"),r=n("XNiG"),o=n("8Y7J");class s{}function l(t){return t&&"function"==typeof t.connect}class c extends s{constructor(t){super(),this._data=t}connect(){return Object(i.a)(this._data)?this._data:Object(a.a)(this._data)}disconnect(){}}class d{applyChanges(t,e,n,i,a){t.forEachOperation((t,i,r)=>{let o,s;if(null==t.previousIndex){const a=n(t,i,r);o=e.createEmbeddedView(a.templateRef,a.context,a.index),s=1}else null==r?(e.remove(i),s=3):(o=e.get(i),e.move(o,r),s=2);a&&a({context:null==o?void 0:o.context,operation:s,record:t})})}detach(){}}class u{constructor(){this.viewCacheSize=20,this._viewCache=[]}applyChanges(t,e,n,i,a){t.forEachOperation((t,r,o)=>{let s,l;null==t.previousIndex?(s=this._insertView(()=>n(t,r,o),o,e,i(t)),l=s?1:0):null==o?(this._detachAndCacheView(r,e),l=3):(s=this._moveView(r,o,e,i(t)),l=2),a&&a({context:null==s?void 0:s.context,operation:l,record:t})})}detach(){for(const t of this._viewCache)t.destroy()}_insertView(t,e,n,i){let a=this._insertViewFromCache(e,n);if(a)return void(a.context.$implicit=i);const r=t();return n.createEmbeddedView(r.templateRef,r.context,r.index)}_detachAndCacheView(t,e){const n=this._detachView(t,e);this._maybeCacheView(n,e)}_moveView(t,e,n,i){const a=n.get(t);return n.move(a,e),a.context.$implicit=i,a}_maybeCacheView(t,e){if(this._viewCache.length<this.viewCacheSize)this._viewCache.push(t);else{const n=e.indexOf(t);-1===n?t.destroy():e.remove(n)}}_insertViewFromCache(t,e){const n=this._viewCache.pop();return n&&e.insert(n,t),n||null}_detachView(t,e){return e.detach(t)}}class h{constructor(t=!1,e,n=!0){this._multiple=t,this._emitChanges=n,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new r.a,e&&e.length&&(t?e.forEach(t=>this._markSelected(t)):this._markSelected(e[0]),this._selectedToEmit.length=0)}get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}select(...t){this._verifyValueAssignment(t),t.forEach(t=>this._markSelected(t)),this._emitChangeEvent()}deselect(...t){this._verifyValueAssignment(t),t.forEach(t=>this._unmarkSelected(t)),this._emitChangeEvent()}toggle(t){this.isSelected(t)?this.deselect(t):this.select(t)}clear(){this._unmarkAll(),this._emitChangeEvent()}isSelected(t){return this._selection.has(t)}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(t){this._multiple&&this.selected&&this._selected.sort(t)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(t){this.isSelected(t)||(this._multiple||this._unmarkAll(),this._selection.add(t),this._emitChanges&&this._selectedToEmit.push(t))}_unmarkSelected(t){this.isSelected(t)&&(this._selection.delete(t),this._emitChanges&&this._deselectedToEmit.push(t))}_unmarkAll(){this.isEmpty()||this._selection.forEach(t=>this._unmarkSelected(t))}_verifyValueAssignment(t){}}let m=(()=>{class t{constructor(){this._listeners=[]}notify(t,e){for(let n of this._listeners)n(t,e)}listen(t){return this._listeners.push(t),()=>{this._listeners=this._listeners.filter(e=>t!==e)}}ngOnDestroy(){this._listeners=[]}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Object(o.Jb)({factory:function(){return new t},token:t,providedIn:"root"}),t})();const p=new o.s("_ViewRepeater")},Cwn8:function(t,e,n){"use strict";n.d(e,"a",function(){return o});var i=n("2Vo4"),a=n("8Y7J"),r=n("TSSN");let o=(()=>{class t{constructor(e){this.translateService=e,this.language="",this.translateService.onLangChange.subscribe(({lang:t})=>this.updateLanguage(t)),this.language=this.translateService.currentLang,this.init(),this.ready=t.ready.asObservable()}updateLanguage(e){this.language=e,t.ready.next(null),this.init()}init(){if(t.ready){if(t.ready.getValue())return}else t.ready=new i.a(null),window.ng2recaptchaloaded=()=>{t.ready.next(grecaptcha)};const e=document.createElement("script");e.innerHTML="",e.src="https://www.recaptcha.net/recaptcha/api.js?render=explicit&onload=ng2recaptchaloaded"+(this.language?"&hl="+this.language:""),e.async=!0,e.defer=!0,document.head.appendChild(e)}}return t.\u0275fac=function(e){return new(e||t)(a.Xb(r.d))},t.\u0275prov=a.Jb({token:t,factory:t.\u0275fac,providedIn:"root"}),t})()},"D/JM":function(t,e,n){!function(t){"use strict";t.defineLocale("eu",{months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),monthsParseExact:!0,weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},calendar:{sameDay:"[gaur] LT[etan]",nextDay:"[bihar] LT[etan]",nextWeek:"dddd LT[etan]",lastDay:"[atzo] LT[etan]",lastWeek:"[aurreko] dddd LT[etan]",sameElse:"L"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",ss:"%d segundo",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("wd/R"))},D0XW:function(t,e,n){"use strict";n.d(e,"a",function(){return a});var i=n("3N8a");const a=new(n("IjjT").a)(i.a)},DGrs:function(t,e,n){"use strict";n.d(e,"a",function(){return l});var i=n("8Y7J"),a=n("iELJ"),r=n("TSSN"),o=n("ROBU"),s=n("f4AX");let l=(()=>{class t{constructor(t,e,n,i){this.dialogRef=t,this.translateService=e,this.sharedErrorService=n,this.userService=i,this.param={subject:"[SIPSI] Erreur technique",body:"L'utilisateur a rencontr\xe9 les erreurs suivantes :"},this.userService.login&&(this.param.subject=`[SIPSI] Erreur technique (${this.userService.login})`,this.param.body=`L'utilisateur \xab ${this.userService.raisonSociale} \xbb (${this.userService.login}) a rencontr\xe9 les erreurs suivantes :`),this.sub=this.sharedErrorService.onErrors.subscribe(t=>{this.param.body+=encodeURI(this.formatError(t)),this.content=this.translateService.instant("common.error.message",this.param)})}ngOnDestroy(){this.sub&&this.sub.unsubscribe()}formatError(t){if(t.error){const e=t.error;return`\n\tErreur : ${e.status?e.status:"Statut inconnu"} - ${e.error?e.error:"Erreur inconnue"}\n\tMessage : ${e.message?e.message:"Inconnu"}\n\tUrl API : ${e.path?e.path:"URL inconnue"}\n\n-----------------\n\nMessage d'erreur brut : ${JSON.stringify(t)}\n`}return`\n\tErreur inconnue\n\n-----------------\n\nMessage d'erreur brut : ${JSON.stringify(t)}\n`}close(){this.dialogRef.close()}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(a.f),i.Nb(r.d),i.Nb(o.a),i.Nb(s.a))},t.\u0275cmp=i.Hb({type:t,selectors:[["app-error-dialog"]],decls:8,vars:4,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[3,"innerHTML"],["mat-dialog-actions",""],[1,"mat-raised-button","mat-primary",3,"click"]],template:function(t,e){1&t&&(i.Tb(0,"h1",0),i.Hc(1),i.gc(2,"translate"),i.Sb(),i.Tb(3,"div",1),i.Ob(4,"p",2),i.Sb(),i.Tb(5,"div",3),i.Tb(6,"button",4),i.bc("click",function(){return e.close()}),i.Hc(7,"Ok"),i.Sb(),i.Sb()),2&t&&(i.Cb(1),i.Ic(i.hc(2,2,"common.error.titre")),i.Cb(3),i.nc("innerHTML",e.content,i.zc))},directives:[a.g,a.d,a.c],pipes:[r.c],styles:[""]}),t})()},DH7j:function(t,e,n){"use strict";n.d(e,"a",function(){return i});const i=(()=>Array.isArray||(t=>t&&"number"==typeof t.length))()},"DKr+":function(t,e,n){!function(t){"use strict";function e(t,e,n,i){var a={s:["thoddea sekondamni","thodde sekond"],ss:[t+" sekondamni",t+" sekond"],m:["eka mintan","ek minut"],mm:[t+" mintamni",t+" mintam"],h:["eka voran","ek vor"],hh:[t+" voramni",t+" voram"],d:["eka disan","ek dis"],dd:[t+" disamni",t+" dis"],M:["eka mhoinean","ek mhoino"],MM:[t+" mhoineamni",t+" mhoine"],y:["eka vorsan","ek voros"],yy:[t+" vorsamni",t+" vorsam"]};return i?a[n][0]:a[n][1]}t.defineLocale("gom-latn",{months:{standalone:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),format:"Janerachea_Febrerachea_Marsachea_Abrilachea_Maiachea_Junachea_Julaiachea_Agostachea_Setembrachea_Otubrachea_Novembrachea_Dezembrachea".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Aitar_Somar_Mongllar_Budhvar_Birestar_Sukrar_Son'var".split("_"),weekdaysShort:"Ait._Som._Mon._Bud._Bre._Suk._Son.".split("_"),weekdaysMin:"Ai_Sm_Mo_Bu_Br_Su_Sn".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [vazta]",LTS:"A h:mm:ss [vazta]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [vazta]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"},calendar:{sameDay:"[Aiz] LT",nextDay:"[Faleam] LT",nextWeek:"[Fuddlo] dddd[,] LT",lastDay:"[Kal] LT",lastWeek:"[Fattlo] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s adim",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(t,e){switch(e){case"D":return t+"er";default:case"M":case"Q":case"DDD":case"d":case"w":case"W":return t}},week:{dow:0,doy:3},meridiemParse:/rati|sokallim|donparam|sanje/,meridiemHour:function(t,e){return 12===t&&(t=0),"rati"===e?t<4?t:t+12:"sokallim"===e?t:"donparam"===e?t>12?t:t+12:"sanje"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"rati":t<12?"sokallim":t<16?"donparam":t<20?"sanje":"rati"}})}(n("wd/R"))},DVMI:function(t,e,n){"use strict";n.d(e,"a",function(){return i});var i=function(t){return t.LIEU_PRESTATION="LIEU_PRESTATION",t.REPRESENTANT="REPRESENTANT",t.SERVEUR="SERVEUR",t}({})},DejY:function(t,e,n){"use strict";n.d(e,"a",function(){return h}),n.d(e,"b",function(){return c});var i=n("8Y7J"),a=n("UhP/"),r=n("wd/R");const o=n.n(r).a||r,s=new i.s("MAT_MOMENT_DATE_ADAPTER_OPTIONS",{providedIn:"root",factory:function(){return{useUtc:!1}}});function l(t,e){const n=Array(t);for(let i=0;i<t;i++)n[i]=e(i);return n}let c=(()=>{class t extends a.c{constructor(t,e){super(),this._options=e,this.setLocale(t||o.locale())}setLocale(t){super.setLocale(t);let e=o.localeData(t);this._localeData={firstDayOfWeek:e.firstDayOfWeek(),longMonths:e.months(),shortMonths:e.monthsShort(),dates:l(31,t=>this.createDate(2017,0,t+1).format("D")),longDaysOfWeek:e.weekdays(),shortDaysOfWeek:e.weekdaysShort(),narrowDaysOfWeek:e.weekdaysMin()}}getYear(t){return this.clone(t).year()}getMonth(t){return this.clone(t).month()}getDate(t){return this.clone(t).date()}getDayOfWeek(t){return this.clone(t).day()}getMonthNames(t){return"long"==t?this._localeData.longMonths:this._localeData.shortMonths}getDateNames(){return this._localeData.dates}getDayOfWeekNames(t){return"long"==t?this._localeData.longDaysOfWeek:"short"==t?this._localeData.shortDaysOfWeek:this._localeData.narrowDaysOfWeek}getYearName(t){return this.clone(t).format("YYYY")}getFirstDayOfWeek(){return this._localeData.firstDayOfWeek}getNumDaysInMonth(t){return this.clone(t).daysInMonth()}clone(t){return t.clone().locale(this.locale)}createDate(t,e,n){const i=this._createMoment({year:t,month:e,date:n}).locale(this.locale);return i.isValid(),i}today(){return this._createMoment().locale(this.locale)}parse(t,e){return t&&"string"==typeof t?this._createMoment(t,e,this.locale):t?this._createMoment(t).locale(this.locale):null}format(t,e){return t=this.clone(t),this.isValid(t),t.format(e)}addCalendarYears(t,e){return this.clone(t).add({years:e})}addCalendarMonths(t,e){return this.clone(t).add({months:e})}addCalendarDays(t,e){return this.clone(t).add({days:e})}toIso8601(t){return this.clone(t).format()}deserialize(t){let e;if(t instanceof Date)e=this._createMoment(t).locale(this.locale);else if(this.isDateInstance(t))return this.clone(t);if("string"==typeof t){if(!t)return null;e=this._createMoment(t,o.ISO_8601).locale(this.locale)}return e&&this.isValid(e)?this._createMoment(e).locale(this.locale):super.deserialize(t)}isDateInstance(t){return o.isMoment(t)}isValid(t){return this.clone(t).isValid()}invalid(){return o.invalid()}_createMoment(t,e,n){const{strict:i,useUtc:a}=this._options||{};return a?o.utc(t,e,n,i):o(t,e,n,i)}}return t.\u0275fac=function(e){return new(e||t)(i.Xb(a.f,8),i.Xb(s,8))},t.\u0275prov=i.Jb({token:t,factory:t.\u0275fac}),t})(),d=(()=>{class t{}return t.\u0275mod=i.Lb({type:t}),t.\u0275inj=i.Kb({factory:function(e){return new(e||t)},providers:[{provide:a.c,useClass:c,deps:[a.f,s]}]}),t})();const u={parse:{dateInput:"l"},display:{dateInput:"l",monthYearLabel:"MMM YYYY",dateA11yLabel:"LL",monthYearA11yLabel:"MMMM YYYY"}};let h=(()=>{class t{}return t.\u0275mod=i.Lb({type:t}),t.\u0275inj=i.Kb({factory:function(e){return new(e||t)},providers:[{provide:a.e,useValue:u}],imports:[[d]]}),t})()},Dkky:function(t,e,n){!function(t){"use strict";t.defineLocale("fr-ch",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(t,e){switch(e){default:case"M":case"Q":case"D":case"DDD":case"d":return t+(1===t?"er":"e");case"w":case"W":return t+(1===t?"re":"e")}},week:{dow:1,doy:4}})}(n("wd/R"))},Dmvi:function(t,e,n){!function(t){"use strict";t.defineLocale("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:0,doy:4}})}(n("wd/R"))},DoHr:function(t,e,n){!function(t){"use strict";var e={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'\xfcnc\xfc",4:"'\xfcnc\xfc",100:"'\xfcnc\xfc",6:"'nc\u0131",9:"'uncu",10:"'uncu",30:"'uncu",60:"'\u0131nc\u0131",90:"'\u0131nc\u0131"};t.defineLocale("tr",{months:"Ocak_\u015eubat_Mart_Nisan_May\u0131s_Haziran_Temmuz_A\u011fustos_Eyl\xfcl_Ekim_Kas\u0131m_Aral\u0131k".split("_"),monthsShort:"Oca_\u015eub_Mar_Nis_May_Haz_Tem_A\u011fu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Sal\u0131_\xc7ar\u015famba_Per\u015fembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pts_Sal_\xc7ar_Per_Cum_Cts".split("_"),weekdaysMin:"Pz_Pt_Sa_\xc7a_Pe_Cu_Ct".split("_"),meridiem:function(t,e,n){return t<12?n?"\xf6\xf6":"\xd6\xd6":n?"\xf6s":"\xd6S"},meridiemParse:/\xf6\xf6|\xd6\xd6|\xf6s|\xd6S/,isPM:function(t){return"\xf6s"===t||"\xd6S"===t},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn saat] LT",nextDay:"[yar\u0131n saat] LT",nextWeek:"[gelecek] dddd [saat] LT",lastDay:"[d\xfcn] LT",lastWeek:"[ge\xe7en] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s \xf6nce",s:"birka\xe7 saniye",ss:"%d saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir g\xfcn",dd:"%d g\xfcn",w:"bir hafta",ww:"%d hafta",M:"bir ay",MM:"%d ay",y:"bir y\u0131l",yy:"%d y\u0131l"},ordinal:function(t,n){switch(n){case"d":case"D":case"Do":case"DD":return t;default:if(0===t)return t+"'\u0131nc\u0131";var i=t%10;return t+(e[i]||e[t%100-i]||e[t>=100?100:null])}},week:{dow:1,doy:7}})}(n("wd/R"))},Dwoe:function(t,e,n){"use strict";n.d(e,"a",function(){return p});var i=n("IGtN"),a=n("PTv7"),r=n("8Y7J"),o=n("TSSN"),s=n("f4AX"),l=n("qh/L"),c=n("iELJ"),d=n("PDjf"),u=n("q6Qu"),h=n("s7LF"),m=n("Dxy4");let p=(()=>{class t extends i.a{constructor(t,e,n,i){super(t),this.translateService=t,this.userService=e,this.sessionService=n,this.dialog=i}submitDeleteUser(){this.dialog.open(a.a,{id:"dialog-confirm",data:{title:this.translateService.instant("compte.delete.titre"),question:this.translateService.instant("compte.delete.confirmation"),okButtonText:this.translateService.instant("common.oui"),cancelButtonText:this.translateService.instant("common.non")}}).afterClosed().subscribe(t=>{!0===t&&this.userService.deleteUser().subscribe(()=>{this.sessionService.logout()})})}}return t.\u0275fac=function(e){return new(e||t)(r.Nb(o.d),r.Nb(s.a),r.Nb(l.a),r.Nb(c.b))},t.\u0275cmp=r.Hb({type:t,selectors:[["app-delete-compte"]],inputs:{roleLabel:"roleLabel"},features:[r.zb],decls:12,vars:6,consts:[[1,"content"],["appLabel","compte.delete.information"],["deleteCompteForm","ngForm"],[1,"actions"],["mat-raised-button","","id","deleteBtn","color","primary","aria-label","submit","appLabel","compte.delete.submit",3,"click"]],template:function(t,e){1&t&&(r.Tb(0,"div",0),r.Tb(1,"h1"),r.Hc(2),r.gc(3,"translate"),r.gc(4,"translate"),r.Sb(),r.Tb(5,"mat-card"),r.Tb(6,"mat-card-content"),r.Ob(7,"div",1),r.Tb(8,"form",null,2),r.Tb(10,"div",3),r.Tb(11,"button",4),r.bc("click",function(){return e.submitDeleteUser()}),r.Sb(),r.Sb(),r.Sb(),r.Sb(),r.Sb(),r.Sb()),2&t&&(r.Cb(2),r.Kc(" ",r.hc(3,2,"compte.delete.titre")," ",r.hc(4,4,e.roleLabel)," "))},directives:[d.a,d.b,u.a,h.x,h.p,h.q,m.a],pipes:[o.c],styles:["div.mat-tab-label{width:50%}.actions[_ngcontent-%COMP%]{display:-ms-flexbox;display:flex;padding-top:16px}.actions[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{-ms-flex:1;flex:1}"]}),t})()},DxQv:function(t,e,n){!function(t){"use strict";t.defineLocale("da",{months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"s\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xf8rdag".split("_"),weekdaysShort:"s\xf8n_man_tir_ons_tor_fre_l\xf8r".split("_"),weekdaysMin:"s\xf8_ma_ti_on_to_fr_l\xf8".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"p\xe5 dddd [kl.] LT",lastDay:"[i g\xe5r kl.] LT",lastWeek:"[i] dddd[s kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"f\xe5 sekunder",ss:"%d sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en m\xe5ned",MM:"%d m\xe5neder",y:"et \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},Dxy4:function(t,e,n){"use strict";n.d(e,"a",function(){return h}),n.d(e,"b",function(){return m});var i=n("UhP/"),a=n("omvX"),r=n("8Y7J"),o=n("YEUz");const s=["mat-button",""],l=["*"],c=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"];class d{constructor(t){this._elementRef=t}}const u=Object(i.w)(Object(i.y)(Object(i.x)(d)));let h=(()=>{class t extends u{constructor(t,e,n){super(t),this._focusMonitor=e,this._animationMode=n,this.isRoundButton=this._hasHostAttributes("mat-fab","mat-mini-fab"),this.isIconButton=this._hasHostAttributes("mat-icon-button");for(const i of c)this._hasHostAttributes(i)&&this._getHostElement().classList.add(i);t.nativeElement.classList.add("mat-button-base"),this.isRoundButton&&(this.color="accent")}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(t,e){t?this._focusMonitor.focusVia(this._getHostElement(),t,e):this._getHostElement().focus(e)}_getHostElement(){return this._elementRef.nativeElement}_isRippleDisabled(){return this.disableRipple||this.disabled}_hasHostAttributes(...t){return t.some(t=>this._getHostElement().hasAttribute(t))}}return t.\u0275fac=function(e){return new(e||t)(r.Nb(r.l),r.Nb(o.h),r.Nb(a.a,8))},t.\u0275cmp=r.Hb({type:t,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-icon-button",""],["button","mat-fab",""],["button","mat-mini-fab",""],["button","mat-stroked-button",""],["button","mat-flat-button",""]],viewQuery:function(t,e){if(1&t&&r.Lc(i.r,1),2&t){let t;r.uc(t=r.cc())&&(e.ripple=t.first)}},hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(t,e){2&t&&(r.Db("disabled",e.disabled||null),r.Fb("_mat-animation-noopable","NoopAnimations"===e._animationMode)("mat-button-disabled",e.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[r.zb],attrs:s,ngContentSelectors:l,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(t,e){1&t&&(r.mc(),r.Tb(0,"span",0),r.lc(1),r.Sb(),r.Ob(2,"span",1),r.Ob(3,"span",2)),2&t&&(r.Cb(2),r.Fb("mat-button-ripple-round",e.isRoundButton||e.isIconButton),r.nc("matRippleDisabled",e._isRippleDisabled())("matRippleCentered",e.isIconButton)("matRippleTrigger",e._getHostElement()))},directives:[i.r],styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-button-disabled{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button.mat-button-disabled{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}._mat-animation-noopable.mat-raised-button{transition:none;animation:none}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab.mat-button-disabled{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-fab{transition:none;animation:none}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab.mat-button-disabled{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-mini-fab{transition:none;animation:none}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:inline-flex;justify-content:center;align-items:center;font-size:inherit;width:2.5em;height:2.5em}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}.cdk-high-contrast-active .mat-button-base.cdk-keyboard-focused,.cdk-high-contrast-active .mat-button-base.cdk-program-focused{outline:solid 3px}\n"],encapsulation:2,changeDetection:0}),t})(),m=(()=>{class t{}return t.\u0275mod=r.Lb({type:t}),t.\u0275inj=r.Kb({factory:function(e){return new(e||t)},imports:[[i.s,i.j],i.j]}),t})()},Dzi0:function(t,e,n){!function(t){"use strict";t.defineLocale("tl-ph",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(t){return t},week:{dow:1,doy:4}})}(n("wd/R"))},"E+lV":function(t,e,n){!function(t){"use strict";var e={words:{ss:["\u0441\u0435\u043a\u0443\u043d\u0434\u0430","\u0441\u0435\u043a\u0443\u043d\u0434\u0435","\u0441\u0435\u043a\u0443\u043d\u0434\u0438"],m:["\u0458\u0435\u0434\u0430\u043d \u043c\u0438\u043d\u0443\u0442","\u0458\u0435\u0434\u043d\u0435 \u043c\u0438\u043d\u0443\u0442\u0435"],mm:["\u043c\u0438\u043d\u0443\u0442","\u043c\u0438\u043d\u0443\u0442\u0435","\u043c\u0438\u043d\u0443\u0442\u0430"],h:["\u0458\u0435\u0434\u0430\u043d \u0441\u0430\u0442","\u0458\u0435\u0434\u043d\u043e\u0433 \u0441\u0430\u0442\u0430"],hh:["\u0441\u0430\u0442","\u0441\u0430\u0442\u0430","\u0441\u0430\u0442\u0438"],dd:["\u0434\u0430\u043d","\u0434\u0430\u043d\u0430","\u0434\u0430\u043d\u0430"],MM:["\u043c\u0435\u0441\u0435\u0446","\u043c\u0435\u0441\u0435\u0446\u0430","\u043c\u0435\u0441\u0435\u0446\u0438"],yy:["\u0433\u043e\u0434\u0438\u043d\u0430","\u0433\u043e\u0434\u0438\u043d\u0435","\u0433\u043e\u0434\u0438\u043d\u0430"]},correctGrammaticalCase:function(t,e){return 1===t?e[0]:t>=2&&t<=4?e[1]:e[2]},translate:function(t,n,i){var a=e.words[i];return 1===i.length?n?a[0]:a[1]:t+" "+e.correctGrammaticalCase(t,a)}};t.defineLocale("sr-cyrl",{months:"\u0458\u0430\u043d\u0443\u0430\u0440_\u0444\u0435\u0431\u0440\u0443\u0430\u0440_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0431\u0430\u0440_\u043e\u043a\u0442\u043e\u0431\u0430\u0440_\u043d\u043e\u0432\u0435\u043c\u0431\u0430\u0440_\u0434\u0435\u0446\u0435\u043c\u0431\u0430\u0440".split("_"),monthsShort:"\u0458\u0430\u043d._\u0444\u0435\u0431._\u043c\u0430\u0440._\u0430\u043f\u0440._\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433._\u0441\u0435\u043f._\u043e\u043a\u0442._\u043d\u043e\u0432._\u0434\u0435\u0446.".split("_"),monthsParseExact:!0,weekdays:"\u043d\u0435\u0434\u0435\u0459\u0430_\u043f\u043e\u043d\u0435\u0434\u0435\u0459\u0430\u043a_\u0443\u0442\u043e\u0440\u0430\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0440\u0442\u0430\u043a_\u043f\u0435\u0442\u0430\u043a_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434._\u043f\u043e\u043d._\u0443\u0442\u043e._\u0441\u0440\u0435._\u0447\u0435\u0442._\u043f\u0435\u0442._\u0441\u0443\u0431.".split("_"),weekdaysMin:"\u043d\u0435_\u043f\u043e_\u0443\u0442_\u0441\u0440_\u0447\u0435_\u043f\u0435_\u0441\u0443".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[\u0434\u0430\u043d\u0430\u0441 \u0443] LT",nextDay:"[\u0441\u0443\u0442\u0440\u0430 \u0443] LT",nextWeek:function(){switch(this.day()){case 0:return"[\u0443] [\u043d\u0435\u0434\u0435\u0459\u0443] [\u0443] LT";case 3:return"[\u0443] [\u0441\u0440\u0435\u0434\u0443] [\u0443] LT";case 6:return"[\u0443] [\u0441\u0443\u0431\u043e\u0442\u0443] [\u0443] LT";case 1:case 2:case 4:case 5:return"[\u0443] dddd [\u0443] LT"}},lastDay:"[\u0458\u0443\u0447\u0435 \u0443] LT",lastWeek:function(){return["[\u043f\u0440\u043e\u0448\u043b\u0435] [\u043d\u0435\u0434\u0435\u0459\u0435] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u043f\u043e\u043d\u0435\u0434\u0435\u0459\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u0443\u0442\u043e\u0440\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u0435] [\u0441\u0440\u0435\u0434\u0435] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u0447\u0435\u0442\u0432\u0440\u0442\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u043f\u0435\u0442\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u0435] [\u0441\u0443\u0431\u043e\u0442\u0435] [\u0443] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"\u043f\u0440\u0435 %s",s:"\u043d\u0435\u043a\u043e\u043b\u0438\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:e.translate,m:e.translate,mm:e.translate,h:e.translate,hh:e.translate,d:"\u0434\u0430\u043d",dd:e.translate,M:"\u043c\u0435\u0441\u0435\u0446",MM:e.translate,y:"\u0433\u043e\u0434\u0438\u043d\u0443",yy:e.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("wd/R"))},EOgW:function(t,e,n){!function(t){"use strict";t.defineLocale("th",{months:"\u0e21\u0e01\u0e23\u0e32\u0e04\u0e21_\u0e01\u0e38\u0e21\u0e20\u0e32\u0e1e\u0e31\u0e19\u0e18\u0e4c_\u0e21\u0e35\u0e19\u0e32\u0e04\u0e21_\u0e40\u0e21\u0e29\u0e32\u0e22\u0e19_\u0e1e\u0e24\u0e29\u0e20\u0e32\u0e04\u0e21_\u0e21\u0e34\u0e16\u0e38\u0e19\u0e32\u0e22\u0e19_\u0e01\u0e23\u0e01\u0e0e\u0e32\u0e04\u0e21_\u0e2a\u0e34\u0e07\u0e2b\u0e32\u0e04\u0e21_\u0e01\u0e31\u0e19\u0e22\u0e32\u0e22\u0e19_\u0e15\u0e38\u0e25\u0e32\u0e04\u0e21_\u0e1e\u0e24\u0e28\u0e08\u0e34\u0e01\u0e32\u0e22\u0e19_\u0e18\u0e31\u0e19\u0e27\u0e32\u0e04\u0e21".split("_"),monthsShort:"\u0e21.\u0e04._\u0e01.\u0e1e._\u0e21\u0e35.\u0e04._\u0e40\u0e21.\u0e22._\u0e1e.\u0e04._\u0e21\u0e34.\u0e22._\u0e01.\u0e04._\u0e2a.\u0e04._\u0e01.\u0e22._\u0e15.\u0e04._\u0e1e.\u0e22._\u0e18.\u0e04.".split("_"),monthsParseExact:!0,weekdays:"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c_\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c_\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23_\u0e1e\u0e38\u0e18_\u0e1e\u0e24\u0e2b\u0e31\u0e2a\u0e1a\u0e14\u0e35_\u0e28\u0e38\u0e01\u0e23\u0e4c_\u0e40\u0e2a\u0e32\u0e23\u0e4c".split("_"),weekdaysShort:"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c_\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c_\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23_\u0e1e\u0e38\u0e18_\u0e1e\u0e24\u0e2b\u0e31\u0e2a_\u0e28\u0e38\u0e01\u0e23\u0e4c_\u0e40\u0e2a\u0e32\u0e23\u0e4c".split("_"),weekdaysMin:"\u0e2d\u0e32._\u0e08._\u0e2d._\u0e1e._\u0e1e\u0e24._\u0e28._\u0e2a.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm",LLLL:"\u0e27\u0e31\u0e19dddd\u0e17\u0e35\u0e48 D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm"},meridiemParse:/\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07|\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07/,isPM:function(t){return"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"===t},meridiem:function(t,e,n){return t<12?"\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07":"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"},calendar:{sameDay:"[\u0e27\u0e31\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextDay:"[\u0e1e\u0e23\u0e38\u0e48\u0e07\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextWeek:"dddd[\u0e2b\u0e19\u0e49\u0e32 \u0e40\u0e27\u0e25\u0e32] LT",lastDay:"[\u0e40\u0e21\u0e37\u0e48\u0e2d\u0e27\u0e32\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",lastWeek:"[\u0e27\u0e31\u0e19]dddd[\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27 \u0e40\u0e27\u0e25\u0e32] LT",sameElse:"L"},relativeTime:{future:"\u0e2d\u0e35\u0e01 %s",past:"%s\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27",s:"\u0e44\u0e21\u0e48\u0e01\u0e35\u0e48\u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",ss:"%d \u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",m:"1 \u0e19\u0e32\u0e17\u0e35",mm:"%d \u0e19\u0e32\u0e17\u0e35",h:"1 \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",hh:"%d \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",d:"1 \u0e27\u0e31\u0e19",dd:"%d \u0e27\u0e31\u0e19",w:"1 \u0e2a\u0e31\u0e1b\u0e14\u0e32\u0e2b\u0e4c",ww:"%d \u0e2a\u0e31\u0e1b\u0e14\u0e32\u0e2b\u0e4c",M:"1 \u0e40\u0e14\u0e37\u0e2d\u0e19",MM:"%d \u0e40\u0e14\u0e37\u0e2d\u0e19",y:"1 \u0e1b\u0e35",yy:"%d \u0e1b\u0e35"}})}(n("wd/R"))},EY2u:function(t,e,n){"use strict";n.d(e,"a",function(){return a}),n.d(e,"b",function(){return r});var i=n("HDdC");const a=new i.a(t=>t.complete());function r(t){return t?function(t){return new i.a(e=>t.schedule(()=>e.complete()))}(t):a}},EjJx:function(t,e,n){"use strict";function i(t){this.message=t}(i.prototype=new Error).name="InvalidCharacterError";var a="undefined"!=typeof window&&window.atob&&window.atob.bind(window)||function(t){var e=String(t).replace(/=+$/,"");if(e.length%4==1)throw new i("'atob' failed: The string to be decoded is not correctly encoded.");for(var n,a,r=0,o=0,s="";a=e.charAt(o++);~a&&(n=r%4?64*n+a:a,r++%4)?s+=String.fromCharCode(255&n>>(-2*r&6)):0)a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(a);return s};function r(t){var e=t.replace(/-/g,"+").replace(/_/g,"/");switch(e.length%4){case 0:break;case 2:e+="==";break;case 3:e+="=";break;default:throw"Illegal base64url string!"}try{return function(t){return decodeURIComponent(a(t).replace(/(.)/g,function(t,e){var n=e.charCodeAt(0).toString(16).toUpperCase();return n.length<2&&(n="0"+n),"%"+n}))}(e)}catch(t){return a(e)}}function o(t){this.message=t}(o.prototype=new Error).name="InvalidTokenError",e.a=function(t,e){if("string"!=typeof t)throw new o("Invalid token specified");var n=!0===(e=e||{}).header?0:1;try{return JSON.parse(r(t.split(".")[n]))}catch(t){throw new o("Invalid token specified: "+t.message)}}},Fnuy:function(t,e,n){!function(t){"use strict";t.defineLocale("oc-lnc",{months:{standalone:"geni\xe8r_febri\xe8r_mar\xe7_abril_mai_junh_julhet_agost_setembre_oct\xf2bre_novembre_decembre".split("_"),format:"de geni\xe8r_de febri\xe8r_de mar\xe7_d'abril_de mai_de junh_de julhet_d'agost_de setembre_d'oct\xf2bre_de novembre_de decembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._mar\xe7_abr._mai_junh_julh._ago._set._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"dimenge_diluns_dimars_dim\xe8cres_dij\xf2us_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dm._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dm_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:"[u\xe8i a] LT",nextDay:"[deman a] LT",nextWeek:"dddd [a] LT",lastDay:"[i\xe8r a] LT",lastWeek:"dddd [passat a] LT",sameElse:"L"},relativeTime:{future:"d'aqu\xed %s",past:"fa %s",s:"unas segondas",ss:"%d segondas",m:"una minuta",mm:"%d minutas",h:"una ora",hh:"%d oras",d:"un jorn",dd:"%d jorns",M:"un mes",MM:"%d meses",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|\xe8|a)/,ordinal:function(t,e){var n=1===t?"r":2===t?"n":3===t?"r":4===t?"t":"\xe8";return"w"!==e&&"W"!==e||(n="a"),t+n},week:{dow:1,doy:4}})}(n("wd/R"))},G0Uy:function(t,e,n){!function(t){"use strict";t.defineLocale("mt",{months:"Jannar_Frar_Marzu_April_Mejju_\u0120unju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Di\u010bembru".split("_"),monthsShort:"Jan_Fra_Mar_Apr_Mej_\u0120un_Lul_Aww_Set_Ott_Nov_Di\u010b".split("_"),weekdays:"Il-\u0126add_It-Tnejn_It-Tlieta_L-Erbg\u0127a_Il-\u0126amis_Il-\u0120img\u0127a_Is-Sibt".split("_"),weekdaysShort:"\u0126ad_Tne_Tli_Erb_\u0126am_\u0120im_Sib".split("_"),weekdaysMin:"\u0126a_Tn_Tl_Er_\u0126a_\u0120i_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Illum fil-]LT",nextDay:"[G\u0127ada fil-]LT",nextWeek:"dddd [fil-]LT",lastDay:"[Il-biera\u0127 fil-]LT",lastWeek:"dddd [li g\u0127adda] [fil-]LT",sameElse:"L"},relativeTime:{future:"f\u2019 %s",past:"%s ilu",s:"ftit sekondi",ss:"%d sekondi",m:"minuta",mm:"%d minuti",h:"sieg\u0127a",hh:"%d sieg\u0127at",d:"\u0121urnata",dd:"%d \u0121ranet",M:"xahar",MM:"%d xhur",y:"sena",yy:"%d sni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(n("wd/R"))},G2sr:function(t,e,n){"use strict";n.d(e,"a",function(){return f});var i=n("v/fa"),a=n("8Y7J"),r=n("TSSN"),o=n("zaPX"),s=n("s7LF"),l=n("Q2Ze"),c=n("ZTz/"),d=n("q6Qu"),u=n("SVse"),h=n("UhP/");function m(t,e){if(1&t&&(a.Tb(0,"mat-option",5),a.Hc(1),a.Sb()),2&t){const t=e.$implicit;a.nc("value",t.code),a.Cb(1),a.Jc(" ",t.nom," ")}}function p(t,e){1&t&&(a.Tb(0,"mat-error"),a.Hc(1),a.gc(2,"translate"),a.Sb()),2&t&&(a.Cb(1),a.Jc(" ",a.hc(2,1,"common.error.requis")," "))}let f=(()=>{class t extends i.a{constructor(t,e){super(t),this.translateService=t,this.configSharedService=e,this.qualifications=this.configSharedService.qualifications}set parentForm(t){this.form=t}}return t.\u0275fac=function(e){return new(e||t)(a.Nb(r.d),a.Nb(o.a))},t.\u0275cmp=a.Hb({type:t,selectors:[["app-qualification-form-2"]],inputs:{isRequired:"isRequired",parentForm:"parentForm"},features:[a.zb],decls:5,vars:4,consts:[[3,"formGroup"],[1,"full-width"],["data-cy","qualification","appLabel","dpd.salarie.qualification","formControlName","qualification",3,"required"],[3,"value",4,"ngFor","ngForOf"],[4,"ngIf"],[3,"value"]],template:function(t,e){1&t&&(a.Tb(0,"form",0),a.Tb(1,"mat-form-field",1),a.Tb(2,"mat-select",2),a.Fc(3,m,2,2,"mat-option",3),a.Sb(),a.Fc(4,p,3,3,"mat-error",4),a.Sb(),a.Sb()),2&t&&(a.nc("formGroup",e.form),a.Cb(2),a.nc("required",e.isRequired),a.Cb(1),a.nc("ngForOf",e.qualifications),a.Cb(1),a.nc("ngIf",e.doesControlHaveError("qualification","required")))},directives:[s.x,s.p,s.i,l.c,c.a,d.a,s.o,s.g,s.v,u.k,u.l,h.m,l.b],pipes:[r.c],styles:[".full-width[_ngcontent-%COMP%]{width:100%}"]}),t})()},GH2U:function(t,e,n){"use strict";n.d(e,"a",function(){return c});var i=n("cXaA"),a=n("LRne"),r=n("5+tZ"),o=n("71J3"),s=n("8Y7J"),l=n("IheW");let c=(()=>{class t{constructor(t){this.http=t,this.log=i.a.create("DeclarationService"),this.END_POINT="/api/declarations"}searchDeclarations(t=!1,e=null,n=null,i=null,a=null,r=null,o=null,s=null){const l=this.END_POINT+"/list"+(t?"/transmis":"/enregistre");this.log.data(`[HTTP] (POST) -> ${l}`);const c={};return null!==e&&(c.code=e),null!==n&&(c.titre=n),null!==i&&(c.salarie=i),null!==s&&(c.size=s),null!==o&&(c.page=o),null!==a&&null!==r&&(c.sort=a,c.direction=null!==r?r.toUpperCase():r),this.http.post(l,c)}saveDeclaration(t){let e;const n=new o.a(t);if(n.id){const t=`${this.END_POINT}/${n.code}`;this.log.data(`[HTTP] (PUT) -> ${t}`),this.log.data(JSON.stringify(n.getForPost())),e=this.http.put(t,n.getForPost()).pipe(Object(r.a)(()=>Object(a.a)(n)))}else{const t=this.END_POINT;this.log.data(`[HTTP] (POST) -> ${t}`),this.log.data(JSON.stringify(n.getForPost())),e=this.http.post(t,n.getForPost())}return e}getDeclaration(t){const e=`${this.END_POINT}/${t}`;return this.log.data(`[HTTP] (GET) -> ${e}`),this.http.get(e)}transmettreDeclaration(t,e){const n=`${this.END_POINT}/${t}/transmission`;return this.log.data(`[HTTP] (POST) -> ${n}`),this.http.post(n,e)}supprimerDeclaration(t){const e=`${this.END_POINT}/${t}`;return this.log.data(`[HTTP] (DELETE) -> ${e}`),this.http.delete(e)}completerDeclaration(t,e){const n=`${this.END_POINT}/${t}/complete`;return this.log.data(`[HTTP] (POST) -> ${n}`),this.http.post(n,e)}getAccuseReception(t){const e=`${this.END_POINT}/${t}/accuse-reception`;return this.log.data(`[HTTP] (GET) -> ${e}`),this.http.get(e)}getCompteurs(){const t=`${this.END_POINT}/compteurs`;return this.log.data(`[HTTP] (GET) -> ${t}`),this.http.get(t)}}return t.\u0275fac=function(e){return new(e||t)(s.Xb(l.b))},t.\u0275prov=s.Jb({token:t,factory:t.\u0275fac,providedIn:"root"}),t})()},GS7A:function(t,e,n){"use strict";n.d(e,"a",function(){return r}),n.d(e,"b",function(){return i}),n.d(e,"c",function(){return a}),n.d(e,"d",function(){return b}),n.d(e,"e",function(){return s}),n.d(e,"f",function(){return p}),n.d(e,"g",function(){return l}),n.d(e,"h",function(){return h}),n.d(e,"i",function(){return f}),n.d(e,"j",function(){return c}),n.d(e,"k",function(){return u}),n.d(e,"l",function(){return d}),n.d(e,"m",function(){return m}),n.d(e,"n",function(){return o}),n.d(e,"o",function(){return _}),n.d(e,"p",function(){return y});class i{}class a{}const r="*";function o(t,e){return{type:7,name:t,definitions:e,options:{}}}function s(t,e=null){return{type:4,styles:e,timings:t}}function l(t,e=null){return{type:3,steps:t,options:e}}function c(t,e=null){return{type:2,steps:t,options:e}}function d(t){return{type:6,styles:t,offset:null}}function u(t,e,n){return{type:0,name:t,styles:e,options:n}}function h(t){return{type:5,steps:t}}function m(t,e,n=null){return{type:1,expr:t,animation:e,options:n}}function p(t=null){return{type:9,options:t}}function f(t,e,n=null){return{type:11,selector:t,animation:e,options:n}}function g(t){Promise.resolve(null).then(t)}class b{constructor(t=0,e=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=t+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}onStart(t){this._onStartFns.push(t)}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){g(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){}setPosition(t){this._position=this.totalTime?t*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}class _{constructor(t){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=t;let e=0,n=0,i=0;const a=this.players.length;0==a?g(()=>this._onFinish()):this.players.forEach(t=>{t.onDone(()=>{++e==a&&this._onFinish()}),t.onDestroy(()=>{++n==a&&this._onDestroy()}),t.onStart(()=>{++i==a&&this._onStart()})}),this.totalTime=this.players.reduce((t,e)=>Math.max(t,e.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this.players.forEach(t=>t.init())}onStart(t){this._onStartFns.push(t)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(t=>t()),this._onStartFns=[])}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(t=>t.play())}pause(){this.players.forEach(t=>t.pause())}restart(){this.players.forEach(t=>t.restart())}finish(){this._onFinish(),this.players.forEach(t=>t.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(t=>t.destroy()),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this.players.forEach(t=>t.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(t){const e=t*this.totalTime;this.players.forEach(t=>{const n=t.totalTime?Math.min(1,e/t.totalTime):1;t.setPosition(n)})}getPosition(){const t=this.players.reduce((t,e)=>null===t||e.totalTime>t.totalTime?e:t,null);return null!=t?t.getPosition():0}beforeDestroy(){this.players.forEach(t=>{t.beforeDestroy&&t.beforeDestroy()})}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}const y="!"},Gnk8:function(t,e,n){"use strict";n.d(e,"a",function(){return i});var i=function(t){return t.FOREIGN_COMPANY="entreprise-etrangere",t.CLIENT="client",t.LOCATION="lieux",t.PRESTATION="prestation",t.FRAIS="frais",t.SINGLE_WORKER="salarie",t.WORKERS="salaries",t.REPRESENTATIVE="representant",t}({})},GyhO:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("LRne"),a=n("bHdf");function r(...t){return Object(a.a)(1)(Object(i.a)(...t))}},"H3+n":function(t,e,n){"use strict";n.d(e,"a",function(){return p});var i=n("8Y7J"),a=n("s7LF"),r=n("IGtN"),o=n("TSSN"),s=n("Q2Ze"),l=n("e6WT"),c=n("q6Qu"),d=n("cw5Z"),u=n("SVse");function h(t,e){1&t&&(i.Tb(0,"mat-error"),i.Hc(1),i.gc(2,"translate"),i.Sb()),2&t&&(i.Cb(1),i.Jc(" ",i.hc(2,1,"common.error.requis")," "))}function m(t,e){1&t&&(i.Tb(0,"mat-error"),i.Hc(1),i.gc(2,"translate"),i.Sb()),2&t&&(i.Cb(1),i.Jc(" ",i.hc(2,1,"common.error.heure")," "))}let p=(()=>{class t extends r.a{constructor(t){super(t),this.translateService=t,this.inputTitle="Heure",this.onChange=t=>{},this.onTouched=()=>{}}get timeInInput(){return this._timeInInput}set timeInInput(t){this._timeInInput=t,this.updateTimeInTimePicker()}updateTimeInTimePicker(){this.timeInTimePicker=this.timeInInput,this.onChange(this.timeInInput)}writeValue(t){this.timeInInput=t}registerOnChange(t){this.onChange=t}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this.isDisabled=t}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(o.d))},t.\u0275cmp=i.Hb({type:t,selectors:[["app-time-form-2"]],inputs:{inputTitle:"inputTitle"},features:[i.Bb([{provide:a.m,useExisting:Object(i.V)(()=>t),multi:!0}]),i.zb],decls:9,vars:12,consts:[[1,"time-container"],["matInput","","data-cy","time","pattern","^([01][0-9]|2[0-3]):[0-5][0-9]$","required","",3,"ngModel","appLabel","disabled","ngModelChange"],["timeCtrl","ngModel"],["type","hidden",3,"value","ngxTimepicker","format","disableClick"],[4,"ngIf"],["matSuffix","",3,"for","disabled","className"],[3,"timeSet"],["timePicker",""]],template:function(t,e){if(1&t&&(i.Tb(0,"mat-form-field",0),i.Tb(1,"input",1,2),i.bc("ngModelChange",function(t){return e.timeInInput=t}),i.Sb(),i.Ob(3,"input",3),i.Fc(4,h,3,3,"mat-error",4),i.Fc(5,m,3,3,"mat-error",4),i.Ob(6,"ngx-material-timepicker-toggle",5),i.Tb(7,"ngx-material-timepicker",6,7),i.bc("timeSet",function(t){return e.timeInInput=t}),i.Sb(),i.Sb()),2&t){const t=i.vc(2),n=i.vc(8);i.Cb(1),i.nc("ngModel",e.timeInInput)("appLabel",e.inputTitle)("disabled",e.isDisabled),i.Cb(2),i.nc("value",e.timeInTimePicker)("ngxTimepicker",n)("format",24)("disableClick",!0),i.Cb(1),i.nc("ngIf",t.hasError("required")),i.Cb(1),i.nc("ngIf",t.hasError("pattern")),i.Cb(1),i.nc("for",n)("disabled",e.isDisabled)("className",e.isDisabled?"ngx-timepicker-disabled":"ngx-timepicker-enabled")}},directives:[s.c,l.b,a.c,a.t,a.v,a.o,a.r,c.a,d.c,u.l,d.d,s.h,d.a,s.b],pipes:[o.c],styles:[".ngx-timepicker-disabled[_ngcontent-%COMP%] button{cursor:default;opacity:.5}.ngx-timepicker-enabled[_ngcontent-%COMP%] button{cursor:pointer}.time-container[_ngcontent-%COMP%]{width:100%}"]}),t})()},H8ED:function(t,e,n){!function(t){"use strict";function e(t,e,n){return"m"===n?e?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443":"h"===n?e?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443":t+" "+(i=+t,a={ss:e?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434",mm:e?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430_\u0445\u0432\u0456\u043b\u0456\u043d\u044b_\u0445\u0432\u0456\u043b\u0456\u043d":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443_\u0445\u0432\u0456\u043b\u0456\u043d\u044b_\u0445\u0432\u0456\u043b\u0456\u043d",hh:e?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430_\u0433\u0430\u0434\u0437\u0456\u043d\u044b_\u0433\u0430\u0434\u0437\u0456\u043d":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443_\u0433\u0430\u0434\u0437\u0456\u043d\u044b_\u0433\u0430\u0434\u0437\u0456\u043d",dd:"\u0434\u0437\u0435\u043d\u044c_\u0434\u043d\u0456_\u0434\u0437\u0451\u043d",MM:"\u043c\u0435\u0441\u044f\u0446_\u043c\u0435\u0441\u044f\u0446\u044b_\u043c\u0435\u0441\u044f\u0446\u0430\u045e",yy:"\u0433\u043e\u0434_\u0433\u0430\u0434\u044b_\u0433\u0430\u0434\u043e\u045e"}[n].split("_"),i%10==1&&i%100!=11?a[0]:i%10>=2&&i%10<=4&&(i%100<10||i%100>=20)?a[1]:a[2]);var i,a}t.defineLocale("be",{months:{format:"\u0441\u0442\u0443\u0434\u0437\u0435\u043d\u044f_\u043b\u044e\u0442\u0430\u0433\u0430_\u0441\u0430\u043a\u0430\u0432\u0456\u043a\u0430_\u043a\u0440\u0430\u0441\u0430\u0432\u0456\u043a\u0430_\u0442\u0440\u0430\u045e\u043d\u044f_\u0447\u044d\u0440\u0432\u0435\u043d\u044f_\u043b\u0456\u043f\u0435\u043d\u044f_\u0436\u043d\u0456\u045e\u043d\u044f_\u0432\u0435\u0440\u0430\u0441\u043d\u044f_\u043a\u0430\u0441\u0442\u0440\u044b\u0447\u043d\u0456\u043a\u0430_\u043b\u0456\u0441\u0442\u0430\u043f\u0430\u0434\u0430_\u0441\u043d\u0435\u0436\u043d\u044f".split("_"),standalone:"\u0441\u0442\u0443\u0434\u0437\u0435\u043d\u044c_\u043b\u044e\u0442\u044b_\u0441\u0430\u043a\u0430\u0432\u0456\u043a_\u043a\u0440\u0430\u0441\u0430\u0432\u0456\u043a_\u0442\u0440\u0430\u0432\u0435\u043d\u044c_\u0447\u044d\u0440\u0432\u0435\u043d\u044c_\u043b\u0456\u043f\u0435\u043d\u044c_\u0436\u043d\u0456\u0432\u0435\u043d\u044c_\u0432\u0435\u0440\u0430\u0441\u0435\u043d\u044c_\u043a\u0430\u0441\u0442\u0440\u044b\u0447\u043d\u0456\u043a_\u043b\u0456\u0441\u0442\u0430\u043f\u0430\u0434_\u0441\u043d\u0435\u0436\u0430\u043d\u044c".split("_")},monthsShort:"\u0441\u0442\u0443\u0434_\u043b\u044e\u0442_\u0441\u0430\u043a_\u043a\u0440\u0430\u0441_\u0442\u0440\u0430\u0432_\u0447\u044d\u0440\u0432_\u043b\u0456\u043f_\u0436\u043d\u0456\u0432_\u0432\u0435\u0440_\u043a\u0430\u0441\u0442_\u043b\u0456\u0441\u0442_\u0441\u043d\u0435\u0436".split("_"),weekdays:{format:"\u043d\u044f\u0434\u0437\u0435\u043b\u044e_\u043f\u0430\u043d\u044f\u0434\u0437\u0435\u043b\u0430\u043a_\u0430\u045e\u0442\u043e\u0440\u0430\u043a_\u0441\u0435\u0440\u0430\u0434\u0443_\u0447\u0430\u0446\u0432\u0435\u0440_\u043f\u044f\u0442\u043d\u0456\u0446\u0443_\u0441\u0443\u0431\u043e\u0442\u0443".split("_"),standalone:"\u043d\u044f\u0434\u0437\u0435\u043b\u044f_\u043f\u0430\u043d\u044f\u0434\u0437\u0435\u043b\u0430\u043a_\u0430\u045e\u0442\u043e\u0440\u0430\u043a_\u0441\u0435\u0440\u0430\u0434\u0430_\u0447\u0430\u0446\u0432\u0435\u0440_\u043f\u044f\u0442\u043d\u0456\u0446\u0430_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),isFormat:/\[ ?[\u0423\u0443\u045e] ?(?:\u043c\u0456\u043d\u0443\u043b\u0443\u044e|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u0443\u044e)? ?\] ?dddd/},weekdaysShort:"\u043d\u0434_\u043f\u043d_\u0430\u0442_\u0441\u0440_\u0447\u0446_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0430\u0442_\u0441\u0440_\u0447\u0446_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., HH:mm",LLLL:"dddd, D MMMM YYYY \u0433., HH:mm"},calendar:{sameDay:"[\u0421\u0451\u043d\u043d\u044f \u045e] LT",nextDay:"[\u0417\u0430\u045e\u0442\u0440\u0430 \u045e] LT",lastDay:"[\u0423\u0447\u043e\u0440\u0430 \u045e] LT",nextWeek:function(){return"[\u0423] dddd [\u045e] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[\u0423 \u043c\u0456\u043d\u0443\u043b\u0443\u044e] dddd [\u045e] LT";case 1:case 2:case 4:return"[\u0423 \u043c\u0456\u043d\u0443\u043b\u044b] dddd [\u045e] LT"}},sameElse:"L"},relativeTime:{future:"\u043f\u0440\u0430\u0437 %s",past:"%s \u0442\u0430\u043c\u0443",s:"\u043d\u0435\u043a\u0430\u043b\u044c\u043a\u0456 \u0441\u0435\u043a\u0443\u043d\u0434",m:e,mm:e,h:e,hh:e,d:"\u0434\u0437\u0435\u043d\u044c",dd:e,M:"\u043c\u0435\u0441\u044f\u0446",MM:e,y:"\u0433\u043e\u0434",yy:e},meridiemParse:/\u043d\u043e\u0447\u044b|\u0440\u0430\u043d\u0456\u0446\u044b|\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430/,isPM:function(t){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430)$/.test(t)},meridiem:function(t,e,n){return t<4?"\u043d\u043e\u0447\u044b":t<12?"\u0440\u0430\u043d\u0456\u0446\u044b":t<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0430\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0456|\u044b|\u0433\u0430)/,ordinal:function(t,e){switch(e){case"M":case"d":case"DDD":case"w":case"W":return t%10!=2&&t%10!=3||t%100==12||t%100==13?t+"-\u044b":t+"-\u0456";case"D":return t+"-\u0433\u0430";default:return t}},week:{dow:1,doy:7}})}(n("wd/R"))},HDdC:function(t,e,n){"use strict";n.d(e,"a",function(){return c});var i=n("7o/Q"),a=n("2QA8"),r=n("gRHU"),o=n("kJWO"),s=n("SpAZ"),l=n("2fFW");let c=(()=>{class t{constructor(t){this._isScalar=!1,t&&(this._subscribe=t)}lift(e){const n=new t;return n.source=this,n.operator=e,n}subscribe(t,e,n){const{operator:o}=this,s=function(t,e,n){if(t){if(t instanceof i.a)return t;if(t[a.a])return t[a.a]()}return t||e||n?new i.a(t,e,n):new i.a(r.a)}(t,e,n);if(s.add(o?o.call(s,this.source):this.source||l.a.useDeprecatedSynchronousErrorHandling&&!s.syncErrorThrowable?this._subscribe(s):this._trySubscribe(s)),l.a.useDeprecatedSynchronousErrorHandling&&s.syncErrorThrowable&&(s.syncErrorThrowable=!1,s.syncErrorThrown))throw s.syncErrorValue;return s}_trySubscribe(t){try{return this._subscribe(t)}catch(e){l.a.useDeprecatedSynchronousErrorHandling&&(t.syncErrorThrown=!0,t.syncErrorValue=e),function(t){for(;t;){const{closed:e,destination:n,isStopped:a}=t;if(e||a)return!1;t=n&&n instanceof i.a?n:null}return!0}(t)?t.error(e):console.warn(e)}}forEach(t,e){return new(e=d(e))((e,n)=>{let i;i=this.subscribe(e=>{try{t(e)}catch(a){n(a),i&&i.unsubscribe()}},n,e)})}_subscribe(t){const{source:e}=this;return e&&e.subscribe(t)}[o.a](){return this}pipe(...t){return 0===t.length?this:(0===(e=t).length?s.a:1===e.length?e[0]:function(t){return e.reduce((t,e)=>e(t),t)})(this);var e}toPromise(t){return new(t=d(t))((t,e)=>{let n;this.subscribe(t=>n=t,t=>e(t),()=>t(n))})}}return t.create=e=>new t(e),t})();function d(t){if(t||(t=l.a.Promise||Promise),!t)throw new Error("no Promise impl found");return t}},HP3h:function(t,e,n){!function(t){"use strict";var e={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},n=function(t){return 0===t?0:1===t?1:2===t?2:t%100>=3&&t%100<=10?3:t%100>=11?4:5},i={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},a=function(t){return function(e,a,r,o){var s=n(e),l=i[t][n(e)];return 2===s&&(l=l[a?0:1]),l.replace(/%d/i,e)}},r=["\u064a\u0646\u0627\u064a\u0631","\u0641\u0628\u0631\u0627\u064a\u0631","\u0645\u0627\u0631\u0633","\u0623\u0628\u0631\u064a\u0644","\u0645\u0627\u064a\u0648","\u064a\u0648\u0646\u064a\u0648","\u064a\u0648\u0644\u064a\u0648","\u0623\u063a\u0633\u0637\u0633","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];t.defineLocale("ar-ly",{months:r,monthsShort:r,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(t){return"\u0645"===t},meridiem:function(t,e,n){return t<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:a("s"),ss:a("s"),m:a("m"),mm:a("m"),h:a("h"),hh:a("h"),d:a("d"),dd:a("d"),M:a("M"),MM:a("M"),y:a("y"),yy:a("y")},preparse:function(t){return t.replace(/\u060c/g,",")},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(n("wd/R"))},HeVh:function(t,e,n){"use strict";n.d(e,"a",function(){return w}),n.d(e,"b",function(){return M});var i=n("8Y7J"),a=n("8LU1"),r=n("XNiG"),o=n("itXk"),s=n("GyhO"),l=n("HDdC"),c=n("IzEk"),d=n("7o/Q");class u{constructor(t){this.total=t}call(t,e){return e.subscribe(new h(t,this.total))}}class h extends d.a{constructor(t,e){super(t),this.total=e,this.count=0}_next(t){++this.count>this.total&&this.destination.next(t)}}var m=n("Kj3r"),p=n("lJxs"),f=n("JX91"),g=n("1G5W"),b=n("SCoL");const _=new Set;let y,v=(()=>{class t{constructor(t){this._platform=t,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):C}matchMedia(t){return this._platform.WEBKIT&&function(t){if(!_.has(t))try{y||(y=document.createElement("style"),y.setAttribute("type","text/css"),document.head.appendChild(y)),y.sheet&&(y.sheet.insertRule(`@media ${t} {.fx-query-test{ }}`,0),_.add(t))}catch(e){console.error(e)}}(t),this._matchMedia(t)}}return t.\u0275fac=function(e){return new(e||t)(i.Xb(b.a))},t.\u0275prov=Object(i.Jb)({factory:function(){return new t(Object(i.Xb)(b.a))},token:t,providedIn:"root"}),t})();function C(t){return{matches:"all"===t||""===t,media:t,addListener:()=>{},removeListener:()=>{}}}let w=(()=>{class t{constructor(t,e){this._mediaMatcher=t,this._zone=e,this._queries=new Map,this._destroySubject=new r.a}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(t){return x(Object(a.b)(t)).some(t=>this._registerQuery(t).mql.matches)}observe(t){const e=x(Object(a.b)(t)).map(t=>this._registerQuery(t).observable);let n=Object(o.a)(e);return n=Object(s.a)(n.pipe(Object(c.a)(1)),n.pipe(t=>t.lift(new u(1)),Object(m.a)(0))),n.pipe(Object(p.a)(t=>{const e={matches:!1,breakpoints:{}};return t.forEach(({matches:t,query:n})=>{e.matches=e.matches||t,e.breakpoints[n]=t}),e}))}_registerQuery(t){if(this._queries.has(t))return this._queries.get(t);const e=this._mediaMatcher.matchMedia(t),n={observable:new l.a(t=>{const n=e=>this._zone.run(()=>t.next(e));return e.addListener(n),()=>{e.removeListener(n)}}).pipe(Object(f.a)(e),Object(p.a)(({matches:e})=>({query:t,matches:e})),Object(g.a)(this._destroySubject)),mql:e};return this._queries.set(t,n),n}}return t.\u0275fac=function(e){return new(e||t)(i.Xb(v),i.Xb(i.B))},t.\u0275prov=Object(i.Jb)({factory:function(){return new t(Object(i.Xb)(v),Object(i.Xb)(i.B))},token:t,providedIn:"root"}),t})();function x(t){return t.map(t=>t.split(",")).reduce((t,e)=>t.concat(e)).map(t=>t.trim())}const M={XSmall:"(max-width: 599.98px)",Small:"(min-width: 600px) and (max-width: 959.98px)",Medium:"(min-width: 960px) and (max-width: 1279.98px)",Large:"(min-width: 1280px) and (max-width: 1919.98px)",XLarge:"(min-width: 1920px)",Handset:"(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)",Tablet:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait), (min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",Web:"(min-width: 840px) and (orientation: portrait), (min-width: 1280px) and (orientation: landscape)",HandsetPortrait:"(max-width: 599.98px) and (orientation: portrait)",TabletPortrait:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait)",WebPortrait:"(min-width: 840px) and (orientation: portrait)",HandsetLandscape:"(max-width: 959.98px) and (orientation: landscape)",TabletLandscape:"(min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",WebLandscape:"(min-width: 1280px) and (orientation: landscape)"}},"Ht+U":function(t,e,n){"use strict";n.d(e,"a",function(){return _}),n.d(e,"b",function(){return i}),n.d(e,"c",function(){return f}),n.d(e,"d",function(){return d}),n.d(e,"e",function(){return r}),n.d(e,"f",function(){return o}),n.d(e,"g",function(){return u}),n.d(e,"h",function(){return h}),n.d(e,"i",function(){return b}),n.d(e,"j",function(){return c}),n.d(e,"k",function(){return l}),n.d(e,"l",function(){return p}),n.d(e,"m",function(){return s}),n.d(e,"n",function(){return a}),n.d(e,"o",function(){return m}),n.d(e,"p",function(){return y}),n.d(e,"q",function(){return g}),n.d(e,"r",function(){return v});const i=8,a=9,r=13,o=27,s=32,l=33,c=34,d=35,u=36,h=37,m=38,p=39,f=40,g=48,b=57,_=65,y=90;function v(t,...e){return e.length?e.some(e=>t[e]):t.altKey||t.shiftKey||t.ctrlKey||t.metaKey}},I55L:function(t,e,n){"use strict";n.d(e,"a",function(){return i});const i=t=>t&&"number"==typeof t.length&&"function"!=typeof t},IBtZ:function(t,e,n){!function(t){"use strict";t.defineLocale("ka",{months:"\u10d8\u10d0\u10dc\u10d5\u10d0\u10e0\u10d8_\u10d7\u10d4\u10d1\u10d4\u10e0\u10d5\u10d0\u10da\u10d8_\u10db\u10d0\u10e0\u10e2\u10d8_\u10d0\u10de\u10e0\u10d8\u10da\u10d8_\u10db\u10d0\u10d8\u10e1\u10d8_\u10d8\u10d5\u10dc\u10d8\u10e1\u10d8_\u10d8\u10d5\u10da\u10d8\u10e1\u10d8_\u10d0\u10d2\u10d5\u10d8\u10e1\u10e2\u10dd_\u10e1\u10d4\u10e5\u10e2\u10d4\u10db\u10d1\u10d4\u10e0\u10d8_\u10dd\u10e5\u10e2\u10dd\u10db\u10d1\u10d4\u10e0\u10d8_\u10dc\u10dd\u10d4\u10db\u10d1\u10d4\u10e0\u10d8_\u10d3\u10d4\u10d9\u10d4\u10db\u10d1\u10d4\u10e0\u10d8".split("_"),monthsShort:"\u10d8\u10d0\u10dc_\u10d7\u10d4\u10d1_\u10db\u10d0\u10e0_\u10d0\u10de\u10e0_\u10db\u10d0\u10d8_\u10d8\u10d5\u10dc_\u10d8\u10d5\u10da_\u10d0\u10d2\u10d5_\u10e1\u10d4\u10e5_\u10dd\u10e5\u10e2_\u10dc\u10dd\u10d4_\u10d3\u10d4\u10d9".split("_"),weekdays:{standalone:"\u10d9\u10d5\u10d8\u10e0\u10d0_\u10dd\u10e0\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10e1\u10d0\u10db\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10dd\u10d7\u10ee\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10ee\u10e3\u10d7\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10de\u10d0\u10e0\u10d0\u10e1\u10d9\u10d4\u10d5\u10d8_\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8".split("_"),format:"\u10d9\u10d5\u10d8\u10e0\u10d0\u10e1_\u10dd\u10e0\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10e1\u10d0\u10db\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10dd\u10d7\u10ee\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10ee\u10e3\u10d7\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10de\u10d0\u10e0\u10d0\u10e1\u10d9\u10d4\u10d5\u10e1_\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1".split("_"),isFormat:/(\u10ec\u10d8\u10dc\u10d0|\u10e8\u10d4\u10db\u10d3\u10d4\u10d2)/},weekdaysShort:"\u10d9\u10d5\u10d8_\u10dd\u10e0\u10e8_\u10e1\u10d0\u10db_\u10dd\u10d7\u10ee_\u10ee\u10e3\u10d7_\u10de\u10d0\u10e0_\u10e8\u10d0\u10d1".split("_"),weekdaysMin:"\u10d9\u10d5_\u10dd\u10e0_\u10e1\u10d0_\u10dd\u10d7_\u10ee\u10e3_\u10de\u10d0_\u10e8\u10d0".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u10d3\u10e6\u10d4\u10e1] LT[-\u10d6\u10d4]",nextDay:"[\u10ee\u10d5\u10d0\u10da] LT[-\u10d6\u10d4]",lastDay:"[\u10d2\u10e3\u10e8\u10d8\u10dc] LT[-\u10d6\u10d4]",nextWeek:"[\u10e8\u10d4\u10db\u10d3\u10d4\u10d2] dddd LT[-\u10d6\u10d4]",lastWeek:"[\u10ec\u10d8\u10dc\u10d0] dddd LT-\u10d6\u10d4",sameElse:"L"},relativeTime:{future:function(t){return t.replace(/(\u10ec\u10d0\u10db|\u10ec\u10e3\u10d7|\u10e1\u10d0\u10d0\u10d7|\u10ec\u10d4\u10da|\u10d3\u10e6|\u10d7\u10d5)(\u10d8|\u10d4)/,function(t,e,n){return"\u10d8"===n?e+"\u10e8\u10d8":e+n+"\u10e8\u10d8"})},past:function(t){return/(\u10ec\u10d0\u10db\u10d8|\u10ec\u10e3\u10d7\u10d8|\u10e1\u10d0\u10d0\u10d7\u10d8|\u10d3\u10e6\u10d4|\u10d7\u10d5\u10d4)/.test(t)?t.replace(/(\u10d8|\u10d4)$/,"\u10d8\u10e1 \u10ec\u10d8\u10dc"):/\u10ec\u10d4\u10da\u10d8/.test(t)?t.replace(/\u10ec\u10d4\u10da\u10d8$/,"\u10ec\u10da\u10d8\u10e1 \u10ec\u10d8\u10dc"):t},s:"\u10e0\u10d0\u10db\u10d3\u10d4\u10dc\u10d8\u10db\u10d4 \u10ec\u10d0\u10db\u10d8",ss:"%d \u10ec\u10d0\u10db\u10d8",m:"\u10ec\u10e3\u10d7\u10d8",mm:"%d \u10ec\u10e3\u10d7\u10d8",h:"\u10e1\u10d0\u10d0\u10d7\u10d8",hh:"%d \u10e1\u10d0\u10d0\u10d7\u10d8",d:"\u10d3\u10e6\u10d4",dd:"%d \u10d3\u10e6\u10d4",M:"\u10d7\u10d5\u10d4",MM:"%d \u10d7\u10d5\u10d4",y:"\u10ec\u10d4\u10da\u10d8",yy:"%d \u10ec\u10d4\u10da\u10d8"},dayOfMonthOrdinalParse:/0|1-\u10da\u10d8|\u10db\u10d4-\d{1,2}|\d{1,2}-\u10d4/,ordinal:function(t){return 0===t?t:1===t?t+"-\u10da\u10d8":t<20||t<=100&&t%20==0||t%100==0?"\u10db\u10d4-"+t:t+"-\u10d4"},week:{dow:1,doy:7}})}(n("wd/R"))},IGtN:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("8Y7J"),a=n("TSSN");let r=(()=>{class t{constructor(t){this.translateService=t,this.subscriptions=[]}ngOnInit(){this.load(),this.subscriptions.push(this.translateService.onLangChange.subscribe(t=>{const e=localStorage.getItem("lang");null!==e&&e!==t.lang&&this.load()}))}load(){}ngOnDestroy(){this.unload(),this.subscriptions.forEach(t=>t.unsubscribe())}unload(){}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(a.d))},t.\u0275cmp=i.Hb({type:t,selectors:[["ng-component"]],decls:0,vars:0,template:function(t,e){},encapsulation:2}),t})()},INw2:function(t,e,n){"use strict";n.d(e,"a",function(){return A});var i=n("v/fa"),a=n("O8bH"),r=n("8Y7J"),o=n("TSSN"),s=n("iELJ"),l=n("s7LF"),c=n("SVse"),d=n("Q2Ze"),u=n("ZTz/"),h=n("Dxy4"),m=n("q6Qu"),p=n("UhP/"),f=n("Tj54");function g(t,e){if(1&t&&(r.Tb(0,"mat-option",14),r.Hc(1),r.Sb()),2&t){const t=e.$implicit,n=r.fc(2);r.nc("value",t),r.Cb(1),r.Kc(" ",t.activite4," - ",n.getLibelleActivite4(t)," ")}}function b(t,e){if(1&t){const t=r.Ub();r.Tb(0,"div"),r.Tb(1,"label"),r.Hc(2),r.gc(3,"translate"),r.Sb(),r.Tb(4,"div",10),r.Tb(5,"div",3),r.Tb(6,"mat-form-field"),r.Tb(7,"mat-select",11),r.Fc(8,g,2,3,"mat-option",12),r.Sb(),r.Sb(),r.Tb(9,"button",13),r.bc("click",function(){return r.yc(t),r.fc().selectActivityCodeNaf()}),r.Sb(),r.Sb(),r.Sb(),r.Sb()}if(2&t){const t=r.fc();r.Cb(2),r.Ic(r.hc(3,2,"dpd.activite.codeNaf")),r.Cb(6),r.nc("ngForOf",t.listActiviteCodeNaf)}}function _(t,e){if(1&t&&(r.Tb(0,"mat-option",14),r.Hc(1),r.Sb()),2&t){const t=r.fc().$implicit;r.nc("value",t),r.Cb(1),r.Jc(" ",t.libelle," ")}}function y(t,e){if(1&t&&(r.Rb(0),r.Fc(1,_,2,2,"mat-option",15),r.Qb()),2&t){const t=e.$implicit;r.Cb(1),r.nc("ngIf",t.actif)}}function v(t,e){if(1&t){const t=r.Ub();r.Tb(0,"div"),r.Tb(1,"mat-icon",16),r.bc("click",function(){r.yc(t);const e=r.fc();return e.detailActivite(e.activite1)}),r.Hc(2,"help"),r.Sb(),r.Sb()}}function C(t,e){if(1&t&&(r.Tb(0,"mat-option",14),r.Hc(1),r.Sb()),2&t){const t=r.fc().$implicit;r.nc("value",t),r.Cb(1),r.Jc(" ",t.libelle," ")}}function w(t,e){if(1&t&&(r.Rb(0),r.Fc(1,C,2,2,"mat-option",15),r.Qb()),2&t){const t=e.$implicit;r.Cb(1),r.nc("ngIf",t.actif)}}function x(t,e){if(1&t){const t=r.Ub();r.Tb(0,"div"),r.Tb(1,"mat-icon",16),r.bc("click",function(){r.yc(t);const e=r.fc(2);return e.detailActivite(e.activite2)}),r.Hc(2,"help"),r.Sb(),r.Sb()}}function M(t,e){if(1&t){const t=r.Ub();r.Tb(0,"div",17),r.Tb(1,"div",3),r.Tb(2,"mat-form-field",4),r.Tb(3,"mat-select",18),r.bc("selectionChange",function(e){return r.yc(t),r.fc().onActivitesChange(e)}),r.Fc(4,w,2,1,"ng-container",6),r.Sb(),r.Sb(),r.Fc(5,x,3,0,"div",1),r.Sb(),r.Sb()}if(2&t){const t=r.fc();r.Cb(2),r.nc("hideRequiredMarker",!1),r.Cb(1),r.nc("title",t.activite2?t.activite2.libelle:""),r.Cb(1),r.nc("ngForOf",t.activite1.sousActivites),r.Cb(1),r.nc("ngIf",t.isDetailActivityDisplayed(t.activite2))}}function O(t,e){if(1&t&&(r.Tb(0,"mat-option",14),r.Hc(1),r.Sb()),2&t){const t=r.fc().$implicit;r.nc("value",t),r.Cb(1),r.Jc(" ",t.libelle," ")}}function k(t,e){if(1&t&&(r.Rb(0),r.Fc(1,O,2,2,"mat-option",15),r.Qb()),2&t){const t=e.$implicit;r.Cb(1),r.nc("ngIf",t.actif)}}function S(t,e){if(1&t){const t=r.Ub();r.Tb(0,"div"),r.Tb(1,"mat-icon",16),r.bc("click",function(){r.yc(t);const e=r.fc(2);return e.detailActivite(e.activite3)}),r.Hc(2,"help"),r.Sb(),r.Sb()}}function T(t,e){if(1&t){const t=r.Ub();r.Tb(0,"div",19),r.Tb(1,"div",3),r.Tb(2,"mat-form-field",4),r.Tb(3,"mat-select",20),r.bc("selectionChange",function(e){return r.yc(t),r.fc().onActivitesChange(e)}),r.Fc(4,k,2,1,"ng-container",6),r.Sb(),r.Sb(),r.Fc(5,S,3,0,"div",1),r.Sb(),r.Sb()}if(2&t){const t=r.fc();r.Cb(2),r.nc("hideRequiredMarker",!1),r.Cb(1),r.nc("title",t.activite3?t.activite3.libelle:""),r.Cb(1),r.nc("ngForOf",t.activite2.sousActivites),r.Cb(1),r.nc("ngIf",t.isDetailActivityDisplayed(t.activite3))}}function P(t,e){if(1&t&&(r.Tb(0,"mat-option",14),r.Hc(1),r.Sb()),2&t){const t=r.fc().$implicit;r.nc("value",t),r.Cb(1),r.Jc(" ",t.libelle," ")}}function L(t,e){if(1&t&&(r.Rb(0),r.Fc(1,P,2,2,"mat-option",15),r.Qb()),2&t){const t=e.$implicit;r.Cb(1),r.nc("ngIf",t.actif)}}function D(t,e){if(1&t){const t=r.Ub();r.Tb(0,"div"),r.Tb(1,"mat-icon",16),r.bc("click",function(){r.yc(t);const e=r.fc(2);return e.detailActivite(e.activite4)}),r.Hc(2,"help"),r.Sb(),r.Sb()}}function E(t,e){if(1&t){const t=r.Ub();r.Tb(0,"div",21),r.Tb(1,"div",3),r.Tb(2,"mat-form-field",4),r.Tb(3,"mat-select",22),r.bc("selectionChange",function(e){return r.yc(t),r.fc().onActivitesChange(e)}),r.Fc(4,L,2,1,"ng-container",6),r.Sb(),r.Sb(),r.Fc(5,D,3,0,"div",1),r.Sb(),r.Sb()}if(2&t){const t=r.fc();r.Cb(2),r.nc("hideRequiredMarker",!1),r.Cb(1),r.nc("title",t.activite4?t.activite4.libelle:""),r.Cb(1),r.nc("ngForOf",t.activite3.sousActivites),r.Cb(1),r.nc("ngIf",t.isDetailActivityDisplayed(t.activite4))}}let A=(()=>{class t extends i.a{constructor(t,e){super(t),this.translateService=t,this.dialog=e,this.hideSubActivites=!1,this.prevActivitesLibelles=[null,null,null,null]}load(){this.form=this.formFg}get activite1(){return this.form.get("activite1").value}get activite2(){return this.form.get("activite2").value}get activite3(){return this.form.get("activite3").value}get activite4(){return this.form.get("activite4").value}getLibelleActivite4(t){const e=this.findActivityWithSubActivities(t);return e?e.libelle:""}findActivityWithSubActivities(t){let e;const n=[this.activities],i=[t.activite1,t.activite2,t.activite3,t.activite4];return i.forEach((t,a)=>{if(a<3){const t=this.getSubActivitiesWithParentCode(n[a],i[a]);n.push(t)}else e=this.getActivityWithCode(n[3],i[3])}),e}getSubActivitiesWithParentCode(t,e){const n=this.getActivityWithCode(t,e);return n?n.sousActivites:[]}getActivityWithCode(t,e){return t.find(t=>t.code===e)}selectActivityCodeNaf(){this.activiteCodeNafSelected=this.form.get("activiteCodeNaf").value,this.prevActivitesLibelles=[null,null,null,null],this.setAllSubActivities(this.activiteCodeNafSelected)}setAllSubActivities(t){const e=[this.activities],n=[t.activite1,t.activite2,t.activite3,t.activite4],i=[];n.forEach((t,a)=>{const r=this.getActivityWithCode(e[a],n[a]);e.push(r.sousActivites?r.sousActivites:[]),i.push(r)}),i[0]&&this.form.get("activite1").setValue(i[0]),i[1]&&this.form.get("activite2").setValue(i[1]),i[2]&&this.form.get("activite3").setValue(i[2]),i[3]&&this.form.get("activite4").setValue(i[3])}isDetailActivityDisplayed(t){return t&&!(!t.description&&!t.exclusion&&!t.autre)}onActivitesChange(t){const e=t.value,n=t.source.ngControl.name;let i;"activite1"===n&&e.libelle!==this.prevActivitesLibelles[0]&&(i={activite2:null,activite3:null,activite4:null}),"activite2"===n&&e.libelle!==this.prevActivitesLibelles[1]&&(i={activite3:null,activite4:null}),"activite3"===n&&e.libelle!==this.prevActivitesLibelles[2]&&(i={activite4:null}),i&&this.form.patchValue(i),this.setPreviousActivitiesLibelles(n,e)}setPreviousActivitiesLibelles(t,e){switch(t){case"activite1":this.prevActivitesLibelles[0]=e.libelle,this.prevActivitesLibelles[1]=null,this.prevActivitesLibelles[2]=null,this.prevActivitesLibelles[3]=null;break;case"activite2":this.prevActivitesLibelles[1]=e.libelle,this.prevActivitesLibelles[2]=null,this.prevActivitesLibelles[3]=null;break;case"activite3":this.prevActivitesLibelles[2]=e.libelle,this.prevActivitesLibelles[3]=null;break;case"activite4":this.prevActivitesLibelles[3]=e.libelle}}detailActivite(t){this.dialog.open(a.a,{width:"600px",id:"activite-info",data:{libelle:t.libelle,description:t.description,exclusion:t.exclusion,autre:t.autre}})}}return t.\u0275fac=function(e){return new(e||t)(r.Nb(o.d),r.Nb(s.b))},t.\u0275cmp=r.Hb({type:t,selectors:[["app-activite-form-2"]],inputs:{formFg:"formFg",activities:"activities",listActiviteCodeNaf:"listActiviteCodeNaf",hideSubActivites:"hideSubActivites"},features:[r.zb],decls:14,vars:12,consts:[[3,"formGroup"],[4,"ngIf"],["id","activite1"],[1,"select-activite"],[3,"hideRequiredMarker"],["data-cy","activite1","name","activite1","formControlName","activite1","required","",3,"title","selectionChange"],[4,"ngFor","ngForOf"],["id","activite2",4,"ngIf"],["id","activite3",4,"ngIf"],["id","activite4",4,"ngIf"],["id","activites-choice"],["formControlName","activiteCodeNaf","name","activitesSelected"],[3,"value",4,"ngFor","ngForOf"],["mat-raised-button","","color","primary","appLabel","dpd.activite.selectionner",3,"click"],[3,"value"],[3,"value",4,"ngIf"],[3,"click"],["id","activite2"],["data-cy","activite2","name","activite2","formControlName","activite2","required","",3,"title","selectionChange"],["id","activite3"],["data-cy","activite3","name","activite3","formControlName","activite3","required","",3,"title","selectionChange"],["id","activite4"],["data-cy","activite4","name","activite4","formControlName","activite4","required","",3,"title","selectionChange"]],template:function(t,e){1&t&&(r.Tb(0,"form",0),r.Fc(1,b,10,4,"div",1),r.Tb(2,"div",2),r.Tb(3,"div",3),r.Tb(4,"mat-form-field",4),r.Tb(5,"mat-label"),r.Hc(6),r.gc(7,"translate"),r.Sb(),r.Tb(8,"mat-select",5),r.bc("selectionChange",function(t){return e.onActivitesChange(t)}),r.Fc(9,y,2,1,"ng-container",6),r.Sb(),r.Sb(),r.Fc(10,v,3,0,"div",1),r.Sb(),r.Sb(),r.Fc(11,M,6,4,"div",7),r.Fc(12,T,6,4,"div",8),r.Fc(13,E,6,4,"div",9),r.Sb()),2&t&&(r.nc("formGroup",e.form),r.Cb(1),r.nc("ngIf",e.listActiviteCodeNaf.length>0),r.Cb(3),r.nc("hideRequiredMarker",!1),r.Cb(2),r.Ic(r.hc(7,10,"dpd.activite")),r.Cb(2),r.nc("title",e.activite1?e.activite1.libelle:""),r.Cb(1),r.nc("ngForOf",e.activities),r.Cb(1),r.nc("ngIf",e.isDetailActivityDisplayed(e.activite1)),r.Cb(1),r.nc("ngIf",e.activite1),r.Cb(1),r.nc("ngIf",e.activite2),r.Cb(1),r.nc("ngIf",e.activite3))},directives:[l.x,l.p,l.i,c.l,d.c,d.f,u.a,l.o,l.g,l.v,c.k,h.a,m.a,p.m,f.a],pipes:[o.c],styles:[".mat-badge-content[_ngcontent-%COMP%]{font-weight:600;font-size:12px;font-family:Roboto,Helvetica Neue,sans-serif}.mat-badge-small[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{font-size:9px}.mat-badge-large[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{font-size:24px}.mat-h1[_ngcontent-%COMP%], .mat-headline[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font:400 24px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h2[_ngcontent-%COMP%], .mat-title[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font:500 20px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h3[_ngcontent-%COMP%], .mat-subheading-2[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font:400 16px/28px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h4[_ngcontent-%COMP%], .mat-subheading-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{font:400 15px/24px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h5[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{font:400 calc(14px * .83)/20px Roboto,Helvetica Neue,sans-serif;margin:0 0 12px}.mat-h6[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font:400 calc(14px * .67)/20px Roboto,Helvetica Neue,sans-serif;margin:0 0 12px}.mat-body-2[_ngcontent-%COMP%], .mat-body-strong[_ngcontent-%COMP%]{font:500 14px/24px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-body[_ngcontent-%COMP%], .mat-body-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%]{font:400 14px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-body-1[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .mat-body[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0 0 12px}.mat-caption[_ngcontent-%COMP%], .mat-small[_ngcontent-%COMP%]{font:400 12px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-display-4[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-4[_ngcontent-%COMP%]{font:300 112px/112px Roboto,Helvetica Neue,sans-serif;letter-spacing:-.05em;margin:0 0 56px}.mat-display-3[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-3[_ngcontent-%COMP%]{font:400 56px/56px Roboto,Helvetica Neue,sans-serif;letter-spacing:-.02em;margin:0 0 64px}.mat-display-2[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-2[_ngcontent-%COMP%]{font:400 45px/48px Roboto,Helvetica Neue,sans-serif;letter-spacing:-.005em;margin:0 0 64px}.mat-display-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-1[_ngcontent-%COMP%]{font:400 34px/40px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 64px}.mat-bottom-sheet-container[_ngcontent-%COMP%]{font:400 14px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-button[_ngcontent-%COMP%], .mat-fab[_ngcontent-%COMP%], .mat-flat-button[_ngcontent-%COMP%], .mat-icon-button[_ngcontent-%COMP%], .mat-mini-fab[_ngcontent-%COMP%], .mat-raised-button[_ngcontent-%COMP%], .mat-stroked-button[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:500}.mat-button-toggle[_ngcontent-%COMP%], .mat-card[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-card-title[_ngcontent-%COMP%]{font-size:24px;font-weight:500}.mat-card-header[_ngcontent-%COMP%] .mat-card-title[_ngcontent-%COMP%]{font-size:20px}.mat-card-content[_ngcontent-%COMP%], .mat-card-subtitle[_ngcontent-%COMP%]{font-size:14px}.mat-checkbox[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-checkbox-layout[_ngcontent-%COMP%] .mat-checkbox-label[_ngcontent-%COMP%]{line-height:24px}.mat-chip[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.mat-chip[_ngcontent-%COMP%] .mat-chip-remove.mat-icon[_ngcontent-%COMP%], .mat-chip[_ngcontent-%COMP%] .mat-chip-trailing-icon.mat-icon[_ngcontent-%COMP%]{font-size:18px}.mat-table[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-header-cell[_ngcontent-%COMP%]{font-size:12px;font-weight:500}.mat-cell[_ngcontent-%COMP%], .mat-footer-cell[_ngcontent-%COMP%]{font-size:14px}.mat-calendar[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-calendar-body[_ngcontent-%COMP%]{font-size:13px}.mat-calendar-body-label[_ngcontent-%COMP%], .mat-calendar-period-button[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.mat-calendar-table-header[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{font-size:11px;font-weight:400}.mat-dialog-title[_ngcontent-%COMP%]{font:500 20px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-expansion-panel-header[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:15px;font-weight:400}.mat-expansion-panel-content[_ngcontent-%COMP%]{font:400 14px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-form-field[_ngcontent-%COMP%]{font-size:inherit;font-weight:400;line-height:1.125;font-family:Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-form-field-wrapper[_ngcontent-%COMP%]{padding-bottom:1.34375em}.mat-form-field-prefix[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%], .mat-form-field-suffix[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{font-size:150%;line-height:1.125}.mat-form-field-prefix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%], .mat-form-field-suffix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%]{height:1.5em;width:1.5em}.mat-form-field-prefix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%], .mat-form-field-suffix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{height:1.125em;line-height:1.125}.mat-form-field-infix[_ngcontent-%COMP%]{padding:.5em 0;border-top:.84375em solid rgba(0,0,0,0)}.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-1.34375em) scale(.75);transform:translateY(-1.34375em) scale(.75);width:133.3333333333%}.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-1.34374em) scale(.75);transform:translateY(-1.34374em) scale(.75);width:133.3333433333%}.mat-form-field-label-wrapper[_ngcontent-%COMP%]{top:-.84375em;padding-top:.84375em}.mat-form-field-label[_ngcontent-%COMP%]{top:1.34375em}.mat-form-field-underline[_ngcontent-%COMP%]{bottom:1.34375em}.mat-form-field-subscript-wrapper[_ngcontent-%COMP%]{font-size:75%;margin-top:.6666666667em;top:calc(100% - 1.7916666667em)}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-wrapper[_ngcontent-%COMP%]{padding-bottom:1.25em}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]{padding:.4375em 0}.mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.001px);-ms-transform:translateY(-1.28125em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-form-field-autofill-control[_ngcontent-%COMP%]:-webkit-autofill + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00101px);-ms-transform:translateY(-1.28124em) scale(.75);width:133.3333433333%}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00102px);-ms-transform:translateY(-1.28123em) scale(.75);width:133.3333533333%}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{top:1.28125em}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]{bottom:1.25em}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-subscript-wrapper[_ngcontent-%COMP%]{margin-top:.5416666667em;top:calc(100% - 1.6666666667em)}@media print{.mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-1.28122em) scale(.75);transform:translateY(-1.28122em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-form-field-autofill-control[_ngcontent-%COMP%]:-webkit-autofill + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{transform:translateY(-1.28121em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-1.2812em) scale(.75);transform:translateY(-1.2812em) scale(.75)}}.mat-form-field-appearance-fill[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]{padding:.25em 0 .75em}.mat-form-field-appearance-fill[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{top:1.09375em;margin-top:-.5em}.mat-form-field-appearance-fill.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-fill.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-.59375em) scale(.75);transform:translateY(-.59375em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-fill.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-.59374em) scale(.75);transform:translateY(-.59374em) scale(.75);width:133.3333433333%}.mat-form-field-appearance-outline[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]{padding:1em 0}.mat-form-field-appearance-outline[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{top:1.84375em;margin-top:-.25em}.mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-outline.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-1.59375em) scale(.75);transform:translateY(-1.59375em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-outline.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-1.59374em) scale(.75);transform:translateY(-1.59374em) scale(.75);width:133.3333433333%}.mat-grid-tile-footer[_ngcontent-%COMP%], .mat-grid-tile-header[_ngcontent-%COMP%]{font-size:14px}.mat-grid-tile-footer[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%], .mat-grid-tile-header[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-grid-tile-footer[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2), .mat-grid-tile-header[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:12px}input.mat-input-element[_ngcontent-%COMP%]{margin-top:-.0625em}.mat-menu-item[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:400}.mat-paginator[_ngcontent-%COMP%], .mat-paginator-page-size[_ngcontent-%COMP%] .mat-select-trigger[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:12px}.mat-radio-button[_ngcontent-%COMP%], .mat-select[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-select-trigger[_ngcontent-%COMP%]{height:1.125em}.mat-slide-toggle-content[_ngcontent-%COMP%], .mat-slider-thumb-label-text[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-slider-thumb-label-text[_ngcontent-%COMP%]{font-size:12px;font-weight:500}.mat-stepper-horizontal[_ngcontent-%COMP%], .mat-stepper-vertical[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-step-label[_ngcontent-%COMP%]{font-size:14px;font-weight:400}.mat-step-sub-label-error[_ngcontent-%COMP%]{font-weight:400}.mat-step-label-error[_ngcontent-%COMP%]{font-size:14px}.mat-step-label-selected[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.mat-tab-group[_ngcontent-%COMP%], .mat-tab-label[_ngcontent-%COMP%], .mat-tab-link[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-tab-label[_ngcontent-%COMP%], .mat-tab-link[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.mat-toolbar[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font:500 20px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0}.mat-tooltip[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:10px;padding-top:6px;padding-bottom:6px}.mat-tooltip-handset[_ngcontent-%COMP%]{font-size:14px;padding-top:8px;padding-bottom:8px}.mat-list-item[_ngcontent-%COMP%], .mat-list-option[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]{font-size:16px}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:14px}.mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%]{font-size:16px}.mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:14px}.mat-list-base[_ngcontent-%COMP%] .mat-subheader[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:500}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]{font-size:12px}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2), .mat-list-base[dense][_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%]{font-size:12px}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:12px}.mat-list-base[dense][_ngcontent-%COMP%] .mat-subheader[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:12px;font-weight:500}.mat-option[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:16px}.mat-optgroup-label[_ngcontent-%COMP%]{font:500 14px/24px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-simple-snackbar[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px}.mat-simple-snackbar-action[_ngcontent-%COMP%]{line-height:1;font-family:inherit;font-size:inherit;font-weight:500}.mat-tree[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-nested-tree-node[_ngcontent-%COMP%], .mat-tree-node[_ngcontent-%COMP%]{font-weight:400;font-size:14px}.mat-ripple[_ngcontent-%COMP%]{overflow:hidden;position:relative}.mat-ripple[_ngcontent-%COMP%]:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded[_ngcontent-%COMP%]{overflow:visible}.mat-ripple-element[_ngcontent-%COMP%]{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0,0,.2,1);-ms-transform:scale(0);transform:scale(0)}.cdk-high-contrast-active[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{display:none}.cdk-visually-hidden[_ngcontent-%COMP%]{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;outline:0;-webkit-appearance:none;-moz-appearance:none}.cdk-global-overlay-wrapper[_ngcontent-%COMP%], .cdk-overlay-container[_ngcontent-%COMP%]{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container[_ngcontent-%COMP%]{position:fixed;z-index:1000}.cdk-overlay-container[_ngcontent-%COMP%]:empty{display:none}.cdk-global-overlay-wrapper[_ngcontent-%COMP%], .cdk-overlay-pane[_ngcontent-%COMP%]{display:-ms-flexbox;display:flex;position:absolute;z-index:1000}.cdk-overlay-pane[_ngcontent-%COMP%]{pointer-events:auto;box-sizing:border-box;max-width:100%;max-height:100%}.cdk-overlay-backdrop[_ngcontent-%COMP%]{position:absolute;top:0;bottom:0;left:0;right:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:transparent;transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:1}@media screen and (-ms-high-contrast:active){.cdk-overlay-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:.6}}.cdk-overlay-dark-backdrop[_ngcontent-%COMP%]{background:rgba(0,0,0,.32)}.cdk-overlay-transparent-backdrop[_ngcontent-%COMP%], .cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:0}.cdk-overlay-connected-position-bounding-box[_ngcontent-%COMP%]{position:absolute;z-index:1000;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock[_ngcontent-%COMP%]{position:fixed;width:100%;overflow-y:scroll}@-webkit-keyframes cdk-text-field-autofill-start{\n }@keyframes cdk-text-field-autofill-start{\n }@-webkit-keyframes cdk-text-field-autofill-end{\n }@keyframes cdk-text-field-autofill-end{\n }.cdk-text-field-autofill-monitored[_ngcontent-%COMP%]:-webkit-autofill{-webkit-animation:cdk-text-field-autofill-start 0s 1ms;animation:cdk-text-field-autofill-start 0s 1ms}.cdk-text-field-autofill-monitored[_ngcontent-%COMP%]:not(:-webkit-autofill){-webkit-animation:cdk-text-field-autofill-end 0s 1ms;animation:cdk-text-field-autofill-end 0s 1ms}textarea.cdk-textarea-autosize[_ngcontent-%COMP%]{resize:none}textarea.cdk-textarea-autosize-measuring[_ngcontent-%COMP%]{padding:2px 0!important;box-sizing:content-box!important;height:auto!important;overflow:hidden!important}textarea.cdk-textarea-autosize-measuring-firefox[_ngcontent-%COMP%]{padding:2px 0!important;box-sizing:content-box!important;height:0!important}.mat-focus-indicator[_ngcontent-%COMP%], .mat-mdc-focus-indicator[_ngcontent-%COMP%]{position:relative}.select-activite[_ngcontent-%COMP%]{margin:0 10px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.select-activite[_ngcontent-%COMP%]:first-of-type{margin-left:0}.select-activite[_ngcontent-%COMP%]:last-of-type{margin-right:0}.select-activite[_ngcontent-%COMP%] mat-form-field[_ngcontent-%COMP%]{margin-right:5px;width:100%}.select-activite[_ngcontent-%COMP%] mat-form-field[_ngcontent-%COMP%] .mat-select-value-text[_ngcontent-%COMP%]{text-overflow:ellipsis;white-space:nowrap}.select-activite[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{cursor:pointer;color:#004590} .mat-select-panel{max-width:none}"]}),t})()},IheW:function(t,e,n){"use strict";n.d(e,"a",function(){return T}),n.d(e,"b",function(){return k}),n.d(e,"c",function(){return z}),n.d(e,"d",function(){return M}),n.d(e,"e",function(){return h});var i=n("8Y7J"),a=n("LRne"),r=n("HDdC"),o=n("bOdf"),s=n("pLZG"),l=n("lJxs"),c=n("SVse");class d{}class u{}class h{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?this.lazyInit="string"==typeof t?()=>{this.headers=new Map,t.split("\n").forEach(t=>{const e=t.indexOf(":");if(e>0){const n=t.slice(0,e),i=n.toLowerCase(),a=t.slice(e+1).trim();this.maybeSetNormalizedName(n,i),this.headers.has(i)?this.headers.get(i).push(a):this.headers.set(i,[a])}})}:()=>{this.headers=new Map,Object.keys(t).forEach(e=>{let n=t[e];const i=e.toLowerCase();"string"==typeof n&&(n=[n]),n.length>0&&(this.headers.set(i,n),this.maybeSetNormalizedName(e,i))})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();const e=this.headers.get(t.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,e){return this.clone({name:t,value:e,op:"a"})}set(t,e){return this.clone({name:t,value:e,op:"s"})}delete(t,e){return this.clone({name:t,value:e,op:"d"})}maybeSetNormalizedName(t,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,t)}init(){this.lazyInit&&(this.lazyInit instanceof h?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(e=>{this.headers.set(e,t.headers.get(e)),this.normalizedNames.set(e,t.normalizedNames.get(e))})}clone(t){const e=new h;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof h?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([t]),e}applyUpdate(t){const e=t.name.toLowerCase();switch(t.op){case"a":case"s":let n=t.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(t.name,e);const i=("a"===t.op?this.headers.get(e):void 0)||[];i.push(...n),this.headers.set(e,i);break;case"d":const a=t.value;if(a){let t=this.headers.get(e);if(!t)return;t=t.filter(t=>-1===a.indexOf(t)),0===t.length?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,t)}else this.headers.delete(e),this.normalizedNames.delete(e)}}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>t(this.normalizedNames.get(e),this.headers.get(e)))}}class m{encodeKey(t){return p(t)}encodeValue(t){return p(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}function p(t){return encodeURIComponent(t).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/gi,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%2B/gi,"+").replace(/%3D/gi,"=").replace(/%3F/gi,"?").replace(/%2F/gi,"/")}class f{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new m,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function(t,e){const n=new Map;return t.length>0&&t.split("&").forEach(t=>{const i=t.indexOf("="),[a,r]=-1==i?[e.decodeKey(t),""]:[e.decodeKey(t.slice(0,i)),e.decodeValue(t.slice(i+1))],o=n.get(a)||[];o.push(r),n.set(a,o)}),n}(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(e=>{const n=t.fromObject[e];this.map.set(e,Array.isArray(n)?n:[n])})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();const e=this.map.get(t);return e?e[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,e){return this.clone({param:t,value:e,op:"a"})}set(t,e){return this.clone({param:t,value:e,op:"s"})}delete(t,e){return this.clone({param:t,value:e,op:"d"})}toString(){return this.init(),this.keys().map(t=>{const e=this.encoder.encodeKey(t);return this.map.get(t).map(t=>e+"="+this.encoder.encodeValue(t)).join("&")}).filter(t=>""!==t).join("&")}clone(t){const e=new f({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat([t]),e}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":const e=("a"===t.op?this.map.get(t.param):void 0)||[];e.push(t.value),this.map.set(t.param,e);break;case"d":if(void 0===t.value){this.map.delete(t.param);break}{let e=this.map.get(t.param)||[];const n=e.indexOf(t.value);-1!==n&&e.splice(n,1),e.length>0?this.map.set(t.param,e):this.map.delete(t.param)}}}),this.cloneFrom=this.updates=null)}}function g(t){return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer}function b(t){return"undefined"!=typeof Blob&&t instanceof Blob}function _(t){return"undefined"!=typeof FormData&&t instanceof FormData}class y{constructor(t,e,n,i){let a;if(this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||i?(this.body=void 0!==n?n:null,a=i):a=n,a&&(this.reportProgress=!!a.reportProgress,this.withCredentials=!!a.withCredentials,a.responseType&&(this.responseType=a.responseType),a.headers&&(this.headers=a.headers),a.params&&(this.params=a.params)),this.headers||(this.headers=new h),this.params){const t=this.params.toString();if(0===t.length)this.urlWithParams=e;else{const n=e.indexOf("?");this.urlWithParams=e+(-1===n?"?":n<e.length-1?"&":"")+t}}else this.params=new f,this.urlWithParams=e}serializeBody(){return null===this.body?null:g(this.body)||b(this.body)||_(this.body)||"string"==typeof this.body?this.body:this.body instanceof f?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||_(this.body)?null:b(this.body)?this.body.type||null:g(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof f?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||Array.isArray(this.body)?"application/json":null}clone(t={}){const e=t.method||this.method,n=t.url||this.url,i=t.responseType||this.responseType,a=void 0!==t.body?t.body:this.body,r=void 0!==t.withCredentials?t.withCredentials:this.withCredentials,o=void 0!==t.reportProgress?t.reportProgress:this.reportProgress;let s=t.headers||this.headers,l=t.params||this.params;return void 0!==t.setHeaders&&(s=Object.keys(t.setHeaders).reduce((e,n)=>e.set(n,t.setHeaders[n]),s)),t.setParams&&(l=Object.keys(t.setParams).reduce((e,n)=>e.set(n,t.setParams[n]),l)),new y(e,n,a,{params:l,headers:s,reportProgress:o,responseType:i,withCredentials:r})}}var v=function(t){return t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User",t}({});class C{constructor(t,e=200,n="OK"){this.headers=t.headers||new h,this.status=void 0!==t.status?t.status:e,this.statusText=t.statusText||n,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}}class w extends C{constructor(t={}){super(t),this.type=v.ResponseHeader}clone(t={}){return new w({headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class x extends C{constructor(t={}){super(t),this.type=v.Response,this.body=void 0!==t.body?t.body:null}clone(t={}){return new x({body:void 0!==t.body?t.body:this.body,headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class M extends C{constructor(t){super(t,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${t.url||"(unknown url)"}`:`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}}function O(t,e){return{body:e,headers:t.headers,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials}}let k=(()=>{class t{constructor(t){this.handler=t}request(t,e,n={}){let i;if(t instanceof y)i=t;else{let a,r;a=n.headers instanceof h?n.headers:new h(n.headers),n.params&&(r=n.params instanceof f?n.params:new f({fromObject:n.params})),i=new y(t,e,void 0!==n.body?n.body:null,{headers:a,params:r,reportProgress:n.reportProgress,responseType:n.responseType||"json",withCredentials:n.withCredentials})}const r=Object(a.a)(i).pipe(Object(o.a)(t=>this.handler.handle(t)));if(t instanceof y||"events"===n.observe)return r;const c=r.pipe(Object(s.a)(t=>t instanceof x));switch(n.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return c.pipe(Object(l.a)(t=>{if(null!==t.body&&!(t.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return t.body}));case"blob":return c.pipe(Object(l.a)(t=>{if(null!==t.body&&!(t.body instanceof Blob))throw new Error("Response is not a Blob.");return t.body}));case"text":return c.pipe(Object(l.a)(t=>{if(null!==t.body&&"string"!=typeof t.body)throw new Error("Response is not a string.");return t.body}));case"json":default:return c.pipe(Object(l.a)(t=>t.body))}case"response":return c;default:throw new Error(`Unreachable: unhandled observe type ${n.observe}}`)}}delete(t,e={}){return this.request("DELETE",t,e)}get(t,e={}){return this.request("GET",t,e)}head(t,e={}){return this.request("HEAD",t,e)}jsonp(t,e){return this.request("JSONP",t,{params:(new f).append(e,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(t,e={}){return this.request("OPTIONS",t,e)}patch(t,e,n={}){return this.request("PATCH",t,O(n,e))}post(t,e,n={}){return this.request("POST",t,O(n,e))}put(t,e,n={}){return this.request("PUT",t,O(n,e))}}return t.\u0275fac=function(e){return new(e||t)(i.Xb(d))},t.\u0275prov=i.Jb({token:t,factory:t.\u0275fac}),t})();class S{constructor(t,e){this.next=t,this.interceptor=e}handle(t){return this.interceptor.intercept(t,this.next)}}const T=new i.s("HTTP_INTERCEPTORS");let P=(()=>{class t{intercept(t,e){return e.handle(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=i.Jb({token:t,factory:t.\u0275fac}),t})();const L=/^\)\]\}',?\n/;class D{}let E=(()=>{class t{constructor(){}build(){return new XMLHttpRequest}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=i.Jb({token:t,factory:t.\u0275fac}),t})(),A=(()=>{class t{constructor(t){this.xhrFactory=t}handle(t){if("JSONP"===t.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new r.a(e=>{const n=this.xhrFactory.build();if(n.open(t.method,t.urlWithParams),t.withCredentials&&(n.withCredentials=!0),t.headers.forEach((t,e)=>n.setRequestHeader(t,e.join(","))),t.headers.has("Accept")||n.setRequestHeader("Accept","application/json, text/plain, */*"),!t.headers.has("Content-Type")){const e=t.detectContentTypeHeader();null!==e&&n.setRequestHeader("Content-Type",e)}if(t.responseType){const e=t.responseType.toLowerCase();n.responseType="json"!==e?e:"text"}const i=t.serializeBody();let a=null;const r=()=>{if(null!==a)return a;const e=1223===n.status?204:n.status,i=n.statusText||"OK",r=new h(n.getAllResponseHeaders()),o=function(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}(n)||t.url;return a=new w({headers:r,status:e,statusText:i,url:o}),a},o=()=>{let{headers:i,status:a,statusText:o,url:s}=r(),l=null;204!==a&&(l=void 0===n.response?n.responseText:n.response),0===a&&(a=l?200:0);let c=a>=200&&a<300;if("json"===t.responseType&&"string"==typeof l){const t=l;l=l.replace(L,"");try{l=""!==l?JSON.parse(l):null}catch(d){l=t,c&&(c=!1,l={error:d,text:l})}}c?(e.next(new x({body:l,headers:i,status:a,statusText:o,url:s||void 0})),e.complete()):e.error(new M({error:l,headers:i,status:a,statusText:o,url:s||void 0}))},s=t=>{const{url:i}=r(),a=new M({error:t,status:n.status||0,statusText:n.statusText||"Unknown Error",url:i||void 0});e.error(a)};let l=!1;const c=i=>{l||(e.next(r()),l=!0);let a={type:v.DownloadProgress,loaded:i.loaded};i.lengthComputable&&(a.total=i.total),"text"===t.responseType&&n.responseText&&(a.partialText=n.responseText),e.next(a)},d=t=>{let n={type:v.UploadProgress,loaded:t.loaded};t.lengthComputable&&(n.total=t.total),e.next(n)};return n.addEventListener("load",o),n.addEventListener("error",s),t.reportProgress&&(n.addEventListener("progress",c),null!==i&&n.upload&&n.upload.addEventListener("progress",d)),n.send(i),e.next({type:v.Sent}),()=>{n.removeEventListener("error",s),n.removeEventListener("load",o),t.reportProgress&&(n.removeEventListener("progress",c),null!==i&&n.upload&&n.upload.removeEventListener("progress",d)),n.readyState!==n.DONE&&n.abort()}})}}return t.\u0275fac=function(e){return new(e||t)(i.Xb(D))},t.\u0275prov=i.Jb({token:t,factory:t.\u0275fac}),t})();const I=new i.s("XSRF_COOKIE_NAME"),R=new i.s("XSRF_HEADER_NAME");class N{}let Y=(()=>{class t{constructor(t,e,n){this.doc=t,this.platform=e,this.cookieName=n,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=Object(c.z)(t,this.cookieName),this.lastCookieString=t),this.lastToken}}return t.\u0275fac=function(e){return new(e||t)(i.Xb(c.d),i.Xb(i.D),i.Xb(I))},t.\u0275prov=i.Jb({token:t,factory:t.\u0275fac}),t})(),H=(()=>{class t{constructor(t,e){this.tokenService=t,this.headerName=e}intercept(t,e){const n=t.url.toLowerCase();if("GET"===t.method||"HEAD"===t.method||n.startsWith("http://")||n.startsWith("https://"))return e.handle(t);const i=this.tokenService.getToken();return null===i||t.headers.has(this.headerName)||(t=t.clone({headers:t.headers.set(this.headerName,i)})),e.handle(t)}}return t.\u0275fac=function(e){return new(e||t)(i.Xb(N),i.Xb(R))},t.\u0275prov=i.Jb({token:t,factory:t.\u0275fac}),t})(),j=(()=>{class t{constructor(t,e){this.backend=t,this.injector=e,this.chain=null}handle(t){if(null===this.chain){const t=this.injector.get(T,[]);this.chain=t.reduceRight((t,e)=>new S(t,e),this.backend)}return this.chain.handle(t)}}return t.\u0275fac=function(e){return new(e||t)(i.Xb(u),i.Xb(i.t))},t.\u0275prov=i.Jb({token:t,factory:t.\u0275fac}),t})(),F=(()=>{class t{static disable(){return{ngModule:t,providers:[{provide:H,useClass:P}]}}static withOptions(e={}){return{ngModule:t,providers:[e.cookieName?{provide:I,useValue:e.cookieName}:[],e.headerName?{provide:R,useValue:e.headerName}:[]]}}}return t.\u0275mod=i.Lb({type:t}),t.\u0275inj=i.Kb({factory:function(e){return new(e||t)},providers:[H,{provide:T,useExisting:H,multi:!0},{provide:N,useClass:Y},{provide:I,useValue:"XSRF-TOKEN"},{provide:R,useValue:"X-XSRF-TOKEN"}]}),t})(),z=(()=>{class t{}return t.\u0275mod=i.Lb({type:t}),t.\u0275inj=i.Kb({factory:function(e){return new(e||t)},providers:[k,{provide:d,useClass:j},A,{provide:u,useExisting:A},E,{provide:D,useExisting:E}],imports:[[F.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),t})()},IjjT:function(t,e,n){"use strict";n.d(e,"a",function(){return a});let i=(()=>{class t{constructor(e,n=t.now){this.SchedulerAction=e,this.now=n}schedule(t,e=0,n){return new this.SchedulerAction(this,t).schedule(n,e)}}return t.now=()=>Date.now(),t})();class a extends i{constructor(t,e=i.now){super(t,()=>a.delegate&&a.delegate!==this?a.delegate.now():e()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(t,e=0,n){return a.delegate&&a.delegate!==this?a.delegate.schedule(t,e,n):super.schedule(t,e,n)}flush(t){const{actions:e}=this;if(this.active)return void e.push(t);let n;this.active=!0;do{if(n=t.execute(t.state,t.delay))break}while(t=e.shift());if(this.active=!1,n){for(;t=e.shift();)t.unsubscribe();throw n}}}},"Ivi+":function(t,e,n){!function(t){"use strict";t.defineLocale("ko",{months:"1\uc6d4_2\uc6d4_3\uc6d4_4\uc6d4_5\uc6d4_6\uc6d4_7\uc6d4_8\uc6d4_9\uc6d4_10\uc6d4_11\uc6d4_12\uc6d4".split("_"),monthsShort:"1\uc6d4_2\uc6d4_3\uc6d4_4\uc6d4_5\uc6d4_6\uc6d4_7\uc6d4_8\uc6d4_9\uc6d4_10\uc6d4_11\uc6d4_12\uc6d4".split("_"),weekdays:"\uc77c\uc694\uc77c_\uc6d4\uc694\uc77c_\ud654\uc694\uc77c_\uc218\uc694\uc77c_\ubaa9\uc694\uc77c_\uae08\uc694\uc77c_\ud1a0\uc694\uc77c".split("_"),weekdaysShort:"\uc77c_\uc6d4_\ud654_\uc218_\ubaa9_\uae08_\ud1a0".split("_"),weekdaysMin:"\uc77c_\uc6d4_\ud654_\uc218_\ubaa9_\uae08_\ud1a0".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY\ub144 MMMM D\uc77c",LLL:"YYYY\ub144 MMMM D\uc77c A h:mm",LLLL:"YYYY\ub144 MMMM D\uc77c dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYY\ub144 MMMM D\uc77c",lll:"YYYY\ub144 MMMM D\uc77c A h:mm",llll:"YYYY\ub144 MMMM D\uc77c dddd A h:mm"},calendar:{sameDay:"\uc624\ub298 LT",nextDay:"\ub0b4\uc77c LT",nextWeek:"dddd LT",lastDay:"\uc5b4\uc81c LT",lastWeek:"\uc9c0\ub09c\uc8fc dddd LT",sameElse:"L"},relativeTime:{future:"%s \ud6c4",past:"%s \uc804",s:"\uba87 \ucd08",ss:"%d\ucd08",m:"1\ubd84",mm:"%d\ubd84",h:"\ud55c \uc2dc\uac04",hh:"%d\uc2dc\uac04",d:"\ud558\ub8e8",dd:"%d\uc77c",M:"\ud55c \ub2ec",MM:"%d\ub2ec",y:"\uc77c \ub144",yy:"%d\ub144"},dayOfMonthOrdinalParse:/\d{1,2}(\uc77c|\uc6d4|\uc8fc)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"\uc77c";case"M":return t+"\uc6d4";case"w":case"W":return t+"\uc8fc";default:return t}},meridiemParse:/\uc624\uc804|\uc624\ud6c4/,isPM:function(t){return"\uc624\ud6c4"===t},meridiem:function(t,e,n){return t<12?"\uc624\uc804":"\uc624\ud6c4"}})}(n("wd/R"))},IzEk:function(t,e,n){"use strict";n.d(e,"a",function(){return o});var i=n("7o/Q"),a=n("4I5i"),r=n("EY2u");function o(t){return e=>0===t?Object(r.b)():e.lift(new s(t))}class s{constructor(t){if(this.total=t,this.total<0)throw new a.a}call(t,e){return e.subscribe(new l(t,this.total))}}class l extends i.a{constructor(t,e){super(t),this.total=e,this.count=0}_next(t){const e=this.total,n=++this.count;n<=e&&(this.destination.next(t),n===e&&(this.destination.complete(),this.unsubscribe()))}}},"J+ds":function(t,e,n){"use strict";n.d(e,"a",function(){return a});var i=n("80qe");class a{constructor({voyage:t={},nourriture:e={},hebergement:n={}}){this.voyage=new i.a(t),this.nourriture=new i.a(e),this.hebergement=new i.a(n)}getForPost(){return this}}},"JCF/":function(t,e,n){!function(t){"use strict";var e={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},n={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},i=["\u06a9\u0627\u0646\u0648\u0646\u06cc \u062f\u0648\u0648\u06d5\u0645","\u0634\u0648\u0628\u0627\u062a","\u0626\u0627\u0632\u0627\u0631","\u0646\u06cc\u0633\u0627\u0646","\u0626\u0627\u06cc\u0627\u0631","\u062d\u0648\u0632\u06d5\u06cc\u0631\u0627\u0646","\u062a\u06d5\u0645\u0645\u0648\u0632","\u0626\u0627\u0628","\u0626\u06d5\u06cc\u0644\u0648\u0648\u0644","\u062a\u0634\u0631\u06cc\u0646\u06cc \u06cc\u06d5\u0643\u06d5\u0645","\u062a\u0634\u0631\u06cc\u0646\u06cc \u062f\u0648\u0648\u06d5\u0645","\u0643\u0627\u0646\u0648\u0646\u06cc \u06cc\u06d5\u06a9\u06d5\u0645"];t.defineLocale("ku",{months:i,monthsShort:i,weekdays:"\u06cc\u0647\u200c\u0643\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u062f\u0648\u0648\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0633\u06ce\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0686\u0648\u0627\u0631\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u067e\u06ce\u0646\u062c\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0647\u0647\u200c\u06cc\u0646\u06cc_\u0634\u0647\u200c\u0645\u0645\u0647\u200c".split("_"),weekdaysShort:"\u06cc\u0647\u200c\u0643\u0634\u0647\u200c\u0645_\u062f\u0648\u0648\u0634\u0647\u200c\u0645_\u0633\u06ce\u0634\u0647\u200c\u0645_\u0686\u0648\u0627\u0631\u0634\u0647\u200c\u0645_\u067e\u06ce\u0646\u062c\u0634\u0647\u200c\u0645_\u0647\u0647\u200c\u06cc\u0646\u06cc_\u0634\u0647\u200c\u0645\u0645\u0647\u200c".split("_"),weekdaysMin:"\u06cc_\u062f_\u0633_\u0686_\u067e_\u0647_\u0634".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u0626\u06ce\u0648\u0627\u0631\u0647\u200c|\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc/,isPM:function(t){return/\u0626\u06ce\u0648\u0627\u0631\u0647\u200c/.test(t)},meridiem:function(t,e,n){return t<12?"\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc":"\u0626\u06ce\u0648\u0627\u0631\u0647\u200c"},calendar:{sameDay:"[\u0626\u0647\u200c\u0645\u0631\u06c6 \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",nextDay:"[\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",nextWeek:"dddd [\u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",lastDay:"[\u062f\u0648\u06ce\u0646\u06ce \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",lastWeek:"dddd [\u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",sameElse:"L"},relativeTime:{future:"\u0644\u0647\u200c %s",past:"%s",s:"\u0686\u0647\u200c\u0646\u062f \u0686\u0631\u0643\u0647\u200c\u06cc\u0647\u200c\u0643",ss:"\u0686\u0631\u0643\u0647\u200c %d",m:"\u06cc\u0647\u200c\u0643 \u062e\u0648\u0644\u0647\u200c\u0643",mm:"%d \u062e\u0648\u0644\u0647\u200c\u0643",h:"\u06cc\u0647\u200c\u0643 \u0643\u0627\u062a\u0698\u0645\u06ce\u0631",hh:"%d \u0643\u0627\u062a\u0698\u0645\u06ce\u0631",d:"\u06cc\u0647\u200c\u0643 \u0695\u06c6\u0698",dd:"%d \u0695\u06c6\u0698",M:"\u06cc\u0647\u200c\u0643 \u0645\u0627\u0646\u06af",MM:"%d \u0645\u0627\u0646\u06af",y:"\u06cc\u0647\u200c\u0643 \u0633\u0627\u06b5",yy:"%d \u0633\u0627\u06b5"},preparse:function(t){return t.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(t){return n[t]}).replace(/\u060c/g,",")},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(n("wd/R"))},JIr8:function(t,e,n){"use strict";n.d(e,"a",function(){return a});var i=n("zx2A");function a(t){return function(e){const n=new r(t),i=e.lift(n);return n.caught=i}}class r{constructor(t){this.selector=t}call(t,e){return e.subscribe(new o(t,this.selector,this.caught))}}class o extends i.b{constructor(t,e,n){super(t),this.selector=e,this.caught=n}error(t){if(!this.isStopped){let n;try{n=this.selector(t,this.caught)}catch(e){return void super.error(e)}this._unsubscribeAndRecycle();const a=new i.a(this);this.add(a);const r=Object(i.c)(n,a);r!==a&&this.add(r)}}}},JRaP:function(t,e,n){"use strict";n.d(e,"a",function(){return i});var i=function(t){return t[t.CREATE=0]="CREATE",t[t.UPDATE=1]="UPDATE",t[t.COMPLETION=2]="COMPLETION",t[t.DUPLICATE=3]="DUPLICATE",t}({})},JVSJ:function(t,e,n){!function(t){"use strict";function e(t,e,n){var i=t+" ";switch(n){case"ss":return i+(1===t?"sekunda":2===t||3===t||4===t?"sekunde":"sekundi");case"m":return e?"jedna minuta":"jedne minute";case"mm":return i+(1===t?"minuta":2===t||3===t||4===t?"minute":"minuta");case"h":return e?"jedan sat":"jednog sata";case"hh":return i+(1===t?"sat":2===t||3===t||4===t?"sata":"sati");case"dd":return i+(1===t?"dan":"dana");case"MM":return i+(1===t?"mjesec":2===t||3===t||4===t?"mjeseca":"mjeseci");case"yy":return i+(1===t?"godina":2===t||3===t||4===t?"godine":"godina")}}t.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010der u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[pro\u0161lu] dddd [u] LT";case 6:return"[pro\u0161le] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[pro\u0161li] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:e,m:e,mm:e,h:e,hh:e,d:"dan",dd:e,M:"mjesec",MM:e,y:"godinu",yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("wd/R"))},JX91:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("GyhO"),a=n("z+Ro");function r(...t){const e=t[t.length-1];return Object(a.a)(e)?(t.pop(),n=>Object(i.a)(t,n,e)):e=>Object(i.a)(t,e)}},JvlW:function(t,e,n){!function(t){"use strict";var e={ss:"sekund\u0117_sekund\u017ei\u0173_sekundes",m:"minut\u0117_minut\u0117s_minut\u0119",mm:"minut\u0117s_minu\u010di\u0173_minutes",h:"valanda_valandos_valand\u0105",hh:"valandos_valand\u0173_valandas",d:"diena_dienos_dien\u0105",dd:"dienos_dien\u0173_dienas",M:"m\u0117nuo_m\u0117nesio_m\u0117nes\u012f",MM:"m\u0117nesiai_m\u0117nesi\u0173_m\u0117nesius",y:"metai_met\u0173_metus",yy:"metai_met\u0173_metus"};function n(t,e,n,i){return e?a(n)[0]:i?a(n)[1]:a(n)[2]}function i(t){return t%10==0||t>10&&t<20}function a(t){return e[t].split("_")}function r(t,e,r,o){var s=t+" ";return 1===t?s+n(0,e,r[0],o):e?s+(i(t)?a(r)[1]:a(r)[0]):o?s+a(r)[1]:s+(i(t)?a(r)[1]:a(r)[2])}t.defineLocale("lt",{months:{format:"sausio_vasario_kovo_baland\u017eio_gegu\u017e\u0117s_bir\u017eelio_liepos_rugpj\u016b\u010dio_rugs\u0117jo_spalio_lapkri\u010dio_gruod\u017eio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegu\u017e\u0117_bir\u017eelis_liepa_rugpj\u016btis_rugs\u0117jis_spalis_lapkritis_gruodis".split("_"),isFormat:/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/},monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:{format:"sekmadien\u012f_pirmadien\u012f_antradien\u012f_tre\u010diadien\u012f_ketvirtadien\u012f_penktadien\u012f_\u0161e\u0161tadien\u012f".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_tre\u010diadienis_ketvirtadienis_penktadienis_\u0161e\u0161tadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_\u0160e\u0161".split("_"),weekdaysMin:"S_P_A_T_K_Pn_\u0160".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},calendar:{sameDay:"[\u0160iandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Pra\u0117jus\u012f] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prie\u0161 %s",s:function(t,e,n,i){return e?"kelios sekund\u0117s":i?"keli\u0173 sekund\u017ei\u0173":"kelias sekundes"},ss:r,m:n,mm:r,h:n,hh:r,d:n,dd:r,M:n,MM:r,y:n,yy:r},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(t){return t+"-oji"},week:{dow:1,doy:4}})}(n("wd/R"))},"K/tc":function(t,e,n){!function(t){"use strict";t.defineLocale("af",{months:"Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des".split("_"),weekdays:"Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag".split("_"),weekdaysShort:"Son_Maa_Din_Woe_Don_Vry_Sat".split("_"),weekdaysMin:"So_Ma_Di_Wo_Do_Vr_Sa".split("_"),meridiemParse:/vm|nm/i,isPM:function(t){return/^nm$/i.test(t)},meridiem:function(t,e,n){return t<12?n?"vm":"VM":n?"nm":"NM"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Vandag om] LT",nextDay:"[M\xf4re om] LT",nextWeek:"dddd [om] LT",lastDay:"[Gister om] LT",lastWeek:"[Laas] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oor %s",past:"%s gelede",s:"'n paar sekondes",ss:"%d sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:"%d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(t){return t+(1===t||8===t||t>=20?"ste":"de")},week:{dow:1,doy:4}})}(n("wd/R"))},K2tM:function(t,e,n){"use strict";n.d(e,"a",function(){return i});var i=function(t){return t.DIRIGEANT="DIRIGEANT",t.SALARIE="SALARIE",t.CLIENT="CLIENT",t.MANDATAIRE="MANDATAIRE",t}({})},KSF8:function(t,e,n){!function(t){"use strict";t.defineLocale("vi",{months:"th\xe1ng 1_th\xe1ng 2_th\xe1ng 3_th\xe1ng 4_th\xe1ng 5_th\xe1ng 6_th\xe1ng 7_th\xe1ng 8_th\xe1ng 9_th\xe1ng 10_th\xe1ng 11_th\xe1ng 12".split("_"),monthsShort:"Thg 01_Thg 02_Thg 03_Thg 04_Thg 05_Thg 06_Thg 07_Thg 08_Thg 09_Thg 10_Thg 11_Thg 12".split("_"),monthsParseExact:!0,weekdays:"ch\u1ee7 nh\u1eadt_th\u1ee9 hai_th\u1ee9 ba_th\u1ee9 t\u01b0_th\u1ee9 n\u0103m_th\u1ee9 s\xe1u_th\u1ee9 b\u1ea3y".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysParseExact:!0,meridiemParse:/sa|ch/i,isPM:function(t){return/^ch$/i.test(t)},meridiem:function(t,e,n){return t<12?n?"sa":"SA":n?"ch":"CH"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [n\u0103m] YYYY",LLL:"D MMMM [n\u0103m] YYYY HH:mm",LLLL:"dddd, D MMMM [n\u0103m] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[H\xf4m nay l\xfac] LT",nextDay:"[Ng\xe0y mai l\xfac] LT",nextWeek:"dddd [tu\u1ea7n t\u1edbi l\xfac] LT",lastDay:"[H\xf4m qua l\xfac] LT",lastWeek:"dddd [tu\u1ea7n tr\u01b0\u1edbc l\xfac] LT",sameElse:"L"},relativeTime:{future:"%s t\u1edbi",past:"%s tr\u01b0\u1edbc",s:"v\xe0i gi\xe2y",ss:"%d gi\xe2y",m:"m\u1ed9t ph\xfat",mm:"%d ph\xfat",h:"m\u1ed9t gi\u1edd",hh:"%d gi\u1edd",d:"m\u1ed9t ng\xe0y",dd:"%d ng\xe0y",w:"m\u1ed9t tu\u1ea7n",ww:"%d tu\u1ea7n",M:"m\u1ed9t th\xe1ng",MM:"%d th\xe1ng",y:"m\u1ed9t n\u0103m",yy:"%d n\u0103m"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(t){return t},week:{dow:1,doy:4}})}(n("wd/R"))},KSFr:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("8Y7J"),a=n("cUpR");let r=(()=>{class t{constructor(t){this.sanitizer=t}transform(t){return this.sanitizer.bypassSecurityTrustHtml(t)}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(a.b))},t.\u0275pipe=i.Mb({name:"safeHtml",type:t,pure:!0}),t})()},KTz0:function(t,e,n){!function(t){"use strict";var e={words:{ss:["sekund","sekunda","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mjesec","mjeseca","mjeseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(t,e){return 1===t?e[0]:t>=2&&t<=4?e[1]:e[2]},translate:function(t,n,i){var a=e.words[i];return 1===i.length?n?a[0]:a[1]:t+" "+e.correctGrammaticalCase(t,a)}};t.defineLocale("me",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sjutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010de u] LT",lastWeek:function(){return["[pro\u0161le] [nedjelje] [u] LT","[pro\u0161log] [ponedjeljka] [u] LT","[pro\u0161log] [utorka] [u] LT","[pro\u0161le] [srijede] [u] LT","[pro\u0161log] [\u010detvrtka] [u] LT","[pro\u0161log] [petka] [u] LT","[pro\u0161le] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"nekoliko sekundi",ss:e.translate,m:e.translate,mm:e.translate,h:e.translate,hh:e.translate,d:"dan",dd:e.translate,M:"mjesec",MM:e.translate,y:"godinu",yy:e.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("wd/R"))},Kj3r:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("7o/Q"),a=n("D0XW");function r(t,e=a.a){return n=>n.lift(new o(t,e))}class o{constructor(t,e){this.dueTime=t,this.scheduler=e}call(t,e){return e.subscribe(new s(t,this.dueTime,this.scheduler))}}class s extends i.a{constructor(t,e,n){super(t),this.dueTime=e,this.scheduler=n,this.debouncedSubscription=null,this.lastValue=null,this.hasValue=!1}_next(t){this.clearDebounce(),this.lastValue=t,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(l,this.dueTime,this))}_complete(){this.debouncedNext(),this.destination.complete()}debouncedNext(){if(this.clearDebounce(),this.hasValue){const{lastValue:t}=this;this.lastValue=null,this.hasValue=!1,this.destination.next(t)}}clearDebounce(){const t=this.debouncedSubscription;null!==t&&(this.remove(t),t.unsubscribe(),this.debouncedSubscription=null)}}function l(t){t.debouncedNext()}},LRne:function(t,e,n){"use strict";n.d(e,"a",function(){return o});var i=n("z+Ro"),a=n("yCtX"),r=n("jZKg");function o(...t){let e=t[t.length-1];return Object(i.a)(e)?(t.pop(),Object(r.a)(t,e)):Object(a.a)(t)}},LUZP:function(t,e,n){"use strict";n.d(e,"a",function(){return b}),n.d(e,"b",function(){return O}),n.d(e,"c",function(){return k});var i=n("8Y7J"),a=n("8LU1"),r=n("UhP/"),o=n("Ht+U"),s=n("XNiG"),l=n("VRyK"),c=n("GS7A"),d=n("SVse"),u=n("YEUz");const h=["mat-sort-header",""];function m(t,e){if(1&t){const t=i.Ub();i.Tb(0,"div",3),i.bc("@arrowPosition.start",function(){return i.yc(t),i.fc()._disableViewStateAnimation=!0})("@arrowPosition.done",function(){return i.yc(t),i.fc()._disableViewStateAnimation=!1}),i.Ob(1,"div",4),i.Tb(2,"div",5),i.Ob(3,"div",6),i.Ob(4,"div",7),i.Ob(5,"div",8),i.Sb(),i.Sb()}if(2&t){const t=i.fc();i.nc("@arrowOpacity",t._getArrowViewState())("@arrowPosition",t._getArrowViewState())("@allowChildren",t._getArrowDirectionState()),i.Cb(2),i.nc("@indicator",t._getArrowDirectionState()),i.Cb(1),i.nc("@leftPointer",t._getArrowDirectionState()),i.Cb(1),i.nc("@rightPointer",t._getArrowDirectionState())}}const p=["*"];class f{}const g=Object(r.A)(Object(r.y)(f));let b=(()=>{class t extends g{constructor(){super(...arguments),this.sortables=new Map,this._stateChanges=new s.a,this.start="asc",this._direction="",this.sortChange=new i.o}get direction(){return this._direction}set direction(t){this._direction=t}get disableClear(){return this._disableClear}set disableClear(t){this._disableClear=Object(a.c)(t)}register(t){this.sortables.set(t.id,t)}deregister(t){this.sortables.delete(t.id)}sort(t){this.active!=t.id?(this.active=t.id,this.direction=t.start?t.start:this.start):this.direction=this.getNextSortDirection(t),this.sortChange.emit({active:this.active,direction:this.direction})}getNextSortDirection(t){if(!t)return"";let e=function(t,e){let n=["asc","desc"];return"desc"==t&&n.reverse(),e||n.push(""),n}(t.start||this.start,null!=t.disableClear?t.disableClear:this.disableClear),n=e.indexOf(this.direction)+1;return n>=e.length&&(n=0),e[n]}ngOnInit(){this._markInitialized()}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}return t.\u0275fac=function(e){return _(e||t)},t.\u0275dir=i.Ib({type:t,selectors:[["","matSort",""]],hostAttrs:[1,"mat-sort"],inputs:{disabled:["matSortDisabled","disabled"],start:["matSortStart","start"],direction:["matSortDirection","direction"],disableClear:["matSortDisableClear","disableClear"],active:["matSortActive","active"]},outputs:{sortChange:"matSortChange"},exportAs:["matSort"],features:[i.zb,i.Ab]}),t})();const _=i.Vb(b),y=r.b.ENTERING+" "+r.a.STANDARD_CURVE,v={indicator:Object(c.n)("indicator",[Object(c.k)("active-asc, asc",Object(c.l)({transform:"translateY(0px)"})),Object(c.k)("active-desc, desc",Object(c.l)({transform:"translateY(10px)"})),Object(c.m)("active-asc <=> active-desc",Object(c.e)(y))]),leftPointer:Object(c.n)("leftPointer",[Object(c.k)("active-asc, asc",Object(c.l)({transform:"rotate(-45deg)"})),Object(c.k)("active-desc, desc",Object(c.l)({transform:"rotate(45deg)"})),Object(c.m)("active-asc <=> active-desc",Object(c.e)(y))]),rightPointer:Object(c.n)("rightPointer",[Object(c.k)("active-asc, asc",Object(c.l)({transform:"rotate(45deg)"})),Object(c.k)("active-desc, desc",Object(c.l)({transform:"rotate(-45deg)"})),Object(c.m)("active-asc <=> active-desc",Object(c.e)(y))]),arrowOpacity:Object(c.n)("arrowOpacity",[Object(c.k)("desc-to-active, asc-to-active, active",Object(c.l)({opacity:1})),Object(c.k)("desc-to-hint, asc-to-hint, hint",Object(c.l)({opacity:.54})),Object(c.k)("hint-to-desc, active-to-desc, desc, hint-to-asc, active-to-asc, asc, void",Object(c.l)({opacity:0})),Object(c.m)("* => asc, * => desc, * => active, * => hint, * => void",Object(c.e)("0ms")),Object(c.m)("* <=> *",Object(c.e)(y))]),arrowPosition:Object(c.n)("arrowPosition",[Object(c.m)("* => desc-to-hint, * => desc-to-active",Object(c.e)(y,Object(c.h)([Object(c.l)({transform:"translateY(-25%)"}),Object(c.l)({transform:"translateY(0)"})]))),Object(c.m)("* => hint-to-desc, * => active-to-desc",Object(c.e)(y,Object(c.h)([Object(c.l)({transform:"translateY(0)"}),Object(c.l)({transform:"translateY(25%)"})]))),Object(c.m)("* => asc-to-hint, * => asc-to-active",Object(c.e)(y,Object(c.h)([Object(c.l)({transform:"translateY(25%)"}),Object(c.l)({transform:"translateY(0)"})]))),Object(c.m)("* => hint-to-asc, * => active-to-asc",Object(c.e)(y,Object(c.h)([Object(c.l)({transform:"translateY(0)"}),Object(c.l)({transform:"translateY(-25%)"})]))),Object(c.k)("desc-to-hint, asc-to-hint, hint, desc-to-active, asc-to-active, active",Object(c.l)({transform:"translateY(0)"})),Object(c.k)("hint-to-desc, active-to-desc, desc",Object(c.l)({transform:"translateY(-25%)"})),Object(c.k)("hint-to-asc, active-to-asc, asc",Object(c.l)({transform:"translateY(25%)"}))]),allowChildren:Object(c.n)("allowChildren",[Object(c.m)("* <=> *",[Object(c.i)("@*",Object(c.f)(),{optional:!0})])])};let C=(()=>{class t{constructor(){this.changes=new s.a,this.sortButtonLabel=t=>`Change sorting for ${t}`}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Object(i.Jb)({factory:function(){return new t},token:t,providedIn:"root"}),t})();const w={provide:C,deps:[[new i.C,new i.L,C]],useFactory:function(t){return t||new C}};class x{}const M=Object(r.y)(x);let O=(()=>{class t extends M{constructor(t,e,n,i,a,r){super(),this._intl=t,this._changeDetectorRef=e,this._sort=n,this._columnDef=i,this._focusMonitor=a,this._elementRef=r,this._showIndicatorHint=!1,this._arrowDirection="",this._disableViewStateAnimation=!1,this.arrowPosition="after",this._rerenderSubscription=Object(l.a)(n.sortChange,n._stateChanges,t.changes).subscribe(()=>{this._isSorted()&&this._updateArrowDirection(),!this._isSorted()&&this._viewState&&"active"===this._viewState.toState&&(this._disableViewStateAnimation=!1,this._setAnimationTransitionState({fromState:"active",toState:this._arrowDirection})),e.markForCheck()})}get disableClear(){return this._disableClear}set disableClear(t){this._disableClear=Object(a.c)(t)}ngOnInit(){!this.id&&this._columnDef&&(this.id=this._columnDef.name),this._updateArrowDirection(),this._setAnimationTransitionState({toState:this._isSorted()?"active":this._arrowDirection}),this._sort.register(this)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(t=>{const e=!!t;e!==this._showIndicatorHint&&(this._setIndicatorHintVisible(e),this._changeDetectorRef.markForCheck())})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._sort.deregister(this),this._rerenderSubscription.unsubscribe()}_setIndicatorHintVisible(t){this._isDisabled()&&t||(this._showIndicatorHint=t,this._isSorted()||(this._updateArrowDirection(),this._setAnimationTransitionState(this._showIndicatorHint?{fromState:this._arrowDirection,toState:"hint"}:{fromState:"hint",toState:this._arrowDirection})))}_setAnimationTransitionState(t){this._viewState=t,this._disableViewStateAnimation&&(this._viewState={toState:t.toState})}_toggleOnInteraction(){this._sort.sort(this),"hint"!==this._viewState.toState&&"active"!==this._viewState.toState||(this._disableViewStateAnimation=!0);const t=this._isSorted()?{fromState:this._arrowDirection,toState:"active"}:{fromState:"active",toState:this._arrowDirection};this._setAnimationTransitionState(t),this._showIndicatorHint=!1}_handleClick(){this._isDisabled()||this._toggleOnInteraction()}_handleKeydown(t){this._isDisabled()||t.keyCode!==o.m&&t.keyCode!==o.e||(t.preventDefault(),this._toggleOnInteraction())}_isSorted(){return this._sort.active==this.id&&("asc"===this._sort.direction||"desc"===this._sort.direction)}_getArrowDirectionState(){return`${this._isSorted()?"active-":""}${this._arrowDirection}`}_getArrowViewState(){const t=this._viewState.fromState;return(t?`${t}-to-`:"")+this._viewState.toState}_updateArrowDirection(){this._arrowDirection=this._isSorted()?this._sort.direction:this.start||this._sort.start}_isDisabled(){return this._sort.disabled||this.disabled}_getAriaSortAttribute(){return this._isSorted()?"asc"==this._sort.direction?"ascending":"descending":"none"}_renderArrow(){return!this._isDisabled()||this._isSorted()}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(C),i.Nb(i.h),i.Nb(b,8),i.Nb("MAT_SORT_HEADER_COLUMN_DEF",8),i.Nb(u.h),i.Nb(i.l))},t.\u0275cmp=i.Hb({type:t,selectors:[["","mat-sort-header",""]],hostAttrs:[1,"mat-sort-header"],hostVars:3,hostBindings:function(t,e){1&t&&i.bc("click",function(){return e._handleClick()})("keydown",function(t){return e._handleKeydown(t)})("mouseenter",function(){return e._setIndicatorHintVisible(!0)})("mouseleave",function(){return e._setIndicatorHintVisible(!1)}),2&t&&(i.Db("aria-sort",e._getAriaSortAttribute()),i.Fb("mat-sort-header-disabled",e._isDisabled()))},inputs:{disabled:"disabled",arrowPosition:"arrowPosition",disableClear:"disableClear",id:["mat-sort-header","id"],start:"start"},exportAs:["matSortHeader"],features:[i.zb],attrs:h,ngContentSelectors:p,decls:4,vars:6,consts:[["role","button",1,"mat-sort-header-container","mat-focus-indicator"],[1,"mat-sort-header-content"],["class","mat-sort-header-arrow",4,"ngIf"],[1,"mat-sort-header-arrow"],[1,"mat-sort-header-stem"],[1,"mat-sort-header-indicator"],[1,"mat-sort-header-pointer-left"],[1,"mat-sort-header-pointer-right"],[1,"mat-sort-header-pointer-middle"]],template:function(t,e){1&t&&(i.mc(),i.Tb(0,"div",0),i.Tb(1,"div",1),i.lc(2),i.Sb(),i.Fc(3,m,6,6,"div",2),i.Sb()),2&t&&(i.Fb("mat-sort-header-sorted",e._isSorted())("mat-sort-header-position-before","before"==e.arrowPosition),i.Db("tabindex",e._isDisabled()?null:0),i.Cb(3),i.nc("ngIf",e._renderArrow()))},directives:[d.l],styles:[".mat-sort-header-container{display:flex;cursor:pointer;align-items:center;letter-spacing:normal;outline:0}[mat-sort-header].cdk-keyboard-focused .mat-sort-header-container,[mat-sort-header].cdk-program-focused .mat-sort-header-container{border-bottom:solid 1px currentColor}.mat-sort-header-disabled .mat-sort-header-container{cursor:default}.mat-sort-header-content{text-align:center;display:flex;align-items:center}.mat-sort-header-position-before{flex-direction:row-reverse}.mat-sort-header-arrow{height:12px;width:12px;min-width:12px;position:relative;display:flex;opacity:0}.mat-sort-header-arrow,[dir=rtl] .mat-sort-header-position-before .mat-sort-header-arrow{margin:0 0 0 6px}.mat-sort-header-position-before .mat-sort-header-arrow,[dir=rtl] .mat-sort-header-arrow{margin:0 6px 0 0}.mat-sort-header-stem{background:currentColor;height:10px;width:2px;margin:auto;display:flex;align-items:center}.cdk-high-contrast-active .mat-sort-header-stem{width:0;border-left:solid 2px}.mat-sort-header-indicator{width:100%;height:2px;display:flex;align-items:center;position:absolute;top:0;left:0}.mat-sort-header-pointer-middle{margin:auto;height:2px;width:2px;background:currentColor;transform:rotate(45deg)}.cdk-high-contrast-active .mat-sort-header-pointer-middle{width:0;height:0;border-top:solid 2px;border-left:solid 2px}.mat-sort-header-pointer-left,.mat-sort-header-pointer-right{background:currentColor;width:6px;height:2px;position:absolute;top:0}.cdk-high-contrast-active .mat-sort-header-pointer-left,.cdk-high-contrast-active .mat-sort-header-pointer-right{width:0;height:0;border-left:solid 6px;border-top:solid 2px}.mat-sort-header-pointer-left{transform-origin:right;left:0}.mat-sort-header-pointer-right{transform-origin:left;right:0}\n"],encapsulation:2,data:{animation:[v.indicator,v.leftPointer,v.rightPointer,v.arrowOpacity,v.arrowPosition,v.allowChildren]},changeDetection:0}),t})(),k=(()=>{class t{}return t.\u0275mod=i.Lb({type:t}),t.\u0275inj=i.Kb({factory:function(e){return new(e||t)},providers:[w],imports:[[d.c,r.j]]}),t})()},Lhse:function(t,e,n){"use strict";function i(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}n.d(e,"a",function(){return a});const a=i()},Loxo:function(t,e,n){!function(t){"use strict";t.defineLocale("uz",{months:"\u044f\u043d\u0432\u0430\u0440_\u0444\u0435\u0432\u0440\u0430\u043b_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440_\u043e\u043a\u0442\u044f\u0431\u0440_\u043d\u043e\u044f\u0431\u0440_\u0434\u0435\u043a\u0430\u0431\u0440".split("_"),monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u042f\u043a\u0448\u0430\u043d\u0431\u0430_\u0414\u0443\u0448\u0430\u043d\u0431\u0430_\u0421\u0435\u0448\u0430\u043d\u0431\u0430_\u0427\u043e\u0440\u0448\u0430\u043d\u0431\u0430_\u041f\u0430\u0439\u0448\u0430\u043d\u0431\u0430_\u0416\u0443\u043c\u0430_\u0428\u0430\u043d\u0431\u0430".split("_"),weekdaysShort:"\u042f\u043a\u0448_\u0414\u0443\u0448_\u0421\u0435\u0448_\u0427\u043e\u0440_\u041f\u0430\u0439_\u0416\u0443\u043c_\u0428\u0430\u043d".split("_"),weekdaysMin:"\u042f\u043a_\u0414\u0443_\u0421\u0435_\u0427\u043e_\u041f\u0430_\u0416\u0443_\u0428\u0430".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[\u0411\u0443\u0433\u0443\u043d \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",nextDay:"[\u042d\u0440\u0442\u0430\u0433\u0430] LT [\u0434\u0430]",nextWeek:"dddd [\u043a\u0443\u043d\u0438 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",lastDay:"[\u041a\u0435\u0447\u0430 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",lastWeek:"[\u0423\u0442\u0433\u0430\u043d] dddd [\u043a\u0443\u043d\u0438 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",sameElse:"L"},relativeTime:{future:"\u042f\u043a\u0438\u043d %s \u0438\u0447\u0438\u0434\u0430",past:"\u0411\u0438\u0440 \u043d\u0435\u0447\u0430 %s \u043e\u043b\u0434\u0438\u043d",s:"\u0444\u0443\u0440\u0441\u0430\u0442",ss:"%d \u0444\u0443\u0440\u0441\u0430\u0442",m:"\u0431\u0438\u0440 \u0434\u0430\u043a\u0438\u043a\u0430",mm:"%d \u0434\u0430\u043a\u0438\u043a\u0430",h:"\u0431\u0438\u0440 \u0441\u043e\u0430\u0442",hh:"%d \u0441\u043e\u0430\u0442",d:"\u0431\u0438\u0440 \u043a\u0443\u043d",dd:"%d \u043a\u0443\u043d",M:"\u0431\u0438\u0440 \u043e\u0439",MM:"%d \u043e\u0439",y:"\u0431\u0438\u0440 \u0439\u0438\u043b",yy:"%d \u0439\u0438\u043b"},week:{dow:1,doy:7}})}(n("wd/R"))},"Lyw/":function(t,e,n){"use strict";n.d(e,"a",function(){return f}),n.d(e,"b",function(){return y}),n.d(e,"c",function(){return m}),n.d(e,"d",function(){return b}),n.d(e,"e",function(){return _});var i=n("8Y7J"),a=n("SVse"),r=n("LRne"),o=n("2Vo4"),s=(n("XNiG"),n("s7LF"));const l=new i.s("recaptcha-language"),c=new i.s("recaptcha-base-url"),d=new i.s("recaptcha-nonce-tag"),u=new i.s("recaptcha-settings"),h=new i.s("recaptcha-v3-site-key");let m=(()=>{class t{constructor(e,n,i,o,s){this.platformId=e,this.language=n,this.baseUrl=i,this.nonce=o,this.v3SiteKey=s,this.init(),this.ready=Object(a.v)(this.platformId)?t.ready.asObservable():Object(r.a)()}init(){if(!t.ready&&Object(a.v)(this.platformId)){const e=new o.a(null);t.ready=e,function(t,n,i,a,r){window.ng2recaptchaloaded=()=>{(t=>{e.next(t)})(grecaptcha)};const o=document.createElement("script");o.innerHTML="",o.src=`${a||"https://www.google.com/recaptcha/api.js"}?render=${t}&onload=ng2recaptchaloaded${i}`,r&&(o.nonce=r),o.async=!0,o.defer=!0,document.head.appendChild(o)}(this.v3SiteKey||"explicit",0,this.language?"&hl="+this.language:"",this.baseUrl,this.nonce)}}}return t.\u0275fac=function(e){return new(e||t)(i.Xb(i.D),i.Xb(l,8),i.Xb(c,8),i.Xb(d,8),i.Xb(h,8))},t.\u0275prov=i.Jb({token:t,factory:t.\u0275fac}),t.ready=null,t})(),p=0,f=(()=>{class t{constructor(t,e,n,a){this.elementRef=t,this.loader=e,this.zone=n,this.id="ngrecaptcha-"+p++,this.errorMode="default",this.resolved=new i.o,this.error=new i.o,a&&(this.siteKey=a.siteKey,this.theme=a.theme,this.type=a.type,this.size=a.size,this.badge=a.badge)}ngAfterViewInit(){this.subscription=this.loader.ready.subscribe(t=>{null!=t&&t.render instanceof Function&&(this.grecaptcha=t,this.renderRecaptcha())})}ngOnDestroy(){this.grecaptchaReset(),this.subscription&&this.subscription.unsubscribe()}execute(){"invisible"===this.size&&(null!=this.widget?this.grecaptcha.execute(this.widget):this.executeRequested=!0)}reset(){null!=this.widget&&(this.grecaptcha.getResponse(this.widget)&&this.resolved.emit(null),this.grecaptchaReset())}expired(){this.resolved.emit(null)}errored(t){this.error.emit(t)}captchaResponseCallback(t){this.resolved.emit(t)}grecaptchaReset(){null!=this.widget&&this.zone.runOutsideAngular(()=>this.grecaptcha.reset(this.widget))}renderRecaptcha(){const t={badge:this.badge,callback:t=>{this.zone.run(()=>this.captchaResponseCallback(t))},"expired-callback":()=>{this.zone.run(()=>this.expired())},sitekey:this.siteKey,size:this.size,tabindex:this.tabIndex,theme:this.theme,type:this.type};"handled"===this.errorMode&&(t["error-callback"]=(...t)=>{this.zone.run(()=>this.errored(t))}),this.widget=this.grecaptcha.render(this.elementRef.nativeElement,t),!0===this.executeRequested&&(this.executeRequested=!1,this.execute())}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.l),i.Nb(m),i.Nb(i.B),i.Nb(u,8))},t.\u0275cmp=i.Hb({type:t,selectors:[["re-captcha"]],hostVars:1,hostBindings:function(t,e){2&t&&i.Db("id",e.id)},inputs:{id:"id",errorMode:"errorMode",siteKey:"siteKey",theme:"theme",type:"type",size:"size",badge:"badge",tabIndex:"tabIndex"},outputs:{resolved:"resolved",error:"error"},exportAs:["reCaptcha"],decls:0,vars:0,template:function(t,e){},encapsulation:2}),t})(),g=(()=>{class t{}return t.\u0275mod=i.Lb({type:t}),t.\u0275inj=i.Kb({factory:function(e){return new(e||t)}}),t})(),b=(()=>{class t{}return t.\u0275mod=i.Lb({type:t}),t.\u0275inj=i.Kb({factory:function(e){return new(e||t)},providers:[m],imports:[[g]]}),t})(),_=(()=>{class t{constructor(t){this.host=t}writeValue(t){t||this.host.reset()}registerOnChange(t){this.onChange=t}registerOnTouched(t){this.onTouched=t}onResolve(t){this.onChange&&this.onChange(t),this.onTouched&&this.onTouched()}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(f))},t.\u0275dir=i.Ib({type:t,selectors:[["re-captcha","formControlName",""],["re-captcha","formControl",""],["re-captcha","ngModel",""]],hostBindings:function(t,e){1&t&&i.bc("resolved",function(t){return e.onResolve(t)})},features:[i.Bb([{multi:!0,provide:s.m,useExisting:Object(i.V)(()=>t)}])]}),t})(),y=(()=>{class t{}return t.\u0275mod=i.Lb({type:t}),t.\u0275inj=i.Kb({factory:function(e){return new(e||t)},imports:[[s.j,g]]}),t})()},M9ds:function(t,e,n){"use strict";n.d(e,"a",function(){return Z}),n.d(e,"b",function(){return W}),n.d(e,"c",function(){return ot}),n.d(e,"d",function(){return pt});var i=n("YEUz"),a=n("9b/N"),r=n("1z/I"),o=n("SVse"),s=n("8Y7J"),l=n("UhP/"),c=n("omvX"),d=n("XNiG"),u=n("quSY"),h=n("VRyK"),m=n("xgIS"),p=n("LRne"),f=n("PqYM"),g=n("GS7A"),b=n("JX91"),_=n("/uUt"),y=n("1G5W"),v=n("8LU1"),C=n("SCoL"),w=n("Ht+U"),x=n("9gLZ"),M=n("7KAL");function O(t,e){1&t&&s.lc(0)}const k=["*"];function S(t,e){}const T=function(t){return{animationDuration:t}},P=function(t,e){return{value:t,params:e}},L=["tabBodyWrapper"],D=["tabHeader"];function E(t,e){}function A(t,e){if(1&t&&s.Fc(0,E,0,0,"ng-template",9),2&t){const t=s.fc().$implicit;s.nc("cdkPortalOutlet",t.templateLabel)}}function I(t,e){if(1&t&&s.Hc(0),2&t){const t=s.fc().$implicit;s.Ic(t.textLabel)}}function R(t,e){if(1&t){const t=s.Ub();s.Tb(0,"div",6),s.bc("click",function(){s.yc(t);const n=e.$implicit,i=e.index,a=s.fc(),r=s.vc(1);return a._handleClick(n,r,i)}),s.Tb(1,"div",7),s.Fc(2,A,1,1,"ng-template",8),s.Fc(3,I,1,1,"ng-template",8),s.Sb(),s.Sb()}if(2&t){const t=e.$implicit,n=e.index,i=s.fc();s.Fb("mat-tab-label-active",i.selectedIndex==n),s.nc("id",i._getTabLabelId(n))("disabled",t.disabled)("matRippleDisabled",t.disabled||i.disableRipple),s.Db("tabIndex",i._getTabIndex(t,n))("aria-posinset",n+1)("aria-setsize",i._tabs.length)("aria-controls",i._getTabContentId(n))("aria-selected",i.selectedIndex==n)("aria-label",t.ariaLabel||null)("aria-labelledby",!t.ariaLabel&&t.ariaLabelledby?t.ariaLabelledby:null),s.Cb(2),s.nc("ngIf",t.templateLabel),s.Cb(1),s.nc("ngIf",!t.templateLabel)}}function N(t,e){if(1&t){const t=s.Ub();s.Tb(0,"mat-tab-body",10),s.bc("_onCentered",function(){return s.yc(t),s.fc()._removeTabBodyWrapperHeight()})("_onCentering",function(e){return s.yc(t),s.fc()._setTabBodyWrapperHeight(e)}),s.Sb()}if(2&t){const t=e.$implicit,n=e.index,i=s.fc();s.Fb("mat-tab-body-active",i.selectedIndex==n),s.nc("id",i._getTabContentId(n))("content",t.content)("position",t.position)("origin",t.origin)("animationDuration",i.animationDuration),s.Db("aria-labelledby",i._getTabLabelId(n))}}const Y=["tabListContainer"],H=["tabList"],j=["nextPaginator"],F=["previousPaginator"],z=new s.s("MatInkBarPositioner",{providedIn:"root",factory:function(){return t=>({left:t?(t.offsetLeft||0)+"px":"0",width:t?(t.offsetWidth||0)+"px":"0"})}});let V=(()=>{class t{constructor(t,e,n,i){this._elementRef=t,this._ngZone=e,this._inkBarPositioner=n,this._animationMode=i}alignToElement(t){this.show(),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this._setStyles(t))}):this._setStyles(t)}show(){this._elementRef.nativeElement.style.visibility="visible"}hide(){this._elementRef.nativeElement.style.visibility="hidden"}_setStyles(t){const e=this._inkBarPositioner(t),n=this._elementRef.nativeElement;n.style.left=e.left,n.style.width=e.width}}return t.\u0275fac=function(e){return new(e||t)(s.Nb(s.l),s.Nb(s.B),s.Nb(z),s.Nb(c.a,8))},t.\u0275dir=s.Ib({type:t,selectors:[["mat-ink-bar"]],hostAttrs:[1,"mat-ink-bar"],hostVars:2,hostBindings:function(t,e){2&t&&s.Fb("_mat-animation-noopable","NoopAnimations"===e._animationMode)}}),t})();const B=new s.s("MatTabContent");let W=(()=>{class t{constructor(t){this.template=t}}return t.\u0275fac=function(e){return new(e||t)(s.Nb(s.N))},t.\u0275dir=s.Ib({type:t,selectors:[["","matTabContent",""]],features:[s.Bb([{provide:B,useExisting:t}])]}),t})();const U=new s.s("MatTabLabel");class q{}const G=Object(l.y)(q),J=new s.s("MAT_TAB_GROUP");let Z=(()=>{class t extends G{constructor(t,e){super(),this._viewContainerRef=t,this._closestTabGroup=e,this.textLabel="",this._contentPortal=null,this._stateChanges=new d.a,this.position=null,this.origin=null,this.isActive=!1}get templateLabel(){return this._templateLabel}set templateLabel(t){this._setTemplateLabelInput(t)}get content(){return this._contentPortal}ngOnChanges(t){(t.hasOwnProperty("textLabel")||t.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new r.g(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(t){t&&(this._templateLabel=t)}}return t.\u0275fac=function(e){return new(e||t)(s.Nb(s.R),s.Nb(J))},t.\u0275cmp=s.Hb({type:t,selectors:[["mat-tab"]],contentQueries:function(t,e,n){if(1&t&&(s.Gb(n,U,1),s.Gb(n,B,3,s.N)),2&t){let t;s.uc(t=s.cc())&&(e.templateLabel=t.first),s.uc(t=s.cc())&&(e._explicitContent=t.first)}},viewQuery:function(t,e){if(1&t&&s.Lc(s.N,3),2&t){let t;s.uc(t=s.cc())&&(e._implicitContent=t.first)}},inputs:{disabled:"disabled",textLabel:["label","textLabel"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"]},exportAs:["matTab"],features:[s.zb,s.Ab],ngContentSelectors:k,decls:1,vars:0,template:function(t,e){1&t&&(s.mc(),s.Fc(0,O,1,0,"ng-template"))},encapsulation:2}),t})();const $={translateTab:Object(g.n)("translateTab",[Object(g.k)("center, void, left-origin-center, right-origin-center",Object(g.l)({transform:"none"})),Object(g.k)("left",Object(g.l)({transform:"translate3d(-100%, 0, 0)",minHeight:"1px"})),Object(g.k)("right",Object(g.l)({transform:"translate3d(100%, 0, 0)",minHeight:"1px"})),Object(g.m)("* => left, * => right, left => center, right => center",Object(g.e)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),Object(g.m)("void => left-origin-center",[Object(g.l)({transform:"translate3d(-100%, 0, 0)"}),Object(g.e)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),Object(g.m)("void => right-origin-center",[Object(g.l)({transform:"translate3d(100%, 0, 0)"}),Object(g.e)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])};let X=(()=>{class t extends r.c{constructor(t,e,n,i){super(t,e,i),this._host=n,this._centeringSub=u.a.EMPTY,this._leavingSub=u.a.EMPTY}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe(Object(b.a)(this._host._isCenterPosition(this._host._position))).subscribe(t=>{t&&!this.hasAttached()&&this.attach(this._host._content)}),this._leavingSub=this._host._afterLeavingCenter.subscribe(()=>{this.detach()})}ngOnDestroy(){super.ngOnDestroy(),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(s.Nb(s.j),s.Nb(s.R),s.Nb(Object(s.V)(()=>Q)),s.Nb(o.d))},t.\u0275dir=s.Ib({type:t,selectors:[["","matTabBodyHost",""]],features:[s.zb]}),t})(),K=(()=>{class t{constructor(t,e,n){this._elementRef=t,this._dir=e,this._dirChangeSubscription=u.a.EMPTY,this._translateTabComplete=new d.a,this._onCentering=new s.o,this._beforeCentering=new s.o,this._afterLeavingCenter=new s.o,this._onCentered=new s.o(!0),this.animationDuration="500ms",e&&(this._dirChangeSubscription=e.change.subscribe(t=>{this._computePositionAnimationState(t),n.markForCheck()})),this._translateTabComplete.pipe(Object(_.a)((t,e)=>t.fromState===e.fromState&&t.toState===e.toState)).subscribe(t=>{this._isCenterPosition(t.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(t.fromState)&&!this._isCenterPosition(this._position)&&this._afterLeavingCenter.emit()})}set position(t){this._positionIndex=t,this._computePositionAnimationState()}ngOnInit(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin(this.origin))}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()}_onTranslateTabStarted(t){const e=this._isCenterPosition(t.toState);this._beforeCentering.emit(e),e&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_isCenterPosition(t){return"center"==t||"left-origin-center"==t||"right-origin-center"==t}_computePositionAnimationState(t=this._getLayoutDirection()){this._position=this._positionIndex<0?"ltr"==t?"left":"right":this._positionIndex>0?"ltr"==t?"right":"left":"center"}_computePositionFromOrigin(t){const e=this._getLayoutDirection();return"ltr"==e&&t<=0||"rtl"==e&&t>0?"left-origin-center":"right-origin-center"}}return t.\u0275fac=function(e){return new(e||t)(s.Nb(s.l),s.Nb(x.b,8),s.Nb(s.h))},t.\u0275dir=s.Ib({type:t,inputs:{animationDuration:"animationDuration",position:"position",_content:["content","_content"],origin:"origin"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"}}),t})(),Q=(()=>{class t extends K{constructor(t,e,n){super(t,e,n)}}return t.\u0275fac=function(e){return new(e||t)(s.Nb(s.l),s.Nb(x.b,8),s.Nb(s.h))},t.\u0275cmp=s.Hb({type:t,selectors:[["mat-tab-body"]],viewQuery:function(t,e){if(1&t&&s.Lc(r.c,1),2&t){let t;s.uc(t=s.cc())&&(e._portalHost=t.first)}},hostAttrs:[1,"mat-tab-body"],features:[s.zb],decls:3,vars:6,consts:[[1,"mat-tab-body-content"],["content",""],["matTabBodyHost",""]],template:function(t,e){1&t&&(s.Tb(0,"div",0,1),s.bc("@translateTab.start",function(t){return e._onTranslateTabStarted(t)})("@translateTab.done",function(t){return e._translateTabComplete.next(t)}),s.Fc(2,S,0,0,"ng-template",2),s.Sb()),2&t&&s.nc("@translateTab",s.tc(3,P,e._position,s.sc(1,T,e.animationDuration)))},directives:[X],styles:[".mat-tab-body-content{height:100%;overflow:auto}.mat-tab-group-dynamic-height .mat-tab-body-content{overflow:hidden}\n"],encapsulation:2,data:{animation:[$.translateTab]}}),t})();const tt=new s.s("MAT_TABS_CONFIG");let et=0;class nt{}class it{constructor(t){this._elementRef=t}}const at=Object(l.w)(Object(l.x)(it),"primary");let rt=(()=>{class t extends at{constructor(t,e,n,i){super(t),this._changeDetectorRef=e,this._animationMode=i,this._tabs=new s.F,this._indexToSelect=0,this._tabBodyWrapperHeight=0,this._tabsSubscription=u.a.EMPTY,this._tabLabelSubscription=u.a.EMPTY,this._selectedIndex=null,this.headerPosition="above",this.selectedIndexChange=new s.o,this.focusChange=new s.o,this.animationDone=new s.o,this.selectedTabChange=new s.o(!0),this._groupId=et++,this.animationDuration=n&&n.animationDuration?n.animationDuration:"500ms",this.disablePagination=!(!n||null==n.disablePagination)&&n.disablePagination,this.dynamicHeight=!(!n||null==n.dynamicHeight)&&n.dynamicHeight}get dynamicHeight(){return this._dynamicHeight}set dynamicHeight(t){this._dynamicHeight=Object(v.c)(t)}get selectedIndex(){return this._selectedIndex}set selectedIndex(t){this._indexToSelect=Object(v.f)(t,null)}get animationDuration(){return this._animationDuration}set animationDuration(t){this._animationDuration=/^\d+$/.test(t)?t+"ms":t}get backgroundColor(){return this._backgroundColor}set backgroundColor(t){const e=this._elementRef.nativeElement;e.classList.remove(`mat-background-${this.backgroundColor}`),t&&e.classList.add(`mat-background-${t}`),this._backgroundColor=t}ngAfterContentChecked(){const t=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=t){const e=null==this._selectedIndex;e||this.selectedTabChange.emit(this._createChangeEvent(t)),Promise.resolve().then(()=>{this._tabs.forEach((e,n)=>e.isActive=n===t),e||this.selectedIndexChange.emit(t)})}this._tabs.forEach((e,n)=>{e.position=n-t,null==this._selectedIndex||0!=e.position||e.origin||(e.origin=t-this._selectedIndex)}),this._selectedIndex!==t&&(this._selectedIndex=t,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{if(this._clampTabIndex(this._indexToSelect)===this._selectedIndex){const t=this._tabs.toArray();for(let e=0;e<t.length;e++)if(t[e].isActive){this._indexToSelect=this._selectedIndex=e;break}}this._changeDetectorRef.markForCheck()})}_subscribeToAllTabChanges(){this._allTabs.changes.pipe(Object(b.a)(this._allTabs)).subscribe(t=>{this._tabs.reset(t.filter(t=>t._closestTabGroup===this)),this._tabs.notifyOnChanges()})}ngOnDestroy(){this._tabs.destroy(),this._tabsSubscription.unsubscribe(),this._tabLabelSubscription.unsubscribe()}realignInkBar(){this._tabHeader&&this._tabHeader._alignInkBarToSelectedTab()}_focusChanged(t){this.focusChange.emit(this._createChangeEvent(t))}_createChangeEvent(t){const e=new nt;return e.index=t,this._tabs&&this._tabs.length&&(e.tab=this._tabs.toArray()[t]),e}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=Object(h.a)(...this._tabs.map(t=>t._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(t){return Math.min(this._tabs.length-1,Math.max(t||0,0))}_getTabLabelId(t){return`mat-tab-label-${this._groupId}-${t}`}_getTabContentId(t){return`mat-tab-content-${this._groupId}-${t}`}_setTabBodyWrapperHeight(t){if(!this._dynamicHeight||!this._tabBodyWrapperHeight)return;const e=this._tabBodyWrapper.nativeElement;e.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(e.style.height=t+"px")}_removeTabBodyWrapperHeight(){const t=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=t.clientHeight,t.style.height="",this.animationDone.emit()}_handleClick(t,e,n){t.disabled||(this.selectedIndex=e.focusIndex=n)}_getTabIndex(t,e){return t.disabled?null:this.selectedIndex===e?0:-1}}return t.\u0275fac=function(e){return new(e||t)(s.Nb(s.l),s.Nb(s.h),s.Nb(tt,8),s.Nb(c.a,8))},t.\u0275dir=s.Ib({type:t,inputs:{headerPosition:"headerPosition",animationDuration:"animationDuration",disablePagination:"disablePagination",dynamicHeight:"dynamicHeight",selectedIndex:"selectedIndex",backgroundColor:"backgroundColor"},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},features:[s.zb]}),t})(),ot=(()=>{class t extends rt{constructor(t,e,n,i){super(t,e,n,i)}}return t.\u0275fac=function(e){return new(e||t)(s.Nb(s.l),s.Nb(s.h),s.Nb(tt,8),s.Nb(c.a,8))},t.\u0275cmp=s.Hb({type:t,selectors:[["mat-tab-group"]],contentQueries:function(t,e,n){if(1&t&&s.Gb(n,Z,1),2&t){let t;s.uc(t=s.cc())&&(e._allTabs=t)}},viewQuery:function(t,e){if(1&t&&(s.Lc(L,1),s.Lc(D,1)),2&t){let t;s.uc(t=s.cc())&&(e._tabBodyWrapper=t.first),s.uc(t=s.cc())&&(e._tabHeader=t.first)}},hostAttrs:[1,"mat-tab-group"],hostVars:4,hostBindings:function(t,e){2&t&&s.Fb("mat-tab-group-dynamic-height",e.dynamicHeight)("mat-tab-group-inverted-header","below"===e.headerPosition)},inputs:{color:"color",disableRipple:"disableRipple"},exportAs:["matTabGroup"],features:[s.Bb([{provide:J,useExisting:t}]),s.zb],decls:6,vars:7,consts:[[3,"selectedIndex","disableRipple","disablePagination","indexFocused","selectFocusedIndex"],["tabHeader",""],["class","mat-tab-label mat-focus-indicator","role","tab","matTabLabelWrapper","","mat-ripple","","cdkMonitorElementFocus","",3,"id","mat-tab-label-active","disabled","matRippleDisabled","click",4,"ngFor","ngForOf"],[1,"mat-tab-body-wrapper"],["tabBodyWrapper",""],["role","tabpanel",3,"id","mat-tab-body-active","content","position","origin","animationDuration","_onCentered","_onCentering",4,"ngFor","ngForOf"],["role","tab","matTabLabelWrapper","","mat-ripple","","cdkMonitorElementFocus","",1,"mat-tab-label","mat-focus-indicator",3,"id","disabled","matRippleDisabled","click"],[1,"mat-tab-label-content"],[3,"ngIf"],[3,"cdkPortalOutlet"],["role","tabpanel",3,"id","content","position","origin","animationDuration","_onCentered","_onCentering"]],template:function(t,e){1&t&&(s.Tb(0,"mat-tab-header",0,1),s.bc("indexFocused",function(t){return e._focusChanged(t)})("selectFocusedIndex",function(t){return e.selectedIndex=t}),s.Fc(2,R,4,14,"div",2),s.Sb(),s.Tb(3,"div",3,4),s.Fc(5,N,1,8,"mat-tab-body",5),s.Sb()),2&t&&(s.nc("selectedIndex",e.selectedIndex||0)("disableRipple",e.disableRipple)("disablePagination",e.disablePagination),s.Cb(2),s.nc("ngForOf",e._tabs),s.Cb(1),s.Fb("_mat-animation-noopable","NoopAnimations"===e._animationMode),s.Cb(2),s.nc("ngForOf",e._tabs))},directives:function(){return[mt,o.k,ct,l.r,i.e,o.l,r.c,Q]},styles:[".mat-tab-group{display:flex;flex-direction:column}.mat-tab-group.mat-tab-group-inverted-header{flex-direction:column-reverse}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:none}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}.cdk-high-contrast-active .mat-tab-label:focus{outline:dotted 2px;outline-offset:-2px}.mat-tab-label.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-label.mat-tab-disabled{opacity:.5}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-label{opacity:1}@media(max-width: 599px){.mat-tab-label{padding:0 12px}}@media(max-width: 959px){.mat-tab-label{padding:0 12px}}.mat-tab-group[mat-stretch-tabs]>.mat-tab-header .mat-tab-label{flex-basis:0;flex-grow:1}.mat-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable.mat-tab-body-wrapper{transition:none;animation:none}.mat-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;flex-basis:100%}.mat-tab-body.mat-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-tab-group.mat-tab-group-dynamic-height .mat-tab-body.mat-tab-body-active{overflow-y:hidden}\n"],encapsulation:2}),t})();class st{}const lt=Object(l.y)(st);let ct=(()=>{class t extends lt{constructor(t){super(),this.elementRef=t}focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}}return t.\u0275fac=function(e){return new(e||t)(s.Nb(s.l))},t.\u0275dir=s.Ib({type:t,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(t,e){2&t&&(s.Db("aria-disabled",!!e.disabled),s.Fb("mat-tab-disabled",e.disabled))},inputs:{disabled:"disabled"},features:[s.zb]}),t})();const dt=Object(C.f)({passive:!0});let ut=(()=>{class t{constructor(t,e,n,i,a,r,o){this._elementRef=t,this._changeDetectorRef=e,this._viewportRuler=n,this._dir=i,this._ngZone=a,this._platform=r,this._animationMode=o,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new d.a,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new d.a,this.disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new s.o,this.indexFocused=new s.o,a.runOutsideAngular(()=>{Object(m.a)(t.nativeElement,"mouseleave").pipe(Object(y.a)(this._destroyed)).subscribe(()=>{this._stopInterval()})})}get selectedIndex(){return this._selectedIndex}set selectedIndex(t){t=Object(v.f)(t),this._selectedIndex!=t&&(this._selectedIndexChanged=!0,this._selectedIndex=t,this._keyManager&&this._keyManager.updateActiveItem(t))}ngAfterViewInit(){Object(m.a)(this._previousPaginator.nativeElement,"touchstart",dt).pipe(Object(y.a)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),Object(m.a)(this._nextPaginator.nativeElement,"touchstart",dt).pipe(Object(y.a)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){const t=this._dir?this._dir.change:Object(p.a)(null),e=this._viewportRuler.change(150),n=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new i.g(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap(),this._keyManager.updateActiveItem(this._selectedIndex),"undefined"!=typeof requestAnimationFrame?requestAnimationFrame(n):n(),Object(h.a)(t,e,this._items.changes).pipe(Object(y.a)(this._destroyed)).subscribe(()=>{Promise.resolve().then(n),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.pipe(Object(y.a)(this._destroyed)).subscribe(t=>{this.indexFocused.emit(t),this._setTabFocus(t)})}ngAfterContentChecked(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck()),this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck()),this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}_handleKeydown(t){if(!Object(w.r)(t))switch(t.keyCode){case w.e:case w.m:this.focusIndex!==this.selectedIndex&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(t));break;default:this._keyManager.onKeydown(t)}}_onContentChanges(){const t=this._elementRef.nativeElement.textContent;t!==this._currentTextContent&&(this._currentTextContent=t||"",this._ngZone.run(()=>{this.updatePagination(),this._alignInkBarToSelectedTab(),this._changeDetectorRef.markForCheck()}))}updatePagination(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()}get focusIndex(){return this._keyManager?this._keyManager.activeItemIndex:0}set focusIndex(t){this._isValidIndex(t)&&this.focusIndex!==t&&this._keyManager&&this._keyManager.setActiveItem(t)}_isValidIndex(t){if(!this._items)return!0;const e=this._items?this._items.toArray()[t]:null;return!!e&&!e.disabled}_setTabFocus(t){if(this._showPaginationControls&&this._scrollToLabel(t),this._items&&this._items.length){this._items.toArray()[t].focus();const e=this._tabListContainer.nativeElement,n=this._getLayoutDirection();e.scrollLeft="ltr"==n?0:e.scrollWidth-e.offsetWidth}}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;const t=this.scrollDistance,e="ltr"===this._getLayoutDirection()?-t:t;this._tabList.nativeElement.style.transform=`translateX(${Math.round(e)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(t){this._scrollTo(t)}_scrollHeader(t){return this._scrollTo(this._scrollDistance+("before"==t?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)}_handlePaginatorClick(t){this._stopInterval(),this._scrollHeader(t)}_scrollToLabel(t){if(this.disablePagination)return;const e=this._items?this._items.toArray()[t]:null;if(!e)return;const n=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:i,offsetWidth:a}=e.elementRef.nativeElement;let r,o;"ltr"==this._getLayoutDirection()?(r=i,o=r+a):(o=this._tabList.nativeElement.offsetWidth-i,r=o-a);const s=this.scrollDistance,l=this.scrollDistance+n;r<s?this.scrollDistance-=s-r+60:o>l&&(this.scrollDistance+=o-l+60)}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{const t=this._tabList.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;t||(this.scrollDistance=0),t!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=t}}_checkScrollingControls(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=0==this.scrollDistance,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())}_getMaxScrollDistance(){return this._tabList.nativeElement.scrollWidth-this._tabListContainer.nativeElement.offsetWidth||0}_alignInkBarToSelectedTab(){const t=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,e=t?t.elementRef.nativeElement:null;e?this._inkBar.alignToElement(e):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(t,e){e&&null!=e.button&&0!==e.button||(this._stopInterval(),Object(f.a)(650,100).pipe(Object(y.a)(Object(h.a)(this._stopScrolling,this._destroyed))).subscribe(()=>{const{maxScrollDistance:e,distance:n}=this._scrollHeader(t);(0===n||n>=e)&&this._stopInterval()}))}_scrollTo(t){if(this.disablePagination)return{maxScrollDistance:0,distance:0};const e=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(e,t)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:e,distance:this._scrollDistance}}}return t.\u0275fac=function(e){return new(e||t)(s.Nb(s.l),s.Nb(s.h),s.Nb(M.e),s.Nb(x.b,8),s.Nb(s.B),s.Nb(C.a),s.Nb(c.a,8))},t.\u0275dir=s.Ib({type:t,inputs:{disablePagination:"disablePagination"}}),t})(),ht=(()=>{class t extends ut{constructor(t,e,n,i,a,r,o){super(t,e,n,i,a,r,o),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(t){this._disableRipple=Object(v.c)(t)}_itemSelected(t){t.preventDefault()}}return t.\u0275fac=function(e){return new(e||t)(s.Nb(s.l),s.Nb(s.h),s.Nb(M.e),s.Nb(x.b,8),s.Nb(s.B),s.Nb(C.a),s.Nb(c.a,8))},t.\u0275dir=s.Ib({type:t,inputs:{disableRipple:"disableRipple"},features:[s.zb]}),t})(),mt=(()=>{class t extends ht{constructor(t,e,n,i,a,r,o){super(t,e,n,i,a,r,o)}}return t.\u0275fac=function(e){return new(e||t)(s.Nb(s.l),s.Nb(s.h),s.Nb(M.e),s.Nb(x.b,8),s.Nb(s.B),s.Nb(C.a),s.Nb(c.a,8))},t.\u0275cmp=s.Hb({type:t,selectors:[["mat-tab-header"]],contentQueries:function(t,e,n){if(1&t&&s.Gb(n,ct,0),2&t){let t;s.uc(t=s.cc())&&(e._items=t)}},viewQuery:function(t,e){if(1&t&&(s.Lc(V,3),s.Lc(Y,3),s.Lc(H,3),s.Lc(j,1),s.Lc(F,1)),2&t){let t;s.uc(t=s.cc())&&(e._inkBar=t.first),s.uc(t=s.cc())&&(e._tabListContainer=t.first),s.uc(t=s.cc())&&(e._tabList=t.first),s.uc(t=s.cc())&&(e._nextPaginator=t.first),s.uc(t=s.cc())&&(e._previousPaginator=t.first)}},hostAttrs:[1,"mat-tab-header"],hostVars:4,hostBindings:function(t,e){2&t&&s.Fb("mat-tab-header-pagination-controls-enabled",e._showPaginationControls)("mat-tab-header-rtl","rtl"==e._getLayoutDirection())},inputs:{selectedIndex:"selectedIndex"},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[s.zb],ngContentSelectors:k,decls:13,vars:8,consts:[["aria-hidden","true","mat-ripple","",1,"mat-tab-header-pagination","mat-tab-header-pagination-before","mat-elevation-z4",3,"matRippleDisabled","click","mousedown","touchend"],["previousPaginator",""],[1,"mat-tab-header-pagination-chevron"],[1,"mat-tab-label-container",3,"keydown"],["tabListContainer",""],["role","tablist",1,"mat-tab-list",3,"cdkObserveContent"],["tabList",""],[1,"mat-tab-labels"],["aria-hidden","true","mat-ripple","",1,"mat-tab-header-pagination","mat-tab-header-pagination-after","mat-elevation-z4",3,"matRippleDisabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(t,e){1&t&&(s.mc(),s.Tb(0,"div",0,1),s.bc("click",function(){return e._handlePaginatorClick("before")})("mousedown",function(t){return e._handlePaginatorPress("before",t)})("touchend",function(){return e._stopInterval()}),s.Ob(2,"div",2),s.Sb(),s.Tb(3,"div",3,4),s.bc("keydown",function(t){return e._handleKeydown(t)}),s.Tb(5,"div",5,6),s.bc("cdkObserveContent",function(){return e._onContentChanges()}),s.Tb(7,"div",7),s.lc(8),s.Sb(),s.Ob(9,"mat-ink-bar"),s.Sb(),s.Sb(),s.Tb(10,"div",8,9),s.bc("mousedown",function(t){return e._handlePaginatorPress("after",t)})("click",function(){return e._handlePaginatorClick("after")})("touchend",function(){return e._stopInterval()}),s.Ob(12,"div",2),s.Sb()),2&t&&(s.Fb("mat-tab-header-pagination-disabled",e._disableScrollBefore),s.nc("matRippleDisabled",e._disableScrollBefore||e.disableRipple),s.Cb(5),s.Fb("_mat-animation-noopable","NoopAnimations"===e._animationMode),s.Cb(5),s.Fb("mat-tab-header-pagination-disabled",e._disableScrollAfter),s.nc("matRippleDisabled",e._disableScrollAfter||e.disableRipple))},directives:[l.r,a.a,V],styles:['.mat-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-tab-header-pagination{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:transparent;touch-action:none}.mat-tab-header-pagination-controls-enabled .mat-tab-header-pagination{display:flex}.mat-tab-header-pagination-before,.mat-tab-header-rtl .mat-tab-header-pagination-after{padding-left:4px}.mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-rtl .mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-tab-header-rtl .mat-tab-header-pagination-before,.mat-tab-header-pagination-after{padding-right:4px}.mat-tab-header-rtl .mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;content:"";height:8px;width:8px}.mat-tab-header-pagination-disabled{box-shadow:none;cursor:default}.mat-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-ink-bar{position:absolute;bottom:0;height:2px;transition:500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable.mat-ink-bar{transition:none;animation:none}.mat-tab-group-inverted-header .mat-ink-bar{bottom:auto;top:0}.cdk-high-contrast-active .mat-ink-bar{outline:solid 2px;height:0}.mat-tab-labels{display:flex}[mat-align-tabs=center]>.mat-tab-header .mat-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-tab-header .mat-tab-labels{justify-content:flex-end}.mat-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}._mat-animation-noopable.mat-tab-list{transition:none;animation:none}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:none}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}.cdk-high-contrast-active .mat-tab-label:focus{outline:dotted 2px;outline-offset:-2px}.mat-tab-label.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-label.mat-tab-disabled{opacity:.5}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-label{opacity:1}@media(max-width: 599px){.mat-tab-label{min-width:72px}}\n'],encapsulation:2}),t})(),pt=(()=>{class t{}return t.\u0275mod=s.Lb({type:t}),t.\u0275inj=s.Kb({factory:function(e){return new(e||t)},imports:[[o.c,l.j,r.f,l.s,a.c,i.a],l.j]}),t})()},Mkv7:function(t,e,n){"use strict";n.d(e,"a",function(){return P});var i=n("8Y7J"),a=n("EY2u"),r=n("nYR2"),o=n("JIr8"),s=n("v/fa"),l=n("uc2U"),c=n("TSSN"),d=n("SKrM"),u=n("jKJn"),h=n("iInd"),m=n("s7LF"),p=n("OdmS"),f=n("SVse"),g=n("Q2Ze"),b=n("Dxy4"),_=n("Tj54"),y=n("pu8Q");function v(t,e){1&t&&(i.Tb(0,"mat-error",10),i.Hc(1),i.gc(2,"translate"),i.Sb()),2&t&&(i.Cb(1),i.Jc(" ",i.hc(2,1,"common.error.requis")," "))}function C(t,e){1&t&&(i.Tb(0,"mat-error",11),i.Hc(1),i.gc(2,"translate"),i.Sb()),2&t&&(i.Cb(1),i.Jc(" ",i.hc(2,1,"tva.error.format")," "))}function w(t,e){1&t&&(i.Tb(0,"mat-icon",15),i.gc(1,"translate"),i.Hc(2,"search"),i.Sb()),2&t&&i.nc("title",i.hc(1,1,"tva.verification"))}function x(t,e){1&t&&i.Ob(0,"mat-spinner",16),2&t&&i.nc("diameter",20)}function M(t,e){if(1&t){const t=i.Ub();i.Tb(0,"button",12),i.bc("click",function(){return i.yc(t),i.fc().clickOnSearch()}),i.Fc(1,w,3,3,"mat-icon",13),i.Fc(2,x,1,1,"mat-spinner",14),i.Sb()}if(2&t){const t=i.fc();i.Cb(1),i.nc("ngIf",!t.isLoading),i.Cb(1),i.nc("ngIf",t.isLoading)}}function O(t,e){if(1&t&&(i.Tb(0,"mat-icon",17),i.Hc(1),i.Sb()),2&t){const t=i.fc();i.nc("color",t.state===t.enumEtat.VALID?"primary":"warn"),i.Cb(1),i.Ic(t.state)}}function k(t,e){if(1&t&&(i.Tb(0,"span",18),i.Tb(1,"mat-label",19),i.Hc(2),i.gc(3,"translate"),i.Sb(),i.Tb(4,"mat-label",20),i.Hc(5),i.gc(6,"translate"),i.Sb(),i.Sb()),2&t){const t=i.fc();i.Cb(2),i.Kc("",i.hc(3,4,"tva.raisonsociale"),"",t.socialReason,""),i.Cb(3),i.Kc("",i.hc(6,6,"tva.adresse"),"",t.address,"")}}function S(t,e){1&t&&(i.Tb(0,"mat-error",21),i.Hc(1),i.gc(2,"translate"),i.Sb()),2&t&&(i.Cb(1),i.Ic(i.hc(2,1,"tva.error.invalide")))}function T(t,e){1&t&&(i.Tb(0,"mat-error",22),i.Hc(1),i.gc(2,"translate"),i.Sb()),2&t&&(i.Cb(1),i.Ic(i.hc(2,1,"tva.error.indisponible")))}let P=(()=>{class t extends s.a{constructor(t,e,n,a){super(t),this.translateService=t,this.tvaService=e,this.alertService=n,this.route=a,this.tvaCheckEvent=new i.o,this.stateChangeEvent=new i.o,this.enumEtat=l.a}get countryCode(){return this._countryCode}set countryCode(t){this._countryCode=t}load(){this.form=this.formCtrl.parent;const t=this.route.snapshot.data.resolvedData;t&&(this.socialReason=t.socialReason,this.address=t.address)}onNumTvaSelectionChange(t){t&&this.checkTvaNum(!1,t)}checkTvaNum(t,e){if(!this.formCtrl.hasError("required")&&!this.formCtrl.hasError("pattern")){const n=e?e.numTVA:this.formCtrl.value;if("FR"===n.slice(0,2)&&13===n.length){const i=+n.substring(4);+n.substring(2,4)==(12+i%97*3)%97?(this.updateState(l.a.VALID,t,"tva.valide"),this.tvaCheckEvent.emit({isValid:!0,numTVA:n,clientSelection:e})):this.checkTVAViaService(n,t,e)}else this.checkTVAViaService(n,t,e)}}checkTVAViaService(t,e,n){this.subscriptions.push(this.tvaService.checkTva(t).pipe(Object(r.a)(()=>this.isLoading=!1),Object(o.a)(t=>this.onError(t,e,n))).subscribe(i=>{this.updateState(l.a.VALID,e,"tva.valide"),this.displayErrorMessageIndisponible=!1,this.socialReason=i.raisonSociale,this.address=i.adresse,this.tvaCheckEvent.emit({isValid:!0,numTVA:t,clientSelection:n})}))}updateState(t,e,n){this.state=t,this.stateChangeEvent.emit(this.state),e||this.alertService.notifyByKey(n)}onError(t,e,n){return 404===t.status?this.updateState(l.a.INVALID,e,"tva.error.invalide"):this.updateState(l.a.ERROR,e,"tva.error.indisponible"),this.tvaCheckEvent.emit({isValid:!1,numTVA:this.formCtrl.value,clientSelection:n}),a.a}onInputChange(){this.preventDoubleCheck=!0,this.checkTvaNum(!1,null)}clickOnSearch(){this.preventDoubleCheck||this.checkTvaNum(!1,null),this.preventDoubleCheck=!1}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(c.d),i.Nb(d.a),i.Nb(u.a),i.Nb(h.a))},t.\u0275cmp=i.Hb({type:t,selectors:[["app-tva-check-2"]],inputs:{formCtrl:"formCtrl",isAutocompleteDisabled:"isAutocompleteDisabled",state:"state",preventDoubleCheck:"preventDoubleCheck",displayErrorMessageIndisponible:"displayErrorMessageIndisponible",countryCode:"countryCode"},outputs:{tvaCheckEvent:"tvaCheckEvent",stateChangeEvent:"stateChangeEvent"},features:[i.zb],decls:11,vars:14,consts:[[1,"inside-tva",3,"formGroup"],[1,"row"],["formControlName","numTVA",3,"name","inputTitle","prefix","isRequired","isAutocompleteDisabled","formControl","selectionChanged","inputChanged"],["id","tva-validator-required",4,"ngIf"],["id","tva-validator-pattern",4,"ngIf"],["data-cy","button-search-tva","mat-icon-button","","aria-label","check tva",3,"click",4,"ngIf"],["id","tva-validator-state",3,"color",4,"ngIf"],["class","display-data",4,"ngIf"],["id","tva-validator-invalid",4,"ngIf"],["id","tva-validator-error",4,"ngIf"],["id","tva-validator-required"],["id","tva-validator-pattern"],["data-cy","button-search-tva","mat-icon-button","","aria-label","check tva",3,"click"],["id","validateTva","color","primary",3,"title",4,"ngIf"],["color","primary",3,"diameter",4,"ngIf"],["id","validateTva","color","primary",3,"title"],["color","primary",3,"diameter"],["id","tva-validator-state",3,"color"],[1,"display-data"],["id","rs"],["id","addresse"],["id","tva-validator-invalid"],["id","tva-validator-error"]],template:function(t,e){1&t&&(i.Tb(0,"form",0),i.Tb(1,"span",1),i.Tb(2,"app-client-autocomplete-2",2),i.bc("selectionChanged",function(t){return e.onNumTvaSelectionChange(t)})("inputChanged",function(){return e.onInputChange()}),i.Fc(3,v,3,3,"mat-error",3),i.Fc(4,C,3,3,"mat-error",4),i.Sb(),i.Fc(5,M,3,2,"button",5),i.Sb(),i.Tb(6,"span",1),i.Fc(7,O,2,2,"mat-icon",6),i.Fc(8,k,7,8,"span",7),i.Fc(9,S,3,3,"mat-error",8),i.Fc(10,T,3,3,"mat-error",9),i.Sb(),i.Sb()),2&t&&(i.nc("formGroup",e.form),i.Cb(2),i.nc("name","numTVA")("inputTitle","tva.titre")("prefix",e.countryCode)("isRequired",!0)("isAutocompleteDisabled",e.isAutocompleteDisabled)("formControl",e.formCtrl),i.Cb(1),i.nc("ngIf",e.doesControlHaveError("numTVA","required")),i.Cb(1),i.nc("ngIf",e.doesControlHaveError("numTVA","pattern")),i.Cb(1),i.nc("ngIf",e.formCtrl.enabled),i.Cb(2),i.nc("ngIf",e.state!==e.enumEtat.VALIDATE),i.Cb(1),i.nc("ngIf",e.state===e.enumEtat.VALID),i.Cb(1),i.nc("ngIf",e.state===e.enumEtat.INVALID),i.Cb(1),i.nc("ngIf",e.state===e.enumEtat.ERROR||e.displayErrorMessageIndisponible))},directives:[m.x,m.p,m.i,p.a,m.o,m.g,m.f,f.l,g.b,b.a,_.a,y.b,g.f],pipes:[c.c],styles:[".inside-tva[_ngcontent-%COMP%]{-ms-flex-direction:column;flex-direction:column}.inside-tva[_ngcontent-%COMP%], .inside-tva[_ngcontent-%COMP%] .row[_ngcontent-%COMP%]{display:-ms-flexbox;display:flex}.inside-tva[_ngcontent-%COMP%] .row[_ngcontent-%COMP%]{width:100%;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center}.inside-tva[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] mat-form-field[_ngcontent-%COMP%]{-ms-flex:1;flex:1}.inside-tva[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] mat-spinner[_ngcontent-%COMP%]{margin:auto}.inside-tva[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{margin-right:10px}.inside-tva[_ngcontent-%COMP%] .row[_ngcontent-%COMP%]:last-child{margin-bottom:10px}.inside-tva[_ngcontent-%COMP%] #country-code[_ngcontent-%COMP%]{-ms-flex-item-align:center;align-self:center;margin-right:8px}.inside-tva[_ngcontent-%COMP%] .display-data[_ngcontent-%COMP%]{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;font-size:.7rem}"]}),t})()},NJ4a:function(t,e,n){"use strict";function i(t){setTimeout(()=>{throw t},0)}n.d(e,"a",function(){return i})},NTaR:function(t,e,n){"use strict";n.r(e),n.d(e,"DemandeAccesModule",function(){return A});var i=n("SVse"),a=n("PCNd"),r=n("iInd"),o=n("OaSA"),s=n("IGtN"),l=n("2XGR"),c=n("8Y7J"),d=n("TSSN"),u=n("eaIg"),h=n("jKJn"),m=n("PDjf"),p=n("LUZP"),f=n("Dxy4");function g(t,e){1&t&&(c.Tb(0,"th",14),c.Hc(1),c.gc(2,"translate"),c.Sb()),2&t&&(c.Cb(1),c.Ic(c.hc(2,1,"user.authorization.table.login")))}function b(t,e){if(1&t&&(c.Tb(0,"td",15),c.Hc(1),c.Sb()),2&t){const t=e.$implicit;c.Cb(1),c.Ic(null==t?null:t.donneurOrdre)}}function _(t,e){1&t&&(c.Tb(0,"th",14),c.Hc(1),c.gc(2,"translate"),c.Sb()),2&t&&(c.Cb(1),c.Ic(c.hc(2,1,"user.authorization.table.raisonSociale")))}function y(t,e){if(1&t&&(c.Tb(0,"td",15),c.Hc(1),c.Sb()),2&t){const t=e.$implicit;c.Cb(1),c.Ic(null==t?null:t.raisonSocialeDonneurOrdre)}}function v(t,e){1&t&&(c.Tb(0,"th",14),c.Hc(1),c.gc(2,"translate"),c.Sb()),2&t&&(c.Cb(1),c.Ic(c.hc(2,1,"user.authorization.table.numTVA")))}function C(t,e){if(1&t&&(c.Tb(0,"td",15),c.Hc(1),c.Sb()),2&t){const t=e.$implicit;c.Cb(1),c.Ic(null==t?null:t.numTVADonneurOrdre)}}function w(t,e){1&t&&(c.Tb(0,"th",14),c.Hc(1),c.gc(2,"translate"),c.Sb()),2&t&&(c.Cb(1),c.Ic(c.hc(2,1,"user.authorization.table.statut")))}function x(t,e){1&t&&(c.Tb(0,"span"),c.Hc(1),c.gc(2,"translate"),c.Sb()),2&t&&(c.Cb(1),c.Ic(c.hc(2,1,"user.authorization.table.statut.accept")))}function M(t,e){1&t&&(c.Tb(0,"span"),c.Hc(1),c.gc(2,"translate"),c.Sb()),2&t&&(c.Cb(1),c.Ic(c.hc(2,1,"user.authorization.table.statut.refused")))}function O(t,e){1&t&&(c.Tb(0,"span"),c.Hc(1),c.gc(2,"translate"),c.Sb()),2&t&&(c.Cb(1),c.Ic(c.hc(2,1,"user.authorization.table.statut.default")))}function k(t,e){if(1&t&&(c.Tb(0,"td",15),c.Tb(1,"span",16),c.Fc(2,x,3,3,"span",17),c.Fc(3,M,3,3,"span",17),c.Fc(4,O,3,3,"span",18),c.Sb(),c.Sb()),2&t){const t=e.$implicit,n=c.fc();c.Cb(1),c.nc("ngSwitch",null==t?null:t.etat),c.Cb(1),c.nc("ngSwitchCase",n.AccesDeclarationType.VALIDE),c.Cb(1),c.nc("ngSwitchCase",n.AccesDeclarationType.REFUSE)}}function S(t,e){1&t&&c.Ob(0,"th",14)}function T(t,e){if(1&t){const t=c.Ub();c.Tb(0,"td",15),c.Tb(1,"button",19),c.bc("click",function(){c.yc(t);const n=e.$implicit;return c.fc().accept(n.id)}),c.Hc(2),c.gc(3,"translate"),c.Sb(),c.Hc(4,"\xa0 "),c.Tb(5,"button",20),c.bc("click",function(){c.yc(t);const n=e.$implicit;return c.fc().refuse(n.id)}),c.Hc(6),c.gc(7,"translate"),c.Sb(),c.Sb()}if(2&t){const t=e.$implicit,n=c.fc();c.Cb(1),c.nc("disabled",(null==t?null:t.etat)==n.AccesDeclarationType.VALIDE),c.Cb(1),c.Jc(" ",c.hc(3,4,"user.authorization.table.action.accept")," "),c.Cb(3),c.nc("disabled",(null==t?null:t.etat)==n.AccesDeclarationType.REFUSE),c.Cb(1),c.Jc(" ",c.hc(7,6,"user.authorization.table.action.refuse")," ")}}function P(t,e){1&t&&c.Ob(0,"tr",21)}function L(t,e){1&t&&c.Ob(0,"tr",22)}let D=(()=>{class t extends s.a{constructor(t,e,n,i){super(t),this.translateService=t,this.changeDetectorRef=e,this.accesService=n,this.alertService=i,this.displayedColumns=["donneurOrdre","raisonSocialeDonneurOrdre","numTVADonneurOrdre","etat","actions"],this.AccesDeclarationType=l.a,this.sortTable=(t,e)=>t.ordre-e.ordre||t.donneurOrdre.localeCompare(e.donneurOrdre)}ngOnInit(){super.ngOnInit()}load(){this.subscriptions.push(this.accesService.getAccess().subscribe(t=>{t.forEach(t=>{t.etat===l.a.EN_COURS&&(t.ordre=1),t.etat===l.a.VALIDE&&(t.ordre=2),t.etat===l.a.REFUSE&&(t.ordre=3)}),this.datas=t.sort(this.sortTable),this.dataSource=new o.k(this.datas),this.changeDetectorRef.detectChanges()}))}accept(t){this.accesService.acceptAccess(t).subscribe(e=>{this.datas.find(e=>e.id===t).etat=l.a.VALIDE,this.datas=this.datas.sort(this.sortTable),this.dataSource=new o.k(this.datas),this.alertService.notifyByKey("user.authorization.message.accept"),this.changeDetectorRef.detectChanges()})}refuse(t){this.accesService.removeAccess(t).subscribe(e=>{this.datas.find(e=>e.id===t).etat=l.a.REFUSE,this.datas=this.datas.sort(this.sortTable),this.dataSource=new o.k(this.datas),this.alertService.notifyByKey("user.authorization.message.refuse"),this.changeDetectorRef.detectChanges()})}}return t.\u0275fac=function(e){return new(e||t)(c.Nb(d.d),c.Nb(c.h),c.Nb(u.a),c.Nb(h.a))},t.\u0275cmp=c.Hb({type:t,selectors:[["app-demande-acces"]],features:[c.zb],decls:27,vars:9,consts:[[1,"main-block"],[1,"side-header"],[1,"main-title"],[1,"declaration-explication","alert-green"],["mat-table","","matSort","",1,"declaration-list",3,"dataSource"],["matColumnDef","donneurOrdre"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","raisonSocialeDonneurOrdre"],["matColumnDef","numTVADonneurOrdre"],["matColumnDef","etat"],["matColumnDef","actions"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],["mat-raised-button","","aria-label","accept","color","primary",3,"disabled","click"],["mat-raised-button","","aria-label","refuse","color","warn",3,"disabled","click"],["mat-header-row",""],["mat-row",""]],template:function(t,e){1&t&&(c.Tb(0,"div",0),c.Tb(1,"mat-card"),c.Tb(2,"mat-card-title",1),c.Tb(3,"h1",2),c.Hc(4),c.gc(5,"translate"),c.Sb(),c.Sb(),c.Tb(6,"div",3),c.Hc(7),c.gc(8,"translate"),c.Sb(),c.Tb(9,"table",4),c.Rb(10,5),c.Fc(11,g,3,3,"th",6),c.Fc(12,b,2,1,"td",7),c.Qb(),c.Rb(13,8),c.Fc(14,_,3,3,"th",6),c.Fc(15,y,2,1,"td",7),c.Qb(),c.Rb(16,9),c.Fc(17,v,3,3,"th",6),c.Fc(18,C,2,1,"td",7),c.Qb(),c.Rb(19,10),c.Fc(20,w,3,3,"th",6),c.Fc(21,k,5,3,"td",7),c.Qb(),c.Rb(22,11),c.Fc(23,S,1,0,"th",6),c.Fc(24,T,8,8,"td",7),c.Qb(),c.Fc(25,P,1,0,"tr",12),c.Fc(26,L,1,0,"tr",13),c.Sb(),c.Sb(),c.Sb()),2&t&&(c.Cb(4),c.Ic(c.hc(5,5,"user.authorization.title")),c.Cb(3),c.Jc(" ",c.hc(8,7,"user.authorization.explication")," "),c.Cb(2),c.nc("dataSource",e.dataSource),c.Cb(16),c.nc("matHeaderRowDef",e.displayedColumns),c.Cb(1),c.nc("matRowDefColumns",e.displayedColumns))},directives:[m.a,m.d,o.j,p.a,o.c,o.e,o.b,o.g,o.i,o.d,o.a,i.n,i.o,i.p,f.a,o.f,o.h],pipes:[d.c],styles:[".main-block[_ngcontent-%COMP%] .declaration-explication[_ngcontent-%COMP%]{text-align:justify;font-size:14px;white-space:pre-line}.main-block[_ngcontent-%COMP%] .declaration-list[_ngcontent-%COMP%]{width:100%}"],changeDetection:0}),t})(),E=(()=>{class t{}return t.\u0275mod=c.Lb({type:t}),t.\u0275inj=c.Kb({factory:function(e){return new(e||t)},imports:[[r.j.forChild([{path:"",component:D}])],r.j]}),t})(),A=(()=>{class t{}return t.\u0275mod=c.Lb({type:t}),t.\u0275inj=c.Kb({factory:function(e){return new(e||t)},imports:[[i.c,a.a,E]]}),t})()},NVUN:function(t,e,n){"use strict";n.d(e,"a",function(){return c});var i=n("8Y7J"),a=n("TSSN"),r=n("SVse"),o=n("Tj54"),s=n("ZFy/");function l(t,e){if(1&t&&(i.Tb(0,"mat-icon",1),i.Hc(1,"help"),i.Sb()),2&t){const t=i.fc();i.nc("matTooltip",t.message)}}let c=(()=>{class t{constructor(t,e){this.changeDetectorRef=t,this.translateService=e,this._message=null}get message(){return this._message}set message(t){if(t){const e=this.translateService.instant(t);this._message=e!==t?e:t.endsWith("_info")?null:t,this.changeDetectorRef.markForCheck()}}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.h),i.Nb(a.d))},t.\u0275cmp=i.Hb({type:t,selectors:[["app-infobulle"]],inputs:{message:"message"},decls:1,vars:1,consts:[["color","primary","matTooltipClass","app-infobulle-tooltip",3,"matTooltip",4,"ngIf"],["color","primary","matTooltipClass","app-infobulle-tooltip",3,"matTooltip"]],template:function(t,e){1&t&&i.Fc(0,l,2,1,"mat-icon",0),2&t&&i.nc("ngIf",e.message)},directives:[r.l,o.a,s.c],styles:["\n mat-icon {\n cursor: pointer;\n margin-left:4px;\n }\n .app-infobulle-tooltip {\n font-size: 0.75em;\n text-align: center;\n }"],encapsulation:2,changeDetection:0}),t})()},NXyV:function(t,e,n){"use strict";n.d(e,"a",function(){return o});var i=n("HDdC"),a=n("Cfvw"),r=n("EY2u");function o(t){return new i.a(e=>{let n;try{n=t()}catch(i){return void e.error(i)}return(n?Object(a.a)(n):Object(r.b)()).subscribe(e)})}},Nd6I:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("8Y7J"),a=n("TSSN");let r=(()=>{class t{constructor(t){this.translateService=t}transform(t){return t&&(t.adresse||t.cp)?t.latitude&&t.longitude?`Lat. : ${t.latitude} - Long. : ${t.longitude}<br>${this.formatCpVille(t)}`:`${t.adresse}<br>${this.formatCpVille(t)}`:`<i>${this.translateService.instant("common.adresse.vide")}</i>`}formatCpVille(t){return(t.cp?t.cp+"&nbsp;&nbsp;":"")+(t.ville||"")}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(a.d))},t.\u0275pipe=i.Mb({name:"formatAddress",type:t,pure:!0}),t})()},NlNA:function(t,e,n){"use strict";n.d(e,"a",function(){return a});var i=n("3EFq");class a{constructor({login:t=null,captcha:e=null,role:n=null,compte:a={dpdDefault:null},entreprise:r={},deleted:o=!1}){this.login=t,this.captcha=e,this.role=n,this.compte=a,this.entreprise=new i.a(r),this.deleted=o}}},O8bH:function(t,e,n){"use strict";n.d(e,"a",function(){return u});var i=n("iELJ"),a=n("8Y7J"),r=n("SVse"),o=n("TSSN"),s=n("KSFr");function l(t,e){if(1&t&&(a.Tb(0,"div",4),a.Tb(1,"b"),a.Hc(2),a.gc(3,"translate"),a.Sb(),a.Ob(4,"br"),a.Ob(5,"div",5),a.gc(6,"safeHtml"),a.Sb()),2&t){const t=a.fc();a.Cb(2),a.Jc("",a.hc(3,2,"dpd.activite.inclus")," :"),a.Cb(3),a.nc("innerHTML",a.hc(6,4,t.data.description),a.zc)}}function c(t,e){if(1&t&&(a.Tb(0,"div"),a.Tb(1,"b"),a.Hc(2),a.gc(3,"translate"),a.Sb(),a.Ob(4,"br"),a.Ob(5,"div",5),a.gc(6,"safeHtml"),a.Sb()),2&t){const t=a.fc();a.Cb(2),a.Jc("",a.hc(3,2,"dpd.activite.inclus2")," :"),a.Cb(3),a.nc("innerHTML",a.hc(6,4,t.data.autre),a.zc)}}function d(t,e){if(1&t&&(a.Tb(0,"div"),a.Tb(1,"b"),a.Hc(2),a.gc(3,"translate"),a.Sb(),a.Ob(4,"br"),a.Ob(5,"div",5),a.gc(6,"safeHtml"),a.Sb()),2&t){const t=a.fc();a.Cb(2),a.Jc("",a.hc(3,2,"dpd.activite.exclut")," :"),a.Cb(3),a.nc("innerHTML",a.hc(6,4,t.data.exclusion),a.zc)}}let u=(()=>{class t{constructor(t,e){this.dialogRef=t,this.data=e}onClick(){this.dialogRef.close()}}return t.\u0275fac=function(e){return new(e||t)(a.Nb(i.f),a.Nb(i.a))},t.\u0275cmp=a.Hb({type:t,selectors:[["app-activite-detail-dialog"]],decls:8,vars:4,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["class","activite-detail",4,"ngIf"],[4,"ngIf"],[1,"activite-detail"],[3,"innerHTML"]],template:function(t,e){1&t&&(a.Tb(0,"h1",0),a.Hc(1),a.Sb(),a.Tb(2,"div",1),a.Fc(3,l,7,6,"div",2),a.Ob(4,"br"),a.Fc(5,c,7,6,"div",3),a.Ob(6,"br"),a.Fc(7,d,7,6,"div",3),a.Sb()),2&t&&(a.Cb(1),a.Ic(e.data.libelle),a.Cb(2),a.nc("ngIf",e.data.description),a.Cb(2),a.nc("ngIf",e.data.autre),a.Cb(2),a.nc("ngIf",e.data.exclusion))},directives:[i.g,i.d,r.l],pipes:[o.c,s.a],styles:[".activite-detail[_ngcontent-%COMP%]{text-align:justify}"]}),t})()},OIYi:function(t,e,n){!function(t){"use strict";t.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")}})}(n("wd/R"))},OLiY:function(t,e,n){"use strict";n.d(e,"a",function(){return y}),n.d(e,"b",function(){return O}),n.d(e,"c",function(){return M}),n.d(e,"d",function(){return x}),n.d(e,"e",function(){return m}),n.d(e,"f",function(){return p}),n.d(e,"g",function(){return g}),n.d(e,"h",function(){return C});var i=n("y7ui"),a=n("UhP/"),r=n("8LU1"),o=n("CtHx"),s=n("2Vo4"),l=n("VRyK"),c=n("IzEk"),d=n("lJxs"),u=n("8Y7J");const h=Object(a.B)(Object(a.y)(i.e));let m=(()=>{class t extends h{constructor(t,e,n){super(t,e),this._elementRef=t,this._tree=e,this.tabIndex=Number(n)||0,this._elementRef.nativeElement.classList.add("mat-tree-node")}ngOnInit(){super.ngOnInit()}ngDoCheck(){super.ngDoCheck()}ngOnDestroy(){super.ngOnDestroy()}}return t.\u0275fac=function(e){return new(e||t)(u.Nb(u.l),u.Nb(i.c),u.Yb("tabindex"))},t.\u0275dir=u.Ib({type:t,selectors:[["mat-tree-node"]],inputs:{role:"role",disabled:"disabled",tabIndex:"tabIndex"},exportAs:["matTreeNode"],features:[u.Bb([{provide:i.e,useExisting:t}]),u.zb]}),t})(),p=(()=>{class t extends i.f{}return t.\u0275fac=function(e){return f(e||t)},t.\u0275dir=u.Ib({type:t,selectors:[["","matTreeNodeDef",""]],inputs:{when:["matTreeNodeDefWhen","when"],data:["matTreeNode","data"]},features:[u.Bb([{provide:i.f,useExisting:t}]),u.zb]}),t})();const f=u.Vb(p);let g=(()=>{class t extends i.h{get level(){return this._level}set level(t){this._setLevelInput(t)}get indent(){return this._indent}set indent(t){this._setIndentInput(t)}}return t.\u0275fac=function(e){return b(e||t)},t.\u0275dir=u.Ib({type:t,selectors:[["","matTreeNodePadding",""]],inputs:{level:["matTreeNodePadding","level"],indent:["matTreeNodePaddingIndent","indent"]},features:[u.Bb([{provide:i.h,useExisting:t}]),u.zb]}),t})();const b=u.Vb(g);let _=(()=>{class t{constructor(t,e){this.viewContainer=t,this._node=e}}return t.\u0275fac=function(e){return new(e||t)(u.Nb(u.R),u.Nb(i.a,8))},t.\u0275dir=u.Ib({type:t,selectors:[["","matTreeNodeOutlet",""]],features:[u.Bb([{provide:i.g,useExisting:t}])]}),t})(),y=(()=>{class t extends i.c{}return t.\u0275fac=function(e){return v(e||t)},t.\u0275cmp=u.Hb({type:t,selectors:[["mat-tree"]],viewQuery:function(t,e){if(1&t&&u.Lc(_,3),2&t){let t;u.uc(t=u.cc())&&(e._nodeOutlet=t.first)}},hostAttrs:["role","tree",1,"mat-tree","cdk-tree"],exportAs:["matTree"],features:[u.Bb([{provide:i.c,useExisting:t}]),u.zb],decls:1,vars:0,consts:[["matTreeNodeOutlet",""]],template:function(t,e){1&t&&u.Pb(0,0)},directives:[_],styles:[".mat-tree{display:block}.mat-tree-node{display:flex;align-items:center;flex:1;word-wrap:break-word}.mat-nested-tree-node{border-bottom-width:0}\n"],encapsulation:2}),t})();const v=u.Vb(y);let C=(()=>{class t extends i.i{get recursive(){return this._recursive}set recursive(t){this._recursive=Object(r.c)(t)}}return t.\u0275fac=function(e){return w(e||t)},t.\u0275dir=u.Ib({type:t,selectors:[["","matTreeNodeToggle",""]],inputs:{recursive:["matTreeNodeToggleRecursive","recursive"]},features:[u.Bb([{provide:i.i,useExisting:t}]),u.zb]}),t})();const w=u.Vb(C);let x=(()=>{class t{}return t.\u0275mod=u.Lb({type:t}),t.\u0275inj=u.Kb({factory:function(e){return new(e||t)},imports:[[i.d,a.j],a.j]}),t})();class M{constructor(t,e,n,i){this.transformFunction=t,this.getLevel=e,this.isExpandable=n,this.getChildren=i}_flattenNode(t,e,n,i){const a=this.transformFunction(t,e);if(n.push(a),this.isExpandable(a)){const a=this.getChildren(t);a&&(Array.isArray(a)?this._flattenChildren(a,e,n,i):a.pipe(Object(c.a)(1)).subscribe(t=>{this._flattenChildren(t,e,n,i)}))}return n}_flattenChildren(t,e,n,i){t.forEach((a,r)=>{let o=i.slice();o.push(r!=t.length-1),this._flattenNode(a,e+1,n,o)})}flattenNodes(t){let e=[];return t.forEach(t=>this._flattenNode(t,0,e,[])),e}expandFlattenedNodes(t,e){let n=[],i=[];return i[0]=!0,t.forEach(t=>{let a=!0;for(let e=0;e<=this.getLevel(t);e++)a=a&&i[e];a&&n.push(t),this.isExpandable(t)&&(i[this.getLevel(t)+1]=e.isExpanded(t))}),n}}class O extends o.b{constructor(t,e,n=[]){super(),this._treeControl=t,this._treeFlattener=e,this._flattenedData=new s.a([]),this._expandedData=new s.a([]),this._data=new s.a(n)}get data(){return this._data.value}set data(t){this._data.next(t),this._flattenedData.next(this._treeFlattener.flattenNodes(this.data)),this._treeControl.dataNodes=this._flattenedData.value}connect(t){const e=[t.viewChange,this._treeControl.expansionModel.changed,this._flattenedData];return Object(l.a)(...e).pipe(Object(d.a)(()=>(this._expandedData.next(this._treeFlattener.expandFlattenedNodes(this._flattenedData.value,this._treeControl)),this._expandedData.value)))}disconnect(){}}},OaSA:function(t,e,n){"use strict";n.d(e,"a",function(){return bt}),n.d(e,"b",function(){return ct}),n.d(e,"c",function(){return mt}),n.d(e,"d",function(){return ft}),n.d(e,"e",function(){return ut}),n.d(e,"f",function(){return xt}),n.d(e,"g",function(){return yt}),n.d(e,"h",function(){return Ot}),n.d(e,"i",function(){return Ct}),n.d(e,"j",function(){return st}),n.d(e,"k",function(){return Pt}),n.d(e,"l",function(){return St});var i=n("8LU1"),a=n("CtHx"),r=n("8Y7J"),o=n("9gLZ"),s=n("SCoL"),l=n("7KAL"),c=n("SVse"),d=n("XNiG"),u=n("Cfvw"),h=n("2Vo4"),m=n("7+OI"),p=n("LRne"),f=n("1G5W"),g=n("IzEk");const b=[[["caption"]],[["colgroup"],["col"]]],_=["caption","colgroup, col"];function y(t){return class extends t{constructor(...t){super(...t),this._sticky=!1,this._hasStickyChanged=!1}get sticky(){return this._sticky}set sticky(t){const e=this._sticky;this._sticky=Object(i.c)(t),this._hasStickyChanged=e!==this._sticky}hasStickyChanged(){const t=this._hasStickyChanged;return this._hasStickyChanged=!1,t}resetStickyChanged(){this._hasStickyChanged=!1}}}const v=new r.s("CDK_TABLE");let C=(()=>{class t{constructor(t){this.template=t}}return t.\u0275fac=function(e){return new(e||t)(r.Nb(r.N))},t.\u0275dir=r.Ib({type:t,selectors:[["","cdkCellDef",""]]}),t})(),w=(()=>{class t{constructor(t){this.template=t}}return t.\u0275fac=function(e){return new(e||t)(r.Nb(r.N))},t.\u0275dir=r.Ib({type:t,selectors:[["","cdkHeaderCellDef",""]]}),t})(),x=(()=>{class t{constructor(t){this.template=t}}return t.\u0275fac=function(e){return new(e||t)(r.Nb(r.N))},t.\u0275dir=r.Ib({type:t,selectors:[["","cdkFooterCellDef",""]]}),t})();class M{}const O=y(M);let k=(()=>{class t extends O{constructor(t){super(),this._table=t,this._stickyEnd=!1}get name(){return this._name}set name(t){this._setNameInput(t)}get stickyEnd(){return this._stickyEnd}set stickyEnd(t){const e=this._stickyEnd;this._stickyEnd=Object(i.c)(t),this._hasStickyChanged=e!==this._stickyEnd}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(t){t&&(this._name=t,this.cssClassFriendlyName=t.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}}return t.\u0275fac=function(e){return new(e||t)(r.Nb(v,8))},t.\u0275dir=r.Ib({type:t,selectors:[["","cdkColumnDef",""]],contentQueries:function(t,e,n){if(1&t&&(r.Gb(n,C,1),r.Gb(n,w,1),r.Gb(n,x,1)),2&t){let t;r.uc(t=r.cc())&&(e.cell=t.first),r.uc(t=r.cc())&&(e.headerCell=t.first),r.uc(t=r.cc())&&(e.footerCell=t.first)}},inputs:{sticky:"sticky",name:["cdkColumnDef","name"],stickyEnd:"stickyEnd"},features:[r.Bb([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:t}]),r.zb]}),t})();class S{constructor(t,e){const n=e.nativeElement.classList;for(const i of t._columnCssClassName)n.add(i)}}let T=(()=>{class t extends S{constructor(t,e){super(t,e)}}return t.\u0275fac=function(e){return new(e||t)(r.Nb(k),r.Nb(r.l))},t.\u0275dir=r.Ib({type:t,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[r.zb]}),t})(),P=(()=>{class t extends S{constructor(t,e){super(t,e)}}return t.\u0275fac=function(e){return new(e||t)(r.Nb(k),r.Nb(r.l))},t.\u0275dir=r.Ib({type:t,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:["role","gridcell",1,"cdk-cell"],features:[r.zb]}),t})();class L{constructor(){this.tasks=[],this.endTasks=[]}}const D=new r.s("_COALESCED_STYLE_SCHEDULER");let E=(()=>{class t{constructor(t){this._ngZone=t,this._currentSchedule=null,this._destroyed=new d.a}schedule(t){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(t)}scheduleEnd(t){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(t)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new L,this._getScheduleObservable().pipe(Object(f.a)(this._destroyed)).subscribe(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){const t=this._currentSchedule;this._currentSchedule=new L;for(const e of t.tasks)e();for(const e of t.endTasks)e()}this._currentSchedule=null}))}_getScheduleObservable(){return this._ngZone.isStable?Object(u.a)(Promise.resolve(void 0)):this._ngZone.onStable.pipe(Object(g.a)(1))}}return t.\u0275fac=function(e){return new(e||t)(r.Xb(r.B))},t.\u0275prov=r.Jb({token:t,factory:t.\u0275fac}),t})(),A=(()=>{class t{constructor(t,e){this.template=t,this._differs=e}ngOnChanges(t){if(!this._columnsDiffer){const e=t.columns&&t.columns.currentValue||[];this._columnsDiffer=this._differs.find(e).create(),this._columnsDiffer.diff(e)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(t){return this instanceof N?t.headerCell.template:this instanceof j?t.footerCell.template:t.cell.template}}return t.\u0275fac=function(e){return new(e||t)(r.Nb(r.N),r.Nb(r.u))},t.\u0275dir=r.Ib({type:t,features:[r.Ab]}),t})();class I extends A{}const R=y(I);let N=(()=>{class t extends R{constructor(t,e,n){super(t,e),this._table=n}ngOnChanges(t){super.ngOnChanges(t)}}return t.\u0275fac=function(e){return new(e||t)(r.Nb(r.N),r.Nb(r.u),r.Nb(v,8))},t.\u0275dir=r.Ib({type:t,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:["cdkHeaderRowDef","columns"],sticky:["cdkHeaderRowDefSticky","sticky"]},features:[r.zb,r.Ab]}),t})();class Y extends A{}const H=y(Y);let j=(()=>{class t extends H{constructor(t,e,n){super(t,e),this._table=n}ngOnChanges(t){super.ngOnChanges(t)}}return t.\u0275fac=function(e){return new(e||t)(r.Nb(r.N),r.Nb(r.u),r.Nb(v,8))},t.\u0275dir=r.Ib({type:t,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:["cdkFooterRowDef","columns"],sticky:["cdkFooterRowDefSticky","sticky"]},features:[r.zb,r.Ab]}),t})(),F=(()=>{class t extends A{constructor(t,e,n){super(t,e),this._table=n}}return t.\u0275fac=function(e){return new(e||t)(r.Nb(r.N),r.Nb(r.u),r.Nb(v,8))},t.\u0275dir=r.Ib({type:t,selectors:[["","cdkRowDef",""]],inputs:{columns:["cdkRowDefColumns","columns"],when:["cdkRowDefWhen","when"]},features:[r.zb]}),t})(),z=(()=>{class t{constructor(e){this._viewContainer=e,t.mostRecentCellOutlet=this}ngOnDestroy(){t.mostRecentCellOutlet===this&&(t.mostRecentCellOutlet=null)}}return t.\u0275fac=function(e){return new(e||t)(r.Nb(r.R))},t.\u0275dir=r.Ib({type:t,selectors:[["","cdkCellOutlet",""]]}),t.mostRecentCellOutlet=null,t})(),V=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=r.Hb({type:t,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,e){1&t&&r.Pb(0,0)},directives:[z],encapsulation:2}),t})(),B=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=r.Hb({type:t,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,e){1&t&&r.Pb(0,0)},directives:[z],encapsulation:2}),t})(),W=(()=>{class t{constructor(t){this.templateRef=t}}return t.\u0275fac=function(e){return new(e||t)(r.Nb(r.N))},t.\u0275dir=r.Ib({type:t,selectors:[["ng-template","cdkNoDataRow",""]]}),t})();const U=["top","bottom","left","right"];class q{constructor(t,e,n,i,a=!0,r=!0,o){this._isNativeHtmlTable=t,this._stickCellCss=e,this.direction=n,this._coalescedStyleScheduler=i,this._isBrowser=a,this._needsPositionStickyOnElement=r,this._positionListener=o,this._cachedCellWidths=[],this._borderCellCss={top:`${e}-border-elem-top`,bottom:`${e}-border-elem-bottom`,left:`${e}-border-elem-left`,right:`${e}-border-elem-right`}}clearStickyPositioning(t,e){const n=[];for(const i of t)if(i.nodeType===i.ELEMENT_NODE){n.push(i);for(let t=0;t<i.children.length;t++)n.push(i.children[t])}this._scheduleStyleChanges(()=>{for(const t of n)this._removeStickyStyle(t,e)})}updateStickyColumns(t,e,n,i=!0){if(!t.length||!this._isBrowser||!e.some(t=>t)&&!n.some(t=>t))return void(this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:[]}),this._positionListener.stickyEndColumnsUpdated({sizes:[]})));const a=t[0],r=a.children.length,o=this._getCellWidths(a,i),s=this._getStickyStartColumnPositions(o,e),l=this._getStickyEndColumnPositions(o,n),c=e.lastIndexOf(!0),d=n.indexOf(!0);this._scheduleStyleChanges(()=>{const i="rtl"===this.direction,a=i?"right":"left",u=i?"left":"right";for(const o of t)for(let t=0;t<r;t++){const i=o.children[t];e[t]&&this._addStickyStyle(i,a,s[t],t===c),n[t]&&this._addStickyStyle(i,u,l[t],t===d)}this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:-1===c?[]:o.slice(0,c+1).map((t,n)=>e[n]?t:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:-1===d?[]:o.slice(d).map((t,e)=>n[e+d]?t:null).reverse()}))})}stickRows(t,e,n){if(!this._isBrowser)return;const i="bottom"===n?t.slice().reverse():t,a="bottom"===n?e.slice().reverse():e,r=[],o=[],s=[];for(let c=0,d=0;c<i.length;c++){if(r[c]=d,!a[c])continue;const t=i[c];s[c]=this._isNativeHtmlTable?Array.from(t.children):[t];const e=t.getBoundingClientRect().height;d+=e,o[c]=e}const l=a.lastIndexOf(!0);this._scheduleStyleChanges(()=>{var t,e;for(let o=0;o<i.length;o++){if(!a[o])continue;const t=r[o],e=o===l;for(const i of s[o])this._addStickyStyle(i,n,t,e)}"top"===n?null===(t=this._positionListener)||void 0===t||t.stickyHeaderRowsUpdated({sizes:o}):null===(e=this._positionListener)||void 0===e||e.stickyFooterRowsUpdated({sizes:o})})}updateStickyFooterContainer(t,e){if(!this._isNativeHtmlTable)return;const n=t.querySelector("tfoot");this._scheduleStyleChanges(()=>{e.some(t=>!t)?this._removeStickyStyle(n,["bottom"]):this._addStickyStyle(n,"bottom",0,!1)})}_removeStickyStyle(t,e){for(const n of e)t.style[n]="",t.classList.remove(this._borderCellCss[n]);U.some(n=>-1===e.indexOf(n)&&t.style[n])?t.style.zIndex=this._getCalculatedZIndex(t):(t.style.zIndex="",this._needsPositionStickyOnElement&&(t.style.position=""),t.classList.remove(this._stickCellCss))}_addStickyStyle(t,e,n,i){t.classList.add(this._stickCellCss),i&&t.classList.add(this._borderCellCss[e]),t.style[e]=`${n}px`,t.style.zIndex=this._getCalculatedZIndex(t),this._needsPositionStickyOnElement&&(t.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(t){const e={top:100,bottom:10,left:1,right:1};let n=0;for(const i of U)t.style[i]&&(n+=e[i]);return n?`${n}`:""}_getCellWidths(t,e=!0){if(!e&&this._cachedCellWidths.length)return this._cachedCellWidths;const n=[],i=t.children;for(let a=0;a<i.length;a++)n.push(i[a].getBoundingClientRect().width);return this._cachedCellWidths=n,n}_getStickyStartColumnPositions(t,e){const n=[];let i=0;for(let a=0;a<t.length;a++)e[a]&&(n[a]=i,i+=t[a]);return n}_getStickyEndColumnPositions(t,e){const n=[];let i=0;for(let a=t.length;a>0;a--)e[a]&&(n[a]=i,i+=t[a]);return n}_scheduleStyleChanges(t){this._coalescedStyleScheduler?this._coalescedStyleScheduler.schedule(t):t()}}const G=new r.s("CDK_SPL");let J=(()=>{class t{constructor(t,e){this.viewContainer=t,this.elementRef=e}}return t.\u0275fac=function(e){return new(e||t)(r.Nb(r.R),r.Nb(r.l))},t.\u0275dir=r.Ib({type:t,selectors:[["","rowOutlet",""]]}),t})(),Z=(()=>{class t{constructor(t,e){this.viewContainer=t,this.elementRef=e}}return t.\u0275fac=function(e){return new(e||t)(r.Nb(r.R),r.Nb(r.l))},t.\u0275dir=r.Ib({type:t,selectors:[["","headerRowOutlet",""]]}),t})(),$=(()=>{class t{constructor(t,e){this.viewContainer=t,this.elementRef=e}}return t.\u0275fac=function(e){return new(e||t)(r.Nb(r.R),r.Nb(r.l))},t.\u0275dir=r.Ib({type:t,selectors:[["","footerRowOutlet",""]]}),t})(),X=(()=>{class t{constructor(t,e){this.viewContainer=t,this.elementRef=e}}return t.\u0275fac=function(e){return new(e||t)(r.Nb(r.R),r.Nb(r.l))},t.\u0275dir=r.Ib({type:t,selectors:[["","noDataRowOutlet",""]]}),t})(),K=(()=>{class t{constructor(t,e,n,i,a,r,o,s,l,c,u){this._differs=t,this._changeDetectorRef=e,this._elementRef=n,this._dir=a,this._platform=o,this._viewRepeater=s,this._coalescedStyleScheduler=l,this._stickyPositioningListener=c,this._viewportRuler=u,this._onDestroy=new d.a,this._columnDefsByName=new Map,this._customColumnDefs=new Set,this._customRowDefs=new Set,this._customHeaderRowDefs=new Set,this._customFooterRowDefs=new Set,this._headerRowDefChanged=!0,this._footerRowDefChanged=!0,this._stickyColumnStylesNeedReset=!0,this._forceRecalculateCellWidths=!0,this._cachedRenderRowsMap=new Map,this.stickyCssClass="cdk-table-sticky",this.needsPositionStickyOnElement=!0,this._isShowingNoDataRow=!1,this._multiTemplateDataRows=!1,this._fixedLayout=!1,this.viewChange=new h.a({start:0,end:Number.MAX_VALUE}),i||this._elementRef.nativeElement.setAttribute("role","grid"),this._document=r,this._isNativeHtmlTable="TABLE"===this._elementRef.nativeElement.nodeName}get trackBy(){return this._trackByFn}set trackBy(t){this._trackByFn=t}get dataSource(){return this._dataSource}set dataSource(t){this._dataSource!==t&&this._switchDataSource(t)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(t){this._multiTemplateDataRows=Object(i.c)(t),this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(t){this._fixedLayout=Object(i.c)(t),this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}ngOnInit(){this._setupStickyStyler(),this._isNativeHtmlTable&&this._applyNativeTableSections(),this._dataDiffer=this._differs.find([]).create((t,e)=>this.trackBy?this.trackBy(e.dataIndex,e.data):e),this._viewportRuler&&this._viewportRuler.change().pipe(Object(f.a)(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentChecked(){this._cacheRowDefs(),this._cacheColumnDefs();const t=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||t,this._forceRecalculateCellWidths=t,this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1),this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1),this.dataSource&&this._rowDefs.length>0&&!this._renderChangeSubscription?this._observeRenderChanges():this._stickyColumnStylesNeedReset&&this.updateStickyColumnStyles(),this._checkStickyStates()}ngOnDestroy(){this._rowOutlet.viewContainer.clear(),this._noDataRowOutlet.viewContainer.clear(),this._headerRowOutlet.viewContainer.clear(),this._footerRowOutlet.viewContainer.clear(),this._cachedRenderRowsMap.clear(),this._onDestroy.next(),this._onDestroy.complete(),Object(a.h)(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();const t=this._dataDiffer.diff(this._renderRows);if(!t)return void this._updateNoDataRow();const e=this._rowOutlet.viewContainer;this._viewRepeater?this._viewRepeater.applyChanges(t,e,(t,e,n)=>this._getEmbeddedViewArgs(t.item,n),t=>t.item.data,t=>{1===t.operation&&t.context&&this._renderCellTemplateForItem(t.record.item.rowDef,t.context)}):t.forEachOperation((t,n,i)=>{if(null==t.previousIndex){const e=t.item;this._renderRow(this._rowOutlet,e.rowDef,i,{$implicit:e.data})}else if(null==i)e.remove(n);else{const t=e.get(n);e.move(t,i)}}),this._updateRowIndexContext(),t.forEachIdentityChange(t=>{e.get(t.currentIndex).context.$implicit=t.item.data}),this._updateNoDataRow(),this.updateStickyColumnStyles()}addColumnDef(t){this._customColumnDefs.add(t)}removeColumnDef(t){this._customColumnDefs.delete(t)}addRowDef(t){this._customRowDefs.add(t)}removeRowDef(t){this._customRowDefs.delete(t)}addHeaderRowDef(t){this._customHeaderRowDefs.add(t),this._headerRowDefChanged=!0}removeHeaderRowDef(t){this._customHeaderRowDefs.delete(t),this._headerRowDefChanged=!0}addFooterRowDef(t){this._customFooterRowDefs.add(t),this._footerRowDefChanged=!0}removeFooterRowDef(t){this._customFooterRowDefs.delete(t),this._footerRowDefChanged=!0}setNoDataRow(t){this._customNoDataRow=t}updateStickyHeaderRowStyles(){const t=this._getRenderedRows(this._headerRowOutlet),e=this._elementRef.nativeElement.querySelector("thead");e&&(e.style.display=t.length?"":"none");const n=this._headerRowDefs.map(t=>t.sticky);this._stickyStyler.clearStickyPositioning(t,["top"]),this._stickyStyler.stickRows(t,n,"top"),this._headerRowDefs.forEach(t=>t.resetStickyChanged())}updateStickyFooterRowStyles(){const t=this._getRenderedRows(this._footerRowOutlet),e=this._elementRef.nativeElement.querySelector("tfoot");e&&(e.style.display=t.length?"":"none");const n=this._footerRowDefs.map(t=>t.sticky);this._stickyStyler.clearStickyPositioning(t,["bottom"]),this._stickyStyler.stickRows(t,n,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,n),this._footerRowDefs.forEach(t=>t.resetStickyChanged())}updateStickyColumnStyles(){const t=this._getRenderedRows(this._headerRowOutlet),e=this._getRenderedRows(this._rowOutlet),n=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...t,...e,...n],["left","right"]),this._stickyColumnStylesNeedReset=!1),t.forEach((t,e)=>{this._addStickyColumnStyles([t],this._headerRowDefs[e])}),this._rowDefs.forEach(t=>{const n=[];for(let i=0;i<e.length;i++)this._renderRows[i].rowDef===t&&n.push(e[i]);this._addStickyColumnStyles(n,t)}),n.forEach((t,e)=>{this._addStickyColumnStyles([t],this._footerRowDefs[e])}),Array.from(this._columnDefsByName.values()).forEach(t=>t.resetStickyChanged())}_getAllRenderRows(){const t=[],e=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let n=0;n<this._data.length;n++){let i=this._data[n];const a=this._getRenderRowsForData(i,n,e.get(i));this._cachedRenderRowsMap.has(i)||this._cachedRenderRowsMap.set(i,new WeakMap);for(let e=0;e<a.length;e++){let n=a[e];const i=this._cachedRenderRowsMap.get(n.data);i.has(n.rowDef)?i.get(n.rowDef).push(n):i.set(n.rowDef,[n]),t.push(n)}}return t}_getRenderRowsForData(t,e,n){return this._getRowDefs(t,e).map(i=>{const a=n&&n.has(i)?n.get(i):[];if(a.length){const t=a.shift();return t.dataIndex=e,t}return{data:t,rowDef:i,dataIndex:e}})}_cacheColumnDefs(){this._columnDefsByName.clear(),Q(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(t=>{this._columnDefsByName.has(t.name),this._columnDefsByName.set(t.name,t)})}_cacheRowDefs(){this._headerRowDefs=Q(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=Q(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=Q(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);const t=this._rowDefs.filter(t=>!t.when);this._defaultRowDef=t[0]}_renderUpdatedColumns(){const t=(t,e)=>t||!!e.getColumnsDiff(),e=this._rowDefs.reduce(t,!1);e&&this._forceRenderDataRows();const n=this._headerRowDefs.reduce(t,!1);n&&this._forceRenderHeaderRows();const i=this._footerRowDefs.reduce(t,!1);return i&&this._forceRenderFooterRows(),e||n||i}_switchDataSource(t){this._data=[],Object(a.h)(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),t||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear()),this._dataSource=t}_observeRenderChanges(){if(!this.dataSource)return;let t;Object(a.h)(this.dataSource)?t=this.dataSource.connect(this):Object(m.a)(this.dataSource)?t=this.dataSource:Array.isArray(this.dataSource)&&(t=Object(p.a)(this.dataSource)),this._renderChangeSubscription=t.pipe(Object(f.a)(this._onDestroy)).subscribe(t=>{this._data=t||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((t,e)=>this._renderRow(this._headerRowOutlet,t,e)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((t,e)=>this._renderRow(this._footerRowOutlet,t,e)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(t,e){const n=Array.from(e.columns||[]).map(t=>this._columnDefsByName.get(t)),i=n.map(t=>t.sticky),a=n.map(t=>t.stickyEnd);this._stickyStyler.updateStickyColumns(t,i,a,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(t){const e=[];for(let n=0;n<t.viewContainer.length;n++){const i=t.viewContainer.get(n);e.push(i.rootNodes[0])}return e}_getRowDefs(t,e){if(1==this._rowDefs.length)return[this._rowDefs[0]];let n=[];if(this.multiTemplateDataRows)n=this._rowDefs.filter(n=>!n.when||n.when(e,t));else{let i=this._rowDefs.find(n=>n.when&&n.when(e,t))||this._defaultRowDef;i&&n.push(i)}return n}_getEmbeddedViewArgs(t,e){return{templateRef:t.rowDef.template,context:{$implicit:t.data},index:e}}_renderRow(t,e,n,i={}){const a=t.viewContainer.createEmbeddedView(e.template,i,n);return this._renderCellTemplateForItem(e,i),a}_renderCellTemplateForItem(t,e){for(let n of this._getCellTemplates(t))z.mostRecentCellOutlet&&z.mostRecentCellOutlet._viewContainer.createEmbeddedView(n,e);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){const t=this._rowOutlet.viewContainer;for(let e=0,n=t.length;e<n;e++){const i=t.get(e).context;i.count=n,i.first=0===e,i.last=e===n-1,i.even=e%2==0,i.odd=!i.even,this.multiTemplateDataRows?(i.dataIndex=this._renderRows[e].dataIndex,i.renderIndex=e):i.index=this._renderRows[e].dataIndex}}_getCellTemplates(t){return t&&t.columns?Array.from(t.columns,e=>{const n=this._columnDefsByName.get(e);return t.extractCellTemplate(n)}):[]}_applyNativeTableSections(){const t=this._document.createDocumentFragment(),e=[{tag:"thead",outlets:[this._headerRowOutlet]},{tag:"tbody",outlets:[this._rowOutlet,this._noDataRowOutlet]},{tag:"tfoot",outlets:[this._footerRowOutlet]}];for(const n of e){const e=this._document.createElement(n.tag);e.setAttribute("role","rowgroup");for(const t of n.outlets)e.appendChild(t.elementRef.nativeElement);t.appendChild(e)}this._elementRef.nativeElement.appendChild(t)}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){const t=(t,e)=>t||e.hasStickyChanged();this._headerRowDefs.reduce(t,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(t,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(t,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){this._stickyStyler=new q(this._isNativeHtmlTable,this.stickyCssClass,this._dir?this._dir.value:"ltr",this._coalescedStyleScheduler,this._platform.isBrowser,this.needsPositionStickyOnElement,this._stickyPositioningListener),(this._dir?this._dir.change:Object(p.a)()).pipe(Object(f.a)(this._onDestroy)).subscribe(t=>{this._stickyStyler.direction=t,this.updateStickyColumnStyles()})}_getOwnDefs(t){return t.filter(t=>!t._table||t._table===this)}_updateNoDataRow(){const t=this._customNoDataRow||this._noDataRow;if(t){const e=0===this._rowOutlet.viewContainer.length;if(e!==this._isShowingNoDataRow){const n=this._noDataRowOutlet.viewContainer;e?n.createEmbeddedView(t.templateRef):n.clear(),this._isShowingNoDataRow=e}}}}return t.\u0275fac=function(e){return new(e||t)(r.Nb(r.u),r.Nb(r.h),r.Nb(r.l),r.Yb("role"),r.Nb(o.b,8),r.Nb(c.d),r.Nb(s.a),r.Nb(a.g,8),r.Nb(D,8),r.Nb(G,12),r.Nb(l.e,8))},t.\u0275cmp=r.Hb({type:t,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(t,e,n){if(1&t&&(r.Gb(n,W,1),r.Gb(n,k,1),r.Gb(n,F,1),r.Gb(n,N,1),r.Gb(n,j,1)),2&t){let t;r.uc(t=r.cc())&&(e._noDataRow=t.first),r.uc(t=r.cc())&&(e._contentColumnDefs=t),r.uc(t=r.cc())&&(e._contentRowDefs=t),r.uc(t=r.cc())&&(e._contentHeaderRowDefs=t),r.uc(t=r.cc())&&(e._contentFooterRowDefs=t)}},viewQuery:function(t,e){if(1&t&&(r.Lc(J,3),r.Lc(Z,3),r.Lc($,3),r.Lc(X,3)),2&t){let t;r.uc(t=r.cc())&&(e._rowOutlet=t.first),r.uc(t=r.cc())&&(e._headerRowOutlet=t.first),r.uc(t=r.cc())&&(e._footerRowOutlet=t.first),r.uc(t=r.cc())&&(e._noDataRowOutlet=t.first)}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(t,e){2&t&&r.Fb("cdk-table-fixed-layout",e.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:"multiTemplateDataRows",fixedLayout:"fixedLayout"},exportAs:["cdkTable"],features:[r.Bb([{provide:v,useExisting:t},{provide:a.g,useClass:a.e},{provide:D,useClass:E},{provide:G,useValue:null}])],ngContentSelectors:_,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(t,e){1&t&&(r.mc(b),r.lc(0),r.lc(1,1),r.Pb(2,0),r.Pb(3,1),r.Pb(4,2),r.Pb(5,3))},directives:[Z,J,X,$],styles:[".cdk-table-fixed-layout{table-layout:fixed}\n"],encapsulation:2}),t})();function Q(t,e){return t.concat(Array.from(e))}let tt=(()=>{class t{}return t.\u0275mod=r.Lb({type:t}),t.\u0275inj=r.Kb({factory:function(e){return new(e||t)},imports:[[l.d]]}),t})();var et=n("UhP/"),nt=n("VRyK"),it=n("itXk"),at=n("lJxs");const rt=[[["caption"]],[["colgroup"],["col"]]],ot=["caption","colgroup, col"];let st=(()=>{class t extends K{constructor(){super(...arguments),this.stickyCssClass="mat-table-sticky",this.needsPositionStickyOnElement=!1}}return t.\u0275fac=function(e){return lt(e||t)},t.\u0275cmp=r.Hb({type:t,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-table"],hostVars:2,hostBindings:function(t,e){2&t&&r.Fb("mat-table-fixed-layout",e.fixedLayout)},exportAs:["matTable"],features:[r.Bb([{provide:a.g,useClass:a.e},{provide:K,useExisting:t},{provide:v,useExisting:t},{provide:D,useClass:E}]),r.zb],ngContentSelectors:ot,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(t,e){1&t&&(r.mc(rt),r.lc(0),r.lc(1,1),r.Pb(2,0),r.Pb(3,1),r.Pb(4,2),r.Pb(5,3))},directives:[Z,J,X,$],styles:['mat-table{display:block}mat-header-row{min-height:56px}mat-row,mat-footer-row{min-height:48px}mat-row,mat-header-row,mat-footer-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-row::after,mat-header-row::after,mat-footer-row::after{display:inline-block;min-height:inherit;content:""}mat-cell:first-of-type,mat-header-cell:first-of-type,mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-header-cell:last-of-type,mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}mat-cell,mat-header-cell,mat-footer-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}table.mat-table{border-spacing:0}tr.mat-header-row{height:56px}tr.mat-row,tr.mat-footer-row{height:48px}th.mat-header-cell{text-align:left}[dir=rtl] th.mat-header-cell{text-align:right}th.mat-header-cell,td.mat-cell,td.mat-footer-cell{padding:0;border-bottom-width:1px;border-bottom-style:solid}th.mat-header-cell:first-of-type,td.mat-cell:first-of-type,td.mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] th.mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] td.mat-cell:first-of-type:not(:only-of-type),[dir=rtl] td.mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}th.mat-header-cell:last-of-type,td.mat-cell:last-of-type,td.mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] th.mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] td.mat-cell:last-of-type:not(:only-of-type),[dir=rtl] td.mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}.mat-table-sticky{position:-webkit-sticky !important;position:sticky !important}.mat-table-fixed-layout{table-layout:fixed}\n'],encapsulation:2}),t})();const lt=r.Vb(st);let ct=(()=>{class t extends C{}return t.\u0275fac=function(e){return dt(e||t)},t.\u0275dir=r.Ib({type:t,selectors:[["","matCellDef",""]],features:[r.Bb([{provide:C,useExisting:t}]),r.zb]}),t})();const dt=r.Vb(ct);let ut=(()=>{class t extends w{}return t.\u0275fac=function(e){return ht(e||t)},t.\u0275dir=r.Ib({type:t,selectors:[["","matHeaderCellDef",""]],features:[r.Bb([{provide:w,useExisting:t}]),r.zb]}),t})();const ht=r.Vb(ut);let mt=(()=>{class t extends k{get name(){return this._name}set name(t){this._setNameInput(t)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}}return t.\u0275fac=function(e){return pt(e||t)},t.\u0275dir=r.Ib({type:t,selectors:[["","matColumnDef",""]],inputs:{sticky:"sticky",name:["matColumnDef","name"]},features:[r.Bb([{provide:k,useExisting:t},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:t}]),r.zb]}),t})();const pt=r.Vb(mt);let ft=(()=>{class t extends T{}return t.\u0275fac=function(e){return gt(e||t)},t.\u0275dir=r.Ib({type:t,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-header-cell"],features:[r.zb]}),t})();const gt=r.Vb(ft);let bt=(()=>{class t extends P{}return t.\u0275fac=function(e){return _t(e||t)},t.\u0275dir=r.Ib({type:t,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:["role","gridcell",1,"mat-cell"],features:[r.zb]}),t})();const _t=r.Vb(bt);let yt=(()=>{class t extends N{}return t.\u0275fac=function(e){return vt(e||t)},t.\u0275dir=r.Ib({type:t,selectors:[["","matHeaderRowDef",""]],inputs:{columns:["matHeaderRowDef","columns"],sticky:["matHeaderRowDefSticky","sticky"]},features:[r.Bb([{provide:N,useExisting:t}]),r.zb]}),t})();const vt=r.Vb(yt);let Ct=(()=>{class t extends F{}return t.\u0275fac=function(e){return wt(e||t)},t.\u0275dir=r.Ib({type:t,selectors:[["","matRowDef",""]],inputs:{columns:["matRowDefColumns","columns"],when:["matRowDefWhen","when"]},features:[r.Bb([{provide:F,useExisting:t}]),r.zb]}),t})();const wt=r.Vb(Ct);let xt=(()=>{class t extends V{}return t.\u0275fac=function(e){return Mt(e||t)},t.\u0275cmp=r.Hb({type:t,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-header-row"],exportAs:["matHeaderRow"],features:[r.Bb([{provide:V,useExisting:t}]),r.zb],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,e){1&t&&r.Pb(0,0)},directives:[z],encapsulation:2}),t})();const Mt=r.Vb(xt);let Ot=(()=>{class t extends B{}return t.\u0275fac=function(e){return kt(e||t)},t.\u0275cmp=r.Hb({type:t,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-row"],exportAs:["matRow"],features:[r.Bb([{provide:B,useExisting:t}]),r.zb],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,e){1&t&&r.Pb(0,0)},directives:[z],encapsulation:2}),t})();const kt=r.Vb(Ot);let St=(()=>{class t{}return t.\u0275mod=r.Lb({type:t}),t.\u0275inj=r.Kb({factory:function(e){return new(e||t)},imports:[[tt,et.j],et.j]}),t})();class Tt extends a.b{constructor(t=[]){super(),this._renderData=new h.a([]),this._filter=new h.a(""),this._internalPageChanges=new d.a,this._renderChangesSubscription=null,this.sortingDataAccessor=(t,e)=>{const n=t[e];if(Object(i.a)(n)){const t=Number(n);return t<9007199254740991?t:n}return n},this.sortData=(t,e)=>{const n=e.active,i=e.direction;return n&&""!=i?t.sort((t,e)=>{let a=this.sortingDataAccessor(t,n),r=this.sortingDataAccessor(e,n);const o=typeof a,s=typeof r;o!==s&&("number"===o&&(a+=""),"number"===s&&(r+=""));let l=0;return null!=a&&null!=r?a>r?l=1:a<r&&(l=-1):null!=a?l=1:null!=r&&(l=-1),l*("asc"==i?1:-1)}):t},this.filterPredicate=(t,e)=>{const n=Object.keys(t).reduce((e,n)=>e+t[n]+"\u25ec","").toLowerCase(),i=e.trim().toLowerCase();return-1!=n.indexOf(i)},this._data=new h.a(t),this._updateChangeSubscription()}get data(){return this._data.value}set data(t){this._data.next(t)}get filter(){return this._filter.value}set filter(t){this._filter.next(t)}get sort(){return this._sort}set sort(t){this._sort=t,this._updateChangeSubscription()}get paginator(){return this._paginator}set paginator(t){this._paginator=t,this._updateChangeSubscription()}_updateChangeSubscription(){var t;const e=this._sort?Object(nt.a)(this._sort.sortChange,this._sort.initialized):Object(p.a)(null),n=this._paginator?Object(nt.a)(this._paginator.page,this._internalPageChanges,this._paginator.initialized):Object(p.a)(null),i=this._data,a=Object(it.a)([i,this._filter]).pipe(Object(at.a)(([t])=>this._filterData(t))),r=Object(it.a)([a,e]).pipe(Object(at.a)(([t])=>this._orderData(t))),o=Object(it.a)([r,n]).pipe(Object(at.a)(([t])=>this._pageData(t)));null===(t=this._renderChangesSubscription)||void 0===t||t.unsubscribe(),this._renderChangesSubscription=o.subscribe(t=>this._renderData.next(t))}_filterData(t){return this.filteredData=null==this.filter||""===this.filter?t:t.filter(t=>this.filterPredicate(t,this.filter)),this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData}_orderData(t){return this.sort?this.sortData(t.slice(),this.sort):t}_pageData(t){if(!this.paginator)return t;const e=this.paginator.pageIndex*this.paginator.pageSize;return t.slice(e,e+this.paginator.pageSize)}_updatePaginator(t){Promise.resolve().then(()=>{const e=this.paginator;if(e&&(e.length=t,e.pageIndex>0)){const t=Math.ceil(e.length/e.pageSize)-1||0,n=Math.min(e.pageIndex,t);n!==e.pageIndex&&(e.pageIndex=n,this._internalPageChanges.next())}})}connect(){return this._renderChangesSubscription||this._updateChangeSubscription(),this._renderData}disconnect(){var t;null===(t=this._renderChangesSubscription)||void 0===t||t.unsubscribe(),this._renderChangesSubscription=null}}class Pt extends Tt{}},Oaa7:function(t,e,n){!function(t){"use strict";t.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})}(n("wd/R"))},Ob0Z:function(t,e,n){!function(t){"use strict";var e={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},n={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};function i(t,e,n,i){var a="";if(e)switch(n){case"s":a="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926";break;case"ss":a="%d \u0938\u0947\u0915\u0902\u0926";break;case"m":a="\u090f\u0915 \u092e\u093f\u0928\u093f\u091f";break;case"mm":a="%d \u092e\u093f\u0928\u093f\u091f\u0947";break;case"h":a="\u090f\u0915 \u0924\u093e\u0938";break;case"hh":a="%d \u0924\u093e\u0938";break;case"d":a="\u090f\u0915 \u0926\u093f\u0935\u0938";break;case"dd":a="%d \u0926\u093f\u0935\u0938";break;case"M":a="\u090f\u0915 \u092e\u0939\u093f\u0928\u093e";break;case"MM":a="%d \u092e\u0939\u093f\u0928\u0947";break;case"y":a="\u090f\u0915 \u0935\u0930\u094d\u0937";break;case"yy":a="%d \u0935\u0930\u094d\u0937\u0947"}else switch(n){case"s":a="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"ss":a="%d \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"m":a="\u090f\u0915\u093e \u092e\u093f\u0928\u093f\u091f\u093e";break;case"mm":a="%d \u092e\u093f\u0928\u093f\u091f\u093e\u0902";break;case"h":a="\u090f\u0915\u093e \u0924\u093e\u0938\u093e";break;case"hh":a="%d \u0924\u093e\u0938\u093e\u0902";break;case"d":a="\u090f\u0915\u093e \u0926\u093f\u0935\u0938\u093e";break;case"dd":a="%d \u0926\u093f\u0935\u0938\u093e\u0902";break;case"M":a="\u090f\u0915\u093e \u092e\u0939\u093f\u0928\u094d\u092f\u093e";break;case"MM":a="%d \u092e\u0939\u093f\u0928\u094d\u092f\u093e\u0902";break;case"y":a="\u090f\u0915\u093e \u0935\u0930\u094d\u0937\u093e";break;case"yy":a="%d \u0935\u0930\u094d\u0937\u093e\u0902"}return a.replace(/%d/i,t)}t.defineLocale("mr",{months:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u093f\u0932_\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932\u0948_\u0911\u0917\u0938\u094d\u091f_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930_\u0911\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930_\u0921\u093f\u0938\u0947\u0902\u092c\u0930".split("_"),monthsShort:"\u091c\u093e\u0928\u0947._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a._\u090f\u092a\u094d\u0930\u093f._\u092e\u0947._\u091c\u0942\u0928._\u091c\u0941\u0932\u0948._\u0911\u0917._\u0938\u092a\u094d\u091f\u0947\u0902._\u0911\u0915\u094d\u091f\u094b._\u0928\u094b\u0935\u094d\u0939\u0947\u0902._\u0921\u093f\u0938\u0947\u0902.".split("_"),monthsParseExact:!0,weekdays:"\u0930\u0935\u093f\u0935\u093e\u0930_\u0938\u094b\u092e\u0935\u093e\u0930_\u092e\u0902\u0917\u0933\u0935\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u0917\u0941\u0930\u0942\u0935\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u0935\u093e\u0930_\u0936\u0928\u093f\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0930\u0935\u093f_\u0938\u094b\u092e_\u092e\u0902\u0917\u0933_\u092c\u0941\u0927_\u0917\u0941\u0930\u0942_\u0936\u0941\u0915\u094d\u0930_\u0936\u0928\u093f".split("_"),weekdaysMin:"\u0930_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u0917\u0941_\u0936\u0941_\u0936".split("_"),longDateFormat:{LT:"A h:mm \u0935\u093e\u091c\u0924\u093e",LTS:"A h:mm:ss \u0935\u093e\u091c\u0924\u093e",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0935\u093e\u091c\u0924\u093e",LLLL:"dddd, D MMMM YYYY, A h:mm \u0935\u093e\u091c\u0924\u093e"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u0909\u0926\u094d\u092f\u093e] LT",nextWeek:"dddd, LT",lastDay:"[\u0915\u093e\u0932] LT",lastWeek:"[\u092e\u093e\u0917\u0940\u0932] dddd, LT",sameElse:"L"},relativeTime:{future:"%s\u092e\u0927\u094d\u092f\u0947",past:"%s\u092a\u0942\u0930\u094d\u0935\u0940",s:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},preparse:function(t){return t.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(t){return n[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},meridiemParse:/\u092a\u0939\u093e\u091f\u0947|\u0938\u0915\u093e\u0933\u0940|\u0926\u0941\u092a\u093e\u0930\u0940|\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940|\u0930\u093e\u0924\u094d\u0930\u0940/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u092a\u0939\u093e\u091f\u0947"===e||"\u0938\u0915\u093e\u0933\u0940"===e?t:"\u0926\u0941\u092a\u093e\u0930\u0940"===e||"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940"===e||"\u0930\u093e\u0924\u094d\u0930\u0940"===e?t>=12?t:t+12:void 0},meridiem:function(t,e,n){return t>=0&&t<6?"\u092a\u0939\u093e\u091f\u0947":t<12?"\u0938\u0915\u093e\u0933\u0940":t<17?"\u0926\u0941\u092a\u093e\u0930\u0940":t<20?"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940":"\u0930\u093e\u0924\u094d\u0930\u0940"},week:{dow:0,doy:6}})}(n("wd/R"))},OdmS:function(t,e,n){"use strict";n.d(e,"a",function(){return O});var i=n("8Y7J"),a=n("s7LF"),r=n("cYWD"),o=n("TSSN"),s=n("AkaL"),l=n("IheW");let c=(()=>{class t extends s.a{constructor(t){super(t),this.http=t,this.BASE_URL="/api/clients/search"}setLabel(t){t.autocomplete=`${t.numTVA} - ${t.raisonSociale?t.raisonSociale:""}`}}return t.\u0275fac=function(e){return new(e||t)(i.Xb(l.b))},t.\u0275prov=i.Jb({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();var d=n("WiJD"),u=n("zaPX"),h=n("Q2Ze"),m=n("SVse"),p=n("e6WT"),f=n("vrAh"),g=n("q6Qu"),b=n("UhP/"),_=n("pu8Q");function y(t,e){if(1&t&&(i.Tb(0,"span",8),i.Hc(1),i.Sb()),2&t){const t=i.fc();i.Cc("opacity",t.searchControl.disabled?.7:1),i.Cb(1),i.Ic(t.prefix)}}function v(t,e){1&t&&(i.Tb(0,"mat-option",9),i.Ob(1,"mat-spinner",10),i.Sb())}function C(t,e){if(1&t&&(i.Tb(0,"mat-option",12),i.Hc(1),i.Sb()),2&t){const t=e.$implicit;i.nc("value",t),i.Cb(1),i.Jc(" ",t.autocomplete," ")}}function w(t,e){if(1&t&&i.Fc(0,C,2,2,"mat-option",11),2&t){const t=i.fc();i.nc("ngForOf",t.searchResult)}}const x=[[["mat-error"]],[["mat-icon"]],[["mat-spinner"]],"*"],M=["mat-error","mat-icon","mat-spinner","*"];let O=(()=>{class t extends r.a{constructor(t,e,n,i,a){super(t,e,n,i,a),this.translateService=t,this.searchService=e,this.configurationService=n,this.configSharedService=i,this.changeDetectorRef=a,this.fieldValue="numTVA"}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(o.d),i.Nb(c),i.Nb(d.a),i.Nb(u.a),i.Nb(i.h))},t.\u0275cmp=i.Hb({type:t,selectors:[["app-client-autocomplete-2"]],features:[i.Bb([{provide:a.m,useExisting:Object(i.V)(()=>t),multi:!0}]),i.zb],ngContentSelectors:M,decls:15,vars:11,consts:[["matPrefix","","class","prefix",3,"opacity",4,"ngIf"],["type","text","matInput","","data-cy","autocomplete",3,"name","appLabel","formControl","matAutocomplete","matAutocompleteDisabled","errorStateMatcher","required","blur"],["searchElt",""],[1,"mat-error","otherMessages"],[3,"displayWith","optionSelected"],["auto","matAutocomplete"],["class","spinner",4,"ngIf","ngIfElse"],["listOptions",""],["matPrefix","",1,"prefix"],[1,"spinner"],["diameter","50"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(t,e){if(1&t&&(i.mc(x),i.Tb(0,"mat-form-field"),i.Fc(1,y,2,3,"span",0),i.Tb(2,"input",1,2),i.bc("blur",function(){return e.onBlur()}),i.Sb(),i.Tb(4,"mat-error"),i.lc(5),i.Sb(),i.lc(6,1),i.lc(7,2),i.Sb(),i.Tb(8,"div",3),i.lc(9,3),i.Sb(),i.Tb(10,"mat-autocomplete",4,5),i.bc("optionSelected",function(t){return e.selectOption(t)}),i.Fc(12,v,2,0,"mat-option",6),i.Fc(13,w,1,1,"ng-template",null,7,i.Gc),i.Sb()),2&t){const t=i.vc(11),n=i.vc(14);i.Cb(1),i.nc("ngIf",e.prefix),i.Cb(1),i.nc("name",e.name)("appLabel",e.inputTitle)("formControl",e.searchControl)("matAutocomplete",t)("matAutocompleteDisabled",e.isAutocompleteDisabled)("errorStateMatcher",e.errorStateMatcher)("required",e.isRequired),i.Cb(8),i.nc("displayWith",e.displayFn),i.Cb(2),i.nc("ngIf",e.isLoading)("ngIfElse",n)}},directives:[h.c,m.l,p.b,a.c,f.c,g.a,a.o,a.f,a.v,h.b,f.a,h.g,b.m,_.b,m.k],styles:["[_nghost-%COMP%]{-ms-flex:1;flex:1}[_nghost-%COMP%] mat-form-field[_ngcontent-%COMP%]{width:100%}[_nghost-%COMP%] .otherMessages[_ngcontent-%COMP%]{font-size:75%}[_nghost-%COMP%] .prefix[_ngcontent-%COMP%]{-ms-flex-item-align:center;align-self:center;margin-right:8px}"]}),t})()},OjkT:function(t,e,n){!function(t){"use strict";var e={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},n={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};t.defineLocale("ne",{months:"\u091c\u0928\u0935\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u093f\u0932_\u092e\u0908_\u091c\u0941\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0937\u094d\u091f_\u0938\u0947\u092a\u094d\u091f\u0947\u092e\u094d\u092c\u0930_\u0905\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u092d\u0947\u092e\u094d\u092c\u0930_\u0921\u093f\u0938\u0947\u092e\u094d\u092c\u0930".split("_"),monthsShort:"\u091c\u0928._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u093f._\u092e\u0908_\u091c\u0941\u0928_\u091c\u0941\u0932\u093e\u0908._\u0905\u0917._\u0938\u0947\u092a\u094d\u091f._\u0905\u0915\u094d\u091f\u094b._\u0928\u094b\u092d\u0947._\u0921\u093f\u0938\u0947.".split("_"),monthsParseExact:!0,weekdays:"\u0906\u0907\u0924\u092c\u093e\u0930_\u0938\u094b\u092e\u092c\u093e\u0930_\u092e\u0919\u094d\u0917\u0932\u092c\u093e\u0930_\u092c\u0941\u0927\u092c\u093e\u0930_\u092c\u093f\u0939\u093f\u092c\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u092c\u093e\u0930_\u0936\u0928\u093f\u092c\u093e\u0930".split("_"),weekdaysShort:"\u0906\u0907\u0924._\u0938\u094b\u092e._\u092e\u0919\u094d\u0917\u0932._\u092c\u0941\u0927._\u092c\u093f\u0939\u093f._\u0936\u0941\u0915\u094d\u0930._\u0936\u0928\u093f.".split("_"),weekdaysMin:"\u0906._\u0938\u094b._\u092e\u0902._\u092c\u0941._\u092c\u093f._\u0936\u0941._\u0936.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A\u0915\u094b h:mm \u092c\u091c\u0947",LTS:"A\u0915\u094b h:mm:ss \u092c\u091c\u0947",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A\u0915\u094b h:mm \u092c\u091c\u0947",LLLL:"dddd, D MMMM YYYY, A\u0915\u094b h:mm \u092c\u091c\u0947"},preparse:function(t){return t.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(t){return n[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},meridiemParse:/\u0930\u093e\u0924\u093f|\u092c\u093f\u0939\u093e\u0928|\u0926\u093f\u0909\u0901\u0938\u094b|\u0938\u093e\u0901\u091d/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u0930\u093e\u0924\u093f"===e?t<4?t:t+12:"\u092c\u093f\u0939\u093e\u0928"===e?t:"\u0926\u093f\u0909\u0901\u0938\u094b"===e?t>=10?t:t+12:"\u0938\u093e\u0901\u091d"===e?t+12:void 0},meridiem:function(t,e,n){return t<3?"\u0930\u093e\u0924\u093f":t<12?"\u092c\u093f\u0939\u093e\u0928":t<16?"\u0926\u093f\u0909\u0901\u0938\u094b":t<20?"\u0938\u093e\u0901\u091d":"\u0930\u093e\u0924\u093f"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u092d\u094b\u0932\u093f] LT",nextWeek:"[\u0906\u0909\u0901\u0926\u094b] dddd[,] LT",lastDay:"[\u0939\u093f\u091c\u094b] LT",lastWeek:"[\u0917\u090f\u0915\u094b] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s\u092e\u093e",past:"%s \u0905\u0917\u093e\u0921\u093f",s:"\u0915\u0947\u0939\u0940 \u0915\u094d\u0937\u0923",ss:"%d \u0938\u0947\u0915\u0947\u0923\u094d\u0921",m:"\u090f\u0915 \u092e\u093f\u0928\u0947\u091f",mm:"%d \u092e\u093f\u0928\u0947\u091f",h:"\u090f\u0915 \u0918\u0923\u094d\u091f\u093e",hh:"%d \u0918\u0923\u094d\u091f\u093e",d:"\u090f\u0915 \u0926\u093f\u0928",dd:"%d \u0926\u093f\u0928",M:"\u090f\u0915 \u092e\u0939\u093f\u0928\u093e",MM:"%d \u092e\u0939\u093f\u0928\u093e",y:"\u090f\u0915 \u092c\u0930\u094d\u0937",yy:"%d \u092c\u0930\u094d\u0937"},week:{dow:0,doy:6}})}(n("wd/R"))},OmwH:function(t,e,n){!function(t){"use strict";t.defineLocale("zh-mo",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"D/M/YYYY",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u51cc\u6668"===e||"\u65e9\u4e0a"===e||"\u4e0a\u5348"===e?t:"\u4e2d\u5348"===e?t>=11?t:t+12:"\u4e0b\u5348"===e||"\u665a\u4e0a"===e?t+12:void 0},meridiem:function(t,e,n){var i=100*t+e;return i<600?"\u51cc\u6668":i<900?"\u65e9\u4e0a":i<1130?"\u4e0a\u5348":i<1230?"\u4e2d\u5348":i<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929] LT",nextDay:"[\u660e\u5929] LT",nextWeek:"[\u4e0b]dddd LT",lastDay:"[\u6628\u5929] LT",lastWeek:"[\u4e0a]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"\u65e5";case"M":return t+"\u6708";case"w":case"W":return t+"\u9031";default:return t}},relativeTime:{future:"%s\u5167",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(n("wd/R"))},Oxv6:function(t,e,n){!function(t){"use strict";var e={0:"-\u0443\u043c",1:"-\u0443\u043c",2:"-\u044e\u043c",3:"-\u044e\u043c",4:"-\u0443\u043c",5:"-\u0443\u043c",6:"-\u0443\u043c",7:"-\u0443\u043c",8:"-\u0443\u043c",9:"-\u0443\u043c",10:"-\u0443\u043c",12:"-\u0443\u043c",13:"-\u0443\u043c",20:"-\u0443\u043c",30:"-\u044e\u043c",40:"-\u0443\u043c",50:"-\u0443\u043c",60:"-\u0443\u043c",70:"-\u0443\u043c",80:"-\u0443\u043c",90:"-\u0443\u043c",100:"-\u0443\u043c"};t.defineLocale("tg",{months:{format:"\u044f\u043d\u0432\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0430\u043b\u0438_\u043c\u0430\u0440\u0442\u0438_\u0430\u043f\u0440\u0435\u043b\u0438_\u043c\u0430\u0439\u0438_\u0438\u044e\u043d\u0438_\u0438\u044e\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442\u0438_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u0438_\u043e\u043a\u0442\u044f\u0431\u0440\u0438_\u043d\u043e\u044f\u0431\u0440\u0438_\u0434\u0435\u043a\u0430\u0431\u0440\u0438".split("_"),standalone:"\u044f\u043d\u0432\u0430\u0440_\u0444\u0435\u0432\u0440\u0430\u043b_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440_\u043e\u043a\u0442\u044f\u0431\u0440_\u043d\u043e\u044f\u0431\u0440_\u0434\u0435\u043a\u0430\u0431\u0440".split("_")},monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u044f\u043a\u0448\u0430\u043d\u0431\u0435_\u0434\u0443\u0448\u0430\u043d\u0431\u0435_\u0441\u0435\u0448\u0430\u043d\u0431\u0435_\u0447\u043e\u0440\u0448\u0430\u043d\u0431\u0435_\u043f\u0430\u043d\u04b7\u0448\u0430\u043d\u0431\u0435_\u04b7\u0443\u043c\u044a\u0430_\u0448\u0430\u043d\u0431\u0435".split("_"),weekdaysShort:"\u044f\u0448\u0431_\u0434\u0448\u0431_\u0441\u0448\u0431_\u0447\u0448\u0431_\u043f\u0448\u0431_\u04b7\u0443\u043c_\u0448\u043d\u0431".split("_"),weekdaysMin:"\u044f\u0448_\u0434\u0448_\u0441\u0448_\u0447\u0448_\u043f\u0448_\u04b7\u043c_\u0448\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0418\u043c\u0440\u04ef\u0437 \u0441\u043e\u0430\u0442\u0438] LT",nextDay:"[\u0424\u0430\u0440\u0434\u043e \u0441\u043e\u0430\u0442\u0438] LT",lastDay:"[\u0414\u0438\u0440\u04ef\u0437 \u0441\u043e\u0430\u0442\u0438] LT",nextWeek:"dddd[\u0438] [\u04b3\u0430\u0444\u0442\u0430\u0438 \u043e\u044f\u043d\u0434\u0430 \u0441\u043e\u0430\u0442\u0438] LT",lastWeek:"dddd[\u0438] [\u04b3\u0430\u0444\u0442\u0430\u0438 \u0433\u0443\u0437\u0430\u0448\u0442\u0430 \u0441\u043e\u0430\u0442\u0438] LT",sameElse:"L"},relativeTime:{future:"\u0431\u0430\u044a\u0434\u0438 %s",past:"%s \u043f\u0435\u0448",s:"\u044f\u043a\u0447\u0430\u043d\u0434 \u0441\u043e\u043d\u0438\u044f",m:"\u044f\u043a \u0434\u0430\u049b\u0438\u049b\u0430",mm:"%d \u0434\u0430\u049b\u0438\u049b\u0430",h:"\u044f\u043a \u0441\u043e\u0430\u0442",hh:"%d \u0441\u043e\u0430\u0442",d:"\u044f\u043a \u0440\u04ef\u0437",dd:"%d \u0440\u04ef\u0437",M:"\u044f\u043a \u043c\u043e\u04b3",MM:"%d \u043c\u043e\u04b3",y:"\u044f\u043a \u0441\u043e\u043b",yy:"%d \u0441\u043e\u043b"},meridiemParse:/\u0448\u0430\u0431|\u0441\u0443\u0431\u04b3|\u0440\u04ef\u0437|\u0431\u0435\u0433\u043e\u04b3/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u0448\u0430\u0431"===e?t<4?t:t+12:"\u0441\u0443\u0431\u04b3"===e?t:"\u0440\u04ef\u0437"===e?t>=11?t:t+12:"\u0431\u0435\u0433\u043e\u04b3"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"\u0448\u0430\u0431":t<11?"\u0441\u0443\u0431\u04b3":t<16?"\u0440\u04ef\u0437":t<19?"\u0431\u0435\u0433\u043e\u04b3":"\u0448\u0430\u0431"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0443\u043c|\u044e\u043c)/,ordinal:function(t){return t+(e[t]||e[t%10]||e[t>=100?100:null])},week:{dow:1,doy:7}})}(n("wd/R"))},PA2r:function(t,e,n){!function(t){"use strict";var e="leden_\xfanor_b\u0159ezen_duben_kv\u011bten_\u010derven_\u010dervenec_srpen_z\xe1\u0159\xed_\u0159\xedjen_listopad_prosinec".split("_"),n="led_\xfano_b\u0159e_dub_kv\u011b_\u010dvn_\u010dvc_srp_z\xe1\u0159_\u0159\xedj_lis_pro".split("_"),i=[/^led/i,/^\xfano/i,/^b\u0159e/i,/^dub/i,/^kv\u011b/i,/^(\u010dvn|\u010derven$|\u010dervna)/i,/^(\u010dvc|\u010dervenec|\u010dervence)/i,/^srp/i,/^z\xe1\u0159/i,/^\u0159\xedj/i,/^lis/i,/^pro/i],a=/^(leden|\xfanor|b\u0159ezen|duben|kv\u011bten|\u010dervenec|\u010dervence|\u010derven|\u010dervna|srpen|z\xe1\u0159\xed|\u0159\xedjen|listopad|prosinec|led|\xfano|b\u0159e|dub|kv\u011b|\u010dvn|\u010dvc|srp|z\xe1\u0159|\u0159\xedj|lis|pro)/i;function r(t){return t>1&&t<5&&1!=~~(t/10)}function o(t,e,n,i){var a=t+" ";switch(n){case"s":return e||i?"p\xe1r sekund":"p\xe1r sekundami";case"ss":return e||i?a+(r(t)?"sekundy":"sekund"):a+"sekundami";case"m":return e?"minuta":i?"minutu":"minutou";case"mm":return e||i?a+(r(t)?"minuty":"minut"):a+"minutami";case"h":return e?"hodina":i?"hodinu":"hodinou";case"hh":return e||i?a+(r(t)?"hodiny":"hodin"):a+"hodinami";case"d":return e||i?"den":"dnem";case"dd":return e||i?a+(r(t)?"dny":"dn\xed"):a+"dny";case"M":return e||i?"m\u011bs\xedc":"m\u011bs\xedcem";case"MM":return e||i?a+(r(t)?"m\u011bs\xedce":"m\u011bs\xedc\u016f"):a+"m\u011bs\xedci";case"y":return e||i?"rok":"rokem";case"yy":return e||i?a+(r(t)?"roky":"let"):a+"lety"}}t.defineLocale("cs",{months:e,monthsShort:n,monthsRegex:a,monthsShortRegex:a,monthsStrictRegex:/^(leden|ledna|\xfanora|\xfanor|b\u0159ezen|b\u0159ezna|duben|dubna|kv\u011bten|kv\u011btna|\u010dervenec|\u010dervence|\u010derven|\u010dervna|srpen|srpna|z\xe1\u0159\xed|\u0159\xedjen|\u0159\xedjna|listopadu|listopad|prosinec|prosince)/i,monthsShortStrictRegex:/^(led|\xfano|b\u0159e|dub|kv\u011b|\u010dvn|\u010dvc|srp|z\xe1\u0159|\u0159\xedj|lis|pro)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"ned\u011ble_pond\u011bl\xed_\xfater\xfd_st\u0159eda_\u010dtvrtek_p\xe1tek_sobota".split("_"),weekdaysShort:"ne_po_\xfat_st_\u010dt_p\xe1_so".split("_"),weekdaysMin:"ne_po_\xfat_st_\u010dt_p\xe1_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[z\xedtra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v ned\u011bli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve st\u0159edu v] LT";case 4:return"[ve \u010dtvrtek v] LT";case 5:return"[v p\xe1tek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[v\u010dera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou ned\u011bli v] LT";case 1:case 2:return"[minul\xe9] dddd [v] LT";case 3:return"[minulou st\u0159edu v] LT";case 4:case 5:return"[minul\xfd] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"p\u0159ed %s",s:o,ss:o,m:o,mm:o,h:o,hh:o,d:o,dd:o,M:o,MM:o,y:o,yy:o},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},PCNd:function(t,e,n){"use strict";n.d(e,"a",function(){return G});var i=n("1O3W"),a=n("SVse"),r=n("IheW"),o=n("s7LF"),s=n("iInd"),l=n("vrAh"),c=n("Dxy4"),d=n("PDjf"),u=n("pMoy"),h=n("TN/R"),m=n("iELJ"),p=n("BSbQ"),f=n("o4Yh"),g=n("Q2Ze"),b=n("Tj54"),_=n("e6WT"),y=n("SqCe"),v=n("rJgo"),C=n("5QHs"),w=n("BTe0"),x=n("pu8Q"),M=n("zQhy"),O=n("ZTz/"),k=n("SCoL"),S=n("7KAL"),T=n("8Y7J"),P=n("UhP/");n("8LU1"),n("Ht+U"),n("XNiG"),n("xgIS"),n("VRyK"),n("pLZG"),n("lJxs"),n("CqXF"),n("1G5W"),n("/uUt"),n("IzEk"),n("JX91"),n("Kj3r"),n("GS7A"),n("omvX"),n("YEUz"),n("9gLZ");let L=(()=>{class t{}return t.\u0275mod=T.Lb({type:t}),t.\u0275inj=T.Kb({factory:function(e){return new(e||t)},imports:[[a.c,P.j,k.b,S.b],S.b,P.j]}),t})();var D=n("jMqV"),E=n("zHaW"),A=n("LUZP"),I=n("OaSA"),R=n("M9ds");let N=(()=>{class t{}return t.\u0275mod=T.Lb({type:t}),t.\u0275inj=T.Kb({factory:function(e){return new(e||t)},imports:[[P.j],P.j]}),t})();var Y=n("ZFy/"),H=n("OLiY"),j=n("DejY"),F=n("zR8O"),z=n("TSSN"),V=n("Lyw/"),B=n("cw5Z"),W=n("lawv"),U=n("wPIS");n("O8bH"),n("LRne"),n("IGtN"),n("bKjt"),n("q6Qu"),n("B6AI"),n("Dwoe"),n("7duk"),n("4dBv"),n("RQKg"),n("DGrs"),n("aF9I"),n("aZ8m"),n("3wrD"),n("NVUN"),n("VN+9"),n("mSn9"),n("mFvv"),n("06/9"),n("PTv7"),n("VIK+"),n("0/Se"),n("y5Tt"),n("uuBd"),n("mbGh"),n("Q9JA"),n("INw2"),n("48lP"),n("OdmS"),n("ro1A"),n("eNrK"),n("VS7r"),n("fEzz"),n("pSGz"),n("o1lE"),n("Z0nv"),n("0MyW"),n("VM/L"),n("VjMq"),n("UPR3"),n("kLGl"),n("7pfu"),n("g1kL"),n("G2sr"),n("2axB"),n("i+32"),n("Y7XA"),n("H3+n"),n("Mkv7"),n("PkhO"),n("0zE1"),n("/o2W"),n("f3LI"),n("Nd6I"),n("KSFr"),n("XoVe");const q=[l.b,c.b,d.c,u.b,h.c,m.e,p.b,f.b,b.b,_.c,v.c,Y.d,j.a,O.b,L,C.c,A.c,x.a,w.b,g.e,I.l,R.d,E.c,N,M.c,b.b,D.b,H.d,i.f,y.b];let G=(()=>{class t{}return t.\u0275mod=T.Lb({type:t}),t.\u0275inj=T.Kb({factory:function(e){return new(e||t)},providers:[a.e],imports:[[a.c,s.j,o.j,r.c,o.u,z.b,...q,U.c,W.b,B.b,F.c,V.d,V.b],a.c,s.j,o.j,r.c,o.u,z.b,l.b,c.b,d.c,u.b,h.c,m.e,p.b,f.b,b.b,_.c,v.c,Y.d,j.a,O.b,L,C.c,A.c,x.a,w.b,g.e,I.l,R.d,E.c,N,M.c,b.b,D.b,H.d,i.f,y.b,U.c,W.b,B.b,F.c,V.d,V.b]}),t})()},PDjf:function(t,e,n){"use strict";n.d(e,"a",function(){return d}),n.d(e,"b",function(){return l}),n.d(e,"c",function(){return u}),n.d(e,"d",function(){return c});var i=n("omvX"),a=n("UhP/"),r=n("8Y7J");const o=["*",[["mat-card-footer"]]],s=["*","mat-card-footer"];let l=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=r.Ib({type:t,selectors:[["mat-card-content"],["","mat-card-content",""],["","matCardContent",""]],hostAttrs:[1,"mat-card-content"]}),t})(),c=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=r.Ib({type:t,selectors:[["mat-card-title"],["","mat-card-title",""],["","matCardTitle",""]],hostAttrs:[1,"mat-card-title"]}),t})(),d=(()=>{class t{constructor(t){this._animationMode=t}}return t.\u0275fac=function(e){return new(e||t)(r.Nb(i.a,8))},t.\u0275cmp=r.Hb({type:t,selectors:[["mat-card"]],hostAttrs:[1,"mat-card","mat-focus-indicator"],hostVars:2,hostBindings:function(t,e){2&t&&r.Fb("_mat-animation-noopable","NoopAnimations"===e._animationMode)},exportAs:["matCard"],ngContentSelectors:s,decls:2,vars:0,template:function(t,e){1&t&&(r.mc(o),r.lc(0),r.lc(1,1))},styles:[".mat-card{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);display:block;position:relative;padding:16px;border-radius:4px}._mat-animation-noopable.mat-card{transition:none;animation:none}.mat-card .mat-divider-horizontal{position:absolute;left:0;width:100%}[dir=rtl] .mat-card .mat-divider-horizontal{left:auto;right:0}.mat-card .mat-divider-horizontal.mat-divider-inset{position:static;margin:0}[dir=rtl] .mat-card .mat-divider-horizontal.mat-divider-inset{margin-right:0}.cdk-high-contrast-active .mat-card{outline:solid 1px}.mat-card-actions,.mat-card-subtitle,.mat-card-content{display:block;margin-bottom:16px}.mat-card-title{display:block;margin-bottom:8px}.mat-card-actions{margin-left:-8px;margin-right:-8px;padding:8px 0}.mat-card-actions-align-end{display:flex;justify-content:flex-end}.mat-card-image{width:calc(100% + 32px);margin:0 -16px 16px -16px}.mat-card-footer{display:block;margin:0 -16px -16px -16px}.mat-card-actions .mat-button,.mat-card-actions .mat-raised-button,.mat-card-actions .mat-stroked-button{margin:0 8px}.mat-card-header{display:flex;flex-direction:row}.mat-card-header .mat-card-title{margin-bottom:12px}.mat-card-header-text{margin:0 16px}.mat-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;object-fit:cover}.mat-card-title-group{display:flex;justify-content:space-between}.mat-card-sm-image{width:80px;height:80px}.mat-card-md-image{width:112px;height:112px}.mat-card-lg-image{width:152px;height:152px}.mat-card-xl-image{width:240px;height:240px;margin:-8px}.mat-card-title-group>.mat-card-xl-image{margin:-8px 0 8px}@media(max-width: 599px){.mat-card-title-group{margin:0}.mat-card-xl-image{margin-left:0;margin-right:0}}.mat-card>:first-child,.mat-card-content>:first-child{margin-top:0}.mat-card>:last-child:not(.mat-card-footer),.mat-card-content>:last-child:not(.mat-card-footer){margin-bottom:0}.mat-card-image:first-child{margin-top:-16px;border-top-left-radius:inherit;border-top-right-radius:inherit}.mat-card>.mat-card-actions:last-child{margin-bottom:-8px;padding-bottom:0}.mat-card-actions .mat-button:first-child,.mat-card-actions .mat-raised-button:first-child,.mat-card-actions .mat-stroked-button:first-child{margin-left:0;margin-right:0}.mat-card-title:not(:first-child),.mat-card-subtitle:not(:first-child){margin-top:-4px}.mat-card-header .mat-card-subtitle:not(:first-child){margin-top:-8px}.mat-card>.mat-card-xl-image:first-child{margin-top:-8px}.mat-card>.mat-card-xl-image:last-child{margin-bottom:-8px}\n"],encapsulation:2,changeDetection:0}),t})(),u=(()=>{class t{}return t.\u0275mod=r.Lb({type:t}),t.\u0275inj=r.Kb({factory:function(e){return new(e||t)},imports:[[a.j],a.j]}),t})()},PTv7:function(t,e,n){"use strict";n.d(e,"a",function(){return m});var i=n("iELJ"),a=n("Lyw/"),r=n("IGtN"),o=n("8Y7J"),s=n("TSSN"),l=n("zaPX"),c=(n("Cwn8"),n("SVse")),d=n("Dxy4"),u=n("s7LF");function h(t,e){if(1&t){const t=o.Ub();o.Tb(0,"re-captcha",7,8),o.bc("ngModelChange",function(e){return o.yc(t),o.fc().captcha=e}),o.Sb()}if(2&t){const t=o.fc();o.nc("ngModel",t.captcha)("siteKey",t.siteKey)("required",!0)}}let m=(()=>{class t extends r.a{constructor(t,e,n,i,a,r,o){super(e),this.dialogRef=t,this.translateService=e,this.data=n,this.changeDetectorRef=i,this.loader=a,this.zone=r,this.configSharedService=o,this.loaderReady=!1,this.siteKey=this.configSharedService.siteKey}save(){this.dialogRef.close(!this.data.hasCaptcha||this.captcha)}close(){this.dialogRef.close(!1)}load(){this.data&&this.data.hasCaptcha&&this.subscriptions.push(this.loader.ready.subscribe(t=>{this.zone.run(()=>{this.loaderReady=!!t,this.changeDetectorRef.markForCheck()})}))}}return t.\u0275fac=function(e){return new(e||t)(o.Nb(i.f),o.Nb(s.d),o.Nb(i.a),o.Nb(o.h),o.Nb(a.c),o.Nb(o.B),o.Nb(l.a))},t.\u0275cmp=o.Hb({type:t,selectors:[["app-simple-dialog"]],features:[o.zb],decls:9,vars:6,consts:[["mat-dialog-title","",3,"innerHTML"],["mat-dialog-content",""],[3,"innerHTML"],["id","captcha","data-cy","recaptcha","name","captcha",3,"ngModel","siteKey","required","ngModelChange",4,"ngIf"],["mat-dialog-actions",""],["data-cy","oui","aria-label","ok","mat-raised-button","","id","dialog-button-ok",1,"mat-primary",3,"disabled","click"],["data-cy","non","aria-label","cancel","mat-raised-button","","id","dialog-button-cancel",3,"click"],["id","captcha","data-cy","recaptcha","name","captcha",3,"ngModel","siteKey","required","ngModelChange"],["captchaControl","ngModel"]],template:function(t,e){1&t&&(o.Ob(0,"h1",0),o.Tb(1,"div",1),o.Ob(2,"p",2),o.Sb(),o.Fc(3,h,2,3,"re-captcha",3),o.Tb(4,"div",4),o.Tb(5,"button",5),o.bc("click",function(){return e.save()}),o.Hc(6),o.Sb(),o.Tb(7,"button",6),o.bc("click",function(){return e.close()}),o.Hc(8),o.Sb(),o.Sb()),2&t&&(o.nc("innerHTML",e.data.title,o.zc),o.Cb(2),o.nc("innerHTML",e.data.question,o.zc),o.Cb(1),o.nc("ngIf",e.data.hasCaptcha),o.Cb(2),o.nc("disabled",e.data.hasCaptcha&&!e.captcha),o.Cb(1),o.Ic(e.data.okButtonText),o.Cb(2),o.Ic(e.data.cancelButtonText))},directives:[i.g,i.d,c.l,i.c,d.a,a.a,a.e,u.o,u.r,u.v],styles:[""]}),t})()},PeUW:function(t,e,n){!function(t){"use strict";var e={1:"\u0be7",2:"\u0be8",3:"\u0be9",4:"\u0bea",5:"\u0beb",6:"\u0bec",7:"\u0bed",8:"\u0bee",9:"\u0bef",0:"\u0be6"},n={"\u0be7":"1","\u0be8":"2","\u0be9":"3","\u0bea":"4","\u0beb":"5","\u0bec":"6","\u0bed":"7","\u0bee":"8","\u0bef":"9","\u0be6":"0"};t.defineLocale("ta",{months:"\u0b9c\u0ba9\u0bb5\u0bb0\u0bbf_\u0baa\u0bbf\u0baa\u0bcd\u0bb0\u0bb5\u0bb0\u0bbf_\u0bae\u0bbe\u0bb0\u0bcd\u0b9a\u0bcd_\u0b8f\u0baa\u0bcd\u0bb0\u0bb2\u0bcd_\u0bae\u0bc7_\u0b9c\u0bc2\u0ba9\u0bcd_\u0b9c\u0bc2\u0bb2\u0bc8_\u0b86\u0b95\u0bb8\u0bcd\u0b9f\u0bcd_\u0b9a\u0bc6\u0baa\u0bcd\u0b9f\u0bc6\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b85\u0b95\u0bcd\u0b9f\u0bc7\u0bbe\u0baa\u0bb0\u0bcd_\u0ba8\u0bb5\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b9f\u0bbf\u0b9a\u0bae\u0bcd\u0baa\u0bb0\u0bcd".split("_"),monthsShort:"\u0b9c\u0ba9\u0bb5\u0bb0\u0bbf_\u0baa\u0bbf\u0baa\u0bcd\u0bb0\u0bb5\u0bb0\u0bbf_\u0bae\u0bbe\u0bb0\u0bcd\u0b9a\u0bcd_\u0b8f\u0baa\u0bcd\u0bb0\u0bb2\u0bcd_\u0bae\u0bc7_\u0b9c\u0bc2\u0ba9\u0bcd_\u0b9c\u0bc2\u0bb2\u0bc8_\u0b86\u0b95\u0bb8\u0bcd\u0b9f\u0bcd_\u0b9a\u0bc6\u0baa\u0bcd\u0b9f\u0bc6\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b85\u0b95\u0bcd\u0b9f\u0bc7\u0bbe\u0baa\u0bb0\u0bcd_\u0ba8\u0bb5\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b9f\u0bbf\u0b9a\u0bae\u0bcd\u0baa\u0bb0\u0bcd".split("_"),weekdays:"\u0b9e\u0bbe\u0baf\u0bbf\u0bb1\u0bcd\u0bb1\u0bc1\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0ba4\u0bbf\u0b99\u0bcd\u0b95\u0b9f\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0b9a\u0bc6\u0bb5\u0bcd\u0bb5\u0bbe\u0baf\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0baa\u0bc1\u0ba4\u0ba9\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0bb5\u0bbf\u0baf\u0bbe\u0bb4\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0bb5\u0bc6\u0bb3\u0bcd\u0bb3\u0bbf\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0b9a\u0ba9\u0bbf\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8".split("_"),weekdaysShort:"\u0b9e\u0bbe\u0baf\u0bbf\u0bb1\u0bc1_\u0ba4\u0bbf\u0b99\u0bcd\u0b95\u0bb3\u0bcd_\u0b9a\u0bc6\u0bb5\u0bcd\u0bb5\u0bbe\u0baf\u0bcd_\u0baa\u0bc1\u0ba4\u0ba9\u0bcd_\u0bb5\u0bbf\u0baf\u0bbe\u0bb4\u0ba9\u0bcd_\u0bb5\u0bc6\u0bb3\u0bcd\u0bb3\u0bbf_\u0b9a\u0ba9\u0bbf".split("_"),weekdaysMin:"\u0b9e\u0bbe_\u0ba4\u0bbf_\u0b9a\u0bc6_\u0baa\u0bc1_\u0bb5\u0bbf_\u0bb5\u0bc6_\u0b9a".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, HH:mm",LLLL:"dddd, D MMMM YYYY, HH:mm"},calendar:{sameDay:"[\u0b87\u0ba9\u0bcd\u0bb1\u0bc1] LT",nextDay:"[\u0ba8\u0bbe\u0bb3\u0bc8] LT",nextWeek:"dddd, LT",lastDay:"[\u0ba8\u0bc7\u0bb1\u0bcd\u0bb1\u0bc1] LT",lastWeek:"[\u0b95\u0b9f\u0ba8\u0bcd\u0ba4 \u0bb5\u0bbe\u0bb0\u0bae\u0bcd] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0b87\u0bb2\u0bcd",past:"%s \u0bae\u0bc1\u0ba9\u0bcd",s:"\u0b92\u0bb0\u0bc1 \u0b9a\u0bbf\u0bb2 \u0bb5\u0bbf\u0ba8\u0bbe\u0b9f\u0bbf\u0b95\u0bb3\u0bcd",ss:"%d \u0bb5\u0bbf\u0ba8\u0bbe\u0b9f\u0bbf\u0b95\u0bb3\u0bcd",m:"\u0b92\u0bb0\u0bc1 \u0ba8\u0bbf\u0bae\u0bbf\u0b9f\u0bae\u0bcd",mm:"%d \u0ba8\u0bbf\u0bae\u0bbf\u0b9f\u0b99\u0bcd\u0b95\u0bb3\u0bcd",h:"\u0b92\u0bb0\u0bc1 \u0bae\u0ba3\u0bbf \u0ba8\u0bc7\u0bb0\u0bae\u0bcd",hh:"%d \u0bae\u0ba3\u0bbf \u0ba8\u0bc7\u0bb0\u0bae\u0bcd",d:"\u0b92\u0bb0\u0bc1 \u0ba8\u0bbe\u0bb3\u0bcd",dd:"%d \u0ba8\u0bbe\u0b9f\u0bcd\u0b95\u0bb3\u0bcd",M:"\u0b92\u0bb0\u0bc1 \u0bae\u0bbe\u0ba4\u0bae\u0bcd",MM:"%d \u0bae\u0bbe\u0ba4\u0b99\u0bcd\u0b95\u0bb3\u0bcd",y:"\u0b92\u0bb0\u0bc1 \u0bb5\u0bb0\u0bc1\u0b9f\u0bae\u0bcd",yy:"%d \u0b86\u0ba3\u0bcd\u0b9f\u0bc1\u0b95\u0bb3\u0bcd"},dayOfMonthOrdinalParse:/\d{1,2}\u0bb5\u0ba4\u0bc1/,ordinal:function(t){return t+"\u0bb5\u0ba4\u0bc1"},preparse:function(t){return t.replace(/[\u0be7\u0be8\u0be9\u0bea\u0beb\u0bec\u0bed\u0bee\u0bef\u0be6]/g,function(t){return n[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},meridiemParse:/\u0baf\u0bbe\u0bae\u0bae\u0bcd|\u0bb5\u0bc8\u0b95\u0bb1\u0bc8|\u0b95\u0bbe\u0bb2\u0bc8|\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd|\u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1|\u0bae\u0bbe\u0bb2\u0bc8/,meridiem:function(t,e,n){return t<2?" \u0baf\u0bbe\u0bae\u0bae\u0bcd":t<6?" \u0bb5\u0bc8\u0b95\u0bb1\u0bc8":t<10?" \u0b95\u0bbe\u0bb2\u0bc8":t<14?" \u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd":t<18?" \u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1":t<22?" \u0bae\u0bbe\u0bb2\u0bc8":" \u0baf\u0bbe\u0bae\u0bae\u0bcd"},meridiemHour:function(t,e){return 12===t&&(t=0),"\u0baf\u0bbe\u0bae\u0bae\u0bcd"===e?t<2?t:t+12:"\u0bb5\u0bc8\u0b95\u0bb1\u0bc8"===e||"\u0b95\u0bbe\u0bb2\u0bc8"===e||"\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd"===e&&t>=10?t:t+12},week:{dow:0,doy:6}})}(n("wd/R"))},PkhO:function(t,e,n){"use strict";n.d(e,"a",function(){return o});var i=n("s7LF"),a=n("8Y7J");const r=/^(?=.{1,254}$)(?=.{1,64}@)[-!#$%&'*+/0-9=?A-Z^_`a-z{|}~]+(\.[-!#$%&'*+/0-9=?A-Z^_`a-z{|}~]+)*@[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?(\.[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?)+$/;let o=(()=>{class t{validate(t){return null===t.value||""===t.value||void 0===t.value||r.test(t.value)?null:{appEmail:!0}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=a.Ib({type:t,selectors:[["","appEmailValidator",""]],features:[a.Bb([{provide:i.l,useExisting:t,multi:!0}])]}),t})()},PpIw:function(t,e,n){!function(t){"use strict";var e={1:"\u0ce7",2:"\u0ce8",3:"\u0ce9",4:"\u0cea",5:"\u0ceb",6:"\u0cec",7:"\u0ced",8:"\u0cee",9:"\u0cef",0:"\u0ce6"},n={"\u0ce7":"1","\u0ce8":"2","\u0ce9":"3","\u0cea":"4","\u0ceb":"5","\u0cec":"6","\u0ced":"7","\u0cee":"8","\u0cef":"9","\u0ce6":"0"};t.defineLocale("kn",{months:"\u0c9c\u0ca8\u0cb5\u0cb0\u0cbf_\u0cab\u0cc6\u0cac\u0ccd\u0cb0\u0cb5\u0cb0\u0cbf_\u0cae\u0cbe\u0cb0\u0ccd\u0c9a\u0ccd_\u0c8f\u0caa\u0ccd\u0cb0\u0cbf\u0cb2\u0ccd_\u0cae\u0cc6\u0cd5_\u0c9c\u0cc2\u0ca8\u0ccd_\u0c9c\u0cc1\u0cb2\u0cc6\u0cd6_\u0c86\u0c97\u0cb8\u0ccd\u0c9f\u0ccd_\u0cb8\u0cc6\u0caa\u0ccd\u0c9f\u0cc6\u0c82\u0cac\u0cb0\u0ccd_\u0c85\u0c95\u0ccd\u0c9f\u0cc6\u0cc2\u0cd5\u0cac\u0cb0\u0ccd_\u0ca8\u0cb5\u0cc6\u0c82\u0cac\u0cb0\u0ccd_\u0ca1\u0cbf\u0cb8\u0cc6\u0c82\u0cac\u0cb0\u0ccd".split("_"),monthsShort:"\u0c9c\u0ca8_\u0cab\u0cc6\u0cac\u0ccd\u0cb0_\u0cae\u0cbe\u0cb0\u0ccd\u0c9a\u0ccd_\u0c8f\u0caa\u0ccd\u0cb0\u0cbf\u0cb2\u0ccd_\u0cae\u0cc6\u0cd5_\u0c9c\u0cc2\u0ca8\u0ccd_\u0c9c\u0cc1\u0cb2\u0cc6\u0cd6_\u0c86\u0c97\u0cb8\u0ccd\u0c9f\u0ccd_\u0cb8\u0cc6\u0caa\u0ccd\u0c9f\u0cc6\u0c82_\u0c85\u0c95\u0ccd\u0c9f\u0cc6\u0cc2\u0cd5_\u0ca8\u0cb5\u0cc6\u0c82_\u0ca1\u0cbf\u0cb8\u0cc6\u0c82".split("_"),monthsParseExact:!0,weekdays:"\u0cad\u0cbe\u0ca8\u0cc1\u0cb5\u0cbe\u0cb0_\u0cb8\u0cc6\u0cc2\u0cd5\u0cae\u0cb5\u0cbe\u0cb0_\u0cae\u0c82\u0c97\u0cb3\u0cb5\u0cbe\u0cb0_\u0cac\u0cc1\u0ca7\u0cb5\u0cbe\u0cb0_\u0c97\u0cc1\u0cb0\u0cc1\u0cb5\u0cbe\u0cb0_\u0cb6\u0cc1\u0c95\u0ccd\u0cb0\u0cb5\u0cbe\u0cb0_\u0cb6\u0ca8\u0cbf\u0cb5\u0cbe\u0cb0".split("_"),weekdaysShort:"\u0cad\u0cbe\u0ca8\u0cc1_\u0cb8\u0cc6\u0cc2\u0cd5\u0cae_\u0cae\u0c82\u0c97\u0cb3_\u0cac\u0cc1\u0ca7_\u0c97\u0cc1\u0cb0\u0cc1_\u0cb6\u0cc1\u0c95\u0ccd\u0cb0_\u0cb6\u0ca8\u0cbf".split("_"),weekdaysMin:"\u0cad\u0cbe_\u0cb8\u0cc6\u0cc2\u0cd5_\u0cae\u0c82_\u0cac\u0cc1_\u0c97\u0cc1_\u0cb6\u0cc1_\u0cb6".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0c87\u0c82\u0ca6\u0cc1] LT",nextDay:"[\u0ca8\u0cbe\u0cb3\u0cc6] LT",nextWeek:"dddd, LT",lastDay:"[\u0ca8\u0cbf\u0ca8\u0ccd\u0ca8\u0cc6] LT",lastWeek:"[\u0c95\u0cc6\u0cc2\u0ca8\u0cc6\u0caf] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0ca8\u0c82\u0ca4\u0cb0",past:"%s \u0cb9\u0cbf\u0c82\u0ca6\u0cc6",s:"\u0c95\u0cc6\u0cb2\u0cb5\u0cc1 \u0c95\u0ccd\u0cb7\u0ca3\u0c97\u0cb3\u0cc1",ss:"%d \u0cb8\u0cc6\u0c95\u0cc6\u0c82\u0ca1\u0cc1\u0c97\u0cb3\u0cc1",m:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca8\u0cbf\u0cae\u0cbf\u0cb7",mm:"%d \u0ca8\u0cbf\u0cae\u0cbf\u0cb7",h:"\u0c92\u0c82\u0ca6\u0cc1 \u0c97\u0c82\u0c9f\u0cc6",hh:"%d \u0c97\u0c82\u0c9f\u0cc6",d:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca6\u0cbf\u0ca8",dd:"%d \u0ca6\u0cbf\u0ca8",M:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca4\u0cbf\u0c82\u0c97\u0cb3\u0cc1",MM:"%d \u0ca4\u0cbf\u0c82\u0c97\u0cb3\u0cc1",y:"\u0c92\u0c82\u0ca6\u0cc1 \u0cb5\u0cb0\u0ccd\u0cb7",yy:"%d \u0cb5\u0cb0\u0ccd\u0cb7"},preparse:function(t){return t.replace(/[\u0ce7\u0ce8\u0ce9\u0cea\u0ceb\u0cec\u0ced\u0cee\u0cef\u0ce6]/g,function(t){return n[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},meridiemParse:/\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf|\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6|\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8|\u0cb8\u0c82\u0c9c\u0cc6/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"===e?t<4?t:t+12:"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6"===e?t:"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8"===e?t>=10?t:t+12:"\u0cb8\u0c82\u0c9c\u0cc6"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf":t<10?"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6":t<17?"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8":t<20?"\u0cb8\u0c82\u0c9c\u0cc6":"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"},dayOfMonthOrdinalParse:/\d{1,2}(\u0ca8\u0cc6\u0cd5)/,ordinal:function(t){return t+"\u0ca8\u0cc6\u0cd5"},week:{dow:0,doy:6}})}(n("wd/R"))},PqYM:function(t,e,n){"use strict";n.d(e,"a",function(){return s});var i=n("HDdC"),a=n("D0XW"),r=n("Y7HM"),o=n("z+Ro");function s(t=0,e,n){let s=-1;return Object(r.a)(e)?s=Number(e)<1?1:Number(e):Object(o.a)(e)&&(n=e),Object(o.a)(n)||(n=a.a),new i.a(e=>{const i=Object(r.a)(t)?t:+t-n.now();return n.schedule(l,i,{index:0,period:s,subscriber:e})})}function l(t){const{index:e,period:n,subscriber:i}=t;if(i.next(e),!i.closed){if(-1===n)return i.complete();t.index=e+1,this.schedule(t,n)}}},Q2Ze:function(t,e,n){"use strict";n.d(e,"a",function(){return X}),n.d(e,"b",function(){return Y}),n.d(e,"c",function(){return K}),n.d(e,"d",function(){return j}),n.d(e,"e",function(){return Q}),n.d(e,"f",function(){return z}),n.d(e,"g",function(){return W}),n.d(e,"h",function(){return q});var i=n("9b/N"),a=n("SVse"),r=n("8Y7J"),o=n("UhP/"),s=n("8LU1"),l=n("XNiG"),c=n("VRyK"),d=n("xgIS"),u=n("JX91"),h=n("1G5W"),m=n("IzEk"),p=n("GS7A"),f=n("omvX"),g=n("9gLZ"),b=n("SCoL");const _=["underline"],y=["connectionContainer"],v=["inputContainer"],C=["label"];function w(t,e){1&t&&(r.Rb(0),r.Tb(1,"div",14),r.Ob(2,"div",15),r.Ob(3,"div",16),r.Ob(4,"div",17),r.Sb(),r.Tb(5,"div",18),r.Ob(6,"div",15),r.Ob(7,"div",16),r.Ob(8,"div",17),r.Sb(),r.Qb())}function x(t,e){1&t&&(r.Tb(0,"div",19),r.lc(1,1),r.Sb())}function M(t,e){if(1&t&&(r.Rb(0),r.lc(1,2),r.Tb(2,"span"),r.Hc(3),r.Sb(),r.Qb()),2&t){const t=r.fc(2);r.Cb(3),r.Ic(t._control.placeholder)}}function O(t,e){1&t&&r.lc(0,3,["*ngSwitchCase","true"])}function k(t,e){1&t&&(r.Tb(0,"span",23),r.Hc(1," *"),r.Sb())}function S(t,e){if(1&t){const t=r.Ub();r.Tb(0,"label",20,21),r.bc("cdkObserveContent",function(){return r.yc(t),r.fc().updateOutlineGap()}),r.Fc(2,M,4,1,"ng-container",12),r.Fc(3,O,1,0,"ng-content",12),r.Fc(4,k,2,0,"span",22),r.Sb()}if(2&t){const t=r.fc();r.Fb("mat-empty",t._control.empty&&!t._shouldAlwaysFloat())("mat-form-field-empty",t._control.empty&&!t._shouldAlwaysFloat())("mat-accent","accent"==t.color)("mat-warn","warn"==t.color),r.nc("cdkObserveContentDisabled","outline"!=t.appearance)("id",t._labelId)("ngSwitch",t._hasLabel()),r.Db("for",t._control.id)("aria-owns",t._control.id),r.Cb(2),r.nc("ngSwitchCase",!1),r.Cb(1),r.nc("ngSwitchCase",!0),r.Cb(1),r.nc("ngIf",!t.hideRequiredMarker&&t._control.required&&!t._control.disabled)}}function T(t,e){1&t&&(r.Tb(0,"div",24),r.lc(1,4),r.Sb())}function P(t,e){if(1&t&&(r.Tb(0,"div",25,26),r.Ob(2,"span",27),r.Sb()),2&t){const t=r.fc();r.Cb(2),r.Fb("mat-accent","accent"==t.color)("mat-warn","warn"==t.color)}}function L(t,e){if(1&t&&(r.Tb(0,"div"),r.lc(1,5),r.Sb()),2&t){const t=r.fc();r.nc("@transitionMessages",t._subscriptAnimationState)}}function D(t,e){if(1&t&&(r.Tb(0,"div",31),r.Hc(1),r.Sb()),2&t){const t=r.fc(2);r.nc("id",t._hintLabelId),r.Cb(1),r.Ic(t.hintLabel)}}function E(t,e){if(1&t&&(r.Tb(0,"div",28),r.Fc(1,D,2,2,"div",29),r.lc(2,6),r.Ob(3,"div",30),r.lc(4,7),r.Sb()),2&t){const t=r.fc();r.nc("@transitionMessages",t._subscriptAnimationState),r.Cb(1),r.nc("ngIf",t.hintLabel)}}const A=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],I=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"];let R=0;const N=new r.s("MatError");let Y=(()=>{class t{constructor(){this.id="mat-error-"+R++}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=r.Ib({type:t,selectors:[["mat-error"]],hostAttrs:["role","alert",1,"mat-error"],hostVars:1,hostBindings:function(t,e){2&t&&r.Db("id",e.id)},inputs:{id:"id"},features:[r.Bb([{provide:N,useExisting:t}])]}),t})();const H={transitionMessages:Object(p.n)("transitionMessages",[Object(p.k)("enter",Object(p.l)({opacity:1,transform:"translateY(0%)"})),Object(p.m)("void => enter",[Object(p.l)({opacity:0,transform:"translateY(-100%)"}),Object(p.e)("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let j=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=r.Ib({type:t}),t})();const F=new r.s("MatHint");let z=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=r.Ib({type:t,selectors:[["mat-label"]]}),t})(),V=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=r.Ib({type:t,selectors:[["mat-placeholder"]]}),t})();const B=new r.s("MatPrefix");let W=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=r.Ib({type:t,selectors:[["","matPrefix",""]],features:[r.Bb([{provide:B,useExisting:t}])]}),t})();const U=new r.s("MatSuffix");let q=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=r.Ib({type:t,selectors:[["","matSuffix",""]],features:[r.Bb([{provide:U,useExisting:t}])]}),t})(),G=0;class J{constructor(t){this._elementRef=t}}const Z=Object(o.w)(J,"primary"),$=new r.s("MAT_FORM_FIELD_DEFAULT_OPTIONS"),X=new r.s("MatFormField");let K=(()=>{class t extends Z{constructor(t,e,n,i,a,r,o,s){super(t),this._elementRef=t,this._changeDetectorRef=e,this._dir=i,this._defaults=a,this._platform=r,this._ngZone=o,this._outlineGapCalculationNeededImmediately=!1,this._outlineGapCalculationNeededOnStable=!1,this._destroyed=new l.a,this._showAlwaysAnimate=!1,this._subscriptAnimationState="",this._hintLabel="",this._hintLabelId="mat-hint-"+G++,this._labelId="mat-form-field-label-"+G++,this.floatLabel=this._getDefaultFloatLabelState(),this._animationsEnabled="NoopAnimations"!==s,this.appearance=a&&a.appearance?a.appearance:"legacy",this._hideRequiredMarker=!(!a||null==a.hideRequiredMarker)&&a.hideRequiredMarker}get appearance(){return this._appearance}set appearance(t){const e=this._appearance;this._appearance=t||this._defaults&&this._defaults.appearance||"legacy","outline"===this._appearance&&e!==t&&(this._outlineGapCalculationNeededOnStable=!0)}get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(t){this._hideRequiredMarker=Object(s.c)(t)}_shouldAlwaysFloat(){return"always"===this.floatLabel&&!this._showAlwaysAnimate}_canLabelFloat(){return"never"!==this.floatLabel}get hintLabel(){return this._hintLabel}set hintLabel(t){this._hintLabel=t,this._processHints()}get floatLabel(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel}set floatLabel(t){t!==this._floatLabel&&(this._floatLabel=t||this._getDefaultFloatLabelState(),this._changeDetectorRef.markForCheck())}get _control(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic}set _control(t){this._explicitFormFieldControl=t}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._connectionContainerRef||this._elementRef}ngAfterContentInit(){this._validateControlChild();const t=this._control;t.controlType&&this._elementRef.nativeElement.classList.add(`mat-form-field-type-${t.controlType}`),t.stateChanges.pipe(Object(u.a)(null)).subscribe(()=>{this._validatePlaceholders(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),t.ngControl&&t.ngControl.valueChanges&&t.ngControl.valueChanges.pipe(Object(h.a)(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe(Object(h.a)(this._destroyed)).subscribe(()=>{this._outlineGapCalculationNeededOnStable&&this.updateOutlineGap()})}),Object(c.a)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._outlineGapCalculationNeededOnStable=!0,this._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe(Object(u.a)(null)).subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe(Object(u.a)(null)).subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe(Object(h.a)(this._destroyed)).subscribe(()=>{"function"==typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this.updateOutlineGap())}):this.updateOutlineGap()})}ngAfterContentChecked(){this._validateControlChild(),this._outlineGapCalculationNeededImmediately&&this.updateOutlineGap()}ngAfterViewInit(){this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_shouldForward(t){const e=this._control?this._control.ngControl:null;return e&&e[t]}_hasPlaceholder(){return!!(this._control&&this._control.placeholder||this._placeholderChild)}_hasLabel(){return!(!this._labelChildNonStatic&&!this._labelChildStatic)}_shouldLabelFloat(){return this._canLabelFloat()&&(this._control&&this._control.shouldLabelFloat||this._shouldAlwaysFloat())}_hideControlPlaceholder(){return"legacy"===this.appearance&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()}_hasFloatingLabel(){return this._hasLabel()||"legacy"===this.appearance&&this._hasPlaceholder()}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_animateAndLockLabel(){this._hasFloatingLabel()&&this._canLabelFloat()&&(this._animationsEnabled&&this._label&&(this._showAlwaysAnimate=!0,Object(d.a)(this._label.nativeElement,"transitionend").pipe(Object(m.a)(1)).subscribe(()=>{this._showAlwaysAnimate=!1})),this.floatLabel="always",this._changeDetectorRef.markForCheck())}_validatePlaceholders(){}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_getDefaultFloatLabelState(){return this._defaults&&this._defaults.floatLabel||"auto"}_syncDescribedByIds(){if(this._control){let t=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&t.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const e=this._hintChildren?this._hintChildren.find(t=>"start"===t.align):null,n=this._hintChildren?this._hintChildren.find(t=>"end"===t.align):null;e?t.push(e.id):this._hintLabel&&t.push(this._hintLabelId),n&&t.push(n.id)}else this._errorChildren&&t.push(...this._errorChildren.map(t=>t.id));this._control.setDescribedByIds(t)}}_validateControlChild(){}updateOutlineGap(){const t=this._label?this._label.nativeElement:null;if("outline"!==this.appearance||!t||!t.children.length||!t.textContent.trim())return;if(!this._platform.isBrowser)return;if(!this._isAttachedToDOM())return void(this._outlineGapCalculationNeededImmediately=!0);let e=0,n=0;const i=this._connectionContainerRef.nativeElement,a=i.querySelectorAll(".mat-form-field-outline-start"),r=i.querySelectorAll(".mat-form-field-outline-gap");if(this._label&&this._label.nativeElement.children.length){const a=i.getBoundingClientRect();if(0===a.width&&0===a.height)return this._outlineGapCalculationNeededOnStable=!0,void(this._outlineGapCalculationNeededImmediately=!1);const r=this._getStartEnd(a),o=t.children,s=this._getStartEnd(o[0].getBoundingClientRect());let l=0;for(let t=0;t<o.length;t++)l+=o[t].offsetWidth;e=Math.abs(s-r)-5,n=l>0?.75*l+10:0}for(let o=0;o<a.length;o++)a[o].style.width=`${e}px`;for(let o=0;o<r.length;o++)r[o].style.width=`${n}px`;this._outlineGapCalculationNeededOnStable=this._outlineGapCalculationNeededImmediately=!1}_getStartEnd(t){return this._dir&&"rtl"===this._dir.value?t.right:t.left}_isAttachedToDOM(){const t=this._elementRef.nativeElement;if(t.getRootNode){const e=t.getRootNode();return e&&e!==t}return document.documentElement.contains(t)}}return t.\u0275fac=function(e){return new(e||t)(r.Nb(r.l),r.Nb(r.h),r.Nb(r.l),r.Nb(g.b,8),r.Nb($,8),r.Nb(b.a),r.Nb(r.B),r.Nb(f.a,8))},t.\u0275cmp=r.Hb({type:t,selectors:[["mat-form-field"]],contentQueries:function(t,e,n){if(1&t&&(r.Gb(n,j,1),r.Gb(n,j,3),r.Gb(n,z,1),r.Gb(n,z,3),r.Gb(n,V,1),r.Gb(n,N,1),r.Gb(n,F,1),r.Gb(n,B,1),r.Gb(n,U,1)),2&t){let t;r.uc(t=r.cc())&&(e._controlNonStatic=t.first),r.uc(t=r.cc())&&(e._controlStatic=t.first),r.uc(t=r.cc())&&(e._labelChildNonStatic=t.first),r.uc(t=r.cc())&&(e._labelChildStatic=t.first),r.uc(t=r.cc())&&(e._placeholderChild=t.first),r.uc(t=r.cc())&&(e._errorChildren=t),r.uc(t=r.cc())&&(e._hintChildren=t),r.uc(t=r.cc())&&(e._prefixChildren=t),r.uc(t=r.cc())&&(e._suffixChildren=t)}},viewQuery:function(t,e){if(1&t&&(r.Lc(_,1),r.Lc(y,3),r.Lc(v,1),r.Lc(C,1)),2&t){let t;r.uc(t=r.cc())&&(e.underlineRef=t.first),r.uc(t=r.cc())&&(e._connectionContainerRef=t.first),r.uc(t=r.cc())&&(e._inputContainerRef=t.first),r.uc(t=r.cc())&&(e._label=t.first)}},hostAttrs:[1,"mat-form-field"],hostVars:44,hostBindings:function(t,e){2&t&&r.Fb("mat-form-field-appearance-standard","standard"==e.appearance)("mat-form-field-appearance-fill","fill"==e.appearance)("mat-form-field-appearance-outline","outline"==e.appearance)("mat-form-field-appearance-legacy","legacy"==e.appearance)("mat-form-field-invalid",e._control.errorState)("mat-form-field-can-float",e._canLabelFloat())("mat-form-field-should-float",e._shouldLabelFloat())("mat-form-field-has-label",e._hasFloatingLabel())("mat-form-field-hide-placeholder",e._hideControlPlaceholder())("mat-form-field-disabled",e._control.disabled)("mat-form-field-autofilled",e._control.autofilled)("mat-focused",e._control.focused)("mat-accent","accent"==e.color)("mat-warn","warn"==e.color)("ng-untouched",e._shouldForward("untouched"))("ng-touched",e._shouldForward("touched"))("ng-pristine",e._shouldForward("pristine"))("ng-dirty",e._shouldForward("dirty"))("ng-valid",e._shouldForward("valid"))("ng-invalid",e._shouldForward("invalid"))("ng-pending",e._shouldForward("pending"))("_mat-animation-noopable",!e._animationsEnabled)},inputs:{color:"color",floatLabel:"floatLabel",appearance:"appearance",hideRequiredMarker:"hideRequiredMarker",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[r.Bb([{provide:X,useExisting:t}]),r.zb],ngContentSelectors:I,decls:15,vars:8,consts:[[1,"mat-form-field-wrapper"],[1,"mat-form-field-flex",3,"click"],["connectionContainer",""],[4,"ngIf"],["class","mat-form-field-prefix",4,"ngIf"],[1,"mat-form-field-infix"],["inputContainer",""],[1,"mat-form-field-label-wrapper"],["class","mat-form-field-label",3,"cdkObserveContentDisabled","id","mat-empty","mat-form-field-empty","mat-accent","mat-warn","ngSwitch","cdkObserveContent",4,"ngIf"],["class","mat-form-field-suffix",4,"ngIf"],["class","mat-form-field-underline",4,"ngIf"],[1,"mat-form-field-subscript-wrapper",3,"ngSwitch"],[4,"ngSwitchCase"],["class","mat-form-field-hint-wrapper",4,"ngSwitchCase"],[1,"mat-form-field-outline"],[1,"mat-form-field-outline-start"],[1,"mat-form-field-outline-gap"],[1,"mat-form-field-outline-end"],[1,"mat-form-field-outline","mat-form-field-outline-thick"],[1,"mat-form-field-prefix"],[1,"mat-form-field-label",3,"cdkObserveContentDisabled","id","ngSwitch","cdkObserveContent"],["label",""],["class","mat-placeholder-required mat-form-field-required-marker","aria-hidden","true",4,"ngIf"],["aria-hidden","true",1,"mat-placeholder-required","mat-form-field-required-marker"],[1,"mat-form-field-suffix"],[1,"mat-form-field-underline"],["underline",""],[1,"mat-form-field-ripple"],[1,"mat-form-field-hint-wrapper"],["class","mat-hint",3,"id",4,"ngIf"],[1,"mat-form-field-hint-spacer"],[1,"mat-hint",3,"id"]],template:function(t,e){1&t&&(r.mc(A),r.Tb(0,"div",0),r.Tb(1,"div",1,2),r.bc("click",function(t){return e._control.onContainerClick&&e._control.onContainerClick(t)}),r.Fc(3,w,9,0,"ng-container",3),r.Fc(4,x,2,0,"div",4),r.Tb(5,"div",5,6),r.lc(7),r.Tb(8,"span",7),r.Fc(9,S,5,16,"label",8),r.Sb(),r.Sb(),r.Fc(10,T,2,0,"div",9),r.Sb(),r.Fc(11,P,3,4,"div",10),r.Tb(12,"div",11),r.Fc(13,L,2,1,"div",12),r.Fc(14,E,5,2,"div",13),r.Sb(),r.Sb()),2&t&&(r.Cb(3),r.nc("ngIf","outline"==e.appearance),r.Cb(1),r.nc("ngIf",e._prefixChildren.length),r.Cb(5),r.nc("ngIf",e._hasFloatingLabel()),r.Cb(1),r.nc("ngIf",e._suffixChildren.length),r.Cb(1),r.nc("ngIf","outline"!=e.appearance),r.Cb(1),r.nc("ngSwitch",e._getDisplayedMessages()),r.Cb(1),r.nc("ngSwitchCase","error"),r.Cb(1),r.nc("ngSwitchCase","hint"))},directives:[a.l,a.n,a.o,i.a],styles:[".mat-form-field{display:inline-block;position:relative;text-align:left}[dir=rtl] .mat-form-field{text-align:right}.mat-form-field-wrapper{position:relative}.mat-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-form-field-prefix,.mat-form-field-suffix{white-space:nowrap;flex:none;position:relative}.mat-form-field-infix{display:block;position:relative;flex:auto;min-width:0;width:180px}.cdk-high-contrast-active .mat-form-field-infix{border-image:linear-gradient(transparent, transparent)}.mat-form-field-label-wrapper{position:absolute;left:0;box-sizing:content-box;width:100%;height:100%;overflow:hidden;pointer-events:none}[dir=rtl] .mat-form-field-label-wrapper{left:auto;right:0}.mat-form-field-label{position:absolute;left:0;font:inherit;pointer-events:none;width:100%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;transform-origin:0 0;transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1),color 400ms cubic-bezier(0.25, 0.8, 0.25, 1),width 400ms cubic-bezier(0.25, 0.8, 0.25, 1);display:none}[dir=rtl] .mat-form-field-label{transform-origin:100% 0;left:auto;right:0}.mat-form-field-empty.mat-form-field-label,.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label{display:block}.mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:block;transition:none}.mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-form-field-can-float .mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:block}.mat-form-field-label:not(.mat-form-field-empty){transition:none}.mat-form-field-underline{position:absolute;width:100%;pointer-events:none;transform:scale3d(1, 1.0001, 1)}.mat-form-field-ripple{position:absolute;left:0;width:100%;transform-origin:50%;transform:scaleX(0.5);opacity:0;transition:background-color 300ms cubic-bezier(0.55, 0, 0.55, 0.2)}.mat-form-field.mat-focused .mat-form-field-ripple,.mat-form-field.mat-form-field-invalid .mat-form-field-ripple{opacity:1;transform:none;transition:transform 300ms cubic-bezier(0.25, 0.8, 0.25, 1),opacity 100ms cubic-bezier(0.25, 0.8, 0.25, 1),background-color 300ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-subscript-wrapper{position:absolute;box-sizing:border-box;width:100%;overflow:hidden}.mat-form-field-subscript-wrapper .mat-icon,.mat-form-field-label-wrapper .mat-icon{width:1em;height:1em;font-size:inherit;vertical-align:baseline}.mat-form-field-hint-wrapper{display:flex}.mat-form-field-hint-spacer{flex:1 0 1em}.mat-error{display:block}.mat-form-field-control-wrapper{position:relative}.mat-form-field-hint-end{order:1}.mat-form-field._mat-animation-noopable .mat-form-field-label,.mat-form-field._mat-animation-noopable .mat-form-field-ripple{transition:none}\n",'.mat-form-field-appearance-fill .mat-form-field-flex{border-radius:4px 4px 0 0;padding:.75em .75em 0 .75em}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-form-field-flex{outline:solid 1px}.mat-form-field-appearance-fill .mat-form-field-underline::before{content:"";display:block;position:absolute;bottom:0;height:1px;width:100%}.mat-form-field-appearance-fill .mat-form-field-ripple{bottom:0;height:2px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-form-field-ripple{height:0;border-top:solid 2px}.mat-form-field-appearance-fill:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-fill._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}.mat-form-field-appearance-fill .mat-form-field-subscript-wrapper{padding:0 1em}\n','.mat-input-element{font:inherit;background:transparent;color:currentColor;border:none;outline:none;padding:0;margin:0;width:100%;max-width:100%;vertical-align:bottom;text-align:inherit}.mat-input-element:-moz-ui-invalid{box-shadow:none}.mat-input-element::-ms-clear,.mat-input-element::-ms-reveal{display:none}.mat-input-element,.mat-input-element::-webkit-search-cancel-button,.mat-input-element::-webkit-search-decoration,.mat-input-element::-webkit-search-results-button,.mat-input-element::-webkit-search-results-decoration{-webkit-appearance:none}.mat-input-element::-webkit-contacts-auto-fill-button,.mat-input-element::-webkit-caps-lock-indicator,.mat-input-element::-webkit-credentials-auto-fill-button{visibility:hidden}.mat-input-element[type=date],.mat-input-element[type=datetime],.mat-input-element[type=datetime-local],.mat-input-element[type=month],.mat-input-element[type=week],.mat-input-element[type=time]{line-height:1}.mat-input-element[type=date]::after,.mat-input-element[type=datetime]::after,.mat-input-element[type=datetime-local]::after,.mat-input-element[type=month]::after,.mat-input-element[type=week]::after,.mat-input-element[type=time]::after{content:" ";white-space:pre;width:1px}.mat-input-element::-webkit-inner-spin-button,.mat-input-element::-webkit-calendar-picker-indicator,.mat-input-element::-webkit-clear-button{font-size:.75em}.mat-input-element::placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-input-element::-moz-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::-moz-placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-input-element::-webkit-input-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::-webkit-input-placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-input-element:-ms-input-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element:-ms-input-placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-form-field-hide-placeholder .mat-input-element::placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.mat-form-field-hide-placeholder .mat-input-element::-moz-placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.mat-form-field-hide-placeholder .mat-input-element::-webkit-input-placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.mat-form-field-hide-placeholder .mat-input-element:-ms-input-placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}textarea.mat-input-element{resize:vertical;overflow:auto}textarea.mat-input-element.cdk-textarea-autosize{resize:none}textarea.mat-input-element{padding:2px 0;margin:-2px 0}select.mat-input-element{-moz-appearance:none;-webkit-appearance:none;position:relative;background-color:transparent;display:inline-flex;box-sizing:border-box;padding-top:1em;top:-1em;margin-bottom:-1em}select.mat-input-element::-ms-expand{display:none}select.mat-input-element::-moz-focus-inner{border:0}select.mat-input-element:not(:disabled){cursor:pointer}select.mat-input-element::-ms-value{color:inherit;background:none}.mat-focused .cdk-high-contrast-active select.mat-input-element::-ms-value{color:inherit}.mat-form-field-type-mat-native-select .mat-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;position:absolute;top:50%;right:0;margin-top:-2.5px;pointer-events:none}[dir=rtl] .mat-form-field-type-mat-native-select .mat-form-field-infix::after{right:auto;left:0}.mat-form-field-type-mat-native-select .mat-input-element{padding-right:15px}[dir=rtl] .mat-form-field-type-mat-native-select .mat-input-element{padding-right:0;padding-left:15px}.mat-form-field-type-mat-native-select .mat-form-field-label-wrapper{max-width:calc(100% - 10px)}.mat-form-field-type-mat-native-select.mat-form-field-appearance-outline .mat-form-field-infix::after{margin-top:-5px}.mat-form-field-type-mat-native-select.mat-form-field-appearance-fill .mat-form-field-infix::after{margin-top:-10px}\n',".mat-form-field-appearance-legacy .mat-form-field-label{transform:perspective(100px);-ms-transform:none}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon{width:1em}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button{font:inherit;vertical-align:baseline}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button .mat-icon{font-size:inherit}.mat-form-field-appearance-legacy .mat-form-field-underline{height:1px}.cdk-high-contrast-active .mat-form-field-appearance-legacy .mat-form-field-underline{height:0;border-top:solid 1px}.mat-form-field-appearance-legacy .mat-form-field-ripple{top:0;height:2px;overflow:hidden}.cdk-high-contrast-active .mat-form-field-appearance-legacy .mat-form-field-ripple{height:0;border-top:solid 2px}.mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:transparent}.cdk-high-contrast-active .mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px}.mat-form-field-appearance-legacy.mat-form-field-invalid:not(.mat-focused) .mat-form-field-ripple{height:1px}\n",".mat-form-field-appearance-outline .mat-form-field-wrapper{margin:.25em 0}.mat-form-field-appearance-outline .mat-form-field-flex{padding:0 .75em 0 .75em;margin-top:-0.25em;position:relative}.mat-form-field-appearance-outline .mat-form-field-prefix,.mat-form-field-appearance-outline .mat-form-field-suffix{top:.25em}.mat-form-field-appearance-outline .mat-form-field-outline{display:flex;position:absolute;top:.25em;left:0;right:0;bottom:0;pointer-events:none}.mat-form-field-appearance-outline .mat-form-field-outline-start,.mat-form-field-appearance-outline .mat-form-field-outline-end{border:1px solid currentColor;min-width:5px}.mat-form-field-appearance-outline .mat-form-field-outline-start{border-radius:5px 0 0 5px;border-right-style:none}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-start{border-right-style:solid;border-left-style:none;border-radius:0 5px 5px 0}.mat-form-field-appearance-outline .mat-form-field-outline-end{border-radius:0 5px 5px 0;border-left-style:none;flex-grow:1}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-end{border-left-style:solid;border-right-style:none;border-radius:5px 0 0 5px}.mat-form-field-appearance-outline .mat-form-field-outline-gap{border-radius:.000001px;border:1px solid currentColor;border-left-style:none;border-right-style:none}.mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-outline-gap{border-top-color:transparent}.mat-form-field-appearance-outline .mat-form-field-outline-thick{opacity:0}.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-start,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-end,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-gap{border-width:2px}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline{opacity:0;transition:opacity 100ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline-thick{opacity:1}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline{opacity:0;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline-thick{opacity:1}.mat-form-field-appearance-outline .mat-form-field-subscript-wrapper{padding:0 1em}.mat-form-field-appearance-outline._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-outline,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-start,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-end,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-gap{transition:none}\n",".mat-form-field-appearance-standard .mat-form-field-flex{padding-top:.75em}.mat-form-field-appearance-standard .mat-form-field-underline{height:1px}.cdk-high-contrast-active .mat-form-field-appearance-standard .mat-form-field-underline{height:0;border-top:solid 1px}.mat-form-field-appearance-standard .mat-form-field-ripple{bottom:0;height:2px}.cdk-high-contrast-active .mat-form-field-appearance-standard .mat-form-field-ripple{height:0;border-top:2px}.mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:transparent}.cdk-high-contrast-active .mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px}.mat-form-field-appearance-standard:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-standard._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}\n"],encapsulation:2,data:{animation:[H.transitionMessages]},changeDetection:0}),t})(),Q=(()=>{class t{}return t.\u0275mod=r.Lb({type:t}),t.\u0275inj=r.Kb({factory:function(e){return new(e||t)},imports:[[a.c,o.j,i.c],o.j]}),t})()},Q9JA:function(t,e,n){"use strict";n.d(e,"a",function(){return s});var i=n("iELJ"),a=n("8Y7J"),r=n("BTe0"),o=n("TSSN");let s=(()=>{class t{constructor(t){this.message=t.message||""}}return t.\u0275fac=function(e){return new(e||t)(a.Nb(i.a))},t.\u0275cmp=a.Hb({type:t,selectors:[["app-wait-http-dialog"]],decls:5,vars:3,consts:[["mode","indeterminate"]],template:function(t,e){1&t&&(a.Tb(0,"mat-dialog-content"),a.Tb(1,"p"),a.Hc(2),a.gc(3,"translate"),a.Sb(),a.Ob(4,"mat-progress-bar",0),a.Sb()),2&t&&(a.Cb(2),a.Ic(a.hc(3,1,e.message)))},directives:[i.d,r.a],pipes:[o.c],styles:["mat-dialog-content[_ngcontent-%COMP%]{width:15em}"]}),t})()},Qaas:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("ePOw"),a=n("tgYw");class r{constructor({type:t=i.a.ADRESSE,adresse:e=null,complementAdresse:n=null,cp:r=null,ville:o=null,pays:s=null,coordonnees:l={}}){this.type=t,this.adresse=e,this.complementAdresse=n,this.cp=r,this.ville=o,this.pays=s,this.coordonnees=new a.a(l)}getForPost(){return this}isValid(t=!1){return this.type&&"COORDONNEES"===this.type?this.coordonnees&&!!this.cp&&!!this.ville&&(t||!!this.pays):!!this.adresse&&!!this.cp&&!!this.ville&&(t||!!this.pays)}isEqualTo(t){return this.type===t.type&&this.adresse===t.adresse&&this.complementAdresse===t.complementAdresse&&this.cp===t.cp&&this.ville===t.ville&&this.coordonnees.latitude===t.coordonnees.latitude&&this.coordonnees.longitude===t.coordonnees.longitude}}},Qj4J:function(t,e,n){!function(t){"use strict";t.defineLocale("ar-kw",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062a\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0627\u062d\u062f_\u0627\u062a\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:0,doy:12}})}(n("wd/R"))},RAwQ:function(t,e,n){!function(t){"use strict";function e(t,e,n,i){var a={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return e?a[n][0]:a[n][1]}function n(t){if(t=parseInt(t,10),isNaN(t))return!1;if(t<0)return!0;if(t<10)return 4<=t&&t<=7;if(t<100){var e=t%10;return n(0===e?t/10:e)}if(t<1e4){for(;t>=10;)t/=10;return n(t)}return n(t/=1e3)}t.defineLocale("lb",{months:"Januar_Februar_M\xe4erz_Abr\xebll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonndeg_M\xe9indeg_D\xebnschdeg_M\xebttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._M\xe9._D\xeb._M\xeb._Do._Fr._Sa.".split("_"),weekdaysMin:"So_M\xe9_D\xeb_M\xeb_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"},calendar:{sameDay:"[Haut um] LT",sameElse:"L",nextDay:"[Muer um] LT",nextWeek:"dddd [um] LT",lastDay:"[G\xebschter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Leschten] dddd [um] LT";default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future:function(t){return n(t.substr(0,t.indexOf(" ")))?"a "+t:"an "+t},past:function(t){return n(t.substr(0,t.indexOf(" ")))?"viru "+t:"virun "+t},s:"e puer Sekonnen",ss:"%d Sekonnen",m:e,mm:"%d Minutten",h:e,hh:"%d Stonnen",d:e,dd:"%d Deeg",M:e,MM:"%d M\xe9int",y:e,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},ROBU:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("XNiG"),a=n("8Y7J");let r=(()=>{class t{constructor(){this.onErrors=new i.a}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=a.Jb({token:t,factory:t.\u0275fac,providedIn:"root"}),t})()},RQKg:function(t,e,n){"use strict";n.d(e,"a",function(){return w});var i=n("s7LF"),a=n("IGtN"),r=n("8Y7J"),o=n("TSSN"),s=n("q6Qu"),l=n("PDjf"),c=n("SVse"),d=n("Q2Ze"),u=n("e6WT"),h=n("Dxy4");function m(t,e){1&t&&(r.Tb(0,"mat-card-content"),r.Hc(1),r.gc(2,"translate"),r.Sb()),2&t&&(r.Cb(1),r.Jc(" ",r.hc(2,1,"common.error.lien.expire")," "))}function p(t,e){1&t&&(r.Tb(0,"mat-error",19),r.Hc(1),r.gc(2,"translate"),r.Sb()),2&t&&(r.Cb(1),r.Ic(r.hc(2,1,"common.error.requis")))}function f(t,e){if(1&t&&(r.Tb(0,"mat-form-field",16),r.Ob(1,"input",17),r.Fc(2,p,3,3,"mat-error",18),r.Sb()),2&t){const t=r.fc(2);r.Cb(2),r.nc("ngIf",t.activationForm.get("oldPassword").hasError("required"))}}function g(t,e){1&t&&(r.Tb(0,"mat-error",20),r.Hc(1),r.gc(2,"translate"),r.Sb()),2&t&&(r.Cb(1),r.Ic(r.hc(2,1,"common.error.requis")))}function b(t,e){1&t&&(r.Tb(0,"mat-error",21),r.Hc(1),r.gc(2,"translate"),r.Sb()),2&t&&(r.Cb(1),r.Ic(r.hc(2,1,"password.error.format")))}function _(t,e){1&t&&(r.Tb(0,"mat-error",22),r.Hc(1),r.gc(2,"translate"),r.Sb()),2&t&&(r.Cb(1),r.Ic(r.hc(2,1,"password.error.identique")))}function y(t,e){1&t&&(r.Tb(0,"mat-error",23),r.Hc(1),r.gc(2,"translate"),r.Sb()),2&t&&(r.Cb(1),r.Ic(r.hc(2,1,"common.error.requis")))}function v(t,e){1&t&&(r.Tb(0,"mat-error",24),r.Hc(1),r.gc(2,"translate"),r.Sb()),2&t&&(r.Cb(1),r.Ic(r.hc(2,1,"password.error.non.identique")))}function C(t,e){if(1&t){const t=r.Ub();r.Tb(0,"mat-card-content"),r.Ob(1,"div",3),r.Tb(2,"form",4),r.bc("ngSubmit",function(){r.yc(t);const e=r.fc();let n=null;return e.onSubmit(e.activationForm.get("password").value,null==(n=e.activationForm.get("oldPassword"))?null:n.value)}),r.Fc(3,f,3,1,"mat-form-field",5),r.Tb(4,"mat-form-field",6),r.Ob(5,"input",7),r.Fc(6,g,3,3,"mat-error",8),r.Fc(7,b,3,3,"mat-error",9),r.Fc(8,_,3,3,"mat-error",10),r.Sb(),r.Tb(9,"mat-form-field",11),r.Ob(10,"input",12),r.Fc(11,y,3,3,"mat-error",13),r.Fc(12,v,3,3,"mat-error",14),r.Sb(),r.Ob(13,"button",15),r.Sb(),r.Sb()}if(2&t){const t=r.fc();r.Cb(2),r.nc("formGroup",t.activationForm),r.Cb(1),r.nc("ngIf",!t.hasToken),r.Cb(3),r.nc("ngIf",t.activationForm.get("password").hasError("required")),r.Cb(1),r.nc("ngIf",t.activationForm.get("password").hasError("pattern")),r.Cb(1),r.nc("ngIf",t.activationForm.get("password").hasError("same")),r.Cb(3),r.nc("ngIf",t.activationForm.get("passwordConfirm").hasError("required")),r.Cb(1),r.nc("ngIf",t.activationForm.get("passwordConfirm").hasError("mismatch")),r.Cb(1),r.nc("disabled",t.activationForm.invalid)}}let w=(()=>{class t extends a.a{constructor(t,e){super(t),this.translateService=t,this.formBuilder=e,this.titre="password.edit.titre",this.hasToken=!1,this.expired=!1,this.pattern=/^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[`\u02dc!@#$%^&*()_\-\+=}{\]\[\|:;,.?/]).{10,}$/,this.onSubmit=()=>{}}load(){const t={password:["",[i.w.required,i.w.pattern(this.pattern),t=>{if(!this.hasToken){const e=this.activationForm?this.activationForm.get("oldPassword").value:"",n=t.value;if(""!==n&&""!==e&&n===e)return{same:!0}}return null}]],passwordConfirm:["",[i.w.required,t=>{const e=this.activationForm?this.activationForm.get("password").value:"",n=t.value;return""!==e&&""!==n&&e!==n?{mismatch:!0}:null}]]};this.hasToken||(t.oldPassword=["",[i.w.required]]),this.activationForm=this.formBuilder.group(t),this.hasToken||this.subscriptions.push(this.activationForm.get("oldPassword").valueChanges.subscribe(()=>{this.activationForm.get("password").updateValueAndValidity()})),this.subscriptions.push(this.activationForm.get("password").valueChanges.subscribe(()=>{this.activationForm.get("passwordConfirm").updateValueAndValidity()}))}}return t.\u0275fac=function(e){return new(e||t)(r.Nb(o.d),r.Nb(i.d))},t.\u0275cmp=r.Hb({type:t,selectors:[["app-edit-password"]],inputs:{titre:"titre",hasToken:"hasToken",expired:"expired",onSubmit:"onSubmit"},features:[r.zb],decls:5,vars:3,consts:[["id","activation-password",1,"content"],[3,"appLabel"],[4,"ngIf"],["id","resume","appLabel","password.instructions"],["id","form-activation",3,"formGroup","ngSubmit"],["id","oldPassword",4,"ngIf"],["id","password"],["matInput","","type","password","name","password","formControlName","password","appLabel","password.nouveau"],["id","error-required-new",4,"ngIf"],["id","error-pattern",4,"ngIf"],["id","error-same",4,"ngIf"],["id","passwordConfirm"],["matInput","","type","password","name","passwordConfirm","formControlName","passwordConfirm","appLabel","password.confirmer"],["id","error-required-confirm",4,"ngIf"],["id","error-mismatch",4,"ngIf"],["mat-raised-button","","color","primary","type","submit","aria-label","submit","appLabel","common.enregistrer",3,"disabled"],["id","oldPassword"],["matInput","","type","password","name","oldPassword","formControlName","oldPassword","appLabel","password.ancien"],["id","error-required-old",4,"ngIf"],["id","error-required-old"],["id","error-required-new"],["id","error-pattern"],["id","error-same"],["id","error-required-confirm"],["id","error-mismatch"]],template:function(t,e){1&t&&(r.Tb(0,"div",0),r.Ob(1,"h1",1),r.Tb(2,"mat-card"),r.Fc(3,m,3,3,"mat-card-content",2),r.Fc(4,C,14,8,"mat-card-content",2),r.Sb(),r.Sb()),2&t&&(r.Cb(1),r.nc("appLabel",e.titre),r.Cb(2),r.nc("ngIf",e.expired),r.Cb(1),r.nc("ngIf",!e.expired))},directives:[s.a,l.a,c.l,l.b,i.x,i.p,i.i,d.c,u.b,i.c,i.o,i.g,h.a,d.b],pipes:[o.c],styles:["#activation-password[_ngcontent-%COMP%] form[_ngcontent-%COMP%]{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:flex-start}#activation-password[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .mat-form-field[_ngcontent-%COMP%]{width:500px;margin:12px 0}"]}),t})()},RnhZ:function(t,e,n){var i={"./af":"K/tc","./af.js":"K/tc","./ar":"jnO4","./ar-dz":"o1bE","./ar-dz.js":"o1bE","./ar-kw":"Qj4J","./ar-kw.js":"Qj4J","./ar-ly":"HP3h","./ar-ly.js":"HP3h","./ar-ma":"CoRJ","./ar-ma.js":"CoRJ","./ar-sa":"gjCT","./ar-sa.js":"gjCT","./ar-tn":"bYM6","./ar-tn.js":"bYM6","./ar.js":"jnO4","./az":"SFxW","./az.js":"SFxW","./be":"H8ED","./be.js":"H8ED","./bg":"hKrs","./bg.js":"hKrs","./bm":"p/rL","./bm.js":"p/rL","./bn":"kEOa","./bn-bd":"loYQ","./bn-bd.js":"loYQ","./bn.js":"kEOa","./bo":"0mo+","./bo.js":"0mo+","./br":"aIdf","./br.js":"aIdf","./bs":"JVSJ","./bs.js":"JVSJ","./ca":"1xZ4","./ca.js":"1xZ4","./cs":"PA2r","./cs.js":"PA2r","./cv":"A+xa","./cv.js":"A+xa","./cy":"l5ep","./cy.js":"l5ep","./da":"DxQv","./da.js":"DxQv","./de":"tGlX","./de-at":"s+uk","./de-at.js":"s+uk","./de-ch":"u3GI","./de-ch.js":"u3GI","./de.js":"tGlX","./dv":"WYrj","./dv.js":"WYrj","./el":"jUeY","./el.js":"jUeY","./en-au":"Dmvi","./en-au.js":"Dmvi","./en-ca":"OIYi","./en-ca.js":"OIYi","./en-gb":"Oaa7","./en-gb.js":"Oaa7","./en-ie":"4dOw","./en-ie.js":"4dOw","./en-il":"czMo","./en-il.js":"czMo","./en-in":"7C5Q","./en-in.js":"7C5Q","./en-nz":"b1Dy","./en-nz.js":"b1Dy","./en-sg":"t+mt","./en-sg.js":"t+mt","./eo":"Zduo","./eo.js":"Zduo","./es":"iYuL","./es-do":"CjzT","./es-do.js":"CjzT","./es-mx":"tbfe","./es-mx.js":"tbfe","./es-us":"Vclq","./es-us.js":"Vclq","./es.js":"iYuL","./et":"7BjC","./et.js":"7BjC","./eu":"D/JM","./eu.js":"D/JM","./fa":"jfSC","./fa.js":"jfSC","./fi":"gekB","./fi.js":"gekB","./fil":"1ppg","./fil.js":"1ppg","./fo":"ByF4","./fo.js":"ByF4","./fr":"nyYc","./fr-ca":"2fjn","./fr-ca.js":"2fjn","./fr-ch":"Dkky","./fr-ch.js":"Dkky","./fr.js":"nyYc","./fy":"cRix","./fy.js":"cRix","./ga":"USCx","./ga.js":"USCx","./gd":"9rRi","./gd.js":"9rRi","./gl":"iEDd","./gl.js":"iEDd","./gom-deva":"qvJo","./gom-deva.js":"qvJo","./gom-latn":"DKr+","./gom-latn.js":"DKr+","./gu":"4MV3","./gu.js":"4MV3","./he":"x6pH","./he.js":"x6pH","./hi":"3E1r","./hi.js":"3E1r","./hr":"S6ln","./hr.js":"S6ln","./hu":"WxRl","./hu.js":"WxRl","./hy-am":"1rYy","./hy-am.js":"1rYy","./id":"UDhR","./id.js":"UDhR","./is":"BVg3","./is.js":"BVg3","./it":"bpih","./it-ch":"bxKX","./it-ch.js":"bxKX","./it.js":"bpih","./ja":"B55N","./ja.js":"B55N","./jv":"tUCv","./jv.js":"tUCv","./ka":"IBtZ","./ka.js":"IBtZ","./kk":"bXm7","./kk.js":"bXm7","./km":"6B0Y","./km.js":"6B0Y","./kn":"PpIw","./kn.js":"PpIw","./ko":"Ivi+","./ko.js":"Ivi+","./ku":"JCF/","./ku.js":"JCF/","./ky":"lgnt","./ky.js":"lgnt","./lb":"RAwQ","./lb.js":"RAwQ","./lo":"sp3z","./lo.js":"sp3z","./lt":"JvlW","./lt.js":"JvlW","./lv":"uXwI","./lv.js":"uXwI","./me":"KTz0","./me.js":"KTz0","./mi":"aIsn","./mi.js":"aIsn","./mk":"aQkU","./mk.js":"aQkU","./ml":"AvvY","./ml.js":"AvvY","./mn":"lYtQ","./mn.js":"lYtQ","./mr":"Ob0Z","./mr.js":"Ob0Z","./ms":"6+QB","./ms-my":"ZAMP","./ms-my.js":"ZAMP","./ms.js":"6+QB","./mt":"G0Uy","./mt.js":"G0Uy","./my":"honF","./my.js":"honF","./nb":"bOMt","./nb.js":"bOMt","./ne":"OjkT","./ne.js":"OjkT","./nl":"+s0g","./nl-be":"2ykv","./nl-be.js":"2ykv","./nl.js":"+s0g","./nn":"uEye","./nn.js":"uEye","./oc-lnc":"Fnuy","./oc-lnc.js":"Fnuy","./pa-in":"8/+R","./pa-in.js":"8/+R","./pl":"jVdC","./pl.js":"jVdC","./pt":"8mBD","./pt-br":"0tRk","./pt-br.js":"0tRk","./pt.js":"8mBD","./ro":"lyxo","./ro.js":"lyxo","./ru":"lXzo","./ru.js":"lXzo","./sd":"Z4QM","./sd.js":"Z4QM","./se":"//9w","./se.js":"//9w","./si":"7aV9","./si.js":"7aV9","./sk":"e+ae","./sk.js":"e+ae","./sl":"gVVK","./sl.js":"gVVK","./sq":"yPMs","./sq.js":"yPMs","./sr":"zx6S","./sr-cyrl":"E+lV","./sr-cyrl.js":"E+lV","./sr.js":"zx6S","./ss":"Ur1D","./ss.js":"Ur1D","./sv":"X709","./sv.js":"X709","./sw":"dNwA","./sw.js":"dNwA","./ta":"PeUW","./ta.js":"PeUW","./te":"XLvN","./te.js":"XLvN","./tet":"V2x9","./tet.js":"V2x9","./tg":"Oxv6","./tg.js":"Oxv6","./th":"EOgW","./th.js":"EOgW","./tk":"Wv91","./tk.js":"Wv91","./tl-ph":"Dzi0","./tl-ph.js":"Dzi0","./tlh":"z3Vd","./tlh.js":"z3Vd","./tr":"DoHr","./tr.js":"DoHr","./tzl":"z1FC","./tzl.js":"z1FC","./tzm":"wQk9","./tzm-latn":"tT3J","./tzm-latn.js":"tT3J","./tzm.js":"wQk9","./ug-cn":"YRex","./ug-cn.js":"YRex","./uk":"raLr","./uk.js":"raLr","./ur":"UpQW","./ur.js":"UpQW","./uz":"Loxo","./uz-latn":"AQ68","./uz-latn.js":"AQ68","./uz.js":"Loxo","./vi":"KSF8","./vi.js":"KSF8","./x-pseudo":"/X5v","./x-pseudo.js":"/X5v","./yo":"fzPg","./yo.js":"fzPg","./zh-cn":"XDpg","./zh-cn.js":"XDpg","./zh-hk":"SatO","./zh-hk.js":"SatO","./zh-mo":"OmwH","./zh-mo.js":"OmwH","./zh-tw":"kOpN","./zh-tw.js":"kOpN"};function a(t){var e=r(t);return n(e)}function r(t){if(!n.o(i,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return i[t]}a.keys=function(){return Object.keys(i)},a.resolve=r,t.exports=a,a.id="RnhZ"},Rqom:function(t,e,n){"use strict";n.d(e,"a",function(){return c});var i=n("wd/R"),a=n("ePOw"),r=n("5Gnb"),o=n("K2tM"),s=n("AxuS"),l=n("uc2U");class c{static dateDebut(t,e,n){const a=this.getGlobalDates(t,n),r=a[0],o=e||a[1];return i(t).isBefore(i(r))?{matDatepickerMin:{min:r,actual:t}}:i(t).isAfter(i(o))?{maxDatepickerMax:{max:o,actual:t}}:null}static dateFin(t,e,n){const a=this.getGlobalDates(t,n),r=a[1],o=t||a[0];return i(e).isBefore(i(o))?{matDatepickerMin:{min:o,actual:e}}:i(e).isAfter(i(r))?{matDatepickerMax:{max:r,actual:e}}:null}static getGlobalDates(t,e){let n;if(e){const e=i().subtract(3,"day");n=t?i.min(i(t),e).format("YYYY-MM-DD"):e.format("YYYY-MM-DD")}else n=i().subtract(3,"month").format("YYYY-MM-DD");return[n,i().add(5,"year").format("YYYY-MM-DD")]}static numTVAInForeignCompany(t){const e=t.get("adresse").get("pays").value,n=t.get("noTVA").value,i=t.get("numTVA").value;let a=null;return e&&e.hasTVA&&(a=n||i?null:{required:!0}),a}static numTVAInClient(t,e){let n=null;return t||(n={companyClosed:!0}),e===l.a.INVALID&&(n=Object.assign(Object.assign({},n),{invalid:!0})),n}static dateContrat(t,e){return i(e).isAfter(i(t))?{matDatepickerMax:!0}:null}static locationValidator(t,e){const n=!e.invalid&&!!e.value;return t.get("locations").controls.filter(t=>t.get("type").value===r.a.CLIENT).length>0&&!n?{ClientLocationInvalidBecauseNumTVAInvalid:!0}:null}static representativeValidator(t,e,n,i,a){let r=null;if(t===o.a.CLIENT){const t=!n.invalid,e=!n.get("numTVA").invalid,i=!!n.get("adresse").get("pays").value&&"FR"===n.get("adresse").get("pays").value.code;t?i||(r={clientNotFrench:!0}):r=e?{clientNotValid:!0}:{clientTVANotValid:!0}}return t===o.a.DIRIGEANT&&e.invalid&&(r={managerNotValid:!0}),t===o.a.SALARIE&&(a?i.controls.find(t=>t.get("id").value===a).get("identite").invalid&&(r={workerIdentityNotValid:!0}):r={noWorkerSelectedAsRepresentative:!0}),r}static siretValidator(t){return t===s.a.INVALID?{invalid:!0}:null}static prestationDatesValidator(t){return t.get("dateDebut").value&&t.get("dateFin").value?null:{prestationDates:{required:!0}}}static coordonneesValidator(t,e){return t===a.a.ADRESSE||e.get("latitude").value&&e.get("longitude").value?null:{coordonnees:{required:!0}}}static isSavedInArray(t){return t?null:{workerNotSavedInArray:!0}}static makeUnicityWorkersValidators(){return t=>{const e=t.controls.map(t=>this.getKeyWorkerWithFg(t));return new Set(e).size<e.length?{unicityWorkers:!0}:null}}static getKeyWorkerWithFg(t){const e=t.get("identite").get("nom"),n=t.get("identite").get("prenom"),i=t.get("identite").get("dateNaissance");return`${(e||{value:""}).value}-${(n||{value:""}).value}-${(i||{value:""}).value}`}}},S6ln:function(t,e,n){!function(t){"use strict";function e(t,e,n){var i=t+" ";switch(n){case"ss":return i+(1===t?"sekunda":2===t||3===t||4===t?"sekunde":"sekundi");case"m":return e?"jedna minuta":"jedne minute";case"mm":return i+(1===t?"minuta":2===t||3===t||4===t?"minute":"minuta");case"h":return e?"jedan sat":"jednog sata";case"hh":return i+(1===t?"sat":2===t||3===t||4===t?"sata":"sati");case"dd":return i+(1===t?"dan":"dana");case"MM":return i+(1===t?"mjesec":2===t||3===t||4===t?"mjeseca":"mjeseci");case"yy":return i+(1===t?"godina":2===t||3===t||4===t?"godine":"godina")}}t.defineLocale("hr",{months:{format:"sije\u010dnja_velja\u010de_o\u017eujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),standalone:"sije\u010danj_velja\u010da_o\u017eujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_")},monthsShort:"sij._velj._o\u017eu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"Do MMMM YYYY",LLL:"Do MMMM YYYY H:mm",LLLL:"dddd, Do MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010der u] LT",lastWeek:function(){switch(this.day()){case 0:return"[pro\u0161lu] [nedjelju] [u] LT";case 3:return"[pro\u0161lu] [srijedu] [u] LT";case 6:return"[pro\u0161le] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[pro\u0161li] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:e,m:e,mm:e,h:e,hh:e,d:"dan",dd:e,M:"mjesec",MM:e,y:"godinu",yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("wd/R"))},SCoL:function(t,e,n){"use strict";n.d(e,"a",function(){return s}),n.d(e,"b",function(){return l}),n.d(e,"c",function(){return _}),n.d(e,"d",function(){return b}),n.d(e,"e",function(){return d}),n.d(e,"f",function(){return f}),n.d(e,"g",function(){return g});var i=n("8Y7J"),a=n("SVse");let r;try{r="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(y){r=!1}let o,s=(()=>{class t{constructor(t){this._platformId=t,this.isBrowser=this._platformId?Object(a.v)(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!r)&&"undefined"!=typeof CSS&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}}return t.\u0275fac=function(e){return new(e||t)(i.Xb(i.D))},t.\u0275prov=Object(i.Jb)({factory:function(){return new t(Object(i.Xb)(i.D))},token:t,providedIn:"root"}),t})(),l=(()=>{class t{}return t.\u0275mod=i.Lb({type:t}),t.\u0275inj=i.Kb({factory:function(e){return new(e||t)}}),t})();const c=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function d(){if(o)return o;if("object"!=typeof document||!document)return o=new Set(c),o;let t=document.createElement("input");return o=new Set(c.filter(e=>(t.setAttribute("type",e),t.type===e))),o}let u,h,m,p;function f(t){return function(){if(null==u&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>u=!0}))}finally{u=u||!1}return u}()?t:!!t.capture}function g(){if(null==m){if("object"!=typeof document||!document)return m=!1,m;if("scrollBehavior"in document.documentElement.style)m=!0;else{const t=Element.prototype.scrollTo;m=!!t&&!/\{\s*\[native code\]\s*\}/.test(t.toString())}}return m}function b(){if("object"!=typeof document||!document)return 0;if(null==h){const t=document.createElement("div"),e=t.style;t.dir="rtl",e.width="1px",e.overflow="auto",e.visibility="hidden",e.pointerEvents="none",e.position="absolute";const n=document.createElement("div"),i=n.style;i.width="2px",i.height="1px",t.appendChild(n),document.body.appendChild(t),h=0,0===t.scrollLeft&&(t.scrollLeft=1,h=0===t.scrollLeft?1:2),t.parentNode.removeChild(t)}return h}function _(t){if(function(){if(null==p){const t="undefined"!=typeof document?document.head:null;p=!(!t||!t.createShadowRoot&&!t.attachShadow)}return p}()){const e=t.getRootNode?t.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&e instanceof ShadowRoot)return e}return null}},SFxW:function(t,e,n){!function(t){"use strict";var e={1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-\xfcnc\xfc",4:"-\xfcnc\xfc",100:"-\xfcnc\xfc",6:"-nc\u0131",9:"-uncu",10:"-uncu",30:"-uncu",60:"-\u0131nc\u0131",90:"-\u0131nc\u0131"};t.defineLocale("az",{months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekdays:"Bazar_Bazar ert\u0259si_\xc7\u0259r\u015f\u0259nb\u0259 ax\u015fam\u0131_\xc7\u0259r\u015f\u0259nb\u0259_C\xfcm\u0259 ax\u015fam\u0131_C\xfcm\u0259_\u015e\u0259nb\u0259".split("_"),weekdaysShort:"Baz_BzE_\xc7Ax_\xc7\u0259r_CAx_C\xfcm_\u015e\u0259n".split("_"),weekdaysMin:"Bz_BE_\xc7A_\xc7\u0259_CA_C\xfc_\u015e\u0259".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[g\u0259l\u0259n h\u0259ft\u0259] dddd [saat] LT",lastDay:"[d\xfcn\u0259n] LT",lastWeek:"[ke\xe7\u0259n h\u0259ft\u0259] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s \u0259vv\u0259l",s:"bir ne\xe7\u0259 saniy\u0259",ss:"%d saniy\u0259",m:"bir d\u0259qiq\u0259",mm:"%d d\u0259qiq\u0259",h:"bir saat",hh:"%d saat",d:"bir g\xfcn",dd:"%d g\xfcn",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gec\u0259|s\u0259h\u0259r|g\xfcnd\xfcz|ax\u015fam/,isPM:function(t){return/^(g\xfcnd\xfcz|ax\u015fam)$/.test(t)},meridiem:function(t,e,n){return t<4?"gec\u0259":t<12?"s\u0259h\u0259r":t<17?"g\xfcnd\xfcz":"ax\u015fam"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0131nc\u0131|inci|nci|\xfcnc\xfc|nc\u0131|uncu)/,ordinal:function(t){if(0===t)return t+"-\u0131nc\u0131";var n=t%10;return t+(e[n]||e[t%100-n]||e[t>=100?100:null])},week:{dow:1,doy:7}})}(n("wd/R"))},SKrM:function(t,e,n){"use strict";n.d(e,"a",function(){return o});var i=n("cXaA"),a=n("8Y7J"),r=n("IheW");let o=(()=>{class t{constructor(t){this.http=t,this.log=i.a.create("TvaService"),this.END_POINT="/api/tva"}checkTva(t){const e=`${this.END_POINT}/${t}`;return this.log.data(`[HTTP] (GET) -> ${e}`),this.http.get(e)}}return t.\u0275fac=function(e){return new(e||t)(a.Xb(r.b))},t.\u0275prov=a.Jb({token:t,factory:t.\u0275fac,providedIn:"root"}),t})()},SVse:function(t,e,n){"use strict";n.d(e,"a",function(){return v}),n.d(e,"b",function(){return Ot}),n.d(e,"c",function(){return Tt}),n.d(e,"d",function(){return l}),n.d(e,"e",function(){return kt}),n.d(e,"f",function(){return w}),n.d(e,"g",function(){return u}),n.d(e,"h",function(){return x}),n.d(e,"i",function(){return _}),n.d(e,"j",function(){return st}),n.d(e,"k",function(){return ct}),n.d(e,"l",function(){return ut}),n.d(e,"m",function(){return _t}),n.d(e,"n",function(){return ft}),n.d(e,"o",function(){return gt}),n.d(e,"p",function(){return bt}),n.d(e,"q",function(){return yt}),n.d(e,"r",function(){return C}),n.d(e,"s",function(){return c}),n.d(e,"t",function(){return St}),n.d(e,"u",function(){return Dt}),n.d(e,"v",function(){return Lt}),n.d(e,"w",function(){return s}),n.d(e,"x",function(){return Pt}),n.d(e,"y",function(){return r}),n.d(e,"z",function(){return ot}),n.d(e,"A",function(){return o});var i=n("8Y7J");let a=null;function r(){return a}function o(t){a||(a=t)}class s{}const l=new i.s("DocumentToken");let c=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Object(i.Jb)({factory:d,token:t,providedIn:"platform"}),t})();function d(){return Object(i.Xb)(h)}const u=new i.s("Location Initialized");let h=(()=>{class t extends c{constructor(t){super(),this._doc=t,this._init()}_init(){this.location=r().getLocation(),this._history=r().getHistory()}getBaseHrefFromDOM(){return r().getBaseHref(this._doc)}onPopState(t){r().getGlobalEventTarget(this._doc,"window").addEventListener("popstate",t,!1)}onHashChange(t){r().getGlobalEventTarget(this._doc,"window").addEventListener("hashchange",t,!1)}get href(){return this.location.href}get protocol(){return this.location.protocol}get hostname(){return this.location.hostname}get port(){return this.location.port}get pathname(){return this.location.pathname}get search(){return this.location.search}get hash(){return this.location.hash}set pathname(t){this.location.pathname=t}pushState(t,e,n){m()?this._history.pushState(t,e,n):this.location.hash=n}replaceState(t,e,n){m()?this._history.replaceState(t,e,n):this.location.hash=n}forward(){this._history.forward()}back(){this._history.back()}getState(){return this._history.state}}return t.\u0275fac=function(e){return new(e||t)(i.Xb(l))},t.\u0275prov=Object(i.Jb)({factory:p,token:t,providedIn:"platform"}),t})();function m(){return!!window.history.pushState}function p(){return new h(Object(i.Xb)(l))}function f(t,e){if(0==t.length)return e;if(0==e.length)return t;let n=0;return t.endsWith("/")&&n++,e.startsWith("/")&&n++,2==n?t+e.substring(1):1==n?t+e:t+"/"+e}function g(t){const e=t.match(/#|\?|$/),n=e&&e.index||t.length;return t.slice(0,n-("/"===t[n-1]?1:0))+t.slice(n)}function b(t){return t&&"?"!==t[0]?"?"+t:t}let _=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Object(i.Jb)({factory:y,token:t,providedIn:"root"}),t})();function y(t){const e=Object(i.Xb)(l).location;return new C(Object(i.Xb)(c),e&&e.origin||"")}const v=new i.s("appBaseHref");let C=(()=>{class t extends _{constructor(t,e){if(super(),this._platformLocation=t,null==e&&(e=this._platformLocation.getBaseHrefFromDOM()),null==e)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");this._baseHref=e}onPopState(t){this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t)}getBaseHref(){return this._baseHref}prepareExternalUrl(t){return f(this._baseHref,t)}path(t=!1){const e=this._platformLocation.pathname+b(this._platformLocation.search),n=this._platformLocation.hash;return n&&t?`${e}${n}`:e}pushState(t,e,n,i){const a=this.prepareExternalUrl(n+b(i));this._platformLocation.pushState(t,e,a)}replaceState(t,e,n,i){const a=this.prepareExternalUrl(n+b(i));this._platformLocation.replaceState(t,e,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}}return t.\u0275fac=function(e){return new(e||t)(i.Xb(c),i.Xb(v,8))},t.\u0275prov=i.Jb({token:t,factory:t.\u0275fac}),t})(),w=(()=>{class t extends _{constructor(t,e){super(),this._platformLocation=t,this._baseHref="",null!=e&&(this._baseHref=e)}onPopState(t){this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t)}getBaseHref(){return this._baseHref}path(t=!1){let e=this._platformLocation.hash;return null==e&&(e="#"),e.length>0?e.substring(1):e}prepareExternalUrl(t){const e=f(this._baseHref,t);return e.length>0?"#"+e:e}pushState(t,e,n,i){let a=this.prepareExternalUrl(n+b(i));0==a.length&&(a=this._platformLocation.pathname),this._platformLocation.pushState(t,e,a)}replaceState(t,e,n,i){let a=this.prepareExternalUrl(n+b(i));0==a.length&&(a=this._platformLocation.pathname),this._platformLocation.replaceState(t,e,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}}return t.\u0275fac=function(e){return new(e||t)(i.Xb(c),i.Xb(v,8))},t.\u0275prov=i.Jb({token:t,factory:t.\u0275fac}),t})(),x=(()=>{class t{constructor(t,e){this._subject=new i.o,this._urlChangeListeners=[],this._platformStrategy=t;const n=this._platformStrategy.getBaseHref();this._platformLocation=e,this._baseHref=g(O(n)),this._platformStrategy.onPopState(t=>{this._subject.emit({url:this.path(!0),pop:!0,state:t.state,type:t.type})})}path(t=!1){return this.normalize(this._platformStrategy.path(t))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(t,e=""){return this.path()==this.normalize(t+b(e))}normalize(e){return t.stripTrailingSlash(function(t,e){return t&&e.startsWith(t)?e.substring(t.length):e}(this._baseHref,O(e)))}prepareExternalUrl(t){return t&&"/"!==t[0]&&(t="/"+t),this._platformStrategy.prepareExternalUrl(t)}go(t,e="",n=null){this._platformStrategy.pushState(n,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+b(e)),n)}replaceState(t,e="",n=null){this._platformStrategy.replaceState(n,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+b(e)),n)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}onUrlChange(t){this._urlChangeListeners.push(t),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(t=>{this._notifyUrlChangeListeners(t.url,t.state)}))}_notifyUrlChangeListeners(t="",e){this._urlChangeListeners.forEach(n=>n(t,e))}subscribe(t,e,n){return this._subject.subscribe({next:t,error:e,complete:n})}}return t.\u0275fac=function(e){return new(e||t)(i.Xb(_),i.Xb(c))},t.normalizeQueryParams=b,t.joinWithSlash=f,t.stripTrailingSlash=g,t.\u0275prov=Object(i.Jb)({factory:M,token:t,providedIn:"root"}),t})();function M(){return new x(Object(i.Xb)(_),Object(i.Xb)(c))}function O(t){return t.replace(/\/index.html$/,"")}var k=function(t){return t[t.Zero=0]="Zero",t[t.One=1]="One",t[t.Two=2]="Two",t[t.Few=3]="Few",t[t.Many=4]="Many",t[t.Other=5]="Other",t}({}),S=function(t){return t[t.Format=0]="Format",t[t.Standalone=1]="Standalone",t}({}),T=function(t){return t[t.Narrow=0]="Narrow",t[t.Abbreviated=1]="Abbreviated",t[t.Wide=2]="Wide",t[t.Short=3]="Short",t}({}),P=function(t){return t[t.Short=0]="Short",t[t.Medium=1]="Medium",t[t.Long=2]="Long",t[t.Full=3]="Full",t}({}),L=function(t){return t[t.Decimal=0]="Decimal",t[t.Group=1]="Group",t[t.List=2]="List",t[t.PercentSign=3]="PercentSign",t[t.PlusSign=4]="PlusSign",t[t.MinusSign=5]="MinusSign",t[t.Exponential=6]="Exponential",t[t.SuperscriptingExponent=7]="SuperscriptingExponent",t[t.PerMille=8]="PerMille",t[t[1/0]=9]="Infinity",t[t.NaN=10]="NaN",t[t.TimeSeparator=11]="TimeSeparator",t[t.CurrencyDecimal=12]="CurrencyDecimal",t[t.CurrencyGroup=13]="CurrencyGroup",t}({});function D(t,e){return Y(Object(i.lb)(t)[i.cb.DateFormat],e)}function E(t,e){return Y(Object(i.lb)(t)[i.cb.TimeFormat],e)}function A(t,e){return Y(Object(i.lb)(t)[i.cb.DateTimeFormat],e)}function I(t,e){const n=Object(i.lb)(t),a=n[i.cb.NumberSymbols][e];if(void 0===a){if(e===L.CurrencyDecimal)return n[i.cb.NumberSymbols][L.Decimal];if(e===L.CurrencyGroup)return n[i.cb.NumberSymbols][L.Group]}return a}const R=i.ob;function N(t){if(!t[i.cb.ExtraData])throw new Error(`Missing extra locale data for the locale "${t[i.cb.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function Y(t,e){for(let n=e;n>-1;n--)if(void 0!==t[n])return t[n];throw new Error("Locale data API: locale data undefined")}function H(t){const[e,n]=t.split(":");return{hours:+e,minutes:+n}}const j=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,F={},z=/((?:[^GyYMLwWdEabBhHmsSzZO']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;var V=function(t){return t[t.Short=0]="Short",t[t.ShortGMT=1]="ShortGMT",t[t.Long=2]="Long",t[t.Extended=3]="Extended",t}({}),B=function(t){return t[t.FullYear=0]="FullYear",t[t.Month=1]="Month",t[t.Date=2]="Date",t[t.Hours=3]="Hours",t[t.Minutes=4]="Minutes",t[t.Seconds=5]="Seconds",t[t.FractionalSeconds=6]="FractionalSeconds",t[t.Day=7]="Day",t}({}),W=function(t){return t[t.DayPeriods=0]="DayPeriods",t[t.Days=1]="Days",t[t.Months=2]="Months",t[t.Eras=3]="Eras",t}({});function U(t,e,n,i){let a=function(t){if(it(t))return t;if("number"==typeof t&&!isNaN(t))return new Date(t);if("string"==typeof t){t=t.trim();const e=parseFloat(t);if(!isNaN(t-e))return new Date(e);if(/^(\d{4}-\d{1,2}-\d{1,2})$/.test(t)){const[e,n,i]=t.split("-").map(t=>+t);return new Date(e,n-1,i)}let n;if(n=t.match(j))return function(t){const e=new Date(0);let n=0,i=0;const a=t[8]?e.setUTCFullYear:e.setFullYear,r=t[8]?e.setUTCHours:e.setHours;t[9]&&(n=Number(t[9]+t[10]),i=Number(t[9]+t[11])),a.call(e,Number(t[1]),Number(t[2])-1,Number(t[3]));const o=Number(t[4]||0)-n,s=Number(t[5]||0)-i,l=Number(t[6]||0),c=Math.floor(1e3*parseFloat("0."+(t[7]||0)));return r.call(e,o,s,l,c),e}(n)}const e=new Date(t);if(!it(e))throw new Error(`Unable to convert "${t}" into a date`);return e}(t);e=q(n,e)||e;let r,o=[];for(;e;){if(r=z.exec(e),!r){o.push(e);break}{o=o.concat(r.slice(1));const t=o.pop();if(!t)break;e=t}}let s=a.getTimezoneOffset();i&&(s=nt(i,s),a=function(t,e,n){const i=t.getTimezoneOffset();return function(t,e){return(t=new Date(t.getTime())).setMinutes(t.getMinutes()+e),t}(t,-1*(nt(e,i)-i))}(a,i));let l="";return o.forEach(t=>{const e=function(t){if(et[t])return et[t];let e;switch(t){case"G":case"GG":case"GGG":e=$(W.Eras,T.Abbreviated);break;case"GGGG":e=$(W.Eras,T.Wide);break;case"GGGGG":e=$(W.Eras,T.Narrow);break;case"y":e=Z(B.FullYear,1,0,!1,!0);break;case"yy":e=Z(B.FullYear,2,0,!0,!0);break;case"yyy":e=Z(B.FullYear,3,0,!1,!0);break;case"yyyy":e=Z(B.FullYear,4,0,!1,!0);break;case"Y":e=tt(1);break;case"YY":e=tt(2,!0);break;case"YYY":e=tt(3);break;case"YYYY":e=tt(4);break;case"M":case"L":e=Z(B.Month,1,1);break;case"MM":case"LL":e=Z(B.Month,2,1);break;case"MMM":e=$(W.Months,T.Abbreviated);break;case"MMMM":e=$(W.Months,T.Wide);break;case"MMMMM":e=$(W.Months,T.Narrow);break;case"LLL":e=$(W.Months,T.Abbreviated,S.Standalone);break;case"LLLL":e=$(W.Months,T.Wide,S.Standalone);break;case"LLLLL":e=$(W.Months,T.Narrow,S.Standalone);break;case"w":e=Q(1);break;case"ww":e=Q(2);break;case"W":e=Q(1,!0);break;case"d":e=Z(B.Date,1);break;case"dd":e=Z(B.Date,2);break;case"E":case"EE":case"EEE":e=$(W.Days,T.Abbreviated);break;case"EEEE":e=$(W.Days,T.Wide);break;case"EEEEE":e=$(W.Days,T.Narrow);break;case"EEEEEE":e=$(W.Days,T.Short);break;case"a":case"aa":case"aaa":e=$(W.DayPeriods,T.Abbreviated);break;case"aaaa":e=$(W.DayPeriods,T.Wide);break;case"aaaaa":e=$(W.DayPeriods,T.Narrow);break;case"b":case"bb":case"bbb":e=$(W.DayPeriods,T.Abbreviated,S.Standalone,!0);break;case"bbbb":e=$(W.DayPeriods,T.Wide,S.Standalone,!0);break;case"bbbbb":e=$(W.DayPeriods,T.Narrow,S.Standalone,!0);break;case"B":case"BB":case"BBB":e=$(W.DayPeriods,T.Abbreviated,S.Format,!0);break;case"BBBB":e=$(W.DayPeriods,T.Wide,S.Format,!0);break;case"BBBBB":e=$(W.DayPeriods,T.Narrow,S.Format,!0);break;case"h":e=Z(B.Hours,1,-12);break;case"hh":e=Z(B.Hours,2,-12);break;case"H":e=Z(B.Hours,1);break;case"HH":e=Z(B.Hours,2);break;case"m":e=Z(B.Minutes,1);break;case"mm":e=Z(B.Minutes,2);break;case"s":e=Z(B.Seconds,1);break;case"ss":e=Z(B.Seconds,2);break;case"S":e=Z(B.FractionalSeconds,1);break;case"SS":e=Z(B.FractionalSeconds,2);break;case"SSS":e=Z(B.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":e=X(V.Short);break;case"ZZZZZ":e=X(V.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":e=X(V.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":e=X(V.Long);break;default:return null}return et[t]=e,e}(t);l+=e?e(a,n,s):"''"===t?"'":t.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),l}function q(t,e){const n=function(t){return Object(i.lb)(t)[i.cb.LocaleId]}(t);if(F[n]=F[n]||{},F[n][e])return F[n][e];let a="";switch(e){case"shortDate":a=D(t,P.Short);break;case"mediumDate":a=D(t,P.Medium);break;case"longDate":a=D(t,P.Long);break;case"fullDate":a=D(t,P.Full);break;case"shortTime":a=E(t,P.Short);break;case"mediumTime":a=E(t,P.Medium);break;case"longTime":a=E(t,P.Long);break;case"fullTime":a=E(t,P.Full);break;case"short":const e=q(t,"shortTime"),n=q(t,"shortDate");a=G(A(t,P.Short),[e,n]);break;case"medium":const i=q(t,"mediumTime"),r=q(t,"mediumDate");a=G(A(t,P.Medium),[i,r]);break;case"long":const o=q(t,"longTime"),s=q(t,"longDate");a=G(A(t,P.Long),[o,s]);break;case"full":const l=q(t,"fullTime"),c=q(t,"fullDate");a=G(A(t,P.Full),[l,c])}return a&&(F[n][e]=a),a}function G(t,e){return e&&(t=t.replace(/\{([^}]+)}/g,function(t,n){return null!=e&&n in e?e[n]:t})),t}function J(t,e,n="-",i,a){let r="";(t<0||a&&t<=0)&&(a?t=1-t:(t=-t,r=n));let o=String(t);for(;o.length<e;)o="0"+o;return i&&(o=o.substr(o.length-e)),r+o}function Z(t,e,n=0,i=!1,a=!1){return function(r,o){let s=function(t,e){switch(t){case B.FullYear:return e.getFullYear();case B.Month:return e.getMonth();case B.Date:return e.getDate();case B.Hours:return e.getHours();case B.Minutes:return e.getMinutes();case B.Seconds:return e.getSeconds();case B.FractionalSeconds:return e.getMilliseconds();case B.Day:return e.getDay();default:throw new Error(`Unknown DateType value "${t}".`)}}(t,r);if((n>0||s>-n)&&(s+=n),t===B.Hours)0===s&&-12===n&&(s=12);else if(t===B.FractionalSeconds)return l=e,J(s,3).substr(0,l);var l;const c=I(o,L.MinusSign);return J(s,e,c,i,a)}}function $(t,e,n=S.Format,a=!1){return function(r,o){return function(t,e,n,a,r,o){switch(n){case W.Months:return function(t,e,n){const a=Object(i.lb)(t),r=Y([a[i.cb.MonthsFormat],a[i.cb.MonthsStandalone]],e);return Y(r,n)}(e,r,a)[t.getMonth()];case W.Days:return function(t,e,n){const a=Object(i.lb)(t),r=Y([a[i.cb.DaysFormat],a[i.cb.DaysStandalone]],e);return Y(r,n)}(e,r,a)[t.getDay()];case W.DayPeriods:const s=t.getHours(),l=t.getMinutes();if(o){const t=function(t){const e=Object(i.lb)(t);return N(e),(e[i.cb.ExtraData][2]||[]).map(t=>"string"==typeof t?H(t):[H(t[0]),H(t[1])])}(e),n=function(t,e,n){const a=Object(i.lb)(t);N(a);const r=Y([a[i.cb.ExtraData][0],a[i.cb.ExtraData][1]],e)||[];return Y(r,n)||[]}(e,r,a),o=t.findIndex(t=>{if(Array.isArray(t)){const[e,n]=t,i=s>=e.hours&&l>=e.minutes,a=s<n.hours||s===n.hours&&l<n.minutes;if(e.hours<n.hours){if(i&&a)return!0}else if(i||a)return!0}else if(t.hours===s&&t.minutes===l)return!0;return!1});if(-1!==o)return n[o]}return function(t,e,n){const a=Object(i.lb)(t),r=Y([a[i.cb.DayPeriodsFormat],a[i.cb.DayPeriodsStandalone]],e);return Y(r,n)}(e,r,a)[s<12?0:1];case W.Eras:return function(t,e){return Y(Object(i.lb)(t)[i.cb.Eras],e)}(e,a)[t.getFullYear()<=0?0:1];default:throw new Error(`unexpected translation type ${n}`)}}(r,o,t,e,n,a)}}function X(t){return function(e,n,i){const a=-1*i,r=I(n,L.MinusSign),o=a>0?Math.floor(a/60):Math.ceil(a/60);switch(t){case V.Short:return(a>=0?"+":"")+J(o,2,r)+J(Math.abs(a%60),2,r);case V.ShortGMT:return"GMT"+(a>=0?"+":"")+J(o,1,r);case V.Long:return"GMT"+(a>=0?"+":"")+J(o,2,r)+":"+J(Math.abs(a%60),2,r);case V.Extended:return 0===i?"Z":(a>=0?"+":"")+J(o,2,r)+":"+J(Math.abs(a%60),2,r);default:throw new Error(`Unknown zone width "${t}"`)}}}function K(t){return new Date(t.getFullYear(),t.getMonth(),t.getDate()+(4-t.getDay()))}function Q(t,e=!1){return function(n,i){let a;if(e){const t=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,e=n.getDate();a=1+Math.floor((e+t)/7)}else{const t=K(n),e=function(t){const e=new Date(t,0,1).getDay();return new Date(t,0,1+(e<=4?4:11)-e)}(t.getFullYear()),i=t.getTime()-e.getTime();a=1+Math.round(i/6048e5)}return J(a,t,I(i,L.MinusSign))}}function tt(t,e=!1){return function(n,i){return J(K(n).getFullYear(),t,I(i,L.MinusSign),e)}}const et={};function nt(t,e){t=t.replace(/:/g,"");const n=Date.parse("Jan 01, 1970 00:00:00 "+t)/6e4;return isNaN(n)?e:n}function it(t){return t instanceof Date&&!isNaN(t.valueOf())}class at{}let rt=(()=>{class t extends at{constructor(t){super(),this.locale=t}getPluralCategory(t,e){switch(R(e||this.locale)(t)){case k.Zero:return"zero";case k.One:return"one";case k.Two:return"two";case k.Few:return"few";case k.Many:return"many";default:return"other"}}}return t.\u0275fac=function(e){return new(e||t)(i.Xb(i.w))},t.\u0275prov=i.Jb({token:t,factory:t.\u0275fac}),t})();function ot(t,e){e=encodeURIComponent(e);for(const n of t.split(";")){const t=n.indexOf("="),[i,a]=-1==t?[n,""]:[n.slice(0,t),n.slice(t+1)];if(i.trim()===e)return decodeURIComponent(a)}return null}let st=(()=>{class t{constructor(t,e,n,i){this._iterableDiffers=t,this._keyValueDiffers=e,this._ngEl=n,this._renderer=i,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(t){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof t?t.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(t){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof t?t.split(/\s+/):t,this._rawClass&&(Object(i.rb)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const t=this._iterableDiffer.diff(this._rawClass);t&&this._applyIterableChanges(t)}else if(this._keyValueDiffer){const t=this._keyValueDiffer.diff(this._rawClass);t&&this._applyKeyValueChanges(t)}}_applyKeyValueChanges(t){t.forEachAddedItem(t=>this._toggleClass(t.key,t.currentValue)),t.forEachChangedItem(t=>this._toggleClass(t.key,t.currentValue)),t.forEachRemovedItem(t=>{t.previousValue&&this._toggleClass(t.key,!1)})}_applyIterableChanges(t){t.forEachAddedItem(t=>{if("string"!=typeof t.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${Object(i.xb)(t.item)}`);this._toggleClass(t.item,!0)}),t.forEachRemovedItem(t=>this._toggleClass(t.item,!1))}_applyClasses(t){t&&(Array.isArray(t)||t instanceof Set?t.forEach(t=>this._toggleClass(t,!0)):Object.keys(t).forEach(e=>this._toggleClass(e,!!t[e])))}_removeClasses(t){t&&(Array.isArray(t)||t instanceof Set?t.forEach(t=>this._toggleClass(t,!1)):Object.keys(t).forEach(t=>this._toggleClass(t,!1)))}_toggleClass(t,e){(t=t.trim())&&t.split(/\s+/g).forEach(t=>{e?this._renderer.addClass(this._ngEl.nativeElement,t):this._renderer.removeClass(this._ngEl.nativeElement,t)})}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.u),i.Nb(i.v),i.Nb(i.l),i.Nb(i.G))},t.\u0275dir=i.Ib({type:t,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),t})();class lt{constructor(t,e,n,i){this.$implicit=t,this.ngForOf=e,this.index=n,this.count=i}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let ct=(()=>{class t{constructor(t,e,n){this._viewContainer=t,this._template=e,this._differs=n,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(t){this._ngForOf=t,this._ngForOfDirty=!0}set ngForTrackBy(t){this._trackByFn=t}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(t){t&&(this._template=t)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const n=this._ngForOf;if(!this._differ&&n)try{this._differ=this._differs.find(n).create(this.ngForTrackBy)}catch(e){throw new Error(`Cannot find a differ supporting object '${n}' of type '${t=n,t.name||typeof t}'. NgFor only supports binding to Iterables such as Arrays.`)}}var t;if(this._differ){const t=this._differ.diff(this._ngForOf);t&&this._applyChanges(t)}}_applyChanges(t){const e=[];t.forEachOperation((t,n,i)=>{if(null==t.previousIndex){const n=this._viewContainer.createEmbeddedView(this._template,new lt(null,this._ngForOf,-1,-1),null===i?void 0:i),a=new dt(t,n);e.push(a)}else if(null==i)this._viewContainer.remove(null===n?void 0:n);else if(null!==n){const a=this._viewContainer.get(n);this._viewContainer.move(a,i);const r=new dt(t,a);e.push(r)}});for(let n=0;n<e.length;n++)this._perViewChange(e[n].view,e[n].record);for(let n=0,i=this._viewContainer.length;n<i;n++){const t=this._viewContainer.get(n);t.context.index=n,t.context.count=i,t.context.ngForOf=this._ngForOf}t.forEachIdentityChange(t=>{this._viewContainer.get(t.currentIndex).context.$implicit=t.item})}_perViewChange(t,e){t.context.$implicit=e.item}static ngTemplateContextGuard(t,e){return!0}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.R),i.Nb(i.N),i.Nb(i.u))},t.\u0275dir=i.Ib({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),t})();class dt{constructor(t,e){this.record=t,this.view=e}}let ut=(()=>{class t{constructor(t,e){this._viewContainer=t,this._context=new ht,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=e}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}set ngIfThen(t){mt("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){mt("ngIfElse",t),this._elseTemplateRef=t,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(t,e){return!0}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.R),i.Nb(i.N))},t.\u0275dir=i.Ib({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),t})();class ht{constructor(){this.$implicit=null,this.ngIf=null}}function mt(t,e){if(e&&!e.createEmbeddedView)throw new Error(`${t} must be a TemplateRef, but received '${Object(i.xb)(e)}'.`)}class pt{constructor(t,e){this._viewContainerRef=t,this._templateRef=e,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(t){t&&!this._created?this.create():!t&&this._created&&this.destroy()}}let ft=(()=>{class t{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(t){this._ngSwitch=t,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(t){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(t)}_matchCase(t){const e=t==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||e,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),e}_updateDefaultCases(t){if(this._defaultViews&&t!==this._defaultUsed){this._defaultUsed=t;for(let e=0;e<this._defaultViews.length;e++)this._defaultViews[e].enforceState(t)}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.Ib({type:t,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"}}),t})(),gt=(()=>{class t{constructor(t,e,n){this.ngSwitch=n,n._addCase(),this._view=new pt(t,e)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.R),i.Nb(i.N),i.Nb(ft,1))},t.\u0275dir=i.Ib({type:t,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),t})(),bt=(()=>{class t{constructor(t,e,n){n._addDefault(new pt(t,e))}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.R),i.Nb(i.N),i.Nb(ft,1))},t.\u0275dir=i.Ib({type:t,selectors:[["","ngSwitchDefault",""]]}),t})(),_t=(()=>{class t{constructor(t,e,n){this._ngEl=t,this._differs=e,this._renderer=n,this._ngStyle=null,this._differ=null}set ngStyle(t){this._ngStyle=t,!this._differ&&t&&(this._differ=this._differs.find(t).create())}ngDoCheck(){if(this._differ){const t=this._differ.diff(this._ngStyle);t&&this._applyChanges(t)}}_setStyle(t,e){const[n,i]=t.split(".");null!=(e=null!=e&&i?`${e}${i}`:e)?this._renderer.setStyle(this._ngEl.nativeElement,n,e):this._renderer.removeStyle(this._ngEl.nativeElement,n)}_applyChanges(t){t.forEachRemovedItem(t=>this._setStyle(t.key,null)),t.forEachAddedItem(t=>this._setStyle(t.key,t.currentValue)),t.forEachChangedItem(t=>this._setStyle(t.key,t.currentValue))}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.l),i.Nb(i.v),i.Nb(i.G))},t.\u0275dir=i.Ib({type:t,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}),t})(),yt=(()=>{class t{constructor(t){this._viewContainerRef=t,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null}ngOnChanges(t){if(this._shouldRecreateView(t)){const t=this._viewContainerRef;this._viewRef&&t.remove(t.indexOf(this._viewRef)),this._viewRef=this.ngTemplateOutlet?t.createEmbeddedView(this.ngTemplateOutlet,this.ngTemplateOutletContext):null}else this._viewRef&&this.ngTemplateOutletContext&&this._updateExistingContext(this.ngTemplateOutletContext)}_shouldRecreateView(t){const e=t.ngTemplateOutletContext;return!!t.ngTemplateOutlet||e&&this._hasContextShapeChanged(e)}_hasContextShapeChanged(t){const e=Object.keys(t.previousValue||{}),n=Object.keys(t.currentValue||{});if(e.length===n.length){for(let t of n)if(-1===e.indexOf(t))return!0;return!1}return!0}_updateExistingContext(t){for(let e of Object.keys(t))this._viewRef.context[e]=this.ngTemplateOutletContext[e]}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.R))},t.\u0275dir=i.Ib({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet"},features:[i.Ab]}),t})();function vt(t,e){return Error(`InvalidPipeArgument: '${e}' for pipe '${Object(i.xb)(t)}'`)}class Ct{createSubscription(t,e){return t.subscribe({next:e,error:t=>{throw t}})}dispose(t){t.unsubscribe()}onDestroy(t){t.unsubscribe()}}class wt{createSubscription(t,e){return t.then(e,t=>{throw t})}dispose(t){}onDestroy(t){}}const xt=new wt,Mt=new Ct;let Ot=(()=>{class t{constructor(t){this._ref=t,this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null}ngOnDestroy(){this._subscription&&this._dispose()}transform(t){return this._obj?t!==this._obj?(this._dispose(),this.transform(t)):this._latestValue:(t&&this._subscribe(t),this._latestValue)}_subscribe(t){this._obj=t,this._strategy=this._selectStrategy(t),this._subscription=this._strategy.createSubscription(t,e=>this._updateLatestValue(t,e))}_selectStrategy(e){if(Object(i.tb)(e))return xt;if(Object(i.ub)(e))return Mt;throw vt(t,e)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(t,e){t===this._obj&&(this._latestValue=e,this._ref.markForCheck())}}return t.\u0275fac=function(e){return new(e||t)(i.Zb())},t.\u0275pipe=i.Mb({name:"async",type:t,pure:!1}),t})(),kt=(()=>{class t{constructor(t){this.locale=t}transform(e,n="mediumDate",i,a){if(null==e||""===e||e!=e)return null;try{return U(e,n,a||this.locale,i)}catch(r){throw vt(t,r.message)}}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.w))},t.\u0275pipe=i.Mb({name:"date",type:t,pure:!0}),t})(),St=(()=>{class t{transform(e,n,i){if(null==e)return null;if(!this.supports(e))throw vt(t,e);return e.slice(n,i)}supports(t){return"string"==typeof t||Array.isArray(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=i.Mb({name:"slice",type:t,pure:!1}),t})(),Tt=(()=>{class t{}return t.\u0275mod=i.Lb({type:t}),t.\u0275inj=i.Kb({factory:function(e){return new(e||t)},providers:[{provide:at,useClass:rt}]}),t})();const Pt="browser";function Lt(t){return t===Pt}let Dt=(()=>{class t{}return t.\u0275prov=Object(i.Jb)({token:t,providedIn:"root",factory:()=>new Et(Object(i.Xb)(l),window)}),t})();class Et{constructor(t,e){this.document=t,this.window=e,this.offset=()=>[0,0]}setOffset(t){this.offset=Array.isArray(t)?()=>t:t}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(t){this.supportsScrolling()&&this.window.scrollTo(t[0],t[1])}scrollToAnchor(t){var e;if(!this.supportsScrolling())return;const n=null!==(e=this.document.getElementById(t))&&void 0!==e?e:this.document.getElementsByName(t)[0];void 0!==n&&(this.scrollToElement(n),this.attemptFocus(n))}setHistoryScrollRestoration(t){if(this.supportScrollRestoration()){const e=this.window.history;e&&e.scrollRestoration&&(e.scrollRestoration=t)}}scrollToElement(t){const e=t.getBoundingClientRect(),n=e.left+this.window.pageXOffset,i=e.top+this.window.pageYOffset,a=this.offset();this.window.scrollTo(n-a[0],i-a[1])}attemptFocus(t){return t.focus(),this.document.activeElement===t}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const t=At(this.window.history)||At(Object.getPrototypeOf(this.window.history));return!(!t||!t.writable&&!t.set)}catch(t){return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch(t){return!1}}}function At(t){return Object.getOwnPropertyDescriptor(t,"scrollRestoration")}},SatO:function(t,e,n){!function(t){"use strict";t.defineLocale("zh-hk",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u51cc\u6668"===e||"\u65e9\u4e0a"===e||"\u4e0a\u5348"===e?t:"\u4e2d\u5348"===e?t>=11?t:t+12:"\u4e0b\u5348"===e||"\u665a\u4e0a"===e?t+12:void 0},meridiem:function(t,e,n){var i=100*t+e;return i<600?"\u51cc\u6668":i<900?"\u65e9\u4e0a":i<1200?"\u4e0a\u5348":1200===i?"\u4e2d\u5348":i<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:"[\u4e0b]ddddLT",lastDay:"[\u6628\u5929]LT",lastWeek:"[\u4e0a]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"\u65e5";case"M":return t+"\u6708";case"w":case"W":return t+"\u9031";default:return t}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(n("wd/R"))},SeVD:function(t,e,n){"use strict";n.d(e,"a",function(){return d});var i=n("ngJS"),a=n("NJ4a"),r=n("Lhse"),o=n("kJWO"),s=n("I55L"),l=n("c2HN"),c=n("XoHu");const d=t=>{if(t&&"function"==typeof t[o.a])return d=t,t=>{const e=d[o.a]();if("function"!=typeof e.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return e.subscribe(t)};if(Object(s.a)(t))return Object(i.a)(t);if(Object(l.a)(t))return n=t,t=>(n.then(e=>{t.closed||(t.next(e),t.complete())},e=>t.error(e)).then(null,a.a),t);if(t&&"function"==typeof t[r.a])return e=t,t=>{const n=e[r.a]();for(;;){let e;try{e=n.next()}catch(i){return t.error(i),t}if(e.done){t.complete();break}if(t.next(e.value),t.closed)break}return"function"==typeof n.return&&t.add(()=>{n.return&&n.return()}),t};{const e=Object(c.a)(t)?"an invalid object":`'${t}'`;throw new TypeError(`You provided ${e} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`)}var e,n,d}},SpAZ:function(t,e,n){"use strict";function i(t){return t}n.d(e,"a",function(){return i})},SqCe:function(t,e,n){"use strict";n.d(e,"a",function(){return x}),n.d(e,"b",function(){return M}),n.d(e,"c",function(){return y});var i=n("SVse"),a=n("8Y7J"),r=n("UhP/"),o=n("8LU1"),s=n("XNiG"),l=n("1G5W"),c=(n("JX91"),n("YEUz"),n("CtHx"),n("Ht+U"),n("s7LF"),n("BSbQ"));const d=["*"],u=[[["","mat-list-avatar",""],["","mat-list-icon",""],["","matListAvatar",""],["","matListIcon",""]],[["","mat-line",""],["","matLine",""]],"*"],h=["[mat-list-avatar], [mat-list-icon], [matListAvatar], [matListIcon]","[mat-line], [matLine]","*"];class m{}const p=Object(r.y)(Object(r.x)(m));class f{}const g=Object(r.x)(f),b=new a.s("MatList"),_=new a.s("MatNavList");let y=(()=>{class t extends p{constructor(){super(...arguments),this._stateChanges=new s.a}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}return t.\u0275fac=function(e){return v(e||t)},t.\u0275cmp=a.Hb({type:t,selectors:[["mat-nav-list"]],hostAttrs:["role","navigation",1,"mat-nav-list","mat-list-base"],inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matNavList"],features:[a.Bb([{provide:_,useExisting:t}]),a.zb,a.Ab],ngContentSelectors:d,decls:1,vars:0,template:function(t,e){1&t&&(a.mc(),a.lc(0))},styles:['.mat-subheader{display:flex;box-sizing:border-box;padding:16px;align-items:center}.mat-list-base .mat-subheader{margin:0}.mat-list-base{padding-top:8px;display:block;-webkit-tap-highlight-color:transparent}.mat-list-base .mat-subheader{height:48px;line-height:16px}.mat-list-base .mat-subheader:first-child{margin-top:-8px}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{display:block;height:48px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list-base .mat-list-item .mat-list-item-content,.mat-list-base .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base .mat-list-item .mat-list-item-content-reverse,.mat-list-base .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base .mat-list-item .mat-list-item-ripple,.mat-list-base .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar,.mat-list-base .mat-list-option.mat-list-item-with-avatar{height:56px}.mat-list-base .mat-list-item.mat-2-line,.mat-list-base .mat-list-option.mat-2-line{height:72px}.mat-list-base .mat-list-item.mat-3-line,.mat-list-base .mat-list-option.mat-3-line{height:88px}.mat-list-base .mat-list-item.mat-multi-line,.mat-list-base .mat-list-option.mat-multi-line{height:auto}.mat-list-base .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base .mat-list-item .mat-list-text,.mat-list-base .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base .mat-list-item .mat-list-text>*,.mat-list-base .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base .mat-list-item .mat-list-text:empty,.mat-list-base .mat-list-option .mat-list-text:empty{display:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base .mat-list-item .mat-list-avatar,.mat-list-base .mat-list-option .mat-list-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%;object-fit:cover}.mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:72px;width:calc(100% - 72px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:72px}.mat-list-base .mat-list-item .mat-list-icon,.mat-list-base .mat-list-option .mat-list-icon{flex-shrink:0;width:24px;height:24px;font-size:24px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:64px;width:calc(100% - 64px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:64px}.mat-list-base .mat-list-item .mat-divider,.mat-list-base .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base .mat-list-item .mat-divider,[dir=rtl] .mat-list-base .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-list-base[dense]{padding-top:4px;display:block}.mat-list-base[dense] .mat-subheader{height:40px;line-height:8px}.mat-list-base[dense] .mat-subheader:first-child{margin-top:-4px}.mat-list-base[dense] .mat-list-item,.mat-list-base[dense] .mat-list-option{display:block;height:40px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-item-content,.mat-list-base[dense] .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base[dense] .mat-list-item .mat-list-item-content-reverse,.mat-list-base[dense] .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base[dense] .mat-list-item .mat-list-item-ripple,.mat-list-base[dense] .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar{height:48px}.mat-list-base[dense] .mat-list-item.mat-2-line,.mat-list-base[dense] .mat-list-option.mat-2-line{height:60px}.mat-list-base[dense] .mat-list-item.mat-3-line,.mat-list-base[dense] .mat-list-option.mat-3-line{height:76px}.mat-list-base[dense] .mat-list-item.mat-multi-line,.mat-list-base[dense] .mat-list-option.mat-multi-line{height:auto}.mat-list-base[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base[dense] .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base[dense] .mat-list-item .mat-list-text,.mat-list-base[dense] .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-text>*,.mat-list-base[dense] .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base[dense] .mat-list-item .mat-list-text:empty,.mat-list-base[dense] .mat-list-option .mat-list-text:empty{display:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base[dense] .mat-list-item .mat-list-avatar,.mat-list-base[dense] .mat-list-option .mat-list-avatar{flex-shrink:0;width:36px;height:36px;border-radius:50%;object-fit:cover}.mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:68px;width:calc(100% - 68px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:68px}.mat-list-base[dense] .mat-list-item .mat-list-icon,.mat-list-base[dense] .mat-list-option .mat-list-icon{flex-shrink:0;width:20px;height:20px;font-size:20px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:60px;width:calc(100% - 60px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:60px}.mat-list-base[dense] .mat-list-item .mat-divider,.mat-list-base[dense] .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-nav-list a{text-decoration:none;color:inherit}.mat-nav-list .mat-list-item{cursor:pointer;outline:none}mat-action-list button{background:none;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:transparent;text-align:left}[dir=rtl] mat-action-list button{text-align:right}mat-action-list button::-moz-focus-inner{border:0}mat-action-list .mat-list-item{cursor:pointer;outline:inherit}.mat-list-option:not(.mat-list-item-disabled){cursor:pointer;outline:none}.mat-list-item-disabled{pointer-events:none}.cdk-high-contrast-active .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active :host .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active .mat-selection-list:focus{outline-style:dotted}.cdk-high-contrast-active .mat-list-option:hover,.cdk-high-contrast-active .mat-list-option:focus,.cdk-high-contrast-active .mat-nav-list .mat-list-item:hover,.cdk-high-contrast-active .mat-nav-list .mat-list-item:focus,.cdk-high-contrast-active mat-action-list .mat-list-item:hover,.cdk-high-contrast-active mat-action-list .mat-list-item:focus{outline:dotted 1px}.cdk-high-contrast-active .mat-list-single-selected-option::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}.cdk-high-contrast-active [dir=rtl] .mat-list-single-selected-option::after{right:auto;left:16px}@media(hover: none){.mat-list-option:not(.mat-list-single-selected-option):not(.mat-list-item-disabled):hover,.mat-nav-list .mat-list-item:not(.mat-list-item-disabled):hover,.mat-action-list .mat-list-item:not(.mat-list-item-disabled):hover{background:none}}\n'],encapsulation:2,changeDetection:0}),t})();const v=a.Vb(y);let C=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=a.Ib({type:t,selectors:[["","mat-list-avatar",""],["","matListAvatar",""]],hostAttrs:[1,"mat-list-avatar"]}),t})(),w=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=a.Ib({type:t,selectors:[["","mat-list-icon",""],["","matListIcon",""]],hostAttrs:[1,"mat-list-icon"]}),t})(),x=(()=>{class t extends g{constructor(t,e,n,i){super(),this._element=t,this._isInteractiveList=!1,this._destroyed=new s.a,this._disabled=!1,this._isInteractiveList=!!(n||i&&"action-list"===i._getListType()),this._list=n||i;const a=this._getHostElement();"button"!==a.nodeName.toLowerCase()||a.hasAttribute("type")||a.setAttribute("type","button"),this._list&&this._list._stateChanges.pipe(Object(l.a)(this._destroyed)).subscribe(()=>{e.markForCheck()})}get disabled(){return this._disabled||!(!this._list||!this._list.disabled)}set disabled(t){this._disabled=Object(o.c)(t)}ngAfterContentInit(){Object(r.C)(this._lines,this._element)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_isRippleDisabled(){return!this._isInteractiveList||this.disableRipple||!(!this._list||!this._list.disableRipple)}_getHostElement(){return this._element.nativeElement}}return t.\u0275fac=function(e){return new(e||t)(a.Nb(a.l),a.Nb(a.h),a.Nb(_,8),a.Nb(b,8))},t.\u0275cmp=a.Hb({type:t,selectors:[["mat-list-item"],["a","mat-list-item",""],["button","mat-list-item",""]],contentQueries:function(t,e,n){if(1&t&&(a.Gb(n,C,1),a.Gb(n,w,1),a.Gb(n,r.k,1)),2&t){let t;a.uc(t=a.cc())&&(e._avatar=t.first),a.uc(t=a.cc())&&(e._icon=t.first),a.uc(t=a.cc())&&(e._lines=t)}},hostAttrs:[1,"mat-list-item","mat-focus-indicator"],hostVars:6,hostBindings:function(t,e){2&t&&a.Fb("mat-list-item-disabled",e.disabled)("mat-list-item-avatar",e._avatar||e._icon)("mat-list-item-with-avatar",e._avatar||e._icon)},inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matListItem"],features:[a.zb],ngContentSelectors:h,decls:6,vars:2,consts:[[1,"mat-list-item-content"],["mat-ripple","",1,"mat-list-item-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-list-text"]],template:function(t,e){1&t&&(a.mc(u),a.Tb(0,"div",0),a.Ob(1,"div",1),a.lc(2),a.Tb(3,"div",2),a.lc(4,1),a.Sb(),a.lc(5,2),a.Sb()),2&t&&(a.Cb(1),a.nc("matRippleTrigger",e._getHostElement())("matRippleDisabled",e._isRippleDisabled()))},directives:[r.r],encapsulation:2,changeDetection:0}),t})(),M=(()=>{class t{}return t.\u0275mod=a.Lb({type:t}),t.\u0275inj=a.Kb({factory:function(e){return new(e||t)},imports:[[r.l,r.s,r.j,r.q,i.c],r.l,r.j,r.q,c.b]}),t})()},TGtj:function(t,e,n){"use strict";n.r(e),n.d(e,"LegalsModule",function(){return b});var i=n("SVse"),a=n("PCNd"),r=n("iInd"),o=n("IGtN"),s=n("8Y7J"),l=n("TSSN"),c=n("cXaA"),d=n("IheW");let u=(()=>{class t{constructor(t){this.http=t,this.log=c.a.create("LegalsService"),this.END_POINT="/api/legals"}getFaqs(){const t=this.END_POINT;return this.log.data(`[HTTP] (GET) -> ${t}`),this.http.get(t)}}return t.\u0275fac=function(e){return new(e||t)(s.Xb(d.b))},t.\u0275prov=s.Jb({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();var h=n("o4Yh"),m=n("KSFr");function p(t,e){if(1&t&&(s.Tb(0,"mat-expansion-panel"),s.Tb(1,"mat-expansion-panel-header"),s.Tb(2,"mat-panel-title"),s.Tb(3,"span",2),s.Hc(4),s.Sb(),s.Sb(),s.Sb(),s.Ob(5,"div",3),s.gc(6,"safeHtml"),s.Sb()),2&t){const t=e.$implicit;s.Cb(4),s.Ic(t.title),s.Cb(1),s.nc("innerHTML",s.hc(6,2,t.content),s.zc)}}let f=(()=>{class t extends o.a{constructor(t,e){super(t),this.translateService=t,this.legalsService=e,this.legals=new Array}load(){this.legalsService.getFaqs().subscribe(t=>this.legals=t)}}return t.\u0275fac=function(e){return new(e||t)(s.Nb(l.d),s.Nb(u))},t.\u0275cmp=s.Hb({type:t,selectors:[["app-page-legals"]],features:[s.zb],decls:6,vars:4,consts:[["id","legals",1,"content"],[4,"ngFor","ngForOf"],[1,"legal-title"],[1,"legal-content","ql-editor",3,"innerHTML"]],template:function(t,e){1&t&&(s.Tb(0,"div",0),s.Tb(1,"h1"),s.Hc(2),s.gc(3,"translate"),s.Sb(),s.Tb(4,"mat-accordion"),s.Fc(5,p,7,4,"mat-expansion-panel",1),s.Sb(),s.Sb()),2&t&&(s.Cb(2),s.Ic(s.hc(3,2,"mentions.titre")),s.Cb(3),s.nc("ngForOf",e.legals))},directives:[h.a,i.k,h.c,h.e,h.f],pipes:[l.c,m.a],styles:[".mat-badge-content{font-weight:600;font-size:12px;font-family:Roboto,Helvetica Neue,sans-serif}.mat-badge-small .mat-badge-content{font-size:9px}.mat-badge-large .mat-badge-content{font-size:24px}.mat-h1,.mat-headline,.mat-typography h1{font:400 24px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h2,.mat-title,.mat-typography h2{font:500 20px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h3,.mat-subheading-2,.mat-typography h3{font:400 16px/28px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h4,.mat-subheading-1,.mat-typography h4{font:400 15px/24px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h5,.mat-typography h5{font:400 calc(14px * .83)/20px Roboto,Helvetica Neue,sans-serif;margin:0 0 12px}.mat-h6,.mat-typography h6{font:400 calc(14px * .67)/20px Roboto,Helvetica Neue,sans-serif;margin:0 0 12px}.mat-body-2,.mat-body-strong{font:500 14px/24px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-body,.mat-body-1,.mat-typography{font:400 14px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-body-1 p,.mat-body p,.mat-typography p{margin:0 0 12px}.mat-caption,.mat-small{font:400 12px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-display-4,.mat-typography .mat-display-4{font:300 112px/112px Roboto,Helvetica Neue,sans-serif;letter-spacing:-.05em;margin:0 0 56px}.mat-display-3,.mat-typography .mat-display-3{font:400 56px/56px Roboto,Helvetica Neue,sans-serif;letter-spacing:-.02em;margin:0 0 64px}.mat-display-2,.mat-typography .mat-display-2{font:400 45px/48px Roboto,Helvetica Neue,sans-serif;letter-spacing:-.005em;margin:0 0 64px}.mat-display-1,.mat-typography .mat-display-1{font:400 34px/40px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 64px}.mat-bottom-sheet-container{font:400 14px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-button,.mat-fab,.mat-flat-button,.mat-icon-button,.mat-mini-fab,.mat-raised-button,.mat-stroked-button{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:500}.mat-button-toggle,.mat-card{font-family:Roboto,Helvetica Neue,sans-serif}.mat-card-title{font-size:24px;font-weight:500}.mat-card-header .mat-card-title{font-size:20px}.mat-card-content,.mat-card-subtitle{font-size:14px}.mat-checkbox{font-family:Roboto,Helvetica Neue,sans-serif}.mat-checkbox-layout .mat-checkbox-label{line-height:24px}.mat-chip{font-size:14px;font-weight:500}.mat-chip .mat-chip-remove.mat-icon,.mat-chip .mat-chip-trailing-icon.mat-icon{font-size:18px}.mat-table{font-family:Roboto,Helvetica Neue,sans-serif}.mat-header-cell{font-size:12px;font-weight:500}.mat-cell,.mat-footer-cell{font-size:14px}.mat-calendar{font-family:Roboto,Helvetica Neue,sans-serif}.mat-calendar-body{font-size:13px}.mat-calendar-body-label,.mat-calendar-period-button{font-size:14px;font-weight:500}.mat-calendar-table-header th{font-size:11px;font-weight:400}.mat-dialog-title{font:500 20px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-expansion-panel-header{font-family:Roboto,Helvetica Neue,sans-serif;font-size:15px;font-weight:400}.mat-expansion-panel-content{font:400 14px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-form-field{font-size:inherit;font-weight:400;line-height:1.125;font-family:Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-form-field-wrapper{padding-bottom:1.34375em}.mat-form-field-prefix .mat-icon,.mat-form-field-suffix .mat-icon{font-size:150%;line-height:1.125}.mat-form-field-prefix .mat-icon-button,.mat-form-field-suffix .mat-icon-button{height:1.5em;width:1.5em}.mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field-suffix .mat-icon-button .mat-icon{height:1.125em;line-height:1.125}.mat-form-field-infix{padding:.5em 0;border-top:.84375em solid rgba(0,0,0,0)}.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label{-ms-transform:translateY(-1.34375em) scale(.75);transform:translateY(-1.34375em) scale(.75);width:133.3333333333%}.mat-form-field-can-float .mat-input-server[label]:not(:label-shown)+.mat-form-field-label-wrapper .mat-form-field-label{-ms-transform:translateY(-1.34374em) scale(.75);transform:translateY(-1.34374em) scale(.75);width:133.3333433333%}.mat-form-field-label-wrapper{top:-.84375em;padding-top:.84375em}.mat-form-field-label{top:1.34375em}.mat-form-field-underline{bottom:1.34375em}.mat-form-field-subscript-wrapper{font-size:75%;margin-top:.6666666667em;top:calc(100% - 1.7916666667em)}.mat-form-field-appearance-legacy .mat-form-field-wrapper{padding-bottom:1.25em}.mat-form-field-appearance-legacy .mat-form-field-infix{padding:.4375em 0}.mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.001px);-ms-transform:translateY(-1.28125em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00101px);-ms-transform:translateY(-1.28124em) scale(.75);width:133.3333433333%}.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-input-server[label]:not(:label-shown)+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00102px);-ms-transform:translateY(-1.28123em) scale(.75);width:133.3333533333%}.mat-form-field-appearance-legacy .mat-form-field-label{top:1.28125em}.mat-form-field-appearance-legacy .mat-form-field-underline{bottom:1.25em}.mat-form-field-appearance-legacy .mat-form-field-subscript-wrapper{margin-top:.5416666667em;top:calc(100% - 1.6666666667em)}@media print{.mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label{-ms-transform:translateY(-1.28122em) scale(.75);transform:translateY(-1.28122em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.28121em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-input-server[label]:not(:label-shown)+.mat-form-field-label-wrapper .mat-form-field-label{-ms-transform:translateY(-1.2812em) scale(.75);transform:translateY(-1.2812em) scale(.75)}}.mat-form-field-appearance-fill .mat-form-field-infix{padding:.25em 0 .75em}.mat-form-field-appearance-fill .mat-form-field-label{top:1.09375em;margin-top:-.5em}.mat-form-field-appearance-fill.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-appearance-fill.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label{-ms-transform:translateY(-.59375em) scale(.75);transform:translateY(-.59375em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-fill.mat-form-field-can-float .mat-input-server[label]:not(:label-shown)+.mat-form-field-label-wrapper .mat-form-field-label{-ms-transform:translateY(-.59374em) scale(.75);transform:translateY(-.59374em) scale(.75);width:133.3333433333%}.mat-form-field-appearance-outline .mat-form-field-infix{padding:1em 0}.mat-form-field-appearance-outline .mat-form-field-label{top:1.84375em;margin-top:-.25em}.mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-appearance-outline.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label{-ms-transform:translateY(-1.59375em) scale(.75);transform:translateY(-1.59375em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-outline.mat-form-field-can-float .mat-input-server[label]:not(:label-shown)+.mat-form-field-label-wrapper .mat-form-field-label{-ms-transform:translateY(-1.59374em) scale(.75);transform:translateY(-1.59374em) scale(.75);width:133.3333433333%}.mat-grid-tile-footer,.mat-grid-tile-header{font-size:14px}.mat-grid-tile-footer .mat-line,.mat-grid-tile-header .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-grid-tile-footer .mat-line:nth-child(n+2),.mat-grid-tile-header .mat-line:nth-child(n+2){font-size:12px}input.mat-input-element{margin-top:-.0625em}.mat-menu-item{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:400}.mat-paginator,.mat-paginator-page-size .mat-select-trigger{font-family:Roboto,Helvetica Neue,sans-serif;font-size:12px}.mat-radio-button,.mat-select{font-family:Roboto,Helvetica Neue,sans-serif}.mat-select-trigger{height:1.125em}.mat-slide-toggle-content,.mat-slider-thumb-label-text{font-family:Roboto,Helvetica Neue,sans-serif}.mat-slider-thumb-label-text{font-size:12px;font-weight:500}.mat-stepper-horizontal,.mat-stepper-vertical{font-family:Roboto,Helvetica Neue,sans-serif}.mat-step-label{font-size:14px;font-weight:400}.mat-step-sub-label-error{font-weight:400}.mat-step-label-error{font-size:14px}.mat-step-label-selected{font-size:14px;font-weight:500}.mat-tab-group,.mat-tab-label,.mat-tab-link{font-family:Roboto,Helvetica Neue,sans-serif}.mat-tab-label,.mat-tab-link{font-size:14px;font-weight:500}.mat-toolbar,.mat-toolbar h1,.mat-toolbar h2,.mat-toolbar h3,.mat-toolbar h4,.mat-toolbar h5,.mat-toolbar h6{font:500 20px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0}.mat-tooltip{font-family:Roboto,Helvetica Neue,sans-serif;font-size:10px;padding-top:6px;padding-bottom:6px}.mat-tooltip-handset{font-size:14px;padding-top:8px;padding-bottom:8px}.mat-list-item,.mat-list-option{font-family:Roboto,Helvetica Neue,sans-serif}.mat-list-base .mat-list-item{font-size:16px}.mat-list-base .mat-list-item .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base .mat-list-item .mat-line:nth-child(n+2){font-size:14px}.mat-list-base .mat-list-option{font-size:16px}.mat-list-base .mat-list-option .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base .mat-list-option .mat-line:nth-child(n+2){font-size:14px}.mat-list-base .mat-subheader{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:500}.mat-list-base[dense] .mat-list-item{font-size:12px}.mat-list-base[dense] .mat-list-item .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[dense] .mat-list-item .mat-line:nth-child(n+2),.mat-list-base[dense] .mat-list-option{font-size:12px}.mat-list-base[dense] .mat-list-option .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[dense] .mat-list-option .mat-line:nth-child(n+2){font-size:12px}.mat-list-base[dense] .mat-subheader{font-family:Roboto,Helvetica Neue,sans-serif;font-size:12px;font-weight:500}.mat-option{font-family:Roboto,Helvetica Neue,sans-serif;font-size:16px}.mat-optgroup-label{font:500 14px/24px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-simple-snackbar{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px}.mat-simple-snackbar-action{line-height:1;font-family:inherit;font-size:inherit;font-weight:500}.mat-tree{font-family:Roboto,Helvetica Neue,sans-serif}.mat-nested-tree-node,.mat-tree-node{font-weight:400;font-size:14px}.mat-ripple{overflow:hidden;position:relative}.mat-ripple:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded{overflow:visible}.mat-ripple-element{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0,0,.2,1);-ms-transform:scale(0);transform:scale(0)}.cdk-high-contrast-active .mat-ripple-element{display:none}.cdk-visually-hidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;outline:0;-webkit-appearance:none;-moz-appearance:none}.cdk-global-overlay-wrapper,.cdk-overlay-container{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed;z-index:1000}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper,.cdk-overlay-pane{display:-ms-flexbox;display:flex;position:absolute;z-index:1000}.cdk-overlay-pane{pointer-events:auto;box-sizing:border-box;max-width:100%;max-height:100%}.cdk-overlay-backdrop{position:absolute;top:0;bottom:0;left:0;right:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:transparent;transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:1}@media screen and (-ms-high-contrast:active){.cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:.6}}.cdk-overlay-dark-backdrop{background:rgba(0,0,0,.32)}.cdk-overlay-transparent-backdrop,.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing{opacity:0}.cdk-overlay-connected-position-bounding-box{position:absolute;z-index:1000;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}@-webkit-keyframes cdk-text-field-autofill-start{\n /*!*/}@keyframes cdk-text-field-autofill-start{\n /*!*/}@-webkit-keyframes cdk-text-field-autofill-end{\n /*!*/}@keyframes cdk-text-field-autofill-end{\n /*!*/}.cdk-text-field-autofill-monitored:-webkit-autofill{-webkit-animation:cdk-text-field-autofill-start 0s 1ms;animation:cdk-text-field-autofill-start 0s 1ms}.cdk-text-field-autofill-monitored:not(:-webkit-autofill){-webkit-animation:cdk-text-field-autofill-end 0s 1ms;animation:cdk-text-field-autofill-end 0s 1ms}textarea.cdk-textarea-autosize{resize:none}textarea.cdk-textarea-autosize-measuring{padding:2px 0!important;box-sizing:content-box!important;height:auto!important;overflow:hidden!important}textarea.cdk-textarea-autosize-measuring-firefox{padding:2px 0!important;box-sizing:content-box!important;height:0!important}.mat-focus-indicator,.mat-mdc-focus-indicator{position:relative}#legals .legal-title{font-weight:700}#legals .mat-expansion-panel-body{padding:16px 24px}#legals .legal-content img{max-width:100%;max-width:-webkit-fill-available;max-width:-moz-available;max-width:stretch}"],encapsulation:2}),t})(),g=(()=>{class t{}return t.\u0275mod=s.Lb({type:t}),t.\u0275inj=s.Kb({factory:function(e){return new(e||t)},imports:[[r.j.forChild([{path:"",component:f}])],r.j]}),t})(),b=(()=>{class t{}return t.\u0275mod=s.Lb({type:t}),t.\u0275inj=s.Kb({factory:function(e){return new(e||t)},imports:[[i.c,a.a,g]]}),t})()},TMPf:function(t,e,n){"use strict";n.d(e,"a",function(){return p});var i,a=n("wd/R"),r=new Uint8Array(16);function o(){if(!i&&!(i="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return i(r)}for(var s=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i,l=function(t){return"string"==typeof t&&s.test(t)},c=[],d=0;d<256;++d)c.push((d+256).toString(16).substr(1));var u=function(t,e,n){var i=(t=t||{}).random||(t.rng||o)();if(i[6]=15&i[6]|64,i[8]=63&i[8]|128,e){n=n||0;for(var a=0;a<16;++a)e[n+a]=i[a];return e}return function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=(c[t[e+0]]+c[t[e+1]]+c[t[e+2]]+c[t[e+3]]+"-"+c[t[e+4]]+c[t[e+5]]+"-"+c[t[e+6]]+c[t[e+7]]+"-"+c[t[e+8]]+c[t[e+9]]+"-"+c[t[e+10]]+c[t[e+11]]+c[t[e+12]]+c[t[e+13]]+c[t[e+14]]+c[t[e+15]]).toLowerCase();if(!l(n))throw TypeError("Stringified UUID is invalid");return n}(i)},h=n("Qaas"),m=n("j9Ql");class p extends m.a{constructor(t){var{id:e=u(),sexe:n=null,nationalite:i=null,adresse:a={},paysSecu:r=null,dateContrat:o=null,dateDebut:s=null,dateFin:l=null,isDetachementLongueDuree:c=!1,motifLongueDuree:d=null,emploi:m=null,qualification:p=null,salaire:f=null,salaireSpecifique:g=!1,paysRegistre:b=null,isSavedInDpd:_=!1}=t;super(function(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(i=Object.getOwnPropertySymbols(t);a<i.length;a++)e.indexOf(i[a])<0&&Object.prototype.propertyIsEnumerable.call(t,i[a])&&(n[i[a]]=t[i[a]])}return n}(t,["id","sexe","nationalite","adresse","paysSecu","dateContrat","dateDebut","dateFin","isDetachementLongueDuree","motifLongueDuree","emploi","qualification","salaire","salaireSpecifique","paysRegistre","isSavedInDpd"])),this.id=e,this.sexe=n,this.nationalite=i,this.adresse=new h.a(a),this.paysSecu=r,this.dateContrat=o,this.dateDebut=s,this.dateFin=l,this.isDetachementLongueDuree=c,this.motifLongueDuree=d,this.emploi=m,this.qualification=p,this.salaire=f,this.salaireSpecifique=g,this.paysRegistre=b,this.isDetachementLongueDuree=c,this.motifLongueDuree=d,this.isSavedInDpd=_}getForPost(){const t=Object.assign(Object.assign({},this),{adresse:this.adresse.getForPost()});return delete t.id,delete t.isSavedInDpd,t}isFutureDate(t){return a(t).isAfter(a(),"day")}isAfter(t,e){return a(t).isAfter(a(e))}isValidWorker(t){return!!this.sexe&&!!this.isValid()&&!!this.nationalite&&!(!t&&!this.adresse.adresse)&&!(!t&&!this.adresse.cp)&&!(!t&&!this.adresse.ville)&&!(!t&&!this.adresse.pays)&&!(!t&&!this.paysSecu)&&!(!t&&!this.dateContrat)&&!(!t&&this.isAfter(this.dateContrat,this.dateDebut))&&!(!t&&!this.dateDebut)&&!(!t&&!this.dateFin)&&!(!t&&!this.emploi)&&!(!t&&!this.qualification)&&(t||(!0===this.salaireSpecifique||!!this.salaire)&&(t||!1===this.isDetachementLongueDuree||!!this.motifLongueDuree))}isValidDriver(t){return!(!this.sexe||!this.isValid()||!this.nationalite||!this.adresse.adresse||!this.adresse.cp||!this.adresse.ville||!this.adresse.pays||!this.paysSecu||!this.dateContrat||this.isAfter(this.dateContrat,t)||!this.emploi||!this.qualification||!this.paysRegistre||!0!==this.salaireSpecifique&&!this.salaire||!1!==this.isDetachementLongueDuree&&!this.motifLongueDuree)}isEqualTo(t){return this.sexe===t.sexe&&this.nationalite===t.nationalite&&this.nom===t.nom&&this.prenom===t.prenom&&this.dateNaissance===t.dateNaissance&&this.villeNaissance===t.villeNaissance&&this.paysNaissance===t.paysNaissance&&this.id===t.id&&this.adresse.isEqualTo(t.adresse)&&this.paysSecu===t.paysSecu&&this.dateContrat===t.dateContrat&&this.dateDebut===t.dateDebut&&this.dateFin===t.dateFin&&this.isDetachementLongueDuree===t.isDetachementLongueDuree&&this.motifLongueDuree===t.motifLongueDuree&&this.emploi===t.emploi&&this.qualification===t.qualification&&this.salaire===t.salaire&&this.salaireSpecifique===t.salaireSpecifique&&this.paysRegistre===t.paysRegistre&&this.isSavedInDpd===t.isSavedInDpd}}},"TN/R":function(t,e,n){"use strict";n.d(e,"a",function(){return bt}),n.d(e,"b",function(){return xt}),n.d(e,"c",function(){return kt}),n.d(e,"d",function(){return Ot});var i=n("YEUz"),a=n("1O3W"),r=n("1z/I"),o=n("SVse"),s=n("8Y7J"),l=n("Dxy4"),c=n("iELJ"),d=n("7KAL"),u=n("UhP/"),h=n("XNiG"),m=n("quSY"),p=n("VRyK"),f=n("LRne"),g=n("Ht+U"),b=n("IzEk"),_=n("JX91"),y=n("pLZG"),v=n("8LU1"),C=n("GS7A"),w=n("s7LF"),x=n("Q2Ze"),M=n("e6WT"),O=n("9gLZ");const k=["mat-calendar-body",""];function S(t,e){if(1&t&&(s.Tb(0,"tr",2),s.Tb(1,"td",3),s.Hc(2),s.Sb(),s.Sb()),2&t){const t=s.fc();s.Cb(1),s.Cc("padding-top",t._cellPadding)("padding-bottom",t._cellPadding),s.Db("colspan",t.numCols),s.Cb(1),s.Jc(" ",t.label," ")}}function T(t,e){if(1&t&&(s.Tb(0,"td",7),s.Hc(1),s.Sb()),2&t){const t=s.fc(2);s.Cc("padding-top",t._cellPadding)("padding-bottom",t._cellPadding),s.Db("colspan",t._firstRowOffset),s.Cb(1),s.Jc(" ",t._firstRowOffset>=t.labelMinRequiredCells?t.label:""," ")}}function P(t,e){if(1&t){const t=s.Ub();s.Tb(0,"td",8),s.bc("click",function(n){s.yc(t);const i=e.$implicit;return s.fc(2)._cellClicked(i,n)}),s.Tb(1,"div",9),s.Hc(2),s.Sb(),s.Ob(3,"div",10),s.Sb()}if(2&t){const t=e.$implicit,n=e.index,i=s.fc().index,a=s.fc();s.Cc("width",a._cellWidth)("padding-top",a._cellPadding)("padding-bottom",a._cellPadding),s.Fb("mat-calendar-body-disabled",!t.enabled)("mat-calendar-body-active",a._isActiveCell(i,n))("mat-calendar-body-range-start",a._isRangeStart(t.compareValue))("mat-calendar-body-range-end",a._isRangeEnd(t.compareValue))("mat-calendar-body-in-range",a._isInRange(t.compareValue))("mat-calendar-body-comparison-bridge-start",a._isComparisonBridgeStart(t.compareValue,i,n))("mat-calendar-body-comparison-bridge-end",a._isComparisonBridgeEnd(t.compareValue,i,n))("mat-calendar-body-comparison-start",a._isComparisonStart(t.compareValue))("mat-calendar-body-comparison-end",a._isComparisonEnd(t.compareValue))("mat-calendar-body-in-comparison-range",a._isInComparisonRange(t.compareValue))("mat-calendar-body-preview-start",a._isPreviewStart(t.compareValue))("mat-calendar-body-preview-end",a._isPreviewEnd(t.compareValue))("mat-calendar-body-in-preview",a._isInPreview(t.compareValue)),s.nc("ngClass",t.cssClasses)("tabindex",a._isActiveCell(i,n)?0:-1),s.Db("data-mat-row",i)("data-mat-col",n)("aria-label",t.ariaLabel)("aria-disabled",!t.enabled||null)("aria-selected",a._isSelected(t.compareValue)),s.Cb(1),s.Fb("mat-calendar-body-selected",a._isSelected(t.compareValue))("mat-calendar-body-comparison-identical",a._isComparisonIdentical(t.compareValue))("mat-calendar-body-today",a.todayValue===t.compareValue),s.Cb(1),s.Jc(" ",t.displayValue," ")}}function L(t,e){if(1&t&&(s.Tb(0,"tr",4),s.Fc(1,T,2,6,"td",5),s.Fc(2,P,4,46,"td",6),s.Sb()),2&t){const t=e.$implicit,n=e.index,i=s.fc();s.Cb(1),s.nc("ngIf",0===n&&i._firstRowOffset),s.Cb(1),s.nc("ngForOf",t)}}function D(t,e){if(1&t&&(s.Tb(0,"th",5),s.Hc(1),s.Sb()),2&t){const t=e.$implicit;s.Db("aria-label",t.long),s.Cb(1),s.Ic(t.narrow)}}const E=["*"];function A(t,e){}function I(t,e){if(1&t){const t=s.Ub();s.Tb(0,"mat-month-view",5),s.bc("activeDateChange",function(e){return s.yc(t),s.fc().activeDate=e})("_userSelection",function(e){return s.yc(t),s.fc()._dateSelected(e)}),s.Sb()}if(2&t){const t=s.fc();s.nc("activeDate",t.activeDate)("selected",t.selected)("dateFilter",t.dateFilter)("maxDate",t.maxDate)("minDate",t.minDate)("dateClass",t.dateClass)("comparisonStart",t.comparisonStart)("comparisonEnd",t.comparisonEnd)}}function R(t,e){if(1&t){const t=s.Ub();s.Tb(0,"mat-year-view",6),s.bc("activeDateChange",function(e){return s.yc(t),s.fc().activeDate=e})("monthSelected",function(e){return s.yc(t),s.fc()._monthSelectedInYearView(e)})("selectedChange",function(e){return s.yc(t),s.fc()._goToDateInView(e,"month")}),s.Sb()}if(2&t){const t=s.fc();s.nc("activeDate",t.activeDate)("selected",t.selected)("dateFilter",t.dateFilter)("maxDate",t.maxDate)("minDate",t.minDate)("dateClass",t.dateClass)}}function N(t,e){if(1&t){const t=s.Ub();s.Tb(0,"mat-multi-year-view",7),s.bc("activeDateChange",function(e){return s.yc(t),s.fc().activeDate=e})("yearSelected",function(e){return s.yc(t),s.fc()._yearSelectedInMultiYearView(e)})("selectedChange",function(e){return s.yc(t),s.fc()._goToDateInView(e,"year")}),s.Sb()}if(2&t){const t=s.fc();s.nc("activeDate",t.activeDate)("selected",t.selected)("dateFilter",t.dateFilter)("maxDate",t.maxDate)("minDate",t.minDate)("dateClass",t.dateClass)}}function Y(t,e){}const H=["button"];function j(t,e){1&t&&(s.ec(),s.Tb(0,"svg",3),s.Ob(1,"path",4),s.Sb())}const F=[[["","matDatepickerToggleIcon",""]]],z=["[matDatepickerToggleIcon]"];let V=(()=>{class t{constructor(){this.changes=new h.a,this.calendarLabel="Calendar",this.openCalendarLabel="Open calendar",this.closeCalendarLabel="Close calendar",this.prevMonthLabel="Previous month",this.nextMonthLabel="Next month",this.prevYearLabel="Previous year",this.nextYearLabel="Next year",this.prevMultiYearLabel="Previous 20 years",this.nextMultiYearLabel="Next 20 years",this.switchToMonthViewLabel="Choose date",this.switchToMultiYearViewLabel="Choose month and year"}formatYearRange(t,e){return`${t} \u2013 ${e}`}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Object(s.Jb)({factory:function(){return new t},token:t,providedIn:"root"}),t})();class B{constructor(t,e,n,i,a={},r=t,o){this.value=t,this.displayValue=e,this.ariaLabel=n,this.enabled=i,this.cssClasses=a,this.compareValue=r,this.rawValue=o}}let W=(()=>{class t{constructor(t,e){this._elementRef=t,this._ngZone=e,this.numCols=7,this.activeCell=0,this.isRange=!1,this.cellAspectRatio=1,this.previewStart=null,this.previewEnd=null,this.selectedValueChange=new s.o,this.previewChange=new s.o,this._enterHandler=t=>{if(this._skipNextFocus&&"focus"===t.type)this._skipNextFocus=!1;else if(t.target&&this.isRange){const e=this._getCellFromElement(t.target);e&&this._ngZone.run(()=>this.previewChange.emit({value:e.enabled?e:null,event:t}))}},this._leaveHandler=t=>{null!==this.previewEnd&&this.isRange&&t.target&&U(t.target)&&this._ngZone.run(()=>this.previewChange.emit({value:null,event:t}))},e.runOutsideAngular(()=>{const e=t.nativeElement;e.addEventListener("mouseenter",this._enterHandler,!0),e.addEventListener("focus",this._enterHandler,!0),e.addEventListener("mouseleave",this._leaveHandler,!0),e.addEventListener("blur",this._leaveHandler,!0)})}_cellClicked(t,e){t.enabled&&this.selectedValueChange.emit({value:t.value,event:e})}_isSelected(t){return this.startValue===t||this.endValue===t}ngOnChanges(t){const e=t.numCols,{rows:n,numCols:i}=this;(t.rows||e)&&(this._firstRowOffset=n&&n.length&&n[0].length?i-n[0].length:0),(t.cellAspectRatio||e||!this._cellPadding)&&(this._cellPadding=50*this.cellAspectRatio/i+"%"),!e&&this._cellWidth||(this._cellWidth=100/i+"%")}ngOnDestroy(){const t=this._elementRef.nativeElement;t.removeEventListener("mouseenter",this._enterHandler,!0),t.removeEventListener("focus",this._enterHandler,!0),t.removeEventListener("mouseleave",this._leaveHandler,!0),t.removeEventListener("blur",this._leaveHandler,!0)}_isActiveCell(t,e){let n=t*this.numCols+e;return t&&(n-=this._firstRowOffset),n==this.activeCell}_focusActiveCell(t=!0){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe(Object(b.a)(1)).subscribe(()=>{const e=this._elementRef.nativeElement.querySelector(".mat-calendar-body-active");e&&(t||(this._skipNextFocus=!0),e.focus())})})}_isRangeStart(t){return q(t,this.startValue,this.endValue)}_isRangeEnd(t){return G(t,this.startValue,this.endValue)}_isInRange(t){return J(t,this.startValue,this.endValue,this.isRange)}_isComparisonStart(t){return q(t,this.comparisonStart,this.comparisonEnd)}_isComparisonBridgeStart(t,e,n){if(!this._isComparisonStart(t)||this._isRangeStart(t)||!this._isInRange(t))return!1;let i=this.rows[e][n-1];if(!i){const t=this.rows[e-1];i=t&&t[t.length-1]}return i&&!this._isRangeEnd(i.compareValue)}_isComparisonBridgeEnd(t,e,n){if(!this._isComparisonEnd(t)||this._isRangeEnd(t)||!this._isInRange(t))return!1;let i=this.rows[e][n+1];if(!i){const t=this.rows[e+1];i=t&&t[0]}return i&&!this._isRangeStart(i.compareValue)}_isComparisonEnd(t){return G(t,this.comparisonStart,this.comparisonEnd)}_isInComparisonRange(t){return J(t,this.comparisonStart,this.comparisonEnd,this.isRange)}_isComparisonIdentical(t){return this.comparisonStart===this.comparisonEnd&&t===this.comparisonStart}_isPreviewStart(t){return q(t,this.previewStart,this.previewEnd)}_isPreviewEnd(t){return G(t,this.previewStart,this.previewEnd)}_isInPreview(t){return J(t,this.previewStart,this.previewEnd,this.isRange)}_getCellFromElement(t){let e;if(U(t)?e=t:U(t.parentNode)&&(e=t.parentNode),e){const t=e.getAttribute("data-mat-row"),n=e.getAttribute("data-mat-col");if(t&&n)return this.rows[parseInt(t)][parseInt(n)]}return null}}return t.\u0275fac=function(e){return new(e||t)(s.Nb(s.l),s.Nb(s.B))},t.\u0275cmp=s.Hb({type:t,selectors:[["","mat-calendar-body",""]],hostAttrs:["role","grid","aria-readonly","true",1,"mat-calendar-body"],inputs:{numCols:"numCols",activeCell:"activeCell",isRange:"isRange",cellAspectRatio:"cellAspectRatio",previewStart:"previewStart",previewEnd:"previewEnd",label:"label",rows:"rows",todayValue:"todayValue",startValue:"startValue",endValue:"endValue",labelMinRequiredCells:"labelMinRequiredCells",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd"},outputs:{selectedValueChange:"selectedValueChange",previewChange:"previewChange"},exportAs:["matCalendarBody"],features:[s.Ab],attrs:k,decls:2,vars:2,consts:[["aria-hidden","true",4,"ngIf"],["role","row",4,"ngFor","ngForOf"],["aria-hidden","true"],[1,"mat-calendar-body-label"],["role","row"],["aria-hidden","true","class","mat-calendar-body-label",3,"paddingTop","paddingBottom",4,"ngIf"],["role","gridcell","class","mat-calendar-body-cell",3,"ngClass","tabindex","mat-calendar-body-disabled","mat-calendar-body-active","mat-calendar-body-range-start","mat-calendar-body-range-end","mat-calendar-body-in-range","mat-calendar-body-comparison-bridge-start","mat-calendar-body-comparison-bridge-end","mat-calendar-body-comparison-start","mat-calendar-body-comparison-end","mat-calendar-body-in-comparison-range","mat-calendar-body-preview-start","mat-calendar-body-preview-end","mat-calendar-body-in-preview","width","paddingTop","paddingBottom","click",4,"ngFor","ngForOf"],["aria-hidden","true",1,"mat-calendar-body-label"],["role","gridcell",1,"mat-calendar-body-cell",3,"ngClass","tabindex","click"],[1,"mat-calendar-body-cell-content","mat-focus-indicator"],[1,"mat-calendar-body-cell-preview"]],template:function(t,e){1&t&&(s.Fc(0,S,3,6,"tr",0),s.Fc(1,L,3,2,"tr",1)),2&t&&(s.nc("ngIf",e._firstRowOffset<e.labelMinRequiredCells),s.Cb(1),s.nc("ngForOf",e.rows))},directives:[o.l,o.k,o.j],styles:['.mat-calendar-body{min-width:224px}.mat-calendar-body-label{height:0;line-height:0;text-align:left;padding-left:4.7142857143%;padding-right:4.7142857143%}.mat-calendar-body-cell{position:relative;height:0;line-height:0;text-align:center;outline:none;cursor:pointer}.mat-calendar-body-cell::before,.mat-calendar-body-cell::after,.mat-calendar-body-cell-preview{content:"";position:absolute;top:5%;left:0;z-index:0;box-sizing:border-box;height:90%;width:100%}.mat-calendar-body-range-start:not(.mat-calendar-body-in-comparison-range)::before,.mat-calendar-body-range-start::after,.mat-calendar-body-comparison-start:not(.mat-calendar-body-comparison-bridge-start)::before,.mat-calendar-body-comparison-start::after,.mat-calendar-body-preview-start .mat-calendar-body-cell-preview{left:5%;width:95%;border-top-left-radius:999px;border-bottom-left-radius:999px}[dir=rtl] .mat-calendar-body-range-start:not(.mat-calendar-body-in-comparison-range)::before,[dir=rtl] .mat-calendar-body-range-start::after,[dir=rtl] .mat-calendar-body-comparison-start:not(.mat-calendar-body-comparison-bridge-start)::before,[dir=rtl] .mat-calendar-body-comparison-start::after,[dir=rtl] .mat-calendar-body-preview-start .mat-calendar-body-cell-preview{left:0;border-radius:0;border-top-right-radius:999px;border-bottom-right-radius:999px}.mat-calendar-body-range-end:not(.mat-calendar-body-in-comparison-range)::before,.mat-calendar-body-range-end::after,.mat-calendar-body-comparison-end:not(.mat-calendar-body-comparison-bridge-end)::before,.mat-calendar-body-comparison-end::after,.mat-calendar-body-preview-end .mat-calendar-body-cell-preview{width:95%;border-top-right-radius:999px;border-bottom-right-radius:999px}[dir=rtl] .mat-calendar-body-range-end:not(.mat-calendar-body-in-comparison-range)::before,[dir=rtl] .mat-calendar-body-range-end::after,[dir=rtl] .mat-calendar-body-comparison-end:not(.mat-calendar-body-comparison-bridge-end)::before,[dir=rtl] .mat-calendar-body-comparison-end::after,[dir=rtl] .mat-calendar-body-preview-end .mat-calendar-body-cell-preview{left:5%;border-radius:0;border-top-left-radius:999px;border-bottom-left-radius:999px}[dir=rtl] .mat-calendar-body-comparison-bridge-start.mat-calendar-body-range-end::after,[dir=rtl] .mat-calendar-body-comparison-bridge-end.mat-calendar-body-range-start::after{width:95%;border-top-right-radius:999px;border-bottom-right-radius:999px}.mat-calendar-body-comparison-start.mat-calendar-body-range-end::after,[dir=rtl] .mat-calendar-body-comparison-start.mat-calendar-body-range-end::after,.mat-calendar-body-comparison-end.mat-calendar-body-range-start::after,[dir=rtl] .mat-calendar-body-comparison-end.mat-calendar-body-range-start::after{width:90%}.mat-calendar-body-in-preview .mat-calendar-body-cell-preview{border-top:dashed 1px;border-bottom:dashed 1px}.mat-calendar-body-preview-start .mat-calendar-body-cell-preview{border-left:dashed 1px}[dir=rtl] .mat-calendar-body-preview-start .mat-calendar-body-cell-preview{border-left:0;border-right:dashed 1px}.mat-calendar-body-preview-end .mat-calendar-body-cell-preview{border-right:dashed 1px}[dir=rtl] .mat-calendar-body-preview-end .mat-calendar-body-cell-preview{border-right:0;border-left:dashed 1px}.mat-calendar-body-disabled{cursor:default}.cdk-high-contrast-active .mat-calendar-body-disabled{opacity:.5}.mat-calendar-body-cell-content{top:5%;left:5%;z-index:1;display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:90%;height:90%;line-height:1;border-width:1px;border-style:solid;border-radius:999px}.mat-calendar-body-cell-content.mat-focus-indicator{position:absolute}.cdk-high-contrast-active .mat-calendar-body-cell-content{border:none}.mat-datepicker-dialog .mat-dialog-container{position:relative;overflow:visible}.cdk-high-contrast-active .mat-datepicker-popup:not(:empty),.cdk-high-contrast-active .mat-calendar-body-selected{outline:solid 1px}.cdk-high-contrast-active .mat-calendar-body-today{outline:dotted 1px}.cdk-high-contrast-active .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected),.cdk-high-contrast-active .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected){outline:dotted 2px}[dir=rtl] .mat-calendar-body-label{text-align:right}@media(hover: none){.mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected){background-color:transparent}}\n'],encapsulation:2,changeDetection:0}),t})();function U(t){return"TD"===t.nodeName}function q(t,e,n){return null!==n&&e!==n&&t<n&&t===e}function G(t,e,n){return null!==e&&e!==n&&t>=e&&t===n}function J(t,e,n,i){return i&&null!==e&&null!==n&&e!==n&&t>=e&&t<=n}class Z{constructor(t,e){this.start=t,this.end=e}}let $=(()=>{class t{constructor(t,e){this.selection=t,this._adapter=e,this._selectionChanged=new h.a,this.selectionChanged=this._selectionChanged,this.selection=t}updateSelection(t,e){this.selection=t,this._selectionChanged.next({selection:t,source:e})}ngOnDestroy(){this._selectionChanged.complete()}_isValidDateInstance(t){return this._adapter.isDateInstance(t)&&this._adapter.isValid(t)}clone(){return null}}return t.\u0275fac=function(e){return new(e||t)(s.Nb(void 0),s.Nb(u.c))},t.\u0275dir=s.Ib({type:t}),t})(),X=(()=>{class t extends ${constructor(t){super(null,t)}add(t){super.updateSelection(t,this)}isValid(){return null!=this.selection&&this._isValidDateInstance(this.selection)}isComplete(){return null!=this.selection}clone(){const e=new t(this._adapter);return e.updateSelection(this.selection,this),e}}return t.\u0275fac=function(e){return new(e||t)(s.Xb(u.c))},t.\u0275prov=s.Jb({token:t,factory:t.\u0275fac}),t})();const K={provide:$,deps:[[new s.C,new s.L,$],u.c],useFactory:function(t,e){return t||new X(e)}},Q=new s.s("MAT_DATE_RANGE_SELECTION_STRATEGY");let tt=(()=>{class t{constructor(t,e,n,i,a){this._changeDetectorRef=t,this._dateFormats=e,this._dateAdapter=n,this._dir=i,this._rangeStrategy=a,this._rerenderSubscription=m.a.EMPTY,this.selectedChange=new s.o,this._userSelection=new s.o,this.activeDateChange=new s.o,this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(t){const e=this._activeDate,n=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(n,this.minDate,this.maxDate),this._hasSameMonthAndYear(e,this._activeDate)||this._init()}get selected(){return this._selected}set selected(t){this._selected=t instanceof Z?t:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t)),this._setRanges(this._selected)}get minDate(){return this._minDate}set minDate(t){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}get maxDate(){return this._maxDate}set maxDate(t){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Object(_.a)(null)).subscribe(()=>this._init())}ngOnChanges(t){const e=t.comparisonStart||t.comparisonEnd;e&&!e.firstChange&&this._setRanges(this.selected)}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_dateSelected(t){const e=t.value,n=this._dateAdapter.getYear(this.activeDate),i=this._dateAdapter.getMonth(this.activeDate),a=this._dateAdapter.createDate(n,i,e);let r,o;this._selected instanceof Z?(r=this._getDateInCurrentMonth(this._selected.start),o=this._getDateInCurrentMonth(this._selected.end)):r=o=this._getDateInCurrentMonth(this._selected),r===e&&o===e||this.selectedChange.emit(a),this._userSelection.emit({value:a,event:t.event})}_handleCalendarBodyKeydown(t){const e=this._activeDate,n=this._isRtl();switch(t.keyCode){case g.h:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,n?1:-1);break;case g.l:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,n?-1:1);break;case g.o:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,-7);break;case g.c:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,7);break;case g.g:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case g.d:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,this._dateAdapter.getNumDaysInMonth(this._activeDate)-this._dateAdapter.getDate(this._activeDate));break;case g.k:this.activeDate=t.altKey?this._dateAdapter.addCalendarYears(this._activeDate,-1):this._dateAdapter.addCalendarMonths(this._activeDate,-1);break;case g.j:this.activeDate=t.altKey?this._dateAdapter.addCalendarYears(this._activeDate,1):this._dateAdapter.addCalendarMonths(this._activeDate,1);break;case g.e:case g.m:return void(this.dateFilter&&!this.dateFilter(this._activeDate)||(this._dateSelected({value:this._dateAdapter.getDate(this._activeDate),event:t}),t.preventDefault()));case g.f:return void(null==this._previewEnd||Object(g.r)(t)||(this._previewStart=this._previewEnd=null,this.selectedChange.emit(null),this._userSelection.emit({value:null,event:t}),t.preventDefault(),t.stopPropagation()));default:return}this._dateAdapter.compareDate(e,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),t.preventDefault()}_init(){this._setRanges(this.selected),this._todayDate=this._getCellCompareValue(this._dateAdapter.today()),this._monthLabel=this._dateFormats.display.monthLabel?this._dateAdapter.format(this.activeDate,this._dateFormats.display.monthLabel):this._dateAdapter.getMonthNames("short")[this._dateAdapter.getMonth(this.activeDate)].toLocaleUpperCase();let t=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),1);this._firstWeekOffset=(7+this._dateAdapter.getDayOfWeek(t)-this._dateAdapter.getFirstDayOfWeek())%7,this._initWeekdays(),this._createWeekCells(),this._changeDetectorRef.markForCheck()}_focusActiveCell(t){this._matCalendarBody._focusActiveCell(t)}_previewChanged({event:t,value:e}){if(this._rangeStrategy){const n=this._rangeStrategy.createPreview(e?e.rawValue:null,this.selected,t);this._previewStart=this._getCellCompareValue(n.start),this._previewEnd=this._getCellCompareValue(n.end),this._changeDetectorRef.detectChanges()}}_initWeekdays(){const t=this._dateAdapter.getFirstDayOfWeek(),e=this._dateAdapter.getDayOfWeekNames("narrow");let n=this._dateAdapter.getDayOfWeekNames("long").map((t,n)=>({long:t,narrow:e[n]}));this._weekdays=n.slice(t).concat(n.slice(0,t))}_createWeekCells(){const t=this._dateAdapter.getNumDaysInMonth(this.activeDate),e=this._dateAdapter.getDateNames();this._weeks=[[]];for(let n=0,i=this._firstWeekOffset;n<t;n++,i++){7==i&&(this._weeks.push([]),i=0);const t=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),n+1),a=this._shouldEnableDate(t),r=this._dateAdapter.format(t,this._dateFormats.display.dateA11yLabel),o=this.dateClass?this.dateClass(t,"month"):void 0;this._weeks[this._weeks.length-1].push(new B(n+1,e[n],r,a,o,this._getCellCompareValue(t),t))}}_shouldEnableDate(t){return!!t&&(!this.minDate||this._dateAdapter.compareDate(t,this.minDate)>=0)&&(!this.maxDate||this._dateAdapter.compareDate(t,this.maxDate)<=0)&&(!this.dateFilter||this.dateFilter(t))}_getDateInCurrentMonth(t){return t&&this._hasSameMonthAndYear(t,this.activeDate)?this._dateAdapter.getDate(t):null}_hasSameMonthAndYear(t,e){return!(!t||!e||this._dateAdapter.getMonth(t)!=this._dateAdapter.getMonth(e)||this._dateAdapter.getYear(t)!=this._dateAdapter.getYear(e))}_getCellCompareValue(t){if(t){const e=this._dateAdapter.getYear(t),n=this._dateAdapter.getMonth(t),i=this._dateAdapter.getDate(t);return new Date(e,n,i).getTime()}return null}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setRanges(t){t instanceof Z?(this._rangeStart=this._getCellCompareValue(t.start),this._rangeEnd=this._getCellCompareValue(t.end),this._isRange=!0):(this._rangeStart=this._rangeEnd=this._getCellCompareValue(t),this._isRange=!1),this._comparisonRangeStart=this._getCellCompareValue(this.comparisonStart),this._comparisonRangeEnd=this._getCellCompareValue(this.comparisonEnd)}}return t.\u0275fac=function(e){return new(e||t)(s.Nb(s.h),s.Nb(u.e,8),s.Nb(u.c,8),s.Nb(O.b,8),s.Nb(Q,8))},t.\u0275cmp=s.Hb({type:t,selectors:[["mat-month-view"]],viewQuery:function(t,e){if(1&t&&s.Lc(W,1),2&t){let t;s.uc(t=s.cc())&&(e._matCalendarBody=t.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd"},outputs:{selectedChange:"selectedChange",_userSelection:"_userSelection",activeDateChange:"activeDateChange"},exportAs:["matMonthView"],features:[s.Ab],decls:7,vars:13,consts:[["role","presentation",1,"mat-calendar-table"],[1,"mat-calendar-table-header"],["scope","col",4,"ngFor","ngForOf"],["colspan","7","aria-hidden","true",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"label","rows","todayValue","startValue","endValue","comparisonStart","comparisonEnd","previewStart","previewEnd","isRange","labelMinRequiredCells","activeCell","selectedValueChange","previewChange","keydown"],["scope","col"]],template:function(t,e){1&t&&(s.Tb(0,"table",0),s.Tb(1,"thead",1),s.Tb(2,"tr"),s.Fc(3,D,2,2,"th",2),s.Sb(),s.Tb(4,"tr"),s.Ob(5,"th",3),s.Sb(),s.Sb(),s.Tb(6,"tbody",4),s.bc("selectedValueChange",function(t){return e._dateSelected(t)})("previewChange",function(t){return e._previewChanged(t)})("keydown",function(t){return e._handleCalendarBodyKeydown(t)}),s.Sb(),s.Sb()),2&t&&(s.Cb(3),s.nc("ngForOf",e._weekdays),s.Cb(3),s.nc("label",e._monthLabel)("rows",e._weeks)("todayValue",e._todayDate)("startValue",e._rangeStart)("endValue",e._rangeEnd)("comparisonStart",e._comparisonRangeStart)("comparisonEnd",e._comparisonRangeEnd)("previewStart",e._previewStart)("previewEnd",e._previewEnd)("isRange",e._isRange)("labelMinRequiredCells",3)("activeCell",e._dateAdapter.getDate(e.activeDate)-1))},directives:[o.k,W],encapsulation:2,changeDetection:0}),t})(),et=(()=>{class t{constructor(t,e,n){this._changeDetectorRef=t,this._dateAdapter=e,this._dir=n,this._rerenderSubscription=m.a.EMPTY,this.selectedChange=new s.o,this.yearSelected=new s.o,this.activeDateChange=new s.o,this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(t){let e=this._activeDate;const n=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(n,this.minDate,this.maxDate),nt(this._dateAdapter,e,this._activeDate,this.minDate,this.maxDate)||this._init()}get selected(){return this._selected}set selected(t){this._selected=t instanceof Z?t:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t)),this._setSelectedYear(t)}get minDate(){return this._minDate}set minDate(t){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}get maxDate(){return this._maxDate}set maxDate(t){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Object(_.a)(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_init(){this._todayYear=this._dateAdapter.getYear(this._dateAdapter.today());const t=this._dateAdapter.getYear(this._activeDate)-it(this._dateAdapter,this.activeDate,this.minDate,this.maxDate);this._years=[];for(let e=0,n=[];e<24;e++)n.push(t+e),4==n.length&&(this._years.push(n.map(t=>this._createCellForYear(t))),n=[]);this._changeDetectorRef.markForCheck()}_yearSelected(t){const e=t.value;this.yearSelected.emit(this._dateAdapter.createDate(e,0,1));let n=this._dateAdapter.getMonth(this.activeDate),i=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(e,n,1));this.selectedChange.emit(this._dateAdapter.createDate(e,n,Math.min(this._dateAdapter.getDate(this.activeDate),i)))}_handleCalendarBodyKeydown(t){const e=this._activeDate,n=this._isRtl();switch(t.keyCode){case g.h:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,n?1:-1);break;case g.l:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,n?-1:1);break;case g.o:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-4);break;case g.c:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,4);break;case g.g:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-it(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case g.d:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,24-it(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case g.k:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,t.altKey?-240:-24);break;case g.j:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,t.altKey?240:24);break;case g.e:case g.m:this._yearSelected({value:this._dateAdapter.getYear(this._activeDate),event:t});break;default:return}this._dateAdapter.compareDate(e,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),t.preventDefault()}_getActiveCell(){return it(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_createCellForYear(t){const e=this._dateAdapter.createDate(t,0,1),n=this._dateAdapter.getYearName(e),i=this.dateClass?this.dateClass(e,"multi-year"):void 0;return new B(t,n,n,this._shouldEnableYear(t),i)}_shouldEnableYear(t){if(null==t||this.maxDate&&t>this._dateAdapter.getYear(this.maxDate)||this.minDate&&t<this._dateAdapter.getYear(this.minDate))return!1;if(!this.dateFilter)return!0;for(let e=this._dateAdapter.createDate(t,0,1);this._dateAdapter.getYear(e)==t;e=this._dateAdapter.addCalendarDays(e,1))if(this.dateFilter(e))return!0;return!1}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setSelectedYear(t){if(this._selectedYear=null,t instanceof Z){const e=t.start||t.end;e&&(this._selectedYear=this._dateAdapter.getYear(e))}else t&&(this._selectedYear=this._dateAdapter.getYear(t))}}return t.\u0275fac=function(e){return new(e||t)(s.Nb(s.h),s.Nb(u.c,8),s.Nb(O.b,8))},t.\u0275cmp=s.Hb({type:t,selectors:[["mat-multi-year-view"]],viewQuery:function(t,e){if(1&t&&s.Lc(W,1),2&t){let t;s.uc(t=s.cc())&&(e._matCalendarBody=t.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",activeDateChange:"activeDateChange"},exportAs:["matMultiYearView"],decls:5,vars:7,consts:[["role","presentation",1,"mat-calendar-table"],[1,"mat-calendar-table-header"],["colspan","4",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"rows","todayValue","startValue","endValue","numCols","cellAspectRatio","activeCell","selectedValueChange","keydown"]],template:function(t,e){1&t&&(s.Tb(0,"table",0),s.Tb(1,"thead",1),s.Tb(2,"tr"),s.Ob(3,"th",2),s.Sb(),s.Sb(),s.Tb(4,"tbody",3),s.bc("selectedValueChange",function(t){return e._yearSelected(t)})("keydown",function(t){return e._handleCalendarBodyKeydown(t)}),s.Sb(),s.Sb()),2&t&&(s.Cb(4),s.nc("rows",e._years)("todayValue",e._todayYear)("startValue",e._selectedYear)("endValue",e._selectedYear)("numCols",4)("cellAspectRatio",4/7)("activeCell",e._getActiveCell()))},directives:[W],encapsulation:2,changeDetection:0}),t})();function nt(t,e,n,i,a){const r=t.getYear(e),o=t.getYear(n),s=at(t,i,a);return Math.floor((r-s)/24)===Math.floor((o-s)/24)}function it(t,e,n,i){return((t.getYear(e)-at(t,n,i))%24+24)%24}function at(t,e,n){let i=0;return n?i=t.getYear(n)-24+1:e&&(i=t.getYear(e)),i}let rt=(()=>{class t{constructor(t,e,n,i){this._changeDetectorRef=t,this._dateFormats=e,this._dateAdapter=n,this._dir=i,this._rerenderSubscription=m.a.EMPTY,this.selectedChange=new s.o,this.monthSelected=new s.o,this.activeDateChange=new s.o,this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(t){let e=this._activeDate;const n=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(n,this.minDate,this.maxDate),this._dateAdapter.getYear(e)!==this._dateAdapter.getYear(this._activeDate)&&this._init()}get selected(){return this._selected}set selected(t){this._selected=t instanceof Z?t:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t)),this._setSelectedMonth(t)}get minDate(){return this._minDate}set minDate(t){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}get maxDate(){return this._maxDate}set maxDate(t){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Object(_.a)(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_monthSelected(t){const e=t.value,n=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),e,1);this.monthSelected.emit(n);const i=this._dateAdapter.getNumDaysInMonth(n);this.selectedChange.emit(this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),e,Math.min(this._dateAdapter.getDate(this.activeDate),i)))}_handleCalendarBodyKeydown(t){const e=this._activeDate,n=this._isRtl();switch(t.keyCode){case g.h:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,n?1:-1);break;case g.l:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,n?-1:1);break;case g.o:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-4);break;case g.c:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,4);break;case g.g:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case g.d:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));break;case g.k:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,t.altKey?-10:-1);break;case g.j:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,t.altKey?10:1);break;case g.e:case g.m:this._monthSelected({value:this._dateAdapter.getMonth(this._activeDate),event:t});break;default:return}this._dateAdapter.compareDate(e,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),t.preventDefault()}_init(){this._setSelectedMonth(this.selected),this._todayMonth=this._getMonthInCurrentYear(this._dateAdapter.today()),this._yearLabel=this._dateAdapter.getYearName(this.activeDate);let t=this._dateAdapter.getMonthNames("short");this._months=[[0,1,2,3],[4,5,6,7],[8,9,10,11]].map(e=>e.map(e=>this._createCellForMonth(e,t[e]))),this._changeDetectorRef.markForCheck()}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_getMonthInCurrentYear(t){return t&&this._dateAdapter.getYear(t)==this._dateAdapter.getYear(this.activeDate)?this._dateAdapter.getMonth(t):null}_createCellForMonth(t,e){const n=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),t,1),i=this._dateAdapter.format(n,this._dateFormats.display.monthYearA11yLabel),a=this.dateClass?this.dateClass(n,"year"):void 0;return new B(t,e.toLocaleUpperCase(),i,this._shouldEnableMonth(t),a)}_shouldEnableMonth(t){const e=this._dateAdapter.getYear(this.activeDate);if(null==t||this._isYearAndMonthAfterMaxDate(e,t)||this._isYearAndMonthBeforeMinDate(e,t))return!1;if(!this.dateFilter)return!0;for(let n=this._dateAdapter.createDate(e,t,1);this._dateAdapter.getMonth(n)==t;n=this._dateAdapter.addCalendarDays(n,1))if(this.dateFilter(n))return!0;return!1}_isYearAndMonthAfterMaxDate(t,e){if(this.maxDate){const n=this._dateAdapter.getYear(this.maxDate),i=this._dateAdapter.getMonth(this.maxDate);return t>n||t===n&&e>i}return!1}_isYearAndMonthBeforeMinDate(t,e){if(this.minDate){const n=this._dateAdapter.getYear(this.minDate),i=this._dateAdapter.getMonth(this.minDate);return t<n||t===n&&e<i}return!1}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setSelectedMonth(t){this._selectedMonth=t instanceof Z?this._getMonthInCurrentYear(t.start)||this._getMonthInCurrentYear(t.end):this._getMonthInCurrentYear(t)}}return t.\u0275fac=function(e){return new(e||t)(s.Nb(s.h),s.Nb(u.e,8),s.Nb(u.c,8),s.Nb(O.b,8))},t.\u0275cmp=s.Hb({type:t,selectors:[["mat-year-view"]],viewQuery:function(t,e){if(1&t&&s.Lc(W,1),2&t){let t;s.uc(t=s.cc())&&(e._matCalendarBody=t.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass"},outputs:{selectedChange:"selectedChange",monthSelected:"monthSelected",activeDateChange:"activeDateChange"},exportAs:["matYearView"],decls:5,vars:9,consts:[["role","presentation",1,"mat-calendar-table"],[1,"mat-calendar-table-header"],["colspan","4",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"label","rows","todayValue","startValue","endValue","labelMinRequiredCells","numCols","cellAspectRatio","activeCell","selectedValueChange","keydown"]],template:function(t,e){1&t&&(s.Tb(0,"table",0),s.Tb(1,"thead",1),s.Tb(2,"tr"),s.Ob(3,"th",2),s.Sb(),s.Sb(),s.Tb(4,"tbody",3),s.bc("selectedValueChange",function(t){return e._monthSelected(t)})("keydown",function(t){return e._handleCalendarBodyKeydown(t)}),s.Sb(),s.Sb()),2&t&&(s.Cb(4),s.nc("label",e._yearLabel)("rows",e._months)("todayValue",e._todayMonth)("startValue",e._selectedMonth)("endValue",e._selectedMonth)("labelMinRequiredCells",2)("numCols",4)("cellAspectRatio",4/7)("activeCell",e._dateAdapter.getMonth(e.activeDate)))},directives:[W],encapsulation:2,changeDetection:0}),t})(),ot=0,st=(()=>{class t{constructor(t,e,n,i,a){this._intl=t,this.calendar=e,this._dateAdapter=n,this._dateFormats=i,this._buttonDescriptionId="mat-calendar-button-"+ot++,this.calendar.stateChanges.subscribe(()=>a.markForCheck())}get periodButtonText(){if("month"==this.calendar.currentView)return this._dateAdapter.format(this.calendar.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase();if("year"==this.calendar.currentView)return this._dateAdapter.getYearName(this.calendar.activeDate);const t=this._dateAdapter.getYear(this.calendar.activeDate)-it(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),e=t+24-1,n=this._dateAdapter.getYearName(this._dateAdapter.createDate(t,0,1)),i=this._dateAdapter.getYearName(this._dateAdapter.createDate(e,0,1));return this._intl.formatYearRange(n,i)}get periodButtonLabel(){return"month"==this.calendar.currentView?this._intl.switchToMultiYearViewLabel:this._intl.switchToMonthViewLabel}get prevButtonLabel(){return{month:this._intl.prevMonthLabel,year:this._intl.prevYearLabel,"multi-year":this._intl.prevMultiYearLabel}[this.calendar.currentView]}get nextButtonLabel(){return{month:this._intl.nextMonthLabel,year:this._intl.nextYearLabel,"multi-year":this._intl.nextMultiYearLabel}[this.calendar.currentView]}currentPeriodClicked(){this.calendar.currentView="month"==this.calendar.currentView?"multi-year":"month"}previousClicked(){this.calendar.activeDate="month"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,-1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,"year"==this.calendar.currentView?-1:-24)}nextClicked(){this.calendar.activeDate="month"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,"year"==this.calendar.currentView?1:24)}previousEnabled(){return!this.calendar.minDate||!this.calendar.minDate||!this._isSameView(this.calendar.activeDate,this.calendar.minDate)}nextEnabled(){return!this.calendar.maxDate||!this._isSameView(this.calendar.activeDate,this.calendar.maxDate)}_isSameView(t,e){return"month"==this.calendar.currentView?this._dateAdapter.getYear(t)==this._dateAdapter.getYear(e)&&this._dateAdapter.getMonth(t)==this._dateAdapter.getMonth(e):"year"==this.calendar.currentView?this._dateAdapter.getYear(t)==this._dateAdapter.getYear(e):nt(this._dateAdapter,t,e,this.calendar.minDate,this.calendar.maxDate)}}return t.\u0275fac=function(e){return new(e||t)(s.Nb(V),s.Nb(Object(s.V)(()=>lt)),s.Nb(u.c,8),s.Nb(u.e,8),s.Nb(s.h))},t.\u0275cmp=s.Hb({type:t,selectors:[["mat-calendar-header"]],exportAs:["matCalendarHeader"],ngContentSelectors:E,decls:10,vars:10,consts:[[1,"mat-calendar-header"],[1,"mat-calendar-controls"],["mat-button","","type","button","cdkAriaLive","polite",1,"mat-calendar-period-button",3,"click"],[1,"mat-calendar-arrow"],[1,"mat-calendar-spacer"],["mat-icon-button","","type","button",1,"mat-calendar-previous-button",3,"disabled","click"],["mat-icon-button","","type","button",1,"mat-calendar-next-button",3,"disabled","click"]],template:function(t,e){1&t&&(s.mc(),s.Tb(0,"div",0),s.Tb(1,"div",1),s.Tb(2,"button",2),s.bc("click",function(){return e.currentPeriodClicked()}),s.Tb(3,"span"),s.Hc(4),s.Sb(),s.Ob(5,"div",3),s.Sb(),s.Ob(6,"div",4),s.lc(7),s.Tb(8,"button",5),s.bc("click",function(){return e.previousClicked()}),s.Sb(),s.Tb(9,"button",6),s.bc("click",function(){return e.nextClicked()}),s.Sb(),s.Sb(),s.Sb()),2&t&&(s.Cb(2),s.Db("aria-label",e.periodButtonLabel)("aria-describedby",e._buttonDescriptionId),s.Cb(1),s.Db("id",e._buttonDescriptionId),s.Cb(1),s.Ic(e.periodButtonText),s.Cb(1),s.Fb("mat-calendar-invert","month"!==e.calendar.currentView),s.Cb(3),s.nc("disabled",!e.previousEnabled()),s.Db("aria-label",e.prevButtonLabel),s.Cb(1),s.nc("disabled",!e.nextEnabled()),s.Db("aria-label",e.nextButtonLabel))},directives:[l.a,i.d],encapsulation:2,changeDetection:0}),t})(),lt=(()=>{class t{constructor(t,e,n,i){this._dateAdapter=e,this._dateFormats=n,this._changeDetectorRef=i,this._moveFocusOnNextTick=!1,this.startView="month",this.selectedChange=new s.o,this.yearSelected=new s.o,this.monthSelected=new s.o,this.viewChanged=new s.o(!0),this._userSelection=new s.o,this.stateChanges=new h.a,this._intlChanges=t.changes.subscribe(()=>{i.markForCheck(),this.stateChanges.next()})}get startAt(){return this._startAt}set startAt(t){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}get selected(){return this._selected}set selected(t){this._selected=t instanceof Z?t:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}get minDate(){return this._minDate}set minDate(t){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}get maxDate(){return this._maxDate}set maxDate(t){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}get activeDate(){return this._clampedActiveDate}set activeDate(t){this._clampedActiveDate=this._dateAdapter.clampDate(t,this.minDate,this.maxDate),this.stateChanges.next(),this._changeDetectorRef.markForCheck()}get currentView(){return this._currentView}set currentView(t){const e=this._currentView!==t?t:null;this._currentView=t,this._moveFocusOnNextTick=!0,this._changeDetectorRef.markForCheck(),e&&this.viewChanged.emit(e)}ngAfterContentInit(){this._calendarHeaderPortal=new r.d(this.headerComponent||st),this.activeDate=this.startAt||this._dateAdapter.today(),this._currentView=this.startView}ngAfterViewChecked(){this._moveFocusOnNextTick&&(this._moveFocusOnNextTick=!1,this.focusActiveCell())}ngOnDestroy(){this._intlChanges.unsubscribe(),this.stateChanges.complete()}ngOnChanges(t){const e=t.minDate||t.maxDate||t.dateFilter;if(e&&!e.firstChange){const t=this._getCurrentViewComponent();t&&(this._changeDetectorRef.detectChanges(),t._init())}this.stateChanges.next()}focusActiveCell(){this._getCurrentViewComponent()._focusActiveCell(!1)}updateTodaysDate(){const t=this.currentView;let e;e="month"===t?this.monthView:"year"===t?this.yearView:this.multiYearView,e._init()}_dateSelected(t){const e=t.value;(this.selected instanceof Z||e&&!this._dateAdapter.sameDate(e,this.selected))&&this.selectedChange.emit(e),this._userSelection.emit(t)}_yearSelectedInMultiYearView(t){this.yearSelected.emit(t)}_monthSelectedInYearView(t){this.monthSelected.emit(t)}_goToDateInView(t,e){this.activeDate=t,this.currentView=e}_getCurrentViewComponent(){return this.monthView||this.yearView||this.multiYearView}}return t.\u0275fac=function(e){return new(e||t)(s.Nb(V),s.Nb(u.c,8),s.Nb(u.e,8),s.Nb(s.h))},t.\u0275cmp=s.Hb({type:t,selectors:[["mat-calendar"]],viewQuery:function(t,e){if(1&t&&(s.Lc(tt,1),s.Lc(rt,1),s.Lc(et,1)),2&t){let t;s.uc(t=s.cc())&&(e.monthView=t.first),s.uc(t=s.cc())&&(e.yearView=t.first),s.uc(t=s.cc())&&(e.multiYearView=t.first)}},hostAttrs:[1,"mat-calendar"],inputs:{startView:"startView",startAt:"startAt",selected:"selected",minDate:"minDate",maxDate:"maxDate",headerComponent:"headerComponent",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",_userSelection:"_userSelection"},exportAs:["matCalendar"],features:[s.Bb([K]),s.Ab],decls:5,vars:5,consts:[[3,"cdkPortalOutlet"],["cdkMonitorSubtreeFocus","","tabindex","-1",1,"mat-calendar-content",3,"ngSwitch"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","activeDateChange","_userSelection",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","monthSelected","selectedChange",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","yearSelected","selectedChange",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","activeDateChange","_userSelection"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","monthSelected","selectedChange"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","yearSelected","selectedChange"]],template:function(t,e){1&t&&(s.Fc(0,A,0,0,"ng-template",0),s.Tb(1,"div",1),s.Fc(2,I,1,8,"mat-month-view",2),s.Fc(3,R,1,6,"mat-year-view",3),s.Fc(4,N,1,6,"mat-multi-year-view",4),s.Sb()),2&t&&(s.nc("cdkPortalOutlet",e._calendarHeaderPortal),s.Cb(1),s.nc("ngSwitch",e.currentView),s.Cb(1),s.nc("ngSwitchCase","month"),s.Cb(1),s.nc("ngSwitchCase","year"),s.Cb(1),s.nc("ngSwitchCase","multi-year"))},directives:[r.c,i.e,o.n,o.o,tt,rt,et],styles:['.mat-calendar{display:block}.mat-calendar-header{padding:8px 8px 0 8px}.mat-calendar-content{padding:0 8px 8px 8px;outline:none}.mat-calendar-controls{display:flex;margin:5% calc(33% / 7 - 16px)}.mat-calendar-controls .mat-icon-button:hover .mat-button-focus-overlay{opacity:.04}.mat-calendar-spacer{flex:1 1 auto}.mat-calendar-period-button{min-width:0}.mat-calendar-arrow{display:inline-block;width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top-width:5px;border-top-style:solid;margin:0 0 0 5px;vertical-align:middle}.mat-calendar-arrow.mat-calendar-invert{transform:rotate(180deg)}[dir=rtl] .mat-calendar-arrow{margin:0 5px 0 0}.mat-calendar-previous-button,.mat-calendar-next-button{position:relative}.mat-calendar-previous-button::after,.mat-calendar-next-button::after{top:0;left:0;right:0;bottom:0;position:absolute;content:"";margin:15.5px;border:0 solid currentColor;border-top-width:2px}[dir=rtl] .mat-calendar-previous-button,[dir=rtl] .mat-calendar-next-button{transform:rotate(180deg)}.mat-calendar-previous-button::after{border-left-width:2px;transform:translateX(2px) rotate(-45deg)}.mat-calendar-next-button::after{border-right-width:2px;transform:translateX(-2px) rotate(45deg)}.mat-calendar-table{border-spacing:0;border-collapse:collapse;width:100%}.mat-calendar-table-header th{text-align:center;padding:0 0 8px 0}.mat-calendar-table-header-divider{position:relative;height:1px}.mat-calendar-table-header-divider::after{content:"";position:absolute;top:0;left:-8px;right:-8px;height:1px}\n'],encapsulation:2,changeDetection:0}),t})();const ct={transformPanel:Object(C.n)("transformPanel",[Object(C.k)("void",Object(C.l)({opacity:0,transform:"scale(1, 0.8)"})),Object(C.m)("void => enter",Object(C.e)("120ms cubic-bezier(0, 0, 0.2, 1)",Object(C.l)({opacity:1,transform:"scale(1, 1)"}))),Object(C.m)("* => void",Object(C.e)("100ms linear",Object(C.l)({opacity:0})))]),fadeInCalendar:Object(C.n)("fadeInCalendar",[Object(C.k)("void",Object(C.l)({opacity:0})),Object(C.k)("enter",Object(C.l)({opacity:1})),Object(C.m)("void => *",Object(C.e)("120ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"))])};let dt=0;const ut=new s.s("mat-datepicker-scroll-strategy"),ht={provide:ut,deps:[a.c],useFactory:function(t){return()=>t.scrollStrategies.reposition()}};class mt{constructor(t){this._elementRef=t}}const pt=Object(u.w)(mt);let ft=(()=>{class t extends pt{constructor(t,e,n,i,a,r){super(t),this._changeDetectorRef=e,this._globalModel=n,this._dateAdapter=i,this._rangeSelectionStrategy=a,this._subscriptions=new m.a,this._animationState="enter",this._animationDone=new h.a,this._actionsPortal=null,this._closeButtonText=(null==r?void 0:r.closeCalendarLabel)||"Close calendar"}ngOnInit(){this._model=this._actionsPortal?this._globalModel.clone():this._globalModel}ngAfterViewInit(){this._subscriptions.add(this.datepicker.stateChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})),this._calendar.focusActiveCell()}ngOnDestroy(){this._subscriptions.unsubscribe(),this._animationDone.complete()}_handleUserSelection(t){const e=this._model.selection,n=t.value,i=e instanceof Z;if(i&&this._rangeSelectionStrategy){const i=this._rangeSelectionStrategy.selectionFinished(n,e,t.event);this._model.updateSelection(i,this)}else!n||!i&&this._dateAdapter.sameDate(n,e)||this._model.add(n);this._model&&!this._model.isComplete()||this._actionsPortal||this.datepicker.close()}_startExitAnimation(){this._animationState="void",this._changeDetectorRef.markForCheck()}_getSelected(){return this._model.selection}_applyPendingSelection(){this._model!==this._globalModel&&this._globalModel.updateSelection(this._model.selection,this)}}return t.\u0275fac=function(e){return new(e||t)(s.Nb(s.l),s.Nb(s.h),s.Nb($),s.Nb(u.c),s.Nb(Q,8),s.Nb(V))},t.\u0275cmp=s.Hb({type:t,selectors:[["mat-datepicker-content"]],viewQuery:function(t,e){if(1&t&&s.Lc(lt,1),2&t){let t;s.uc(t=s.cc())&&(e._calendar=t.first)}},hostAttrs:[1,"mat-datepicker-content"],hostVars:3,hostBindings:function(t,e){1&t&&s.Dc("@transformPanel.done",function(){return e._animationDone.next()}),2&t&&(s.Ec("@transformPanel",e._animationState),s.Fb("mat-datepicker-content-touch",e.datepicker.touchUi))},inputs:{color:"color"},exportAs:["matDatepickerContent"],features:[s.zb],decls:5,vars:20,consts:[["cdkTrapFocus","",1,"mat-datepicker-content-container"],[3,"id","ngClass","startAt","startView","minDate","maxDate","dateFilter","headerComponent","selected","dateClass","comparisonStart","comparisonEnd","yearSelected","monthSelected","viewChanged","_userSelection"],[3,"cdkPortalOutlet"],["type","button","mat-raised-button","",1,"mat-datepicker-close-button",3,"color","focus","blur","click"]],template:function(t,e){1&t&&(s.Tb(0,"div",0),s.Tb(1,"mat-calendar",1),s.bc("yearSelected",function(t){return e.datepicker._selectYear(t)})("monthSelected",function(t){return e.datepicker._selectMonth(t)})("viewChanged",function(t){return e.datepicker._viewChanged(t)})("_userSelection",function(t){return e._handleUserSelection(t)}),s.Sb(),s.Fc(2,Y,0,0,"ng-template",2),s.Tb(3,"button",3),s.bc("focus",function(){return e._closeButtonFocused=!0})("blur",function(){return e._closeButtonFocused=!1})("click",function(){return e.datepicker.close()}),s.Hc(4),s.Sb(),s.Sb()),2&t&&(s.Fb("mat-datepicker-content-container-with-actions",e._actionsPortal),s.Cb(1),s.nc("id",e.datepicker.id)("ngClass",e.datepicker.panelClass)("startAt",e.datepicker.startAt)("startView",e.datepicker.startView)("minDate",e.datepicker._getMinDate())("maxDate",e.datepicker._getMaxDate())("dateFilter",e.datepicker._getDateFilter())("headerComponent",e.datepicker.calendarHeaderComponent)("selected",e._getSelected())("dateClass",e.datepicker.dateClass)("comparisonStart",e.comparisonStart)("comparisonEnd",e.comparisonEnd)("@fadeInCalendar","enter"),s.Cb(1),s.nc("cdkPortalOutlet",e._actionsPortal),s.Cb(1),s.Fb("cdk-visually-hidden",!e._closeButtonFocused),s.nc("color",e.color||"primary"),s.Cb(1),s.Ic(e._closeButtonText))},directives:[i.f,lt,o.j,r.c,l.a],styles:[".mat-datepicker-content{display:block;border-radius:4px}.mat-datepicker-content .mat-calendar{width:296px;height:354px}.mat-datepicker-content .mat-datepicker-close-button{position:absolute;top:100%;left:0;margin-top:8px}.ng-animating .mat-datepicker-content .mat-datepicker-close-button{display:none}.mat-datepicker-content-container{display:flex;flex-direction:column;justify-content:space-between}.mat-datepicker-content-touch{display:block;max-height:80vh;overflow:auto;margin:-24px}.mat-datepicker-content-touch .mat-datepicker-content-container{min-height:312px;max-height:788px;min-width:250px;max-width:750px}.mat-datepicker-content-touch .mat-calendar{width:100%;height:auto}@media all and (orientation: landscape){.mat-datepicker-content-touch .mat-datepicker-content-container{width:64vh;height:80vh}}@media all and (orientation: portrait){.mat-datepicker-content-touch .mat-datepicker-content-container{width:80vw;height:100vw}.mat-datepicker-content-touch .mat-datepicker-content-container-with-actions{height:115vw}}\n"],encapsulation:2,data:{animation:[ct.transformPanel,ct.fadeInCalendar]},changeDetection:0}),t})(),gt=(()=>{class t{constructor(t,e,n,i,a,r,o,l,c){this._dialog=t,this._overlay=e,this._ngZone=n,this._viewContainerRef=i,this._dateAdapter=r,this._dir=o,this._document=l,this._model=c,this._inputStateChanges=m.a.EMPTY,this.startView="month",this._touchUi=!1,this.xPosition="start",this.yPosition="below",this.yearSelected=new s.o,this.monthSelected=new s.o,this.viewChanged=new s.o(!0),this.openedStream=new s.o,this.closedStream=new s.o,this._opened=!1,this.id="mat-datepicker-"+dt++,this._focusedElementBeforeOpen=null,this._backdropHarnessClass=`${this.id}-backdrop`,this.stateChanges=new h.a,this._scrollStrategy=a}get startAt(){return this._startAt||(this.datepickerInput?this.datepickerInput.getStartValue():null)}set startAt(t){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}get color(){return this._color||(this.datepickerInput?this.datepickerInput.getThemePalette():void 0)}set color(t){this._color=t}get touchUi(){return this._touchUi}set touchUi(t){this._touchUi=Object(v.c)(t)}get disabled(){return void 0===this._disabled&&this.datepickerInput?this.datepickerInput.disabled:!!this._disabled}set disabled(t){const e=Object(v.c)(t);e!==this._disabled&&(this._disabled=e,this.stateChanges.next(void 0))}get panelClass(){return this._panelClass}set panelClass(t){this._panelClass=Object(v.g)(t)}get opened(){return this._opened}set opened(t){Object(v.c)(t)?this.open():this.close()}_getMinDate(){return this.datepickerInput&&this.datepickerInput.min}_getMaxDate(){return this.datepickerInput&&this.datepickerInput.max}_getDateFilter(){return this.datepickerInput&&this.datepickerInput.dateFilter}ngOnChanges(t){const e=t.xPosition||t.yPosition;e&&!e.firstChange&&this._popupRef&&(this._setConnectedPositions(this._popupRef.getConfig().positionStrategy),this.opened&&this._popupRef.updatePosition()),this.stateChanges.next(void 0)}ngOnDestroy(){this._destroyPopup(),this.close(),this._inputStateChanges.unsubscribe(),this.stateChanges.complete()}select(t){this._model.add(t)}_selectYear(t){this.yearSelected.emit(t)}_selectMonth(t){this.monthSelected.emit(t)}_viewChanged(t){this.viewChanged.emit(t)}registerInput(t){return this._inputStateChanges.unsubscribe(),this.datepickerInput=t,this._inputStateChanges=t.stateChanges.subscribe(()=>this.stateChanges.next(void 0)),this._model}registerActions(t){this._actionsPortal=t}removeActions(t){t===this._actionsPortal&&(this._actionsPortal=null)}open(){this._opened||this.disabled||(this._document&&(this._focusedElementBeforeOpen=this._document.activeElement),this.touchUi?this._openAsDialog():this._openAsPopup(),this._opened=!0,this.openedStream.emit())}close(){if(!this._opened)return;if(this._popupComponentRef&&this._popupRef){const t=this._popupComponentRef.instance;t._startExitAnimation(),t._animationDone.pipe(Object(b.a)(1)).subscribe(()=>this._destroyPopup())}this._dialogRef&&(this._dialogRef.close(),this._dialogRef=null);const t=()=>{this._opened&&(this._opened=!1,this.closedStream.emit(),this._focusedElementBeforeOpen=null)};this._focusedElementBeforeOpen&&"function"==typeof this._focusedElementBeforeOpen.focus?(this._focusedElementBeforeOpen.focus(),setTimeout(t)):t()}_applyPendingSelection(){var t,e;const n=(null===(t=this._popupComponentRef)||void 0===t?void 0:t.instance)||(null===(e=this._dialogRef)||void 0===e?void 0:e.componentInstance);null==n||n._applyPendingSelection()}_openAsDialog(){this._dialogRef&&this._dialogRef.close(),this._dialogRef=this._dialog.open(ft,{direction:this._dir?this._dir.value:"ltr",viewContainerRef:this._viewContainerRef,panelClass:"mat-datepicker-dialog",hasBackdrop:!0,disableClose:!1,backdropClass:["cdk-overlay-dark-backdrop",this._backdropHarnessClass],width:"",height:"",minWidth:"",minHeight:"",maxWidth:"80vw",maxHeight:"",position:{},autoFocus:!1,restoreFocus:!1}),this._dialogRef.afterClosed().subscribe(()=>this.close()),this._forwardContentValues(this._dialogRef.componentInstance)}_openAsPopup(){const t=new r.d(ft,this._viewContainerRef);this._destroyPopup(),this._createPopup(),this._popupComponentRef=this._popupRef.attach(t),this._forwardContentValues(this._popupComponentRef.instance),this._ngZone.onStable.pipe(Object(b.a)(1)).subscribe(()=>{this._popupRef.updatePosition()})}_forwardContentValues(t){t.datepicker=this,t.color=this.color,t._actionsPortal=this._actionsPortal}_createPopup(){const t=this._overlay.position().flexibleConnectedTo(this.datepickerInput.getConnectedOverlayOrigin()).withTransformOriginOn(".mat-datepicker-content").withFlexibleDimensions(!1).withViewportMargin(8).withLockedPosition(),e=new a.d({positionStrategy:this._setConnectedPositions(t),hasBackdrop:!0,backdropClass:["mat-overlay-transparent-backdrop",this._backdropHarnessClass],direction:this._dir,scrollStrategy:this._scrollStrategy(),panelClass:"mat-datepicker-popup"});this._popupRef=this._overlay.create(e),this._popupRef.overlayElement.setAttribute("role","dialog"),Object(p.a)(this._popupRef.backdropClick(),this._popupRef.detachments(),this._popupRef.keydownEvents().pipe(Object(y.a)(t=>t.keyCode===g.f&&!Object(g.r)(t)||this.datepickerInput&&Object(g.r)(t,"altKey")&&t.keyCode===g.o))).subscribe(t=>{t&&t.preventDefault(),this.close()})}_destroyPopup(){this._popupRef&&(this._popupRef.dispose(),this._popupRef=this._popupComponentRef=null)}_setConnectedPositions(t){const e="end"===this.xPosition?"end":"start",n="start"===e?"end":"start",i="above"===this.yPosition?"bottom":"top",a="top"===i?"bottom":"top";return t.withPositions([{originX:e,originY:a,overlayX:e,overlayY:i},{originX:e,originY:i,overlayX:e,overlayY:a},{originX:n,originY:a,overlayX:n,overlayY:i},{originX:n,originY:i,overlayX:n,overlayY:a}])}}return t.\u0275fac=function(e){return new(e||t)(s.Nb(c.b),s.Nb(a.c),s.Nb(s.B),s.Nb(s.R),s.Nb(ut),s.Nb(u.c,8),s.Nb(O.b,8),s.Nb(o.d,8),s.Nb($))},t.\u0275dir=s.Ib({type:t,inputs:{startView:"startView",xPosition:"xPosition",yPosition:"yPosition",startAt:"startAt",color:"color",touchUi:"touchUi",disabled:"disabled",panelClass:"panelClass",opened:"opened",calendarHeaderComponent:"calendarHeaderComponent",dateClass:"dateClass"},outputs:{yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",openedStream:"opened",closedStream:"closed"},features:[s.Ab]}),t})(),bt=(()=>{class t extends gt{}return t.\u0275fac=function(e){return _t(e||t)},t.\u0275cmp=s.Hb({type:t,selectors:[["mat-datepicker"]],exportAs:["matDatepicker"],features:[s.Bb([K,{provide:gt,useExisting:t}]),s.zb],decls:0,vars:0,template:function(t,e){},encapsulation:2,changeDetection:0}),t})();const _t=s.Vb(bt);class yt{constructor(t,e){this.target=t,this.targetElement=e,this.value=this.target.value}}let vt=(()=>{class t{constructor(t,e,n){this._elementRef=t,this._dateAdapter=e,this._dateFormats=n,this.dateChange=new s.o,this.dateInput=new s.o,this.stateChanges=new h.a,this._onTouched=()=>{},this._validatorOnChange=()=>{},this._cvaOnChange=()=>{},this._valueChangesSubscription=m.a.EMPTY,this._localeSubscription=m.a.EMPTY,this._parseValidator=()=>this._lastValueValid?null:{matDatepickerParse:{text:this._elementRef.nativeElement.value}},this._filterValidator=t=>{const e=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t.value));return!e||this._matchesFilter(e)?null:{matDatepickerFilter:!0}},this._minValidator=t=>{const e=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t.value)),n=this._getMinDate();return!n||!e||this._dateAdapter.compareDate(n,e)<=0?null:{matDatepickerMin:{min:n,actual:e}}},this._maxValidator=t=>{const e=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t.value)),n=this._getMaxDate();return!n||!e||this._dateAdapter.compareDate(n,e)>=0?null:{matDatepickerMax:{max:n,actual:e}}},this._lastValueValid=!1,this._localeSubscription=e.localeChanges.subscribe(()=>{this._assignValueProgrammatically(this.value)})}get value(){return this._model?this._getValueFromModel(this._model.selection):this._pendingValue}set value(t){this._assignValueProgrammatically(t)}get disabled(){return!!this._disabled||this._parentDisabled()}set disabled(t){const e=Object(v.c)(t),n=this._elementRef.nativeElement;this._disabled!==e&&(this._disabled=e,this.stateChanges.next(void 0)),e&&this._isInitialized&&n.blur&&n.blur()}_getValidators(){return[this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]}_registerModel(t){this._model=t,this._valueChangesSubscription.unsubscribe(),this._pendingValue&&this._assignValue(this._pendingValue),this._valueChangesSubscription=this._model.selectionChanged.subscribe(t=>{if(this._shouldHandleChangeEvent(t)){const e=this._getValueFromModel(t.selection);this._lastValueValid=this._isValidValue(e),this._cvaOnChange(e),this._onTouched(),this._formatValue(e),this.dateInput.emit(new yt(this,this._elementRef.nativeElement)),this.dateChange.emit(new yt(this,this._elementRef.nativeElement))}})}ngAfterViewInit(){this._isInitialized=!0}ngOnChanges(t){(function(t,e){const n=Object.keys(t);for(let i of n){const{previousValue:n,currentValue:a}=t[i];if(!e.isDateInstance(n)||!e.isDateInstance(a))return!0;if(!e.sameDate(n,a))return!0}return!1})(t,this._dateAdapter)&&this.stateChanges.next(void 0)}ngOnDestroy(){this._valueChangesSubscription.unsubscribe(),this._localeSubscription.unsubscribe(),this.stateChanges.complete()}registerOnValidatorChange(t){this._validatorOnChange=t}validate(t){return this._validator?this._validator(t):null}writeValue(t){this._assignValueProgrammatically(t)}registerOnChange(t){this._cvaOnChange=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t}_onKeydown(t){t.altKey&&t.keyCode===g.c&&!this._elementRef.nativeElement.readOnly&&(this._openPopup(),t.preventDefault())}_onInput(t){const e=this._lastValueValid;let n=this._dateAdapter.parse(t,this._dateFormats.parse.dateInput);this._lastValueValid=this._isValidValue(n),n=this._dateAdapter.getValidDateOrNull(n),this._dateAdapter.sameDate(n,this.value)?(t&&!this.value&&this._cvaOnChange(n),e!==this._lastValueValid&&this._validatorOnChange()):(this._assignValue(n),this._cvaOnChange(n),this.dateInput.emit(new yt(this,this._elementRef.nativeElement)))}_onChange(){this.dateChange.emit(new yt(this,this._elementRef.nativeElement))}_onBlur(){this.value&&this._formatValue(this.value),this._onTouched()}_formatValue(t){this._elementRef.nativeElement.value=t?this._dateAdapter.format(t,this._dateFormats.display.dateInput):""}_assignValue(t){this._model?(this._assignValueToModel(t),this._pendingValue=null):this._pendingValue=t}_isValidValue(t){return!t||this._dateAdapter.isValid(t)}_parentDisabled(){return!1}_assignValueProgrammatically(t){t=this._dateAdapter.deserialize(t),this._lastValueValid=this._isValidValue(t),t=this._dateAdapter.getValidDateOrNull(t),this._assignValue(t),this._formatValue(t)}_matchesFilter(t){const e=this._getDateFilter();return!e||e(t)}}return t.\u0275fac=function(e){return new(e||t)(s.Nb(s.l),s.Nb(u.c,8),s.Nb(u.e,8))},t.\u0275dir=s.Ib({type:t,inputs:{value:"value",disabled:"disabled"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[s.Ab]}),t})();const Ct={provide:w.m,useExisting:Object(s.V)(()=>xt),multi:!0},wt={provide:w.l,useExisting:Object(s.V)(()=>xt),multi:!0};let xt=(()=>{class t extends vt{constructor(t,e,n,i){super(t,e,n),this._formField=i,this._closedSubscription=m.a.EMPTY,this._validator=w.w.compose(super._getValidators())}set matDatepicker(t){t&&(this._datepicker=t,this._closedSubscription=t.closedStream.subscribe(()=>this._onTouched()),this._registerModel(t.registerInput(this)))}get min(){return this._min}set min(t){const e=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t));this._dateAdapter.sameDate(e,this._min)||(this._min=e,this._validatorOnChange())}get max(){return this._max}set max(t){const e=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t));this._dateAdapter.sameDate(e,this._max)||(this._max=e,this._validatorOnChange())}get dateFilter(){return this._dateFilter}set dateFilter(t){const e=this._matchesFilter(this.value);this._dateFilter=t,this._matchesFilter(this.value)!==e&&this._validatorOnChange()}getConnectedOverlayOrigin(){return this._formField?this._formField.getConnectedOverlayOrigin():this._elementRef}getThemePalette(){return this._formField?this._formField.color:void 0}getStartValue(){return this.value}ngOnDestroy(){super.ngOnDestroy(),this._closedSubscription.unsubscribe()}_openPopup(){this._datepicker&&this._datepicker.open()}_getValueFromModel(t){return t}_assignValueToModel(t){this._model&&this._model.updateSelection(t,this)}_getMinDate(){return this._min}_getMaxDate(){return this._max}_getDateFilter(){return this._dateFilter}_shouldHandleChangeEvent(t){return t.source!==this}}return t.\u0275fac=function(e){return new(e||t)(s.Nb(s.l),s.Nb(u.c,8),s.Nb(u.e,8),s.Nb(x.a,8))},t.\u0275dir=s.Ib({type:t,selectors:[["input","matDatepicker",""]],hostAttrs:[1,"mat-datepicker-input"],hostVars:6,hostBindings:function(t,e){1&t&&s.bc("input",function(t){return e._onInput(t.target.value)})("change",function(){return e._onChange()})("blur",function(){return e._onBlur()})("keydown",function(t){return e._onKeydown(t)}),2&t&&(s.Wb("disabled",e.disabled),s.Db("aria-haspopup",e._datepicker?"dialog":null)("aria-owns",(null==e._datepicker?null:e._datepicker.opened)&&e._datepicker.id||null)("min",e.min?e._dateAdapter.toIso8601(e.min):null)("max",e.max?e._dateAdapter.toIso8601(e.max):null)("data-mat-calendar",e._datepicker?e._datepicker.id:null))},inputs:{matDatepicker:"matDatepicker",min:"min",max:"max",dateFilter:["matDatepickerFilter","dateFilter"]},exportAs:["matDatepickerInput"],features:[s.Bb([Ct,wt,{provide:M.a,useExisting:t}]),s.zb]}),t})(),Mt=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=s.Ib({type:t,selectors:[["","matDatepickerToggleIcon",""]]}),t})(),Ot=(()=>{class t{constructor(t,e,n){this._intl=t,this._changeDetectorRef=e,this._stateChanges=m.a.EMPTY;const i=Number(n);this.tabIndex=i||0===i?i:null}get disabled(){return void 0===this._disabled&&this.datepicker?this.datepicker.disabled:!!this._disabled}set disabled(t){this._disabled=Object(v.c)(t)}ngOnChanges(t){t.datepicker&&this._watchStateChanges()}ngOnDestroy(){this._stateChanges.unsubscribe()}ngAfterContentInit(){this._watchStateChanges()}_open(t){this.datepicker&&!this.disabled&&(this.datepicker.open(),t.stopPropagation())}_watchStateChanges(){const t=this.datepicker?this.datepicker.stateChanges:Object(f.a)(),e=this.datepicker&&this.datepicker.datepickerInput?this.datepicker.datepickerInput.stateChanges:Object(f.a)(),n=this.datepicker?Object(p.a)(this.datepicker.openedStream,this.datepicker.closedStream):Object(f.a)();this._stateChanges.unsubscribe(),this._stateChanges=Object(p.a)(this._intl.changes,t,e,n).subscribe(()=>this._changeDetectorRef.markForCheck())}}return t.\u0275fac=function(e){return new(e||t)(s.Nb(V),s.Nb(s.h),s.Yb("tabindex"))},t.\u0275cmp=s.Hb({type:t,selectors:[["mat-datepicker-toggle"]],contentQueries:function(t,e,n){if(1&t&&s.Gb(n,Mt,1),2&t){let t;s.uc(t=s.cc())&&(e._customIcon=t.first)}},viewQuery:function(t,e){if(1&t&&s.Lc(H,1),2&t){let t;s.uc(t=s.cc())&&(e._button=t.first)}},hostAttrs:[1,"mat-datepicker-toggle"],hostVars:8,hostBindings:function(t,e){2&t&&(s.Db("tabindex",null)("data-mat-calendar",e.datepicker?e.datepicker.id:null),s.Fb("mat-datepicker-toggle-active",e.datepicker&&e.datepicker.opened)("mat-accent",e.datepicker&&"accent"===e.datepicker.color)("mat-warn",e.datepicker&&"warn"===e.datepicker.color))},inputs:{tabIndex:"tabIndex",disabled:"disabled",datepicker:["for","datepicker"],ariaLabel:["aria-label","ariaLabel"],disableRipple:"disableRipple"},exportAs:["matDatepickerToggle"],features:[s.Ab],ngContentSelectors:z,decls:4,vars:6,consts:[["mat-icon-button","","type","button",3,"disabled","disableRipple","click"],["button",""],["class","mat-datepicker-toggle-default-icon","viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false",4,"ngIf"],["viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false",1,"mat-datepicker-toggle-default-icon"],["d","M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z"]],template:function(t,e){1&t&&(s.mc(F),s.Tb(0,"button",0,1),s.bc("click",function(t){return e._open(t)}),s.Fc(2,j,2,0,"svg",2),s.lc(3),s.Sb()),2&t&&(s.nc("disabled",e.disabled)("disableRipple",e.disableRipple),s.Db("aria-haspopup",e.datepicker?"dialog":null)("aria-label",e.ariaLabel||e._intl.openCalendarLabel)("tabindex",e.disabled?-1:e.tabIndex),s.Cb(2),s.nc("ngIf",!e._customIcon))},directives:[l.a,o.l],styles:[".mat-form-field-appearance-legacy .mat-form-field-prefix .mat-datepicker-toggle-default-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-datepicker-toggle-default-icon{width:1em}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-datepicker-toggle-default-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-datepicker-toggle-default-icon{display:block;width:1.5em;height:1.5em}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-datepicker-toggle-default-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-datepicker-toggle-default-icon{margin:auto}\n"],encapsulation:2,changeDetection:0}),t})(),kt=(()=>{class t{}return t.\u0275mod=s.Lb({type:t}),t.\u0275inj=s.Kb({factory:function(e){return new(e||t)},providers:[V,ht],imports:[[o.c,l.b,c.e,a.f,i.a,r.f,u.j],d.b]}),t})()},TSSN:function(t,e,n){"use strict";n.d(e,"a",function(){return p}),n.d(e,"b",function(){return N}),n.d(e,"c",function(){return R}),n.d(e,"d",function(){return I});var i=n("8Y7J"),a=n("LRne"),r=n("7+OI"),o=n("cp0P"),s=n("GyhO"),l=n("NXyV"),c=n("IzEk"),d=n("UXun"),u=n("lJxs"),h=n("bOdf"),m=n("eIep");class p{}let f=(()=>{class t extends p{getTranslation(t){return Object(a.a)({})}}return t.\u0275fac=function(e){return g(e||t)},t.\u0275prov=i.Jb({token:t,factory:t.\u0275fac}),t})();const g=i.Vb(f);class b{}let _=(()=>{class t{handle(t){return t.key}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=i.Jb({token:t,factory:t.\u0275fac}),t})();function y(t,e){if(t===e)return!0;if(null===t||null===e)return!1;if(t!=t&&e!=e)return!0;let n,i,a,r=typeof t;if(r==typeof e&&"object"==r){if(!Array.isArray(t)){if(Array.isArray(e))return!1;for(i in a=Object.create(null),t){if(!y(t[i],e[i]))return!1;a[i]=!0}for(i in e)if(!(i in a)&&void 0!==e[i])return!1;return!0}if(!Array.isArray(e))return!1;if((n=t.length)==e.length){for(i=0;i<n;i++)if(!y(t[i],e[i]))return!1;return!0}}return!1}function v(t){return null!=t}function C(t){return t&&"object"==typeof t&&!Array.isArray(t)}function w(t,e){let n=Object.assign({},t);return C(t)&&C(e)&&Object.keys(e).forEach(i=>{C(e[i])?i in t?n[i]=w(t[i],e[i]):Object.assign(n,{[i]:e[i]}):Object.assign(n,{[i]:e[i]})}),n}class x{}let M=(()=>{class t extends x{constructor(){super(...arguments),this.templateMatcher=/{{\s?([^{}\s]*)\s?}}/g}interpolate(t,e){let n;return n="string"==typeof t?this.interpolateString(t,e):"function"==typeof t?this.interpolateFunction(t,e):t,n}getValue(t,e){let n="string"==typeof e?e.split("."):[e];e="";do{e+=n.shift(),!v(t)||!v(t[e])||"object"!=typeof t[e]&&n.length?n.length?e+=".":t=void 0:(t=t[e],e="")}while(n.length);return t}interpolateFunction(t,e){return t(e)}interpolateString(t,e){return e?t.replace(this.templateMatcher,(t,n)=>{let i=this.getValue(e,n);return v(i)?i:t}):t}}return t.\u0275fac=function(e){return O(e||t)},t.\u0275prov=i.Jb({token:t,factory:t.\u0275fac}),t})();const O=i.Vb(M);class k{}let S=(()=>{class t extends k{compile(t,e){return t}compileTranslations(t,e){return t}}return t.\u0275fac=function(e){return T(e||t)},t.\u0275prov=i.Jb({token:t,factory:t.\u0275fac}),t})();const T=i.Vb(S);class P{constructor(){this.currentLang=this.defaultLang,this.translations={},this.langs=[],this.onTranslationChange=new i.o,this.onLangChange=new i.o,this.onDefaultLangChange=new i.o}}const L=new i.s("USE_STORE"),D=new i.s("USE_DEFAULT_LANG"),E=new i.s("DEFAULT_LANGUAGE"),A=new i.s("USE_EXTEND");let I=(()=>{class t{constructor(t,e,n,a,r,o=!0,s=!1,l=!1,c){this.store=t,this.currentLoader=e,this.compiler=n,this.parser=a,this.missingTranslationHandler=r,this.useDefaultLang=o,this.isolate=s,this.extend=l,this.pending=!1,this._onTranslationChange=new i.o,this._onLangChange=new i.o,this._onDefaultLangChange=new i.o,this._langs=[],this._translations={},this._translationRequests={},c&&this.setDefaultLang(c)}get onTranslationChange(){return this.isolate?this._onTranslationChange:this.store.onTranslationChange}get onLangChange(){return this.isolate?this._onLangChange:this.store.onLangChange}get onDefaultLangChange(){return this.isolate?this._onDefaultLangChange:this.store.onDefaultLangChange}get defaultLang(){return this.isolate?this._defaultLang:this.store.defaultLang}set defaultLang(t){this.isolate?this._defaultLang=t:this.store.defaultLang=t}get currentLang(){return this.isolate?this._currentLang:this.store.currentLang}set currentLang(t){this.isolate?this._currentLang=t:this.store.currentLang=t}get langs(){return this.isolate?this._langs:this.store.langs}set langs(t){this.isolate?this._langs=t:this.store.langs=t}get translations(){return this.isolate?this._translations:this.store.translations}set translations(t){this.isolate?this._translations=t:this.store.translations=t}setDefaultLang(t){if(t===this.defaultLang)return;let e=this.retrieveTranslations(t);void 0!==e?(null==this.defaultLang&&(this.defaultLang=t),e.pipe(Object(c.a)(1)).subscribe(e=>{this.changeDefaultLang(t)})):this.changeDefaultLang(t)}getDefaultLang(){return this.defaultLang}use(t){if(t===this.currentLang)return Object(a.a)(this.translations[t]);let e=this.retrieveTranslations(t);return void 0!==e?(this.currentLang||(this.currentLang=t),e.pipe(Object(c.a)(1)).subscribe(e=>{this.changeLang(t)}),e):(this.changeLang(t),Object(a.a)(this.translations[t]))}retrieveTranslations(t){let e;return(void 0===this.translations[t]||this.extend)&&(this._translationRequests[t]=this._translationRequests[t]||this.getTranslation(t),e=this._translationRequests[t]),e}getTranslation(t){this.pending=!0;const e=this.currentLoader.getTranslation(t).pipe(Object(d.a)(1),Object(c.a)(1));return this.loadingTranslations=e.pipe(Object(u.a)(e=>this.compiler.compileTranslations(e,t)),Object(d.a)(1),Object(c.a)(1)),this.loadingTranslations.subscribe({next:e=>{this.translations[t]=this.extend&&this.translations[t]?Object.assign(Object.assign({},e),this.translations[t]):e,this.updateLangs(),this.pending=!1},error:t=>{this.pending=!1}}),e}setTranslation(t,e,n=!1){e=this.compiler.compileTranslations(e,t),this.translations[t]=(n||this.extend)&&this.translations[t]?w(this.translations[t],e):e,this.updateLangs(),this.onTranslationChange.emit({lang:t,translations:this.translations[t]})}getLangs(){return this.langs}addLangs(t){t.forEach(t=>{-1===this.langs.indexOf(t)&&this.langs.push(t)})}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResult(t,e,n){let i;if(e instanceof Array){let i={},s=!1;for(let a of e)i[a]=this.getParsedResult(t,a,n),Object(r.a)(i[a])&&(s=!0);if(s){const t=e.map(t=>Object(r.a)(i[t])?i[t]:Object(a.a)(i[t]));return Object(o.a)(t).pipe(Object(u.a)(t=>{let n={};return t.forEach((t,i)=>{n[e[i]]=t}),n}))}return i}if(t&&(i=this.parser.interpolate(this.parser.getValue(t,e),n)),void 0===i&&null!=this.defaultLang&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(i=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],e),n)),void 0===i){let t={key:e,translateService:this};void 0!==n&&(t.interpolateParams=n),i=this.missingTranslationHandler.handle(t)}return void 0!==i?i:e}get(t,e){if(!v(t)||!t.length)throw new Error('Parameter "key" required');if(this.pending)return this.loadingTranslations.pipe(Object(h.a)(n=>(n=this.getParsedResult(n,t,e),Object(r.a)(n)?n:Object(a.a)(n))));{let n=this.getParsedResult(this.translations[this.currentLang],t,e);return Object(r.a)(n)?n:Object(a.a)(n)}}getStreamOnTranslationChange(t,e){if(!v(t)||!t.length)throw new Error('Parameter "key" required');return Object(s.a)(Object(l.a)(()=>this.get(t,e)),this.onTranslationChange.pipe(Object(m.a)(n=>{const i=this.getParsedResult(n.translations,t,e);return"function"==typeof i.subscribe?i:Object(a.a)(i)})))}stream(t,e){if(!v(t)||!t.length)throw new Error('Parameter "key" required');return Object(s.a)(Object(l.a)(()=>this.get(t,e)),this.onLangChange.pipe(Object(m.a)(n=>{const i=this.getParsedResult(n.translations,t,e);return Object(r.a)(i)?i:Object(a.a)(i)})))}instant(t,e){if(!v(t)||!t.length)throw new Error('Parameter "key" required');let n=this.getParsedResult(this.translations[this.currentLang],t,e);if(Object(r.a)(n)){if(t instanceof Array){let e={};return t.forEach((n,i)=>{e[t[i]]=t[i]}),e}return t}return n}set(t,e,n=this.currentLang){this.translations[n][t]=this.compiler.compile(e,n),this.updateLangs(),this.onTranslationChange.emit({lang:n,translations:this.translations[n]})}changeLang(t){this.currentLang=t,this.onLangChange.emit({lang:t,translations:this.translations[t]}),null==this.defaultLang&&this.changeDefaultLang(t)}changeDefaultLang(t){this.defaultLang=t,this.onDefaultLangChange.emit({lang:t,translations:this.translations[t]})}reloadLang(t){return this.resetLang(t),this.getTranslation(t)}resetLang(t){this._translationRequests[t]=void 0,this.translations[t]=void 0}getBrowserLang(){if("undefined"==typeof window||void 0===window.navigator)return;let t=window.navigator.languages?window.navigator.languages[0]:null;return t=t||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,void 0!==t?(-1!==t.indexOf("-")&&(t=t.split("-")[0]),-1!==t.indexOf("_")&&(t=t.split("_")[0]),t):void 0}getBrowserCultureLang(){if("undefined"==typeof window||void 0===window.navigator)return;let t=window.navigator.languages?window.navigator.languages[0]:null;return t=t||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,t}}return t.\u0275fac=function(e){return new(e||t)(i.Xb(P),i.Xb(p),i.Xb(k),i.Xb(x),i.Xb(b),i.Xb(D),i.Xb(L),i.Xb(A),i.Xb(E))},t.\u0275prov=i.Jb({token:t,factory:t.\u0275fac}),t})(),R=(()=>{class t{constructor(t,e){this.translate=t,this._ref=e,this.value=""}updateValue(t,e,n){let i=e=>{this.value=void 0!==e?e:t,this.lastKey=t,this._ref.markForCheck()};if(n){let a=this.translate.getParsedResult(n,t,e);Object(r.a)(a.subscribe)?a.subscribe(i):i(a)}this.translate.get(t,e).subscribe(i)}transform(t,...e){if(!t||!t.length)return t;if(y(t,this.lastKey)&&y(e,this.lastParams))return this.value;let n;if(v(e[0])&&e.length)if("string"==typeof e[0]&&e[0].length){let t=e[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{n=JSON.parse(t)}catch(i){throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${e[0]}`)}}else"object"!=typeof e[0]||Array.isArray(e[0])||(n=e[0]);return this.lastKey=t,this.lastParams=e,this.updateValue(t,n),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(e=>{this.lastKey&&e.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(t,n,e.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(e=>{this.lastKey&&(this.lastKey=null,this.updateValue(t,n,e.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(t,n))})),this.value}_dispose(){void 0!==this.onTranslationChange&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),void 0!==this.onLangChange&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),void 0!==this.onDefaultLangChange&&(this.onDefaultLangChange.unsubscribe(),this.onDefaultLangChange=void 0)}ngOnDestroy(){this._dispose()}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(I),i.Zb())},t.\u0275pipe=i.Mb({name:"translate",type:t,pure:!1}),t.\u0275prov=i.Jb({token:t,factory:t.\u0275fac}),t})(),N=(()=>{class t{static forRoot(e={}){return{ngModule:t,providers:[e.loader||{provide:p,useClass:f},e.compiler||{provide:k,useClass:S},e.parser||{provide:x,useClass:M},e.missingTranslationHandler||{provide:b,useClass:_},P,{provide:L,useValue:e.isolate},{provide:D,useValue:e.useDefaultLang},{provide:A,useValue:e.extend},{provide:E,useValue:e.defaultLanguage},I]}}static forChild(e={}){return{ngModule:t,providers:[e.loader||{provide:p,useClass:f},e.compiler||{provide:k,useClass:S},e.parser||{provide:x,useClass:M},e.missingTranslationHandler||{provide:b,useClass:_},{provide:L,useValue:e.isolate},{provide:D,useValue:e.useDefaultLang},{provide:A,useValue:e.extend},{provide:E,useValue:e.defaultLanguage},I]}}}return t.\u0275mod=i.Lb({type:t}),t.\u0275inj=i.Kb({factory:function(e){return new(e||t)}}),t})()},Tj54:function(t,e,n){"use strict";n.d(e,"a",function(){return A}),n.d(e,"b",function(){return I});var i=n("8Y7J"),a=n("UhP/"),r=n("8LU1"),o=n("SVse"),s=n("LRne"),l=n("z6cu"),c=n("cp0P"),d=n("quSY"),u=n("vkgz"),h=n("lJxs"),m=n("JIr8"),p=n("nYR2"),f=n("w1tV"),g=n("IzEk"),b=n("IheW"),_=n("cUpR");const y=["*"];function v(t){return Error(`Unable to find icon with the name "${t}"`)}function C(t){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${t}".`)}function w(t){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${t}".`)}class x{constructor(t,e,n){this.url=t,this.svgText=e,this.options=n}}let M=(()=>{class t{constructor(t,e,n,i){this._httpClient=t,this._sanitizer=e,this._errorHandler=i,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass="material-icons",this._document=n}addSvgIcon(t,e,n){return this.addSvgIconInNamespace("",t,e,n)}addSvgIconLiteral(t,e,n){return this.addSvgIconLiteralInNamespace("",t,e,n)}addSvgIconInNamespace(t,e,n,i){return this._addSvgIconConfig(t,e,new x(n,null,i))}addSvgIconResolver(t){return this._resolvers.push(t),this}addSvgIconLiteralInNamespace(t,e,n,a){const r=this._sanitizer.sanitize(i.K.HTML,n);if(!r)throw w(n);return this._addSvgIconConfig(t,e,new x("",r,a))}addSvgIconSet(t,e){return this.addSvgIconSetInNamespace("",t,e)}addSvgIconSetLiteral(t,e){return this.addSvgIconSetLiteralInNamespace("",t,e)}addSvgIconSetInNamespace(t,e,n){return this._addSvgIconSetConfig(t,new x(e,null,n))}addSvgIconSetLiteralInNamespace(t,e,n){const a=this._sanitizer.sanitize(i.K.HTML,e);if(!a)throw w(e);return this._addSvgIconSetConfig(t,new x("",a,n))}registerFontClassAlias(t,e=t){return this._fontCssClassesByAlias.set(t,e),this}classNameForFontAlias(t){return this._fontCssClassesByAlias.get(t)||t}setDefaultFontSetClass(t){return this._defaultFontSetClass=t,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(t){const e=this._sanitizer.sanitize(i.K.RESOURCE_URL,t);if(!e)throw C(t);const n=this._cachedIconsByUrl.get(e);return n?Object(s.a)(O(n)):this._loadSvgIconFromConfig(new x(t,null)).pipe(Object(u.a)(t=>this._cachedIconsByUrl.set(e,t)),Object(h.a)(t=>O(t)))}getNamedSvgIcon(t,e=""){const n=k(e,t);let i=this._svgIconConfigs.get(n);if(i)return this._getSvgFromConfig(i);if(i=this._getIconConfigFromResolvers(e,t),i)return this._svgIconConfigs.set(n,i),this._getSvgFromConfig(i);const a=this._iconSetConfigs.get(e);return a?this._getSvgFromIconSetConfigs(t,a):Object(l.a)(v(n))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(t){return t.svgText?Object(s.a)(O(this._svgElementFromConfig(t))):this._loadSvgIconFromConfig(t).pipe(Object(h.a)(t=>O(t)))}_getSvgFromIconSetConfigs(t,e){const n=this._extractIconWithNameFromAnySet(t,e);if(n)return Object(s.a)(n);const a=e.filter(t=>!t.svgText).map(t=>this._loadSvgIconSetFromConfig(t).pipe(Object(m.a)(e=>{const n=this._sanitizer.sanitize(i.K.RESOURCE_URL,t.url);return this._errorHandler.handleError(new Error(`Loading icon set URL: ${n} failed: ${e.message}`)),Object(s.a)(null)})));return Object(c.a)(a).pipe(Object(h.a)(()=>{const n=this._extractIconWithNameFromAnySet(t,e);if(!n)throw v(t);return n}))}_extractIconWithNameFromAnySet(t,e){for(let n=e.length-1;n>=0;n--){const i=e[n];if(i.svgText&&i.svgText.indexOf(t)>-1){const e=this._svgElementFromConfig(i),n=this._extractSvgIconFromSet(e,t,i.options);if(n)return n}}return null}_loadSvgIconFromConfig(t){return this._fetchIcon(t).pipe(Object(u.a)(e=>t.svgText=e),Object(h.a)(()=>this._svgElementFromConfig(t)))}_loadSvgIconSetFromConfig(t){return t.svgText?Object(s.a)(null):this._fetchIcon(t).pipe(Object(u.a)(e=>t.svgText=e))}_extractSvgIconFromSet(t,e,n){const i=t.querySelector(`[id="${e}"]`);if(!i)return null;const a=i.cloneNode(!0);if(a.removeAttribute("id"),"svg"===a.nodeName.toLowerCase())return this._setSvgAttributes(a,n);if("symbol"===a.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(a),n);const r=this._svgElementFromString("<svg></svg>");return r.appendChild(a),this._setSvgAttributes(r,n)}_svgElementFromString(t){const e=this._document.createElement("DIV");e.innerHTML=t;const n=e.querySelector("svg");if(!n)throw Error("<svg> tag not found");return n}_toSvgElement(t){const e=this._svgElementFromString("<svg></svg>"),n=t.attributes;for(let i=0;i<n.length;i++){const{name:t,value:a}=n[i];"id"!==t&&e.setAttribute(t,a)}for(let i=0;i<t.childNodes.length;i++)t.childNodes[i].nodeType===this._document.ELEMENT_NODE&&e.appendChild(t.childNodes[i].cloneNode(!0));return e}_setSvgAttributes(t,e){return t.setAttribute("fit",""),t.setAttribute("height","100%"),t.setAttribute("width","100%"),t.setAttribute("preserveAspectRatio","xMidYMid meet"),t.setAttribute("focusable","false"),e&&e.viewBox&&t.setAttribute("viewBox",e.viewBox),t}_fetchIcon(t){var e;const{url:n,options:a}=t,r=null!==(e=null==a?void 0:a.withCredentials)&&void 0!==e&&e;if(!this._httpClient)throw Error("Could not find HttpClient provider for use with Angular Material icons. Please include the HttpClientModule from @angular/common/http in your app imports.");if(null==n)throw Error(`Cannot fetch icon from URL "${n}".`);const o=this._sanitizer.sanitize(i.K.RESOURCE_URL,n);if(!o)throw C(n);const s=this._inProgressUrlFetches.get(o);if(s)return s;const l=this._httpClient.get(o,{responseType:"text",withCredentials:r}).pipe(Object(p.a)(()=>this._inProgressUrlFetches.delete(o)),Object(f.a)());return this._inProgressUrlFetches.set(o,l),l}_addSvgIconConfig(t,e,n){return this._svgIconConfigs.set(k(t,e),n),this}_addSvgIconSetConfig(t,e){const n=this._iconSetConfigs.get(t);return n?n.push(e):this._iconSetConfigs.set(t,[e]),this}_svgElementFromConfig(t){if(!t.svgElement){const e=this._svgElementFromString(t.svgText);this._setSvgAttributes(e,t.options),t.svgElement=e}return t.svgElement}_getIconConfigFromResolvers(t,e){for(let i=0;i<this._resolvers.length;i++){const a=this._resolvers[i](e,t);if(a)return(n=a).url&&n.options?new x(a.url,null,a.options):new x(a,null)}var n}}return t.\u0275fac=function(e){return new(e||t)(i.Xb(b.b,8),i.Xb(_.b),i.Xb(o.d,8),i.Xb(i.n))},t.\u0275prov=Object(i.Jb)({factory:function(){return new t(Object(i.Xb)(b.b,8),Object(i.Xb)(_.b),Object(i.Xb)(o.d,8),Object(i.Xb)(i.n))},token:t,providedIn:"root"}),t})();function O(t){return t.cloneNode(!0)}function k(t,e){return t+":"+e}class S{constructor(t){this._elementRef=t}}const T=Object(a.w)(S),P=new i.s("mat-icon-location",{providedIn:"root",factory:function(){const t=Object(i.W)(o.d),e=t?t.location:null;return{getPathname:()=>e?e.pathname+e.search:""}}}),L=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],D=L.map(t=>`[${t}]`).join(", "),E=/^url\(['"]?#(.*?)['"]?\)$/;let A=(()=>{class t extends T{constructor(t,e,n,i,a){super(t),this._iconRegistry=e,this._location=i,this._errorHandler=a,this._inline=!1,this._currentIconFetch=d.a.EMPTY,n||t.nativeElement.setAttribute("aria-hidden","true")}get inline(){return this._inline}set inline(t){this._inline=Object(r.c)(t)}get svgIcon(){return this._svgIcon}set svgIcon(t){t!==this._svgIcon&&(t?this._updateSvgIcon(t):this._svgIcon&&this._clearSvgElement(),this._svgIcon=t)}get fontSet(){return this._fontSet}set fontSet(t){const e=this._cleanupFontValue(t);e!==this._fontSet&&(this._fontSet=e,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(t){const e=this._cleanupFontValue(t);e!==this._fontIcon&&(this._fontIcon=e,this._updateFontIconClasses())}_splitIconName(t){if(!t)return["",""];const e=t.split(":");switch(e.length){case 1:return["",e[0]];case 2:return e;default:throw Error(`Invalid icon name: "${t}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const t=this._elementsWithExternalReferences;if(t&&t.size){const t=this._location.getPathname();t!==this._previousPath&&(this._previousPath=t,this._prependPathToReferences(t))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(t){this._clearSvgElement();const e=t.querySelectorAll("style");for(let i=0;i<e.length;i++)e[i].textContent+=" ";const n=this._location.getPathname();this._previousPath=n,this._cacheChildrenWithExternalReferences(t),this._prependPathToReferences(n),this._elementRef.nativeElement.appendChild(t)}_clearSvgElement(){const t=this._elementRef.nativeElement;let e=t.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();e--;){const n=t.childNodes[e];1===n.nodeType&&"svg"!==n.nodeName.toLowerCase()||t.removeChild(n)}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const t=this._elementRef.nativeElement,e=this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet):this._iconRegistry.getDefaultFontSetClass();e!=this._previousFontSetClass&&(this._previousFontSetClass&&t.classList.remove(this._previousFontSetClass),e&&t.classList.add(e),this._previousFontSetClass=e),this.fontIcon!=this._previousFontIconClass&&(this._previousFontIconClass&&t.classList.remove(this._previousFontIconClass),this.fontIcon&&t.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(t){return"string"==typeof t?t.trim().split(" ")[0]:t}_prependPathToReferences(t){const e=this._elementsWithExternalReferences;e&&e.forEach((e,n)=>{e.forEach(e=>{n.setAttribute(e.name,`url('${t}#${e.value}')`)})})}_cacheChildrenWithExternalReferences(t){const e=t.querySelectorAll(D),n=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let i=0;i<e.length;i++)L.forEach(t=>{const a=e[i],r=a.getAttribute(t),o=r?r.match(E):null;if(o){let e=n.get(a);e||(e=[],n.set(a,e)),e.push({name:t,value:o[1]})}})}_updateSvgIcon(t){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),t){const[e,n]=this._splitIconName(t);e&&(this._svgNamespace=e),n&&(this._svgName=n),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(n,e).pipe(Object(g.a)(1)).subscribe(t=>this._setSvgElement(t),t=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${e}:${n}! ${t.message}`))})}}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.l),i.Nb(M),i.Yb("aria-hidden"),i.Nb(P),i.Nb(i.n))},t.\u0275cmp=i.Hb({type:t,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:7,hostBindings:function(t,e){2&t&&(i.Db("data-mat-icon-type",e._usingFontIcon()?"font":"svg")("data-mat-icon-name",e._svgName||e.fontIcon)("data-mat-icon-namespace",e._svgNamespace||e.fontSet),i.Fb("mat-icon-inline",e.inline)("mat-icon-no-color","primary"!==e.color&&"accent"!==e.color&&"warn"!==e.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[i.zb],ngContentSelectors:y,decls:1,vars:0,template:function(t,e){1&t&&(i.mc(),i.lc(0))},styles:[".mat-icon{background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}\n"],encapsulation:2,changeDetection:0}),t})(),I=(()=>{class t{}return t.\u0275mod=i.Lb({type:t}),t.\u0275inj=i.Kb({factory:function(e){return new(e||t)},imports:[[a.j],a.j]}),t})()},UDhR:function(t,e,n){!function(t){"use strict";t.defineLocale("id",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des".split("_"),weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|siang|sore|malam/,meridiemHour:function(t,e){return 12===t&&(t=0),"pagi"===e?t:"siang"===e?t>=11?t:t+12:"sore"===e||"malam"===e?t+12:void 0},meridiem:function(t,e,n){return t<11?"pagi":t<15?"siang":t<19?"sore":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",ss:"%d detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:0,doy:6}})}(n("wd/R"))},UPR3:function(t,e,n){"use strict";n.d(e,"a",function(){return w});var i=n("8Y7J"),a=n("s7LF"),r=n("UhP/"),o=n("wd/R"),s=n("v/fa"),l=n("DejY");const c=o;let d=(()=>{class t extends l.b{constructor(t){super(t)}parse(t,e){return t&&"string"==typeof t?this._createMoment2(t,e,this.locale,!0):t?this._createMoment2(t).locale(this.locale):null}_createMoment2(...t){return c(...t)}}return t.\u0275fac=function(e){return new(e||t)(i.Xb(r.f,8))},t.\u0275prov=i.Jb({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();var u=n("TSSN"),h=n("Q2Ze"),m=n("e6WT"),p=n("TN/R"),f=n("q6Qu"),g=n("SVse");function b(t,e){1&t&&(i.Tb(0,"mat-error"),i.Hc(1),i.gc(2,"translate"),i.Sb()),2&t&&(i.Cb(1),i.Ic(i.hc(2,1,"common.error.requis")))}function _(t,e){1&t&&(i.Tb(0,"mat-error"),i.Hc(1),i.gc(2,"translate"),i.Sb()),2&t&&(i.Cb(1),i.Ic(i.hc(2,1,"common.error.date")))}function y(t,e){if(1&t&&(i.Tb(0,"mat-error"),i.Hc(1),i.gc(2,"translate"),i.Sb()),2&t){const t=i.fc();i.Cb(1),i.Ic(i.hc(2,1,t.errorMessageMin))}}function v(t,e){if(1&t&&(i.Tb(0,"mat-error"),i.Hc(1),i.gc(2,"translate"),i.Sb()),2&t){const t=i.fc();i.Cb(1),i.Ic(i.hc(2,1,t.errorMessageMax))}}const C={parse:{dateInput:"DD/MM/YYYY"},display:{dateInput:"DD/MM/YYYY",dateA11yLabel:"DD/MM/YYYY",monthYearLabel:"MMMM YYYY",monthYearA11yLabel:"MMMM YYYY"}};let w=(()=>{class t extends s.a{constructor(t,e){super(t),this.translateService=t,this.changeDetectorRef=e,this.dateControl=new a.e,this.minDate=o().subtract(100,"years").toDate(),this.maxDate=new Date,this.startDate=o("1980-01-01").toDate(),this.errorMessageMin="common.error.date.min",this.errorMessageMax="common.error.date.max",this.dateChangeEvent=new i.o,this.onChange=t=>{},this.onTouched=()=>{}}writeValue(t){this.dateControl.setValue(t),t&&this.dateControl.markAsTouched()}onDateChange(t){const e=t.value?o(t.value).format("YYYY-MM-DD"):null;this.onChange(e),this.dateChangeEvent.emit()}doesControlHaveError(t){return this.dateControl.hasError(t)}registerOnChange(t){this.onChange=t,this.changeDetectorRef.markForCheck()}registerOnTouched(t){this.onTouched=t}setDisabledState(t){t?this.dateControl.disable():this.dateControl.enable()}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(u.d),i.Nb(i.h))},t.\u0275cmp=i.Hb({type:t,selectors:[["app-date-form-2"]],inputs:{inputTitle:"inputTitle",isRequired:"isRequired",minDate:"minDate",maxDate:"maxDate",startDate:"startDate",errorMessageMin:"errorMessageMin",errorMessageMax:"errorMessageMax"},outputs:{dateChangeEvent:"dateChangeEvent"},features:[i.Bb([{provide:r.c,useClass:d,deps:[r.f]},{provide:r.e,useValue:C},{provide:a.m,useExisting:Object(i.V)(()=>t),multi:!0}]),i.zb],decls:9,vars:11,consts:[["matInput","","data-cy","dp",3,"formControl","appLabel","matDatepicker","min","max","required","dateChange"],["matSuffix","",3,"for"],["color","primary"],["dp",""],[4,"ngIf"]],template:function(t,e){if(1&t&&(i.Tb(0,"mat-form-field"),i.Tb(1,"input",0),i.bc("dateChange",function(t){return e.onDateChange(t)}),i.Sb(),i.Ob(2,"mat-datepicker-toggle",1),i.Ob(3,"mat-datepicker",2,3),i.Fc(5,b,3,3,"mat-error",4),i.Fc(6,_,3,3,"mat-error",4),i.Fc(7,y,3,3,"mat-error",4),i.Fc(8,v,3,3,"mat-error",4),i.Sb()),2&t){const t=i.vc(4);i.Cb(1),i.nc("formControl",e.dateControl)("appLabel",e.inputTitle)("matDatepicker",t)("min",e.minDate)("max",e.maxDate)("required",e.isRequired),i.Cb(1),i.nc("for",t),i.Cb(3),i.nc("ngIf",e.doesControlHaveError("required")&&!e.doesControlHaveError("matDatepickerParse")),i.Cb(1),i.nc("ngIf",e.doesControlHaveError("matDatepickerParse")),i.Cb(1),i.nc("ngIf",e.doesControlHaveError("matDatepickerMin")),i.Cb(1),i.nc("ngIf",e.doesControlHaveError("matDatepickerMax"))}},directives:[h.c,m.b,a.c,p.b,a.o,a.f,f.a,a.v,p.d,h.h,p.a,g.l,h.b],pipes:[u.c],styles:["mat-form-field[_ngcontent-%COMP%]{width:100%}"],changeDetection:0}),t})()},USCx:function(t,e,n){!function(t){"use strict";t.defineLocale("ga",{months:["Ean\xe1ir","Feabhra","M\xe1rta","Aibre\xe1n","Bealtaine","Meitheamh","I\xfail","L\xfanasa","Me\xe1n F\xf3mhair","Deireadh F\xf3mhair","Samhain","Nollaig"],monthsShort:["Ean","Feabh","M\xe1rt","Aib","Beal","Meith","I\xfail","L\xfan","M.F.","D.F.","Samh","Noll"],monthsParseExact:!0,weekdays:["D\xe9 Domhnaigh","D\xe9 Luain","D\xe9 M\xe1irt","D\xe9 C\xe9adaoin","D\xe9ardaoin","D\xe9 hAoine","D\xe9 Sathairn"],weekdaysShort:["Domh","Luan","M\xe1irt","C\xe9ad","D\xe9ar","Aoine","Sath"],weekdaysMin:["Do","Lu","M\xe1","C\xe9","D\xe9","A","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Inniu ag] LT",nextDay:"[Am\xe1rach ag] LT",nextWeek:"dddd [ag] LT",lastDay:"[Inn\xe9 ag] LT",lastWeek:"dddd [seo caite] [ag] LT",sameElse:"L"},relativeTime:{future:"i %s",past:"%s \xf3 shin",s:"c\xfapla soicind",ss:"%d soicind",m:"n\xf3im\xe9ad",mm:"%d n\xf3im\xe9ad",h:"uair an chloig",hh:"%d uair an chloig",d:"l\xe1",dd:"%d l\xe1",M:"m\xed",MM:"%d m\xedonna",y:"bliain",yy:"%d bliain"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(t){return t+(1===t?"d":t%10==2?"na":"mh")},week:{dow:1,doy:4}})}(n("wd/R"))},UXun:function(t,e,n){"use strict";n.d(e,"a",function(){return a});var i=n("jtHE");function a(t,e,n){let a;return a=t&&"object"==typeof t?t:{bufferSize:t,windowTime:e,refCount:!1,scheduler:n},t=>t.lift(function({bufferSize:t=Number.POSITIVE_INFINITY,windowTime:e=Number.POSITIVE_INFINITY,refCount:n,scheduler:a}){let r,o,s=0,l=!1,c=!1;return function(d){let u;s++,!r||l?(l=!1,r=new i.a(t,e,a),u=r.subscribe(this),o=d.subscribe({next(t){r.next(t)},error(t){l=!0,r.error(t)},complete(){c=!0,o=void 0,r.complete()}})):u=r.subscribe(this),this.add(()=>{s--,u.unsubscribe(),o&&!c&&n&&0===s&&(o.unsubscribe(),o=void 0,r=void 0)})}}(a))}},"UhP/":function(t,e,n){"use strict";n.d(e,"a",function(){return _}),n.d(e,"b",function(){return y}),n.d(e,"c",function(){return L}),n.d(e,"d",function(){return A}),n.d(e,"e",function(){return D}),n.d(e,"f",function(){return P}),n.d(e,"g",function(){return tt}),n.d(e,"h",function(){return Z}),n.d(e,"i",function(){return W}),n.d(e,"j",function(){return w}),n.d(e,"k",function(){return I}),n.d(e,"l",function(){return Y}),n.d(e,"m",function(){return at}),n.d(e,"n",function(){return st}),n.d(e,"o",function(){return nt}),n.d(e,"p",function(){return G}),n.d(e,"q",function(){return J}),n.d(e,"r",function(){return U}),n.d(e,"s",function(){return q}),n.d(e,"t",function(){return B}),n.d(e,"u",function(){return rt}),n.d(e,"v",function(){return ot}),n.d(e,"w",function(){return M}),n.d(e,"x",function(){return O}),n.d(e,"y",function(){return x}),n.d(e,"z",function(){return S}),n.d(e,"A",function(){return T}),n.d(e,"B",function(){return k}),n.d(e,"C",function(){return R});var i=n("8Y7J"),a=n("YEUz"),r=n("9gLZ");const o=new i.Q("11.1.1");var s=n("SVse"),l=n("8LU1"),c=n("XNiG"),d=n("HDdC"),u=n("SCoL"),h=n("JX91"),m=n("omvX"),p=n("Ht+U");function f(t,e){if(1&t&&i.Ob(0,"mat-pseudo-checkbox",4),2&t){const t=i.fc();i.nc("state",t.selected?"checked":"unchecked")("disabled",t.disabled)}}function g(t,e){if(1&t&&(i.Tb(0,"span",5),i.Hc(1),i.Sb()),2&t){const t=i.fc();i.Cb(1),i.Jc("(",t.group.label,")")}}const b=["*"];let _=(()=>{class t{}return t.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)",t.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)",t.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)",t.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)",t})(),y=(()=>{class t{}return t.COMPLEX="375ms",t.ENTERING="225ms",t.EXITING="195ms",t})();const v=new i.Q("11.1.1"),C=new i.s("mat-sanity-checks",{providedIn:"root",factory:function(){return!0}});let w=(()=>{class t{constructor(t,e,n){this._hasDoneGlobalChecks=!1,this._document=n,t._applyBodyHighContrastModeCssClasses(),this._sanityChecks=e,this._hasDoneGlobalChecks||(this._checkDoctypeIsDefined(),this._checkThemeIsPresent(),this._checkCdkVersionMatch(),this._hasDoneGlobalChecks=!0)}_getWindow(){const t=this._document.defaultView||window;return"object"==typeof t&&t?t:null}_checksAreEnabled(){return Object(i.X)()&&!this._isTestEnv()}_isTestEnv(){const t=this._getWindow();return t&&(t.__karma__||t.jasmine)}_checkDoctypeIsDefined(){this._checksAreEnabled()&&(!0===this._sanityChecks||this._sanityChecks.doctype)&&!this._document.doctype&&console.warn("Current document does not have a doctype. This may cause some Angular Material components not to behave as expected.")}_checkThemeIsPresent(){if(!this._checksAreEnabled()||!1===this._sanityChecks||!this._sanityChecks.theme||!this._document.body||"function"!=typeof getComputedStyle)return;const t=this._document.createElement("div");t.classList.add("mat-theme-loaded-marker"),this._document.body.appendChild(t);const e=getComputedStyle(t);e&&"none"!==e.display&&console.warn("Could not find Angular Material core theme. Most Material components may not work as expected. For more info refer to the theming guide: https://material.angular.io/guide/theming"),this._document.body.removeChild(t)}_checkCdkVersionMatch(){this._checksAreEnabled()&&(!0===this._sanityChecks||this._sanityChecks.version)&&v.full!==o.full&&console.warn("The Angular Material version ("+v.full+") does not match the Angular CDK version ("+o.full+").\nPlease ensure the versions of these two packages exactly match.")}}return t.\u0275mod=i.Lb({type:t}),t.\u0275inj=i.Kb({factory:function(e){return new(e||t)(i.Xb(a.j),i.Xb(C,8),i.Xb(s.d))},imports:[[r.a],r.a]}),t})();function x(t){return class extends t{constructor(...t){super(...t),this._disabled=!1}get disabled(){return this._disabled}set disabled(t){this._disabled=Object(l.c)(t)}}}function M(t,e){return class extends t{constructor(...t){super(...t),this.defaultColor=e,this.color=e}get color(){return this._color}set color(t){const e=t||this.defaultColor;e!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),e&&this._elementRef.nativeElement.classList.add(`mat-${e}`),this._color=e)}}}function O(t){return class extends t{constructor(...t){super(...t),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(t){this._disableRipple=Object(l.c)(t)}}}function k(t,e=0){return class extends t{constructor(...t){super(...t),this._tabIndex=e,this.defaultTabIndex=e}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(t){this._tabIndex=null!=t?Object(l.f)(t):this.defaultTabIndex}}}function S(t){return class extends t{constructor(...t){super(...t),this.errorState=!1,this.stateChanges=new c.a}updateErrorState(){const t=this.errorState,e=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);e!==t&&(this.errorState=e,this.stateChanges.next())}}}function T(t){return class extends t{constructor(...t){super(...t),this._isInitialized=!1,this._pendingSubscribers=[],this.initialized=new d.a(t=>{this._isInitialized?this._notifySubscriber(t):this._pendingSubscribers.push(t)})}_markInitialized(){this._isInitialized=!0,this._pendingSubscribers.forEach(this._notifySubscriber),this._pendingSubscribers=null}_notifySubscriber(t){t.next(),t.complete()}}}const P=new i.s("MAT_DATE_LOCALE",{providedIn:"root",factory:function(){return Object(i.W)(i.w)}});class L{constructor(){this._localeChanges=new c.a,this.localeChanges=this._localeChanges}getValidDateOrNull(t){return this.isDateInstance(t)&&this.isValid(t)?t:null}deserialize(t){return null==t||this.isDateInstance(t)&&this.isValid(t)?t:this.invalid()}setLocale(t){this.locale=t,this._localeChanges.next()}compareDate(t,e){return this.getYear(t)-this.getYear(e)||this.getMonth(t)-this.getMonth(e)||this.getDate(t)-this.getDate(e)}sameDate(t,e){if(t&&e){let n=this.isValid(t),i=this.isValid(e);return n&&i?!this.compareDate(t,e):n==i}return t==e}clampDate(t,e,n){return e&&this.compareDate(t,e)<0?e:n&&this.compareDate(t,n)>0?n:t}}const D=new i.s("mat-date-formats");let E;try{E="undefined"!=typeof Intl}catch(lt){E=!1}let A=(()=>{class t{isErrorState(t,e){return!!(t&&t.invalid&&(t.touched||e&&e.submitted))}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Object(i.Jb)({factory:function(){return new t},token:t,providedIn:"root"}),t})(),I=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.Ib({type:t,selectors:[["","mat-line",""],["","matLine",""]],hostAttrs:[1,"mat-line"]}),t})();function R(t,e,n="mat"){t.changes.pipe(Object(h.a)(t)).subscribe(({length:t})=>{N(e,`${n}-2-line`,!1),N(e,`${n}-3-line`,!1),N(e,`${n}-multi-line`,!1),2===t||3===t?N(e,`${n}-${t}-line`,!0):t>3&&N(e,`${n}-multi-line`,!0)})}function N(t,e,n){const i=t.nativeElement.classList;n?i.add(e):i.remove(e)}let Y=(()=>{class t{}return t.\u0275mod=i.Lb({type:t}),t.\u0275inj=i.Kb({factory:function(e){return new(e||t)},imports:[[w],w]}),t})();class H{constructor(t,e,n){this._renderer=t,this.element=e,this.config=n,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const j={enterDuration:450,exitDuration:400},F=Object(u.f)({passive:!0}),z=["mousedown","touchstart"],V=["mouseup","mouseleave","touchend","touchcancel"];class B{constructor(t,e,n,i){this._target=t,this._ngZone=e,this._isPointerDown=!1,this._activeRipples=new Set,this._pointerUpEventsRegistered=!1,i.isBrowser&&(this._containerElement=Object(l.e)(n))}fadeInRipple(t,e,n={}){const i=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),a=Object.assign(Object.assign({},j),n.animation);n.centered&&(t=i.left+i.width/2,e=i.top+i.height/2);const r=n.radius||function(t,e,n){const i=Math.max(Math.abs(t-n.left),Math.abs(t-n.right)),a=Math.max(Math.abs(e-n.top),Math.abs(e-n.bottom));return Math.sqrt(i*i+a*a)}(t,e,i),o=t-i.left,s=e-i.top,l=a.enterDuration,c=document.createElement("div");c.classList.add("mat-ripple-element"),c.style.left=o-r+"px",c.style.top=s-r+"px",c.style.height=2*r+"px",c.style.width=2*r+"px",null!=n.color&&(c.style.backgroundColor=n.color),c.style.transitionDuration=`${l}ms`,this._containerElement.appendChild(c),window.getComputedStyle(c).getPropertyValue("opacity"),c.style.transform="scale(1)";const d=new H(this,c,n);return d.state=0,this._activeRipples.add(d),n.persistent||(this._mostRecentTransientRipple=d),this._runTimeoutOutsideZone(()=>{const t=d===this._mostRecentTransientRipple;d.state=1,n.persistent||t&&this._isPointerDown||d.fadeOut()},l),d}fadeOutRipple(t){const e=this._activeRipples.delete(t);if(t===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),this._activeRipples.size||(this._containerRect=null),!e)return;const n=t.element,i=Object.assign(Object.assign({},j),t.config.animation);n.style.transitionDuration=`${i.exitDuration}ms`,n.style.opacity="0",t.state=2,this._runTimeoutOutsideZone(()=>{t.state=3,n.parentNode.removeChild(n)},i.exitDuration)}fadeOutAll(){this._activeRipples.forEach(t=>t.fadeOut())}setupTriggerEvents(t){const e=Object(l.e)(t);e&&e!==this._triggerElement&&(this._removeTriggerEvents(),this._triggerElement=e,this._registerEvents(z))}handleEvent(t){"mousedown"===t.type?this._onMousedown(t):"touchstart"===t.type?this._onTouchStart(t):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(V),this._pointerUpEventsRegistered=!0)}_onMousedown(t){const e=Object(a.l)(t),n=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;this._target.rippleDisabled||e||n||(this._isPointerDown=!0,this.fadeInRipple(t.clientX,t.clientY,this._target.rippleConfig))}_onTouchStart(t){if(!this._target.rippleDisabled){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;const e=t.changedTouches;for(let t=0;t<e.length;t++)this.fadeInRipple(e[t].clientX,e[t].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._activeRipples.forEach(t=>{!t.config.persistent&&(1===t.state||t.config.terminateOnPointerUp&&0===t.state)&&t.fadeOut()}))}_runTimeoutOutsideZone(t,e=0){this._ngZone.runOutsideAngular(()=>setTimeout(t,e))}_registerEvents(t){this._ngZone.runOutsideAngular(()=>{t.forEach(t=>{this._triggerElement.addEventListener(t,this,F)})})}_removeTriggerEvents(){this._triggerElement&&(z.forEach(t=>{this._triggerElement.removeEventListener(t,this,F)}),this._pointerUpEventsRegistered&&V.forEach(t=>{this._triggerElement.removeEventListener(t,this,F)}))}}const W=new i.s("mat-ripple-global-options");let U=(()=>{class t{constructor(t,e,n,i,a){this._elementRef=t,this._animationMode=a,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=i||{},this._rippleRenderer=new B(this,e,t,n)}get disabled(){return this._disabled}set disabled(t){this._disabled=t,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(t){this._trigger=t,this._setupTriggerEventsIfEnabled()}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:Object.assign(Object.assign(Object.assign({},this._globalOptions.animation),"NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(t,e=0,n){return"number"==typeof t?this._rippleRenderer.fadeInRipple(t,e,Object.assign(Object.assign({},this.rippleConfig),n)):this._rippleRenderer.fadeInRipple(0,0,Object.assign(Object.assign({},this.rippleConfig),t))}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.l),i.Nb(i.B),i.Nb(u.a),i.Nb(W,8),i.Nb(m.a,8))},t.\u0275dir=i.Ib({type:t,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(t,e){2&t&&i.Fb("mat-ripple-unbounded",e.unbounded)},inputs:{radius:["matRippleRadius","radius"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"],color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],animation:["matRippleAnimation","animation"]},exportAs:["matRipple"]}),t})(),q=(()=>{class t{}return t.\u0275mod=i.Lb({type:t}),t.\u0275inj=i.Kb({factory:function(e){return new(e||t)},imports:[[w,u.b],w]}),t})(),G=(()=>{class t{constructor(t){this._animationMode=t,this.state="unchecked",this.disabled=!1}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(m.a,8))},t.\u0275cmp=i.Hb({type:t,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(t,e){2&t&&i.Fb("mat-pseudo-checkbox-indeterminate","indeterminate"===e.state)("mat-pseudo-checkbox-checked","checked"===e.state)("mat-pseudo-checkbox-disabled",e.disabled)("_mat-animation-noopable","NoopAnimations"===e._animationMode)},inputs:{state:"state",disabled:"disabled"},decls:0,vars:0,template:function(t,e){},styles:['.mat-pseudo-checkbox{width:16px;height:16px;border:2px solid;border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox.mat-pseudo-checkbox-indeterminate{border-color:transparent}._mat-animation-noopable.mat-pseudo-checkbox{transition:none;animation:none}._mat-animation-noopable.mat-pseudo-checkbox::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{top:5px;left:1px;width:10px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{top:2.4px;left:1px;width:8px;height:3px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}\n'],encapsulation:2,changeDetection:0}),t})(),J=(()=>{class t{}return t.\u0275mod=i.Lb({type:t}),t.\u0275inj=i.Kb({factory:function(e){return new(e||t)},imports:[[w]]}),t})();const Z=new i.s("MAT_OPTION_PARENT_COMPONENT");class ${}const X=x($);let K=0,Q=(()=>{class t extends X{constructor(t){var e;super(),this._labelId="mat-optgroup-label-"+K++,this._inert=null!==(e=null==t?void 0:t.inertGroups)&&void 0!==e&&e}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(Z,8))},t.\u0275dir=i.Ib({type:t,inputs:{label:"label"},features:[i.zb]}),t})();const tt=new i.s("MatOptgroup");let et=0;class nt{constructor(t,e=!1){this.source=t,this.isUserInput=e}}let it=(()=>{class t{constructor(t,e,n,a){this._element=t,this._changeDetectorRef=e,this._parent=n,this.group=a,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+et++,this.onSelectionChange=new i.o,this._stateChanges=new c.a}get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(t){this._disabled=Object(l.c)(t)}get disableRipple(){return this._parent&&this._parent.disableRipple}get active(){return this._active}get viewValue(){return(this._getHostElement().textContent||"").trim()}select(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}deselect(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}focus(t,e){const n=this._getHostElement();"function"==typeof n.focus&&n.focus(e)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(t){t.keyCode!==p.e&&t.keyCode!==p.m||Object(p.r)(t)||(this._selectViaInteraction(),t.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getAriaSelected(){return this.selected||!this.multiple&&null}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const t=this.viewValue;t!==this._mostRecentViewValue&&(this._mostRecentViewValue=t,this._stateChanges.next())}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(t=!1){this.onSelectionChange.emit(new nt(this,t))}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.l),i.Nb(i.h),i.Nb(void 0),i.Nb(Q))},t.\u0275dir=i.Ib({type:t,inputs:{id:"id",disabled:"disabled",value:"value"},outputs:{onSelectionChange:"onSelectionChange"}}),t})(),at=(()=>{class t extends it{constructor(t,e,n,i){super(t,e,n,i)}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.l),i.Nb(i.h),i.Nb(Z,8),i.Nb(tt,8))},t.\u0275cmp=i.Hb({type:t,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(t,e){1&t&&i.bc("click",function(){return e._selectViaInteraction()})("keydown",function(t){return e._handleKeydown(t)}),2&t&&(i.Wb("id",e.id),i.Db("tabindex",e._getTabIndex())("aria-selected",e._getAriaSelected())("aria-disabled",e.disabled.toString()),i.Fb("mat-selected",e.selected)("mat-option-multiple",e.multiple)("mat-active",e.active)("mat-option-disabled",e.disabled))},exportAs:["matOption"],features:[i.zb],ngContentSelectors:b,decls:5,vars:4,consts:[["class","mat-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mat-option-text"],["class","cdk-visually-hidden",4,"ngIf"],["mat-ripple","",1,"mat-option-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-option-pseudo-checkbox",3,"state","disabled"],[1,"cdk-visually-hidden"]],template:function(t,e){1&t&&(i.mc(),i.Fc(0,f,1,2,"mat-pseudo-checkbox",0),i.Tb(1,"span",1),i.lc(2),i.Sb(),i.Fc(3,g,2,1,"span",2),i.Ob(4,"div",3)),2&t&&(i.nc("ngIf",e.multiple),i.Cb(3),i.nc("ngIf",e.group&&e.group._inert),i.Cb(1),i.nc("matRippleTrigger",e._getHostElement())("matRippleDisabled",e.disabled||e.disableRipple))},directives:[s.l,U,G],styles:[".mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative;cursor:pointer;outline:none;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:transparent}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}.mat-option .mat-icon svg{vertical-align:top}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:32px}[dir=rtl] .mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:16px;padding-right:32px}.cdk-high-contrast-active .mat-option{margin:0 1px}.cdk-high-contrast-active .mat-option.mat-active{border:solid 1px currentColor;margin:0}.cdk-high-contrast-active .mat-option[aria-disabled=true]{opacity:.5}.mat-option-text{display:inline-block;flex-grow:1;overflow:hidden;text-overflow:ellipsis}.mat-option .mat-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}\n"],encapsulation:2,changeDetection:0}),t})();function rt(t,e,n){if(n.length){let i=e.toArray(),a=n.toArray(),r=0;for(let e=0;e<t+1;e++)i[e].group&&i[e].group===a[r]&&r++;return r}return 0}function ot(t,e,n,i){return t<n?t:t+e>n+i?Math.max(0,t-i+e):n}let st=(()=>{class t{}return t.\u0275mod=i.Lb({type:t}),t.\u0275inj=i.Kb({factory:function(e){return new(e||t)},imports:[[q,s.c,w,J]]}),t})()},UpQW:function(t,e,n){!function(t){"use strict";var e=["\u062c\u0646\u0648\u0631\u06cc","\u0641\u0631\u0648\u0631\u06cc","\u0645\u0627\u0631\u0686","\u0627\u067e\u0631\u06cc\u0644","\u0645\u0626\u06cc","\u062c\u0648\u0646","\u062c\u0648\u0644\u0627\u0626\u06cc","\u0627\u06af\u0633\u062a","\u0633\u062a\u0645\u0628\u0631","\u0627\u06a9\u062a\u0648\u0628\u0631","\u0646\u0648\u0645\u0628\u0631","\u062f\u0633\u0645\u0628\u0631"],n=["\u0627\u062a\u0648\u0627\u0631","\u067e\u06cc\u0631","\u0645\u0646\u06af\u0644","\u0628\u062f\u06be","\u062c\u0645\u0639\u0631\u0627\u062a","\u062c\u0645\u0639\u06c1","\u06c1\u0641\u062a\u06c1"];t.defineLocale("ur",{months:e,monthsShort:e,weekdays:n,weekdaysShort:n,weekdaysMin:n,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd\u060c D MMMM YYYY HH:mm"},meridiemParse:/\u0635\u0628\u062d|\u0634\u0627\u0645/,isPM:function(t){return"\u0634\u0627\u0645"===t},meridiem:function(t,e,n){return t<12?"\u0635\u0628\u062d":"\u0634\u0627\u0645"},calendar:{sameDay:"[\u0622\u062c \u0628\u0648\u0642\u062a] LT",nextDay:"[\u06a9\u0644 \u0628\u0648\u0642\u062a] LT",nextWeek:"dddd [\u0628\u0648\u0642\u062a] LT",lastDay:"[\u06af\u0630\u0634\u062a\u06c1 \u0631\u0648\u0632 \u0628\u0648\u0642\u062a] LT",lastWeek:"[\u06af\u0630\u0634\u062a\u06c1] dddd [\u0628\u0648\u0642\u062a] LT",sameElse:"L"},relativeTime:{future:"%s \u0628\u0639\u062f",past:"%s \u0642\u0628\u0644",s:"\u0686\u0646\u062f \u0633\u06cc\u06a9\u0646\u0688",ss:"%d \u0633\u06cc\u06a9\u0646\u0688",m:"\u0627\u06cc\u06a9 \u0645\u0646\u0679",mm:"%d \u0645\u0646\u0679",h:"\u0627\u06cc\u06a9 \u06af\u06be\u0646\u0679\u06c1",hh:"%d \u06af\u06be\u0646\u0679\u06d2",d:"\u0627\u06cc\u06a9 \u062f\u0646",dd:"%d \u062f\u0646",M:"\u0627\u06cc\u06a9 \u0645\u0627\u06c1",MM:"%d \u0645\u0627\u06c1",y:"\u0627\u06cc\u06a9 \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(t){return t.replace(/\u060c/g,",")},postformat:function(t){return t.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(n("wd/R"))},Ur1D:function(t,e,n){!function(t){"use strict";t.defineLocale("ss",{months:"Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split("_"),monthsShort:"Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo".split("_"),weekdays:"Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo".split("_"),weekdaysShort:"Lis_Umb_Lsb_Les_Lsi_Lsh_Umg".split("_"),weekdaysMin:"Li_Us_Lb_Lt_Ls_Lh_Ug".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Namuhla nga] LT",nextDay:"[Kusasa nga] LT",nextWeek:"dddd [nga] LT",lastDay:"[Itolo nga] LT",lastWeek:"dddd [leliphelile] [nga] LT",sameElse:"L"},relativeTime:{future:"nga %s",past:"wenteka nga %s",s:"emizuzwana lomcane",ss:"%d mzuzwana",m:"umzuzu",mm:"%d emizuzu",h:"lihora",hh:"%d emahora",d:"lilanga",dd:"%d emalanga",M:"inyanga",MM:"%d tinyanga",y:"umnyaka",yy:"%d iminyaka"},meridiemParse:/ekuseni|emini|entsambama|ebusuku/,meridiem:function(t,e,n){return t<11?"ekuseni":t<15?"emini":t<19?"entsambama":"ebusuku"},meridiemHour:function(t,e){return 12===t&&(t=0),"ekuseni"===e?t:"emini"===e?t>=11?t:t+12:"entsambama"===e||"ebusuku"===e?0===t?0:t+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}})}(n("wd/R"))},V2x9:function(t,e,n){!function(t){"use strict";t.defineLocale("tet",{months:"Janeiru_Fevereiru_Marsu_Abril_Maiu_Ju\xf1u_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu".split("_"),weekdaysShort:"Dom_Seg_Ters_Kua_Kint_Sest_Sab".split("_"),weekdaysMin:"Do_Seg_Te_Ku_Ki_Ses_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Ohin iha] LT",nextDay:"[Aban iha] LT",nextWeek:"dddd [iha] LT",lastDay:"[Horiseik iha] LT",lastWeek:"dddd [semana kotuk] [iha] LT",sameElse:"L"},relativeTime:{future:"iha %s",past:"%s liuba",s:"segundu balun",ss:"segundu %d",m:"minutu ida",mm:"minutu %d",h:"oras ida",hh:"oras %d",d:"loron ida",dd:"loron %d",M:"fulan ida",MM:"fulan %d",y:"tinan ida",yy:"tinan %d"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})}(n("wd/R"))},"VIK+":function(t,e,n){"use strict";n.d(e,"a",function(){return q});var i=n("iELJ"),a=n("5QHs"),r=n("LUZP"),o=n("p/g4"),s=n("Qaas"),l=n("IGtN"),c=n("8Y7J"),d=n("TSSN"),u=n("keau"),h=n("q6Qu"),m=n("SVse"),p=n("OaSA"),f=n("s7LF"),g=n("Q2Ze"),b=n("e6WT"),_=n("f3LI"),y=n("Dxy4"),v=n("Tj54"),C=n("pu8Q");const w=["sireneForm"];function x(t,e){1&t&&(c.Tb(0,"mat-error"),c.Hc(1),c.gc(2,"translate"),c.Sb()),2&t&&(c.Cb(1),c.Ic(c.hc(2,1,"common.error.requis")))}function M(t,e){if(1&t&&(c.Tb(0,"div",30),c.Hc(1),c.gc(2,"translate"),c.Sb()),2&t){const t=c.fc(2);c.Cb(1),c.Kc(" ",t.resultsLength," ",c.hc(2,2,"common.siret")," ")}}function O(t,e){if(1&t){const t=c.Ub();c.Tb(0,"form",21,22),c.Tb(2,"mat-form-field",23),c.Tb(3,"input",24,25),c.bc("ngModelChange",function(e){return c.yc(t),c.fc().search=e}),c.Sb(),c.Fc(5,x,3,3,"mat-error",5),c.Sb(),c.Tb(6,"mat-form-field",23),c.Tb(7,"input",26,27),c.bc("ngModelChange",function(e){return c.yc(t),c.fc().cp=e}),c.Sb(),c.Sb(),c.Tb(9,"button",28),c.bc("click",function(){return c.yc(t),c.fc().searchAction(!0)}),c.Tb(10,"mat-icon"),c.Hc(11,"search"),c.Sb(),c.Hc(12),c.gc(13,"translate"),c.Sb(),c.Fc(14,M,3,4,"div",29),c.Sb()}if(2&t){const t=c.vc(1),e=c.vc(4),n=c.fc();c.Cb(3),c.nc("ngModel",n.search)("disabled",n.disabled),c.Cb(2),c.nc("ngIf",e.hasError("required")),c.Cb(2),c.nc("ngModel",n.cp),c.Cb(2),c.nc("disabled",!t.valid),c.Cb(3),c.Jc(" ",c.hc(13,7,"dpd.sirene.submit")," "),c.Cb(2),c.nc("ngIf",n.dataSource.length>0)}}function k(t,e){1&t&&c.Ob(0,"mat-spinner")}function S(t,e){if(1&t){const t=c.Ub();c.Tb(0,"div",33),c.bc("click",function(){return c.yc(t),c.fc(2).noWs()}),c.Hc(1),c.gc(2,"translate"),c.Sb()}2&t&&(c.Cb(1),c.Jc(" ",c.hc(2,1,"dpd.sirene.error.indisponible")," "))}function T(t,e){if(1&t&&(c.Tb(0,"div",31),c.Fc(1,k,1,0,"mat-spinner",5),c.Fc(2,S,3,3,"div",32),c.Sb()),2&t){const t=c.fc();c.Cb(1),c.nc("ngIf",t.isLoadingResults),c.Cb(1),c.nc("ngIf",t.error)}}function P(t,e){1&t&&(c.Tb(0,"div"),c.Hc(1),c.gc(2,"translate"),c.Sb()),2&t&&(c.Cb(1),c.Ic(c.hc(2,1,"dpd.sirene.error.donnees.no")))}function L(t,e){1&t&&(c.Tb(0,"div",34),c.Hc(1),c.gc(2,"translate"),c.Sb()),2&t&&(c.Cb(1),c.Jc(" ",c.hc(2,1,"dpd.sirene.error")," "))}function D(t,e){1&t&&(c.Tb(0,"th",35),c.Hc(1),c.gc(2,"translate"),c.Sb()),2&t&&(c.Cb(1),c.Jc(" ",c.hc(2,1,"common.siret")," "))}function E(t,e){if(1&t&&(c.Tb(0,"td",36),c.Hc(1),c.Sb()),2&t){const t=e.$implicit;c.Cb(1),c.Jc(" ",t.siret," ")}}function A(t,e){1&t&&(c.Tb(0,"th",35),c.Hc(1),c.gc(2,"translate"),c.Sb()),2&t&&(c.Cb(1),c.Jc(" ",c.hc(2,1,"dpd.sirene.raisonsociale")," "))}function I(t,e){if(1&t&&(c.Tb(0,"td",36),c.Hc(1),c.Sb()),2&t){const t=e.$implicit;c.Cb(1),c.Jc(" ",t.rs," ")}}function R(t,e){1&t&&(c.Tb(0,"th",35),c.Hc(1),c.gc(2,"translate"),c.Sb()),2&t&&(c.Cb(1),c.Jc(" ",c.hc(2,1,"common.adresse")," "))}function N(t,e){if(1&t&&(c.Tb(0,"td",36),c.Hc(1),c.Sb()),2&t){const t=e.$implicit;c.Cb(1),c.Jc(" ",t.adresseSiren.adresse,"")}}function Y(t,e){1&t&&(c.Tb(0,"th",35),c.Hc(1),c.gc(2,"translate"),c.Sb()),2&t&&(c.Cb(1),c.Jc(" ",c.hc(2,1,"common.codepostal")," "))}function H(t,e){if(1&t&&(c.Tb(0,"td",36),c.Hc(1),c.Sb()),2&t){const t=e.$implicit;c.Cb(1),c.Jc(" ",t.adresseSiren.cp,"")}}function j(t,e){1&t&&(c.Tb(0,"th",35),c.Hc(1),c.gc(2,"translate"),c.Sb()),2&t&&(c.Cb(1),c.Jc(" ",c.hc(2,1,"common.ville")," "))}function F(t,e){if(1&t&&(c.Tb(0,"td",36),c.Hc(1),c.Sb()),2&t){const t=e.$implicit;c.Cb(1),c.Jc(" ",t.adresseSiren.ville,"")}}function z(t,e){1&t&&c.Ob(0,"th",35)}function V(t,e){if(1&t){const t=c.Ub();c.Tb(0,"td",37),c.Tb(1,"button",38),c.bc("click",function(){c.yc(t);const n=e.$implicit;return c.fc().defaultAddress(n)}),c.Sb(),c.Sb()}if(2&t){const t=e.index;c.Cb(1),c.Db("data-cy","button-select-"+t)}}function B(t,e){1&t&&c.Ob(0,"tr",39)}function W(t,e){1&t&&c.Ob(0,"tr",40)}const U=function(){return[50]};let q=(()=>{class t extends l.a{constructor(t,e,n,i,a){super(t),this.translateService=t,this.paginatorIntl=e,this.dialogRef=n,this.sireneService=i,this.data=a,this.search=null,this.cp=null,this.resultsLength=0,this.isLoadingResults=!1,this.error=!1,this.errorLength=!1,this.noResult=!1,this.dataSource=[],this.disabled=!1,this.displayedColumns=["siret","rs","adresse","cp","ville","action"],this.disableSearch=!1,a.sirens&&(this.dataSource=a.sirens,this.disableSearch=!0),this.search=a.siren,this.disabled=void 0!==a.siren,this.subscriptions.push(this.translateService.get("common.liste.nb.page").subscribe(t=>{this.paginatorIntl.itemsPerPageLabel=t}))}load(){this.sort.active="siret",this.sort.direction="desc",this.paginator.pageSize=50,this.subscriptions.push(this.paginator.page.subscribe(()=>this.searchAction())),null!=this.search&&this.searchAction()}searchAction(t=!1){this.errorLength=!1,t&&(this.paginator.pageSize=50,this.paginator.pageIndex=0),this.isLoadingResults=!0,this.dataSource=[];const e=[];if(9===this.search.toString().length?e.push({field:"siren",values:[this.search],operand:o.a.EQUAL}):14===this.search.toString().length?e.push({field:"siret",values:[this.search],operand:o.a.EQUAL}):(this.errorLength=!0,this.isLoadingResults=!1),!this.errorLength){if(null!==this.cp){const t=this.cp.toString().length<5?this.cp+"*":this.cp;e.push({field:"codePostalEtablissement",values:[t],operand:o.a.EQUAL})}this.subscriptions.push(this.sireneService.getSirets(e,this.sort.active,this.sort.direction,this.paginator.pageIndex,this.paginator.pageSize).subscribe(t=>{this.dataSource=t.items,this.resultsLength=t.total,this.isLoadingResults=!1,this.error=!1,this.noResult=!1},t=>{404===t.status?this.noResult=!0:this.error=!0,this.dataSource=[],this.isLoadingResults=!1}))}}noWs(){this.dialogRef.close({error:{type:"UNREACHABLE_SERVICE",reason:"WebService indisponible"}})}defaultAddress(t){this.dialogRef.close({rs:t.rs,siret:t.siret,address:new s.a({adresse:t.adresseSiren.adresse,cp:t.adresseSiren.cp,ville:t.adresseSiren.ville,complementAdresse:t.adresseSiren.complementAdresse,pays:t.adresseSiren.pays}),codeNaf:t.codeNaf})}}return t.\u0275fac=function(e){return new(e||t)(c.Nb(d.d),c.Nb(a.b),c.Nb(i.f),c.Nb(u.a),c.Nb(i.a))},t.\u0275cmp=c.Hb({type:t,selectors:[["app-siren-dialog"]],viewQuery:function(t,e){if(1&t&&(c.Lc(w,1),c.Lc(a.a,3),c.Lc(r.a,3)),2&t){let t;c.uc(t=c.cc())&&(e.sireneForm=t.first),c.uc(t=c.cc())&&(e.paginator=t.first),c.uc(t=c.cc())&&(e.sort=t.first)}},features:[c.zb],decls:30,vars:13,consts:[["id","popin-siren"],["mat-dialog-title","",3,"appLabel"],["mat-dialog-content",""],["id","sirene",4,"ngIf"],["class","loading",4,"ngIf"],[4,"ngIf"],["class","errorLength",4,"ngIf"],["id","sirene-table"],["mat-table","","id","sirene-result","matSort","","matSortDisableClear","",3,"dataSource"],["matColumnDef","siret"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","rs"],["matColumnDef","adresse"],["matColumnDef","cp"],["matColumnDef","ville"],["matColumnDef","action"],["mat-cell","","class","col-action",4,"matCellDef"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["showFirstLastButtons","",3,"length","pageSizeOptions"],["id","sirene"],["sireneForm","ngForm"],[1,"search-field"],["matInput","","type","text","name","sirenSearch","appLabel","dpd.sirene.libelle","appTextField","numeric","required","true",3,"ngModel","disabled","ngModelChange"],["searchField","ngModel"],["matInput","","type","text","name","cpSearch","appLabel","common.codepostal",3,"ngModel","ngModelChange"],["cpField","ngModel"],["mat-raised-button","","color","primary","aria-label","search",1,"search-field",3,"disabled","click"],["id","nbResult",4,"ngIf"],["id","nbResult"],[1,"loading"],["class","error",3,"click",4,"ngIf"],[1,"error",3,"click"],[1,"errorLength"],["mat-header-cell",""],["mat-cell",""],["mat-cell","",1,"col-action"],["mat-raised-button","","color","accent","aria-label","select","appLabel","dpd.sirene.selectionner",3,"click"],["mat-header-row",""],["mat-row",""]],template:function(t,e){1&t&&(c.Tb(0,"div",0),c.Ob(1,"h1",1),c.Tb(2,"div",2),c.Fc(3,O,15,9,"form",3),c.Fc(4,T,3,2,"div",4),c.Fc(5,P,3,3,"div",5),c.Fc(6,L,3,3,"div",6),c.Tb(7,"div",7),c.Tb(8,"table",8),c.Rb(9,9),c.Fc(10,D,3,3,"th",10),c.Fc(11,E,2,1,"td",11),c.Qb(),c.Rb(12,12),c.Fc(13,A,3,3,"th",10),c.Fc(14,I,2,1,"td",11),c.Qb(),c.Rb(15,13),c.Fc(16,R,3,3,"th",10),c.Fc(17,N,2,1,"td",11),c.Qb(),c.Rb(18,14),c.Fc(19,Y,3,3,"th",10),c.Fc(20,H,2,1,"td",11),c.Qb(),c.Rb(21,15),c.Fc(22,j,3,3,"th",10),c.Fc(23,F,2,1,"td",11),c.Qb(),c.Rb(24,16),c.Fc(25,z,1,0,"th",10),c.Fc(26,V,2,1,"td",17),c.Qb(),c.Fc(27,B,1,0,"tr",18),c.Fc(28,W,1,0,"tr",19),c.Sb(),c.Sb(),c.Ob(29,"mat-paginator",20),c.Sb(),c.Sb()),2&t&&(c.Cb(1),c.nc("appLabel",e.disableSearch?"dpd.client.etablissement.selection":"dpd.sirene.titre"),c.Cb(2),c.nc("ngIf",!e.disableSearch),c.Cb(1),c.nc("ngIf",e.isLoadingResults||e.error),c.Cb(1),c.nc("ngIf",e.noResult),c.Cb(1),c.nc("ngIf",e.errorLength),c.Cb(1),c.Cc("visibility",e.dataSource.length>0?"visible":"hidden"),c.Cb(1),c.nc("dataSource",e.dataSource),c.Cb(19),c.nc("matHeaderRowDef",e.displayedColumns),c.Cb(1),c.nc("matRowDefColumns",e.displayedColumns),c.Cb(1),c.nc("length",e.resultsLength)("pageSizeOptions",c.rc(12,U)))},directives:[i.g,h.a,i.d,m.l,p.j,r.a,p.c,p.e,p.b,p.g,p.i,a.a,f.x,f.p,f.q,g.c,b.b,f.c,_.a,f.v,f.o,f.r,y.a,v.a,g.b,C.b,p.d,p.a,p.f,p.h],pipes:[d.c],styles:[".search-field[_ngcontent-%COMP%]{margin-right:20px}#sirene-result[_ngcontent-%COMP%]{width:100%}#sirene-result[_ngcontent-%COMP%] .col-action[_ngcontent-%COMP%]{text-align:right}#nbResult[_ngcontent-%COMP%]{display:inline-block;font-weight:700}.loading[_ngcontent-%COMP%]{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}.loading[_ngcontent-%COMP%] .error[_ngcontent-%COMP%]{color:#980000;cursor:pointer}.errorLength[_ngcontent-%COMP%]{color:#980000}#popin-siren[_ngcontent-%COMP%] .mat-dialog-content[_ngcontent-%COMP%]{max-height:none}#popin-siren[_ngcontent-%COMP%] .mat-dialog-content[_ngcontent-%COMP%] #sirene-table[_ngcontent-%COMP%]{max-height:400px;overflow:auto}"]}),t})()},"VM/L":function(t,e,n){"use strict";n.d(e,"a",function(){return _});var i=n("v/fa"),a=n("8Y7J"),r=n("TSSN"),o=n("s7LF"),s=n("SVse"),l=n("Q2Ze"),c=n("e6WT"),d=n("q6Qu"),u=n("ro1A");function h(t,e){1&t&&(a.Tb(0,"mat-error"),a.Hc(1),a.gc(2,"translate"),a.Sb()),2&t&&(a.Cb(1),a.Jc(" ",a.hc(2,1,"common.error.requis")," "))}function m(t,e){1&t&&(a.Tb(0,"mat-error"),a.Hc(1),a.gc(2,"translate"),a.Sb()),2&t&&(a.Cb(1),a.Jc(" ",a.hc(2,1,"common.error.length")," "))}function p(t,e){if(1&t&&(a.Rb(0),a.Tb(1,"mat-form-field",3),a.Ob(2,"input",4),a.Fc(3,h,3,3,"mat-error",5),a.Fc(4,m,3,3,"mat-error",5),a.Sb(),a.Qb()),2&t){const t=a.fc();a.Cb(2),a.nc("required",t.isRequired),a.Cb(1),a.nc("ngIf",t.doesControlHaveError("adresse","required")),a.Cb(1),a.nc("ngIf",t.doesControlHaveError("adresse","maxlength"))}}function f(t,e){1&t&&(a.Tb(0,"mat-error"),a.Hc(1),a.gc(2,"translate"),a.Sb()),2&t&&(a.Cb(1),a.Jc(" ",a.hc(2,1,"common.error.requis")," "))}function g(t,e){1&t&&(a.Tb(0,"mat-error"),a.Hc(1),a.gc(2,"translate"),a.Sb()),2&t&&(a.Cb(1),a.Jc(" ",a.hc(2,1,"common.error.length")," "))}function b(t,e){if(1&t){const t=a.Ub();a.Tb(0,"app-collectif-autocomplete-2",6),a.bc("selectionChanged",function(e){return a.yc(t),a.fc().onAddressChange(e)}),a.Fc(1,f,3,3,"mat-error",5),a.Fc(2,g,3,3,"mat-error",5),a.Sb()}if(2&t){const t=a.fc();a.nc("name","address")("inputTitle","common.adresse")("isRequired",t.isRequired)("formControl",t.adresseCtrl),a.Cb(1),a.nc("ngIf",t.doesControlHaveError("adresse","required")),a.Cb(1),a.nc("ngIf",t.doesControlHaveError("adresse","maxlength"))}}let _=(()=>{class t extends i.a{constructor(t){super(t),this.translateService=t}set formGp(t){this.form=t}onAddressChange(t){t&&this.form.patchValue({adresse:t.adresse,cp:t.cp,ville:t.ville,complementAdresse:t.complementAdresse})}get adresseCtrl(){return this.form.get("adresse")}}return t.\u0275fac=function(e){return new(e||t)(a.Nb(r.d))},t.\u0275cmp=a.Hb({type:t,selectors:[["app-collectif-2"]],inputs:{isAutocompleteDisabled:"isAutocompleteDisabled",isRequired:"isRequired",formGp:"formGp"},features:[a.zb],decls:4,vars:3,consts:[[3,"formGroup"],[4,"ngIf","ngIfElse"],["autocompleteComponent",""],[1,"full-width"],["matInput","","data-cy","adresse","type","text","name","address","appLabel","common.adresse","formControlName","adresse",3,"required"],[4,"ngIf"],["formControlName","adresse",3,"name","inputTitle","isRequired","formControl","selectionChanged"]],template:function(t,e){if(1&t&&(a.Tb(0,"form",0),a.Fc(1,p,5,3,"ng-container",1),a.Fc(2,b,3,6,"ng-template",null,2,a.Gc),a.Sb()),2&t){const t=a.vc(3);a.nc("formGroup",e.form),a.Cb(1),a.nc("ngIf",e.isAutocompleteDisabled)("ngIfElse",t)}},directives:[o.x,o.p,o.i,s.l,l.c,c.b,o.c,d.a,o.o,o.g,o.v,l.b,u.a,o.f],pipes:[r.c],styles:[".full-width[_ngcontent-%COMP%]{width:100%}"]}),t})()},"VN+9":function(t,e,n){"use strict";n.d(e,"a",function(){return s});var i=n("8Y7J"),a=n("iELJ"),r=n("q6Qu"),o=n("iInd");let s=(()=>{class t{constructor(t){this.dialogRef=t}onClick(){this.dialogRef.close()}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(a.f))},t.\u0275cmp=i.Hb({type:t,selectors:[["app-inscription-choice-dialog"]],decls:6,vars:0,consts:[["mat-dialog-title","","appLabel","compte.inscription.choix"],["mat-dialog-content","",1,"thick-dialog"],["id","type-compte"],["id","inscription-entreprise","appLabel","compte.type.entreprise","routerLink","/inscription/entreprise","routerLinkActive","active",1,"block-type",3,"click"],["id","inscription-ordre","appLabel","compte.type.ordre","routerLink","/inscription/ordre","routerLinkActive","active",1,"block-type",3,"click"],["id","inscription-mandataire","appLabel","compte.type.mandataire","routerLink","/inscription/mandataire","routerLinkActive","active",1,"block-type",3,"click"]],template:function(t,e){1&t&&(i.Ob(0,"h1",0),i.Tb(1,"div",1),i.Tb(2,"div",2),i.Tb(3,"a",3),i.bc("click",function(){return e.onClick()}),i.Sb(),i.Tb(4,"a",4),i.bc("click",function(){return e.onClick()}),i.Sb(),i.Tb(5,"a",5),i.bc("click",function(){return e.onClick()}),i.Sb(),i.Sb(),i.Sb())},directives:[a.g,r.a,a.d,o.i,o.h],styles:[".mat-badge-content[_ngcontent-%COMP%]{font-weight:600;font-size:12px;font-family:Roboto,Helvetica Neue,sans-serif}.mat-badge-small[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{font-size:9px}.mat-badge-large[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{font-size:24px}.mat-h1[_ngcontent-%COMP%], .mat-headline[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font:400 24px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h2[_ngcontent-%COMP%], .mat-title[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font:500 20px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h3[_ngcontent-%COMP%], .mat-subheading-2[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font:400 16px/28px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h4[_ngcontent-%COMP%], .mat-subheading-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{font:400 15px/24px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h5[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{font:400 calc(14px * .83)/20px Roboto,Helvetica Neue,sans-serif;margin:0 0 12px}.mat-h6[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font:400 calc(14px * .67)/20px Roboto,Helvetica Neue,sans-serif;margin:0 0 12px}.mat-body-2[_ngcontent-%COMP%], .mat-body-strong[_ngcontent-%COMP%]{font:500 14px/24px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-body[_ngcontent-%COMP%], .mat-body-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%]{font:400 14px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-body-1[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .mat-body[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0 0 12px}.mat-caption[_ngcontent-%COMP%], .mat-small[_ngcontent-%COMP%]{font:400 12px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-display-4[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-4[_ngcontent-%COMP%]{font:300 112px/112px Roboto,Helvetica Neue,sans-serif;letter-spacing:-.05em;margin:0 0 56px}.mat-display-3[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-3[_ngcontent-%COMP%]{font:400 56px/56px Roboto,Helvetica Neue,sans-serif;letter-spacing:-.02em;margin:0 0 64px}.mat-display-2[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-2[_ngcontent-%COMP%]{font:400 45px/48px Roboto,Helvetica Neue,sans-serif;letter-spacing:-.005em;margin:0 0 64px}.mat-display-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-1[_ngcontent-%COMP%]{font:400 34px/40px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 64px}.mat-bottom-sheet-container[_ngcontent-%COMP%]{font:400 14px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-button[_ngcontent-%COMP%], .mat-fab[_ngcontent-%COMP%], .mat-flat-button[_ngcontent-%COMP%], .mat-icon-button[_ngcontent-%COMP%], .mat-mini-fab[_ngcontent-%COMP%], .mat-raised-button[_ngcontent-%COMP%], .mat-stroked-button[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:500}.mat-button-toggle[_ngcontent-%COMP%], .mat-card[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-card-title[_ngcontent-%COMP%]{font-size:24px;font-weight:500}.mat-card-header[_ngcontent-%COMP%] .mat-card-title[_ngcontent-%COMP%]{font-size:20px}.mat-card-content[_ngcontent-%COMP%], .mat-card-subtitle[_ngcontent-%COMP%]{font-size:14px}.mat-checkbox[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-checkbox-layout[_ngcontent-%COMP%] .mat-checkbox-label[_ngcontent-%COMP%]{line-height:24px}.mat-chip[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.mat-chip[_ngcontent-%COMP%] .mat-chip-remove.mat-icon[_ngcontent-%COMP%], .mat-chip[_ngcontent-%COMP%] .mat-chip-trailing-icon.mat-icon[_ngcontent-%COMP%]{font-size:18px}.mat-table[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-header-cell[_ngcontent-%COMP%]{font-size:12px;font-weight:500}.mat-cell[_ngcontent-%COMP%], .mat-footer-cell[_ngcontent-%COMP%]{font-size:14px}.mat-calendar[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-calendar-body[_ngcontent-%COMP%]{font-size:13px}.mat-calendar-body-label[_ngcontent-%COMP%], .mat-calendar-period-button[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.mat-calendar-table-header[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{font-size:11px;font-weight:400}.mat-dialog-title[_ngcontent-%COMP%]{font:500 20px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-expansion-panel-header[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:15px;font-weight:400}.mat-expansion-panel-content[_ngcontent-%COMP%]{font:400 14px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-form-field[_ngcontent-%COMP%]{font-size:inherit;font-weight:400;line-height:1.125;font-family:Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-form-field-wrapper[_ngcontent-%COMP%]{padding-bottom:1.34375em}.mat-form-field-prefix[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%], .mat-form-field-suffix[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{font-size:150%;line-height:1.125}.mat-form-field-prefix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%], .mat-form-field-suffix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%]{height:1.5em;width:1.5em}.mat-form-field-prefix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%], .mat-form-field-suffix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{height:1.125em;line-height:1.125}.mat-form-field-infix[_ngcontent-%COMP%]{padding:.5em 0;border-top:.84375em solid rgba(0,0,0,0)}.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-1.34375em) scale(.75);transform:translateY(-1.34375em) scale(.75);width:133.3333333333%}.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-1.34374em) scale(.75);transform:translateY(-1.34374em) scale(.75);width:133.3333433333%}.mat-form-field-label-wrapper[_ngcontent-%COMP%]{top:-.84375em;padding-top:.84375em}.mat-form-field-label[_ngcontent-%COMP%]{top:1.34375em}.mat-form-field-underline[_ngcontent-%COMP%]{bottom:1.34375em}.mat-form-field-subscript-wrapper[_ngcontent-%COMP%]{font-size:75%;margin-top:.6666666667em;top:calc(100% - 1.7916666667em)}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-wrapper[_ngcontent-%COMP%]{padding-bottom:1.25em}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]{padding:.4375em 0}.mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.001px);-ms-transform:translateY(-1.28125em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-form-field-autofill-control[_ngcontent-%COMP%]:-webkit-autofill + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00101px);-ms-transform:translateY(-1.28124em) scale(.75);width:133.3333433333%}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00102px);-ms-transform:translateY(-1.28123em) scale(.75);width:133.3333533333%}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{top:1.28125em}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]{bottom:1.25em}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-subscript-wrapper[_ngcontent-%COMP%]{margin-top:.5416666667em;top:calc(100% - 1.6666666667em)}@media print{.mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-1.28122em) scale(.75);transform:translateY(-1.28122em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-form-field-autofill-control[_ngcontent-%COMP%]:-webkit-autofill + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{transform:translateY(-1.28121em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-1.2812em) scale(.75);transform:translateY(-1.2812em) scale(.75)}}.mat-form-field-appearance-fill[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]{padding:.25em 0 .75em}.mat-form-field-appearance-fill[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{top:1.09375em;margin-top:-.5em}.mat-form-field-appearance-fill.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-fill.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-.59375em) scale(.75);transform:translateY(-.59375em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-fill.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-.59374em) scale(.75);transform:translateY(-.59374em) scale(.75);width:133.3333433333%}.mat-form-field-appearance-outline[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]{padding:1em 0}.mat-form-field-appearance-outline[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{top:1.84375em;margin-top:-.25em}.mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-outline.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-1.59375em) scale(.75);transform:translateY(-1.59375em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-outline.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-1.59374em) scale(.75);transform:translateY(-1.59374em) scale(.75);width:133.3333433333%}.mat-grid-tile-footer[_ngcontent-%COMP%], .mat-grid-tile-header[_ngcontent-%COMP%]{font-size:14px}.mat-grid-tile-footer[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%], .mat-grid-tile-header[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-grid-tile-footer[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2), .mat-grid-tile-header[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:12px}input.mat-input-element[_ngcontent-%COMP%]{margin-top:-.0625em}.mat-menu-item[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:400}.mat-paginator[_ngcontent-%COMP%], .mat-paginator-page-size[_ngcontent-%COMP%] .mat-select-trigger[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:12px}.mat-radio-button[_ngcontent-%COMP%], .mat-select[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-select-trigger[_ngcontent-%COMP%]{height:1.125em}.mat-slide-toggle-content[_ngcontent-%COMP%], .mat-slider-thumb-label-text[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-slider-thumb-label-text[_ngcontent-%COMP%]{font-size:12px;font-weight:500}.mat-stepper-horizontal[_ngcontent-%COMP%], .mat-stepper-vertical[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-step-label[_ngcontent-%COMP%]{font-size:14px;font-weight:400}.mat-step-sub-label-error[_ngcontent-%COMP%]{font-weight:400}.mat-step-label-error[_ngcontent-%COMP%]{font-size:14px}.mat-step-label-selected[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.mat-tab-group[_ngcontent-%COMP%], .mat-tab-label[_ngcontent-%COMP%], .mat-tab-link[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-tab-label[_ngcontent-%COMP%], .mat-tab-link[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.mat-toolbar[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font:500 20px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0}.mat-tooltip[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:10px;padding-top:6px;padding-bottom:6px}.mat-tooltip-handset[_ngcontent-%COMP%]{font-size:14px;padding-top:8px;padding-bottom:8px}.mat-list-item[_ngcontent-%COMP%], .mat-list-option[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]{font-size:16px}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:14px}.mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%]{font-size:16px}.mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:14px}.mat-list-base[_ngcontent-%COMP%] .mat-subheader[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:500}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]{font-size:12px}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2), .mat-list-base[dense][_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%]{font-size:12px}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:12px}.mat-list-base[dense][_ngcontent-%COMP%] .mat-subheader[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:12px;font-weight:500}.mat-option[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:16px}.mat-optgroup-label[_ngcontent-%COMP%]{font:500 14px/24px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-simple-snackbar[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px}.mat-simple-snackbar-action[_ngcontent-%COMP%]{line-height:1;font-family:inherit;font-size:inherit;font-weight:500}.mat-tree[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-nested-tree-node[_ngcontent-%COMP%], .mat-tree-node[_ngcontent-%COMP%]{font-weight:400;font-size:14px}.mat-ripple[_ngcontent-%COMP%]{overflow:hidden;position:relative}.mat-ripple[_ngcontent-%COMP%]:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded[_ngcontent-%COMP%]{overflow:visible}.mat-ripple-element[_ngcontent-%COMP%]{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0,0,.2,1);-ms-transform:scale(0);transform:scale(0)}.cdk-high-contrast-active[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{display:none}.cdk-visually-hidden[_ngcontent-%COMP%]{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;outline:0;-webkit-appearance:none;-moz-appearance:none}.cdk-global-overlay-wrapper[_ngcontent-%COMP%], .cdk-overlay-container[_ngcontent-%COMP%]{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container[_ngcontent-%COMP%]{position:fixed;z-index:1000}.cdk-overlay-container[_ngcontent-%COMP%]:empty{display:none}.cdk-global-overlay-wrapper[_ngcontent-%COMP%], .cdk-overlay-pane[_ngcontent-%COMP%]{display:-ms-flexbox;display:flex;position:absolute;z-index:1000}.cdk-overlay-pane[_ngcontent-%COMP%]{pointer-events:auto;box-sizing:border-box;max-width:100%;max-height:100%}.cdk-overlay-backdrop[_ngcontent-%COMP%]{position:absolute;top:0;bottom:0;left:0;right:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:transparent;transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:1}@media screen and (-ms-high-contrast:active){.cdk-overlay-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:.6}}.cdk-overlay-dark-backdrop[_ngcontent-%COMP%]{background:rgba(0,0,0,.32)}.cdk-overlay-transparent-backdrop[_ngcontent-%COMP%], .cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:0}.cdk-overlay-connected-position-bounding-box[_ngcontent-%COMP%]{position:absolute;z-index:1000;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock[_ngcontent-%COMP%]{position:fixed;width:100%;overflow-y:scroll}@-webkit-keyframes cdk-text-field-autofill-start{\n }@keyframes cdk-text-field-autofill-start{\n }@-webkit-keyframes cdk-text-field-autofill-end{\n }@keyframes cdk-text-field-autofill-end{\n }.cdk-text-field-autofill-monitored[_ngcontent-%COMP%]:-webkit-autofill{-webkit-animation:cdk-text-field-autofill-start 0s 1ms;animation:cdk-text-field-autofill-start 0s 1ms}.cdk-text-field-autofill-monitored[_ngcontent-%COMP%]:not(:-webkit-autofill){-webkit-animation:cdk-text-field-autofill-end 0s 1ms;animation:cdk-text-field-autofill-end 0s 1ms}textarea.cdk-textarea-autosize[_ngcontent-%COMP%]{resize:none}textarea.cdk-textarea-autosize-measuring[_ngcontent-%COMP%]{padding:2px 0!important;box-sizing:content-box!important;height:auto!important;overflow:hidden!important}textarea.cdk-textarea-autosize-measuring-firefox[_ngcontent-%COMP%]{padding:2px 0!important;box-sizing:content-box!important;height:0!important}.mat-focus-indicator[_ngcontent-%COMP%], .mat-mdc-focus-indicator[_ngcontent-%COMP%]{position:relative}#type-compte[_ngcontent-%COMP%]{background-color:#b3c7de;margin-left:-24px;margin-right:-24px;padding:30px 0}#type-compte[_ngcontent-%COMP%], #type-compte[_ngcontent-%COMP%] .block-type[_ngcontent-%COMP%]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center}#type-compte[_ngcontent-%COMP%] .block-type[_ngcontent-%COMP%]{-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;text-align:center;color:#2661a1;height:80px;width:200px;background-color:#fff;text-decoration:none;outline:none;box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12);margin:0 33px}#type-compte[_ngcontent-%COMP%] .block-type[_ngcontent-%COMP%]:hover{box-shadow:0 6px 6px -3px rgba(98,155,211,.2),0 10px 14px 1px rgba(98,155,211,.14),0 4px 18px 3px rgba(98,155,211,.12);cursor:pointer}#type-compte[_ngcontent-%COMP%] .block-type[_ngcontent-%COMP%] .home-creer-decla-separator[_ngcontent-%COMP%]{box-sizing:border-box;height:1px;width:135px;border:.5px solid #2661a1;margin:16px 0}#type-compte[_ngcontent-%COMP%] .block-type[_ngcontent-%COMP%] .home-creer-decla-title[_ngcontent-%COMP%]{font-weight:600;text-transform:uppercase;font-size:2rem}#type-compte[_ngcontent-%COMP%] .block-type[_ngcontent-%COMP%] .home-creer-decla-desc[_ngcontent-%COMP%]{font-size:1.25rem}"]}),t})()},VRyK:function(t,e,n){"use strict";n.d(e,"a",function(){return s});var i=n("HDdC"),a=n("z+Ro"),r=n("bHdf"),o=n("yCtX");function s(...t){let e=Number.POSITIVE_INFINITY,n=null,s=t[t.length-1];return Object(a.a)(s)?(n=t.pop(),t.length>1&&"number"==typeof t[t.length-1]&&(e=t.pop())):"number"==typeof s&&(e=t.pop()),null===n&&1===t.length&&t[0]instanceof i.a?t[0]:Object(r.a)(e)(Object(o.a)(t,n))}},VS7r:function(t,e,n){"use strict";n.d(e,"a",function(){return O});var i=n("8Y7J"),a=n("s7LF"),r=n("cYWD"),o=n("TSSN"),s=n("AkaL"),l=n("IheW");let c=(()=>{class t extends s.a{constructor(t){super(t),this.http=t,this.BASE_URL="/api/entreprises/search"}setLabel(t){t.autocomplete=t.numTVA?`${t.numTVA} - ${t.raisonSociale}`:`${t.raisonSociale}`}}return t.\u0275fac=function(e){return new(e||t)(i.Xb(l.b))},t.\u0275prov=i.Jb({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();var d=n("WiJD"),u=n("zaPX"),h=n("Q2Ze"),m=n("SVse"),p=n("e6WT"),f=n("vrAh"),g=n("q6Qu"),b=n("UhP/"),_=n("pu8Q");function y(t,e){if(1&t&&(i.Tb(0,"span",8),i.Hc(1),i.Sb()),2&t){const t=i.fc();i.Cc("opacity",t.searchControl.disabled?.7:1),i.Cb(1),i.Ic(t.prefix)}}function v(t,e){1&t&&(i.Tb(0,"mat-option",9),i.Ob(1,"mat-spinner",10),i.Sb())}function C(t,e){if(1&t&&(i.Tb(0,"mat-option",12),i.Hc(1),i.Sb()),2&t){const t=e.$implicit;i.nc("value",t),i.Cb(1),i.Jc(" ",t.autocomplete," ")}}function w(t,e){if(1&t&&i.Fc(0,C,2,2,"mat-option",11),2&t){const t=i.fc();i.nc("ngForOf",t.searchResult)}}const x=[[["mat-error"]],[["mat-icon"]],[["mat-spinner"]],"*"],M=["mat-error","mat-icon","mat-spinner","*"];let O=(()=>{class t extends r.a{constructor(t,e,n,i,a){super(t,e,n,i,a),this.translateService=t,this.searchService=e,this.configurationService=n,this.configSharedService=i,this.changeDetectorRef=a,this.fieldValue="raisonSociale"}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(o.d),i.Nb(c),i.Nb(d.a),i.Nb(u.a),i.Nb(i.h))},t.\u0275cmp=i.Hb({type:t,selectors:[["app-entreprise-autocomplete-2"]],features:[i.Bb([{provide:a.m,useExisting:Object(i.V)(()=>t),multi:!0}]),i.zb],ngContentSelectors:M,decls:15,vars:11,consts:[["matPrefix","","class","prefix",3,"opacity",4,"ngIf"],["type","text","matInput","","data-cy","autocomplete",3,"name","appLabel","formControl","matAutocomplete","matAutocompleteDisabled","errorStateMatcher","required","blur"],["searchElt",""],[1,"mat-error","otherMessages"],[3,"displayWith","optionSelected"],["auto","matAutocomplete"],["class","spinner",4,"ngIf","ngIfElse"],["listOptions",""],["matPrefix","",1,"prefix"],[1,"spinner"],["diameter","50"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(t,e){if(1&t&&(i.mc(x),i.Tb(0,"mat-form-field"),i.Fc(1,y,2,3,"span",0),i.Tb(2,"input",1,2),i.bc("blur",function(){return e.onBlur()}),i.Sb(),i.Tb(4,"mat-error"),i.lc(5),i.Sb(),i.lc(6,1),i.lc(7,2),i.Sb(),i.Tb(8,"div",3),i.lc(9,3),i.Sb(),i.Tb(10,"mat-autocomplete",4,5),i.bc("optionSelected",function(t){return e.selectOption(t)}),i.Fc(12,v,2,0,"mat-option",6),i.Fc(13,w,1,1,"ng-template",null,7,i.Gc),i.Sb()),2&t){const t=i.vc(11),n=i.vc(14);i.Cb(1),i.nc("ngIf",e.prefix),i.Cb(1),i.nc("name",e.name)("appLabel",e.inputTitle)("formControl",e.searchControl)("matAutocomplete",t)("matAutocompleteDisabled",e.isAutocompleteDisabled)("errorStateMatcher",e.errorStateMatcher)("required",e.isRequired),i.Cb(8),i.nc("displayWith",e.displayFn),i.Cb(2),i.nc("ngIf",e.isLoading)("ngIfElse",n)}},directives:[h.c,m.l,p.b,a.c,f.c,g.a,a.o,a.f,a.v,h.b,f.a,h.g,b.m,_.b,m.k],styles:["[_nghost-%COMP%]{-ms-flex:1;flex:1}[_nghost-%COMP%] mat-form-field[_ngcontent-%COMP%]{width:100%}[_nghost-%COMP%] .otherMessages[_ngcontent-%COMP%]{font-size:75%}[_nghost-%COMP%] .prefix[_ngcontent-%COMP%]{-ms-flex-item-align:center;align-self:center;margin-right:8px}"]}),t})()},Vclq:function(t,e,n){!function(t){"use strict";var e="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),i=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],a=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;t.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(t,i){return t?/-MMM-/.test(i)?n[t.month()]:e[t.month()]:e},monthsRegex:a,monthsShortRegex:a,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"MM/DD/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:0,doy:6}})}(n("wd/R"))},VjMq:function(t,e,n){"use strict";n.d(e,"a",function(){return _});var i=n("v/fa"),a=n("8Y7J"),r=n("TSSN"),o=n("s7LF"),s=n("SVse"),l=n("Q2Ze"),c=n("e6WT"),d=n("q6Qu"),u=n("eNrK");function h(t,e){1&t&&(a.Tb(0,"mat-error"),a.Hc(1),a.gc(2,"translate"),a.Sb()),2&t&&(a.Cb(1),a.Jc(" ",a.hc(2,1,"common.error.commune")," "))}function m(t,e){1&t&&(a.Tb(0,"mat-error"),a.Hc(1),a.gc(2,"translate"),a.Sb()),2&t&&(a.Cb(1),a.Jc(" ",a.hc(2,1,"common.error.length")," "))}function p(t,e){1&t&&(a.Tb(0,"mat-error"),a.Hc(1),a.gc(2,"translate"),a.Sb()),2&t&&(a.Cb(1),a.Jc(" ",a.hc(2,1,"common.error.commune")," "))}function f(t,e){1&t&&(a.Tb(0,"mat-error"),a.Hc(1),a.gc(2,"translate"),a.Sb()),2&t&&(a.Cb(1),a.Jc(" ",a.hc(2,1,"common.error.length")," "))}function g(t,e){if(1&t&&(a.Rb(0),a.Tb(1,"mat-form-field",3),a.Ob(2,"input",4),a.Fc(3,h,3,3,"mat-error",5),a.Fc(4,m,3,3,"mat-error",5),a.Sb(),a.Ob(5,"div",6),a.Tb(6,"mat-form-field",3),a.Ob(7,"input",7),a.Fc(8,p,3,3,"mat-error",5),a.Fc(9,f,3,3,"mat-error",5),a.Sb(),a.Qb()),2&t){const t=a.fc();a.Cb(2),a.nc("required",t.isRequired),a.Cb(1),a.nc("ngIf",t.doesControlHaveError("cp","required")),a.Cb(1),a.nc("ngIf",t.doesControlHaveError("cp","maxlength")),a.Cb(3),a.nc("required",t.isRequired),a.Cb(1),a.nc("ngIf",t.doesControlHaveError("ville","required")),a.Cb(1),a.nc("ngIf",t.doesControlHaveError("ville","maxlength"))}}function b(t,e){if(1&t){const t=a.Ub();a.Tb(0,"app-communes-autocomplete-2",8),a.bc("selectionChanged",function(e){return a.yc(t),a.fc().onCommuneChange(e)}),a.Sb()}if(2&t){const t=a.fc();a.nc("parentForm",t.form)("isRequired",t.isRequired)}}let _=(()=>{class t extends i.a{constructor(t){super(t),this.translateService=t}set formGp(t){this.form=t}onCommuneChange(t){this.form.patchValue({cp:t.codePostal,ville:t.commune}),this.showCoords&&this.form.patchValue({latitude:null,longitude:null})}}return t.\u0275fac=function(e){return new(e||t)(a.Nb(r.d))},t.\u0275cmp=a.Hb({type:t,selectors:[["app-communes-2"]],inputs:{isCountryFrance:"isCountryFrance",isRequired:"isRequired",showCoords:"showCoords",formGp:"formGp"},features:[a.zb],decls:4,vars:3,consts:[[1,"communes-container",3,"formGroup"],[4,"ngIf","ngIfElse"],["autocompleteComponent",""],[1,"inline-item"],["matInput","","data-cy","cp","type","text","appLabel","common.codepostal","formControlName","cp","name","cp-no-autocomplete",3,"required"],[4,"ngIf"],[1,"spacer"],["matInput","","data-cy","ville","type","text","appLabel","common.ville","name","city-no-autocomplete","formControlName","ville",3,"required"],[1,"inline-item",3,"parentForm","isRequired","selectionChanged"]],template:function(t,e){if(1&t&&(a.Tb(0,"form",0),a.Fc(1,g,10,6,"ng-container",1),a.Fc(2,b,1,2,"ng-template",null,2,a.Gc),a.Sb()),2&t){const t=a.vc(3);a.nc("formGroup",e.form),a.Cb(1),a.nc("ngIf",!e.isCountryFrance)("ngIfElse",t)}},directives:[o.x,o.p,o.i,s.l,l.c,c.b,o.c,d.a,o.o,o.g,o.v,l.b,u.a],pipes:[r.c],styles:[".communes-container[_ngcontent-%COMP%]{display:-ms-flexbox;display:flex;-ms-flex-flow:row;flex-flow:row}.communes-container[_ngcontent-%COMP%] .spacer[_ngcontent-%COMP%]{width:50px}.communes-container[_ngcontent-%COMP%] .inline-item[_ngcontent-%COMP%]{-ms-flex:1;flex:1}"]}),t})()},WMd4:function(t,e,n){"use strict";n.d(e,"a",function(){return o});var i=n("EY2u"),a=n("LRne"),r=n("z6cu");let o=(()=>{class t{constructor(t,e,n){this.kind=t,this.value=e,this.error=n,this.hasValue="N"===t}observe(t){switch(this.kind){case"N":return t.next&&t.next(this.value);case"E":return t.error&&t.error(this.error);case"C":return t.complete&&t.complete()}}do(t,e,n){switch(this.kind){case"N":return t&&t(this.value);case"E":return e&&e(this.error);case"C":return n&&n()}}accept(t,e,n){return t&&"function"==typeof t.next?this.observe(t):this.do(t,e,n)}toObservable(){switch(this.kind){case"N":return Object(a.a)(this.value);case"E":return Object(r.a)(this.error);case"C":return Object(i.b)()}throw new Error("unexpected notification kind value")}static createNext(e){return void 0!==e?new t("N",e):t.undefinedValueNotification}static createError(e){return new t("E",void 0,e)}static createComplete(){return t.completeNotification}}return t.completeNotification=new t("C"),t.undefinedValueNotification=new t("N",void 0),t})()},WTUP:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("2Vo4"),a=n("8Y7J");let r=(()=>{class t{constructor(){this._isLoadingSubj=new i.a(!1),this.isLoading$=this._isLoadingSubj.asObservable()}setLoading(t){this._isLoadingSubj.next(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=a.Jb({token:t,factory:t.\u0275fac,providedIn:"root"}),t})()},WYrj:function(t,e,n){!function(t){"use strict";var e=["\u0796\u07ac\u0782\u07aa\u0787\u07a6\u0783\u07a9","\u078a\u07ac\u0784\u07b0\u0783\u07aa\u0787\u07a6\u0783\u07a9","\u0789\u07a7\u0783\u07a8\u0797\u07aa","\u0787\u07ad\u0795\u07b0\u0783\u07a9\u078d\u07aa","\u0789\u07ad","\u0796\u07ab\u0782\u07b0","\u0796\u07aa\u078d\u07a6\u0787\u07a8","\u0787\u07af\u078e\u07a6\u0790\u07b0\u0793\u07aa","\u0790\u07ac\u0795\u07b0\u0793\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa","\u0787\u07ae\u0786\u07b0\u0793\u07af\u0784\u07a6\u0783\u07aa","\u0782\u07ae\u0788\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa","\u0791\u07a8\u0790\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa"],n=["\u0787\u07a7\u078b\u07a8\u0787\u07b0\u078c\u07a6","\u0780\u07af\u0789\u07a6","\u0787\u07a6\u0782\u07b0\u078e\u07a7\u0783\u07a6","\u0784\u07aa\u078b\u07a6","\u0784\u07aa\u0783\u07a7\u0790\u07b0\u078a\u07a6\u078c\u07a8","\u0780\u07aa\u0786\u07aa\u0783\u07aa","\u0780\u07ae\u0782\u07a8\u0780\u07a8\u0783\u07aa"];t.defineLocale("dv",{months:e,monthsShort:e,weekdays:n,weekdaysShort:n,weekdaysMin:"\u0787\u07a7\u078b\u07a8_\u0780\u07af\u0789\u07a6_\u0787\u07a6\u0782\u07b0_\u0784\u07aa\u078b\u07a6_\u0784\u07aa\u0783\u07a7_\u0780\u07aa\u0786\u07aa_\u0780\u07ae\u0782\u07a8".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0789\u0786|\u0789\u078a/,isPM:function(t){return"\u0789\u078a"===t},meridiem:function(t,e,n){return t<12?"\u0789\u0786":"\u0789\u078a"},calendar:{sameDay:"[\u0789\u07a8\u0787\u07a6\u078b\u07aa] LT",nextDay:"[\u0789\u07a7\u078b\u07a6\u0789\u07a7] LT",nextWeek:"dddd LT",lastDay:"[\u0787\u07a8\u0787\u07b0\u0794\u07ac] LT",lastWeek:"[\u078a\u07a7\u0787\u07a8\u078c\u07aa\u0788\u07a8] dddd LT",sameElse:"L"},relativeTime:{future:"\u078c\u07ac\u0783\u07ad\u078e\u07a6\u0787\u07a8 %s",past:"\u0786\u07aa\u0783\u07a8\u0782\u07b0 %s",s:"\u0790\u07a8\u0786\u07aa\u0782\u07b0\u078c\u07aa\u0786\u07ae\u0785\u07ac\u0787\u07b0",ss:"d% \u0790\u07a8\u0786\u07aa\u0782\u07b0\u078c\u07aa",m:"\u0789\u07a8\u0782\u07a8\u0793\u07ac\u0787\u07b0",mm:"\u0789\u07a8\u0782\u07a8\u0793\u07aa %d",h:"\u078e\u07a6\u0791\u07a8\u0787\u07a8\u0783\u07ac\u0787\u07b0",hh:"\u078e\u07a6\u0791\u07a8\u0787\u07a8\u0783\u07aa %d",d:"\u078b\u07aa\u0788\u07a6\u0780\u07ac\u0787\u07b0",dd:"\u078b\u07aa\u0788\u07a6\u0790\u07b0 %d",M:"\u0789\u07a6\u0780\u07ac\u0787\u07b0",MM:"\u0789\u07a6\u0790\u07b0 %d",y:"\u0787\u07a6\u0780\u07a6\u0783\u07ac\u0787\u07b0",yy:"\u0787\u07a6\u0780\u07a6\u0783\u07aa %d"},preparse:function(t){return t.replace(/\u060c/g,",")},postformat:function(t){return t.replace(/,/g,"\u060c")},week:{dow:7,doy:12}})}(n("wd/R"))},WiJD:function(t,e,n){"use strict";n.d(e,"a",function(){return c});var i=n("cXaA"),a=n("LRne"),r=n("JIr8"),o=n("lJxs"),s=n("8Y7J"),l=n("IheW");let c=(()=>{class t{constructor(t){this.http=t,this.log=i.a.create("ConfigurationService"),this.END_POINT="/api/configuration",this.END_POINT_VERSION="/api/version",this.obsData=null,this.versionData=null}getVersion(){return this.versionData||(this.log.data(`[HTTP] (GET) -> ${this.END_POINT_VERSION}`),this.versionData=this.http.get(this.END_POINT_VERSION).pipe(Object(r.a)(()=>(this.versionData=null,Object(a.a)(null))))),this.versionData}getData(){return this.obsData||(this.log.data(`[HTTP] (GET) -> ${this.END_POINT}`),this.obsData=this.http.get(this.END_POINT).pipe(Object(r.a)(()=>(this.obsData=null,Object(a.a)(null))))),this.obsData}getSiteKey(){return this.getData().pipe(Object(o.a)(t=>t?t.siteKey:null))}getNbItemByPage(){return this.getData().pipe(Object(o.a)(t=>t?t.nbItemByPage:null))}getAutocompleteCommuneNbMax(){return this.getData().pipe(Object(o.a)(t=>t?t.autocompleteCommune.nbMax:null))}getAutocompleteCommuneTimeLimit(){return this.getData().pipe(Object(o.a)(t=>t?t.autocompleteCommune.timeLimit:null))}getAutocompleteDpdNbMax(){return this.getData().pipe(Object(o.a)(t=>t?t.autocompleteDPD.nbMax:null))}getAutocompleteDpdTimeLimit(){return this.getData().pipe(Object(o.a)(t=>t?t.autocompleteDPD.timeLimit:null))}resetData(){this.obsData=null}}return t.\u0275fac=function(e){return new(e||t)(s.Xb(l.b))},t.\u0275prov=s.Jb({token:t,factory:t.\u0275fac,providedIn:"root"}),t})()},Wv91:function(t,e,n){!function(t){"use strict";var e={1:"'inji",5:"'inji",8:"'inji",70:"'inji",80:"'inji",2:"'nji",7:"'nji",20:"'nji",50:"'nji",3:"'\xfcnji",4:"'\xfcnji",100:"'\xfcnji",6:"'njy",9:"'unjy",10:"'unjy",30:"'unjy",60:"'ynjy",90:"'ynjy"};t.defineLocale("tk",{months:"\xddanwar_Fewral_Mart_Aprel_Ma\xfd_I\xfdun_I\xfdul_Awgust_Sent\xfdabr_Okt\xfdabr_No\xfdabr_Dekabr".split("_"),monthsShort:"\xddan_Few_Mar_Apr_Ma\xfd_I\xfdn_I\xfdl_Awg_Sen_Okt_No\xfd_Dek".split("_"),weekdays:"\xddek\u015fenbe_Du\u015fenbe_Si\u015fenbe_\xc7ar\u015fenbe_Pen\u015fenbe_Anna_\u015eenbe".split("_"),weekdaysShort:"\xddek_Du\u015f_Si\u015f_\xc7ar_Pen_Ann_\u015een".split("_"),weekdaysMin:"\xddk_D\u015f_S\u015f_\xc7r_Pn_An_\u015en".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn sagat] LT",nextDay:"[ertir sagat] LT",nextWeek:"[indiki] dddd [sagat] LT",lastDay:"[d\xfc\xfdn] LT",lastWeek:"[ge\xe7en] dddd [sagat] LT",sameElse:"L"},relativeTime:{future:"%s so\u0148",past:"%s \xf6\u0148",s:"birn\xe4\xe7e sekunt",m:"bir minut",mm:"%d minut",h:"bir sagat",hh:"%d sagat",d:"bir g\xfcn",dd:"%d g\xfcn",M:"bir a\xfd",MM:"%d a\xfd",y:"bir \xfdyl",yy:"%d \xfdyl"},ordinal:function(t,n){switch(n){case"d":case"D":case"Do":case"DD":return t;default:if(0===t)return t+"'unjy";var i=t%10;return t+(e[i]||e[t%100-i]||e[t>=100?100:null])}},week:{dow:1,doy:7}})}(n("wd/R"))},WxRl:function(t,e,n){!function(t){"use strict";var e="vas\xe1rnap h\xe9tf\u0151n kedden szerd\xe1n cs\xfct\xf6rt\xf6k\xf6n p\xe9nteken szombaton".split(" ");function n(t,e,n,i){var a=t;switch(n){case"s":return i||e?"n\xe9h\xe1ny m\xe1sodperc":"n\xe9h\xe1ny m\xe1sodperce";case"ss":return a+(i||e)?" m\xe1sodperc":" m\xe1sodperce";case"m":return"egy"+(i||e?" perc":" perce");case"mm":return a+(i||e?" perc":" perce");case"h":return"egy"+(i||e?" \xf3ra":" \xf3r\xe1ja");case"hh":return a+(i||e?" \xf3ra":" \xf3r\xe1ja");case"d":return"egy"+(i||e?" nap":" napja");case"dd":return a+(i||e?" nap":" napja");case"M":return"egy"+(i||e?" h\xf3nap":" h\xf3napja");case"MM":return a+(i||e?" h\xf3nap":" h\xf3napja");case"y":return"egy"+(i||e?" \xe9v":" \xe9ve");case"yy":return a+(i||e?" \xe9v":" \xe9ve")}return""}function i(t){return(t?"":"[m\xfalt] ")+"["+e[this.day()]+"] LT[-kor]"}t.defineLocale("hu",{months:"janu\xe1r_febru\xe1r_m\xe1rcius_\xe1prilis_m\xe1jus_j\xfanius_j\xfalius_augusztus_szeptember_okt\xf3ber_november_december".split("_"),monthsShort:"jan._feb._m\xe1rc._\xe1pr._m\xe1j._j\xfan._j\xfal._aug._szept._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"vas\xe1rnap_h\xe9tf\u0151_kedd_szerda_cs\xfct\xf6rt\xf6k_p\xe9ntek_szombat".split("_"),weekdaysShort:"vas_h\xe9t_kedd_sze_cs\xfct_p\xe9n_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM:function(t){return"u"===t.charAt(1).toLowerCase()},meridiem:function(t,e,n){return t<12?!0===n?"de":"DE":!0===n?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return i.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return i.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s m\xfalva",past:"%s",s:n,ss:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},X709:function(t,e,n){!function(t){"use strict";t.defineLocale("sv",{months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"s\xf6ndag_m\xe5ndag_tisdag_onsdag_torsdag_fredag_l\xf6rdag".split("_"),weekdaysShort:"s\xf6n_m\xe5n_tis_ons_tor_fre_l\xf6r".split("_"),weekdaysMin:"s\xf6_m\xe5_ti_on_to_fr_l\xf6".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[Ig\xe5r] LT",nextWeek:"[P\xe5] dddd LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"f\xf6r %s sedan",s:"n\xe5gra sekunder",ss:"%d sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en m\xe5nad",MM:"%d m\xe5nader",y:"ett \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}(\:e|\:a)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?":e":1===e||2===e?":a":":e")},week:{dow:1,doy:4}})}(n("wd/R"))},XDpg:function(t,e,n){!function(t){"use strict";t.defineLocale("zh-cn",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u5468\u65e5_\u5468\u4e00_\u5468\u4e8c_\u5468\u4e09_\u5468\u56db_\u5468\u4e94_\u5468\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5Ah\u70b9mm\u5206",LLLL:"YYYY\u5e74M\u6708D\u65e5ddddAh\u70b9mm\u5206",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u51cc\u6668"===e||"\u65e9\u4e0a"===e||"\u4e0a\u5348"===e?t:"\u4e0b\u5348"===e||"\u665a\u4e0a"===e?t+12:t>=11?t:t+12},meridiem:function(t,e,n){var i=100*t+e;return i<600?"\u51cc\u6668":i<900?"\u65e9\u4e0a":i<1130?"\u4e0a\u5348":i<1230?"\u4e2d\u5348":i<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:function(t){return t.week()!==this.week()?"[\u4e0b]dddLT":"[\u672c]dddLT"},lastDay:"[\u6628\u5929]LT",lastWeek:function(t){return this.week()!==t.week()?"[\u4e0a]dddLT":"[\u672c]dddLT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u5468)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"\u65e5";case"M":return t+"\u6708";case"w":case"W":return t+"\u5468";default:return t}},relativeTime:{future:"%s\u540e",past:"%s\u524d",s:"\u51e0\u79d2",ss:"%d \u79d2",m:"1 \u5206\u949f",mm:"%d \u5206\u949f",h:"1 \u5c0f\u65f6",hh:"%d \u5c0f\u65f6",d:"1 \u5929",dd:"%d \u5929",w:"1 \u5468",ww:"%d \u5468",M:"1 \u4e2a\u6708",MM:"%d \u4e2a\u6708",y:"1 \u5e74",yy:"%d \u5e74"},week:{dow:1,doy:4}})}(n("wd/R"))},XLvN:function(t,e,n){!function(t){"use strict";t.defineLocale("te",{months:"\u0c1c\u0c28\u0c35\u0c30\u0c3f_\u0c2b\u0c3f\u0c2c\u0c4d\u0c30\u0c35\u0c30\u0c3f_\u0c2e\u0c3e\u0c30\u0c4d\u0c1a\u0c3f_\u0c0f\u0c2a\u0c4d\u0c30\u0c3f\u0c32\u0c4d_\u0c2e\u0c47_\u0c1c\u0c42\u0c28\u0c4d_\u0c1c\u0c41\u0c32\u0c48_\u0c06\u0c17\u0c38\u0c4d\u0c1f\u0c41_\u0c38\u0c46\u0c2a\u0c4d\u0c1f\u0c46\u0c02\u0c2c\u0c30\u0c4d_\u0c05\u0c15\u0c4d\u0c1f\u0c4b\u0c2c\u0c30\u0c4d_\u0c28\u0c35\u0c02\u0c2c\u0c30\u0c4d_\u0c21\u0c3f\u0c38\u0c46\u0c02\u0c2c\u0c30\u0c4d".split("_"),monthsShort:"\u0c1c\u0c28._\u0c2b\u0c3f\u0c2c\u0c4d\u0c30._\u0c2e\u0c3e\u0c30\u0c4d\u0c1a\u0c3f_\u0c0f\u0c2a\u0c4d\u0c30\u0c3f._\u0c2e\u0c47_\u0c1c\u0c42\u0c28\u0c4d_\u0c1c\u0c41\u0c32\u0c48_\u0c06\u0c17._\u0c38\u0c46\u0c2a\u0c4d._\u0c05\u0c15\u0c4d\u0c1f\u0c4b._\u0c28\u0c35._\u0c21\u0c3f\u0c38\u0c46.".split("_"),monthsParseExact:!0,weekdays:"\u0c06\u0c26\u0c3f\u0c35\u0c3e\u0c30\u0c02_\u0c38\u0c4b\u0c2e\u0c35\u0c3e\u0c30\u0c02_\u0c2e\u0c02\u0c17\u0c33\u0c35\u0c3e\u0c30\u0c02_\u0c2c\u0c41\u0c27\u0c35\u0c3e\u0c30\u0c02_\u0c17\u0c41\u0c30\u0c41\u0c35\u0c3e\u0c30\u0c02_\u0c36\u0c41\u0c15\u0c4d\u0c30\u0c35\u0c3e\u0c30\u0c02_\u0c36\u0c28\u0c3f\u0c35\u0c3e\u0c30\u0c02".split("_"),weekdaysShort:"\u0c06\u0c26\u0c3f_\u0c38\u0c4b\u0c2e_\u0c2e\u0c02\u0c17\u0c33_\u0c2c\u0c41\u0c27_\u0c17\u0c41\u0c30\u0c41_\u0c36\u0c41\u0c15\u0c4d\u0c30_\u0c36\u0c28\u0c3f".split("_"),weekdaysMin:"\u0c06_\u0c38\u0c4b_\u0c2e\u0c02_\u0c2c\u0c41_\u0c17\u0c41_\u0c36\u0c41_\u0c36".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0c28\u0c47\u0c21\u0c41] LT",nextDay:"[\u0c30\u0c47\u0c2a\u0c41] LT",nextWeek:"dddd, LT",lastDay:"[\u0c28\u0c3f\u0c28\u0c4d\u0c28] LT",lastWeek:"[\u0c17\u0c24] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0c32\u0c4b",past:"%s \u0c15\u0c4d\u0c30\u0c3f\u0c24\u0c02",s:"\u0c15\u0c4a\u0c28\u0c4d\u0c28\u0c3f \u0c15\u0c4d\u0c37\u0c23\u0c3e\u0c32\u0c41",ss:"%d \u0c38\u0c46\u0c15\u0c28\u0c4d\u0c32\u0c41",m:"\u0c12\u0c15 \u0c28\u0c3f\u0c2e\u0c3f\u0c37\u0c02",mm:"%d \u0c28\u0c3f\u0c2e\u0c3f\u0c37\u0c3e\u0c32\u0c41",h:"\u0c12\u0c15 \u0c17\u0c02\u0c1f",hh:"%d \u0c17\u0c02\u0c1f\u0c32\u0c41",d:"\u0c12\u0c15 \u0c30\u0c4b\u0c1c\u0c41",dd:"%d \u0c30\u0c4b\u0c1c\u0c41\u0c32\u0c41",M:"\u0c12\u0c15 \u0c28\u0c46\u0c32",MM:"%d \u0c28\u0c46\u0c32\u0c32\u0c41",y:"\u0c12\u0c15 \u0c38\u0c02\u0c35\u0c24\u0c4d\u0c38\u0c30\u0c02",yy:"%d \u0c38\u0c02\u0c35\u0c24\u0c4d\u0c38\u0c30\u0c3e\u0c32\u0c41"},dayOfMonthOrdinalParse:/\d{1,2}\u0c35/,ordinal:"%d\u0c35",meridiemParse:/\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f|\u0c09\u0c26\u0c2f\u0c02|\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02|\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"===e?t<4?t:t+12:"\u0c09\u0c26\u0c2f\u0c02"===e?t:"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02"===e?t>=10?t:t+12:"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f":t<10?"\u0c09\u0c26\u0c2f\u0c02":t<17?"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02":t<20?"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02":"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"},week:{dow:0,doy:6}})}(n("wd/R"))},XNiG:function(t,e,n){"use strict";n.d(e,"b",function(){return c}),n.d(e,"a",function(){return d});var i=n("HDdC"),a=n("7o/Q"),r=n("quSY"),o=n("9ppp"),s=n("Ylt2"),l=n("2QA8");class c extends a.a{constructor(t){super(t),this.destination=t}}let d=(()=>{class t extends i.a{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[l.a](){return new c(this)}lift(t){const e=new u(this,this);return e.operator=t,e}next(t){if(this.closed)throw new o.a;if(!this.isStopped){const{observers:e}=this,n=e.length,i=e.slice();for(let a=0;a<n;a++)i[a].next(t)}}error(t){if(this.closed)throw new o.a;this.hasError=!0,this.thrownError=t,this.isStopped=!0;const{observers:e}=this,n=e.length,i=e.slice();for(let a=0;a<n;a++)i[a].error(t);this.observers.length=0}complete(){if(this.closed)throw new o.a;this.isStopped=!0;const{observers:t}=this,e=t.length,n=t.slice();for(let i=0;i<e;i++)n[i].complete();this.observers.length=0}unsubscribe(){this.isStopped=!0,this.closed=!0,this.observers=null}_trySubscribe(t){if(this.closed)throw new o.a;return super._trySubscribe(t)}_subscribe(t){if(this.closed)throw new o.a;return this.hasError?(t.error(this.thrownError),r.a.EMPTY):this.isStopped?(t.complete(),r.a.EMPTY):(this.observers.push(t),new s.a(this,t))}asObservable(){const t=new i.a;return t.source=this,t}}return t.create=(t,e)=>new u(t,e),t})();class u extends d{constructor(t,e){super(),this.destination=t,this.source=e}next(t){const{destination:e}=this;e&&e.next&&e.next(t)}error(t){const{destination:e}=this;e&&e.error&&this.destination.error(t)}complete(){const{destination:t}=this;t&&t.complete&&this.destination.complete()}_subscribe(t){const{source:e}=this;return e?this.source.subscribe(t):r.a.EMPTY}}},XoHu:function(t,e,n){"use strict";function i(t){return null!==t&&"object"==typeof t}n.d(e,"a",function(){return i})},XoVe:function(t,e,n){"use strict";n.d(e,"a",function(){return c});var i=n("8Y7J"),a=n("IGtN"),r=n("hGT6"),o=n("TSSN"),s=n("zaPX"),l=n("i+32");let c=(()=>{class t extends a.a{constructor(t,e){super(t),this.translateService=t,this.configSharedService=e,this.submitWorker=new i.o}load(){this.workerFormGp=this.configSharedService.form.get(r.a.SINGLE_WORKER)}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(o.d),i.Nb(s.a))},t.\u0275cmp=i.Hb({type:t,selectors:[["app-dpd-edit-single-worker-2"]],outputs:{submitWorker:"submitWorker"},features:[i.zb],decls:5,vars:4,consts:[[1,"box-margin"],[3,"formGp"]],template:function(t,e){1&t&&(i.Tb(0,"h3"),i.Hc(1),i.gc(2,"translate"),i.Sb(),i.Tb(3,"div",0),i.Ob(4,"app-single-worker-form-2",1),i.Sb()),2&t&&(i.Cb(1),i.Ic(i.hc(2,2,"dpd.menu.salarie")),i.Cb(3),i.nc("formGp",e.workerFormGp))},directives:[l.a],pipes:[o.c],styles:["h3[_ngcontent-%COMP%]{margin:0 0 8px;padding-bottom:16px;border-bottom:1px solid #999}.box-margin[_ngcontent-%COMP%]{margin:0 32px}"]}),t})()},Y7HM:function(t,e,n){"use strict";n.d(e,"a",function(){return a});var i=n("DH7j");function a(t){return!Object(i.a)(t)&&t-parseFloat(t)+1>=0}},Y7XA:function(t,e,n){"use strict";n.d(e,"a",function(){return Y});var i=n("s7LF"),a=n("EY2u"),r=n("lJxs"),o=n("nYR2"),s=n("JIr8"),l=n("v/fa"),c=n("Rqom"),d=n("p/g4"),u=n("AxuS"),h=n("8Y7J"),m=n("TSSN"),p=n("keau"),f=n("zaPX"),g=n("SVse"),b=n("Q2Ze"),_=n("e6WT"),y=n("q6Qu"),v=n("Tj54"),C=n("pu8Q"),w=n("o1lE");function x(t,e){1&t&&(h.Tb(0,"mat-error"),h.Hc(1),h.gc(2,"translate"),h.Sb()),2&t&&(h.Cb(1),h.Jc(" ",h.hc(2,1,"common.error.requis")," "))}function M(t,e){1&t&&(h.Tb(0,"mat-error"),h.Hc(1),h.gc(2,"translate"),h.Sb()),2&t&&(h.Cb(1),h.Jc(" ",h.hc(2,1,"common.error.siret")," "))}function O(t,e){1&t&&(h.Tb(0,"mat-error"),h.Hc(1),h.gc(2,"translate"),h.Sb()),2&t&&(h.Cb(1),h.Jc(" ",h.hc(2,1,"siret.error.introuvable")," "))}function k(t,e){1&t&&(h.Tb(0,"span",8),h.Hc(1),h.gc(2,"translate"),h.Sb()),2&t&&(h.Cb(1),h.Jc(" ",h.hc(2,1,"siret.error.indisponible")," "))}function S(t,e){1&t&&(h.Tb(0,"mat-icon",9),h.Hc(1,"check"),h.Sb())}function T(t,e){1&t&&h.Ob(0,"mat-spinner",10),2&t&&h.nc("diameter",20)}function P(t,e){if(1&t){const t=h.Ub();h.Rb(0),h.Tb(1,"mat-form-field"),h.Tb(2,"input",3),h.bc("blur",function(){return h.yc(t),h.fc().onInputChange()}),h.Sb(),h.Fc(3,x,3,3,"mat-error",4),h.Fc(4,M,3,3,"mat-error",4),h.Fc(5,O,3,3,"mat-error",4),h.Fc(6,k,3,3,"span",5),h.Fc(7,S,2,0,"mat-icon",6),h.Fc(8,T,1,1,"mat-spinner",7),h.Sb(),h.Qb()}if(2&t){const t=h.fc();h.Cb(3),h.nc("ngIf",t.doesControlHaveError("siret","required")),h.Cb(1),h.nc("ngIf",t.doesControlHaveError("siret","pattern")),h.Cb(1),h.nc("ngIf",t.state===t.siretStateEnum.INVALID),h.Cb(1),h.nc("ngIf",t.state===t.siretStateEnum.ERROR),h.Cb(1),h.nc("ngIf",t.state===t.siretStateEnum.VALID),h.Cb(1),h.nc("ngIf",t.isLoading)}}function L(t,e){1&t&&(h.Tb(0,"mat-error"),h.Hc(1),h.gc(2,"translate"),h.Sb()),2&t&&(h.Cb(1),h.Jc(" ",h.hc(2,1,"common.error.requis")," "))}function D(t,e){1&t&&(h.Tb(0,"mat-error"),h.Hc(1),h.gc(2,"translate"),h.Sb()),2&t&&(h.Cb(1),h.Jc(" ",h.hc(2,1,"common.error.siret")," "))}function E(t,e){1&t&&(h.Tb(0,"mat-error"),h.Hc(1),h.gc(2,"translate"),h.Sb()),2&t&&(h.Cb(1),h.Jc(" ",h.hc(2,1,"siret.error.introuvable")," "))}function A(t,e){1&t&&(h.Tb(0,"mat-icon",9),h.Hc(1,"check"),h.Sb())}function I(t,e){1&t&&h.Ob(0,"mat-spinner",10),2&t&&h.nc("diameter",20)}function R(t,e){1&t&&(h.Tb(0,"mat-error"),h.Hc(1),h.gc(2,"translate"),h.Sb()),2&t&&(h.Cb(1),h.Ic(h.hc(2,1,"siret.error.indisponible")))}function N(t,e){if(1&t){const t=h.Ub();h.Tb(0,"app-representant-autocomplete-2",11),h.bc("selectionChanged",function(e){return h.yc(t),h.fc().onSiretChange(e)})("inputChanged",function(){return h.yc(t),h.fc().onInputChange()}),h.Fc(1,L,3,3,"mat-error",4),h.Fc(2,D,3,3,"mat-error",4),h.Fc(3,E,3,3,"mat-error",4),h.Fc(4,A,2,0,"mat-icon",6),h.Fc(5,I,1,1,"mat-spinner",7),h.Sb(),h.Fc(6,R,3,3,"mat-error",4)}if(2&t){const t=h.fc();h.nc("name","siretInput")("inputTitle","common.siret")("isRequired",t.isRequired)("formControl",t.siretCtrl),h.Cb(1),h.nc("ngIf",t.doesControlHaveError("siret","required")),h.Cb(1),h.nc("ngIf",t.doesControlHaveError("siret","pattern")),h.Cb(1),h.nc("ngIf",t.state===t.siretStateEnum.INVALID),h.Cb(1),h.nc("ngIf",t.state===t.siretStateEnum.VALID),h.Cb(1),h.nc("ngIf",t.isLoading),h.Cb(1),h.nc("ngIf",t.state===t.siretStateEnum.ERROR)}}let Y=(()=>{class t extends l.a{constructor(t,e,n){super(t),this.translateService=t,this.sirenService=e,this.configSharedService=n,this.siretStateEnum=u.a}load(){this.form=this.formGp,this._countries=this.configSharedService.countries,this._siretSaved=this.sirenService.getSiret(),this.state=this.sirenService.getState(),this._siretSaved===this.siretCtrl.value||this.siretCtrl.disabled||this.check(this.siretCtrl.value),this.siretCtrl.setValidators([i.w.required,i.w.pattern("[0-9]{14}"),()=>c.a.siretValidator(this.state)])}get siretCtrl(){return this.form.get("siret")}check(t){this.isLoading=!0,this.subscriptions.push(this.getSiret(t).subscribe(t=>{let e={};t&&(this.state=u.a.VALID,this.sirenService.setState(this.state),this.siretCtrl.updateValueAndValidity(),e={raisonSociale:t.rs,adresse:{adresse:t.adresseSiren.adresse,complementAdresse:t.adresseSiren.complementAdresse,ville:t.adresseSiren.ville,cp:t.adresseSiren.cp,pays:this._countries.find(e=>e.code===t.adresseSiren.pays)}}),this.updateParentFormValues(e)}))}getSiret(t){return this.sirenService.getSirets([{field:"siret",values:[t],operand:d.a.EQUAL}]).pipe(Object(r.a)(t=>t.items[0]),Object(o.a)(()=>this.isLoading=!1),Object(s.a)(t=>(this.state=404===t.status?u.a.INVALID:u.a.ERROR,this.sirenService.setState(this.state),this.siretCtrl.updateValueAndValidity(),a.a)))}updateParentFormValues(t){this.form.patchValue(t)}onSiretChange(t){this.updateParentFormValues({adresse:{adresse:t.adresse,complementAdresse:t.complementAdresse,ville:t.ville,cp:t.cp},raisonSociale:t.raisonSociale,telephone:t.telephone,email:t.email,conservation:t.conservation,siret:t.siren})}onInputChange(){this.siretCtrl.hasError("pattern")||(this.check(this.siretCtrl.value),this.sirenService.setSiret(this.siretCtrl.value))}}return t.\u0275fac=function(e){return new(e||t)(h.Nb(m.d),h.Nb(p.a),h.Nb(f.a))},t.\u0275cmp=h.Hb({type:t,selectors:[["app-siret-check-2"]],inputs:{formGp:"formGp",isAutocompleteDisabled:"isAutocompleteDisabled",isRequired:"isRequired"},features:[h.zb],decls:4,vars:3,consts:[[3,"formGroup"],[4,"ngIf","ngIfElse"],["autocompleteComponent",""],["matInput","","type","text","name","siretInput","appLabel","common.siret","required","isRequired","formControlName","siret",3,"blur"],[4,"ngIf"],["class","miscall-api",4,"ngIf"],["color","accent",4,"ngIf"],["color","primary",3,"diameter",4,"ngIf"],[1,"miscall-api"],["color","accent"],["color","primary",3,"diameter"],["formControlName","siret",3,"name","inputTitle","isRequired","formControl","selectionChanged","inputChanged"]],template:function(t,e){if(1&t&&(h.Tb(0,"form",0),h.Fc(1,P,9,6,"ng-container",1),h.Fc(2,N,7,10,"ng-template",null,2,h.Gc),h.Sb()),2&t){const t=h.vc(3);h.nc("formGroup",e.form),h.Cb(1),h.nc("ngIf",e.isAutocompleteDisabled)("ngIfElse",t)}},directives:[i.x,i.p,i.i,g.l,b.c,_.b,i.c,y.a,i.v,i.o,i.g,b.b,v.a,C.b,w.a,i.f],pipes:[m.c],styles:["mat-form-field[_ngcontent-%COMP%]{width:100%}mat-icon[_ngcontent-%COMP%], mat-spinner[_ngcontent-%COMP%]{position:absolute;right:24px;top:0}.miscall-api[_ngcontent-%COMP%]{color:#e2001d;font-size:.9em;position:absolute;margin-top:26px;left:0}"]}),t})()},YEUz:function(t,e,n){"use strict";n.d(e,"a",function(){return W}),n.d(e,"b",function(){return O}),n.d(e,"c",function(){return C}),n.d(e,"d",function(){return N}),n.d(e,"e",function(){return V}),n.d(e,"f",function(){return E}),n.d(e,"g",function(){return k}),n.d(e,"h",function(){return F}),n.d(e,"i",function(){return D}),n.d(e,"j",function(){return B}),n.d(e,"k",function(){return R}),n.d(e,"l",function(){return Y});var i=n("SVse"),a=n("8Y7J"),r=n("XNiG"),o=n("quSY"),s=n("LRne"),l=n("Ht+U"),c=n("vkgz"),d=n("Kj3r"),u=n("pLZG"),h=n("lJxs"),m=n("IzEk"),p=n("8LU1"),f=n("SCoL"),g=n("9b/N");function b(t,e){return(t.getAttribute(e)||"").match(/\S+/g)||[]}let _=0;const y=new Map;let v=null,C=(()=>{class t{constructor(t){this._document=t}describe(t,e,n){if(!this._canBeDescribed(t,e))return;const i=w(e,n);"string"!=typeof e?(x(e),y.set(i,{messageElement:e,referenceCount:0})):y.has(i)||this._createMessageElement(e,n),this._isElementDescribedByMessage(t,i)||this._addMessageReference(t,i)}removeDescription(t,e,n){if(!e||!this._isElementNode(t))return;const i=w(e,n);if(this._isElementDescribedByMessage(t,i)&&this._removeMessageReference(t,i),"string"==typeof e){const t=y.get(i);t&&0===t.referenceCount&&this._deleteMessageElement(i)}v&&0===v.childNodes.length&&this._deleteMessagesContainer()}ngOnDestroy(){const t=this._document.querySelectorAll("[cdk-describedby-host]");for(let e=0;e<t.length;e++)this._removeCdkDescribedByReferenceIds(t[e]),t[e].removeAttribute("cdk-describedby-host");v&&this._deleteMessagesContainer(),y.clear()}_createMessageElement(t,e){const n=this._document.createElement("div");x(n),n.textContent=t,e&&n.setAttribute("role",e),this._createMessagesContainer(),v.appendChild(n),y.set(w(t,e),{messageElement:n,referenceCount:0})}_deleteMessageElement(t){const e=y.get(t),n=e&&e.messageElement;v&&n&&v.removeChild(n),y.delete(t)}_createMessagesContainer(){if(!v){const t=this._document.getElementById("cdk-describedby-message-container");t&&t.parentNode&&t.parentNode.removeChild(t),v=this._document.createElement("div"),v.id="cdk-describedby-message-container",v.style.visibility="hidden",v.classList.add("cdk-visually-hidden"),this._document.body.appendChild(v)}}_deleteMessagesContainer(){v&&v.parentNode&&(v.parentNode.removeChild(v),v=null)}_removeCdkDescribedByReferenceIds(t){const e=b(t,"aria-describedby").filter(t=>0!=t.indexOf("cdk-describedby-message"));t.setAttribute("aria-describedby",e.join(" "))}_addMessageReference(t,e){const n=y.get(e);!function(t,e,n){const i=b(t,e);i.some(t=>t.trim()==n.trim())||(i.push(n.trim()),t.setAttribute(e,i.join(" ")))}(t,"aria-describedby",n.messageElement.id),t.setAttribute("cdk-describedby-host",""),n.referenceCount++}_removeMessageReference(t,e){const n=y.get(e);n.referenceCount--,function(t,e,n){const i=b(t,e).filter(t=>t!=n.trim());i.length?t.setAttribute(e,i.join(" ")):t.removeAttribute(e)}(t,"aria-describedby",n.messageElement.id),t.removeAttribute("cdk-describedby-host")}_isElementDescribedByMessage(t,e){const n=b(t,"aria-describedby"),i=y.get(e),a=i&&i.messageElement.id;return!!a&&-1!=n.indexOf(a)}_canBeDescribed(t,e){if(!this._isElementNode(t))return!1;if(e&&"object"==typeof e)return!0;const n=null==e?"":`${e}`.trim(),i=t.getAttribute("aria-label");return!(!n||i&&i.trim()===n)}_isElementNode(t){return t.nodeType===this._document.ELEMENT_NODE}}return t.\u0275fac=function(e){return new(e||t)(a.Xb(i.d))},t.\u0275prov=Object(a.Jb)({factory:function(){return new t(Object(a.Xb)(i.d))},token:t,providedIn:"root"}),t})();function w(t,e){return"string"==typeof t?`${e||""}/${t}`:t}function x(t){t.id||(t.id="cdk-describedby-message-"+_++)}class M{constructor(t){this._items=t,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new r.a,this._typeaheadSubscription=o.a.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._skipPredicateFn=t=>t.disabled,this._pressedLetters=[],this.tabOut=new r.a,this.change=new r.a,t instanceof a.F&&t.changes.subscribe(t=>{if(this._activeItem){const e=t.toArray().indexOf(this._activeItem);e>-1&&e!==this._activeItemIndex&&(this._activeItemIndex=e)}})}skipPredicate(t){return this._skipPredicateFn=t,this}withWrap(t=!0){return this._wrap=t,this}withVerticalOrientation(t=!0){return this._vertical=t,this}withHorizontalOrientation(t){return this._horizontal=t,this}withAllowedModifierKeys(t){return this._allowedModifierKeys=t,this}withTypeAhead(t=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(Object(c.a)(t=>this._pressedLetters.push(t)),Object(d.a)(t),Object(u.a)(()=>this._pressedLetters.length>0),Object(h.a)(()=>this._pressedLetters.join(""))).subscribe(t=>{const e=this._getItemsArray();for(let n=1;n<e.length+1;n++){const i=(this._activeItemIndex+n)%e.length,a=e[i];if(!this._skipPredicateFn(a)&&0===a.getLabel().toUpperCase().trim().indexOf(t)){this.setActiveItem(i);break}}this._pressedLetters=[]}),this}withHomeAndEnd(t=!0){return this._homeAndEnd=t,this}setActiveItem(t){const e=this._activeItem;this.updateActiveItem(t),this._activeItem!==e&&this.change.next(this._activeItemIndex)}onKeydown(t){const e=t.keyCode,n=["altKey","ctrlKey","metaKey","shiftKey"].every(e=>!t[e]||this._allowedModifierKeys.indexOf(e)>-1);switch(e){case l.n:return void this.tabOut.next();case l.c:if(this._vertical&&n){this.setNextItemActive();break}return;case l.o:if(this._vertical&&n){this.setPreviousItemActive();break}return;case l.l:if(this._horizontal&&n){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case l.h:if(this._horizontal&&n){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case l.g:if(this._homeAndEnd&&n){this.setFirstItemActive();break}return;case l.d:if(this._homeAndEnd&&n){this.setLastItemActive();break}return;default:return void((n||Object(l.r)(t,"shiftKey"))&&(t.key&&1===t.key.length?this._letterKeyStream.next(t.key.toLocaleUpperCase()):(e>=l.a&&e<=l.p||e>=l.q&&e<=l.i)&&this._letterKeyStream.next(String.fromCharCode(e))))}this._pressedLetters=[],t.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(t){const e=this._getItemsArray(),n="number"==typeof t?t:e.indexOf(t),i=e[n];this._activeItem=null==i?null:i,this._activeItemIndex=n}_setActiveItemByDelta(t){this._wrap?this._setActiveInWrapMode(t):this._setActiveInDefaultMode(t)}_setActiveInWrapMode(t){const e=this._getItemsArray();for(let n=1;n<=e.length;n++){const i=(this._activeItemIndex+t*n+e.length)%e.length;if(!this._skipPredicateFn(e[i]))return void this.setActiveItem(i)}}_setActiveInDefaultMode(t){this._setActiveItemByIndex(this._activeItemIndex+t,t)}_setActiveItemByIndex(t,e){const n=this._getItemsArray();if(n[t]){for(;this._skipPredicateFn(n[t]);)if(!n[t+=e])return;this.setActiveItem(t)}}_getItemsArray(){return this._items instanceof a.F?this._items.toArray():this._items}}class O extends M{setActiveItem(t){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(t),this.activeItem&&this.activeItem.setActiveStyles()}}class k extends M{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(t){return this._origin=t,this}setActiveItem(t){super.setActiveItem(t),this.activeItem&&this.activeItem.focus(this._origin)}}let S=(()=>{class t{constructor(t){this._platform=t}isDisabled(t){return t.hasAttribute("disabled")}isVisible(t){return function(t){return!!(t.offsetWidth||t.offsetHeight||"function"==typeof t.getClientRects&&t.getClientRects().length)}(t)&&"visible"===getComputedStyle(t).visibility}isTabbable(t){if(!this._platform.isBrowser)return!1;const e=function(t){try{return t.frameElement}catch(e){return null}}((n=t).ownerDocument&&n.ownerDocument.defaultView||window);var n;if(e){if(-1===P(e))return!1;if(!this.isVisible(e))return!1}let i=t.nodeName.toLowerCase(),a=P(t);return t.hasAttribute("contenteditable")?-1!==a:"iframe"!==i&&"object"!==i&&!(this._platform.WEBKIT&&this._platform.IOS&&!function(t){let e=t.nodeName.toLowerCase(),n="input"===e&&t.type;return"text"===n||"password"===n||"select"===e||"textarea"===e}(t))&&("audio"===i?!!t.hasAttribute("controls")&&-1!==a:"video"===i?-1!==a&&(null!==a||this._platform.FIREFOX||t.hasAttribute("controls")):t.tabIndex>=0)}isFocusable(t,e){return function(t){return!function(t){return function(t){return"input"==t.nodeName.toLowerCase()}(t)&&"hidden"==t.type}(t)&&(function(t){let e=t.nodeName.toLowerCase();return"input"===e||"select"===e||"button"===e||"textarea"===e}(t)||function(t){return function(t){return"a"==t.nodeName.toLowerCase()}(t)&&t.hasAttribute("href")}(t)||t.hasAttribute("contenteditable")||T(t))}(t)&&!this.isDisabled(t)&&((null==e?void 0:e.ignoreVisibility)||this.isVisible(t))}}return t.\u0275fac=function(e){return new(e||t)(a.Xb(f.a))},t.\u0275prov=Object(a.Jb)({factory:function(){return new t(Object(a.Xb)(f.a))},token:t,providedIn:"root"}),t})();function T(t){if(!t.hasAttribute("tabindex")||void 0===t.tabIndex)return!1;let e=t.getAttribute("tabindex");return"-32768"!=e&&!(!e||isNaN(parseInt(e,10)))}function P(t){if(!T(t))return null;const e=parseInt(t.getAttribute("tabindex")||"",10);return isNaN(e)?-1:e}class L{constructor(t,e,n,i,a=!1){this._element=t,this._checker=e,this._ngZone=n,this._document=i,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,a||this.attachAnchors()}get enabled(){return this._enabled}set enabled(t){this._enabled=t,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))}destroy(){const t=this._startAnchor,e=this._endAnchor;t&&(t.removeEventListener("focus",this.startAnchorListener),t.parentNode&&t.parentNode.removeChild(t)),e&&(e.removeEventListener("focus",this.endAnchorListener),e.parentNode&&e.parentNode.removeChild(e)),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(){return new Promise(t=>{this._executeOnStable(()=>t(this.focusInitialElement()))})}focusFirstTabbableElementWhenReady(){return new Promise(t=>{this._executeOnStable(()=>t(this.focusFirstTabbableElement()))})}focusLastTabbableElementWhenReady(){return new Promise(t=>{this._executeOnStable(()=>t(this.focusLastTabbableElement()))})}_getRegionBoundary(t){let e=this._element.querySelectorAll(`[cdk-focus-region-${t}], [cdkFocusRegion${t}], [cdk-focus-${t}]`);for(let n=0;n<e.length;n++)e[n].hasAttribute(`cdk-focus-${t}`)?console.warn(`Found use of deprecated attribute 'cdk-focus-${t}', use 'cdkFocusRegion${t}' instead. The deprecated attribute will be removed in 8.0.0.`,e[n]):e[n].hasAttribute(`cdk-focus-region-${t}`)&&console.warn(`Found use of deprecated attribute 'cdk-focus-region-${t}', use 'cdkFocusRegion${t}' instead. The deprecated attribute will be removed in 8.0.0.`,e[n]);return"start"==t?e.length?e[0]:this._getFirstTabbableElement(this._element):e.length?e[e.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(){const t=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(t){if(t.hasAttribute("cdk-focus-initial")&&console.warn("Found use of deprecated attribute 'cdk-focus-initial', use 'cdkFocusInitial' instead. The deprecated attribute will be removed in 8.0.0",t),!this._checker.isFocusable(t)){const e=this._getFirstTabbableElement(t);return null==e||e.focus(),!!e}return t.focus(),!0}return this.focusFirstTabbableElement()}focusFirstTabbableElement(){const t=this._getRegionBoundary("start");return t&&t.focus(),!!t}focusLastTabbableElement(){const t=this._getRegionBoundary("end");return t&&t.focus(),!!t}hasAttached(){return this._hasAttached}_getFirstTabbableElement(t){if(this._checker.isFocusable(t)&&this._checker.isTabbable(t))return t;let e=t.children||t.childNodes;for(let n=0;n<e.length;n++){let t=e[n].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(e[n]):null;if(t)return t}return null}_getLastTabbableElement(t){if(this._checker.isFocusable(t)&&this._checker.isTabbable(t))return t;let e=t.children||t.childNodes;for(let n=e.length-1;n>=0;n--){let t=e[n].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[n]):null;if(t)return t}return null}_createAnchor(){const t=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,t),t.classList.add("cdk-visually-hidden"),t.classList.add("cdk-focus-trap-anchor"),t.setAttribute("aria-hidden","true"),t}_toggleAnchorTabIndex(t,e){t?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}toggleAnchors(t){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))}_executeOnStable(t){this._ngZone.isStable?t():this._ngZone.onStable.pipe(Object(m.a)(1)).subscribe(t)}}let D=(()=>{class t{constructor(t,e,n){this._checker=t,this._ngZone=e,this._document=n}create(t,e=!1){return new L(t,this._checker,this._ngZone,this._document,e)}}return t.\u0275fac=function(e){return new(e||t)(a.Xb(S),a.Xb(a.B),a.Xb(i.d))},t.\u0275prov=Object(a.Jb)({factory:function(){return new t(Object(a.Xb)(S),Object(a.Xb)(a.B),Object(a.Xb)(i.d))},token:t,providedIn:"root"}),t})(),E=(()=>{class t{constructor(t,e,n){this._elementRef=t,this._focusTrapFactory=e,this._previouslyFocusedElement=null,this._document=n,this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)}get enabled(){return this.focusTrap.enabled}set enabled(t){this.focusTrap.enabled=Object(p.c)(t)}get autoCapture(){return this._autoCapture}set autoCapture(t){this._autoCapture=Object(p.c)(t)}ngOnDestroy(){this.focusTrap.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){this.focusTrap.attachAnchors(),this.autoCapture&&this._captureFocus()}ngDoCheck(){this.focusTrap.hasAttached()||this.focusTrap.attachAnchors()}ngOnChanges(t){const e=t.autoCapture;e&&!e.firstChange&&this.autoCapture&&this.focusTrap.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=this._document.activeElement,this.focusTrap.focusInitialElementWhenReady()}}return t.\u0275fac=function(e){return new(e||t)(a.Nb(a.l),a.Nb(D),a.Nb(i.d))},t.\u0275dir=a.Ib({type:t,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:["cdkTrapFocus","enabled"],autoCapture:["cdkTrapFocusAutoCapture","autoCapture"]},exportAs:["cdkTrapFocus"],features:[a.Ab]}),t})();"undefined"!=typeof Element&&Element;const A=new a.s("liveAnnouncerElement",{providedIn:"root",factory:function(){return null}}),I=new a.s("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let R=(()=>{class t{constructor(t,e,n,i){this._ngZone=e,this._defaultOptions=i,this._document=n,this._liveElement=t||this._createLiveElement()}announce(t,...e){const n=this._defaultOptions;let i,a;return 1===e.length&&"number"==typeof e[0]?a=e[0]:[i,a]=e,this.clear(),clearTimeout(this._previousTimeout),i||(i=n&&n.politeness?n.politeness:"polite"),null==a&&n&&(a=n.duration),this._liveElement.setAttribute("aria-live",i),this._ngZone.runOutsideAngular(()=>new Promise(e=>{clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=t,e(),"number"==typeof a&&(this._previousTimeout=setTimeout(()=>this.clear(),a))},100)}))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement&&this._liveElement.parentNode&&(this._liveElement.parentNode.removeChild(this._liveElement),this._liveElement=null)}_createLiveElement(){const t=this._document.getElementsByClassName("cdk-live-announcer-element"),e=this._document.createElement("div");for(let n=0;n<t.length;n++)t[n].parentNode.removeChild(t[n]);return e.classList.add("cdk-live-announcer-element"),e.classList.add("cdk-visually-hidden"),e.setAttribute("aria-atomic","true"),e.setAttribute("aria-live","polite"),this._document.body.appendChild(e),e}}return t.\u0275fac=function(e){return new(e||t)(a.Xb(A,8),a.Xb(a.B),a.Xb(i.d),a.Xb(I,8))},t.\u0275prov=Object(a.Jb)({factory:function(){return new t(Object(a.Xb)(A,8),Object(a.Xb)(a.B),Object(a.Xb)(i.d),Object(a.Xb)(I,8))},token:t,providedIn:"root"}),t})(),N=(()=>{class t{constructor(t,e,n,i){this._elementRef=t,this._liveAnnouncer=e,this._contentObserver=n,this._ngZone=i,this._politeness="polite"}get politeness(){return this._politeness}set politeness(t){this._politeness="off"===t||"assertive"===t?t:"polite","off"===this._politeness?this._subscription&&(this._subscription.unsubscribe(),this._subscription=null):this._subscription||(this._subscription=this._ngZone.runOutsideAngular(()=>this._contentObserver.observe(this._elementRef).subscribe(()=>{const t=this._elementRef.nativeElement.textContent;t!==this._previousAnnouncedText&&(this._liveAnnouncer.announce(t,this._politeness),this._previousAnnouncedText=t)})))}ngOnDestroy(){this._subscription&&this._subscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(a.Nb(a.l),a.Nb(R),a.Nb(g.b),a.Nb(a.B))},t.\u0275dir=a.Ib({type:t,selectors:[["","cdkAriaLive",""]],inputs:{politeness:["cdkAriaLive","politeness"]},exportAs:["cdkAriaLive"]}),t})();function Y(t){return 0===t.buttons}const H=new a.s("cdk-focus-monitor-default-options"),j=Object(f.f)({passive:!0,capture:!0});let F=(()=>{class t{constructor(t,e,n,i){this._ngZone=t,this._platform=e,this._origin=null,this._windowFocused=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._documentKeydownListener=()=>{this._lastTouchTarget=null,this._setOriginForCurrentEventQueue("keyboard")},this._documentMousedownListener=t=>{if(!this._lastTouchTarget){const e=Y(t)?"keyboard":"mouse";this._setOriginForCurrentEventQueue(e)}},this._documentTouchstartListener=t=>{null!=this._touchTimeoutId&&clearTimeout(this._touchTimeoutId),this._lastTouchTarget=z(t),this._touchTimeoutId=setTimeout(()=>this._lastTouchTarget=null,650)},this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=setTimeout(()=>this._windowFocused=!1)},this._rootNodeFocusAndBlurListener=t=>{const e=z(t),n="focus"===t.type?this._onFocus:this._onBlur;for(let i=e;i;i=i.parentElement)n.call(this,t,i)},this._document=n,this._detectionMode=(null==i?void 0:i.detectionMode)||0}monitor(t,e=!1){const n=Object(p.e)(t);if(!this._platform.isBrowser||1!==n.nodeType)return Object(s.a)(null);const i=Object(f.c)(n)||this._getDocument(),a=this._elementInfo.get(n);if(a)return e&&(a.checkChildren=!0),a.subject;const o={checkChildren:e,subject:new r.a,rootNode:i};return this._elementInfo.set(n,o),this._registerGlobalListeners(o),o.subject}stopMonitoring(t){const e=Object(p.e)(t),n=this._elementInfo.get(e);n&&(n.subject.complete(),this._setClasses(e),this._elementInfo.delete(e),this._removeGlobalListeners(n))}focusVia(t,e,n){const i=Object(p.e)(t);i===this._getDocument().activeElement?this._getClosestElementsInfo(i).forEach(([t,n])=>this._originChanged(t,e,n)):(this._setOriginForCurrentEventQueue(e),"function"==typeof i.focus&&i.focus(n))}ngOnDestroy(){this._elementInfo.forEach((t,e)=>this.stopMonitoring(e))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_toggleClass(t,e,n){n?t.classList.add(e):t.classList.remove(e)}_getFocusOrigin(t){return this._origin?this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:this._wasCausedByTouch(t)?"touch":"program"}_setClasses(t,e){this._toggleClass(t,"cdk-focused",!!e),this._toggleClass(t,"cdk-touch-focused","touch"===e),this._toggleClass(t,"cdk-keyboard-focused","keyboard"===e),this._toggleClass(t,"cdk-mouse-focused","mouse"===e),this._toggleClass(t,"cdk-program-focused","program"===e)}_setOriginForCurrentEventQueue(t){this._ngZone.runOutsideAngular(()=>{this._origin=t,0===this._detectionMode&&(this._originTimeoutId=setTimeout(()=>this._origin=null,1))})}_wasCausedByTouch(t){const e=z(t);return this._lastTouchTarget instanceof Node&&e instanceof Node&&(e===this._lastTouchTarget||e.contains(this._lastTouchTarget))}_onFocus(t,e){const n=this._elementInfo.get(e);n&&(n.checkChildren||e===z(t))&&this._originChanged(e,this._getFocusOrigin(t),n)}_onBlur(t,e){const n=this._elementInfo.get(e);!n||n.checkChildren&&t.relatedTarget instanceof Node&&e.contains(t.relatedTarget)||(this._setClasses(e),this._emitOrigin(n.subject,null))}_emitOrigin(t,e){this._ngZone.run(()=>t.next(e))}_registerGlobalListeners(t){if(!this._platform.isBrowser)return;const e=t.rootNode,n=this._rootNodeFocusListenerCount.get(e)||0;n||this._ngZone.runOutsideAngular(()=>{e.addEventListener("focus",this._rootNodeFocusAndBlurListener,j),e.addEventListener("blur",this._rootNodeFocusAndBlurListener,j)}),this._rootNodeFocusListenerCount.set(e,n+1),1==++this._monitoredElementCount&&this._ngZone.runOutsideAngular(()=>{const t=this._getDocument(),e=this._getWindow();t.addEventListener("keydown",this._documentKeydownListener,j),t.addEventListener("mousedown",this._documentMousedownListener,j),t.addEventListener("touchstart",this._documentTouchstartListener,j),e.addEventListener("focus",this._windowFocusListener)})}_removeGlobalListeners(t){const e=t.rootNode;if(this._rootNodeFocusListenerCount.has(e)){const t=this._rootNodeFocusListenerCount.get(e);t>1?this._rootNodeFocusListenerCount.set(e,t-1):(e.removeEventListener("focus",this._rootNodeFocusAndBlurListener,j),e.removeEventListener("blur",this._rootNodeFocusAndBlurListener,j),this._rootNodeFocusListenerCount.delete(e))}if(!--this._monitoredElementCount){const t=this._getDocument(),e=this._getWindow();t.removeEventListener("keydown",this._documentKeydownListener,j),t.removeEventListener("mousedown",this._documentMousedownListener,j),t.removeEventListener("touchstart",this._documentTouchstartListener,j),e.removeEventListener("focus",this._windowFocusListener),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._touchTimeoutId),clearTimeout(this._originTimeoutId)}}_originChanged(t,e,n){this._setClasses(t,e),this._emitOrigin(n.subject,e),this._lastFocusOrigin=e}_getClosestElementsInfo(t){const e=[];return this._elementInfo.forEach((n,i)=>{(i===t||n.checkChildren&&i.contains(t))&&e.push([i,n])}),e}}return t.\u0275fac=function(e){return new(e||t)(a.Xb(a.B),a.Xb(f.a),a.Xb(i.d,8),a.Xb(H,8))},t.\u0275prov=Object(a.Jb)({factory:function(){return new t(Object(a.Xb)(a.B),Object(a.Xb)(f.a),Object(a.Xb)(i.d,8),Object(a.Xb)(H,8))},token:t,providedIn:"root"}),t})();function z(t){return t.composedPath?t.composedPath()[0]:t.target}let V=(()=>{class t{constructor(t,e){this._elementRef=t,this._focusMonitor=e,this.cdkFocusChange=new a.o}ngAfterViewInit(){const t=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(t,1===t.nodeType&&t.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(t=>this.cdkFocusChange.emit(t))}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(a.Nb(a.l),a.Nb(F))},t.\u0275dir=a.Ib({type:t,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"}}),t})(),B=(()=>{class t{constructor(t,e){this._platform=t,this._document=e}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const t=this._document.createElement("div");t.style.backgroundColor="rgb(1,2,3)",t.style.position="absolute",this._document.body.appendChild(t);const e=this._document.defaultView||window,n=e&&e.getComputedStyle?e.getComputedStyle(t):null,i=(n&&n.backgroundColor||"").replace(/ /g,"");switch(this._document.body.removeChild(t),i){case"rgb(0,0,0)":return 2;case"rgb(255,255,255)":return 1}return 0}_applyBodyHighContrastModeCssClasses(){if(this._platform.isBrowser&&this._document.body){const t=this._document.body.classList;t.remove("cdk-high-contrast-active"),t.remove("cdk-high-contrast-black-on-white"),t.remove("cdk-high-contrast-white-on-black");const e=this.getHighContrastMode();1===e?(t.add("cdk-high-contrast-active"),t.add("cdk-high-contrast-black-on-white")):2===e&&(t.add("cdk-high-contrast-active"),t.add("cdk-high-contrast-white-on-black"))}}}return t.\u0275fac=function(e){return new(e||t)(a.Xb(f.a),a.Xb(i.d))},t.\u0275prov=Object(a.Jb)({factory:function(){return new t(Object(a.Xb)(f.a),Object(a.Xb)(i.d))},token:t,providedIn:"root"}),t})(),W=(()=>{class t{constructor(t){t._applyBodyHighContrastModeCssClasses()}}return t.\u0275mod=a.Lb({type:t}),t.\u0275inj=a.Kb({factory:function(e){return new(e||t)(a.Xb(B))},imports:[[f.b,g.c]]}),t})()},YRex:function(t,e,n){!function(t){"use strict";t.defineLocale("ug-cn",{months:"\u064a\u0627\u0646\u06cb\u0627\u0631_\u0641\u06d0\u06cb\u0631\u0627\u0644_\u0645\u0627\u0631\u062a_\u0626\u0627\u067e\u0631\u06d0\u0644_\u0645\u0627\u064a_\u0626\u0649\u064a\u06c7\u0646_\u0626\u0649\u064a\u06c7\u0644_\u0626\u0627\u06cb\u063a\u06c7\u0633\u062a_\u0633\u06d0\u0646\u062a\u06d5\u0628\u0649\u0631_\u0626\u06c6\u0643\u062a\u06d5\u0628\u0649\u0631_\u0646\u0648\u064a\u0627\u0628\u0649\u0631_\u062f\u06d0\u0643\u0627\u0628\u0649\u0631".split("_"),monthsShort:"\u064a\u0627\u0646\u06cb\u0627\u0631_\u0641\u06d0\u06cb\u0631\u0627\u0644_\u0645\u0627\u0631\u062a_\u0626\u0627\u067e\u0631\u06d0\u0644_\u0645\u0627\u064a_\u0626\u0649\u064a\u06c7\u0646_\u0626\u0649\u064a\u06c7\u0644_\u0626\u0627\u06cb\u063a\u06c7\u0633\u062a_\u0633\u06d0\u0646\u062a\u06d5\u0628\u0649\u0631_\u0626\u06c6\u0643\u062a\u06d5\u0628\u0649\u0631_\u0646\u0648\u064a\u0627\u0628\u0649\u0631_\u062f\u06d0\u0643\u0627\u0628\u0649\u0631".split("_"),weekdays:"\u064a\u06d5\u0643\u0634\u06d5\u0646\u0628\u06d5_\u062f\u06c8\u0634\u06d5\u0646\u0628\u06d5_\u0633\u06d5\u064a\u0634\u06d5\u0646\u0628\u06d5_\u0686\u0627\u0631\u0634\u06d5\u0646\u0628\u06d5_\u067e\u06d5\u064a\u0634\u06d5\u0646\u0628\u06d5_\u062c\u06c8\u0645\u06d5_\u0634\u06d5\u0646\u0628\u06d5".split("_"),weekdaysShort:"\u064a\u06d5_\u062f\u06c8_\u0633\u06d5_\u0686\u0627_\u067e\u06d5_\u062c\u06c8_\u0634\u06d5".split("_"),weekdaysMin:"\u064a\u06d5_\u062f\u06c8_\u0633\u06d5_\u0686\u0627_\u067e\u06d5_\u062c\u06c8_\u0634\u06d5".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649",LLL:"YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649\u060c HH:mm",LLLL:"dddd\u060c YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649\u060c HH:mm"},meridiemParse:/\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5|\u0633\u06d5\u06be\u06d5\u0631|\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646|\u0686\u06c8\u0634|\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646|\u0643\u06d5\u0686/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5"===e||"\u0633\u06d5\u06be\u06d5\u0631"===e||"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646"===e?t:"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646"===e||"\u0643\u06d5\u0686"===e?t+12:t>=11?t:t+12},meridiem:function(t,e,n){var i=100*t+e;return i<600?"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5":i<900?"\u0633\u06d5\u06be\u06d5\u0631":i<1130?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646":i<1230?"\u0686\u06c8\u0634":i<1800?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646":"\u0643\u06d5\u0686"},calendar:{sameDay:"[\u0628\u06c8\u06af\u06c8\u0646 \u0633\u0627\u0626\u06d5\u062a] LT",nextDay:"[\u0626\u06d5\u062a\u06d5 \u0633\u0627\u0626\u06d5\u062a] LT",nextWeek:"[\u0643\u06d0\u0644\u06d5\u0631\u0643\u0649] dddd [\u0633\u0627\u0626\u06d5\u062a] LT",lastDay:"[\u062a\u06c6\u0646\u06c8\u06af\u06c8\u0646] LT",lastWeek:"[\u0626\u0627\u0644\u062f\u0649\u0646\u0642\u0649] dddd [\u0633\u0627\u0626\u06d5\u062a] LT",sameElse:"L"},relativeTime:{future:"%s \u0643\u06d0\u064a\u0649\u0646",past:"%s \u0628\u06c7\u0631\u06c7\u0646",s:"\u0646\u06d5\u0686\u0686\u06d5 \u0633\u06d0\u0643\u0648\u0646\u062a",ss:"%d \u0633\u06d0\u0643\u0648\u0646\u062a",m:"\u0628\u0649\u0631 \u0645\u0649\u0646\u06c7\u062a",mm:"%d \u0645\u0649\u0646\u06c7\u062a",h:"\u0628\u0649\u0631 \u0633\u0627\u0626\u06d5\u062a",hh:"%d \u0633\u0627\u0626\u06d5\u062a",d:"\u0628\u0649\u0631 \u0643\u06c8\u0646",dd:"%d \u0643\u06c8\u0646",M:"\u0628\u0649\u0631 \u0626\u0627\u064a",MM:"%d \u0626\u0627\u064a",y:"\u0628\u0649\u0631 \u064a\u0649\u0644",yy:"%d \u064a\u0649\u0644"},dayOfMonthOrdinalParse:/\d{1,2}(-\u0643\u06c8\u0646\u0649|-\u0626\u0627\u064a|-\u06be\u06d5\u067e\u062a\u06d5)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"-\u0643\u06c8\u0646\u0649";case"w":case"W":return t+"-\u06be\u06d5\u067e\u062a\u06d5";default:return t}},preparse:function(t){return t.replace(/\u060c/g,",")},postformat:function(t){return t.replace(/,/g,"\u060c")},week:{dow:1,doy:7}})}(n("wd/R"))},Ylt2:function(t,e,n){"use strict";n.d(e,"a",function(){return a});var i=n("quSY");class a extends i.a{constructor(t,e){super(),this.subject=t,this.subscriber=e,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const t=this.subject,e=t.observers;if(this.subject=null,!e||0===e.length||t.isStopped||t.closed)return;const n=e.indexOf(this.subscriber);-1!==n&&e.splice(n,1)}}},YuTi:function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},Z0nv:function(t,e,n){"use strict";n.d(e,"a",function(){return O});var i=n("8Y7J"),a=n("s7LF"),r=n("cYWD"),o=n("TSSN"),s=n("AkaL"),l=n("IheW"),c=n("SVse");let d=(()=>{class t extends s.a{constructor(t,e){super(t),this.http=t,this.datePipe=e,this.BASE_URL="/api/salaries/search"}setLabel(t){t.autocomplete=`${t.nom} ${t.prenom} ${this.formatDate(t.dateNaissance)}`}formatDate(t){return t?this.datePipe.transform(new Date(t),"dd/MM/yyyy"):""}}return t.\u0275fac=function(e){return new(e||t)(i.Xb(l.b),i.Xb(c.e))},t.\u0275prov=i.Jb({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();var u=n("WiJD"),h=n("zaPX"),m=n("Q2Ze"),p=n("e6WT"),f=n("vrAh"),g=n("q6Qu"),b=n("UhP/"),_=n("pu8Q");function y(t,e){if(1&t&&(i.Tb(0,"span",8),i.Hc(1),i.Sb()),2&t){const t=i.fc();i.Cc("opacity",t.searchControl.disabled?.7:1),i.Cb(1),i.Ic(t.prefix)}}function v(t,e){1&t&&(i.Tb(0,"mat-option",9),i.Ob(1,"mat-spinner",10),i.Sb())}function C(t,e){if(1&t&&(i.Tb(0,"mat-option",12),i.Hc(1),i.Sb()),2&t){const t=e.$implicit;i.nc("value",t),i.Cb(1),i.Jc(" ",t.autocomplete," ")}}function w(t,e){if(1&t&&i.Fc(0,C,2,2,"mat-option",11),2&t){const t=i.fc();i.nc("ngForOf",t.searchResult)}}const x=[[["mat-error"]],[["mat-icon"]],[["mat-spinner"]],"*"],M=["mat-error","mat-icon","mat-spinner","*"];let O=(()=>{class t extends r.a{constructor(t,e,n,i,a){super(t,e,n,i,a),this.translateService=t,this.searchService=e,this.configurationService=n,this.configSharedService=i,this.changeDetectorRef=a,this.fieldValue="nom"}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(o.d),i.Nb(d),i.Nb(u.a),i.Nb(h.a),i.Nb(i.h))},t.\u0275cmp=i.Hb({type:t,selectors:[["app-salarie-autocomplete-2"]],features:[i.Bb([{provide:a.m,useExisting:Object(i.V)(()=>t),multi:!0}]),i.zb],ngContentSelectors:M,decls:15,vars:11,consts:[["matPrefix","","class","prefix",3,"opacity",4,"ngIf"],["type","text","matInput","","data-cy","autocomplete",3,"name","appLabel","formControl","matAutocomplete","matAutocompleteDisabled","errorStateMatcher","required","blur"],["searchElt",""],[1,"mat-error","otherMessages"],[3,"displayWith","optionSelected"],["auto","matAutocomplete"],["class","spinner",4,"ngIf","ngIfElse"],["listOptions",""],["matPrefix","",1,"prefix"],[1,"spinner"],["diameter","50"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(t,e){if(1&t&&(i.mc(x),i.Tb(0,"mat-form-field"),i.Fc(1,y,2,3,"span",0),i.Tb(2,"input",1,2),i.bc("blur",function(){return e.onBlur()}),i.Sb(),i.Tb(4,"mat-error"),i.lc(5),i.Sb(),i.lc(6,1),i.lc(7,2),i.Sb(),i.Tb(8,"div",3),i.lc(9,3),i.Sb(),i.Tb(10,"mat-autocomplete",4,5),i.bc("optionSelected",function(t){return e.selectOption(t)}),i.Fc(12,v,2,0,"mat-option",6),i.Fc(13,w,1,1,"ng-template",null,7,i.Gc),i.Sb()),2&t){const t=i.vc(11),n=i.vc(14);i.Cb(1),i.nc("ngIf",e.prefix),i.Cb(1),i.nc("name",e.name)("appLabel",e.inputTitle)("formControl",e.searchControl)("matAutocomplete",t)("matAutocompleteDisabled",e.isAutocompleteDisabled)("errorStateMatcher",e.errorStateMatcher)("required",e.isRequired),i.Cb(8),i.nc("displayWith",e.displayFn),i.Cb(2),i.nc("ngIf",e.isLoading)("ngIfElse",n)}},directives:[m.c,c.l,p.b,a.c,f.c,g.a,a.o,a.f,a.v,m.b,f.a,m.g,b.m,_.b,c.k],styles:["[_nghost-%COMP%]{-ms-flex:1;flex:1}[_nghost-%COMP%] mat-form-field[_ngcontent-%COMP%]{width:100%}[_nghost-%COMP%] .otherMessages[_ngcontent-%COMP%]{font-size:75%}[_nghost-%COMP%] .prefix[_ngcontent-%COMP%]{-ms-flex-item-align:center;align-self:center;margin-right:8px}"]}),t})()},Z4QM:function(t,e,n){!function(t){"use strict";var e=["\u062c\u0646\u0648\u0631\u064a","\u0641\u064a\u0628\u0631\u0648\u0631\u064a","\u0645\u0627\u0631\u0686","\u0627\u067e\u0631\u064a\u0644","\u0645\u0626\u064a","\u062c\u0648\u0646","\u062c\u0648\u0644\u0627\u0621\u0650","\u0622\u06af\u0633\u067d","\u0633\u064a\u067e\u067d\u0645\u0628\u0631","\u0622\u06aa\u067d\u0648\u0628\u0631","\u0646\u0648\u0645\u0628\u0631","\u068a\u0633\u0645\u0628\u0631"],n=["\u0622\u0686\u0631","\u0633\u0648\u0645\u0631","\u0627\u06b1\u0627\u0631\u0648","\u0627\u0631\u0628\u0639","\u062e\u0645\u064a\u0633","\u062c\u0645\u0639","\u0687\u0646\u0687\u0631"];t.defineLocale("sd",{months:e,monthsShort:e,weekdays:n,weekdaysShort:n,weekdaysMin:n,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd\u060c D MMMM YYYY HH:mm"},meridiemParse:/\u0635\u0628\u062d|\u0634\u0627\u0645/,isPM:function(t){return"\u0634\u0627\u0645"===t},meridiem:function(t,e,n){return t<12?"\u0635\u0628\u062d":"\u0634\u0627\u0645"},calendar:{sameDay:"[\u0627\u0684] LT",nextDay:"[\u0633\u0680\u0627\u06bb\u064a] LT",nextWeek:"dddd [\u0627\u06b3\u064a\u0646 \u0647\u0641\u062a\u064a \u062a\u064a] LT",lastDay:"[\u06aa\u0627\u0644\u0647\u0647] LT",lastWeek:"[\u06af\u0632\u0631\u064a\u0644 \u0647\u0641\u062a\u064a] dddd [\u062a\u064a] LT",sameElse:"L"},relativeTime:{future:"%s \u067e\u0648\u0621",past:"%s \u0627\u06b3",s:"\u0686\u0646\u062f \u0633\u064a\u06aa\u0646\u068a",ss:"%d \u0633\u064a\u06aa\u0646\u068a",m:"\u0647\u06aa \u0645\u0646\u067d",mm:"%d \u0645\u0646\u067d",h:"\u0647\u06aa \u06aa\u0644\u0627\u06aa",hh:"%d \u06aa\u0644\u0627\u06aa",d:"\u0647\u06aa \u068f\u064a\u0646\u0647\u0646",dd:"%d \u068f\u064a\u0646\u0647\u0646",M:"\u0647\u06aa \u0645\u0647\u064a\u0646\u0648",MM:"%d \u0645\u0647\u064a\u0646\u0627",y:"\u0647\u06aa \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(t){return t.replace(/\u060c/g,",")},postformat:function(t){return t.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(n("wd/R"))},ZAMP:function(t,e,n){!function(t){"use strict";t.defineLocale("ms-my",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(t,e){return 12===t&&(t=0),"pagi"===e?t:"tengahari"===e?t>=11?t:t+12:"petang"===e||"malam"===e?t+12:void 0},meridiem:function(t,e,n){return t<11?"pagi":t<15?"tengahari":t<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(n("wd/R"))},"ZFy/":function(t,e,n){"use strict";n.d(e,"a",function(){return x}),n.d(e,"b",function(){return C}),n.d(e,"c",function(){return M}),n.d(e,"d",function(){return k});var i=n("1O3W"),a=n("YEUz"),r=n("SVse"),o=n("8Y7J"),s=n("UhP/"),l=n("7KAL"),c=n("8LU1"),d=n("Ht+U"),u=n("HeVh"),h=n("SCoL"),m=n("1z/I"),p=n("XNiG"),f=n("1G5W"),g=n("IzEk"),b=n("GS7A"),_=n("9gLZ");const y={tooltipState:Object(b.n)("state",[Object(b.k)("initial, void, hidden",Object(b.l)({opacity:0,transform:"scale(0)"})),Object(b.k)("visible",Object(b.l)({transform:"scale(1)"})),Object(b.m)("* => visible",Object(b.e)("200ms cubic-bezier(0, 0, 0.2, 1)",Object(b.h)([Object(b.l)({opacity:0,transform:"scale(0)",offset:0}),Object(b.l)({opacity:.5,transform:"scale(0.99)",offset:.5}),Object(b.l)({opacity:1,transform:"scale(1)",offset:1})]))),Object(b.m)("* => hidden",Object(b.e)("100ms cubic-bezier(0, 0, 0.2, 1)",Object(b.l)({opacity:0})))])},v=Object(h.f)({passive:!0}),C=new o.s("mat-tooltip-scroll-strategy"),w={provide:C,deps:[i.c],useFactory:function(t){return()=>t.scrollStrategies.reposition({scrollThrottle:20})}},x=new o.s("mat-tooltip-default-options",{providedIn:"root",factory:function(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}});let M=(()=>{class t{constructor(t,e,n,i,a,r,o,s,l,c,u,h){this._overlay=t,this._elementRef=e,this._scrollDispatcher=n,this._viewContainerRef=i,this._ngZone=a,this._platform=r,this._ariaDescriber=o,this._focusMonitor=s,this._dir=c,this._defaultOptions=u,this._position="below",this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this.showDelay=this._defaultOptions.showDelay,this.hideDelay=this._defaultOptions.hideDelay,this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new p.a,this._handleKeydown=t=>{this._isTooltipVisible()&&t.keyCode===d.f&&!Object(d.r)(t)&&(t.preventDefault(),t.stopPropagation(),this._ngZone.run(()=>this.hide(0)))},this._scrollStrategy=l,u&&(u.position&&(this.position=u.position),u.touchGestures&&(this.touchGestures=u.touchGestures)),a.runOutsideAngular(()=>{e.nativeElement.addEventListener("keydown",this._handleKeydown)})}get position(){return this._position}set position(t){t!==this._position&&(this._position=t,this._overlayRef&&(this._updatePosition(),this._tooltipInstance&&this._tooltipInstance.show(0),this._overlayRef.updatePosition()))}get disabled(){return this._disabled}set disabled(t){this._disabled=Object(c.c)(t),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get message(){return this._message}set message(t){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=t?String(t).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage(),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")})}))}get tooltipClass(){return this._tooltipClass}set tooltipClass(t){this._tooltipClass=t,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(Object(f.a)(this._destroyed)).subscribe(t=>{t?"keyboard"===t&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const t=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),t.removeEventListener("keydown",this._handleKeydown),this._passiveListeners.forEach(([e,n])=>{t.removeEventListener(e,n,v)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(t,this.message,"tooltip"),this._focusMonitor.stopMonitoring(t)}show(t=this.showDelay){if(this.disabled||!this.message||this._isTooltipVisible()&&!this._tooltipInstance._showTimeoutId&&!this._tooltipInstance._hideTimeoutId)return;const e=this._createOverlay();this._detach(),this._portal=this._portal||new m.d(O,this._viewContainerRef),this._tooltipInstance=e.attach(this._portal).instance,this._tooltipInstance.afterHidden().pipe(Object(f.a)(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),this._tooltipInstance.show(t)}hide(t=this.hideDelay){this._tooltipInstance&&this._tooltipInstance.hide(t)}toggle(){this._isTooltipVisible()?this.hide():this.show()}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(){if(this._overlayRef)return this._overlayRef;const t=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),e=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(".mat-tooltip").withFlexibleDimensions(!1).withViewportMargin(8).withScrollableContainers(t);return e.positionChanges.pipe(Object(f.a)(this._destroyed)).subscribe(t=>{this._tooltipInstance&&t.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:e,panelClass:"mat-tooltip-panel",scrollStrategy:this._scrollStrategy()}),this._updatePosition(),this._overlayRef.detachments().pipe(Object(f.a)(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(){const t=this._overlayRef.getConfig().positionStrategy,e=this._getOrigin(),n=this._getOverlayPosition();t.withPositions([Object.assign(Object.assign({},e.main),n.main),Object.assign(Object.assign({},e.fallback),n.fallback)])}_getOrigin(){const t=!this._dir||"ltr"==this._dir.value,e=this.position;let n;"above"==e||"below"==e?n={originX:"center",originY:"above"==e?"top":"bottom"}:"before"==e||"left"==e&&t||"right"==e&&!t?n={originX:"start",originY:"center"}:("after"==e||"right"==e&&t||"left"==e&&!t)&&(n={originX:"end",originY:"center"});const{x:i,y:a}=this._invertPosition(n.originX,n.originY);return{main:n,fallback:{originX:i,originY:a}}}_getOverlayPosition(){const t=!this._dir||"ltr"==this._dir.value,e=this.position;let n;"above"==e?n={overlayX:"center",overlayY:"bottom"}:"below"==e?n={overlayX:"center",overlayY:"top"}:"before"==e||"left"==e&&t||"right"==e&&!t?n={overlayX:"end",overlayY:"center"}:("after"==e||"right"==e&&t||"left"==e&&!t)&&(n={overlayX:"start",overlayY:"center"});const{x:i,y:a}=this._invertPosition(n.overlayX,n.overlayY);return{main:n,fallback:{overlayX:i,overlayY:a}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe(Object(g.a)(1),Object(f.a)(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(t){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=t,this._tooltipInstance._markForCheck())}_invertPosition(t,e){return"above"===this.position||"below"===this.position?"top"===e?e="bottom":"bottom"===e&&(e="top"):"end"===t?t="start":"start"===t&&(t="end"),{x:t,y:e}}_setupPointerEnterEventsIfNeeded(){!this._disabled&&this.message&&this._viewInitialized&&!this._passiveListeners.length&&(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",()=>{this._setupPointerExitEventsIfNeeded(),this.show()}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",()=>{this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(),500)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const t=[];if(this._platformSupportsMouseEvents())t.push(["mouseleave",()=>this.hide()],["wheel",t=>this._wheelListener(t)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const e=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};t.push(["touchend",e],["touchcancel",e])}this._addListeners(t),this._passiveListeners.push(...t)}_addListeners(t){t.forEach(([t,e])=>{this._elementRef.nativeElement.addEventListener(t,e,v)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(t){if(this._isTooltipVisible()){const e=(this._document||document).elementFromPoint(t.clientX,t.clientY),n=this._elementRef.nativeElement;e===n||n.contains(e)||this.hide()}}_disableNativeGesturesIfNecessary(){const t=this.touchGestures;if("off"!==t){const e=this._elementRef.nativeElement,n=e.style;("on"===t||"INPUT"!==e.nodeName&&"TEXTAREA"!==e.nodeName)&&(n.userSelect=n.msUserSelect=n.webkitUserSelect=n.MozUserSelect="none"),"on"!==t&&e.draggable||(n.webkitUserDrag="none"),n.touchAction="none",n.webkitTapHighlightColor="transparent"}}}return t.\u0275fac=function(e){return new(e||t)(o.Nb(i.c),o.Nb(o.l),o.Nb(l.c),o.Nb(o.R),o.Nb(o.B),o.Nb(h.a),o.Nb(a.c),o.Nb(a.h),o.Nb(C),o.Nb(_.b,8),o.Nb(x,8),o.Nb(r.d))},t.\u0275dir=o.Ib({type:t,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],inputs:{showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],position:["matTooltipPosition","position"],disabled:["matTooltipDisabled","disabled"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]},exportAs:["matTooltip"]}),t})(),O=(()=>{class t{constructor(t,e){this._changeDetectorRef=t,this._breakpointObserver=e,this._visibility="initial",this._closeOnInteraction=!1,this._onHide=new p.a,this._isHandset=this._breakpointObserver.observe(u.b.Handset)}show(t){this._hideTimeoutId&&(clearTimeout(this._hideTimeoutId),this._hideTimeoutId=null),this._closeOnInteraction=!0,this._showTimeoutId=setTimeout(()=>{this._visibility="visible",this._showTimeoutId=null,this._markForCheck()},t)}hide(t){this._showTimeoutId&&(clearTimeout(this._showTimeoutId),this._showTimeoutId=null),this._hideTimeoutId=setTimeout(()=>{this._visibility="hidden",this._hideTimeoutId=null,this._markForCheck()},t)}afterHidden(){return this._onHide}isVisible(){return"visible"===this._visibility}ngOnDestroy(){this._onHide.complete()}_animationStart(){this._closeOnInteraction=!1}_animationDone(t){const e=t.toState;"hidden"!==e||this.isVisible()||this._onHide.next(),"visible"!==e&&"hidden"!==e||(this._closeOnInteraction=!0)}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}}return t.\u0275fac=function(e){return new(e||t)(o.Nb(o.h),o.Nb(u.a))},t.\u0275cmp=o.Hb({type:t,selectors:[["mat-tooltip-component"]],hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(t,e){1&t&&o.bc("click",function(){return e._handleBodyInteraction()},!1,o.wc)("auxclick",function(){return e._handleBodyInteraction()},!1,o.wc),2&t&&o.Cc("zoom","visible"===e._visibility?1:null)},decls:3,vars:7,consts:[[1,"mat-tooltip",3,"ngClass"]],template:function(t,e){if(1&t&&(o.Tb(0,"div",0),o.bc("@state.start",function(){return e._animationStart()})("@state.done",function(t){return e._animationDone(t)}),o.gc(1,"async"),o.Hc(2),o.Sb()),2&t){let t=null;o.Fb("mat-tooltip-handset",null==(t=o.hc(1,5,e._isHandset))?null:t.matches),o.nc("ngClass",e.tooltipClass)("@state",e._visibility),o.Cb(2),o.Ic(e.message)}},directives:[r.j],pipes:[r.b],styles:[".mat-tooltip-panel{pointer-events:none !important}.mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis}.cdk-high-contrast-active .mat-tooltip{outline:solid 1px}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}\n"],encapsulation:2,data:{animation:[y.tooltipState]},changeDetection:0}),t})(),k=(()=>{class t{}return t.\u0275mod=o.Lb({type:t}),t.\u0275inj=o.Kb({factory:function(e){return new(e||t)},providers:[w],imports:[[a.a,r.c,i.f,s.j],s.j,l.b]}),t})()},ZIcu:function(t,e,n){"use strict";n.r(e),n.d(e,"DpdModule",function(){return er});var i=n("SVse"),a=n("PCNd"),r=n("iInd"),o=n("8Y7J"),s=n("qh/L");let l=(()=>{class t{constructor(t){this.sessionService=t}canDeactivate(t,e,n,i){return!this.sessionService.isLogged||!t.canDeactivate||t.canDeactivate()}}return t.\u0275fac=function(e){return new(e||t)(o.Xb(s.a))},t.\u0275prov=o.Jb({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();var c=n("cp0P"),d=n("LRne"),u=n("lJxs"),h=n("TMPf"),m=n("wd/R"),p=n("s7LF"),f=n("0h1T"),g=n("vuU3"),b=n("Qaas");class _ extends g.a{constructor(t,e,n,i,a,r=!0){super(t),this.fb=t,this.model=e,this.countries=n,this.isDisabled=i,this.isCountryDisabledInCompletion=a,this.isRequired=r}build(){return this.form=this.fb.group({adresse:this.fb.control({value:this.model.adresse,disabled:this.isDisabled},[...this.isRequired?[p.w.required]:[],p.w.maxLength(f.a.ADDRESS)]),pays:this.fb.control({value:this.countries.find(t=>t.code===this.model.pays),disabled:this.isCountryDisabledInCompletion},[...this.isRequired?[p.w.required]:[]]),cp:this.fb.control({value:this.model.cp,disabled:this.isDisabled},[...this.isRequired?[p.w.required]:[],p.w.maxLength(f.a.COMMON)]),ville:this.fb.control({value:this.model.ville,disabled:this.isDisabled},[...this.isRequired?[p.w.required]:[],p.w.maxLength(f.a.COMMON)]),complementAdresse:this.fb.control({value:this.model.complementAdresse,disabled:this.isDisabled},[p.w.maxLength(f.a.COMMON)]),latitude:this.fb.control({value:this.model.coordonnees?this.model.coordonnees.latitude:null,disabled:!0}),longitude:this.fb.control({value:this.model.coordonnees?this.model.coordonnees.longitude:null,disabled:!0})}),this.form}}class y extends g.a{constructor(t,e,n,i){super(t),this.fb=t,this.model=e,this.countries=n,this.isDisabled=i}build(){const t=this.countries.find(t=>t.code===this.model.adresse.pays);return this.form=this.fb.group({pays:this.fb.control({value:t,disabled:this.isDisabled},[p.w.required]),noTVA:this.fb.control({value:this.model.noTVA,disabled:!t||!t.hasTVA}),numTVA:this.fb.control({value:this.model.numTVA,disabled:this.isDisabled},[p.w.required,p.w.pattern("^\\w+$")]),raisonSociale:this.fb.control({value:this.model.raisonSociale,disabled:this.isDisabled},[p.w.required,p.w.maxLength(f.a.COMMON)]),adresse:new _(this.fb,this.getAddress(),this.countries,this.isDisabled,!0).build(),codeNaf:this.fb.control({value:this.model.codeNaf,disabled:!0})}),this.form}getAddress(){return this.model.adresse?this.model.adresse:new b.a({})}}class v extends g.a{constructor(t,e,n,i){super(t),this.fb=t,this.model=e,this.countries=n,this.isDisabled=i}build(){return this.fb.group({title:this.fb.control({disabled:!0}),client:new y(this.fb,this.model,this.countries,!0).build(),email:this.fb.control({value:this.model.email,disabled:this.isDisabled},{validators:[p.w.email,p.w.maxLength(f.a.EMAIL)]})})}}var C=n("kAim");class w extends g.a{constructor(t,e,n){super(t),this.fb=t,this.model=e,this.isDisabled=n}build(){return this.fb.group({tripExpenses:this.fb.group({type:this.fb.control({value:this.model.voyage.type,disabled:this.isDisabled}),amount:this.fb.control({value:this.model.voyage.montant,disabled:this.isAmountDisabled(this.model.voyage.type)},{updateOn:"blur",validators:[p.w.required]})}),foodExpenses:this.fb.group({type:this.fb.control({value:this.model.nourriture.type,disabled:!1}),amount:this.fb.control({value:this.model.nourriture.montant,disabled:this.isAmountDisabled(this.model.nourriture.type)},{updateOn:"blur",validators:[p.w.required]})}),hostingExpenses:this.fb.group({type:this.fb.control({value:this.model.hebergement.type,disabled:!1}),amount:this.fb.control({value:this.model.hebergement.montant,disabled:this.isAmountDisabled(this.model.hebergement.type)},{updateOn:"blur",validators:[p.w.required]})})})}isAmountDisabled(t){return this.isDisabled||t!==C.a.VERSEMENT}}var x=n("j9Ql"),M=n("+sEB");class O extends g.a{constructor(t,e,n,i,a){super(t),this.fb=t,this.model=e,this.countries=n,this.numeroModele=i,this.isDisabled=a}build(){return this.fb.group({raisonSociale:this.fb.control({value:this.model.raisonSociale,disabled:!0},[p.w.required,p.w.maxLength(f.a.COMMON)]),adresse:new _(this.fb,this.getAddress(),this.countries,this.isDisabled,!0).build(),telephone:this.fb.control({value:this.model.telephone,disabled:this.isDisabled},{validators:[p.w.required,p.w.maxLength(f.a.COMMON)],updateOn:"blur"}),email:this.fb.control({value:this.model.email,disabled:this.isDisabled},{validators:[p.w.required,p.w.maxLength(f.a.EMAIL),p.w.email],updateOn:"blur"}),status:this.fb.control({value:this.model.status,disabled:this.isDisabled},{validators:[p.w.required,p.w.maxLength(f.a.COMMON)],updateOn:"blur"}),noTVA:this.fb.control({value:this.model.noTVA,disabled:!0}),numTVA:this.fb.control({value:this.model.numTVA,disabled:!0}),registre:this.fb.control({value:this.model.registre,disabled:!0},{validators:[p.w.maxLength(f.a.COMMON)],updateOn:"blur"}),reference:this.fb.control({value:this.model.reference,disabled:!0},{validators:[p.w.maxLength(f.a.COMMON)],updateOn:"blur"}),dirigeant:new M.a(this.fb,this.getManager(),this.countries,this.isDisabled).build(),organisme:this.fb.control({value:this.model.organisme,disabled:this.isDisabled},{validators:3===this.numeroModele||5===this.numeroModele?[p.w.required,p.w.maxLength(f.a.COMMON)]:[p.w.maxLength(f.a.COMMON)]}),transporteur:this.fb.control({value:this.model.transporteur,disabled:this.isDisabled},{updateOn:"blur",validators:[p.w.maxLength(f.a.COMMON)]})})}getManager(){return this.model.dirigeant?this.model.dirigeant:new x.a({})}getAddress(){return this.model.adresse?this.model.adresse:new b.a({})}}var k=n("Rqom");class S extends g.a{constructor(t,e,n,i){super(t),this.fb=t,this.model=e,this.countries=n,this.isDisabled=i}build(){const t=this.fb.group({id:this.fb.control(this.model.id),type:this.fb.control({value:this.model.type,disabled:!0}),nom:this.fb.control({value:this.model.nom,disabled:!0},[p.w.required]),typeAdresse:this.fb.control({value:this.model.adresse.type,disabled:!0},[p.w.required]),adresse:new _(this.fb,this.model.adresse,this.countries,!0,!0,!1).build(),siret:this.fb.control({value:this.model.siret,disabled:!0}),codeNaf:this.fb.control({value:this.model.codeNaf,disabled:!0}),isHebergementCollectif:this.fb.control({value:this.model.isHebergementCollectif,disabled:this.isDisabled}),nomHebergement:this.fb.control({value:this.model.nomHebergement,disabled:this.isDisabled}),typeAdresseHebergement:this.fb.control({value:this.model.hebergementCollectif.type,disabled:this.isDisabled}),hebergementCollectif:new _(this.fb,this.model.hebergementCollectif,this.countries,!this.model.isHebergementCollectif||this.isDisabled,!1).build(),isSavedInArray:this.fb.control(!0)});return t.get("hebergementCollectif").setValidators(()=>k.a.coordonneesValidator(t.get("typeAdresseHebergement").value,t.get("hebergementCollectif"))),t.get("isSavedInArray").setValidators([()=>k.a.isSavedInArray(t.get("isSavedInArray").value)]),t}}class T extends g.a{constructor(t,e,n){super(t),this.fb=t,this.model=e,this.countries=n}build(){return this.fb.group({locations:this.fb.array(this.model.map(t=>new S(this.fb,t,this.countries,!1).build()),[p.w.required])})}}class P extends g.a{constructor(t,e,n,i,a){super(t),this.fb=t,this.model=e,this.numeroModele=n,this.activities=i,this.isDisabled=a}build(){return this.form=this.fb.group({activiteCodeNaf:this.fb.control(this.model),activite1:this.fb.control({value:this.model?this.getActivity1FromCode(this.model.activite1):this.isModele4or5or6()?this.getActivity1FromCode("H"):null,disabled:this.isModele4or5or6()},[p.w.required]),activite2:this.fb.control(this.model?this.getActivity2FromCode(this.model.activite2):null,[p.w.required]),activite3:this.fb.control(this.model?this.getActivity3FromCode(this.model.activite3):null,[p.w.required]),activite4:this.fb.control(this.model?this.getActivity4FromCode(this.model.activite4):null,[p.w.required])}),this.form}isModele4or5or6(){return this.isDisabled||4===this.numeroModele||5===this.numeroModele||6===this.numeroModele}getActivityFromCodeInList(t,e){return t.find(t=>t.code===e)||null}getActivity1FromCode(t){return t?this.getActivityFromCodeInList(this.activities,t):null}getActivity2FromCode(t){const e=this.getActivityFromCodeInList(this.activities,this.model.activite1);return e&&t?this.getActivityFromCodeInList(e.sousActivites,t):null}getActivity3FromCode(t){const e=this.getActivity2FromCode(this.model.activite2);return e&&t?this.getActivityFromCodeInList(e.sousActivites,t):null}getActivity4FromCode(t){const e=this.getActivity3FromCode(this.model.activite3);return e&&t?this.getActivityFromCodeInList(e.sousActivites,t):null}}class L extends g.a{constructor(t,e,n,i){super(t),this.fb=t,this.model=e,this.numeroModele=n,this.activities=i}build(){return this.form=this.fb.group({activities:new P(this.fb,this.model.activites,this.numeroModele,this.activities,!1).build(),isMaterialDangereux:this.fb.control(this.model.dangereux.actif,[p.w.required]),materielsDangereuxList:this.fb.control({value:this.model.dangereux.valeur,disabled:!this.model.dangereux.actif},{validators:[p.w.required],updateOn:"blur"}),horaireDebut:this.fb.control({value:this.model.horaireDebut,disabled:this.model.horairesAtypiques},[p.w.required,p.w.pattern("^([01][0-9]|2[0-3]):[0-5][0-9]$")]),horaireFin:this.fb.control({value:this.model.horaireFin,disabled:this.model.horairesAtypiques},[p.w.required,p.w.pattern("^([01][0-9]|2[0-3]):[0-5][0-9]$")]),nbJoursRepos:this.fb.control(this.model.nbJoursRepos,[p.w.required,p.w.pattern("^[0-6]$"),p.w.min(0),p.w.max(6)]),horairesAtypiques:this.fb.control(this.model.horairesAtypiques)}),this.form}}var D=n("DVMI"),E=n("K2tM"),A=n("zfSa");class I extends g.a{constructor(t,e,n,i,a){super(t),this.fb=t,this.dpd=e,this.user=n,this.countries=i,this.isDisabled=a,this.client=e.client,this.model=e.representant,this.foreignCompany=e.entrepriseEtrangere}build(){return this.form=this.fb.group({type:this.fb.control({value:this.getType(),disabled:!0},[p.w.required]),idSalarie:this.fb.control(this.getIdSalarie()),personne:new M.a(this.fb,this.getPerson(),this.countries,!0).build(),siret:this.fb.control({value:this.getSiret(),disabled:!0},[p.w.required,p.w.pattern("[0-9]{14}")]),raisonSociale:this.fb.control({value:this.getSocialReason(),disabled:!0},{validators:[p.w.required],updateOn:"blur"}),numTVA:this.fb.control({value:this.getNumTVA(),disabled:!0},{validators:[p.w.required],updateOn:"blur"}),adresse:new _(this.fb,this.getAddress(),this.countries,!0,!0).build(),telephone:this.fb.control({value:this.getPhone(),disabled:this.isDisabled||this.isUserMandataire},{validators:[p.w.required],updateOn:"blur"}),email:this.fb.control({value:this.getEmail(),disabled:this.isDisabled||this.isUserMandataire},[p.w.required,p.w.maxLength(256),p.w.email]),conservation:this.fb.control({value:this.getConservation(),disabled:this.isDisabled},[p.w.required])}),this.form}get isUserMandataire(){return this.user.role===A.a.MANDATAIRE}getType(){return this.isUserMandataire||4===this.dpd.numeroModele?E.a.MANDATAIRE:this.model.type}getIdSalarie(){const t=this.dpd.salaries.filter(t=>t.nom===this.model.personne.nom&&t.prenom===this.model.personne.prenom&&t.dateNaissance===this.model.personne.dateNaissance);if(t.length>1)console.error(t.length+" workers have the same lastname, firstname and date of birth, we don't know which one is the Representative. The first one has been chosen.");else if(0===t.length)return null;return t[0].id}getPerson(){return this.isType(E.a.DIRIGEANT)?this.foreignCompany.dirigeant:this.isType(E.a.SALARIE)?this.model.personne?this.model.personne:new h.a({}):this.isType(E.a.MANDATAIRE)?this.model.personne:new x.a({})}getSiret(){return this.isUserMandataire?this.user.entreprise.siret:this.model.siret}getSocialReason(){return this.isType(E.a.CLIENT)?this.client.raisonSociale:this.isUserMandataire?this.user.entreprise.raisonSociale:this.model.raisonSociale}getNumTVA(){return this.isType(E.a.CLIENT)&&"FR"===this.client.adresse.pays?this.client.numTVA:this.isType(E.a.MANDATAIRE)&&this.isUserMandataire?this.model.numTVA:null}getAddress(){return this.isType(E.a.CLIENT)&&"FR"===this.client.adresse.pays?this.client.adresse:this.isUserMandataire?this.user.entreprise.adresse:new b.a(this.model.adresse?this.model.adresse:{})}getPhone(){return this.isUserMandataire?this.user.entreprise.telephone:this.model.telephone}getEmail(){return this.isUserMandataire?this.user.entreprise.email:this.model.email}getConservation(){return 4===this.dpd.numeroModele?D.a.REPRESENTANT:this.model.conservation}isType(t){return this.getType()===t}}class R extends g.a{constructor(t,e,n,i,a=!0){super(t),this.fb=t,this.model=e,this.countries=n,this.isDisabled=i,this.isRequired=a}build(){return this.form=this.fb.group({nom:this.fb.control({value:this.model.nom,disabled:this.isDisabled},[...this.isRequired?[p.w.required]:[],p.w.maxLength(f.a.COMMON)]),prenom:this.fb.control({value:this.model.prenom,disabled:this.isDisabled},[...this.isRequired?[p.w.required]:[],p.w.maxLength(f.a.COMMON)]),dateNaissance:this.fb.control({value:this.model.dateNaissance,disabled:this.isDisabled},[...this.isRequired?[p.w.required]:[]]),villeNaissance:this.fb.control({value:this.model.villeNaissance,disabled:this.isDisabled},[...this.isRequired?[p.w.required]:[],p.w.maxLength(f.a.COMMON)]),paysNaissance:this.fb.control({value:this.countries.find(t=>t.code===this.model.paysNaissance),disabled:this.isDisabled},[...this.isRequired?[p.w.required]:[]])}),this.form}}class N extends g.a{constructor(t,e,n,i,a){super(t),this.fb=t,this.model=e,this.countries=n,this.numeroModele=i,this.isDisabled=a}build(){const t=this.fb.group({id:this.fb.control(this.model.id),sexe:this.fb.control({value:this.model.sexe,disabled:!0}),identite:new R(this.fb,this.model,this.countries,!0,!1).build(),nationalite:this.fb.control({value:this.countries.find(t=>t.code===this.model.nationalite),disabled:!0}),adresse:new _(this.fb,this.model.adresse,this.countries,this.isDisabled,!1,7!==this.numeroModele).build(),paysSecu:this.fb.control({value:this.countries.find(t=>t.code===this.model.paysSecu),disabled:this.isDisabled},[...this.getValidatorsModels()]),dateContrat:this.fb.control({value:this.model.dateContrat,disabled:this.isDisabled},[...this.getValidatorsModels()]),dateDebut:this.fb.control({value:this.model.dateDebut,disabled:this.isDisabled}),dateFin:this.fb.control({value:this.model.dateFin,disabled:this.isDisabled}),isDetachementLongueDuree:this.fb.control({value:this.model.isDetachementLongueDuree,disabled:this.isDisabled}),motifLongueDuree:this.fb.control({value:this.model.motifLongueDuree,disabled:this.isDisabled||!this.model.isDetachementLongueDuree}),emploi:this.fb.control({value:this.model.emploi,disabled:this.isDisabled},this.getValidatorsModels()),qualification:this.fb.control({value:this.model.qualification,disabled:this.isDisabled},this.getValidatorsModels()),salaire:this.fb.control({value:this.model.salaire,disabled:this.isDisabled||this.model.salaireSpecifique},this.getValidatorsModels()),salaireSpecifique:this.fb.control({value:this.model.salaireSpecifique,disabled:this.isDisabled}),paysRegistre:this.fb.control({value:this.countries.find(t=>t.code===this.model.paysRegistre),disabled:this.isPaysRegistreDisabled()},{validators:4===this.numeroModele?[p.w.required]:[]}),isSavedInDpd:this.fb.control(this.model.isSavedInDpd),isSavedInArray:this.fb.control(!0)});return t.get("motifLongueDuree").setValidators([this.makeValidatorMotifLD(t.get("isDetachementLongueDuree")),p.w.maxLength(f.a.LONG_PERIOD_MOTIVE)]),t.get("dateDebut").setValidators([...this.getValidatorsModels(),()=>k.a.dateDebut(t.get("dateDebut").value,t.get("dateFin").value,!0)]),t.get("dateFin").setValidators([...this.getValidatorsModels(),()=>k.a.dateFin(t.get("dateDebut").value,t.get("dateFin").value,!0)]),t.get("isSavedInArray").setValidators([()=>k.a.isSavedInArray(t.get("isSavedInArray").value)]),t}getValidatorsModels(){return 7!==this.numeroModele?[p.w.required,p.w.maxLength(f.a.COMMON)]:[]}isPaysRegistreDisabled(){return this.isDisabled||4!==this.numeroModele}makeValidatorMotifLD(t){return e=>t&&!0===t.value?p.w.required(e):null}}class Y extends g.a{constructor(t,e,n,i,a,r,o){super(t),this.fb=t,this.model=e,this.countries=n,this.numeroModele=i,this.dateDebut=a,this.dateFin=r,this.isDisabled=o}build(){return this.fb.group({dateDebut:this.fb.control({value:this.dateDebut,disabled:!0}),dateFin:this.fb.control({value:this.dateFin,disabled:!0}),workers:this.fb.array(this.model.map(t=>new N(this.fb,t,this.countries,this.numeroModele,this.isDisabled).build()),k.a.makeUnicityWorkersValidators())})}}class H{constructor(t,e,n,i,a,r=!1){this.fb=t,this.user=e,this.dpd=n,this.countries=i,this.activities=a,this.isRepresentativeDisabled=r,this.isDisabled=m(m().format("YYYY-MM-DD")).isAfter(m(n.prestation.dateFin).add(3,"day"))}build(){return this.form=this.fb.group({title:this.fb.control({value:this.dpd.titre,disabled:!0}),foreignCompanyStep:new O(this.fb,this.dpd.entrepriseEtrangere,this.countries,this.dpd.numeroModele,this.isDisabled).build(),expensesStep:new w(this.fb,this.dpd.frais,this.isDisabled).build(),singleWorkerStep:new N(this.fb,new h.a({}),this.countries,this.dpd.numeroModele,this.isDisabled).build(),workersStep:new Y(this.fb,this.dpd.salaries,this.countries,this.dpd.numeroModele,this.dpd.prestation.dateDebut,this.dpd.prestation.dateFin,this.isDisabled).build(),representativeStep:new I(this.fb,this.dpd,this.user,this.countries,this.isDisabled||this.isRepresentativeDisabled).build(),clientStep:new v(this.fb,this.dpd.client,this.countries,this.isDisabled).build(),locationsStep:new T(this.fb,this.dpd.prestation.lieus,this.countries).build(),prestationStep:new L(this.fb,this.dpd.prestation,this.dpd.numeroModele,this.activities).build()}),this.form}}var j=n("wa/n"),F=n("J+ds"),z=n("ji8I"),V=n("92Zs"),B=n("ePOw");class W extends g.a{constructor(t,e,n,i,a=!0){super(t),this.fb=t,this.model=e,this.countries=n,this.isDisabled=i,this.isRequired=a}build(){return this.fb.group({adresse:this.fb.control({value:this.model.adresse,disabled:this.isDisabled||this.isCoordonnees},[...this.isRequired?[p.w.required]:[],p.w.maxLength(f.a.ADDRESS)]),pays:this.fb.control({value:this.countries.find(t=>t.code===this.model.pays),disabled:this.isDisabled||this.isCoordonnees},[...this.isRequired?[p.w.required]:[]]),cp:this.fb.control({value:this.model.cp,disabled:this.isDisabled},[...this.isRequired?[p.w.required]:[],p.w.maxLength(f.a.COMMON)]),ville:this.fb.control({value:this.model.ville,disabled:this.isDisabled},[...this.isRequired?[p.w.required]:[],p.w.maxLength(f.a.COMMON)]),complementAdresse:this.fb.control({value:this.model.complementAdresse,disabled:this.isDisabled},[p.w.maxLength(f.a.ADDRESS)]),latitude:this.fb.control({value:this.model.coordonnees?this.model.coordonnees.latitude:null,disabled:!0}),longitude:this.fb.control({value:this.model.coordonnees?this.model.coordonnees.longitude:null,disabled:!0})})}get isCoordonnees(){return this.model.type===B.a.COORDONNEES}}class U extends g.a{constructor(t,e,n,i){super(t),this.fb=t,this.model=e,this.countries=n,this.isDisabled=i}build(){const t=this.countries.find(t=>t.code===this.model.adresse.pays);return this.form=this.fb.group({noTVA:this.fb.control({value:this.model.noTVA,disabled:!(t&&!this.isDisabled&&t.hasTVA)}),numTVA:this.fb.control({value:this.model.numTVA,disabled:this.model.noTVA||(t&&!this.isDisabled?!t.hasTVA:this.isDisabled)},[p.w.required,p.w.pattern("^\\w+$")]),raisonSociale:this.fb.control({value:this.model.raisonSociale,disabled:this.isDisabled},[p.w.required,p.w.maxLength(f.a.COMMON)]),adresse:new W(this.fb,this.getAddress(),this.countries,this.isDisabled).build(),codeNaf:this.fb.control({value:this.model.codeNaf,disabled:!0})}),this.form}getAddress(){return this.model.adresse?this.model.adresse:new b.a({})}}class q extends g.a{constructor(t,e,n,i){super(t),this.fb=t,this.model=e,this.countries=n,this.isDisabled=i}build(){return this.form=this.fb.group({title:this.fb.control({disabled:this.isDisabled}),client:new U(this.fb,this.model,this.countries,this.isDisabled).build(),email:this.fb.control({value:this.model.email,disabled:this.isDisabled},{validators:[p.w.email,p.w.maxLength(f.a.EMAIL)]})}),this.form}}class G extends g.a{constructor(t,e,n){super(t),this.fb=t,this.model=e,this.isDisabled=n}build(){return this.form=this.fb.group({tripExpenses:this.fb.group({type:this.fb.control({value:this.model.voyage.type,disabled:this.isDisabled}),amount:this.fb.control({value:this.model.voyage.montant,disabled:this.isAmountDisabled(this.model.voyage.type)},{updateOn:"blur",validators:[p.w.required]})}),foodExpenses:this.fb.group({type:this.fb.control({value:this.model.nourriture.type,disabled:this.isDisabled}),amount:this.fb.control({value:this.model.nourriture.montant,disabled:this.isAmountDisabled(this.model.nourriture.type)},{updateOn:"blur",validators:[p.w.required]})}),hostingExpenses:this.fb.group({type:this.fb.control({value:this.model.hebergement.type,disabled:this.isDisabled}),amount:this.fb.control({value:this.model.hebergement.montant,disabled:this.isAmountDisabled(this.model.hebergement.type)},{updateOn:"blur",validators:[p.w.required]})})}),this.form}isAmountDisabled(t){return this.isDisabled||t!==C.a.VERSEMENT}}class J extends g.a{constructor(t,e,n,i,a){super(t),this.fb=t,this.model=e,this.countries=n,this.isDisabled=i,this.numeroModele=a}build(){return this.form=this.fb.group({raisonSociale:this.fb.control({value:this.model.raisonSociale,disabled:this.isDisabled},[p.w.required,p.w.maxLength(f.a.COMMON)]),adresse:new W(this.fb,this.getAddress(),this.countries,this.isDisabled).build(),telephone:this.fb.control({value:this.model.telephone,disabled:this.isDisabled},{validators:[p.w.required,p.w.maxLength(f.a.COMMON)],updateOn:"blur"}),email:this.fb.control({value:this.model.email,disabled:this.isDisabled},{validators:[p.w.required,p.w.maxLength(f.a.EMAIL),p.w.email],updateOn:"blur"}),status:this.fb.control({value:this.model.status,disabled:this.isDisabled},{validators:[p.w.required,p.w.maxLength(f.a.COMMON)],updateOn:"blur"}),noTVA:this.fb.control({value:this.model.noTVA,disabled:this.isNoTVAControlDisabled()}),numTVA:this.fb.control({value:this.model.numTVA,disabled:this.isDisabled}),registre:this.fb.control({value:this.model.registre,disabled:this.isDisabled},{validators:[p.w.maxLength(f.a.COMMON)],updateOn:"blur"}),reference:this.fb.control({value:this.model.reference,disabled:this.isDisabled},{validators:[p.w.maxLength(f.a.COMMON)],updateOn:"blur"}),dirigeant:new M.a(this.fb,this.getManager(),this.countries,this.isDisabled).build(),organisme:this.fb.control({value:this.model.organisme,disabled:!this.hasOrganisme&&this.isDisabled},{validators:this.hasOrganisme?[p.w.required,p.w.maxLength(f.a.COMMON)]:[p.w.maxLength(f.a.COMMON)]}),transporteur:this.fb.control({value:this.model.transporteur,disabled:!1},{updateOn:"blur",validators:[p.w.maxLength(f.a.COMMON)]})}),this.form.get("numTVA").setValidators(()=>k.a.numTVAInForeignCompany(this.form)),this.form}isNoTVAControlDisabled(){return this.isDisabled||!this.doesCountryHaveTVA()}doesCountryHaveTVA(){let t;return this.model.adresse.pays&&(t=this.countries.find(t=>t.code===this.model.adresse.pays)),!!t&&!!this.model.adresse.pays&&t.hasTVA}getManager(){return this.model.dirigeant?this.model.dirigeant:new x.a({})}getAddress(){return this.model.adresse?this.model.adresse:new b.a({})}get hasOrganisme(){return 3===this.numeroModele||5===this.numeroModele}}class Z extends g.a{constructor(t,e,n,i){super(t),this.fb=t,this.model=e,this.countries=n,this.isDisabled=i}build(){const t=this.fb.group({type:this.fb.control({value:this.model.type,disabled:!1},[p.w.required]),nom:this.fb.control({value:this.model.nom,disabled:this.isDisabled},[p.w.required]),typeAdresse:this.fb.control({value:this.model.adresse.type,disabled:this.isDisabled},[p.w.required]),adresse:new W(this.fb,this.model.adresse,this.countries,this.isDisabled).build(),siret:this.fb.control({value:this.model.siret,disabled:!0}),codeNaf:this.fb.control({value:this.model.codeNaf,disabled:!0}),isHebergementCollectif:this.fb.control({value:this.model.isHebergementCollectif,disabled:this.isDisabled}),nomHebergement:this.fb.control({value:this.model.nomHebergement,disabled:!this.model.isHebergementCollectif||this.isDisabled},[p.w.required]),typeAdresseHebergement:this.fb.control({value:this.model.hebergementCollectif.type,disabled:!this.model.isHebergementCollectif||this.isDisabled},[p.w.required]),hebergementCollectif:new W(this.fb,this.model.hebergementCollectif,this.countries,!this.model.isHebergementCollectif||this.isDisabled).build(),isSavedInArray:this.fb.control(!0)});return t.get("adresse").setValidators(()=>k.a.coordonneesValidator(t.get("typeAdresse").value,t.get("adresse"))),t.get("hebergementCollectif").setValidators(()=>k.a.coordonneesValidator(t.get("typeAdresseHebergement").value,t.get("hebergementCollectif"))),t.get("isSavedInArray").setValidators(()=>k.a.isSavedInArray(t.get("isSavedInArray").value)),t}}class $ extends g.a{constructor(t,e,n,i){super(t),this.fb=t,this.model=e,this.countries=n,this.isDisabled=i}build(){return this.form=this.fb.group({locations:this.fb.array(this.model.map(t=>new Z(this.fb,t,this.countries,this.isDisabled).build()),[p.w.required])}),this.form}}class X extends g.a{constructor(t,e,n,i,a){super(t),this.fb=t,this.model=e,this.numeroModele=n,this.activities=i,this.isDisabled=a}build(){return this.form=this.fb.group({activities:new P(this.fb,this.model.activites,this.numeroModele,this.activities,this.isDisabled).build(),isMaterialDangereux:this.fb.control(this.model.dangereux.actif,[p.w.required]),materielsDangereuxList:this.fb.control({value:this.model.dangereux.valeur,disabled:!this.model.dangereux.actif},{validators:[p.w.required],updateOn:"blur"}),horaireDebut:this.fb.control({value:this.model.horaireDebut,disabled:this.model.horairesAtypiques},[p.w.required,p.w.pattern("^([01][0-9]|2[0-3]):[0-5][0-9]$")]),horaireFin:this.fb.control({value:this.model.horaireFin,disabled:this.model.horairesAtypiques},[p.w.required,p.w.pattern("^([01][0-9]|2[0-3]):[0-5][0-9]$")]),nbJoursRepos:this.fb.control(this.model.nbJoursRepos,[p.w.required,p.w.pattern("^[0-6]$"),p.w.min(0),p.w.max(6)]),horairesAtypiques:this.fb.control(this.model.horairesAtypiques)}),this.form}}class K extends g.a{constructor(t,e,n,i,a){super(t),this.fb=t,this.dpd=e,this.user=n,this.countries=i,this.isDisabled=a,this.client=e.client,this.model=e.representant,this.foreignCompany=e.entrepriseEtrangere}build(){return this.form=this.fb.group({type:this.fb.control({value:this.getType(),disabled:this.isDisabled},[p.w.required]),idSalarie:this.fb.control(this.getIdSalarie()),personne:new M.a(this.fb,this.model.personne,this.countries,!0).build(),siret:this.fb.control({value:this.model.siret,disabled:!0},[p.w.required,p.w.pattern("[0-9]{14}")]),raisonSociale:this.fb.control({value:this.model.raisonSociale,disabled:!0},{validators:[p.w.required],updateOn:"blur"}),numTVA:this.fb.control({value:this.model.numTVA,disabled:!0},{validators:[p.w.required],updateOn:"blur"}),adresse:new W(this.fb,this.model.adresse,this.countries,!0).build(),telephone:this.fb.control({value:this.model.telephone,disabled:this.isDisabled||this.isUserMandataire},{validators:[p.w.required],updateOn:"blur"}),email:this.fb.control({value:this.model.email,disabled:this.isDisabled||this.isUserMandataire},[p.w.required,p.w.maxLength(256),p.w.email]),conservation:this.fb.control({value:this.getConservation(),disabled:!1},[p.w.required])}),this.form}get isUserMandataire(){return this.user.role===A.a.MANDATAIRE}getType(){return this.isUserMandataire||4===this.dpd.numeroModele?E.a.MANDATAIRE:this.model.type}getIdSalarie(){const t=this.dpd.salaries.filter(t=>t.nom===this.model.personne.nom&&t.prenom===this.model.personne.prenom&&t.dateNaissance===this.model.personne.dateNaissance);if(t.length>1)console.error(t.length+" workers have the same lastname, firstname and date of birth, we don't know which one is the Representative. The first one has been chosen.");else if(0===t.length)return null;return t[0].id}getConservation(){return 4===this.dpd.numeroModele?D.a.REPRESENTANT:this.model.conservation}}class Q extends g.a{constructor(t,e,n,i,a,r){super(t),this.fb=t,this.model=e,this.countries=n,this.isDisabled=i,this.numeroModele=a,this.isSavedInArray=r}build(){return this.form=this.fb.group({id:this.fb.control(this.model.id),sexe:this.fb.control({value:this.model.sexe,disabled:this.isDisabled},[p.w.required]),identite:new M.a(this.fb,this.model,this.countries,this.isDisabled).build(),nationalite:this.fb.control({value:this.countries.find(t=>t.code===this.model.nationalite),disabled:this.isDisabled},[p.w.required]),adresse:new W(this.fb,this.model.adresse,this.countries,this.isDisabled,7!==this.numeroModele).build(),paysSecu:this.fb.control({value:this.countries.find(t=>t.code===this.model.paysSecu),disabled:this.isDisabled},[...this.getSecuCountryValidators()]),dateContrat:this.fb.control({value:this.model.dateContrat,disabled:this.isDisabled}),dateDebut:this.fb.control({value:this.model.dateDebut,disabled:this.isDisabled}),dateFin:this.fb.control({value:this.model.dateFin,disabled:this.isDisabled}),isDetachementLongueDuree:this.fb.control({value:this.model.isDetachementLongueDuree,disabled:this.isDisabled}),motifLongueDuree:this.fb.control({value:this.model.motifLongueDuree,disabled:this.isDisabled||!this.model.isDetachementLongueDuree},[p.w.required,p.w.maxLength(f.a.LONG_PERIOD_MOTIVE)]),emploi:this.fb.control({value:this.model.emploi,disabled:this.isDisabled},[...this.getSecuCountryValidators()]),qualification:this.fb.control({value:this.model.qualification,disabled:this.isDisabled},[...this.getSecuCountryValidators()]),salaire:this.fb.control({value:this.model.salaire,disabled:this.isDisabled||this.model.salaireSpecifique},[...this.getSecuCountryValidators()]),salaireSpecifique:this.fb.control({value:this.model.salaireSpecifique,disabled:this.isDisabled}),paysRegistre:this.fb.control({value:this.countries.find(t=>t.code===this.model.paysRegistre),disabled:this.isPaysRegistreDisabled()},{validators:4===this.numeroModele?[p.w.required]:[]}),isSavedInDpd:this.fb.control(this.model.isSavedInDpd),isSavedInArray:this.fb.control(this.isSavedInArray)}),this.form.get("dateDebut").setValidators([p.w.required,p.w.maxLength(f.a.COMMON),()=>k.a.dateDebut(this.form.get("dateDebut").value,this.form.get("dateFin").value,!1)]),this.form.get("dateFin").setValidators([p.w.required,p.w.maxLength(f.a.COMMON),()=>k.a.dateFin(this.form.get("dateDebut").value,this.form.get("dateFin").value,!1)]),this.form.get("dateContrat").setValidators([...this.getSecuCountryValidators(),()=>k.a.dateContrat(this.form.get("dateDebut").value,this.form.get("dateContrat").value)]),this.form.get("isSavedInArray").setValidators([()=>k.a.isSavedInArray(this.form.get("isSavedInArray").value)]),this.form}getSecuCountryValidators(){return 7!==this.numeroModele?[p.w.required,p.w.maxLength(f.a.COMMON)]:[]}isPaysRegistreDisabled(){return this.isDisabled||4!==this.numeroModele}}class tt extends g.a{constructor(t,e,n,i,a,r,o){super(t),this.fb=t,this.model=e,this.countries=n,this.isDisabled=i,this.numeroModele=a,this.dateDebut=r,this.dateFin=o}build(){return this.form=this.fb.group({dateDebut:this.fb.control({value:this.dateDebut,disabled:!0}),dateFin:this.fb.control({value:this.dateFin,disabled:!0}),workers:this.fb.array(this.model.map(t=>new Q(this.fb,t,this.countries,this.isDisabled,this.numeroModele,!0).build()),[p.w.required,k.a.makeUnicityWorkersValidators()])},{validators:k.a.prestationDatesValidator}),this.form}}class et{constructor(t,e,n,i,a){this.fb=t,this.user=e,this.dpd=n,this.countries=i,this.activities=a}build(){return this.form=this.fb.group({title:this.fb.control(this.dpd.titre),foreignCompanyStep:new J(this.fb,this.getForeignCompany(),this.countries,this.isForeignCompanyDisabled(),this.dpd.numeroModele).build(),expensesStep:new G(this.fb,this.getExpenses(),this.isExpensesDisabled()).build(),singleWorkerStep:new Q(this.fb,this.getSingleWorker(),this.countries,this.isSingleWorkerDisabled(),this.dpd.numeroModele,!0).build(),workersStep:new tt(this.fb,this.getWorkers(),this.countries,this.areWorkersDisabled(),this.dpd.numeroModele,this.dpd.prestation.dateDebut,this.dpd.prestation.dateFin).build(),representativeStep:new K(this.fb,this.dpd,this.user,this.countries,this.isRepresentativeDisabled()).build(),clientStep:new q(this.fb,this.getClient(),this.countries,this.isClientDisabled()).build(),locationsStep:new $(this.fb,this.getLocations(),this.countries,this.areLocationsDisabled()).build(),prestationStep:new X(this.fb,this.getPrestation(),this.dpd.numeroModele,this.activities,this.isPrestationDisabled()).build()}),this.form}getForeignCompany(){let t;return this.user.role===A.a.ENTREPRISE?(t=this.user.entreprise,t.organisme=this.dpd.entrepriseEtrangere?this.dpd.entrepriseEtrangere.organisme:null):t=this.dpd.entrepriseEtrangere,t}getPrestation(){return this.dpd.prestation?this.dpd.prestation:new z.a({})}getExpenses(){return this.dpd.frais?this.dpd.frais:new F.a({})}getSingleWorker(){return this.dpd.salaries[0]?this.dpd.salaries[0]:new h.a({})}getWorkers(){return this.dpd.salaries?this.dpd.salaries:[new h.a({})]}getClient(){if(this.user.role===A.a.DONNEUR_ORDRE){const t=V.a.convertCompanyToClient(this.user.entreprise);return new j.a(t)}return new j.a(this.dpd.client?this.dpd.client:{})}getLocations(){return this.dpd.prestation.lieus?this.dpd.prestation.lieus:[]}isForeignCompanyDisabled(){return this.user.role===A.a.ENTREPRISE}isExpensesDisabled(){return!1}isSingleWorkerDisabled(){return!1}areWorkersDisabled(){return!1}isClientDisabled(){return this.user.role===A.a.DONNEUR_ORDRE}isRepresentativeDisabled(){return 7===this.dpd.numeroModele}areLocationsDisabled(){return!1}isPrestationDisabled(){return!1}}var nt=n("JRaP"),it=n("71J3");class at{constructor(t){t&&Object.keys(t).forEach(e=>{this[e]=t[e]})}}var rt=n("hGT6"),ot=n("f4AX"),st=n("GH2U"),lt=n("cXaA"),ct=n("05l1"),dt=n("x+ZX"),ut=n("IheW");let ht=(()=>{class t{constructor(t){this.http=t,this.log=lt.a.create("ActivityService"),this.END_POINT="/api/activites"}getActivities(){const t=`${this.END_POINT}?langue=${localStorage.getItem("lang")}`;return this.log.data(`[HTTP] (GET) -> ${t}`),this.http.get(t).pipe(Object(ct.a)(),Object(dt.a)())}}return t.\u0275fac=function(e){return new(e||t)(o.Xb(ut.b))},t.\u0275prov=o.Jb({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();var mt=n("zaPX"),pt=n("bKjt"),ft=n("WiJD");let gt=(()=>{class t{constructor(t){this.http=t,this.log=lt.a.create("QualificationService"),this.END_POINT="/api/qualifications"}getQualifications(){const t=this.END_POINT;return this.log.data(`[HTTP] (GET) -> ${t}`),this.http.get(t).pipe(Object(ct.a)(),Object(dt.a)())}getQualificationsActives(){return this.getQualifications().pipe(Object(u.a)(t=>t.filter(t=>!0===t.actif)))}getQualificationFromCode(t){const e=`${this.END_POINT}/${t}`;return this.log.data(`[HTTP] (GET) -> ${e}`),this.http.get(e)}}return t.\u0275fac=function(e){return new(e||t)(o.Xb(ut.b))},t.\u0275prov=o.Jb({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();var bt=n("keau");let _t=(()=>{class t{constructor(t,e,n,i,a,r,o,s,l){this.fb=t,this.userService=e,this.declarationService=n,this.activityService=i,this.configSharedService=a,this.countryService=r,this.configurationService=o,this.qualificationService=s,this.sireneService=l}resolve(t){return Object(c.a)([this.userService.getUser(),this.activityService.getActivities(),this.countryService.getCountries(),this.getDeclaration(t),this.configurationService.getAutocompleteCommuneTimeLimit(),this.configurationService.getAutocompleteCommuneNbMax(),this.configurationService.getAutocompleteDpdTimeLimit(),this.configurationService.getAutocompleteDpdNbMax(),this.configurationService.getSiteKey(),this.qualificationService.getQualificationsActives()]).pipe(Object(u.a)(([e,n,i,a,r,o,s,l,c,d])=>{const u=t.data.mode;let h;if(u===nt.a.COMPLETION){const t=a.salaries.map(t=>(t.isSavedInDpd=!0,t));h=new it.a(Object.assign(Object.assign({},a),{salaries:t})),this.configSharedService.setForm(new H(this.fb,e,h,i,n,7===a.numeroModele).build())}else h=new it.a(a),this.configSharedService.setForm(new et(this.fb,e,new it.a(a),i,n).build());return this.configSharedService.setUser(e),this.configSharedService.setDPD(h),this.configSharedService.setCountries(i),this.configSharedService.setMode(u),this.configSharedService.setActivities(n),this.configSharedService.setAutocompleteCommuneTimeLimit(r),this.configSharedService.setAutocompleteCommuneNbMax(o),this.configSharedService.setAutocompleteDpdTimeLimit(s),this.configSharedService.setAutocompleteDpdNbMax(l),this.configSharedService.setSiteKey(c),this.configSharedService.setQualifications(d),this.configSharedService.setWorkerIndex(null),this.configSharedService.setLocationIndex(null),this.sireneService.setSiret(h.representant.siret),this.configSharedService.setlastSavedWorkersArrayRawValue(this.configSharedService.form.get(rt.a.WORKERS).get("workers").getRawValue()),this.configSharedService.setLastSavedLocationsArrayRawValue(this.configSharedService.form.get(rt.a.LOCATIONS).get("locations").getRawValue()),new at({user:e,activities:n,dpd:h})}))}getDeclaration(t){const e=t.data.mode;if(e===nt.a.CREATE)return this.createDeclaration(t.params.model);if(e===nt.a.UPDATE||e===nt.a.COMPLETION)return this.fetchDeclaration(t.params.code);if(e===nt.a.DUPLICATE)return this.duplicateDeclaration(t.params.code);throw new Error("Mode not work")}createDeclaration(t){return Object(d.a)(new it.a({numeroModele:+t}))}fetchDeclaration(t){return this.declarationService.getDeclaration(t)}duplicateDeclaration(t){return this.declarationService.getDeclaration(t).pipe(Object(u.a)(t=>(t.id=null,t.titre=null,t.code=null,t.etat=null,t.dateEtat=null,t.prestation.dateDebut=null,t.prestation.dateFin=null,t.salaries.forEach(t=>{t.dateDebut=null,t.dateFin=null,t.isDetachementLongueDuree=!1,t.motifLongueDuree=null}),t)))}}return t.\u0275fac=function(e){return new(e||t)(o.Xb(p.d),o.Xb(ot.a),o.Xb(st.a),o.Xb(ht),o.Xb(mt.a),o.Xb(pt.a),o.Xb(ft.a),o.Xb(gt),o.Xb(bt.a))},t.\u0275prov=o.Jb({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();var yt=n("IGtN");let vt=(()=>{class t extends yt.a{unloadNotification(t){if("fo.sipsi.dev.jv-its"===window.location.host)return;const e=this.canNotLeave();return"string"==typeof e?(t&&(t.returnValue=e),e):void 0}}return t.\u0275fac=function(e){return Ct(e||t)},t.\u0275cmp=o.Hb({type:t,selectors:[["ng-component"]],hostBindings:function(t,e){1&t&&o.bc("beforeunload",function(t){return e.unloadNotification(t)},!1,o.xc)},features:[o.zb],decls:0,vars:0,template:function(t,e){},encapsulation:2}),t})();const Ct=o.Vb(vt);var wt=n("PTv7"),xt=n("TSSN"),Mt=n("iELJ"),Ot=n("q6Qu"),kt=n("Dxy4"),St=n("Q2Ze"),Tt=n("e6WT"),Pt=n("mFvv");function Lt(t,e){if(1&t){const t=o.Ub();o.Tb(0,"div",2),o.Ob(1,"h1",3),o.Tb(2,"button",4),o.bc("click",function(){return o.yc(t),o.fc().back()}),o.Hc(3),o.gc(4,"translate"),o.Sb(),o.Sb()}2&t&&(o.Cb(3),o.Ic(o.hc(4,1,"common.accueil.revenir")))}function Dt(t,e){if(1&t&&(o.Tb(0,"form",5),o.Tb(1,"h1",6),o.Hc(2),o.gc(3,"translate"),o.Sb(),o.Tb(4,"h2",7),o.Tb(5,"span"),o.Hc(6),o.gc(7,"translate"),o.Sb(),o.Tb(8,"div",8),o.Hc(9,"\xa0\u2013\xa0"),o.Sb(),o.Tb(10,"span"),o.Hc(11),o.Sb(),o.Sb(),o.Tb(12,"div",9),o.Tb(13,"mat-form-field"),o.Ob(14,"input",10),o.Sb(),o.Sb(),o.Tb(15,"div",11),o.Tb(16,"div",12),o.Ob(17,"app-navigation"),o.Sb(),o.Tb(18,"div",13),o.Ob(19,"router-outlet",14),o.Sb(),o.Sb(),o.Sb()),2&t){const t=o.fc();o.nc("formGroup",t.form),o.Cb(2),o.Ic(o.hc(3,4,"dpd.show.titre")),o.Cb(4),o.Ic(o.hc(7,6,"dpd.modele."+t.numeroModele)),o.Cb(5),o.Ic(t.getModeTitle())}}let Et=(()=>{class t extends vt{constructor(t,e,n,i){super(t),this.translateService=t,this.router=e,this.configSharedService=n,this.dialog=i}load(){this.numeroModele=this.configSharedService.numeroModele.toString(),this.form=this.configSharedService.form,this.mode=this.configSharedService.mode}canDeactivate(){return!this.configSharedService.preventLeave||this.dialog.open(wt.a,{data:{title:"",question:this.translateService.instant("dpd.confirm.close"),okButtonText:this.translateService.instant("common.oui"),cancelButtonText:this.translateService.instant("common.non"),hasCaptcha:!1},id:"dpd-exit"}).afterClosed().pipe(Object(u.a)(t=>!0===t))}canNotLeave(){throw new Error("Method not implemented.")}back(){this.router.navigate(["/"])}getModeTitle(){let t="";switch(this.mode){case nt.a.CREATE:case nt.a.UPDATE:case nt.a.DUPLICATE:t=this.translateService.instant("dpd.mode.edition");break;case nt.a.COMPLETION:t=this.translateService.instant("dpd.mode.completion")}return t}}return t.\u0275fac=function(e){return new(e||t)(o.Nb(xt.d),o.Nb(r.f),o.Nb(mt.a),o.Nb(Mt.b))},t.\u0275cmp=o.Hb({type:t,selectors:[["app-dpd-edit2"]],features:[o.zb],decls:3,vars:2,consts:[["class","not-found",4,"ngIf","ngIfElse"],["editComponent",""],[1,"not-found"],["appLabel","dpd.introuvable"],["mat-raised-button","","aria-label","back","color","primary",3,"click"],["id","dpd-edit",3,"formGroup"],[1,"title1"],[1,"title2"],[1,"dash"],[1,"dpd-title"],["matInput","","type","text","name","titre","appLabel","dpd.intitule","formControlName","title"],[1,"dpd-menu-form"],[1,"dpd-sidebar"],[1,"dpd-form","mat-elevation-z2"],["name","onglet"]],template:function(t,e){if(1&t&&(o.Fc(0,Lt,5,3,"div",0),o.Fc(1,Dt,20,8,"ng-template",null,1,o.Gc)),2&t){const t=o.vc(2);o.nc("ngIf",!e.form)("ngIfElse",t)}},directives:[i.l,Ot.a,kt.a,p.x,p.p,p.i,St.c,Tt.b,p.c,p.o,p.g,Pt.a,r.k],pipes:[xt.c],styles:[".mat-badge-content[_ngcontent-%COMP%]{font-weight:600;font-size:12px;font-family:Roboto,Helvetica Neue,sans-serif}.mat-badge-small[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{font-size:9px}.mat-badge-large[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{font-size:24px}.mat-h1[_ngcontent-%COMP%], .mat-headline[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font:400 24px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h2[_ngcontent-%COMP%], .mat-title[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font:500 20px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h3[_ngcontent-%COMP%], .mat-subheading-2[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font:400 16px/28px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h4[_ngcontent-%COMP%], .mat-subheading-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{font:400 15px/24px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h5[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{font:400 calc(14px * .83)/20px Roboto,Helvetica Neue,sans-serif;margin:0 0 12px}.mat-h6[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font:400 calc(14px * .67)/20px Roboto,Helvetica Neue,sans-serif;margin:0 0 12px}.mat-body-2[_ngcontent-%COMP%], .mat-body-strong[_ngcontent-%COMP%]{font:500 14px/24px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-body[_ngcontent-%COMP%], .mat-body-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%]{font:400 14px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-body-1[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .mat-body[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0 0 12px}.mat-caption[_ngcontent-%COMP%], .mat-small[_ngcontent-%COMP%]{font:400 12px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-display-4[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-4[_ngcontent-%COMP%]{font:300 112px/112px Roboto,Helvetica Neue,sans-serif;letter-spacing:-.05em;margin:0 0 56px}.mat-display-3[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-3[_ngcontent-%COMP%]{font:400 56px/56px Roboto,Helvetica Neue,sans-serif;letter-spacing:-.02em;margin:0 0 64px}.mat-display-2[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-2[_ngcontent-%COMP%]{font:400 45px/48px Roboto,Helvetica Neue,sans-serif;letter-spacing:-.005em;margin:0 0 64px}.mat-display-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-1[_ngcontent-%COMP%]{font:400 34px/40px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 64px}.mat-bottom-sheet-container[_ngcontent-%COMP%]{font:400 14px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-button[_ngcontent-%COMP%], .mat-fab[_ngcontent-%COMP%], .mat-flat-button[_ngcontent-%COMP%], .mat-icon-button[_ngcontent-%COMP%], .mat-mini-fab[_ngcontent-%COMP%], .mat-raised-button[_ngcontent-%COMP%], .mat-stroked-button[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:500}.mat-button-toggle[_ngcontent-%COMP%], .mat-card[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-card-title[_ngcontent-%COMP%]{font-size:24px;font-weight:500}.mat-card-header[_ngcontent-%COMP%] .mat-card-title[_ngcontent-%COMP%]{font-size:20px}.mat-card-content[_ngcontent-%COMP%], .mat-card-subtitle[_ngcontent-%COMP%]{font-size:14px}.mat-checkbox[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-checkbox-layout[_ngcontent-%COMP%] .mat-checkbox-label[_ngcontent-%COMP%]{line-height:24px}.mat-chip[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.mat-chip[_ngcontent-%COMP%] .mat-chip-remove.mat-icon[_ngcontent-%COMP%], .mat-chip[_ngcontent-%COMP%] .mat-chip-trailing-icon.mat-icon[_ngcontent-%COMP%]{font-size:18px}.mat-table[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-header-cell[_ngcontent-%COMP%]{font-size:12px;font-weight:500}.mat-cell[_ngcontent-%COMP%], .mat-footer-cell[_ngcontent-%COMP%]{font-size:14px}.mat-calendar[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-calendar-body[_ngcontent-%COMP%]{font-size:13px}.mat-calendar-body-label[_ngcontent-%COMP%], .mat-calendar-period-button[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.mat-calendar-table-header[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{font-size:11px;font-weight:400}.mat-dialog-title[_ngcontent-%COMP%]{font:500 20px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-expansion-panel-header[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:15px;font-weight:400}.mat-expansion-panel-content[_ngcontent-%COMP%]{font:400 14px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-form-field[_ngcontent-%COMP%]{font-size:inherit;font-weight:400;line-height:1.125;font-family:Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-form-field-wrapper[_ngcontent-%COMP%]{padding-bottom:1.34375em}.mat-form-field-prefix[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%], .mat-form-field-suffix[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{font-size:150%;line-height:1.125}.mat-form-field-prefix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%], .mat-form-field-suffix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%]{height:1.5em;width:1.5em}.mat-form-field-prefix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%], .mat-form-field-suffix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{height:1.125em;line-height:1.125}.mat-form-field-infix[_ngcontent-%COMP%]{padding:.5em 0;border-top:.84375em solid rgba(0,0,0,0)}.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-1.34375em) scale(.75);transform:translateY(-1.34375em) scale(.75);width:133.3333333333%}.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-1.34374em) scale(.75);transform:translateY(-1.34374em) scale(.75);width:133.3333433333%}.mat-form-field-label-wrapper[_ngcontent-%COMP%]{top:-.84375em;padding-top:.84375em}.mat-form-field-label[_ngcontent-%COMP%]{top:1.34375em}.mat-form-field-underline[_ngcontent-%COMP%]{bottom:1.34375em}.mat-form-field-subscript-wrapper[_ngcontent-%COMP%]{font-size:75%;margin-top:.6666666667em;top:calc(100% - 1.7916666667em)}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-wrapper[_ngcontent-%COMP%]{padding-bottom:1.25em}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]{padding:.4375em 0}.mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.001px);-ms-transform:translateY(-1.28125em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-form-field-autofill-control[_ngcontent-%COMP%]:-webkit-autofill + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00101px);-ms-transform:translateY(-1.28124em) scale(.75);width:133.3333433333%}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00102px);-ms-transform:translateY(-1.28123em) scale(.75);width:133.3333533333%}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{top:1.28125em}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]{bottom:1.25em}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-subscript-wrapper[_ngcontent-%COMP%]{margin-top:.5416666667em;top:calc(100% - 1.6666666667em)}@media print{.mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-1.28122em) scale(.75);transform:translateY(-1.28122em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-form-field-autofill-control[_ngcontent-%COMP%]:-webkit-autofill + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{transform:translateY(-1.28121em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-1.2812em) scale(.75);transform:translateY(-1.2812em) scale(.75)}}.mat-form-field-appearance-fill[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]{padding:.25em 0 .75em}.mat-form-field-appearance-fill[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{top:1.09375em;margin-top:-.5em}.mat-form-field-appearance-fill.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-fill.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-.59375em) scale(.75);transform:translateY(-.59375em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-fill.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-.59374em) scale(.75);transform:translateY(-.59374em) scale(.75);width:133.3333433333%}.mat-form-field-appearance-outline[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]{padding:1em 0}.mat-form-field-appearance-outline[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{top:1.84375em;margin-top:-.25em}.mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-outline.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-1.59375em) scale(.75);transform:translateY(-1.59375em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-outline.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-1.59374em) scale(.75);transform:translateY(-1.59374em) scale(.75);width:133.3333433333%}.mat-grid-tile-footer[_ngcontent-%COMP%], .mat-grid-tile-header[_ngcontent-%COMP%]{font-size:14px}.mat-grid-tile-footer[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%], .mat-grid-tile-header[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-grid-tile-footer[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2), .mat-grid-tile-header[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:12px}input.mat-input-element[_ngcontent-%COMP%]{margin-top:-.0625em}.mat-menu-item[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:400}.mat-paginator[_ngcontent-%COMP%], .mat-paginator-page-size[_ngcontent-%COMP%] .mat-select-trigger[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:12px}.mat-radio-button[_ngcontent-%COMP%], .mat-select[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-select-trigger[_ngcontent-%COMP%]{height:1.125em}.mat-slide-toggle-content[_ngcontent-%COMP%], .mat-slider-thumb-label-text[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-slider-thumb-label-text[_ngcontent-%COMP%]{font-size:12px;font-weight:500}.mat-stepper-horizontal[_ngcontent-%COMP%], .mat-stepper-vertical[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-step-label[_ngcontent-%COMP%]{font-size:14px;font-weight:400}.mat-step-sub-label-error[_ngcontent-%COMP%]{font-weight:400}.mat-step-label-error[_ngcontent-%COMP%]{font-size:14px}.mat-step-label-selected[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.mat-tab-group[_ngcontent-%COMP%], .mat-tab-label[_ngcontent-%COMP%], .mat-tab-link[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-tab-label[_ngcontent-%COMP%], .mat-tab-link[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.mat-toolbar[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font:500 20px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0}.mat-tooltip[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:10px;padding-top:6px;padding-bottom:6px}.mat-tooltip-handset[_ngcontent-%COMP%]{font-size:14px;padding-top:8px;padding-bottom:8px}.mat-list-item[_ngcontent-%COMP%], .mat-list-option[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]{font-size:16px}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:14px}.mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%]{font-size:16px}.mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:14px}.mat-list-base[_ngcontent-%COMP%] .mat-subheader[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:500}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]{font-size:12px}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2), .mat-list-base[dense][_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%]{font-size:12px}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:12px}.mat-list-base[dense][_ngcontent-%COMP%] .mat-subheader[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:12px;font-weight:500}.mat-option[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:16px}.mat-optgroup-label[_ngcontent-%COMP%]{font:500 14px/24px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-simple-snackbar[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px}.mat-simple-snackbar-action[_ngcontent-%COMP%]{line-height:1;font-family:inherit;font-size:inherit;font-weight:500}.mat-tree[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-nested-tree-node[_ngcontent-%COMP%], .mat-tree-node[_ngcontent-%COMP%]{font-weight:400;font-size:14px}.mat-ripple[_ngcontent-%COMP%]{overflow:hidden;position:relative}.mat-ripple[_ngcontent-%COMP%]:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded[_ngcontent-%COMP%]{overflow:visible}.mat-ripple-element[_ngcontent-%COMP%]{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0,0,.2,1);-ms-transform:scale(0);transform:scale(0)}.cdk-high-contrast-active[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{display:none}.cdk-visually-hidden[_ngcontent-%COMP%]{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;outline:0;-webkit-appearance:none;-moz-appearance:none}.cdk-global-overlay-wrapper[_ngcontent-%COMP%], .cdk-overlay-container[_ngcontent-%COMP%]{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container[_ngcontent-%COMP%]{position:fixed;z-index:1000}.cdk-overlay-container[_ngcontent-%COMP%]:empty{display:none}.cdk-global-overlay-wrapper[_ngcontent-%COMP%], .cdk-overlay-pane[_ngcontent-%COMP%]{display:-ms-flexbox;display:flex;position:absolute;z-index:1000}.cdk-overlay-pane[_ngcontent-%COMP%]{pointer-events:auto;box-sizing:border-box;max-width:100%;max-height:100%}.cdk-overlay-backdrop[_ngcontent-%COMP%]{position:absolute;top:0;bottom:0;left:0;right:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:transparent;transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:1}@media screen and (-ms-high-contrast:active){.cdk-overlay-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:.6}}.cdk-overlay-dark-backdrop[_ngcontent-%COMP%]{background:rgba(0,0,0,.32)}.cdk-overlay-transparent-backdrop[_ngcontent-%COMP%], .cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:0}.cdk-overlay-connected-position-bounding-box[_ngcontent-%COMP%]{position:absolute;z-index:1000;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock[_ngcontent-%COMP%]{position:fixed;width:100%;overflow-y:scroll}@-webkit-keyframes cdk-text-field-autofill-start{\n }@keyframes cdk-text-field-autofill-start{\n }@-webkit-keyframes cdk-text-field-autofill-end{\n }@keyframes cdk-text-field-autofill-end{\n }.cdk-text-field-autofill-monitored[_ngcontent-%COMP%]:-webkit-autofill{-webkit-animation:cdk-text-field-autofill-start 0s 1ms;animation:cdk-text-field-autofill-start 0s 1ms}.cdk-text-field-autofill-monitored[_ngcontent-%COMP%]:not(:-webkit-autofill){-webkit-animation:cdk-text-field-autofill-end 0s 1ms;animation:cdk-text-field-autofill-end 0s 1ms}textarea.cdk-textarea-autosize[_ngcontent-%COMP%]{resize:none}textarea.cdk-textarea-autosize-measuring[_ngcontent-%COMP%]{padding:2px 0!important;box-sizing:content-box!important;height:auto!important;overflow:hidden!important}textarea.cdk-textarea-autosize-measuring-firefox[_ngcontent-%COMP%]{padding:2px 0!important;box-sizing:content-box!important;height:0!important}.mat-focus-indicator[_ngcontent-%COMP%], .mat-mdc-focus-indicator[_ngcontent-%COMP%]{position:relative}#dpd-edit[_ngcontent-%COMP%]{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}#dpd-edit[_ngcontent-%COMP%] .title1[_ngcontent-%COMP%]{font-size:2rem;margin:12px 0 0}#dpd-edit[_ngcontent-%COMP%] .title2[_ngcontent-%COMP%]{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}#dpd-edit[_ngcontent-%COMP%] .title2[_ngcontent-%COMP%] .dash[_ngcontent-%COMP%]{padding-bottom:1.74px}#dpd-edit[_ngcontent-%COMP%] .dpd-title[_ngcontent-%COMP%]{width:500px;margin-bottom:8px}#dpd-edit[_ngcontent-%COMP%] .dpd-title[_ngcontent-%COMP%] mat-form-field[_ngcontent-%COMP%]{width:100%}#dpd-edit[_ngcontent-%COMP%] .dpd-menu-form[_ngcontent-%COMP%]{display:-ms-flexbox;display:flex;width:100%}#dpd-edit[_ngcontent-%COMP%] .dpd-menu-form[_ngcontent-%COMP%] .dpd-sidebar[_ngcontent-%COMP%]{position:fixed;margin:0 12px;width:24rem}#dpd-edit[_ngcontent-%COMP%] .dpd-menu-form[_ngcontent-%COMP%] .dpd-form[_ngcontent-%COMP%]{-ms-flex:1;flex:1;margin:0 12px 0 calc(24rem + 24px);padding:12px;background:#fff}.not-found[_ngcontent-%COMP%]{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center}@media screen and (max-height:820px){#dpd-edit[_ngcontent-%COMP%] .title1[_ngcontent-%COMP%]{font-size:1.7rem;margin-left:calc(24rem - 2rem)}#dpd-edit[_ngcontent-%COMP%] .title2[_ngcontent-%COMP%]{font-size:1.3rem;margin-top:0;margin-bottom:0}#dpd-edit[_ngcontent-%COMP%] .dpd-title[_ngcontent-%COMP%], #dpd-edit[_ngcontent-%COMP%] .title2[_ngcontent-%COMP%]{margin-left:calc(24rem - 2rem)}#dpd-edit[_ngcontent-%COMP%] .dpd-menu-form[_ngcontent-%COMP%] .dpd-sidebar[_ngcontent-%COMP%]{width:24rem}#dpd-edit[_ngcontent-%COMP%] .dpd-menu-form[_ngcontent-%COMP%] .dpd-form[_ngcontent-%COMP%]{margin-left:calc(24rem + 24px)}#dpd-edit[_ngcontent-%COMP%] .dpd-menu-form[_ngcontent-%COMP%] .dpd-menu[_ngcontent-%COMP%]{width:calc(24rem - 2rem)}}@media screen and (max-height:680px){.dpd-sidebar[_ngcontent-%COMP%]{margin-top:-4rem}}"]}),t})();var At=n("v/fa"),It=n("NVUN"),Rt=n("0MyW");function Nt(t,e){1&t&&(o.Tb(0,"span"),o.Hc(1),o.gc(2,"translate"),o.Sb()),2&t&&(o.Cb(1),o.Ic(o.hc(2,1,"dpd.lecture.seule")))}function Yt(t,e){1&t&&(o.Tb(0,"mat-error"),o.Hc(1),o.gc(2,"translate"),o.Sb()),2&t&&(o.Cb(1),o.Jc(" ",o.hc(2,1,"common.error.length")," "))}function Ht(t,e){1&t&&(o.Tb(0,"mat-error"),o.Hc(1),o.gc(2,"translate"),o.Sb()),2&t&&(o.Cb(1),o.Jc(" ",o.hc(2,1,"common.error.email")," "))}let jt=(()=>{class t extends At.a{constructor(t,e){super(t),this.translateService=t,this.configSharedService=e}load(){this.form=this.configSharedService.form.get(rt.a.CLIENT),this.numeroModele=this.configSharedService.numeroModele,this.isTitleDisplayed=this.form.get("title").disabled,this.isCompletion=this.configSharedService.mode===nt.a.COMPLETION}get clientFg(){return this.form.get("client")}}return t.\u0275fac=function(e){return new(e||t)(o.Nb(xt.d),o.Nb(mt.a))},t.\u0275cmp=o.Hb({type:t,selectors:[["app-dpd-edit-client-2"]],features:[o.zb],decls:12,vars:12,consts:[[3,"formGroup"],[4,"ngIf"],[3,"message"],[1,"box-margin"],[3,"formGp","modeDpd","completion","isAutocompleteDisabled"],[1,"full-width"],["matInput","","data-cy","email","name","email","formControlName","email","appLabel","common.email"]],template:function(t,e){1&t&&(o.Tb(0,"form",0),o.Tb(1,"h3"),o.Hc(2),o.gc(3,"translate"),o.Fc(4,Nt,3,3,"span",1),o.Ob(5,"app-infobulle",2),o.Sb(),o.Tb(6,"div",3),o.Ob(7,"app-client-form-2",4),o.Tb(8,"mat-form-field",5),o.Ob(9,"input",6),o.Fc(10,Yt,3,3,"mat-error",1),o.Fc(11,Ht,3,3,"mat-error",1),o.Sb(),o.Sb(),o.Sb()),2&t&&(o.nc("formGroup",e.form),o.Cb(2),o.Jc(" ",o.hc(3,10,"dpd.client.modele."+e.numeroModele)," "),o.Cb(2),o.nc("ngIf",e.isTitleDisplayed),o.Cb(1),o.pc("message","dpd.client.modele.",e.numeroModele,"._info"),o.Cb(2),o.nc("formGp",e.clientFg)("modeDpd",!0)("completion",e.isCompletion)("isAutocompleteDisabled",!1),o.Cb(3),o.nc("ngIf",e.doesControlHaveError("email","maxlength")),o.Cb(1),o.nc("ngIf",e.doesControlHaveError("email","email")))},directives:[p.x,p.p,p.i,i.l,It.a,Rt.a,St.c,Tt.b,p.c,p.o,p.g,Ot.a,St.b],pipes:[xt.c],styles:[".mat-badge-content[_ngcontent-%COMP%]{font-weight:600;font-size:12px;font-family:Roboto,Helvetica Neue,sans-serif}.mat-badge-small[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{font-size:9px}.mat-badge-large[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{font-size:24px}.mat-h1[_ngcontent-%COMP%], .mat-headline[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font:400 24px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h2[_ngcontent-%COMP%], .mat-title[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font:500 20px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h3[_ngcontent-%COMP%], .mat-subheading-2[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font:400 16px/28px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h4[_ngcontent-%COMP%], .mat-subheading-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{font:400 15px/24px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h5[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{font:400 calc(14px * .83)/20px Roboto,Helvetica Neue,sans-serif;margin:0 0 12px}.mat-h6[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font:400 calc(14px * .67)/20px Roboto,Helvetica Neue,sans-serif;margin:0 0 12px}.mat-body-2[_ngcontent-%COMP%], .mat-body-strong[_ngcontent-%COMP%]{font:500 14px/24px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-body[_ngcontent-%COMP%], .mat-body-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%]{font:400 14px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-body-1[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .mat-body[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0 0 12px}.mat-caption[_ngcontent-%COMP%], .mat-small[_ngcontent-%COMP%]{font:400 12px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-display-4[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-4[_ngcontent-%COMP%]{font:300 112px/112px Roboto,Helvetica Neue,sans-serif;letter-spacing:-.05em;margin:0 0 56px}.mat-display-3[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-3[_ngcontent-%COMP%]{font:400 56px/56px Roboto,Helvetica Neue,sans-serif;letter-spacing:-.02em;margin:0 0 64px}.mat-display-2[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-2[_ngcontent-%COMP%]{font:400 45px/48px Roboto,Helvetica Neue,sans-serif;letter-spacing:-.005em;margin:0 0 64px}.mat-display-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-1[_ngcontent-%COMP%]{font:400 34px/40px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 64px}.mat-bottom-sheet-container[_ngcontent-%COMP%]{font:400 14px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-button[_ngcontent-%COMP%], .mat-fab[_ngcontent-%COMP%], .mat-flat-button[_ngcontent-%COMP%], .mat-icon-button[_ngcontent-%COMP%], .mat-mini-fab[_ngcontent-%COMP%], .mat-raised-button[_ngcontent-%COMP%], .mat-stroked-button[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:500}.mat-button-toggle[_ngcontent-%COMP%], .mat-card[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-card-title[_ngcontent-%COMP%]{font-size:24px;font-weight:500}.mat-card-header[_ngcontent-%COMP%] .mat-card-title[_ngcontent-%COMP%]{font-size:20px}.mat-card-content[_ngcontent-%COMP%], .mat-card-subtitle[_ngcontent-%COMP%]{font-size:14px}.mat-checkbox[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-checkbox-layout[_ngcontent-%COMP%] .mat-checkbox-label[_ngcontent-%COMP%]{line-height:24px}.mat-chip[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.mat-chip[_ngcontent-%COMP%] .mat-chip-remove.mat-icon[_ngcontent-%COMP%], .mat-chip[_ngcontent-%COMP%] .mat-chip-trailing-icon.mat-icon[_ngcontent-%COMP%]{font-size:18px}.mat-table[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-header-cell[_ngcontent-%COMP%]{font-size:12px;font-weight:500}.mat-cell[_ngcontent-%COMP%], .mat-footer-cell[_ngcontent-%COMP%]{font-size:14px}.mat-calendar[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-calendar-body[_ngcontent-%COMP%]{font-size:13px}.mat-calendar-body-label[_ngcontent-%COMP%], .mat-calendar-period-button[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.mat-calendar-table-header[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{font-size:11px;font-weight:400}.mat-dialog-title[_ngcontent-%COMP%]{font:500 20px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-expansion-panel-header[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:15px;font-weight:400}.mat-expansion-panel-content[_ngcontent-%COMP%]{font:400 14px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-form-field[_ngcontent-%COMP%]{font-size:inherit;font-weight:400;line-height:1.125;font-family:Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-form-field-wrapper[_ngcontent-%COMP%]{padding-bottom:1.34375em}.mat-form-field-prefix[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%], .mat-form-field-suffix[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{font-size:150%;line-height:1.125}.mat-form-field-prefix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%], .mat-form-field-suffix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%]{height:1.5em;width:1.5em}.mat-form-field-prefix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%], .mat-form-field-suffix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{height:1.125em;line-height:1.125}.mat-form-field-infix[_ngcontent-%COMP%]{padding:.5em 0;border-top:.84375em solid rgba(0,0,0,0)}.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-1.34375em) scale(.75);transform:translateY(-1.34375em) scale(.75);width:133.3333333333%}.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-1.34374em) scale(.75);transform:translateY(-1.34374em) scale(.75);width:133.3333433333%}.mat-form-field-label-wrapper[_ngcontent-%COMP%]{top:-.84375em;padding-top:.84375em}.mat-form-field-label[_ngcontent-%COMP%]{top:1.34375em}.mat-form-field-underline[_ngcontent-%COMP%]{bottom:1.34375em}.mat-form-field-subscript-wrapper[_ngcontent-%COMP%]{font-size:75%;margin-top:.6666666667em;top:calc(100% - 1.7916666667em)}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-wrapper[_ngcontent-%COMP%]{padding-bottom:1.25em}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]{padding:.4375em 0}.mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.001px);-ms-transform:translateY(-1.28125em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-form-field-autofill-control[_ngcontent-%COMP%]:-webkit-autofill + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00101px);-ms-transform:translateY(-1.28124em) scale(.75);width:133.3333433333%}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00102px);-ms-transform:translateY(-1.28123em) scale(.75);width:133.3333533333%}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{top:1.28125em}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]{bottom:1.25em}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-subscript-wrapper[_ngcontent-%COMP%]{margin-top:.5416666667em;top:calc(100% - 1.6666666667em)}@media print{.mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-1.28122em) scale(.75);transform:translateY(-1.28122em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-form-field-autofill-control[_ngcontent-%COMP%]:-webkit-autofill + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{transform:translateY(-1.28121em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-1.2812em) scale(.75);transform:translateY(-1.2812em) scale(.75)}}.mat-form-field-appearance-fill[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]{padding:.25em 0 .75em}.mat-form-field-appearance-fill[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{top:1.09375em;margin-top:-.5em}.mat-form-field-appearance-fill.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-fill.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-.59375em) scale(.75);transform:translateY(-.59375em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-fill.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-.59374em) scale(.75);transform:translateY(-.59374em) scale(.75);width:133.3333433333%}.mat-form-field-appearance-outline[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]{padding:1em 0}.mat-form-field-appearance-outline[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{top:1.84375em;margin-top:-.25em}.mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-outline.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-1.59375em) scale(.75);transform:translateY(-1.59375em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-outline.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-1.59374em) scale(.75);transform:translateY(-1.59374em) scale(.75);width:133.3333433333%}.mat-grid-tile-footer[_ngcontent-%COMP%], .mat-grid-tile-header[_ngcontent-%COMP%]{font-size:14px}.mat-grid-tile-footer[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%], .mat-grid-tile-header[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-grid-tile-footer[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2), .mat-grid-tile-header[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:12px}input.mat-input-element[_ngcontent-%COMP%]{margin-top:-.0625em}.mat-menu-item[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:400}.mat-paginator[_ngcontent-%COMP%], .mat-paginator-page-size[_ngcontent-%COMP%] .mat-select-trigger[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:12px}.mat-radio-button[_ngcontent-%COMP%], .mat-select[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-select-trigger[_ngcontent-%COMP%]{height:1.125em}.mat-slide-toggle-content[_ngcontent-%COMP%], .mat-slider-thumb-label-text[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-slider-thumb-label-text[_ngcontent-%COMP%]{font-size:12px;font-weight:500}.mat-stepper-horizontal[_ngcontent-%COMP%], .mat-stepper-vertical[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-step-label[_ngcontent-%COMP%]{font-size:14px;font-weight:400}.mat-step-sub-label-error[_ngcontent-%COMP%]{font-weight:400}.mat-step-label-error[_ngcontent-%COMP%]{font-size:14px}.mat-step-label-selected[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.mat-tab-group[_ngcontent-%COMP%], .mat-tab-label[_ngcontent-%COMP%], .mat-tab-link[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-tab-label[_ngcontent-%COMP%], .mat-tab-link[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.mat-toolbar[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font:500 20px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0}.mat-tooltip[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:10px;padding-top:6px;padding-bottom:6px}.mat-tooltip-handset[_ngcontent-%COMP%]{font-size:14px;padding-top:8px;padding-bottom:8px}.mat-list-item[_ngcontent-%COMP%], .mat-list-option[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]{font-size:16px}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:14px}.mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%]{font-size:16px}.mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:14px}.mat-list-base[_ngcontent-%COMP%] .mat-subheader[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:500}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]{font-size:12px}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2), .mat-list-base[dense][_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%]{font-size:12px}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:12px}.mat-list-base[dense][_ngcontent-%COMP%] .mat-subheader[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:12px;font-weight:500}.mat-option[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:16px}.mat-optgroup-label[_ngcontent-%COMP%]{font:500 14px/24px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-simple-snackbar[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px}.mat-simple-snackbar-action[_ngcontent-%COMP%]{line-height:1;font-family:inherit;font-size:inherit;font-weight:500}.mat-tree[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-nested-tree-node[_ngcontent-%COMP%], .mat-tree-node[_ngcontent-%COMP%]{font-weight:400;font-size:14px}.mat-ripple[_ngcontent-%COMP%]{overflow:hidden;position:relative}.mat-ripple[_ngcontent-%COMP%]:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded[_ngcontent-%COMP%]{overflow:visible}.mat-ripple-element[_ngcontent-%COMP%]{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0,0,.2,1);-ms-transform:scale(0);transform:scale(0)}.cdk-high-contrast-active[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{display:none}.cdk-visually-hidden[_ngcontent-%COMP%]{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;outline:0;-webkit-appearance:none;-moz-appearance:none}.cdk-global-overlay-wrapper[_ngcontent-%COMP%], .cdk-overlay-container[_ngcontent-%COMP%]{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container[_ngcontent-%COMP%]{position:fixed;z-index:1000}.cdk-overlay-container[_ngcontent-%COMP%]:empty{display:none}.cdk-global-overlay-wrapper[_ngcontent-%COMP%], .cdk-overlay-pane[_ngcontent-%COMP%]{display:-ms-flexbox;display:flex;position:absolute;z-index:1000}.cdk-overlay-pane[_ngcontent-%COMP%]{pointer-events:auto;box-sizing:border-box;max-width:100%;max-height:100%}.cdk-overlay-backdrop[_ngcontent-%COMP%]{position:absolute;top:0;bottom:0;left:0;right:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:transparent;transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:1}@media screen and (-ms-high-contrast:active){.cdk-overlay-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:.6}}.cdk-overlay-dark-backdrop[_ngcontent-%COMP%]{background:rgba(0,0,0,.32)}.cdk-overlay-transparent-backdrop[_ngcontent-%COMP%], .cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:0}.cdk-overlay-connected-position-bounding-box[_ngcontent-%COMP%]{position:absolute;z-index:1000;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock[_ngcontent-%COMP%]{position:fixed;width:100%;overflow-y:scroll}@-webkit-keyframes cdk-text-field-autofill-start{\n }@keyframes cdk-text-field-autofill-start{\n }@-webkit-keyframes cdk-text-field-autofill-end{\n }@keyframes cdk-text-field-autofill-end{\n }.cdk-text-field-autofill-monitored[_ngcontent-%COMP%]:-webkit-autofill{-webkit-animation:cdk-text-field-autofill-start 0s 1ms;animation:cdk-text-field-autofill-start 0s 1ms}.cdk-text-field-autofill-monitored[_ngcontent-%COMP%]:not(:-webkit-autofill){-webkit-animation:cdk-text-field-autofill-end 0s 1ms;animation:cdk-text-field-autofill-end 0s 1ms}textarea.cdk-textarea-autosize[_ngcontent-%COMP%]{resize:none}textarea.cdk-textarea-autosize-measuring[_ngcontent-%COMP%]{padding:2px 0!important;box-sizing:content-box!important;height:auto!important;overflow:hidden!important}textarea.cdk-textarea-autosize-measuring-firefox[_ngcontent-%COMP%]{padding:2px 0!important;box-sizing:content-box!important;height:0!important}.mat-focus-indicator[_ngcontent-%COMP%], .mat-mdc-focus-indicator[_ngcontent-%COMP%]{position:relative}h3[_ngcontent-%COMP%]{margin:0 0 8px;padding-bottom:16px;border-bottom:1px solid #999}h3[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#ff9800;font-weight:400;font-size:1rem;padding-left:12px}.box-margin[_ngcontent-%COMP%]{margin:0 32px}.box-margin[_ngcontent-%COMP%] .full-width[_ngcontent-%COMP%]{width:100%}.box-margin[_ngcontent-%COMP%] .checkbox[_ngcontent-%COMP%]{padding:8px 0}"]}),t})();var Ft=n("zQhy"),zt=n("/o2W");function Vt(t,e){1&t&&(o.Tb(0,"mat-error"),o.Hc(1),o.gc(2,"translate"),o.Sb()),2&t&&(o.Cb(1),o.Jc(" ",o.hc(2,1,"common.error.requis")," "))}function Bt(t,e){if(1&t&&(o.Tb(0,"mat-form-field"),o.Ob(1,"input",23),o.Fc(2,Vt,3,3,"mat-error",9),o.Sb()),2&t){const t=o.fc();o.Cb(1),o.nc("min",1),o.Cb(1),o.nc("ngIf",t.doesControlHaveError("tripExpenses","required"))}}function Wt(t,e){1&t&&(o.Tb(0,"mat-error"),o.Hc(1),o.gc(2,"translate"),o.Sb()),2&t&&(o.Cb(1),o.Jc(" ",o.hc(2,1,"common.error.requis")," "))}function Ut(t,e){if(1&t&&(o.Tb(0,"mat-form-field"),o.Ob(1,"input",24),o.Fc(2,Wt,3,3,"mat-error",9),o.Sb()),2&t){const t=o.fc();o.Cb(1),o.nc("min",1),o.Cb(1),o.nc("ngIf",t.doesControlHaveError("foodExpenses","required"))}}function qt(t,e){1&t&&(o.Tb(0,"mat-error"),o.Hc(1),o.gc(2,"translate"),o.Sb()),2&t&&(o.Cb(1),o.Jc(" ",o.hc(2,1,"common.error.requis")," "))}function Gt(t,e){if(1&t&&(o.Tb(0,"mat-form-field"),o.Ob(1,"input",25),o.Fc(2,qt,3,3,"mat-error",9),o.Sb()),2&t){const t=o.fc();o.Cb(1),o.nc("min",1),o.Cb(1),o.nc("ngIf",t.doesControlHaveError("hostingExpenses","required"))}}let Jt=(()=>{class t extends yt.a{constructor(t,e){super(t),this.translateService=t,this.configSharedService=e,this.expenseType=C.a}load(){this.form=this.configSharedService.form.get(rt.a.EXPENSES),this.tripExpensesFg=this.getControlFromName("tripExpenses"),this.foodExpensesFg=this.getControlFromName("foodExpenses"),this.hostingExpensesFg=this.getControlFromName("hostingExpenses")}getControlFromName(t){return this.form.get(t)}doesControlHaveError(t,e){return this.getControlFromName(t).get("amount").getError(e)}getType(t){return this.getControlFromName(t).get("type").value}onExpenseTypeChange(t,e){const n=t.value;n&&(n===C.a.VERSEMENT?e.get("amount").enable():e.get("amount").disable())}}return t.\u0275fac=function(e){return new(e||t)(o.Nb(xt.d),o.Nb(mt.a))},t.\u0275cmp=o.Hb({type:t,selectors:[["app-dpd-edit-expenses-2"]],features:[o.zb],decls:30,vars:19,consts:[[3,"formGroup"],["appLabel","dpd.menu.frais"],[1,"box-margin"],[1,"expense-box"],["appLabel","dpd.frais.voyage"],["name","fraisVoyage","formControlName","type",1,"expense",3,"change"],["data-cy","voyage-frais-employeur","appLabel","dpd.frais.employeur","color","primary",1,"prisEnChargeChoice",3,"value"],["data-cy","voyage-frais-travailleur","appLabel","dpd.frais.travailleur","color","primary",1,"avancesChoice",3,"value"],["data-cy","voyage-frais-versement","appLabel","dpd.frais.versement","color","primary",1,"versementChoice",3,"value"],[4,"ngIf"],["data-cy","voyage-frais-autre","appLabel","dpd.frais.autre","color","primary",1,"autreChoice",3,"value"],["appLabel","dpd.frais.nourriture"],["name","fraisNourriture","formControlName","type",1,"expense",3,"change"],["data-cy","nourriture-frais-employeur","appLabel","dpd.frais.employeur","color","primary",1,"prisEnChargeChoice",3,"value"],["data-cy","nourriture-frais-travailleur","appLabel","dpd.frais.travailleur","color","primary",1,"avancesChoice",3,"value"],["data-cy","nourriture-frais-versement","appLabel","dpd.frais.versement","color","primary",1,"versementChoice",3,"value"],["data-cy","nourriture-frais-autre","appLabel","dpd.frais.autre","color","primary",1,"autreChoice",3,"value"],["appLabel","dpd.frais.hebergement"],["name","fraisHebergement","formControlName","type",1,"expense",3,"change"],["data-cy","hebergement-frais-employeur","appLabel","dpd.frais.employeur","color","primary",1,"prisEnChargeChoice",3,"value"],["data-cy","hebergement-frais-travailleur","appLabel","dpd.frais.travailleur","color","primary",1,"avancesChoice",3,"value"],["data-cy","hebergement-frais-versement","appLabel","dpd.frais.versement","color","primary",1,"versementChoice",3,"value"],["data-cy","hebergement-frais-autre","appLabel","dpd.frais.autre","color","primary",1,"autreChoice",3,"value"],["matInput","","data-cy","voyage-versement-montant","type","text","appNumber","float","appLabel","dpd.frais.versement.montant","formControlName","amount","required","",3,"min"],["matInput","","data-cy","nourriture-versement-montant","type","text","appNumber","float","appLabel","dpd.frais.versement.montant","formControlName","amount","required","",3,"min"],["matInput","","data-cy","hebergement-versement-montant","type","text","appNumber","float","appLabel","dpd.frais.versement.montant","formControlName","amount","required","",3,"min"]],template:function(t,e){1&t&&(o.Tb(0,"form",0),o.Ob(1,"h3",1),o.Tb(2,"div",2),o.Tb(3,"div",3),o.Ob(4,"h4",4),o.Tb(5,"form",0),o.Tb(6,"mat-radio-group",5),o.bc("change",function(t){return e.onExpenseTypeChange(t,e.tripExpensesFg)}),o.Ob(7,"mat-radio-button",6),o.Ob(8,"mat-radio-button",7),o.Ob(9,"mat-radio-button",8),o.Fc(10,Bt,3,2,"mat-form-field",9),o.Ob(11,"mat-radio-button",10),o.Sb(),o.Sb(),o.Sb(),o.Tb(12,"div",3),o.Ob(13,"h4",11),o.Tb(14,"form",0),o.Tb(15,"mat-radio-group",12),o.bc("change",function(t){return e.onExpenseTypeChange(t,e.foodExpensesFg)}),o.Ob(16,"mat-radio-button",13),o.Ob(17,"mat-radio-button",14),o.Ob(18,"mat-radio-button",15),o.Fc(19,Ut,3,2,"mat-form-field",9),o.Ob(20,"mat-radio-button",16),o.Sb(),o.Sb(),o.Sb(),o.Tb(21,"div",3),o.Ob(22,"h4",17),o.Tb(23,"form",0),o.Tb(24,"mat-radio-group",18),o.bc("change",function(t){return e.onExpenseTypeChange(t,e.hostingExpensesFg)}),o.Ob(25,"mat-radio-button",19),o.Ob(26,"mat-radio-button",20),o.Ob(27,"mat-radio-button",21),o.Fc(28,Gt,3,2,"mat-form-field",9),o.Ob(29,"mat-radio-button",22),o.Sb(),o.Sb(),o.Sb(),o.Sb(),o.Sb()),2&t&&(o.nc("formGroup",e.form),o.Cb(5),o.nc("formGroup",e.tripExpensesFg),o.Cb(2),o.nc("value",e.expenseType.PRIS_EN_CHARGE),o.Cb(1),o.nc("value",e.expenseType.AVANCES),o.Cb(1),o.nc("value",e.expenseType.VERSEMENT),o.Cb(1),o.nc("ngIf",e.getType("tripExpenses")===e.expenseType.VERSEMENT),o.Cb(1),o.nc("value",e.expenseType.AUTRE),o.Cb(3),o.nc("formGroup",e.foodExpensesFg),o.Cb(2),o.nc("value",e.expenseType.PRIS_EN_CHARGE),o.Cb(1),o.nc("value",e.expenseType.AVANCES),o.Cb(1),o.nc("value",e.expenseType.VERSEMENT),o.Cb(1),o.nc("ngIf",e.getType("foodExpenses")===e.expenseType.VERSEMENT),o.Cb(1),o.nc("value",e.expenseType.AUTRE),o.Cb(3),o.nc("formGroup",e.hostingExpensesFg),o.Cb(2),o.nc("value",e.expenseType.PRIS_EN_CHARGE),o.Cb(1),o.nc("value",e.expenseType.AVANCES),o.Cb(1),o.nc("value",e.expenseType.VERSEMENT),o.Cb(1),o.nc("ngIf",e.getType("hostingExpenses")===e.expenseType.VERSEMENT),o.Cb(1),o.nc("value",e.expenseType.AUTRE))},directives:[p.x,p.p,p.i,Ot.a,Ft.b,p.o,p.g,Ft.a,i.l,St.c,Tt.b,p.c,zt.a,p.v,St.b],pipes:[xt.c],styles:["h3[_ngcontent-%COMP%]{margin:0 0 8px}h3[_ngcontent-%COMP%], h4[_ngcontent-%COMP%]{padding-bottom:16px;border-bottom:1px solid #999}h4[_ngcontent-%COMP%]{margin:0 0 8px -16px;padding-top:8px}.box-margin[_ngcontent-%COMP%]{margin:0 32px}.box-margin[_ngcontent-%COMP%] .expense-box[_ngcontent-%COMP%]{margin-bottom:16px}.box-margin[_ngcontent-%COMP%] .expense-box[_ngcontent-%COMP%] .expense[_ngcontent-%COMP%]{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.box-margin[_ngcontent-%COMP%] .expense-box[_ngcontent-%COMP%] .expense[_ngcontent-%COMP%] mat-radio-button[_ngcontent-%COMP%]{margin:8px 0}.box-margin[_ngcontent-%COMP%] .full-width[_ngcontent-%COMP%]{width:100%}.box-margin[_ngcontent-%COMP%] .inline-form[_ngcontent-%COMP%]{display:-ms-flexbox;display:flex;-ms-flex-flow:row;flex-flow:row}.box-margin[_ngcontent-%COMP%] .inline-form[_ngcontent-%COMP%] .spacer[_ngcontent-%COMP%]{width:50px}.box-margin[_ngcontent-%COMP%] .inline-form[_ngcontent-%COMP%] mat-form-field[_ngcontent-%COMP%]{-ms-flex:1;flex:1}"]}),t})();var Zt=n("VS7r"),$t=n("48lP"),Xt=n("7pfu"),Kt=n("pMoy"),Qt=n("Mkv7");function te(t,e){1&t&&(o.Tb(0,"span",24),o.Hc(1),o.gc(2,"translate"),o.Sb()),2&t&&(o.Cb(1),o.Jc(" ",o.hc(2,1,"dpd.lecture.seule")," "))}function ee(t,e){1&t&&(o.Tb(0,"mat-error"),o.Hc(1),o.gc(2,"translate"),o.Sb()),2&t&&(o.Cb(1),o.Jc(" ",o.hc(2,1,"common.error.requis")," "))}function ne(t,e){1&t&&(o.Tb(0,"mat-error"),o.Hc(1),o.gc(2,"translate"),o.Sb()),2&t&&(o.Cb(1),o.Jc(" ",o.hc(2,1,"common.error.length")," "))}function ie(t,e){1&t&&(o.Tb(0,"mat-error"),o.Hc(1),o.gc(2,"translate"),o.Sb()),2&t&&(o.Cb(1),o.Jc(" ",o.hc(2,1,"common.error.requis")," "))}function ae(t,e){1&t&&(o.Tb(0,"mat-error"),o.Hc(1),o.gc(2,"translate"),o.Sb()),2&t&&(o.Cb(1),o.Jc(" ",o.hc(2,1,"common.error.length")," "))}function re(t,e){1&t&&(o.Tb(0,"mat-error"),o.Hc(1),o.gc(2,"translate"),o.Sb()),2&t&&(o.Cb(1),o.Jc(" ",o.hc(2,1,"common.error.requis")," "))}function oe(t,e){1&t&&(o.Tb(0,"mat-error"),o.Hc(1),o.gc(2,"translate"),o.Sb()),2&t&&(o.Cb(1),o.Jc(" ",o.hc(2,1,"common.error.email")," "))}function se(t,e){1&t&&(o.Tb(0,"mat-error"),o.Hc(1),o.gc(2,"translate"),o.Sb()),2&t&&(o.Cb(1),o.Jc(" ",o.hc(2,1,"common.error.length")," "))}function le(t,e){1&t&&(o.Tb(0,"mat-error"),o.Hc(1),o.gc(2,"translate"),o.Sb()),2&t&&(o.Cb(1),o.Jc(" ",o.hc(2,1,"common.error.requis")," "))}function ce(t,e){1&t&&(o.Tb(0,"mat-error"),o.Hc(1),o.gc(2,"translate"),o.Sb()),2&t&&(o.Cb(1),o.Jc(" ",o.hc(2,1,"common.error.length")," "))}function de(t,e){if(1&t){const t=o.Ub();o.Tb(0,"div",25),o.Tb(1,"mat-checkbox",26),o.bc("change",function(e){return o.yc(t),o.fc().onNoTVACheckboxChange(e.checked)}),o.Hc(2),o.gc(3,"translate"),o.Sb(),o.Sb()}if(2&t){const t=o.fc();o.Cb(1),o.nc("indeterminate",!t.doesCountryHaveTVA),o.Cb(1),o.Jc(" ",o.hc(3,2,"dpd.tva.no")," ")}}function ue(t,e){if(1&t){const t=o.Ub();o.Tb(0,"div",15),o.Tb(1,"app-tva-check-2",27),o.bc("stateChangeEvent",function(e){return o.yc(t),o.fc().onStateChange(e)}),o.Sb(),o.Sb()}if(2&t){const t=o.fc();o.Cb(1),o.nc("state",t.state)("formCtrl",t.numTVACtrl)("countryCode",t.countryCodeTVA)("isAutocompleteDisabled",!0)}}function he(t,e){1&t&&(o.Tb(0,"mat-error"),o.Hc(1),o.gc(2,"translate"),o.Sb()),2&t&&(o.Cb(1),o.Jc(" ",o.hc(2,1,"common.error.requis")," "))}function me(t,e){1&t&&(o.Tb(0,"mat-error"),o.Hc(1),o.gc(2,"translate"),o.Sb()),2&t&&(o.Cb(1),o.Jc(" ",o.hc(2,1,"common.error.length")," "))}function pe(t,e){if(1&t&&(o.Tb(0,"mat-form-field",15),o.Ob(1,"input",28),o.Fc(2,he,3,3,"mat-error",7),o.Fc(3,me,3,3,"mat-error",7),o.Sb()),2&t){const t=o.fc();o.Cb(2),o.nc("ngIf",t.doesControlHaveError("registre","required")),o.Cb(1),o.nc("ngIf",t.doesControlHaveError("registre","maxlength"))}}function fe(t,e){1&t&&(o.Tb(0,"mat-error"),o.Hc(1),o.gc(2,"translate"),o.Sb()),2&t&&(o.Cb(1),o.Jc(" ",o.hc(2,1,"common.error.requis")," "))}function ge(t,e){1&t&&(o.Tb(0,"mat-error"),o.Hc(1),o.gc(2,"translate"),o.Sb()),2&t&&(o.Cb(1),o.Jc(" ",o.hc(2,1,"common.error.length")," "))}function be(t,e){if(1&t&&(o.Tb(0,"mat-form-field",15),o.Ob(1,"input",29),o.Fc(2,fe,3,3,"mat-error",7),o.Fc(3,ge,3,3,"mat-error",7),o.Sb()),2&t){const t=o.fc();o.Cb(2),o.nc("ngIf",t.doesControlHaveError("reference","required")),o.Cb(1),o.nc("ngIf",t.doesControlHaveError("reference","maxlength"))}}function _e(t,e){1&t&&(o.Tb(0,"mat-error"),o.Hc(1),o.gc(2,"translate"),o.Sb()),2&t&&(o.Cb(1),o.Jc(" ",o.hc(2,1,"common.error.requis")," "))}function ye(t,e){1&t&&(o.Tb(0,"mat-error"),o.Hc(1),o.gc(2,"translate"),o.Sb()),2&t&&(o.Cb(1),o.Jc(" ",o.hc(2,1,"common.error.length")," "))}function ve(t,e){if(1&t&&(o.Tb(0,"div",30),o.Ob(1,"h4",31),o.Tb(2,"mat-form-field",15),o.Ob(3,"input",32),o.Fc(4,_e,3,3,"mat-error",7),o.Fc(5,ye,3,3,"mat-error",7),o.Sb(),o.Sb()),2&t){const t=o.fc();o.Cb(4),o.nc("ngIf",t.doesControlHaveError("organisme","required")),o.Cb(1),o.nc("ngIf",t.doesControlHaveError("organisme","maxlength"))}}function Ce(t,e){1&t&&(o.Tb(0,"mat-error"),o.Hc(1),o.gc(2,"translate"),o.Sb()),2&t&&(o.Cb(1),o.Jc(" ",o.hc(2,1,"common.error.length")," "))}function we(t,e){if(1&t&&(o.Tb(0,"div",33),o.Ob(1,"h4",34),o.Tb(2,"mat-form-field",15),o.Ob(3,"input",35),o.Fc(4,Ce,3,3,"mat-error",7),o.Sb(),o.Sb()),2&t){const t=o.fc();o.Cb(4),o.nc("ngIf",t.doesControlHaveError("transporteur","maxlength"))}}let xe=(()=>{class t extends At.a{constructor(t,e,n){super(t),this.translateService=t,this.configSharedService=e,this.route=n}load(){this.isROMode=this.configSharedService.user.role===A.a.ENTREPRISE,this.form=this.configSharedService.form.get(rt.a.FOREIGN_COMPANY),this._numeroModele=this.configSharedService.numeroModele,this._countries=this.configSharedService.countries,this.state=this.route.snapshot.data.resolvedData.state}get addressFg(){return this.form.get("adresse")}get managerFg(){return this.form.get("dirigeant")}get isAutocompleteCompanyDisabled(){return this._autocompleteCompanyDisabled}get _country(){return this.form.get("adresse").get("pays").value}get doesCountryHaveTVA(){return this._country?this._country.hasTVA:null}get countryCodeTVA(){return this._country?this._country.codeTVA:null}get doesForeignCompanyHaveTVA(){return!this.form.get("noTVA").value}get numTVACtrl(){return this.form.get("numTVA")}get raisonSocialeCtrl(){return this.form.get("raisonSociale")}get referenceCtrl(){return this.form.get("reference")}get registreCtrl(){return this.form.get("registre")}get isTVANumberDisplayed(){return this.doesForeignCompanyHaveTVA&&this.doesCountryHaveTVA}get isRegisterOrReferenceDisplayed(){return!(4===this._numeroModele||this.doesForeignCompanyHaveTVA&&this.doesCountryHaveTVA)}get isOrganismeDisplayed(){return 3===this._numeroModele||5===this._numeroModele}get isTransporterDisplayed(){return 4===this._numeroModele}onCompanyChange(t){t&&this.form.patchValue({raisonSociale:t.raisonSociale,adresse:{adresse:t.adresse,pays:this._countries.find(e=>e.code===t.pays),cp:t.cp,ville:t.ville,complementAdresse:t.complementAdresse},telephone:t.telephone,email:t.email,status:t.status,noTVA:t.noTVA,numTVA:t.numTVA,registre:t.registre,reference:t.reference,dirigeant:{nom:t.dirigeantNom,prenom:t.dirigeantPrenom,dateNaissance:t.dirigeantDateNaissance,villeNaissance:t.dirigeantVilleNaissance,paysNaissance:this._countries.find(e=>t.dirigeantPaysNaissance===e.code)},organisme:t.organisme})}onNoTVACheckboxChange(t){this.cleanTvaRegistreReference(),t?(this.referenceCtrl.enable(),this.registreCtrl.enable()):(this.referenceCtrl.disable(),this.registreCtrl.disable())}onCountryChange(t){this.cleanTvaRegistreReference(),t&&t.hasTVA?(this.form.get("noTVA").setValue(!1),this.form.get("noTVA").enable(),this.referenceCtrl.disable(),this.registreCtrl.disable()):(this.form.get("noTVA").disable(),this.referenceCtrl.enable(),this.registreCtrl.enable()),this.form.get("numTVA").updateValueAndValidity()}onStateChange(t){this.state=t,this.numTVACtrl.updateValueAndValidity()}cleanTvaRegistreReference(){this.form.patchValue({numTVA:null,reference:null,registre:null})}}return t.\u0275fac=function(e){return new(e||t)(o.Nb(xt.d),o.Nb(mt.a),o.Nb(r.a))},t.\u0275cmp=o.Hb({type:t,selectors:[["app-foreign-company-2"]],features:[o.zb],decls:39,vars:28,consts:[[3,"formGroup"],["data-cy","readonly-message","id","readonly-message",4,"ngIf"],["message","dpd.menu.entreprise._info"],[1,"box-margin"],["id","bloc-coordonnes"],["appLabel","dpd.coordonnees"],["data-cy","entreprise-etrangere-rs","formControlName","raisonSociale",3,"name","inputTitle","isRequired","formControl","selectionChanged"],[4,"ngIf"],["data-cy","entreprise-etrangere-adresse",3,"formGp","showFR","isRequired","countryChangeEvent"],[1,"inline-form"],["matInput","","data-cy","telephone","type","text","appLabel","common.tel","formControlName","telephone","required",""],[1,"spacer"],["matInput","","data-cy","email","appLabel","common.email","formControlName","email","required",""],["id","bloc-infos"],["appLabel","dpd.entreprise.info"],[1,"full-width"],["matInput","","data-cy","forme-juridique","type","text","appLabel","dpd.forme.juridique","formControlName","status","required",""],["class","checkbox",4,"ngIf"],["class","full-width",4,"ngIf"],["id","bloc-dirigeant"],["appLabel","dpd.dirigeant"],["data-cy","dirigeant",3,"formGp"],["id","bloc-organisme",4,"ngIf"],["id","bloc-transporteur",4,"ngIf"],["data-cy","readonly-message","id","readonly-message"],[1,"checkbox"],["color","primary","formControlName","noTVA",3,"indeterminate","change"],[3,"state","formCtrl","countryCode","isAutocompleteDisabled","stateChangeEvent"],["matInput","","type","text","appLabel","dpd.registre","formControlName","registre","required",""],["matInput","","type","text","appLabel","dpd.reference","formControlName","reference","required",""],["id","bloc-organisme"],["appLabel","dpd.organisme"],["matInput","","data-cy","organisme","type","text","name","organisme","appLabel","dpd.organisme.info","formControlName","organisme","required",""],["id","bloc-transporteur"],["appLabel","dpd.registre.transporteur"],["matInput","","type","text","name","transporteur","appLabel","dpd.registre.transporteur","formControlName","transporteur"]],template:function(t,e){1&t&&(o.Tb(0,"form",0),o.Tb(1,"h3"),o.Hc(2),o.gc(3,"translate"),o.Fc(4,te,3,3,"span",1),o.Ob(5,"app-infobulle",2),o.Sb(),o.Tb(6,"div",3),o.Tb(7,"div",4),o.Ob(8,"h4",5),o.Tb(9,"app-entreprise-autocomplete-2",6),o.bc("selectionChanged",function(t){return e.onCompanyChange(t)}),o.Fc(10,ee,3,3,"mat-error",7),o.Fc(11,ne,3,3,"mat-error",7),o.Sb(),o.Tb(12,"app-address-form-2",8),o.bc("countryChangeEvent",function(t){return e.onCountryChange(t)}),o.Sb(),o.Tb(13,"div",9),o.Tb(14,"mat-form-field"),o.Ob(15,"input",10),o.Fc(16,ie,3,3,"mat-error",7),o.Fc(17,ae,3,3,"mat-error",7),o.Sb(),o.Ob(18,"div",11),o.Tb(19,"mat-form-field"),o.Ob(20,"input",12),o.Fc(21,re,3,3,"mat-error",7),o.Fc(22,oe,3,3,"mat-error",7),o.Fc(23,se,3,3,"mat-error",7),o.Sb(),o.Sb(),o.Sb(),o.Tb(24,"div",13),o.Ob(25,"h4",14),o.Tb(26,"mat-form-field",15),o.Ob(27,"input",16),o.Fc(28,le,3,3,"mat-error",7),o.Fc(29,ce,3,3,"mat-error",7),o.Sb(),o.Fc(30,de,4,4,"div",17),o.Fc(31,ue,2,4,"div",18),o.Fc(32,pe,4,2,"mat-form-field",18),o.Fc(33,be,4,2,"mat-form-field",18),o.Sb(),o.Tb(34,"div",19),o.Ob(35,"h4",20),o.Ob(36,"app-person-form-2",21),o.Sb(),o.Fc(37,ve,6,2,"div",22),o.Fc(38,we,5,1,"div",23),o.Sb(),o.Sb()),2&t&&(o.nc("formGroup",e.form),o.Cb(2),o.Jc(" ",o.hc(3,26,"dpd.menu.entreprise")," "),o.Cb(2),o.nc("ngIf",e.isROMode),o.Cb(5),o.nc("name","socialReason")("inputTitle","dpd.raisonsociale")("isRequired",!0)("formControl",e.raisonSocialeCtrl),o.Cb(1),o.nc("ngIf",e.doesControlHaveError("raisonSociale","required")),o.Cb(1),o.nc("ngIf",e.doesControlHaveError("raisonSociale","maxlength")),o.Cb(1),o.nc("formGp",e.addressFg)("showFR",!1)("isRequired",!0),o.Cb(4),o.nc("ngIf",e.doesControlHaveError("telephone","required")),o.Cb(1),o.nc("ngIf",e.doesControlHaveError("telephone","maxlength")),o.Cb(4),o.nc("ngIf",e.doesControlHaveError("email","required")),o.Cb(1),o.nc("ngIf",e.doesControlHaveError("email","email")),o.Cb(1),o.nc("ngIf",e.doesControlHaveError("email","maxlength")),o.Cb(5),o.nc("ngIf",e.doesControlHaveError("status","required")),o.Cb(1),o.nc("ngIf",e.doesControlHaveError("status","maxlength")),o.Cb(1),o.nc("ngIf",!e.isROMode),o.Cb(1),o.nc("ngIf",e.isTVANumberDisplayed),o.Cb(1),o.nc("ngIf",e.isRegisterOrReferenceDisplayed),o.Cb(1),o.nc("ngIf",e.isRegisterOrReferenceDisplayed),o.Cb(3),o.nc("formGp",e.managerFg),o.Cb(1),o.nc("ngIf",e.isOrganismeDisplayed),o.Cb(1),o.nc("ngIf",e.isTransporterDisplayed))},directives:[p.x,p.p,p.i,i.l,It.a,Ot.a,Zt.a,p.o,p.g,p.f,$t.a,St.c,Tt.b,p.c,p.v,Xt.a,St.b,Kt.a,Qt.a],pipes:[xt.c],styles:[".mat-badge-content[_ngcontent-%COMP%]{font-weight:600;font-size:12px;font-family:Roboto,Helvetica Neue,sans-serif}.mat-badge-small[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{font-size:9px}.mat-badge-large[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{font-size:24px}.mat-h1[_ngcontent-%COMP%], .mat-headline[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font:400 24px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h2[_ngcontent-%COMP%], .mat-title[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font:500 20px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h3[_ngcontent-%COMP%], .mat-subheading-2[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font:400 16px/28px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h4[_ngcontent-%COMP%], .mat-subheading-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{font:400 15px/24px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h5[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{font:400 calc(14px * .83)/20px Roboto,Helvetica Neue,sans-serif;margin:0 0 12px}.mat-h6[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font:400 calc(14px * .67)/20px Roboto,Helvetica Neue,sans-serif;margin:0 0 12px}.mat-body-2[_ngcontent-%COMP%], .mat-body-strong[_ngcontent-%COMP%]{font:500 14px/24px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-body[_ngcontent-%COMP%], .mat-body-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%]{font:400 14px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-body-1[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .mat-body[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0 0 12px}.mat-caption[_ngcontent-%COMP%], .mat-small[_ngcontent-%COMP%]{font:400 12px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-display-4[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-4[_ngcontent-%COMP%]{font:300 112px/112px Roboto,Helvetica Neue,sans-serif;letter-spacing:-.05em;margin:0 0 56px}.mat-display-3[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-3[_ngcontent-%COMP%]{font:400 56px/56px Roboto,Helvetica Neue,sans-serif;letter-spacing:-.02em;margin:0 0 64px}.mat-display-2[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-2[_ngcontent-%COMP%]{font:400 45px/48px Roboto,Helvetica Neue,sans-serif;letter-spacing:-.005em;margin:0 0 64px}.mat-display-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-1[_ngcontent-%COMP%]{font:400 34px/40px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 64px}.mat-bottom-sheet-container[_ngcontent-%COMP%]{font:400 14px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-button[_ngcontent-%COMP%], .mat-fab[_ngcontent-%COMP%], .mat-flat-button[_ngcontent-%COMP%], .mat-icon-button[_ngcontent-%COMP%], .mat-mini-fab[_ngcontent-%COMP%], .mat-raised-button[_ngcontent-%COMP%], .mat-stroked-button[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:500}.mat-button-toggle[_ngcontent-%COMP%], .mat-card[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-card-title[_ngcontent-%COMP%]{font-size:24px;font-weight:500}.mat-card-header[_ngcontent-%COMP%] .mat-card-title[_ngcontent-%COMP%]{font-size:20px}.mat-card-content[_ngcontent-%COMP%], .mat-card-subtitle[_ngcontent-%COMP%]{font-size:14px}.mat-checkbox[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-checkbox-layout[_ngcontent-%COMP%] .mat-checkbox-label[_ngcontent-%COMP%]{line-height:24px}.mat-chip[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.mat-chip[_ngcontent-%COMP%] .mat-chip-remove.mat-icon[_ngcontent-%COMP%], .mat-chip[_ngcontent-%COMP%] .mat-chip-trailing-icon.mat-icon[_ngcontent-%COMP%]{font-size:18px}.mat-table[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-header-cell[_ngcontent-%COMP%]{font-size:12px;font-weight:500}.mat-cell[_ngcontent-%COMP%], .mat-footer-cell[_ngcontent-%COMP%]{font-size:14px}.mat-calendar[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-calendar-body[_ngcontent-%COMP%]{font-size:13px}.mat-calendar-body-label[_ngcontent-%COMP%], .mat-calendar-period-button[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.mat-calendar-table-header[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{font-size:11px;font-weight:400}.mat-dialog-title[_ngcontent-%COMP%]{font:500 20px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-expansion-panel-header[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:15px;font-weight:400}.mat-expansion-panel-content[_ngcontent-%COMP%]{font:400 14px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-form-field[_ngcontent-%COMP%]{font-size:inherit;font-weight:400;line-height:1.125;font-family:Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-form-field-wrapper[_ngcontent-%COMP%]{padding-bottom:1.34375em}.mat-form-field-prefix[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%], .mat-form-field-suffix[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{font-size:150%;line-height:1.125}.mat-form-field-prefix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%], .mat-form-field-suffix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%]{height:1.5em;width:1.5em}.mat-form-field-prefix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%], .mat-form-field-suffix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{height:1.125em;line-height:1.125}.mat-form-field-infix[_ngcontent-%COMP%]{padding:.5em 0;border-top:.84375em solid rgba(0,0,0,0)}.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-1.34375em) scale(.75);transform:translateY(-1.34375em) scale(.75);width:133.3333333333%}.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-1.34374em) scale(.75);transform:translateY(-1.34374em) scale(.75);width:133.3333433333%}.mat-form-field-label-wrapper[_ngcontent-%COMP%]{top:-.84375em;padding-top:.84375em}.mat-form-field-label[_ngcontent-%COMP%]{top:1.34375em}.mat-form-field-underline[_ngcontent-%COMP%]{bottom:1.34375em}.mat-form-field-subscript-wrapper[_ngcontent-%COMP%]{font-size:75%;margin-top:.6666666667em;top:calc(100% - 1.7916666667em)}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-wrapper[_ngcontent-%COMP%]{padding-bottom:1.25em}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]{padding:.4375em 0}.mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.001px);-ms-transform:translateY(-1.28125em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-form-field-autofill-control[_ngcontent-%COMP%]:-webkit-autofill + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00101px);-ms-transform:translateY(-1.28124em) scale(.75);width:133.3333433333%}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00102px);-ms-transform:translateY(-1.28123em) scale(.75);width:133.3333533333%}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{top:1.28125em}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]{bottom:1.25em}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-subscript-wrapper[_ngcontent-%COMP%]{margin-top:.5416666667em;top:calc(100% - 1.6666666667em)}@media print{.mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-1.28122em) scale(.75);transform:translateY(-1.28122em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-form-field-autofill-control[_ngcontent-%COMP%]:-webkit-autofill + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{transform:translateY(-1.28121em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-1.2812em) scale(.75);transform:translateY(-1.2812em) scale(.75)}}.mat-form-field-appearance-fill[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]{padding:.25em 0 .75em}.mat-form-field-appearance-fill[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{top:1.09375em;margin-top:-.5em}.mat-form-field-appearance-fill.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-fill.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-.59375em) scale(.75);transform:translateY(-.59375em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-fill.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-.59374em) scale(.75);transform:translateY(-.59374em) scale(.75);width:133.3333433333%}.mat-form-field-appearance-outline[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]{padding:1em 0}.mat-form-field-appearance-outline[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{top:1.84375em;margin-top:-.25em}.mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-outline.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-1.59375em) scale(.75);transform:translateY(-1.59375em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-outline.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-1.59374em) scale(.75);transform:translateY(-1.59374em) scale(.75);width:133.3333433333%}.mat-grid-tile-footer[_ngcontent-%COMP%], .mat-grid-tile-header[_ngcontent-%COMP%]{font-size:14px}.mat-grid-tile-footer[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%], .mat-grid-tile-header[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-grid-tile-footer[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2), .mat-grid-tile-header[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:12px}input.mat-input-element[_ngcontent-%COMP%]{margin-top:-.0625em}.mat-menu-item[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:400}.mat-paginator[_ngcontent-%COMP%], .mat-paginator-page-size[_ngcontent-%COMP%] .mat-select-trigger[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:12px}.mat-radio-button[_ngcontent-%COMP%], .mat-select[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-select-trigger[_ngcontent-%COMP%]{height:1.125em}.mat-slide-toggle-content[_ngcontent-%COMP%], .mat-slider-thumb-label-text[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-slider-thumb-label-text[_ngcontent-%COMP%]{font-size:12px;font-weight:500}.mat-stepper-horizontal[_ngcontent-%COMP%], .mat-stepper-vertical[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-step-label[_ngcontent-%COMP%]{font-size:14px;font-weight:400}.mat-step-sub-label-error[_ngcontent-%COMP%]{font-weight:400}.mat-step-label-error[_ngcontent-%COMP%]{font-size:14px}.mat-step-label-selected[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.mat-tab-group[_ngcontent-%COMP%], .mat-tab-label[_ngcontent-%COMP%], .mat-tab-link[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-tab-label[_ngcontent-%COMP%], .mat-tab-link[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.mat-toolbar[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font:500 20px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0}.mat-tooltip[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:10px;padding-top:6px;padding-bottom:6px}.mat-tooltip-handset[_ngcontent-%COMP%]{font-size:14px;padding-top:8px;padding-bottom:8px}.mat-list-item[_ngcontent-%COMP%], .mat-list-option[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]{font-size:16px}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:14px}.mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%]{font-size:16px}.mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:14px}.mat-list-base[_ngcontent-%COMP%] .mat-subheader[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:500}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]{font-size:12px}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2), .mat-list-base[dense][_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%]{font-size:12px}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:12px}.mat-list-base[dense][_ngcontent-%COMP%] .mat-subheader[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:12px;font-weight:500}.mat-option[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:16px}.mat-optgroup-label[_ngcontent-%COMP%]{font:500 14px/24px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-simple-snackbar[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px}.mat-simple-snackbar-action[_ngcontent-%COMP%]{line-height:1;font-family:inherit;font-size:inherit;font-weight:500}.mat-tree[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-nested-tree-node[_ngcontent-%COMP%], .mat-tree-node[_ngcontent-%COMP%]{font-weight:400;font-size:14px}.mat-ripple[_ngcontent-%COMP%]{overflow:hidden;position:relative}.mat-ripple[_ngcontent-%COMP%]:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded[_ngcontent-%COMP%]{overflow:visible}.mat-ripple-element[_ngcontent-%COMP%]{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0,0,.2,1);-ms-transform:scale(0);transform:scale(0)}.cdk-high-contrast-active[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{display:none}.cdk-visually-hidden[_ngcontent-%COMP%]{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;outline:0;-webkit-appearance:none;-moz-appearance:none}.cdk-global-overlay-wrapper[_ngcontent-%COMP%], .cdk-overlay-container[_ngcontent-%COMP%]{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container[_ngcontent-%COMP%]{position:fixed;z-index:1000}.cdk-overlay-container[_ngcontent-%COMP%]:empty{display:none}.cdk-global-overlay-wrapper[_ngcontent-%COMP%], .cdk-overlay-pane[_ngcontent-%COMP%]{display:-ms-flexbox;display:flex;position:absolute;z-index:1000}.cdk-overlay-pane[_ngcontent-%COMP%]{pointer-events:auto;box-sizing:border-box;max-width:100%;max-height:100%}.cdk-overlay-backdrop[_ngcontent-%COMP%]{position:absolute;top:0;bottom:0;left:0;right:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:transparent;transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:1}@media screen and (-ms-high-contrast:active){.cdk-overlay-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:.6}}.cdk-overlay-dark-backdrop[_ngcontent-%COMP%]{background:rgba(0,0,0,.32)}.cdk-overlay-transparent-backdrop[_ngcontent-%COMP%], .cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:0}.cdk-overlay-connected-position-bounding-box[_ngcontent-%COMP%]{position:absolute;z-index:1000;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock[_ngcontent-%COMP%]{position:fixed;width:100%;overflow-y:scroll}@-webkit-keyframes cdk-text-field-autofill-start{\n }@keyframes cdk-text-field-autofill-start{\n }@-webkit-keyframes cdk-text-field-autofill-end{\n }@keyframes cdk-text-field-autofill-end{\n }.cdk-text-field-autofill-monitored[_ngcontent-%COMP%]:-webkit-autofill{-webkit-animation:cdk-text-field-autofill-start 0s 1ms;animation:cdk-text-field-autofill-start 0s 1ms}.cdk-text-field-autofill-monitored[_ngcontent-%COMP%]:not(:-webkit-autofill){-webkit-animation:cdk-text-field-autofill-end 0s 1ms;animation:cdk-text-field-autofill-end 0s 1ms}textarea.cdk-textarea-autosize[_ngcontent-%COMP%]{resize:none}textarea.cdk-textarea-autosize-measuring[_ngcontent-%COMP%]{padding:2px 0!important;box-sizing:content-box!important;height:auto!important;overflow:hidden!important}textarea.cdk-textarea-autosize-measuring-firefox[_ngcontent-%COMP%]{padding:2px 0!important;box-sizing:content-box!important;height:0!important}.mat-focus-indicator[_ngcontent-%COMP%], .mat-mdc-focus-indicator[_ngcontent-%COMP%]{position:relative}h3[_ngcontent-%COMP%]{margin:0 0 8px;padding-bottom:16px;border-bottom:1px solid #999}h3[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#ff9800;font-weight:400;font-size:1rem;padding-left:12px}.box-margin[_ngcontent-%COMP%]{margin:0 32px}.box-margin[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{margin:0 0 8px -16px;padding-bottom:16px;padding-top:8px;border-bottom:1px solid #999}.box-margin[_ngcontent-%COMP%] .inline-form[_ngcontent-%COMP%]{display:-ms-flexbox;display:flex;-ms-flex-flow:row wrap;flex-flow:row wrap}.box-margin[_ngcontent-%COMP%] .inline-form[_ngcontent-%COMP%] .spacer[_ngcontent-%COMP%]{width:50px}.box-margin[_ngcontent-%COMP%] .inline-form[_ngcontent-%COMP%] mat-form-field[_ngcontent-%COMP%]{-ms-flex:1;flex:1}.box-margin[_ngcontent-%COMP%] .full-width[_ngcontent-%COMP%]{width:100%}.box-margin[_ngcontent-%COMP%] .checkbox[_ngcontent-%COMP%]{padding:8px 0}"]}),t})();var Me=n("Tj54");function Oe(t,e){if(1&t&&o.Ob(0,"mat-icon",6),2&t){const t=o.fc();o.nc("color",t.areAllWorkersValid?"accent":"warn")("innerHtml",t.areAllWorkersValid?"check_circle":"error_outline",o.zc)}}function ke(t,e){1&t&&(o.Tb(0,"span"),o.Tb(1,"mat-error"),o.Hc(2,"Vous n'avez pas encore saisi d'informations sur les salari\xe9s d\xe9tach\xe9s"),o.Sb(),o.Sb())}function Se(t,e){if(1&t&&(o.Tb(0,"span"),o.Hc(1),o.Sb(),o.Ob(2,"mat-icon",7)),2&t){const t=o.fc();o.Cb(1),o.Ic(t.summary),o.Cb(1),o.nc("innerHtml",t.isDropdownOpened?"arrow_drop_up":"arrow_drop_down",o.zc)}}function Te(t,e){if(1&t&&o.Ob(0,"mat-icon",6),2&t){const t=o.fc().$implicit;o.nc("color",t.valid?"accent":"warn")("innerHtml",t.valid?"check_circle":"error_outline",o.zc)}}function Pe(t,e){if(1&t){const t=o.Ub();o.Rb(0),o.Tb(1,"button",17),o.bc("click",function(){o.yc(t);const e=o.fc().index;return o.fc(2).edit(e)}),o.Tb(2,"mat-icon",18),o.Hc(3,"edit"),o.Sb(),o.Sb(),o.Tb(4,"button",19),o.bc("click",function(){o.yc(t);const e=o.fc().index;return o.fc(2).remove(e)}),o.Tb(5,"mat-icon",20),o.Hc(6,"delete"),o.Sb(),o.Sb(),o.Qb()}if(2&t){const t=o.fc(),e=t.index,n=t.$implicit,i=o.fc(2);o.Cb(1),o.Db("data-cy","button-edit-worker-"+e),o.Cb(3),o.nc("title",i.getRemoveTooltipMessage(n))("disabled",i.isWorkerRepresentant(n)||i.isWorkerNotRemovable(n))}}const Le=function(t){return{"row-click":t}};function De(t,e){if(1&t){const t=o.Ub();o.Tb(0,"div",14),o.bc("click",function(){o.yc(t);const n=e.$implicit;return o.fc(2).selectRepresentativeWorker(n)}),o.Fc(1,Te,1,2,"mat-icon",2),o.Tb(2,"span",15),o.Hc(3),o.Sb(),o.Fc(4,Pe,7,3,"ng-container",16),o.Sb()}if(2&t){const t=e.$implicit,n=o.fc(2);o.nc("ngClass",o.sc(4,Le,!n.editionMode)),o.Cb(1),o.nc("ngIf",n.editionMode),o.Cb(2),o.Ic(n.getWorkerFullName(t)),o.Cb(1),o.nc("ngIf",n.editionMode)}}function Ee(t,e){if(1&t&&(o.Tb(0,"div",8),o.Tb(1,"div",9),o.Tb(2,"mat-form-field"),o.Tb(3,"mat-label"),o.Hc(4,"Recherche"),o.Sb(),o.Tb(5,"span",10),o.Tb(6,"mat-icon"),o.Hc(7,"search"),o.Sb(),o.Sb(),o.Ob(8,"input",11),o.Sb(),o.Sb(),o.Tb(9,"div",12),o.Fc(10,De,5,6,"div",13),o.Sb(),o.Sb()),2&t){const t=o.fc();o.Cb(8),o.nc("formControl",t.inputSearch),o.Cb(2),o.nc("ngForOf",t.filteredFgWorkers)}}const Ae=function(t){return{"padding-left":t}};let Ie=(()=>{class t extends yt.a{constructor(t,e,n){super(t),this.translateService=t,this.configSharedService=e,this.dialog=n,this.editWorkerEvent=new o.o,this.removeWorkerEvent=new o.o,this.setRepresentativeWorkerEvent=new o.o,this.isDropdownOpened=!1,this.inputSearch=new p.e("")}get areAllWorkersValid(){return this.workersArray.valid}get summary(){const t=this.workersArray.controls.length;return 1===t?"1 Salari\xe9":`${t} Salari\xe9s`}load(){this.filteredFgWorkers=this.workersArray.controls,this.subscriptions.push(this.inputSearch.valueChanges.subscribe(t=>{this.filteredFgWorkers=t&&""!==t?this.workersArray.controls.filter(e=>this._checkIfFilterWorker(e.get("identite"),t)):this.workersArray.controls}))}toggleDropdown(){this.isDropdownOpened=!this.isDropdownOpened}getWorkerFullName(t){const e=t.get("identite").getRawValue();return`${e.nom||"Pas de nom"} ${e.prenom||"Pas de pr\xe9nom"}`}selectRepresentativeWorker(t){this.editionMode||(this.setRepresentativeWorkerEvent.emit(t),this.isDropdownOpened=!1)}edit(t){this.editWorkerEvent.emit(t),this.isDropdownOpened=!1}remove(t){this.dialog.open(wt.a,{data:{title:this.translateService.instant("dpd.salarie.supprimer"),question:this.translateService.instant("dpd.salarie.supprimer.question"),okButtonText:this.translateService.instant("common.oui"),cancelButtonText:this.translateService.instant("common.non")}}).afterClosed().subscribe(e=>{!0===e&&(this.removeWorkerEvent.emit(t),this.isDropdownOpened=!1)})}isWorkerRepresentant(t){return!!this.idSalarieRepresentant&&t.get("id").value===this.idSalarieRepresentant}isWorkerNotRemovable(t){return this.configSharedService.mode===nt.a.COMPLETION&&t.get("isSavedInDpd").value}getRemoveTooltipMessage(t){return this.isWorkerRepresentant(t)?"Il n'est pas possible de supprimer le salari\xe9 d\xe9fini en tant que repr\xe9sentant en France.":"Supprimer"}_checkIfFilterWorker(t,e){const n=t.getRawValue();return n.nom&&n.nom.includes(e)||n.prenom&&n.prenom.includes(e)}}return t.\u0275fac=function(e){return new(e||t)(o.Nb(xt.d),o.Nb(mt.a),o.Nb(Mt.b))},t.\u0275cmp=o.Hb({type:t,selectors:[["app-dpd-edit-workers-dropdown-2"]],inputs:{editionMode:"editionMode",idSalarieRepresentant:"idSalarieRepresentant",workersArray:"workersArray"},outputs:{editWorkerEvent:"editWorkerEvent",removeWorkerEvent:"removeWorkerEvent",setRepresentativeWorkerEvent:"setRepresentativeWorkerEvent"},features:[o.zb],decls:7,vars:7,consts:[["id","workers-dropdown"],[1,"trigger",3,"ngStyle","click"],[3,"color","innerHtml",4,"ngIf"],[4,"ngIf","ngIfElse"],["item",""],["class","dropdown mat-elevation-z4",4,"ngIf"],[3,"color","innerHtml"],["data-cy","salaries-drop-down",3,"innerHtml"],[1,"dropdown","mat-elevation-z4"],[1,"search"],["matPrefix",""],["matInput","","type","text","name","search",3,"formControl"],[1,"list"],["class","row",3,"ngClass","click",4,"ngFor","ngForOf"],[1,"row",3,"ngClass","click"],[1,"worker-name"],[4,"ngIf"],["mat-icon-button","","aria-label","edit","title","Modifier",1,"edit-worker",3,"click"],["color","primary",1,"action"],["mat-icon-button","","aria-label","delete",1,"delete-worker",3,"title","disabled","click"],["color","warn",1,"action"]],template:function(t,e){if(1&t&&(o.Tb(0,"div",0),o.Tb(1,"span",1),o.bc("click",function(){return e.toggleDropdown()}),o.Fc(2,Oe,1,2,"mat-icon",2),o.Fc(3,ke,3,0,"span",3),o.Fc(4,Se,3,2,"ng-template",null,4,o.Gc),o.Sb(),o.Fc(6,Ee,11,2,"div",5),o.Sb()),2&t){const t=o.vc(5);o.Cb(1),o.nc("ngStyle",o.sc(5,Ae,e.editionMode?0:"12px")),o.Cb(1),o.nc("ngIf",e.editionMode),o.Cb(1),o.nc("ngIf",0===e.workersArray.length&&!e.editionMode)("ngIfElse",t),o.Cb(3),o.nc("ngIf",e.isDropdownOpened)}},directives:[i.m,i.l,Me.a,St.b,St.c,St.f,St.g,Tt.b,p.c,p.o,p.f,i.k,i.j,kt.a],styles:[".mat-badge-content[_ngcontent-%COMP%]{font-weight:600;font-size:12px;font-family:Roboto,Helvetica Neue,sans-serif}.mat-badge-small[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{font-size:9px}.mat-badge-large[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{font-size:24px}.mat-h1[_ngcontent-%COMP%], .mat-headline[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font:400 24px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h2[_ngcontent-%COMP%], .mat-title[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font:500 20px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h3[_ngcontent-%COMP%], .mat-subheading-2[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font:400 16px/28px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h4[_ngcontent-%COMP%], .mat-subheading-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{font:400 15px/24px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h5[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{font:400 calc(14px * .83)/20px Roboto,Helvetica Neue,sans-serif;margin:0 0 12px}.mat-h6[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font:400 calc(14px * .67)/20px Roboto,Helvetica Neue,sans-serif;margin:0 0 12px}.mat-body-2[_ngcontent-%COMP%], .mat-body-strong[_ngcontent-%COMP%]{font:500 14px/24px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-body[_ngcontent-%COMP%], .mat-body-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%]{font:400 14px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-body-1[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .mat-body[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0 0 12px}.mat-caption[_ngcontent-%COMP%], .mat-small[_ngcontent-%COMP%]{font:400 12px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-display-4[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-4[_ngcontent-%COMP%]{font:300 112px/112px Roboto,Helvetica Neue,sans-serif;letter-spacing:-.05em;margin:0 0 56px}.mat-display-3[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-3[_ngcontent-%COMP%]{font:400 56px/56px Roboto,Helvetica Neue,sans-serif;letter-spacing:-.02em;margin:0 0 64px}.mat-display-2[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-2[_ngcontent-%COMP%]{font:400 45px/48px Roboto,Helvetica Neue,sans-serif;letter-spacing:-.005em;margin:0 0 64px}.mat-display-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-1[_ngcontent-%COMP%]{font:400 34px/40px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 64px}.mat-bottom-sheet-container[_ngcontent-%COMP%]{font:400 14px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-button[_ngcontent-%COMP%], .mat-fab[_ngcontent-%COMP%], .mat-flat-button[_ngcontent-%COMP%], .mat-icon-button[_ngcontent-%COMP%], .mat-mini-fab[_ngcontent-%COMP%], .mat-raised-button[_ngcontent-%COMP%], .mat-stroked-button[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:500}.mat-button-toggle[_ngcontent-%COMP%], .mat-card[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-card-title[_ngcontent-%COMP%]{font-size:24px;font-weight:500}.mat-card-header[_ngcontent-%COMP%] .mat-card-title[_ngcontent-%COMP%]{font-size:20px}.mat-card-content[_ngcontent-%COMP%], .mat-card-subtitle[_ngcontent-%COMP%]{font-size:14px}.mat-checkbox[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-checkbox-layout[_ngcontent-%COMP%] .mat-checkbox-label[_ngcontent-%COMP%]{line-height:24px}.mat-chip[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.mat-chip[_ngcontent-%COMP%] .mat-chip-remove.mat-icon[_ngcontent-%COMP%], .mat-chip[_ngcontent-%COMP%] .mat-chip-trailing-icon.mat-icon[_ngcontent-%COMP%]{font-size:18px}.mat-table[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-header-cell[_ngcontent-%COMP%]{font-size:12px;font-weight:500}.mat-cell[_ngcontent-%COMP%], .mat-footer-cell[_ngcontent-%COMP%]{font-size:14px}.mat-calendar[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-calendar-body[_ngcontent-%COMP%]{font-size:13px}.mat-calendar-body-label[_ngcontent-%COMP%], .mat-calendar-period-button[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.mat-calendar-table-header[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{font-size:11px;font-weight:400}.mat-dialog-title[_ngcontent-%COMP%]{font:500 20px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-expansion-panel-header[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:15px;font-weight:400}.mat-expansion-panel-content[_ngcontent-%COMP%]{font:400 14px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-form-field[_ngcontent-%COMP%]{font-size:inherit;font-weight:400;line-height:1.125;font-family:Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-form-field-wrapper[_ngcontent-%COMP%]{padding-bottom:1.34375em}.mat-form-field-prefix[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%], .mat-form-field-suffix[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{font-size:150%;line-height:1.125}.mat-form-field-prefix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%], .mat-form-field-suffix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%]{height:1.5em;width:1.5em}.mat-form-field-prefix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%], .mat-form-field-suffix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{height:1.125em;line-height:1.125}.mat-form-field-infix[_ngcontent-%COMP%]{padding:.5em 0;border-top:.84375em solid rgba(0,0,0,0)}.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-1.34375em) scale(.75);transform:translateY(-1.34375em) scale(.75);width:133.3333333333%}.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-1.34374em) scale(.75);transform:translateY(-1.34374em) scale(.75);width:133.3333433333%}.mat-form-field-label-wrapper[_ngcontent-%COMP%]{top:-.84375em;padding-top:.84375em}.mat-form-field-label[_ngcontent-%COMP%]{top:1.34375em}.mat-form-field-underline[_ngcontent-%COMP%]{bottom:1.34375em}.mat-form-field-subscript-wrapper[_ngcontent-%COMP%]{font-size:75%;margin-top:.6666666667em;top:calc(100% - 1.7916666667em)}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-wrapper[_ngcontent-%COMP%]{padding-bottom:1.25em}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]{padding:.4375em 0}.mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.001px);-ms-transform:translateY(-1.28125em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-form-field-autofill-control[_ngcontent-%COMP%]:-webkit-autofill + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00101px);-ms-transform:translateY(-1.28124em) scale(.75);width:133.3333433333%}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00102px);-ms-transform:translateY(-1.28123em) scale(.75);width:133.3333533333%}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{top:1.28125em}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]{bottom:1.25em}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-subscript-wrapper[_ngcontent-%COMP%]{margin-top:.5416666667em;top:calc(100% - 1.6666666667em)}@media print{.mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-1.28122em) scale(.75);transform:translateY(-1.28122em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-form-field-autofill-control[_ngcontent-%COMP%]:-webkit-autofill + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{transform:translateY(-1.28121em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-1.2812em) scale(.75);transform:translateY(-1.2812em) scale(.75)}}.mat-form-field-appearance-fill[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]{padding:.25em 0 .75em}.mat-form-field-appearance-fill[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{top:1.09375em;margin-top:-.5em}.mat-form-field-appearance-fill.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-fill.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-.59375em) scale(.75);transform:translateY(-.59375em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-fill.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-.59374em) scale(.75);transform:translateY(-.59374em) scale(.75);width:133.3333433333%}.mat-form-field-appearance-outline[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]{padding:1em 0}.mat-form-field-appearance-outline[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{top:1.84375em;margin-top:-.25em}.mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-outline.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-1.59375em) scale(.75);transform:translateY(-1.59375em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-outline.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-1.59374em) scale(.75);transform:translateY(-1.59374em) scale(.75);width:133.3333433333%}.mat-grid-tile-footer[_ngcontent-%COMP%], .mat-grid-tile-header[_ngcontent-%COMP%]{font-size:14px}.mat-grid-tile-footer[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%], .mat-grid-tile-header[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-grid-tile-footer[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2), .mat-grid-tile-header[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:12px}input.mat-input-element[_ngcontent-%COMP%]{margin-top:-.0625em}.mat-menu-item[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:400}.mat-paginator[_ngcontent-%COMP%], .mat-paginator-page-size[_ngcontent-%COMP%] .mat-select-trigger[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:12px}.mat-radio-button[_ngcontent-%COMP%], .mat-select[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-select-trigger[_ngcontent-%COMP%]{height:1.125em}.mat-slide-toggle-content[_ngcontent-%COMP%], .mat-slider-thumb-label-text[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-slider-thumb-label-text[_ngcontent-%COMP%]{font-size:12px;font-weight:500}.mat-stepper-horizontal[_ngcontent-%COMP%], .mat-stepper-vertical[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-step-label[_ngcontent-%COMP%]{font-size:14px;font-weight:400}.mat-step-sub-label-error[_ngcontent-%COMP%]{font-weight:400}.mat-step-label-error[_ngcontent-%COMP%]{font-size:14px}.mat-step-label-selected[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.mat-tab-group[_ngcontent-%COMP%], .mat-tab-label[_ngcontent-%COMP%], .mat-tab-link[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-tab-label[_ngcontent-%COMP%], .mat-tab-link[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.mat-toolbar[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font:500 20px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0}.mat-tooltip[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:10px;padding-top:6px;padding-bottom:6px}.mat-tooltip-handset[_ngcontent-%COMP%]{font-size:14px;padding-top:8px;padding-bottom:8px}.mat-list-item[_ngcontent-%COMP%], .mat-list-option[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]{font-size:16px}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:14px}.mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%]{font-size:16px}.mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:14px}.mat-list-base[_ngcontent-%COMP%] .mat-subheader[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:500}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]{font-size:12px}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2), .mat-list-base[dense][_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%]{font-size:12px}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:12px}.mat-list-base[dense][_ngcontent-%COMP%] .mat-subheader[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:12px;font-weight:500}.mat-option[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:16px}.mat-optgroup-label[_ngcontent-%COMP%]{font:500 14px/24px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-simple-snackbar[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px}.mat-simple-snackbar-action[_ngcontent-%COMP%]{line-height:1;font-family:inherit;font-size:inherit;font-weight:500}.mat-tree[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-nested-tree-node[_ngcontent-%COMP%], .mat-tree-node[_ngcontent-%COMP%]{font-weight:400;font-size:14px}.mat-ripple[_ngcontent-%COMP%]{overflow:hidden;position:relative}.mat-ripple[_ngcontent-%COMP%]:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded[_ngcontent-%COMP%]{overflow:visible}.mat-ripple-element[_ngcontent-%COMP%]{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0,0,.2,1);-ms-transform:scale(0);transform:scale(0)}.cdk-high-contrast-active[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{display:none}.cdk-visually-hidden[_ngcontent-%COMP%]{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;outline:0;-webkit-appearance:none;-moz-appearance:none}.cdk-global-overlay-wrapper[_ngcontent-%COMP%], .cdk-overlay-container[_ngcontent-%COMP%]{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container[_ngcontent-%COMP%]{position:fixed;z-index:1000}.cdk-overlay-container[_ngcontent-%COMP%]:empty{display:none}.cdk-global-overlay-wrapper[_ngcontent-%COMP%], .cdk-overlay-pane[_ngcontent-%COMP%]{display:-ms-flexbox;display:flex;position:absolute;z-index:1000}.cdk-overlay-pane[_ngcontent-%COMP%]{pointer-events:auto;box-sizing:border-box;max-width:100%;max-height:100%}.cdk-overlay-backdrop[_ngcontent-%COMP%]{position:absolute;top:0;bottom:0;left:0;right:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:transparent;transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:1}@media screen and (-ms-high-contrast:active){.cdk-overlay-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:.6}}.cdk-overlay-dark-backdrop[_ngcontent-%COMP%]{background:rgba(0,0,0,.32)}.cdk-overlay-transparent-backdrop[_ngcontent-%COMP%], .cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:0}.cdk-overlay-connected-position-bounding-box[_ngcontent-%COMP%]{position:absolute;z-index:1000;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock[_ngcontent-%COMP%]{position:fixed;width:100%;overflow-y:scroll}@-webkit-keyframes cdk-text-field-autofill-start{\n }@keyframes cdk-text-field-autofill-start{\n }@-webkit-keyframes cdk-text-field-autofill-end{\n }@keyframes cdk-text-field-autofill-end{\n }.cdk-text-field-autofill-monitored[_ngcontent-%COMP%]:-webkit-autofill{-webkit-animation:cdk-text-field-autofill-start 0s 1ms;animation:cdk-text-field-autofill-start 0s 1ms}.cdk-text-field-autofill-monitored[_ngcontent-%COMP%]:not(:-webkit-autofill){-webkit-animation:cdk-text-field-autofill-end 0s 1ms;animation:cdk-text-field-autofill-end 0s 1ms}textarea.cdk-textarea-autosize[_ngcontent-%COMP%]{resize:none}textarea.cdk-textarea-autosize-measuring[_ngcontent-%COMP%]{padding:2px 0!important;box-sizing:content-box!important;height:auto!important;overflow:hidden!important}textarea.cdk-textarea-autosize-measuring-firefox[_ngcontent-%COMP%]{padding:2px 0!important;box-sizing:content-box!important;height:0!important}#workers-dropdown[_ngcontent-%COMP%], .mat-focus-indicator[_ngcontent-%COMP%], .mat-mdc-focus-indicator[_ngcontent-%COMP%]{position:relative}#workers-dropdown[_ngcontent-%COMP%] .trigger[_ngcontent-%COMP%]{display:-ms-flexbox;display:flex;line-height:48px;font-size:1.2rem}#workers-dropdown[_ngcontent-%COMP%] .trigger[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{-ms-flex:1;flex:1}#workers-dropdown[_ngcontent-%COMP%] .trigger[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{width:32px;height:32px;padding:8px;font-size:32px;opacity:.7}#workers-dropdown[_ngcontent-%COMP%] .overlay[_ngcontent-%COMP%]{position:fixed;top:0;left:0;bottom:0;right:0}#workers-dropdown[_ngcontent-%COMP%] .dropdown[_ngcontent-%COMP%]{display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:column;flex-direction:column;border-top:1px solid #d3d3d3;width:100%;max-height:55vh;background:#fff;z-index:1}#workers-dropdown[_ngcontent-%COMP%] .dropdown[_ngcontent-%COMP%] .search[_ngcontent-%COMP%]{margin-left:32px}#workers-dropdown[_ngcontent-%COMP%] .dropdown[_ngcontent-%COMP%] .search[_ngcontent-%COMP%] mat-form-field[_ngcontent-%COMP%]{width:80%}#workers-dropdown[_ngcontent-%COMP%] .dropdown[_ngcontent-%COMP%] .list[_ngcontent-%COMP%] .row[_ngcontent-%COMP%]{overflow-y:auto;display:-ms-flexbox;display:flex;line-height:48px;font-size:1.2rem}#workers-dropdown[_ngcontent-%COMP%] .dropdown[_ngcontent-%COMP%] .list[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{-ms-flex:1;flex:1}#workers-dropdown[_ngcontent-%COMP%] .dropdown[_ngcontent-%COMP%] .list[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] > mat-icon[_ngcontent-%COMP%]{width:32px;height:32px;padding:8px;font-size:32px;opacity:.7}#workers-dropdown[_ngcontent-%COMP%] .dropdown[_ngcontent-%COMP%] .list[_ngcontent-%COMP%] .row-click[_ngcontent-%COMP%]{padding-left:40px;cursor:pointer}#workers-dropdown[_ngcontent-%COMP%] .dropdown[_ngcontent-%COMP%] .list[_ngcontent-%COMP%] .row-click[_ngcontent-%COMP%]:hover{background:#eee}#workers-dropdown[_ngcontent-%COMP%] .dropdown[_ngcontent-%COMP%] .list[_ngcontent-%COMP%] .row-click[_ngcontent-%COMP%]:active{background:#e0e0e0}#workers-dropdown[_ngcontent-%COMP%] .dropdown[_ngcontent-%COMP%] .list[_ngcontent-%COMP%] button[disabled][_ngcontent-%COMP%] .mat-icon.mat-warn[_ngcontent-%COMP%]{cursor:default;opacity:.5;color:#ccc}"]}),t})();var Re=n("Y7XA"),Ne=n("f3LI");function Ye(t,e){1&t&&(o.Tb(0,"span"),o.Hc(1),o.gc(2,"translate"),o.Sb()),2&t&&(o.Cb(1),o.Ic(o.hc(2,1,"dpd.lecture.seule")))}function He(t,e){if(1&t){const t=o.Ub();o.Tb(0,"div",29),o.Tb(1,"mat-label"),o.Tb(2,"b"),o.Hc(3),o.gc(4,"translate"),o.Sb(),o.Sb(),o.Ob(5,"app-infobulle",30),o.Ob(6,"br"),o.Tb(7,"mat-radio-group",31),o.bc("change",function(){return o.yc(t),o.fc().onTypeChange()}),o.Ob(8,"mat-radio-button",32),o.Ob(9,"mat-radio-button",33),o.Ob(10,"mat-radio-button",34),o.Ob(11,"mat-radio-button",35),o.Sb(),o.Tb(12,"div",3),o.Tb(13,"mat-icon"),o.Hc(14,"info"),o.Sb(),o.Tb(15,"span"),o.Hc(16),o.gc(17,"translate"),o.Sb(),o.Ob(18,"app-infobulle",36),o.Sb(),o.Sb()}if(2&t){const t=o.fc();o.Cb(3),o.Ic(o.hc(4,6,"dpd.representant.type")),o.Cb(5),o.nc("value",t.representativeTypeEnum.DIRIGEANT),o.Cb(1),o.nc("value",t.representativeTypeEnum.SALARIE),o.Cb(1),o.nc("value",t.representativeTypeEnum.CLIENT),o.Cb(1),o.nc("value",t.representativeTypeEnum.MANDATAIRE),o.Cb(5),o.Ic(o.hc(17,8,"dpd.representant.info.details"))}}function je(t,e){1&t&&(o.Tb(0,"mat-error",37),o.Hc(1),o.gc(2,"translate"),o.Sb()),2&t&&(o.Cb(1),o.Jc(" ",o.hc(2,1,"dpd.representant.error.fr")," "))}function Fe(t,e){1&t&&(o.Tb(0,"mat-error",37),o.Hc(1),o.gc(2,"translate"),o.Sb()),2&t&&(o.Cb(1),o.Jc(" ",o.hc(2,1,"tva.error.invalide")," "))}function ze(t,e){1&t&&(o.Tb(0,"mat-error",37),o.Hc(1),o.gc(2,"translate"),o.Sb()),2&t&&(o.Cb(1),o.Jc(" ",o.hc(2,1,"dpd.representant.error.client")," "))}function Ve(t,e){1&t&&(o.Tb(0,"mat-error",37),o.Hc(1),o.gc(2,"translate"),o.Sb()),2&t&&(o.Cb(1),o.Jc(" ",o.hc(2,1,"dpd.representant.error.dirigeant")," "))}function Be(t,e){if(1&t){const t=o.Ub();o.Tb(0,"div",38),o.Tb(1,"app-dpd-edit-workers-dropdown-2",39),o.bc("setRepresentativeWorkerEvent",function(e){return o.yc(t),o.fc().setRepresentativeWorker(e)}),o.Sb(),o.Sb()}if(2&t){const t=o.fc();o.Cb(1),o.nc("workersArray",t.workersArrayCtrl)("editionMode",!1)("idSalarieRepresentant",t.idSalarieRepresentant)}}function We(t,e){if(1&t&&o.Ob(0,"app-person-form-2",40),2&t){const t=o.fc();o.nc("formGp",t.representativePersonFg)("isAutocompleteDisabled",!0)}}function Ue(t,e){if(1&t&&o.Ob(0,"app-siret-check-2",41),2&t){const t=o.fc();o.nc("formGp",t.form)("isAutocompleteDisabled",!1)("isRequired",!0)}}function qe(t,e){1&t&&(o.Tb(0,"mat-form-field",42),o.Ob(1,"input",43),o.Sb())}function Ge(t,e){1&t&&(o.Tb(0,"mat-form-field",42),o.Ob(1,"input",44),o.Sb())}function Je(t,e){if(1&t&&o.Ob(0,"app-address-form-2",45),2&t){const t=o.fc();o.nc("formGp",t.addressFg)("showCountry",!1)("isRequired",!0)}}function Ze(t,e){1&t&&(o.Tb(0,"mat-error"),o.Hc(1),o.gc(2,"translate"),o.Sb()),2&t&&(o.Cb(1),o.Jc(" ",o.hc(2,1,"common.error.requis")," "))}function $e(t,e){1&t&&(o.Tb(0,"mat-error"),o.Hc(1),o.gc(2,"translate"),o.Sb()),2&t&&(o.Cb(1),o.Jc(" ",o.hc(2,1,"common.error.requis")," "))}function Xe(t,e){1&t&&(o.Tb(0,"mat-error"),o.Hc(1),o.gc(2,"translate"),o.Sb()),2&t&&(o.Cb(1),o.Jc(" ",o.hc(2,1,"common.error.email")," "))}function Ke(t,e){if(1&t&&o.Ob(0,"mat-radio-button",46),2&t){const t=o.fc();o.nc("value",t.conservationTypeEnum.LIEU_PRESTATION)}}function Qe(t,e){if(1&t&&o.Ob(0,"mat-radio-button",47),2&t){const t=o.fc();o.nc("value",t.conservationTypeEnum.REPRESENTANT)}}const tn=function(t){return{"app-field-readonly":t}},en=function(t){return{"full-width":!0,"app-field-readonly":t}};var nn=function(t){return t.LIEU_PRESTATION="LIEU_PRESTATION",t.REPRESENTANT="REPRESENTANT",t.SERVEUR="SERVEUR",t}({});let an=(()=>{class t extends At.a{constructor(t,e){super(t),this.translateService=t,this.configSharedService=e,this.representativeTypeEnum=E.a,this.conservationTypeEnum=nn}load(){this.form=this.configSharedService.form.get(rt.a.REPRESENTATIVE),this.numeroModele=this.configSharedService.numeroModele,this.isUserMandataire=this.configSharedService.user.role===A.a.MANDATAIRE,this.isCompletion=this.configSharedService.mode===nt.a.COMPLETION,this.countries=this.configSharedService.countries,this.copyValues(),this.form.setValidators(()=>k.a.representativeValidator(this.representativeTypeCtrl.value,this.dirigeantFg,this.clientFg,this.workersArrayCtrl,this.idSalarieRepresentant))}getTitle(){return 4===this.numeroModele?"dpd.menu.representant":"dpd.menu.representant.modele4"}getDetailsMessage(){return 4===this.numeroModele?"dpd.representant.details.modele4":"dpd.representant.details"}getDocumentMessage(){return 4===this.numeroModele?"dpd.representant.document.modele4":"dpd.representant.document"}isType(t){return this.representativeTypeCtrl.value===t}get idSalarieRepresentant(){return this.form.get("idSalarie").value}get clientFg(){return this.configSharedService.form.get(rt.a.CLIENT).get("client")}get foreignCompanyFg(){return this.configSharedService.form.get(rt.a.FOREIGN_COMPANY)}get dirigeantFg(){return this.foreignCompanyFg.get("dirigeant")}get representativeTypeCtrl(){return this.form.get("type")}get representativePersonFg(){return this.form.get("personne")}get siretCtrl(){return this.form.get("siret")}get representativeIdSalarieCtrl(){return this.form.get("idSalarie")}get addressFg(){return this.form.get("adresse")}get socialReasonCtrl(){return this.form.get("raisonSociale")}get numTVACtrl(){return this.form.get("numTVA")}get workersArrayCtrl(){return this.configSharedService.form.get(rt.a.WORKERS).get("workers")}get workerFg(){const t=this.workersArrayCtrl?this.workersArrayCtrl.controls.find(t=>t.get("id").value===this.getRepresentativeIdSalarie()):null;return t?t.get("identite"):null}isClientAndValid(){return this.isType(E.a.CLIENT)&&this.isClientAddressValid()&&this.isClientSocialReasonDefined()}get isSocialReasonDisplayed(){return this.isType(E.a.MANDATAIRE)||this.isClientAndValid()&&this.isClientFR()}get isTVADisplayed(){return this.isClientAndValid()&&this.isClientNumTVADefined()}get isAddressDisplayed(){return this.isType(E.a.MANDATAIRE)||this.isClientAndValid()}get isPersonDisplayed(){return this.isType(E.a.DIRIGEANT)&&this.isDirigeantAndValid()||this.isType(E.a.SALARIE)&&!!this.form.get("personne").value.nom}doesFormHaveError(t){return this.form.hasError(t)}onTypeChange(){this.isCompletion||this.resetForm(),this.disableForm(),this.copyValues()}resetForm(){this.siretCtrl.reset(),this.numTVACtrl.reset(),this.addressFg.reset(),this.socialReasonCtrl.reset(),this.representativePersonFg.reset()}disableForm(){this.siretCtrl.disable(),this.numTVACtrl.disable(),this.addressFg.disable(),this.socialReasonCtrl.disable(),this.representativePersonFg.disable()}copyValues(){if(this.isUserMandataire){const t=this.configSharedService.user.entreprise;let e={};e={siret:t.siret,raisonSociale:t.raisonSociale,telephone:t.telephone,email:t.email,adresse:t.adresse},this.form.patchValue(e),this.form.setErrors(t.siret&&t.raisonSociale&&t.telephone&&t.email&&t.adresse&&t.adresse.cp&&t.adresse.ville?null:{invalid:!0})}else this.isType(E.a.MANDATAIRE)&&!this.isCompletion&&(this.siretCtrl.enable(),this.socialReasonCtrl.enable(),this.addressFg.enable(),this.addressFg.get("pays").setValue(this.countries.find(t=>"FR"===t.code))),this.isType(E.a.CLIENT)&&this.isClientFR()&&(this.isClientNumTVADefined()&&this.numTVACtrl.setValue(this.clientFg.get("numTVA").value),this.isClientAndValid()&&(this.socialReasonCtrl.setValue(this.clientFg.get("raisonSociale").value),this.addressFg.patchValue(this.clientFg.get("adresse").getRawValue()))),this.isType(E.a.DIRIGEANT)&&this.isDirigeantAndValid&&this.representativePersonFg.patchValue(this.dirigeantFg.value),this.isType(E.a.SALARIE)&&this.idSalarieRepresentant&&this.representativePersonFg.patchValue(this.workerFg.value)}isClientFR(){return this.clientFg?this.clientFg.get("adresse").get("pays").value&&"FR"===this.clientFg.get("adresse").get("pays").value.code:"FR"===this.configSharedService.dpd.client.adresse.pays}isClientAddressValid(){return this.clientFg?this.clientFg.get("adresse").valid||this.clientFg.get("adresse").disabled:this.configSharedService.dpd.client.adresse.isValid()}isClientSocialReasonDefined(){return this.clientFg?!!this.clientFg.get("raisonSociale").value||this.clientFg.get("raisonSociale").disabled:!!this.configSharedService.dpd.client.raisonSociale}isClientNumTVADefined(){return this.clientFg?!!this.clientFg.get("numTVA").value:!!this.configSharedService.dpd.client.numTVA}getRepresentativeIdSalarie(){return this.representativeIdSalarieCtrl.value?this.representativeIdSalarieCtrl.value:null}isForeignCompanyManagerValid(){return this.foreignCompanyFg?this.foreignCompanyFg.get("dirigeant").valid||this.foreignCompanyFg.get("dirigeant").disabled:this.configSharedService.dpd.entrepriseEtrangere.dirigeant.isValid()}isDirigeantAndValid(){return this.dirigeantFg&&(this.dirigeantFg.valid||this.dirigeantFg.disabled)}setRepresentativeWorker(t){this.form.patchValue({idSalarie:t.get("id").value,personne:t.get("identite").value})}}return t.\u0275fac=function(e){return new(e||t)(o.Nb(xt.d),o.Nb(mt.a))},t.\u0275cmp=o.Hb({type:t,selectors:[["app-dpd-edit-representative-2"]],features:[o.zb],decls:44,vars:34,consts:[[3,"formGroup"],[3,"appLabel"],[1,"box-margin"],[1,"description"],[3,"innerHTML"],[3,"message"],["id","bloc-representant"],[4,"ngIf"],["message","dpd.representant.identite._info"],["class","radio representative-type",4,"ngIf"],["class","client-error mat-elevation-z4",4,"ngIf"],["class","workers-list mat-elevation-z4",4,"ngIf"],[3,"formGp","isAutocompleteDisabled",4,"ngIf"],[3,"formGp","isAutocompleteDisabled","isRequired",4,"ngIf"],["class","full-width",4,"ngIf"],["name","address",3,"formGp","showCountry","isRequired",4,"ngIf"],["id","bloc-modalite"],["appLabel","dpd.representant.contact"],[1,"inline-form"],[3,"ngClass"],["matInput","","data-cy","telephone","type","text","name","telephone","appLabel","common.tel","formControlName","telephone","required",""],[1,"spacer"],["matInput","","data-cy","email","name","email","appLabel","common.email","formControlName","email","required",""],["id","bloc-lieu"],[1,"radio"],["name","conservation","formControlName","conservation","required",""],["id","lieuPrestation","color","primary","appLabel","dpd.representant.document.lieu",3,"value",4,"ngIf"],["id","representant","color","primary","appLabel","dpd.representant.document.adresse",3,"value",4,"ngIf"],["id","serveur","color","primary","appLabel","dpd.representant.document.serveur",3,"value"],[1,"radio","representative-type"],["message","dpd.representant.type._info"],["name","typeRepresentant","formControlName","type","required","",3,"change"],["data-cy","dirigeant-choice","id","dirigeantChoice","color","primary","appLabel","dpd.representant.type.dirigeant",3,"value"],["data-cy","salarie-choice","id","salarieChoice","color","primary","appLabel","dpd.representant.type.salarie",3,"value"],["data-cy","client-fr-choice","id","clientFrChoice","color","primary","appLabel","dpd.representant.type.client",3,"value"],["data-cy","mandataire-choice","id","mandataireChoice","color","primary","appLabel","dpd.representant.type.mandataire",3,"value"],["message","dpd.representant.info.details._info"],[1,"client-error","mat-elevation-z4"],[1,"workers-list","mat-elevation-z4"],[3,"workersArray","editionMode","idSalarieRepresentant","setRepresentativeWorkerEvent"],[3,"formGp","isAutocompleteDisabled"],[3,"formGp","isAutocompleteDisabled","isRequired"],[1,"full-width"],["matInput","","type","text","name","nom","appLabel","dpd.raisonsociale","appTextField","text","formControlName","raisonSociale","required",""],["matInput","","type","text","name","numTVA","formControlName","numTVA","appLabel","dpd.tva","required",""],["name","address",3,"formGp","showCountry","isRequired"],["id","lieuPrestation","color","primary","appLabel","dpd.representant.document.lieu",3,"value"],["id","representant","color","primary","appLabel","dpd.representant.document.adresse",3,"value"]],template:function(t,e){1&t&&(o.Tb(0,"form",0),o.Ob(1,"h3",1),o.Tb(2,"div",2),o.Tb(3,"div",3),o.Tb(4,"mat-icon"),o.Hc(5,"info"),o.Sb(),o.Ob(6,"span",4),o.gc(7,"translate"),o.Ob(8,"app-infobulle",5),o.Sb(),o.Tb(9,"div",6),o.Tb(10,"h4"),o.Hc(11),o.gc(12,"translate"),o.Fc(13,Ye,3,3,"span",7),o.Ob(14,"app-infobulle",8),o.Sb(),o.Fc(15,He,19,10,"div",9),o.Fc(16,je,3,3,"mat-error",10),o.Fc(17,Fe,3,3,"mat-error",10),o.Fc(18,ze,3,3,"mat-error",10),o.Fc(19,Ve,3,3,"mat-error",10),o.Fc(20,Be,2,3,"div",11),o.Fc(21,We,1,2,"app-person-form-2",12),o.Fc(22,Ue,1,3,"app-siret-check-2",13),o.Fc(23,qe,2,0,"mat-form-field",14),o.Fc(24,Ge,2,0,"mat-form-field",14),o.Fc(25,Je,1,3,"app-address-form-2",15),o.Sb(),o.Tb(26,"div",16),o.Ob(27,"h4",17),o.Tb(28,"div",18),o.Tb(29,"mat-form-field",19),o.Ob(30,"input",20),o.Fc(31,Ze,3,3,"mat-error",7),o.Sb(),o.Ob(32,"div",21),o.Tb(33,"mat-form-field",19),o.Ob(34,"input",22),o.Fc(35,$e,3,3,"mat-error",7),o.Fc(36,Xe,3,3,"mat-error",7),o.Sb(),o.Sb(),o.Sb(),o.Tb(37,"div",23),o.Ob(38,"h4",1),o.Tb(39,"div",24),o.Tb(40,"mat-radio-group",25),o.Fc(41,Ke,1,1,"mat-radio-button",26),o.Fc(42,Qe,1,1,"mat-radio-button",27),o.Ob(43,"mat-radio-button",28),o.Sb(),o.Sb(),o.Sb(),o.Sb(),o.Sb()),2&t&&(o.nc("formGroup",e.form),o.Cb(1),o.oc("appLabel",e.getTitle()),o.Cb(5),o.nc("innerHTML",o.hc(7,26,e.getDetailsMessage()),o.zc),o.Cb(2),o.pc("message","",e.getDetailsMessage(),"._info"),o.Cb(3),o.Jc(" ",o.hc(12,28,"dpd.representant.identite")," "),o.Cb(2),o.nc("ngIf",e.isType(e.representativeTypeEnum.MANDATAIRE)&&e.isUserMandataire),o.Cb(2),o.nc("ngIf",!e.isUserMandataire&&4!==e.numeroModele),o.Cb(1),o.nc("ngIf",e.isType(e.representativeTypeEnum.CLIENT)&&e.doesFormHaveError("clientNotFrench")),o.Cb(1),o.nc("ngIf",e.isType(e.representativeTypeEnum.CLIENT)&&e.doesFormHaveError("clientTVANotValid")),o.Cb(1),o.nc("ngIf",e.isType(e.representativeTypeEnum.CLIENT)&&e.doesFormHaveError("clientNotValid")),o.Cb(1),o.nc("ngIf",e.isType(e.representativeTypeEnum.DIRIGEANT)&&e.doesFormHaveError("managerNotValid")),o.Cb(1),o.nc("ngIf",e.isType(e.representativeTypeEnum.SALARIE)&&!e.isCompletion),o.Cb(1),o.nc("ngIf",e.isPersonDisplayed),o.Cb(1),o.nc("ngIf",e.isType(e.representativeTypeEnum.MANDATAIRE)),o.Cb(1),o.nc("ngIf",e.isSocialReasonDisplayed),o.Cb(1),o.nc("ngIf",e.isTVADisplayed),o.Cb(1),o.nc("ngIf",e.isAddressDisplayed),o.Cb(4),o.nc("ngClass",o.sc(30,tn,e.isUserMandataire)),o.Cb(2),o.nc("ngIf",e.doesControlHaveError("telephone","required")),o.Cb(2),o.nc("ngClass",o.sc(32,en,e.isUserMandataire)),o.Cb(2),o.nc("ngIf",e.doesControlHaveError("email","required")),o.Cb(1),o.nc("ngIf",e.doesControlHaveError("email","email")),o.Cb(2),o.oc("appLabel",e.getDocumentMessage()),o.Cb(3),o.nc("ngIf",4!==e.numeroModele),o.Cb(1),o.nc("ngIf",e.isType(e.representativeTypeEnum.CLIENT)||e.isType(e.representativeTypeEnum.MANDATAIRE)),o.Cb(1),o.nc("value",e.conservationTypeEnum.SERVEUR))},directives:[p.x,p.p,p.i,Ot.a,Me.a,It.a,i.l,St.c,i.j,Tt.b,p.c,p.o,p.g,p.v,Ft.b,Ft.a,St.f,St.b,Ie,Xt.a,Re.a,Ne.a,$t.a],pipes:[xt.c],styles:[".mat-badge-content[_ngcontent-%COMP%]{font-weight:600;font-size:12px;font-family:Roboto,Helvetica Neue,sans-serif}.mat-badge-small[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{font-size:9px}.mat-badge-large[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{font-size:24px}.mat-h1[_ngcontent-%COMP%], .mat-headline[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font:400 24px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h2[_ngcontent-%COMP%], .mat-title[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font:500 20px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h3[_ngcontent-%COMP%], .mat-subheading-2[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font:400 16px/28px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h4[_ngcontent-%COMP%], .mat-subheading-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{font:400 15px/24px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h5[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{font:400 calc(14px * .83)/20px Roboto,Helvetica Neue,sans-serif;margin:0 0 12px}.mat-h6[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font:400 calc(14px * .67)/20px Roboto,Helvetica Neue,sans-serif;margin:0 0 12px}.mat-body-2[_ngcontent-%COMP%], .mat-body-strong[_ngcontent-%COMP%]{font:500 14px/24px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-body[_ngcontent-%COMP%], .mat-body-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%]{font:400 14px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-body-1[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .mat-body[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0 0 12px}.mat-caption[_ngcontent-%COMP%], .mat-small[_ngcontent-%COMP%]{font:400 12px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-display-4[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-4[_ngcontent-%COMP%]{font:300 112px/112px Roboto,Helvetica Neue,sans-serif;letter-spacing:-.05em;margin:0 0 56px}.mat-display-3[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-3[_ngcontent-%COMP%]{font:400 56px/56px Roboto,Helvetica Neue,sans-serif;letter-spacing:-.02em;margin:0 0 64px}.mat-display-2[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-2[_ngcontent-%COMP%]{font:400 45px/48px Roboto,Helvetica Neue,sans-serif;letter-spacing:-.005em;margin:0 0 64px}.mat-display-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-1[_ngcontent-%COMP%]{font:400 34px/40px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 64px}.mat-bottom-sheet-container[_ngcontent-%COMP%]{font:400 14px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-button[_ngcontent-%COMP%], .mat-fab[_ngcontent-%COMP%], .mat-flat-button[_ngcontent-%COMP%], .mat-icon-button[_ngcontent-%COMP%], .mat-mini-fab[_ngcontent-%COMP%], .mat-raised-button[_ngcontent-%COMP%], .mat-stroked-button[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:500}.mat-button-toggle[_ngcontent-%COMP%], .mat-card[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-card-title[_ngcontent-%COMP%]{font-size:24px;font-weight:500}.mat-card-header[_ngcontent-%COMP%] .mat-card-title[_ngcontent-%COMP%]{font-size:20px}.mat-card-content[_ngcontent-%COMP%], .mat-card-subtitle[_ngcontent-%COMP%]{font-size:14px}.mat-checkbox[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-checkbox-layout[_ngcontent-%COMP%] .mat-checkbox-label[_ngcontent-%COMP%]{line-height:24px}.mat-chip[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.mat-chip[_ngcontent-%COMP%] .mat-chip-remove.mat-icon[_ngcontent-%COMP%], .mat-chip[_ngcontent-%COMP%] .mat-chip-trailing-icon.mat-icon[_ngcontent-%COMP%]{font-size:18px}.mat-table[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-header-cell[_ngcontent-%COMP%]{font-size:12px;font-weight:500}.mat-cell[_ngcontent-%COMP%], .mat-footer-cell[_ngcontent-%COMP%]{font-size:14px}.mat-calendar[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-calendar-body[_ngcontent-%COMP%]{font-size:13px}.mat-calendar-body-label[_ngcontent-%COMP%], .mat-calendar-period-button[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.mat-calendar-table-header[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{font-size:11px;font-weight:400}.mat-dialog-title[_ngcontent-%COMP%]{font:500 20px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-expansion-panel-header[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:15px;font-weight:400}.mat-expansion-panel-content[_ngcontent-%COMP%]{font:400 14px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-form-field[_ngcontent-%COMP%]{font-size:inherit;font-weight:400;line-height:1.125;font-family:Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-form-field-wrapper[_ngcontent-%COMP%]{padding-bottom:1.34375em}.mat-form-field-prefix[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%], .mat-form-field-suffix[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{font-size:150%;line-height:1.125}.mat-form-field-prefix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%], .mat-form-field-suffix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%]{height:1.5em;width:1.5em}.mat-form-field-prefix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%], .mat-form-field-suffix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{height:1.125em;line-height:1.125}.mat-form-field-infix[_ngcontent-%COMP%]{padding:.5em 0;border-top:.84375em solid rgba(0,0,0,0)}.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-1.34375em) scale(.75);transform:translateY(-1.34375em) scale(.75);width:133.3333333333%}.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-1.34374em) scale(.75);transform:translateY(-1.34374em) scale(.75);width:133.3333433333%}.mat-form-field-label-wrapper[_ngcontent-%COMP%]{top:-.84375em;padding-top:.84375em}.mat-form-field-label[_ngcontent-%COMP%]{top:1.34375em}.mat-form-field-underline[_ngcontent-%COMP%]{bottom:1.34375em}.mat-form-field-subscript-wrapper[_ngcontent-%COMP%]{font-size:75%;margin-top:.6666666667em;top:calc(100% - 1.7916666667em)}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-wrapper[_ngcontent-%COMP%]{padding-bottom:1.25em}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]{padding:.4375em 0}.mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.001px);-ms-transform:translateY(-1.28125em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-form-field-autofill-control[_ngcontent-%COMP%]:-webkit-autofill + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00101px);-ms-transform:translateY(-1.28124em) scale(.75);width:133.3333433333%}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00102px);-ms-transform:translateY(-1.28123em) scale(.75);width:133.3333533333%}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{top:1.28125em}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]{bottom:1.25em}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-subscript-wrapper[_ngcontent-%COMP%]{margin-top:.5416666667em;top:calc(100% - 1.6666666667em)}@media print{.mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-1.28122em) scale(.75);transform:translateY(-1.28122em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-form-field-autofill-control[_ngcontent-%COMP%]:-webkit-autofill + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{transform:translateY(-1.28121em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-1.2812em) scale(.75);transform:translateY(-1.2812em) scale(.75)}}.mat-form-field-appearance-fill[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]{padding:.25em 0 .75em}.mat-form-field-appearance-fill[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{top:1.09375em;margin-top:-.5em}.mat-form-field-appearance-fill.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-fill.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-.59375em) scale(.75);transform:translateY(-.59375em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-fill.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-.59374em) scale(.75);transform:translateY(-.59374em) scale(.75);width:133.3333433333%}.mat-form-field-appearance-outline[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]{padding:1em 0}.mat-form-field-appearance-outline[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{top:1.84375em;margin-top:-.25em}.mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-outline.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-1.59375em) scale(.75);transform:translateY(-1.59375em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-outline.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-1.59374em) scale(.75);transform:translateY(-1.59374em) scale(.75);width:133.3333433333%}.mat-grid-tile-footer[_ngcontent-%COMP%], .mat-grid-tile-header[_ngcontent-%COMP%]{font-size:14px}.mat-grid-tile-footer[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%], .mat-grid-tile-header[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-grid-tile-footer[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2), .mat-grid-tile-header[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:12px}input.mat-input-element[_ngcontent-%COMP%]{margin-top:-.0625em}.mat-menu-item[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:400}.mat-paginator[_ngcontent-%COMP%], .mat-paginator-page-size[_ngcontent-%COMP%] .mat-select-trigger[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:12px}.mat-radio-button[_ngcontent-%COMP%], .mat-select[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-select-trigger[_ngcontent-%COMP%]{height:1.125em}.mat-slide-toggle-content[_ngcontent-%COMP%], .mat-slider-thumb-label-text[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-slider-thumb-label-text[_ngcontent-%COMP%]{font-size:12px;font-weight:500}.mat-stepper-horizontal[_ngcontent-%COMP%], .mat-stepper-vertical[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-step-label[_ngcontent-%COMP%]{font-size:14px;font-weight:400}.mat-step-sub-label-error[_ngcontent-%COMP%]{font-weight:400}.mat-step-label-error[_ngcontent-%COMP%]{font-size:14px}.mat-step-label-selected[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.mat-tab-group[_ngcontent-%COMP%], .mat-tab-label[_ngcontent-%COMP%], .mat-tab-link[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-tab-label[_ngcontent-%COMP%], .mat-tab-link[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.mat-toolbar[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font:500 20px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0}.mat-tooltip[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:10px;padding-top:6px;padding-bottom:6px}.mat-tooltip-handset[_ngcontent-%COMP%]{font-size:14px;padding-top:8px;padding-bottom:8px}.mat-list-item[_ngcontent-%COMP%], .mat-list-option[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]{font-size:16px}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:14px}.mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%]{font-size:16px}.mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:14px}.mat-list-base[_ngcontent-%COMP%] .mat-subheader[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:500}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]{font-size:12px}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2), .mat-list-base[dense][_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%]{font-size:12px}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:12px}.mat-list-base[dense][_ngcontent-%COMP%] .mat-subheader[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:12px;font-weight:500}.mat-option[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:16px}.mat-optgroup-label[_ngcontent-%COMP%]{font:500 14px/24px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-simple-snackbar[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px}.mat-simple-snackbar-action[_ngcontent-%COMP%]{line-height:1;font-family:inherit;font-size:inherit;font-weight:500}.mat-tree[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-nested-tree-node[_ngcontent-%COMP%], .mat-tree-node[_ngcontent-%COMP%]{font-weight:400;font-size:14px}.mat-ripple[_ngcontent-%COMP%]{overflow:hidden;position:relative}.mat-ripple[_ngcontent-%COMP%]:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded[_ngcontent-%COMP%]{overflow:visible}.mat-ripple-element[_ngcontent-%COMP%]{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0,0,.2,1);-ms-transform:scale(0);transform:scale(0)}.cdk-high-contrast-active[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{display:none}.cdk-visually-hidden[_ngcontent-%COMP%]{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;outline:0;-webkit-appearance:none;-moz-appearance:none}.cdk-global-overlay-wrapper[_ngcontent-%COMP%], .cdk-overlay-container[_ngcontent-%COMP%]{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container[_ngcontent-%COMP%]{position:fixed;z-index:1000}.cdk-overlay-container[_ngcontent-%COMP%]:empty{display:none}.cdk-global-overlay-wrapper[_ngcontent-%COMP%], .cdk-overlay-pane[_ngcontent-%COMP%]{display:-ms-flexbox;display:flex;position:absolute;z-index:1000}.cdk-overlay-pane[_ngcontent-%COMP%]{pointer-events:auto;box-sizing:border-box;max-width:100%;max-height:100%}.cdk-overlay-backdrop[_ngcontent-%COMP%]{position:absolute;top:0;bottom:0;left:0;right:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:transparent;transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:1}@media screen and (-ms-high-contrast:active){.cdk-overlay-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:.6}}.cdk-overlay-dark-backdrop[_ngcontent-%COMP%]{background:rgba(0,0,0,.32)}.cdk-overlay-transparent-backdrop[_ngcontent-%COMP%], .cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:0}.cdk-overlay-connected-position-bounding-box[_ngcontent-%COMP%]{position:absolute;z-index:1000;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock[_ngcontent-%COMP%]{position:fixed;width:100%;overflow-y:scroll}@-webkit-keyframes cdk-text-field-autofill-start{\n }@keyframes cdk-text-field-autofill-start{\n }@-webkit-keyframes cdk-text-field-autofill-end{\n }@keyframes cdk-text-field-autofill-end{\n }.cdk-text-field-autofill-monitored[_ngcontent-%COMP%]:-webkit-autofill{-webkit-animation:cdk-text-field-autofill-start 0s 1ms;animation:cdk-text-field-autofill-start 0s 1ms}.cdk-text-field-autofill-monitored[_ngcontent-%COMP%]:not(:-webkit-autofill){-webkit-animation:cdk-text-field-autofill-end 0s 1ms;animation:cdk-text-field-autofill-end 0s 1ms}textarea.cdk-textarea-autosize[_ngcontent-%COMP%]{resize:none}textarea.cdk-textarea-autosize-measuring[_ngcontent-%COMP%]{padding:2px 0!important;box-sizing:content-box!important;height:auto!important;overflow:hidden!important}textarea.cdk-textarea-autosize-measuring-firefox[_ngcontent-%COMP%]{padding:2px 0!important;box-sizing:content-box!important;height:0!important}.mat-focus-indicator[_ngcontent-%COMP%], .mat-mdc-focus-indicator[_ngcontent-%COMP%]{position:relative}h3[_ngcontent-%COMP%]{margin:0 0 8px}h3[_ngcontent-%COMP%], h4[_ngcontent-%COMP%]{padding-bottom:16px;border-bottom:1px solid #999}h4[_ngcontent-%COMP%]{margin:0 0 8px -16px;padding-top:8px}h4[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#ff9800;font-weight:400;font-size:1rem;padding-left:12px}.box-margin[_ngcontent-%COMP%]{margin:0 32px}.box-margin[_ngcontent-%COMP%] .radio[_ngcontent-%COMP%]{padding:8px 0}.box-margin[_ngcontent-%COMP%] .radio[_ngcontent-%COMP%] mat-radio-button[_ngcontent-%COMP%]{margin:8px 12px 0}.box-margin[_ngcontent-%COMP%] .radio.representative-type[_ngcontent-%COMP%]{padding-bottom:12px}.box-margin[_ngcontent-%COMP%] .radio.representative-type[_ngcontent-%COMP%] mat-radio-group[_ngcontent-%COMP%]{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.box-margin[_ngcontent-%COMP%] .full-width[_ngcontent-%COMP%]{width:100%}.box-margin[_ngcontent-%COMP%] .inline-form[_ngcontent-%COMP%]{display:-ms-flexbox;display:flex;-ms-flex-flow:row;flex-flow:row}.box-margin[_ngcontent-%COMP%] .inline-form[_ngcontent-%COMP%] .spacer[_ngcontent-%COMP%]{width:50px}.box-margin[_ngcontent-%COMP%] .inline-form[_ngcontent-%COMP%] mat-form-field[_ngcontent-%COMP%]{-ms-flex:1;flex:1}.box-margin[_ngcontent-%COMP%] .inline-form[_ngcontent-%COMP%] mat-form-field.birthdate[_ngcontent-%COMP%]{max-width:250px}.box-margin[_ngcontent-%COMP%] .inline-form[_ngcontent-%COMP%] app-country-form[_ngcontent-%COMP%]{-ms-flex:1;flex:1}.box-margin[_ngcontent-%COMP%] .client-error[_ngcontent-%COMP%]{font-size:1.2rem;display:-ms-flexbox;display:flex;line-height:48px;padding-left:12px}.box-margin[_ngcontent-%COMP%] .error[_ngcontent-%COMP%] mat-error[_ngcontent-%COMP%]{display:-ms-flexbox;display:flex;padding:10px;-ms-flex-align:center;align-items:center}.box-margin[_ngcontent-%COMP%] .error[_ngcontent-%COMP%] mat-error[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{margin-right:12px}.box-margin[_ngcontent-%COMP%] .workers-list[_ngcontent-%COMP%]{margin-bottom:12px}.box-margin[_ngcontent-%COMP%] .description[_ngcontent-%COMP%]{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.box-margin[_ngcontent-%COMP%] .description[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{opacity:.7;margin-right:8px}.box-margin[_ngcontent-%COMP%] .description[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-style:italic}.box-margin[_ngcontent-%COMP%] #bloc-representant[_ngcontent-%COMP%] .description[_ngcontent-%COMP%]{padding-top:16px}"]}),t})();var rn=n("/uUt"),on=n("vzmS"),sn=n("INw2"),ln=n("H3+n");function cn(t,e){1&t&&(o.Tb(0,"mat-error"),o.Hc(1),o.gc(2,"translate"),o.Sb()),2&t&&(o.Cb(1),o.Jc(" ",o.hc(2,1,"common.error.requis")," "))}function dn(t,e){if(1&t&&(o.Tb(0,"mat-form-field",21),o.Ob(1,"input",22),o.Fc(2,cn,3,3,"mat-error",18),o.Sb()),2&t){const t=o.fc();o.Cb(2),o.nc("ngIf",t.doesControlHaveError("materielsDangereuxList","required"))}}function un(t,e){1&t&&(o.Tb(0,"mat-error"),o.Hc(1),o.gc(2,"translate"),o.Sb()),2&t&&(o.Cb(1),o.Jc(" ",o.hc(2,1,"common.error.requis")," "))}function hn(t,e){1&t&&(o.Tb(0,"mat-error"),o.Hc(1),o.gc(2,"translate"),o.Sb()),2&t&&(o.Cb(1),o.Jc(" ",o.hc(2,1,"dpd.travail.error.repos")," "))}let mn=(()=>{class t extends At.a{constructor(t,e){super(t),this.translateService=t,this.configSharedService=e}load(){this.form=this.configSharedService.form.get(rt.a.PRESTATION),this.activities=this.configSharedService.activities,this.updateListActiviteCodeNaf(),this.numeroModele=this.configSharedService.numeroModele,this.subscriptions.push(this.clientFg.valueChanges.pipe(Object(u.a)(t=>t.codeNaf),Object(rn.a)()).subscribe(t=>this.updateListActiviteCodeNaf())),this.locationsArrFg.forEach(t=>{this.subscriptions.push(t.valueChanges.pipe(Object(u.a)(t=>t.codeNaf),Object(rn.a)()).subscribe(t=>this.updateListActiviteCodeNaf()))})}get isMaterialDangereux(){return this.form.get("isMaterialDangereux").value}get clientFg(){return this.configSharedService.form.get(rt.a.CLIENT).get("client")}get clientCodeNaf(){return this.clientFg.get("codeNaf").value}get locationsArrFg(){return this.configSharedService.form.get(rt.a.LOCATIONS).get("locations").controls}get locationsCodeNaf(){return this.locationsArrFg.map(t=>t.get("codeNaf").value)}get activitiesFg(){return this.form.get("activities")}get horaireDebutCtrl(){return this.form.get("horaireDebut")}get horaireFinCtrl(){return this.form.get("horaireFin")}updateListActiviteCodeNaf(){const t=[];if(this.clientCodeNaf&&t.push(this.clientCodeNaf),this.locationsCodeNaf){const e=this.locationsCodeNaf.filter(t=>t&&t!==this.clientCodeNaf);t.push(...e)}this.activitesForCodeNaf=t.map(t=>this.getActiviteFromCodeNaf(t))}getActiviteFromCodeNaf(t){if(t)return new on.a({activite1:this.getParentActivite(t.substring(0,2)),activite2:t.substring(0,2),activite3:t.substring(0,4),activite4:t.substring(0,5)})}getParentActivite(t){if(this.activities){const e=this.activities.find(e=>!!e.sousActivites&&!!e.sousActivites.find(e=>t===e.code));return e?e.code:null}return null}onClearHoraire(t){t.checked?(this.form.patchValue({horaireDebut:null,horaireFin:null}),this.horaireDebutCtrl.disable(),this.horaireFinCtrl.disable()):(this.horaireDebutCtrl.enable(),this.horaireFinCtrl.enable())}onRadioChange(t){t.value?this.form.get("materielsDangereuxList").enable():(this.form.get("materielsDangereuxList").disable(),this.form.patchValue({materielsDangereuxList:null}))}}return t.\u0275fac=function(e){return new(e||t)(o.Nb(xt.d),o.Nb(mt.a))},t.\u0275cmp=o.Hb({type:t,selectors:[["app-dpd-edit-service-info-2"]],features:[o.zb],decls:33,vars:26,consts:[[3,"formGroup"],["appLabel","dpd.menu.prestation.info"],[1,"box-margin"],[1,"description"],[3,"innerHTML"],["message","dpd.prestation.info.details._info"],["name","activite",3,"formFg","activities","listActiviteCodeNaf","hideSubActivites"],[1,"radio","inline-form"],["appLabel","dpd.travail.dangereux","required","",1,"radio-group-label"],["name","dangereuxActive","formControlName","isMaterialDangereux","required","",3,"change"],["data-cy","dangereux-oui","color","primary",3,"value"],["data-cy","dangereux-non","color","primary",3,"value"],["class","full-width",4,"ngIf"],[1,"inline-form"],["data-cy","horaire-debut","formControlName","horaireDebut",3,"inputTitle"],[1,"spacer"],["data-cy","horaire-fin","formControlName","horaireFin",3,"inputTitle"],["matInput","","data-cy","nb-jours-repos","type","number","name","nbJoursRepos","appLabel","dpd.travail.repos","formControlName","nbJoursRepos","required","",3,"min","max"],[4,"ngIf"],["name","horairesAtypiques","data-cy","horaires-atypiques","color","primary","formControlName","horairesAtypiques",3,"change"],["message","dpd.travail.horaires.atypiques._info"],[1,"full-width"],["matInput","","data-cy","dangereux","type","text","name","dangereux","appLabel","dpd.travail.dangereux.details","appTextField","text","formControlName","materielsDangereuxList","required",""]],template:function(t,e){1&t&&(o.Tb(0,"form",0),o.Ob(1,"h3",1),o.Tb(2,"div",2),o.Tb(3,"div",3),o.Tb(4,"mat-icon"),o.Hc(5,"info"),o.Sb(),o.Ob(6,"span",4),o.gc(7,"translate"),o.Ob(8,"app-infobulle",5),o.Sb(),o.Ob(9,"app-activite-form-2",6),o.Tb(10,"div",7),o.Ob(11,"mat-label",8),o.Tb(12,"mat-radio-group",9),o.bc("change",function(t){return e.onRadioChange(t)}),o.Tb(13,"mat-radio-button",10),o.Hc(14),o.gc(15,"translate"),o.Sb(),o.Tb(16,"mat-radio-button",11),o.Hc(17),o.gc(18,"translate"),o.Sb(),o.Sb(),o.Sb(),o.Fc(19,dn,3,1,"mat-form-field",12),o.Tb(20,"div",13),o.Ob(21,"app-time-form-2",14),o.Ob(22,"div",15),o.Ob(23,"app-time-form-2",16),o.Ob(24,"div",15),o.Tb(25,"mat-form-field"),o.Ob(26,"input",17),o.Fc(27,un,3,3,"mat-error",18),o.Fc(28,hn,3,3,"mat-error",18),o.Sb(),o.Sb(),o.Tb(29,"mat-checkbox",19),o.bc("change",function(t){return e.onClearHoraire(t)}),o.Hc(30),o.gc(31,"translate"),o.Ob(32,"app-infobulle",20),o.Sb(),o.Sb(),o.Sb()),2&t&&(o.nc("formGroup",e.form),o.Cb(6),o.nc("innerHTML",o.hc(7,18,"dpd.prestation.info.details"),o.zc),o.Cb(3),o.nc("formFg",e.activitiesFg)("activities",e.activities)("listActiviteCodeNaf",e.activitesForCodeNaf)("hideSubActivites",4===e.numeroModele||5===e.numeroModele||6===e.numeroModele),o.Cb(4),o.nc("value",!0),o.Cb(1),o.Jc(" ",o.hc(15,20,"common.oui")," "),o.Cb(2),o.nc("value",!1),o.Cb(1),o.Jc(" ",o.hc(18,22,"common.non")," "),o.Cb(2),o.nc("ngIf",e.isMaterialDangereux),o.Cb(2),o.nc("inputTitle","dpd.travail.horaire.debut"),o.Cb(2),o.nc("inputTitle","dpd.travail.horaire.fin"),o.Cb(3),o.nc("min",0)("max",6),o.Cb(1),o.nc("ngIf",e.doesControlHaveError("nbJoursRepos","required")),o.Cb(1),o.nc("ngIf",e.doesControlHaveError("nbJoursRepos","pattern")),o.Cb(2),o.Jc(" ",o.hc(31,24,"dpd.travail.horaires.atypiques")," "))},directives:[p.x,p.p,p.i,Ot.a,Me.a,It.a,sn.a,St.f,Ft.b,p.o,p.g,p.v,Ft.a,i.l,ln.a,St.c,Tt.b,p.s,p.c,Kt.a,Ne.a,St.b],pipes:[xt.c],styles:["h3[_ngcontent-%COMP%]{margin:0 0 8px;padding-bottom:16px;border-bottom:1px solid #999}.box-margin[_ngcontent-%COMP%]{margin:0 32px}.box-margin[_ngcontent-%COMP%] .description[_ngcontent-%COMP%]{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;margin-bottom:16px}.box-margin[_ngcontent-%COMP%] .description[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{opacity:.7;margin-right:8px}.box-margin[_ngcontent-%COMP%] .description[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-style:italic}.box-margin[_ngcontent-%COMP%] .full-width[_ngcontent-%COMP%]{width:100%}.box-margin[_ngcontent-%COMP%] .inline-form[_ngcontent-%COMP%]{display:-ms-flexbox;display:flex;-ms-flex-flow:row;flex-flow:row;margin-bottom:16px}.box-margin[_ngcontent-%COMP%] .inline-form[_ngcontent-%COMP%] .spacer[_ngcontent-%COMP%]{width:50px}.box-margin[_ngcontent-%COMP%] .inline-form[_ngcontent-%COMP%] app-country-form[_ngcontent-%COMP%], .box-margin[_ngcontent-%COMP%] .inline-form[_ngcontent-%COMP%] app-time-form-2[_ngcontent-%COMP%], .box-margin[_ngcontent-%COMP%] .inline-form[_ngcontent-%COMP%] mat-form-field[_ngcontent-%COMP%]{-ms-flex:1;flex:1;-ms-flex-item-align:end;align-self:flex-end}.box-margin[_ngcontent-%COMP%] .inline-form[_ngcontent-%COMP%] mat-radio-button[_ngcontent-%COMP%]{margin:0 12px}.box-margin[_ngcontent-%COMP%] .inline-form[_ngcontent-%COMP%] .mat-form-field-wrapper{margin-bottom:-1.25em}.box-margin[_ngcontent-%COMP%] .radio[_ngcontent-%COMP%]{padding:8px 0}.box-margin[_ngcontent-%COMP%] .radio[_ngcontent-%COMP%] .radio-group-label[_ngcontent-%COMP%]{margin-top:-8px}"]}),t})();var pn=n("n33M"),fn=n("OaSA"),gn=n("kLGl"),bn=n("Nd6I");function _n(t,e){1&t&&(o.Tb(0,"th",20),o.Hc(1),o.gc(2,"translate"),o.Sb()),2&t&&(o.Cb(1),o.Jc(" ",o.hc(2,1,"common.nom")," "))}function yn(t,e){if(1&t&&(o.Tb(0,"td",21),o.Hc(1),o.gc(2,"translate"),o.Sb()),2&t){const t=e.$implicit;o.Cb(1),o.Jc(" ",t.getRawValue().nom?t.getRawValue().nom:o.hc(2,1,"common.nonrenseigne")," ")}}function vn(t,e){1&t&&(o.Tb(0,"th",22),o.Hc(1),o.gc(2,"translate"),o.Sb()),2&t&&(o.Cb(1),o.Jc(" ",o.hc(2,1,"common.adresse")," "))}function Cn(t,e){1&t&&(o.Ob(0,"td",23),o.gc(1,"formatAddress")),2&t&&o.nc("innerHTML",o.hc(1,1,e.$implicit.getRawValue().adresse),o.zc)}function wn(t,e){1&t&&(o.Tb(0,"th",24),o.Hc(1),o.gc(2,"translate"),o.Sb()),2&t&&(o.Cb(1),o.Jc(" ",o.hc(2,1,"dpd.hebergement.collectif")," "))}function xn(t,e){1&t&&(o.Ob(0,"td",23),o.gc(1,"formatAddress")),2&t&&o.nc("innerHTML",o.hc(1,1,e.$implicit.getRawValue().hebergementCollectif),o.zc)}function Mn(t,e){1&t&&o.Ob(0,"th",25)}function On(t,e){if(1&t){const t=o.Ub();o.Tb(0,"td",21),o.Tb(1,"div"),o.Tb(2,"button",26),o.bc("click",function(){o.yc(t);const n=e.index;return o.fc(2).editLocation(n)}),o.Tb(3,"mat-icon",27),o.Hc(4,"edit"),o.Sb(),o.Sb(),o.Tb(5,"button",28),o.bc("click",function(){o.yc(t);const n=e.index;return o.fc(2).removeLocation(n)}),o.Tb(6,"mat-icon",29),o.Hc(7,"delete"),o.Sb(),o.Sb(),o.Sb(),o.Sb()}if(2&t){const t=e.index,n=o.fc(2);o.Cb(2),o.pc("id","edit_",t,""),o.Db("data-cy","button-edit-lieu-"+t),o.Cb(3),o.pc("id","delete_",t,""),o.nc("disabled",n.isDisableRemoveLocation(t)),o.Db("data-cy","button-delete-lieu-"+t)}}function kn(t,e){1&t&&o.Ob(0,"tr",30)}function Sn(t,e){1&t&&o.Ob(0,"tr",31)}function Tn(t,e){if(1&t&&(o.Tb(0,"div",6),o.Tb(1,"table",7),o.Rb(2,8),o.Fc(3,_n,3,3,"th",9),o.Fc(4,yn,3,3,"td",10),o.Qb(),o.Rb(5,11),o.Fc(6,vn,3,3,"th",12),o.Fc(7,Cn,2,3,"td",13),o.Qb(),o.Rb(8,14),o.Fc(9,wn,3,3,"th",15),o.Fc(10,xn,2,3,"td",13),o.Qb(),o.Rb(11,16),o.Fc(12,Mn,1,0,"th",17),o.Fc(13,On,8,5,"td",10),o.Qb(),o.Fc(14,kn,1,0,"tr",18),o.Fc(15,Sn,1,0,"tr",19),o.Sb(),o.Sb()),2&t){const t=o.fc();o.Cb(1),o.nc("dataSource",t.dataSource),o.Cb(13),o.nc("matHeaderRowDef",t.displayedColumns),o.Cb(1),o.nc("matRowDefColumns",t.displayedColumns)}}function Pn(t,e){1&t&&(o.Tb(0,"span"),o.Hc(1),o.gc(2,"translate"),o.Sb()),2&t&&(o.Cb(1),o.Ic(o.hc(2,1,"dpd.prestation.error.limite")))}function Ln(t,e){if(1&t){const t=o.Ub();o.Tb(0,"div",32),o.Tb(1,"button",33),o.bc("click",function(){return o.yc(t),o.fc().addLocation()}),o.gc(2,"translate"),o.Hc(3),o.gc(4,"translate"),o.Sb(),o.Fc(5,Pn,3,3,"span",34),o.Sb()}if(2&t){const t=o.fc();o.Cb(1),o.nc("title",o.hc(2,4,t.locationsFgArr.controls.length>=5?"dpd.prestation.error.limite":"dpd.prestation.lieu.ajouter"))("disabled",t.locationsFgArr.controls.length>=5),o.Cb(2),o.Jc(" ",o.hc(4,6,"dpd.prestation.lieu.ajouter")," "),o.Cb(2),o.nc("ngIf",t.locationsFgArr.controls.length>=5)}}function Dn(t,e){if(1&t){const t=o.Ub();o.Tb(0,"div",35),o.Tb(1,"app-location-form-2",36),o.bc("saveOrUpdateLocationEvent",function(e){return o.yc(t),o.fc().onSaveOrUpdateLocation(e)})("closeEvent",function(){return o.yc(t),o.fc().onCancel()}),o.Sb(),o.Sb()}if(2&t){const t=o.fc();o.Cb(1),o.nc("isCompletionMode",t.isCompletionMode)("locationFg",t.selectedLocationFg)("isClientValid",t.isClientValid)("isClientFrench",t.isClientFrench)("numTVAClient",t.numTVA)}}let En=(()=>{class t extends At.a{constructor(t,e,n,i){super(t),this.translateService=t,this.fb=e,this.dialog=n,this.configSharedService=i,this.displayedColumns=["nom","adresse","hebergement","actions"],this.dataSource=[]}get isClientValid(){return this._isClientValid}get numTVA(){return this._numTVACtrl.value}get locationsFgArr(){return this.form.get("locations")}load(){this.form=this.configSharedService.form.get(rt.a.LOCATIONS);const t=this.configSharedService.form.get(rt.a.CLIENT);this._numTVACtrl=t.get("client").get("numTVA"),this.isClientFrench=t.get("client").get("adresse").get("pays").value&&"FR"===t.get("client").get("adresse").get("pays").value.code,this._isClientValid=t.valid&&!this._numTVACtrl.invalid&&!!this._numTVACtrl.value,0===this.locationsFgArr.controls.length?this.addLocation():this.dataSource=this.locationsFgArr.controls,null!==this.indexOfSelectedLocation&&-1!==this.indexOfSelectedLocation&&(this.selectedLocationFg=this.locationsFgArr.at(this.indexOfSelectedLocation)),this.isCompletionMode=this.configSharedService.mode===nt.a.COMPLETION,this.form.setValidators(()=>k.a.locationValidator(this.form,this._numTVACtrl))}addLocation(){this.configSharedService.setLocationIndex(-1),this.selectedLocationFg=new Z(this.fb,new pn.a({adresse:new b.a({pays:"FR"}),hebergementCollectif:new b.a({pays:"FR"})}),this.configSharedService.countries,!1).build()}editLocation(t){this.configSharedService.setLocationIndex(t),this.selectedLocationFg=this.locationsFgArr.at(t),this.selectedLocationFg.get("isSavedInArray").setValue(!1)}removeLocation(t){this.dialog.open(wt.a,{data:{title:this.translateService.instant("dpd.prestation.lieu.supprimer"),question:this.translateService.instant("dpd.prestation.lieu.supprimer.question"),okButtonText:this.translateService.instant("common.oui"),cancelButtonText:this.translateService.instant("common.non")}}).afterClosed().subscribe(e=>{if(!0===e){if(t<0||t>=this.dataSource.length)return;this.locationsFgArr.removeAt(t),this.configSharedService.setLastSavedLocationsArrayRawValue(this.locationsFgArr.getRawValue()),this.dataSource=[...this.locationsFgArr.controls],0===this.locationsFgArr.controls.length?this.addLocation():this._cleanSelection()}})}onSaveOrUpdateLocation(t){-1===this.indexOfSelectedLocation?this.locationsFgArr.push(t):this.locationsFgArr.setControl(this.indexOfSelectedLocation,this.selectedLocationFg),t.get("isSavedInArray").setValue(!0),this.configSharedService.setLastSavedLocationsArrayRawValue(this.locationsFgArr.getRawValue()),this._cleanSelection(),this.dataSource=[...this.locationsFgArr.controls]}onCancel(){this.selectedLocationFg.reset(this.configSharedService.lastSavedLocationsArrayRawValue[this.indexOfSelectedLocation]),this.selectedLocationFg.get("isSavedInArray").setValue(!0),this.selectedLocationFg.get("isHebergementCollectif").value?this.selectedLocationFg.get("hebergementCollectif").enable():this.selectedLocationFg.get("hebergementCollectif").disable(),this._cleanSelection()}isDisableRemoveLocation(t){const e=this.locationsFgArr.at(t);return this.configSharedService.mode===nt.a.COMPLETION&&null!==e.get("id")&&null!==e.get("id").value}_cleanSelection(){this.selectedLocationFg=null,this.configSharedService.setLocationIndex(null)}get indexOfSelectedLocation(){return this.configSharedService.locationIndex}displayAddLocationBtn(){return!this.selectedLocationFg&&(null===this.indexOfSelectedLocation||-1===this.indexOfSelectedLocation)}}return t.\u0275fac=function(e){return new(e||t)(o.Nb(xt.d),o.Nb(p.d),o.Nb(Mt.b),o.Nb(mt.a))},t.\u0275cmp=o.Hb({type:t,selectors:[["app-dpd-edit-service-place-2"]],features:[o.zb],decls:6,vars:4,consts:[[3,"formGroup"],["appLabel","dpd.menu.prestation.lieu"],[1,"box-margin"],["class","places-list mat-elevation-z4",4,"ngIf"],["class","places-action",4,"ngIf"],["class","full-width place-details",4,"ngIf"],[1,"places-list","mat-elevation-z4"],["mat-table","",3,"dataSource"],["matColumnDef","nom"],["id","nom","mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","adresse"],["id","adresse","mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",3,"innerHTML",4,"matCellDef"],["matColumnDef","hebergement"],["id","hebergementCollectif","mat-header-cell","",4,"matHeaderCellDef"],["matColumnDef","actions"],["id","actions","mat-header-cell","",4,"matHeaderCellDef"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["id","nom","mat-header-cell",""],["mat-cell",""],["id","adresse","mat-header-cell",""],["mat-cell","",3,"innerHTML"],["id","hebergementCollectif","mat-header-cell",""],["id","actions","mat-header-cell",""],["type","button","aria-label","edit","mat-icon-button","",3,"id","click"],["color","primary"],["type","button","aria-label","delete","color","primary","mat-icon-button","",3,"id","disabled","click"],["color","warn"],["mat-header-row",""],["mat-row",""],[1,"places-action"],["mat-raised-button","","aria-label","Add","color","primary",1,"add-place",3,"title","disabled","click"],[4,"ngIf"],[1,"full-width","place-details"],[3,"isCompletionMode","locationFg","isClientValid","isClientFrench","numTVAClient","saveOrUpdateLocationEvent","closeEvent"]],template:function(t,e){1&t&&(o.Tb(0,"form",0),o.Ob(1,"h3",1),o.Tb(2,"div",2),o.Fc(3,Tn,16,3,"div",3),o.Fc(4,Ln,6,8,"div",4),o.Fc(5,Dn,2,5,"div",5),o.Sb(),o.Sb()),2&t&&(o.nc("formGroup",e.form),o.Cb(3),o.nc("ngIf",e.locationsFgArr.controls.length>0),o.Cb(1),o.nc("ngIf",e.displayAddLocationBtn()&&!e.isCompletionMode),o.Cb(1),o.nc("ngIf",e.selectedLocationFg))},directives:[p.x,p.p,p.i,Ot.a,i.l,fn.j,fn.c,fn.e,fn.b,fn.g,fn.i,fn.d,fn.a,kt.a,Me.a,fn.f,fn.h,gn.a],pipes:[xt.c,bn.a],styles:[".mat-badge-content[_ngcontent-%COMP%]{font-weight:600;font-size:12px;font-family:Roboto,Helvetica Neue,sans-serif}.mat-badge-small[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{font-size:9px}.mat-badge-large[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{font-size:24px}.mat-h1[_ngcontent-%COMP%], .mat-headline[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font:400 24px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h2[_ngcontent-%COMP%], .mat-title[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font:500 20px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h3[_ngcontent-%COMP%], .mat-subheading-2[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font:400 16px/28px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h4[_ngcontent-%COMP%], .mat-subheading-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{font:400 15px/24px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h5[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{font:400 calc(14px * .83)/20px Roboto,Helvetica Neue,sans-serif;margin:0 0 12px}.mat-h6[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font:400 calc(14px * .67)/20px Roboto,Helvetica Neue,sans-serif;margin:0 0 12px}.mat-body-2[_ngcontent-%COMP%], .mat-body-strong[_ngcontent-%COMP%]{font:500 14px/24px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-body[_ngcontent-%COMP%], .mat-body-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%]{font:400 14px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-body-1[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .mat-body[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0 0 12px}.mat-caption[_ngcontent-%COMP%], .mat-small[_ngcontent-%COMP%]{font:400 12px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-display-4[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-4[_ngcontent-%COMP%]{font:300 112px/112px Roboto,Helvetica Neue,sans-serif;letter-spacing:-.05em;margin:0 0 56px}.mat-display-3[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-3[_ngcontent-%COMP%]{font:400 56px/56px Roboto,Helvetica Neue,sans-serif;letter-spacing:-.02em;margin:0 0 64px}.mat-display-2[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-2[_ngcontent-%COMP%]{font:400 45px/48px Roboto,Helvetica Neue,sans-serif;letter-spacing:-.005em;margin:0 0 64px}.mat-display-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-1[_ngcontent-%COMP%]{font:400 34px/40px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 64px}.mat-bottom-sheet-container[_ngcontent-%COMP%]{font:400 14px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-button[_ngcontent-%COMP%], .mat-fab[_ngcontent-%COMP%], .mat-flat-button[_ngcontent-%COMP%], .mat-icon-button[_ngcontent-%COMP%], .mat-mini-fab[_ngcontent-%COMP%], .mat-raised-button[_ngcontent-%COMP%], .mat-stroked-button[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:500}.mat-button-toggle[_ngcontent-%COMP%], .mat-card[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-card-title[_ngcontent-%COMP%]{font-size:24px;font-weight:500}.mat-card-header[_ngcontent-%COMP%] .mat-card-title[_ngcontent-%COMP%]{font-size:20px}.mat-card-content[_ngcontent-%COMP%], .mat-card-subtitle[_ngcontent-%COMP%]{font-size:14px}.mat-checkbox[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-checkbox-layout[_ngcontent-%COMP%] .mat-checkbox-label[_ngcontent-%COMP%]{line-height:24px}.mat-chip[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.mat-chip[_ngcontent-%COMP%] .mat-chip-remove.mat-icon[_ngcontent-%COMP%], .mat-chip[_ngcontent-%COMP%] .mat-chip-trailing-icon.mat-icon[_ngcontent-%COMP%]{font-size:18px}.mat-table[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-header-cell[_ngcontent-%COMP%]{font-size:12px;font-weight:500}.mat-cell[_ngcontent-%COMP%], .mat-footer-cell[_ngcontent-%COMP%]{font-size:14px}.mat-calendar[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-calendar-body[_ngcontent-%COMP%]{font-size:13px}.mat-calendar-body-label[_ngcontent-%COMP%], .mat-calendar-period-button[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.mat-calendar-table-header[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{font-size:11px;font-weight:400}.mat-dialog-title[_ngcontent-%COMP%]{font:500 20px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-expansion-panel-header[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:15px;font-weight:400}.mat-expansion-panel-content[_ngcontent-%COMP%]{font:400 14px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-form-field[_ngcontent-%COMP%]{font-size:inherit;font-weight:400;line-height:1.125;font-family:Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-form-field-wrapper[_ngcontent-%COMP%]{padding-bottom:1.34375em}.mat-form-field-prefix[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%], .mat-form-field-suffix[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{font-size:150%;line-height:1.125}.mat-form-field-prefix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%], .mat-form-field-suffix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%]{height:1.5em;width:1.5em}.mat-form-field-prefix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%], .mat-form-field-suffix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{height:1.125em;line-height:1.125}.mat-form-field-infix[_ngcontent-%COMP%]{padding:.5em 0;border-top:.84375em solid rgba(0,0,0,0)}.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-1.34375em) scale(.75);transform:translateY(-1.34375em) scale(.75);width:133.3333333333%}.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-1.34374em) scale(.75);transform:translateY(-1.34374em) scale(.75);width:133.3333433333%}.mat-form-field-label-wrapper[_ngcontent-%COMP%]{top:-.84375em;padding-top:.84375em}.mat-form-field-label[_ngcontent-%COMP%]{top:1.34375em}.mat-form-field-underline[_ngcontent-%COMP%]{bottom:1.34375em}.mat-form-field-subscript-wrapper[_ngcontent-%COMP%]{font-size:75%;margin-top:.6666666667em;top:calc(100% - 1.7916666667em)}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-wrapper[_ngcontent-%COMP%]{padding-bottom:1.25em}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]{padding:.4375em 0}.mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.001px);-ms-transform:translateY(-1.28125em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-form-field-autofill-control[_ngcontent-%COMP%]:-webkit-autofill + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00101px);-ms-transform:translateY(-1.28124em) scale(.75);width:133.3333433333%}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00102px);-ms-transform:translateY(-1.28123em) scale(.75);width:133.3333533333%}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{top:1.28125em}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]{bottom:1.25em}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-subscript-wrapper[_ngcontent-%COMP%]{margin-top:.5416666667em;top:calc(100% - 1.6666666667em)}@media print{.mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-1.28122em) scale(.75);transform:translateY(-1.28122em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-form-field-autofill-control[_ngcontent-%COMP%]:-webkit-autofill + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{transform:translateY(-1.28121em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-1.2812em) scale(.75);transform:translateY(-1.2812em) scale(.75)}}.mat-form-field-appearance-fill[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]{padding:.25em 0 .75em}.mat-form-field-appearance-fill[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{top:1.09375em;margin-top:-.5em}.mat-form-field-appearance-fill.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-fill.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-.59375em) scale(.75);transform:translateY(-.59375em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-fill.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-.59374em) scale(.75);transform:translateY(-.59374em) scale(.75);width:133.3333433333%}.mat-form-field-appearance-outline[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]{padding:1em 0}.mat-form-field-appearance-outline[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{top:1.84375em;margin-top:-.25em}.mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-outline.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-1.59375em) scale(.75);transform:translateY(-1.59375em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-outline.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-1.59374em) scale(.75);transform:translateY(-1.59374em) scale(.75);width:133.3333433333%}.mat-grid-tile-footer[_ngcontent-%COMP%], .mat-grid-tile-header[_ngcontent-%COMP%]{font-size:14px}.mat-grid-tile-footer[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%], .mat-grid-tile-header[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-grid-tile-footer[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2), .mat-grid-tile-header[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:12px}input.mat-input-element[_ngcontent-%COMP%]{margin-top:-.0625em}.mat-menu-item[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:400}.mat-paginator[_ngcontent-%COMP%], .mat-paginator-page-size[_ngcontent-%COMP%] .mat-select-trigger[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:12px}.mat-radio-button[_ngcontent-%COMP%], .mat-select[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-select-trigger[_ngcontent-%COMP%]{height:1.125em}.mat-slide-toggle-content[_ngcontent-%COMP%], .mat-slider-thumb-label-text[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-slider-thumb-label-text[_ngcontent-%COMP%]{font-size:12px;font-weight:500}.mat-stepper-horizontal[_ngcontent-%COMP%], .mat-stepper-vertical[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-step-label[_ngcontent-%COMP%]{font-size:14px;font-weight:400}.mat-step-sub-label-error[_ngcontent-%COMP%]{font-weight:400}.mat-step-label-error[_ngcontent-%COMP%]{font-size:14px}.mat-step-label-selected[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.mat-tab-group[_ngcontent-%COMP%], .mat-tab-label[_ngcontent-%COMP%], .mat-tab-link[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-tab-label[_ngcontent-%COMP%], .mat-tab-link[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.mat-toolbar[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font:500 20px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0}.mat-tooltip[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:10px;padding-top:6px;padding-bottom:6px}.mat-tooltip-handset[_ngcontent-%COMP%]{font-size:14px;padding-top:8px;padding-bottom:8px}.mat-list-item[_ngcontent-%COMP%], .mat-list-option[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]{font-size:16px}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:14px}.mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%]{font-size:16px}.mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:14px}.mat-list-base[_ngcontent-%COMP%] .mat-subheader[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:500}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]{font-size:12px}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2), .mat-list-base[dense][_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%]{font-size:12px}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:12px}.mat-list-base[dense][_ngcontent-%COMP%] .mat-subheader[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:12px;font-weight:500}.mat-option[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:16px}.mat-optgroup-label[_ngcontent-%COMP%]{font:500 14px/24px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-simple-snackbar[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px}.mat-simple-snackbar-action[_ngcontent-%COMP%]{line-height:1;font-family:inherit;font-size:inherit;font-weight:500}.mat-tree[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-nested-tree-node[_ngcontent-%COMP%], .mat-tree-node[_ngcontent-%COMP%]{font-weight:400;font-size:14px}.mat-ripple[_ngcontent-%COMP%]{overflow:hidden;position:relative}.mat-ripple[_ngcontent-%COMP%]:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded[_ngcontent-%COMP%]{overflow:visible}.mat-ripple-element[_ngcontent-%COMP%]{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0,0,.2,1);-ms-transform:scale(0);transform:scale(0)}.cdk-high-contrast-active[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{display:none}.cdk-visually-hidden[_ngcontent-%COMP%]{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;outline:0;-webkit-appearance:none;-moz-appearance:none}.cdk-global-overlay-wrapper[_ngcontent-%COMP%], .cdk-overlay-container[_ngcontent-%COMP%]{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container[_ngcontent-%COMP%]{position:fixed;z-index:1000}.cdk-overlay-container[_ngcontent-%COMP%]:empty{display:none}.cdk-global-overlay-wrapper[_ngcontent-%COMP%], .cdk-overlay-pane[_ngcontent-%COMP%]{display:-ms-flexbox;display:flex;position:absolute;z-index:1000}.cdk-overlay-pane[_ngcontent-%COMP%]{pointer-events:auto;box-sizing:border-box;max-width:100%;max-height:100%}.cdk-overlay-backdrop[_ngcontent-%COMP%]{position:absolute;top:0;bottom:0;left:0;right:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:transparent;transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:1}@media screen and (-ms-high-contrast:active){.cdk-overlay-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:.6}}.cdk-overlay-dark-backdrop[_ngcontent-%COMP%]{background:rgba(0,0,0,.32)}.cdk-overlay-transparent-backdrop[_ngcontent-%COMP%], .cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:0}.cdk-overlay-connected-position-bounding-box[_ngcontent-%COMP%]{position:absolute;z-index:1000;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock[_ngcontent-%COMP%]{position:fixed;width:100%;overflow-y:scroll}@-webkit-keyframes cdk-text-field-autofill-start{\n }@keyframes cdk-text-field-autofill-start{\n }@-webkit-keyframes cdk-text-field-autofill-end{\n }@keyframes cdk-text-field-autofill-end{\n }.cdk-text-field-autofill-monitored[_ngcontent-%COMP%]:-webkit-autofill{-webkit-animation:cdk-text-field-autofill-start 0s 1ms;animation:cdk-text-field-autofill-start 0s 1ms}.cdk-text-field-autofill-monitored[_ngcontent-%COMP%]:not(:-webkit-autofill){-webkit-animation:cdk-text-field-autofill-end 0s 1ms;animation:cdk-text-field-autofill-end 0s 1ms}textarea.cdk-textarea-autosize[_ngcontent-%COMP%]{resize:none}textarea.cdk-textarea-autosize-measuring[_ngcontent-%COMP%]{padding:2px 0!important;box-sizing:content-box!important;height:auto!important;overflow:hidden!important}textarea.cdk-textarea-autosize-measuring-firefox[_ngcontent-%COMP%]{padding:2px 0!important;box-sizing:content-box!important;height:0!important}.mat-focus-indicator[_ngcontent-%COMP%], .mat-mdc-focus-indicator[_ngcontent-%COMP%]{position:relative}h3[_ngcontent-%COMP%]{margin:0 0 8px;padding-bottom:16px;border-bottom:1px solid #999}.box-margin[_ngcontent-%COMP%]{margin:0 32px}.box-margin[_ngcontent-%COMP%] .full-width[_ngcontent-%COMP%]{width:100%}.box-margin[_ngcontent-%COMP%] .places-list[_ngcontent-%COMP%]{margin-top:8px}.box-margin[_ngcontent-%COMP%] .places-list[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{width:100%}.box-margin[_ngcontent-%COMP%] .places-list[_ngcontent-%COMP%] .empty-table[_ngcontent-%COMP%]{text-align:center;padding:8px 0}.box-margin[_ngcontent-%COMP%] .places-list[_ngcontent-%COMP%] button[disabled][_ngcontent-%COMP%] .mat-icon.mat-warn[_ngcontent-%COMP%]{cursor:default;opacity:.5;color:#ccc}.box-margin[_ngcontent-%COMP%] .places-action[_ngcontent-%COMP%]{display:-ms-flexbox;display:flex;-ms-flex-direction:row-reverse;flex-direction:row-reverse;-ms-flex-align:center;align-items:center}.box-margin[_ngcontent-%COMP%] .places-action[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{padding-right:12px;color:#ff9800;-ms-flex:1;flex:1}"]}),t})();var An=n("XoVe"),In=n("UPR3"),Rn=n("i+32");function Nn(t,e){if(1&t){const t=o.Ub();o.Tb(0,"div",14),o.Tb(1,"app-dpd-edit-workers-dropdown-2",15),o.bc("editWorkerEvent",function(e){return o.yc(t),o.fc().onEditWorkerChange(e)})("removeWorkerEvent",function(e){return o.yc(t),o.fc().onRemoveWorkerChange(e)}),o.Sb(),o.Sb()}if(2&t){const t=o.fc();o.Cb(1),o.nc("workersArray",t.workersFormArray)("editionMode",!0)("idSalarieRepresentant",t.idSalarieRepresentant)}}function Yn(t,e){if(1&t){const t=o.Ub();o.Tb(0,"div",16),o.Tb(1,"button",17),o.bc("click",function(){return o.yc(t),o.fc().addWorker()}),o.gc(2,"translate"),o.Hc(3),o.gc(4,"translate"),o.Sb(),o.Sb()}2&t&&(o.Cb(1),o.nc("title",o.hc(2,2,"dpd.salarie.ajouter")),o.Cb(2),o.Jc(" ",o.hc(4,4,"dpd.salarie.ajouter")," "))}function Hn(t,e){1&t&&(o.Tb(0,"mat-error"),o.Hc(1),o.gc(2,"translate"),o.Sb()),2&t&&(o.Cb(1),o.Jc(" ",o.hc(2,1,"dpd.salarie.error.unicity")," "))}function jn(t,e){if(1&t){const t=o.Ub();o.Tb(0,"app-single-worker-form-2",18),o.bc("submitWorkerEvent",function(e){return o.yc(t),o.fc().onSaveOrUpdateWorker(e)})("closeEvent",function(){return o.yc(t),o.fc().onCancel()}),o.Sb()}if(2&t){const t=o.fc();o.nc("formGp",t.selectedWorkerFg)}}let Fn=(()=>{class t extends At.a{constructor(t,e,n){super(t),this.translateService=t,this.configSharedService=e,this.fb=n}get prestationStartDateCtrl(){return this.form.get("dateDebut")}get prestationEndDateCtrl(){return this.form.get("dateFin")}load(){this.numeroModele=this.configSharedService.numeroModele,this.form=this.configSharedService.form.get(rt.a.WORKERS),this.workersFormArray=this.form.get("workers"),this._updatePrestationDates();const t=this.configSharedService.form.get(rt.a.REPRESENTATIVE);this.idSalarieRepresentant=t.get("idSalarie").value,this.subscriptions.push(t.valueChanges.pipe(Object(u.a)(t=>t.idSalarie),Object(rn.a)()).subscribe(t=>this.idSalarieRepresentant=t)),0===this.workersFormArray.length&&this.addWorker(),null!==this.indexOfSelectedWorker&&(this.selectedWorkerFg=this.workersFormArray.at(this.indexOfSelectedWorker))}addWorker(){this.selectedWorkerFg=new Q(this.fb,new h.a({}),this.configSharedService.countries,!1,this.numeroModele,!1).build(),this.workersFormArray.push(this.selectedWorkerFg);const t=this.workersFormArray.controls.findIndex(t=>t.get("id").value===this.selectedWorkerFg.get("id").value);this.configSharedService.setWorkerIndex(t)}onEditWorkerChange(t){this.configSharedService.setWorkerIndex(t),this.selectedWorkerFg=this.workersFormArray.at(t),this.selectedWorkerFg.get("isSavedInArray").setValue(!1)}onSaveOrUpdateWorker(t){this.configSharedService.setlastSavedWorkersArrayRawValue(this.workersFormArray.getRawValue()),this._cleanSelection(),this._updatePrestationDates(),t.get("isSavedInArray").setValue(!0),this.updateRepresentativeForm()}onCancel(){this.configSharedService.lastSavedWorkersArrayRawValue[this.indexOfSelectedWorker]?(this.selectedWorkerFg.reset(this.configSharedService.lastSavedWorkersArrayRawValue[this.indexOfSelectedWorker]),this.selectedWorkerFg.get("isSavedInArray").setValue(!0),this._cleanSelection()):this.onRemoveWorkerChange(this.indexOfSelectedWorker)}onRemoveWorkerChange(t){this.workersFormArray.removeAt(t),this.configSharedService.setlastSavedWorkersArrayRawValue(this.workersFormArray.getRawValue()),0===this.workersFormArray.controls.length?this.addWorker():this._cleanSelection(),this._updatePrestationDates()}_cleanSelection(){this.selectedWorkerFg=null,this.configSharedService.setWorkerIndex(null)}_updatePrestationDates(){const t=[],e=[];this.workersFormArray.controls.forEach(n=>{const i=n.get("dateDebut"),a=n.get("dateFin");i&&i.value&&t.push(new Date(i.value)),a&&a.value&&e.push(new Date(a.value))});const n=0===t.length?null:new Date(Math.min(...t)),i=0===e.length?null:new Date(Math.max(...e));this.prestationStartDateCtrl.setValue(n?new Date(n):null),this.prestationEndDateCtrl.setValue(i?new Date(i):null)}updateRepresentativeForm(){this.configSharedService.form.get(rt.a.REPRESENTATIVE).updateValueAndValidity()}get indexOfSelectedWorker(){return this.configSharedService.workerIndex}displayDropdown(){return 1===this.workersFormArray.length&&!0===this.workersFormArray.at(0).get("isSavedInArray").value||this.workersFormArray.length>1}}return t.\u0275fac=function(e){return new(e||t)(o.Nb(xt.d),o.Nb(mt.a),o.Nb(p.d))},t.\u0275cmp=o.Hb({type:t,selectors:[["app-dpd-edit-workers-2"]],features:[o.zb],decls:19,vars:12,consts:[["appLabel","dpd.menu.salaries"],[1,"box-margin",3,"formGroup"],[1,"inline-form"],["data-cy","prestation-date-debut","formControlName","dateDebut",1,"inline-item",3,"inputTitle","isRequired"],[1,"spacer"],["data-cy","prestation-date-fin","formControlName","dateFin",1,"inline-item",3,"inputTitle","isRequired"],[1,"box-margin"],[1,"description"],[3,"innerHTML"],["message","dpd.salarie.info.details._info"],["class","workers-list mat-elevation-z4",4,"ngIf"],["class","workers-action",4,"ngIf","ngIfElse"],[4,"ngIf"],["singleWorkerComponent",""],[1,"workers-list","mat-elevation-z4"],[3,"workersArray","editionMode","idSalarieRepresentant","editWorkerEvent","removeWorkerEvent"],[1,"workers-action"],["mat-raised-button","","aria-label","add","color","primary",1,"add-worker",3,"title","click"],[3,"formGp","submitWorkerEvent","closeEvent"]],template:function(t,e){if(1&t&&(o.Ob(0,"h3",0),o.Tb(1,"div",1),o.Tb(2,"div",2),o.Ob(3,"app-date-form-2",3),o.Ob(4,"div",4),o.Ob(5,"app-date-form-2",5),o.Sb(),o.Sb(),o.Tb(6,"div",6),o.Tb(7,"div",7),o.Tb(8,"mat-icon"),o.Hc(9,"info"),o.Sb(),o.Ob(10,"span",8),o.gc(11,"translate"),o.Ob(12,"app-infobulle",9),o.Sb(),o.Rb(13),o.Fc(14,Nn,2,3,"div",10),o.Fc(15,Yn,5,6,"div",11),o.Fc(16,Hn,3,3,"mat-error",12),o.Qb(),o.Fc(17,jn,1,1,"ng-template",null,13,o.Gc),o.Sb()),2&t){const t=o.vc(18);o.Cb(1),o.nc("formGroup",e.form),o.Cb(2),o.nc("inputTitle","dpd.prestation.date.debut")("isRequired",!0),o.Cb(2),o.nc("inputTitle","dpd.prestation.date.fin")("isRequired",!0),o.Cb(5),o.nc("innerHTML",o.hc(11,10,"dpd.salarie.info.details"),o.zc),o.Cb(4),o.nc("ngIf",e.displayDropdown()),o.Cb(1),o.nc("ngIf",null===e.indexOfSelectedWorker)("ngIfElse",t),o.Cb(1),o.nc("ngIf",e.doesControlHaveError("workers","unicityWorkers"))}},directives:[Ot.a,p.p,p.i,In.a,p.o,p.g,Me.a,It.a,i.l,Ie,kt.a,St.b,Rn.a],pipes:[xt.c],styles:["h3[_ngcontent-%COMP%]{margin:0 0 8px;padding-bottom:16px;border-bottom:1px solid #999}.box-margin[_ngcontent-%COMP%]{margin:0 32px}.box-margin[_ngcontent-%COMP%] .description[_ngcontent-%COMP%]{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.box-margin[_ngcontent-%COMP%] .description[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{opacity:.7;margin-right:8px}.box-margin[_ngcontent-%COMP%] .description[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-style:italic}.box-margin[_ngcontent-%COMP%] .inline-form[_ngcontent-%COMP%]{display:-ms-flexbox;display:flex;-ms-flex-flow:row;flex-flow:row;margin:0 20px}.box-margin[_ngcontent-%COMP%] .inline-form[_ngcontent-%COMP%] .spacer[_ngcontent-%COMP%]{width:50px}.box-margin[_ngcontent-%COMP%] .inline-form[_ngcontent-%COMP%] .inline-item[_ngcontent-%COMP%]{-ms-flex:1;flex:1}.box-margin[_ngcontent-%COMP%] .workers-list[_ngcontent-%COMP%] .trigger[_ngcontent-%COMP%]{cursor:pointer;display:-ms-flexbox;display:flex;line-height:48px;font-size:1.2rem}.box-margin[_ngcontent-%COMP%] .workers-action[_ngcontent-%COMP%]{display:-ms-flexbox;display:flex;-ms-flex-direction:row-reverse;flex-direction:row-reverse}"]}),t})();var zn=n("5QHs"),Vn=n("LUZP"),Bn=n("CtHx"),Wn=n("XNiG"),Un=n("VRyK"),qn=n("JX91"),Gn=n("eIep"),Jn=n("JIr8"),Zn=n("Q9JA"),$n=n("PDjf"),Xn=n("BTe0"),Kn=n("ZFy/"),Qn=n("lawv");function ti(t,e){1&t&&(o.Tb(0,"h1"),o.Hc(1),o.gc(2,"translate"),o.Sb()),2&t&&(o.Cb(1),o.Ic(o.hc(2,1,"dpd.list.nontransmis.titre")))}function ei(t,e){1&t&&(o.Tb(0,"h1"),o.Hc(1),o.gc(2,"translate"),o.Sb()),2&t&&(o.Cb(1),o.Ic(o.hc(2,1,"dpd.list.transmis.titre")))}function ni(t,e){1&t&&(o.Tb(0,"div",32),o.Hc(1),o.gc(2,"translate"),o.Sb()),2&t&&(o.Cb(1),o.Jc(" ",o.hc(2,1,"dpd.list.transmis.explication")," "))}function ii(t,e){1&t&&o.Ob(0,"mat-progress-bar",33)}function ai(t,e){1&t&&o.Ob(0,"div",36)}function ri(t,e){if(1&t&&(o.Tb(0,"div",34),o.Fc(1,ai,1,0,"div",35),o.Sb()),2&t){const t=o.fc();o.Cb(1),o.nc("ngIf",t.isRateLimitReached)}}function oi(t,e){1&t&&(o.Tb(0,"th",37),o.Hc(1),o.gc(2,"translate"),o.Sb()),2&t&&(o.Cb(1),o.Jc(" ",o.hc(2,1,"dpd.list.result.code")," "))}function si(t,e){if(1&t&&(o.Tb(0,"td",38),o.Hc(1),o.Sb()),2&t){const t=e.$implicit;o.Cb(1),o.Ic(t.code)}}function li(t,e){1&t&&(o.Tb(0,"th",39),o.Hc(1),o.gc(2,"translate"),o.Sb()),2&t&&(o.Cb(1),o.Jc(" ",o.hc(2,1,"dpd.list.result.titre")," "))}function ci(t,e){if(1&t&&(o.Tb(0,"td",38),o.Hc(1),o.Sb()),2&t){const t=e.$implicit;o.Cb(1),o.Ic(t.titre)}}function di(t,e){1&t&&(o.Tb(0,"span"),o.Hc(1),o.gc(2,"translate"),o.Sb()),2&t&&(o.Cb(1),o.Ic(o.hc(2,1,"dpd.list.result.date.transmission")))}function ui(t,e){1&t&&(o.Tb(0,"span"),o.Hc(1),o.gc(2,"translate"),o.Sb()),2&t&&(o.Cb(1),o.Ic(o.hc(2,1,"dpd.list.result.date.maj")))}function hi(t,e){if(1&t&&(o.Tb(0,"th",40),o.Fc(1,di,3,3,"span",1),o.Fc(2,ui,3,3,"span",1),o.Sb()),2&t){const t=o.fc();o.Cb(1),o.nc("ngIf",t.isTransmited),o.Cb(1),o.nc("ngIf",!t.isTransmited)}}function mi(t,e){if(1&t&&(o.Tb(0,"span"),o.Hc(1),o.Sb()),2&t){const t=o.fc().$implicit;o.Cb(1),o.Ic(t.dateEtat)}}function pi(t,e){if(1&t&&(o.Tb(0,"td",38),o.Fc(1,mi,2,1,"span",1),o.Sb()),2&t){const t=e.$implicit;o.Cb(1),o.nc("ngIf",t.dateEtat)}}function fi(t,e){1&t&&(o.Tb(0,"th",39),o.Hc(1),o.gc(2,"translate"),o.Sb()),2&t&&(o.Cb(1),o.Jc(" ",o.hc(2,1,"dpd.list.result.prestataire")," "))}function gi(t,e){if(1&t&&(o.Tb(0,"td",38),o.Hc(1),o.Sb()),2&t){const t=e.$implicit;o.Cb(1),o.Ic(t.entrepriseEtrangere.raisonSociale)}}function bi(t,e){1&t&&(o.Tb(0,"th",39),o.Hc(1),o.gc(2,"translate"),o.Sb()),2&t&&(o.Cb(1),o.Jc(" ",o.hc(2,1,"dpd.list.result.destinataire")," "))}function _i(t,e){if(1&t&&(o.Tb(0,"td",38),o.Hc(1),o.Sb()),2&t){const t=e.$implicit;o.Cb(1),o.Ic(null==t.client?null:t.client.raisonSociale)}}function yi(t,e){1&t&&(o.Tb(0,"th",40),o.Hc(1),o.gc(2,"translate"),o.Sb()),2&t&&(o.Cb(1),o.Jc(" ",o.hc(2,1,"dpd.list.result.date.debut")," "))}function vi(t,e){if(1&t&&(o.Tb(0,"span"),o.Hc(1),o.gc(2,"amDateFormat"),o.gc(3,"amParse"),o.Sb()),2&t){const t=o.fc().$implicit;o.Cb(1),o.Ic(o.ic(2,1,o.ic(3,4,t.prestation.dateDebut,"YYYY-MM-DD"),"DD/MM/YYYY"))}}function Ci(t,e){if(1&t&&(o.Tb(0,"td",38),o.Fc(1,vi,4,7,"span",1),o.Sb()),2&t){const t=e.$implicit,n=o.fc();o.Cb(1),o.nc("ngIf",n.showDate(t.prestation.dateDebut))}}function wi(t,e){1&t&&(o.Tb(0,"th",40),o.Hc(1),o.gc(2,"translate"),o.Sb()),2&t&&(o.Cb(1),o.Jc(" ",o.hc(2,1,"dpd.list.result.date.fin")," "))}function xi(t,e){if(1&t&&(o.Tb(0,"span"),o.Hc(1),o.gc(2,"amDateFormat"),o.gc(3,"amParse"),o.Sb()),2&t){const t=o.fc().$implicit;o.Cb(1),o.Ic(o.ic(2,1,o.ic(3,4,t.prestation.dateFin,"YYYY-MM-DD"),"DD/MM/YYYY"))}}function Mi(t,e){if(1&t&&(o.Tb(0,"td",38),o.Fc(1,xi,4,7,"span",1),o.Sb()),2&t){const t=e.$implicit,n=o.fc();o.Cb(1),o.nc("ngIf",n.showDate(t.prestation.dateFin))}}function Oi(t,e){1&t&&(o.Tb(0,"th",41),o.Hc(1),o.gc(2,"translate"),o.Sb()),2&t&&(o.Cb(1),o.Jc(" ",o.hc(2,1,"dpd.list.result.actions")," "))}function ki(t,e){if(1&t){const t=o.Ub();o.Tb(0,"div",44),o.Tb(1,"button",45),o.bc("click",function(){o.yc(t);const e=o.fc().$implicit;return o.fc().editerDPD(e.code)}),o.gc(2,"translate"),o.Tb(3,"mat-icon",46),o.Hc(4,"edit"),o.Sb(),o.Sb(),o.Tb(5,"button",47),o.bc("click",function(){o.yc(t);const e=o.fc().$implicit;return o.fc().supprimerDPD(e.code)}),o.gc(6,"translate"),o.Tb(7,"mat-icon",13),o.Hc(8,"delete"),o.Sb(),o.Sb(),o.Sb()}2&t&&(o.Cb(1),o.nc("matTooltip",o.hc(2,2,"dpd.editer")),o.Cb(4),o.nc("matTooltip",o.hc(6,4,"dpd.supprimer")))}function Si(t,e){if(1&t){const t=o.Ub();o.Tb(0,"button",45),o.bc("click",function(){o.yc(t);const e=o.fc(2).$implicit;return o.fc().editerDPD(e.code)}),o.gc(1,"translate"),o.Tb(2,"mat-icon",46),o.Hc(3,"edit"),o.Sb(),o.Sb()}2&t&&o.nc("matTooltip",o.hc(1,1,"dpd.completer"))}function Ti(t,e){1&t&&(o.Tb(0,"button",54),o.Ob(1,"mat-icon",46),o.Sb())}function Pi(t,e){if(1&t){const t=o.Ub();o.Tb(0,"button",55),o.bc("click",function(){o.yc(t);const e=o.fc(2).$implicit;return o.fc().annulerDPD(e.code)}),o.gc(1,"translate"),o.Tb(2,"mat-icon",13),o.Hc(3,"delete"),o.Sb(),o.Sb()}2&t&&o.nc("matTooltip",o.hc(1,1,"dpd.annuler"))}function Li(t,e){if(1&t){const t=o.Ub();o.Tb(0,"div",44),o.Tb(1,"button",48),o.bc("click",function(){o.yc(t);const e=o.fc().$implicit;return o.fc().voirDPD(e.code)}),o.gc(2,"translate"),o.Tb(3,"mat-icon",46),o.Hc(4,"visibility"),o.Sb(),o.Sb(),o.Tb(5,"button",49),o.bc("click",function(){o.yc(t);const e=o.fc().$implicit;return o.fc().telechargerDPD(e.code)}),o.gc(6,"translate"),o.Tb(7,"mat-icon",46),o.Hc(8,"cloud_download"),o.Sb(),o.Sb(),o.Fc(9,Si,4,3,"button",50),o.Fc(10,Ti,2,0,"button",51),o.Tb(11,"a",52),o.gc(12,"translate"),o.Tb(13,"mat-icon",46),o.Hc(14,"content_copy"),o.Sb(),o.Sb(),o.Fc(15,Pi,4,3,"button",53),o.Sb()}if(2&t){const t=o.fc().$implicit,e=o.fc();o.Cb(1),o.nc("matTooltip",o.hc(2,7,"dpd.consulter")),o.Cb(4),o.nc("matTooltip",o.hc(6,9,"dpd.telecharger")),o.Cb(4),o.nc("ngIf",e.canBeCompleted(t)),o.Cb(1),o.nc("ngIf",!e.canBeCompleted(t)),o.Cb(1),o.pc("routerLink","/dpd/duplicate/",t.code,""),o.nc("matTooltip",o.hc(12,11,"dpd.dupliquer")),o.Cb(4),o.nc("ngIf",e.canBeCanceled(t))}}function Di(t,e){if(1&t&&(o.Tb(0,"td",38),o.Fc(1,ki,9,6,"div",42),o.Fc(2,Li,16,13,"ng-template",null,43,o.Gc),o.Sb()),2&t){const t=o.vc(3),e=o.fc();o.Cb(1),o.nc("ngIf",!e.isTransmited)("ngIfElse",t)}}function Ei(t,e){1&t&&o.Ob(0,"tr",56)}function Ai(t,e){1&t&&o.Ob(0,"tr",57)}let Ii=(()=>{class t extends yt.a{constructor(t,e,n,i,a,r,o){super(t),this.translateService=t,this.declarationService=e,this.router=n,this.route=i,this.paginatorIntl=a,this.dialog=r,this.configurationService=o,this.data=[],this.filterIdModel="",this.filterTitreModel="",this.filterSalarieModel="",this.resultsLength=0,this.isLoadingResults=!0,this.isRateLimitReached=!1,this.filterChange=new Wn.a,this.selection=new Bn.c(!0,[]),this.subscriptions.push(this.translateService.get("common.liste.nb.page").subscribe(t=>{this.paginatorIntl.itemsPerPageLabel=t})),this.subscriptions.push(this.configurationService.getNbItemByPage().subscribe(t=>this.nbItemByPage=t))}load(){this.subscriptions.push(this.route.data.subscribe(t=>{this.isTransmited=t.isTransmited})),this.displayedColumns=["code","titre","date_etat","raison_sociale_entreprise","raison_sociale_client","date_debut_prestation","date_fin_prestation","action"],this.sort.active="date_etat",this.sort.direction="desc",this.paginator.pageSize=5,this.sort.sortChange.subscribe(()=>this.paginator.pageIndex=0),this.loadDeclarations()}filterId(){this.toId&&clearTimeout(this.toId),this.toId=setTimeout(()=>{this.toId=null,this.filterChange.next()},800)}filterTitre(){this.toTitre&&clearTimeout(this.toTitre),this.toTitre=setTimeout(()=>{this.toTitre=null,this.filterChange.next()},800)}filterSalarie(){this.toSalarie&&clearTimeout(this.toSalarie),this.toSalarie=setTimeout(()=>{this.toSalarie=null,this.filterChange.next()},800)}clearFilters(){this.filterIdModel="",this.filterTitreModel="",this.filterSalarieModel="",this.filterChange.next()}showDate(t){return t&&"Invalid date"!==t}annulerDPD(t){this.dialog.open(wt.a,{id:"dialog-annuler-dpd",data:{title:this.translateService.instant("dpd.list.annuler")+" "+t,question:this.translateService.instant("dpd.list.annuler.question"),okButtonText:this.translateService.instant("common.oui"),cancelButtonText:this.translateService.instant("common.non")}}).afterClosed().subscribe(e=>{!0===e&&this.declarationService.supprimerDeclaration(t).subscribe(()=>{this.loadDeclarations()})})}supprimerDPD(t){this.dialog.open(wt.a,{id:"dialog-supprimer-dpd",data:{title:this.translateService.instant("dpd.list.supprimer")+" "+t,question:this.translateService.instant("dpd.list.supprimer.question"),okButtonText:this.translateService.instant("common.oui"),cancelButtonText:this.translateService.instant("common.non")}}).afterClosed().subscribe(e=>{!0===e&&this.declarationService.supprimerDeclaration(t).subscribe(()=>{this.loadDeclarations()})})}editerDPD(t){this.router.navigate(this.isTransmited?["/dpd/complete/",t]:["/dpd/edit/",t])}canBeCompleted(t){return m(m().format("YYYY-MM-DD")).isSameOrBefore(m(t.prestation.dateFin).add(3,"day"))&&4!==t.numeroModele}canBeCanceled(t){return m(m().format("YYYY-MM-DD")).isSameOrBefore(m(t.prestation.dateFin))}voirDPD(t){this.router.navigate(["/dpd/show/",t])}telechargerDPD(t){const e=this.dialog.open(Zn.a,{data:{message:"dpd.download.enCours"}});this.declarationService.getAccuseReception(t).subscribe(t=>{if(window.navigator.msSaveBlob){const e=atob(t.file),n=new ArrayBuffer(e.length),i=new Uint8Array(n);for(let t=0;t<e.length;t++)i[t]=e.charCodeAt(t);const a=new Blob([n],{type:"application/pdf"});window.navigator.msSaveOrOpenBlob(a,t.nom)}else{const e=document.getElementById("dwnldLnk");e.href="data:application/octet-stream;base64,"+t.file,e.setAttribute("download",t.nom),e.click()}e.close()})}loadDeclarations(){const t=[this.filterChange,this.paginator.page,this.sort.sortChange];Object(Un.a)(...t).pipe(Object(qn.a)({}),Object(Gn.a)(()=>(this.isLoadingResults=!0,this.declarationService.searchDeclarations(this.isTransmited,this.filterIdModel,this.filterTitreModel,this.filterSalarieModel,this.sort.active,this.sort.direction,this.paginator.pageIndex,this.paginator.pageSize))),Object(u.a)(t=>(this.isLoadingResults=!1,this.isRateLimitReached=!1,this.resultsLength=t.total,t.items)),Object(Jn.a)(()=>(this.isLoadingResults=!1,this.isRateLimitReached=!0,Object(d.a)([])))).subscribe(t=>{this.data=t,this.data.forEach(t=>{const e=m.utc(t.dateEtat).format(),n=m(e);t.dateEtat=n.format("DD/MM/YYYY HH:mm")})})}}return t.\u0275fac=function(e){return new(e||t)(o.Nb(xt.d),o.Nb(st.a),o.Nb(r.f),o.Nb(r.a),o.Nb(zn.b),o.Nb(Mt.b),o.Nb(ft.a))},t.\u0275cmp=o.Hb({type:t,selectors:[["app-dpd-list"]],viewQuery:function(t,e){if(1&t&&(o.Lc(zn.a,3),o.Lc(Vn.a,3)),2&t){let t;o.uc(t=o.cc())&&(e.paginator=t.first),o.uc(t=o.cc())&&(e.sort=t.first)}},features:[o.zb],decls:58,vars:22,consts:[["id","list-dpd"],[4,"ngIf"],["class","transmission-explication alert-green",4,"ngIf"],["mode","indeterminate",4,"ngIf"],[1,"example-container"],["class","example-loading-shade",4,"ngIf"],[1,"example-table-container"],["id","table-filters"],["appearance","outline"],["matInput","","aria-label","code","name","code-filter",3,"ngModel","ngModelChange","keyup"],["matInput","","aria-label","title","name","titre-filter",3,"ngModel","ngModelChange","keyup"],["matInput","","aria-label","salarie","name","salarie-filter",3,"ngModel","ngModelChange","keyup"],["mat-icon-button","","aria-label","Clear",3,"click"],["color","warn"],["mat-table","","matSort","","matSortDisableClear","",1,"example-table",3,"dataSource"],["matColumnDef","code"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","titre"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["matColumnDef","date_etat"],["mat-header-cell","","mat-sort-header","","disableClear","",4,"matHeaderCellDef"],["matColumnDef","raison_sociale_entreprise"],["matColumnDef","raison_sociale_client"],["matColumnDef","date_debut_prestation"],["matColumnDef","date_fin_prestation"],["matColumnDef","action"],["mat-header-cell","","class","action-col",4,"matHeaderCellDef"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["showFirstLastButtons","",3,"length","pageSizeOptions"],["id","dwnldLnk",2,"display","none"],[1,"transmission-explication","alert-green"],["mode","indeterminate"],[1,"example-loading-shade"],["class","example-rate-limit-reached","appLabel","dpd.list.indispo",4,"ngIf"],["appLabel","dpd.list.indispo",1,"example-rate-limit-reached"],["mat-header-cell",""],["mat-cell",""],["mat-header-cell","","mat-sort-header",""],["mat-header-cell","","mat-sort-header","","disableClear",""],["mat-header-cell","",1,"action-col"],["class","action-ligne",4,"ngIf","ngIfElse"],["transmitted",""],[1,"action-ligne"],["mat-icon-button","","aria-label","Edit","matTooltipClass","warnTooltip","matTooltipPosition","right",1,"editer-dpd",3,"matTooltip","click"],["color","primary"],["mat-icon-button","","aria-label","Delete","matTooltipClass","warnTooltip","matTooltipPosition","right",1,"supprimer-dpd",3,"matTooltip","click"],["mat-icon-button","","aria-label","See","matTooltipClass","warnTooltip","matTooltipPosition","right",1,"voir-dpd",3,"matTooltip","click"],["mat-icon-button","","aria-label","Download","matTooltipClass","warnTooltip","matTooltipPosition","right",1,"telecharger-dpd",3,"matTooltip","click"],["mat-icon-button","","aria-label","Edit","class","editer-dpd","matTooltipClass","warnTooltip","matTooltipPosition","right",3,"matTooltip","click",4,"ngIf"],["mat-icon-button","","aria-label","Edit","class","no-act-dpd","disabled","true",4,"ngIf"],["aria-label","Duplicate","routerLinkActive","active","matTooltipClass","warnTooltip","matTooltipPosition","right",1,"cursor-pointer","last","duplicate-dpd",3,"routerLink","matTooltip"],["mat-icon-button","","aria-label","Undo","class","annuler-dpd","matTooltipClass","warnTooltip","matTooltipPosition","right",3,"matTooltip","click",4,"ngIf"],["mat-icon-button","","aria-label","Edit","disabled","true",1,"no-act-dpd"],["mat-icon-button","","aria-label","Undo","matTooltipClass","warnTooltip","matTooltipPosition","right",1,"annuler-dpd",3,"matTooltip","click"],["mat-header-row",""],["mat-row",""]],template:function(t,e){1&t&&(o.Tb(0,"div",0),o.Fc(1,ti,3,3,"h1",1),o.Fc(2,ei,3,3,"h1",1),o.Fc(3,ni,3,3,"div",2),o.Tb(4,"mat-card"),o.Fc(5,ii,1,0,"mat-progress-bar",3),o.Tb(6,"mat-card-content"),o.Tb(7,"div",4),o.Fc(8,ri,2,1,"div",5),o.Tb(9,"div",6),o.Tb(10,"div",7),o.Tb(11,"mat-form-field",8),o.Tb(12,"mat-label"),o.Hc(13),o.gc(14,"translate"),o.Sb(),o.Tb(15,"input",9),o.bc("ngModelChange",function(t){return e.filterIdModel=t})("keyup",function(){return e.filterId()}),o.Sb(),o.Sb(),o.Tb(16,"mat-form-field",8),o.Tb(17,"mat-label"),o.Hc(18),o.gc(19,"translate"),o.Sb(),o.Tb(20,"input",10),o.bc("ngModelChange",function(t){return e.filterTitreModel=t})("keyup",function(){return e.filterTitre()}),o.Sb(),o.Sb(),o.Tb(21,"mat-form-field",8),o.Tb(22,"mat-label"),o.Hc(23),o.gc(24,"translate"),o.Sb(),o.Tb(25,"input",11),o.bc("ngModelChange",function(t){return e.filterSalarieModel=t})("keyup",function(){return e.filterSalarie()}),o.Sb(),o.Sb(),o.Tb(26,"button",12),o.bc("click",function(){return e.clearFilters()}),o.Tb(27,"mat-icon",13),o.Hc(28,"clear"),o.Sb(),o.Sb(),o.Sb(),o.Tb(29,"table",14),o.Rb(30,15),o.Fc(31,oi,3,3,"th",16),o.Fc(32,si,2,1,"td",17),o.Qb(),o.Rb(33,18),o.Fc(34,li,3,3,"th",19),o.Fc(35,ci,2,1,"td",17),o.Qb(),o.Rb(36,20),o.Fc(37,hi,3,2,"th",21),o.Fc(38,pi,2,1,"td",17),o.Qb(),o.Rb(39,22),o.Fc(40,fi,3,3,"th",19),o.Fc(41,gi,2,1,"td",17),o.Qb(),o.Rb(42,23),o.Fc(43,bi,3,3,"th",19),o.Fc(44,_i,2,1,"td",17),o.Qb(),o.Rb(45,24),o.Fc(46,yi,3,3,"th",21),o.Fc(47,Ci,2,1,"td",17),o.Qb(),o.Rb(48,25),o.Fc(49,wi,3,3,"th",21),o.Fc(50,Mi,2,1,"td",17),o.Qb(),o.Rb(51,26),o.Fc(52,Oi,3,3,"th",27),o.Fc(53,Di,4,2,"td",17),o.Qb(),o.Fc(54,Ei,1,0,"tr",28),o.Fc(55,Ai,1,0,"tr",29),o.Sb(),o.Sb(),o.Ob(56,"mat-paginator",30),o.Sb(),o.Sb(),o.Sb(),o.Sb(),o.Ob(57,"a",31)),2&t&&(o.Cb(1),o.nc("ngIf",!e.isTransmited),o.Cb(1),o.nc("ngIf",e.isTransmited),o.Cb(1),o.nc("ngIf",e.isTransmited),o.Cb(2),o.nc("ngIf",e.isLoadingResults||e.isRateLimitReached),o.Cb(3),o.nc("ngIf",e.isLoadingResults||e.isRateLimitReached),o.Cb(5),o.Ic(o.hc(14,16,"dpd.list.filtre.code")),o.Cb(2),o.nc("ngModel",e.filterIdModel),o.Cb(3),o.Ic(o.hc(19,18,"dpd.list.filtre.titre")),o.Cb(2),o.nc("ngModel",e.filterTitreModel),o.Cb(3),o.Ic(o.hc(24,20,"dpd.list.filtre.salarie")),o.Cb(2),o.nc("ngModel",e.filterSalarieModel),o.Cb(4),o.nc("dataSource",e.data),o.Cb(25),o.nc("matHeaderRowDef",e.displayedColumns),o.Cb(1),o.nc("matRowDefColumns",e.displayedColumns),o.Cb(1),o.nc("length",e.resultsLength)("pageSizeOptions",e.nbItemByPage))},directives:[i.l,$n.a,$n.b,St.c,St.f,Tt.b,p.c,p.o,p.r,kt.a,Me.a,fn.j,Vn.a,fn.c,fn.e,fn.b,fn.g,fn.i,zn.a,Xn.a,Ot.a,fn.d,fn.a,Vn.b,Kn.c,r.i,r.h,fn.f,fn.h],pipes:[xt.c,Qn.a,Qn.c],styles:["#list-dpd{margin:0 100px}#list-dpd .example-container{position:relative}#list-dpd .example-container .example-loading-shade{position:absolute;top:0;left:0;bottom:56px;right:0;background:rgba(0,0,0,.15);z-index:1;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}#list-dpd .example-container .example-loading-shade .example-rate-limit-reached{color:#980000;max-width:360px;text-align:center}#list-dpd .example-container .example-table-container{position:relative}#list-dpd .example-container .example-table-container #table-filters{margin-top:8px;margin-bottom:-27px}#list-dpd .example-container .example-table-container #table-filters .mat-form-field{margin:0 15px}#list-dpd .example-container .example-table-container table{width:100%}#list-dpd .example-container .example-table-container table .action-col{width:230px}#list-dpd .example-container .example-table-container table .action-ligne{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}#list-dpd .transmission-explication{text-align:justify;font-size:14px;white-space:pre-line}"],encapsulation:2}),t})();var Ri=function(t){return t.ENREGISTRE="ENREGISTRE",t.TRANSMIS="TRANSMIS",t}({}),Ni=function(t){return t.MANDATAIRE="MANDATAIRE",t.ENTREPRISE="ENTREPRISE",t.DONNEUR_ORDRE="DONNEUR_ORDRE",t}({});function Yi(t,e){if(1&t&&(o.Tb(0,"p",2),o.Hc(1),o.gc(2,"translate"),o.Sb()),2&t){const t=o.fc();o.oc("id",t.id),o.Cb(1),o.Ic(o.hc(2,2,t.label))}}function Hi(t,e){if(1&t&&(o.Tb(0,"span"),o.Hc(1),o.Sb()),2&t){const t=o.fc(3);o.Cb(1),o.Jc(" ",t.suffix,"")}}function ji(t,e){if(1&t&&(o.Tb(0,"p",4),o.Hc(1),o.gc(2,"translate"),o.Tb(3,"span",2),o.Hc(4),o.Fc(5,Hi,2,1,"span",5),o.Sb(),o.Sb()),2&t){const t=o.fc(2);o.Cb(1),o.Jc(" ",o.hc(2,4,t.label)," : "),o.Cb(2),o.oc("id",t.id),o.Cb(1),o.Ic(t.value),o.Cb(1),o.nc("ngIf",t.suffix)}}function Fi(t,e){if(1&t&&o.Fc(0,ji,6,6,"p",3),2&t){const t=o.fc();o.nc("ngIf",t.visible&&null!==t.value)}}let zi=(()=>{class t{constructor(){this.visible=!0,this.labelOnly=!1}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=o.Hb({type:t,selectors:[["app-dpd-show-row"]],inputs:{label:"label",value:"value",suffix:"suffix",visible:"visible",labelOnly:"labelOnly",id:"id"},decls:3,vars:2,consts:[["class","show-row-value",3,"id",4,"ngIf","ngIfElse"],["label_value",""],[1,"show-row-value",3,"id"],["class","show-row-label",4,"ngIf"],[1,"show-row-label"],[4,"ngIf"]],template:function(t,e){if(1&t&&(o.Fc(0,Yi,3,4,"p",0),o.Fc(1,Fi,1,1,"ng-template",null,1,o.Gc)),2&t){const t=o.vc(2);o.nc("ngIf",e.labelOnly&&e.visible)("ngIfElse",t)}},directives:[i.l],pipes:[xt.c],styles:[".show-row-label[_ngcontent-%COMP%]{color:rgba(0,0,0,.6)}.show-row-value[_ngcontent-%COMP%]{font-size:16px;color:#000}"]}),t})();const Vi=["*"];let Bi=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=o.Hb({type:t,selectors:[["app-dpd-show-group"]],inputs:{titre:"titre"},ngContentSelectors:Vi,decls:5,vars:3,consts:[[1,"show-group"]],template:function(t,e){1&t&&(o.mc(),o.Tb(0,"div",0),o.Tb(1,"h3"),o.Hc(2),o.gc(3,"translate"),o.Sb(),o.lc(4),o.Sb()),2&t&&(o.Cb(2),o.Ic(o.hc(3,1,e.titre)))},pipes:[xt.c],styles:["h3[_ngcontent-%COMP%]{padding-bottom:16px;border-bottom:1px solid #999;margin:50px 0 8px}.show-group[_ngcontent-%COMP%]{page-break-inside:avoid}"]}),t})();function Wi(t,e){if(1&t&&(o.Tb(0,"h4",2),o.Hc(1),o.gc(2,"translate"),o.Sb()),2&t){const t=o.fc();o.Cc("margin-left",t.subSubGroup?"0px":""),o.nc("id",t.id),o.Cb(1),o.Ic(o.hc(2,4,t.titre))}}const Ui=["*"];let qi=(()=>{class t{constructor(){this.subSubGroup=!1}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=o.Hb({type:t,selectors:[["app-dpd-show-subgroup"]],inputs:{titre:"titre",subSubGroup:"subSubGroup",id:"id"},ngContentSelectors:Ui,decls:3,vars:1,consts:[[1,"box-margin"],[3,"margin-left","id",4,"ngIf"],[3,"id"]],template:function(t,e){1&t&&(o.mc(),o.Tb(0,"div",0),o.Fc(1,Wi,3,6,"h4",1),o.lc(2),o.Sb()),2&t&&(o.Cb(1),o.nc("ngIf",e.titre))},directives:[i.l],pipes:[xt.c],styles:[".box-margin[_ngcontent-%COMP%]{margin:0 32px}.box-margin[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{margin:0 0 8px -16px;padding-bottom:16px;padding-top:8px;border-bottom:1px solid #999}"]}),t})(),Gi=(()=>{class t{getPays(){const t=this.listPays.find(t=>t.code===this.pays);return void 0!==t?t.nom:this.pays}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=o.Hb({type:t,selectors:[["app-dpd-show-country"]],inputs:{label:"label",pays:"pays",listPays:"listPays",id:"id"},decls:1,vars:3,consts:[[3,"id","label","value"]],template:function(t,e){1&t&&o.Ob(0,"app-dpd-show-row",0),2&t&&o.nc("id",e.id)("label",e.label)("value",e.getPays())},directives:[zi],styles:[""]}),t})();var Ji=n("mSn9");function Zi(t,e){if(1&t&&o.Ob(0,"app-dpd-show-row",3),2&t){const t=o.fc();o.nc("id",t.id+"-adresse")("label","common.adresse")("value",null==t.adresse?null:t.adresse.adresse)}}function $i(t,e){if(1&t&&o.Ob(0,"app-dpd-show-country",6),2&t){const t=o.fc();o.nc("id",t.id+"-pays")("label","common.pays")("pays",null==t.adresse?null:t.adresse.pays)("listPays",t.listPays)}}function Xi(t,e){if(1&t&&o.Ob(0,"app-dpd-show-row",3),2&t){const t=o.fc();o.nc("id",t.id+"-cmpl")("label","common.adresse.complement")("value",null==t.adresse?null:t.adresse.complementAdresse)}}function Ki(t,e){if(1&t&&o.Ob(0,"app-dpd-show-row",3),2&t){const t=o.fc();o.nc("id",t.id+"-latitude")("label","common.latitude")("value",null==t.adresse?null:t.adresse.coordonnees.latitude)}}function Qi(t,e){if(1&t&&o.Ob(0,"app-dpd-show-row",3),2&t){const t=o.fc();o.nc("id",t.id+"-longitude")("label","common.longitude")("value",null==t.adresse?null:t.adresse.coordonnees.longitude)}}function ta(t,e){if(1&t){const t=o.Ub();o.Tb(0,"app-map",7),o.bc("ngModelChange",function(e){return o.yc(t),o.fc().adresse.coordonnees=e}),o.Sb()}if(2&t){const t=o.fc();o.nc("ngModel",t.adresse.coordonnees)("address",t.adresse)}}let ea=(()=>{class t{constructor(){this.adresseType=B.a}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=o.Hb({type:t,selectors:[["app-dpd-show-adresse"]],inputs:{adresse:"adresse",listPays:"listPays",id:"id"},decls:11,vars:12,consts:[[1,"address-group"],[3,"id","label","value",4,"ngIf"],[1,"col-2"],[3,"id","label","value"],[3,"id","label","pays","listPays",4,"ngIf"],["name","map","readonly","",3,"ngModel","address","ngModelChange",4,"ngIf"],[3,"id","label","pays","listPays"],["name","map","readonly","",3,"ngModel","address","ngModelChange"]],template:function(t,e){1&t&&(o.Tb(0,"div",0),o.Fc(1,Zi,1,3,"app-dpd-show-row",1),o.Tb(2,"div",2),o.Ob(3,"app-dpd-show-row",3),o.Ob(4,"app-dpd-show-row",3),o.Fc(5,$i,1,4,"app-dpd-show-country",4),o.Sb(),o.Fc(6,Xi,1,3,"app-dpd-show-row",1),o.Tb(7,"div",2),o.Fc(8,Ki,1,3,"app-dpd-show-row",1),o.Fc(9,Qi,1,3,"app-dpd-show-row",1),o.Sb(),o.Fc(10,ta,1,2,"app-map",5),o.Sb()),2&t&&(o.Cb(1),o.nc("ngIf",e.adresse.type==e.adresseType.ADRESSE),o.Cb(2),o.nc("id",e.id+"-cp")("label","common.codepostal")("value",null==e.adresse?null:e.adresse.cp),o.Cb(1),o.nc("id",e.id+"-ville")("label","common.ville")("value",null==e.adresse?null:e.adresse.ville),o.Cb(1),o.nc("ngIf",e.adresse.type==e.adresseType.ADRESSE),o.Cb(1),o.nc("ngIf",e.adresse.type==e.adresseType.ADRESSE),o.Cb(2),o.nc("ngIf",e.adresse.type==e.adresseType.COORDONNEES),o.Cb(1),o.nc("ngIf",e.adresse.type==e.adresseType.COORDONNEES),o.Cb(1),o.nc("ngIf",e.adresse.type==e.adresseType.COORDONNEES))},directives:[i.l,zi,Gi,Ji.a,p.o,p.r],styles:[".col-2[_ngcontent-%COMP%]{display:-ms-flexbox;display:flex;margin:-14px 0}.col-2[_ngcontent-%COMP%] app-dpd-show-row[_ngcontent-%COMP%]{-ms-flex:1;flex:1}.address-group[_ngcontent-%COMP%]{margin-bottom:25px}"]}),t})();function na(t,e){if(1&t&&o.Ob(0,"app-dpd-show-country",2),2&t){const t=o.fc();o.nc("id",t.id+"-nationalite")("label","common.nationalite")("pays",t.person.nationalite)("listPays",t.listPays)}}let ia=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=o.Hb({type:t,selectors:[["app-dpd-show-person"]],inputs:{person:"person",listPays:"listPays",id:"id"},decls:10,vars:20,consts:[[1,"col-2"],[3,"id","label","value"],[3,"id","label","pays","listPays"],[3,"id","label","pays","listPays",4,"ngIf"]],template:function(t,e){1&t&&(o.Tb(0,"div",0),o.Ob(1,"app-dpd-show-row",1),o.Ob(2,"app-dpd-show-row",1),o.Sb(),o.Tb(3,"div",0),o.Ob(4,"app-dpd-show-row",1),o.Ob(5,"app-dpd-show-country",2),o.Sb(),o.Tb(6,"div",0),o.Ob(7,"app-dpd-show-row",1),o.gc(8,"date"),o.Fc(9,na,1,4,"app-dpd-show-country",3),o.Sb()),2&t&&(o.Cb(1),o.nc("id",e.id+"-nom")("label","common.nom")("value",e.person.nom),o.Cb(1),o.nc("id",e.id+"-prenom")("label","common.prenom")("value",e.person.prenom),o.Cb(2),o.nc("id",e.id+"-ville-naissance")("label","common.ville.naissance")("value",e.person.villeNaissance),o.Cb(1),o.nc("id",e.id+"-pays-naissance")("label","common.pays.naissance")("pays",e.person.paysNaissance)("listPays",e.listPays),o.Cb(2),o.nc("id",e.id+"-date-naissance")("label","common.date.naissance")("value",o.ic(8,17,e.person.dateNaissance,"dd/MM/yyyy")),o.Cb(2),o.nc("ngIf",e.person.nationalite))},directives:[zi,Gi,i.l],pipes:[i.e],styles:[".col-2[_ngcontent-%COMP%]{display:-ms-flexbox;display:flex}.col-2[_ngcontent-%COMP%] app-dpd-show-country[_ngcontent-%COMP%], .col-2[_ngcontent-%COMP%] app-dpd-show-row[_ngcontent-%COMP%]{-ms-flex:1;flex:1}"]}),t})();function aa(t,e){if(1&t&&o.Ob(0,"app-dpd-show-row",1),2&t){const t=o.fc();o.nc("id","entreprise-notva")("label","dpd.tva")("value",t.entreprise.numTVA)}}function ra(t,e){if(1&t&&(o.Tb(0,"app-dpd-show-subgroup",7),o.Ob(1,"app-dpd-show-row",8),o.Sb()),2&t){const t=o.fc();o.nc("id","entreprise-organisme")("titre","dpd.organisme"),o.Cb(1),o.nc("label","dpd.organisme.info")("value",t.entreprise.organisme)}}function oa(t,e){if(1&t&&(o.Tb(0,"app-dpd-show-subgroup",7),o.Ob(1,"app-dpd-show-row",8),o.Sb()),2&t){const t=o.fc();o.nc("id","bloc-transporteur")("titre","dpd.registre.transporteur"),o.Cb(1),o.nc("label","dpd.registre.transporteur")("value",t.entreprise.transporteur)}}let sa=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=o.Hb({type:t,selectors:[["app-dpd-show-foreign-compagny"]],inputs:{entreprise:"entreprise",numeroModele:"numeroModele",pays:"pays"},decls:16,vars:31,consts:[[3,"titre"],[3,"id","label","value"],[3,"id","adresse","listPays"],[1,"col-2"],[3,"id","label","value",4,"ngIf"],[3,"id","person","listPays"],[3,"id","titre",4,"ngIf"],[3,"id","titre"],[3,"label","value"]],template:function(t,e){1&t&&(o.Tb(0,"app-dpd-show-group",0),o.Tb(1,"app-dpd-show-subgroup",0),o.Ob(2,"app-dpd-show-row",1),o.Ob(3,"app-dpd-show-adresse",2),o.Tb(4,"div",3),o.Ob(5,"app-dpd-show-row",1),o.Ob(6,"app-dpd-show-row",1),o.Sb(),o.Sb(),o.Tb(7,"app-dpd-show-subgroup",0),o.Ob(8,"app-dpd-show-row",1),o.Fc(9,aa,1,3,"app-dpd-show-row",4),o.Ob(10,"app-dpd-show-row",1),o.Ob(11,"app-dpd-show-row",1),o.Sb(),o.Tb(12,"app-dpd-show-subgroup",0),o.Ob(13,"app-dpd-show-person",5),o.Sb(),o.Fc(14,ra,2,4,"app-dpd-show-subgroup",6),o.Fc(15,oa,2,4,"app-dpd-show-subgroup",6),o.Sb()),2&t&&(o.nc("titre","dpd.menu.entreprise"),o.Cb(1),o.nc("titre","dpd.coordonnees"),o.Cb(1),o.nc("id","raison-sociale")("label","dpd.raisonsociale")("value",e.entreprise.raisonSociale),o.Cb(1),o.nc("id","entreprise")("adresse",e.entreprise.adresse)("listPays",e.pays),o.Cb(2),o.nc("id","entreprise-phone")("label","common.tel")("value",e.entreprise.telephone),o.Cb(1),o.nc("id","entreprise-email")("label","common.email")("value",e.entreprise.email),o.Cb(1),o.nc("titre","dpd.entreprise.info"),o.Cb(1),o.nc("id","entreprise-legal")("label","dpd.forme.juridique")("value",e.entreprise.status),o.Cb(1),o.nc("ngIf",!e.entreprise.noTVA),o.Cb(1),o.nc("id","entreprise-register")("label","dpd.registre")("value",e.entreprise.registre),o.Cb(1),o.nc("id","entreprise-reference")("label","dpd.reference")("value",e.entreprise.reference),o.Cb(1),o.nc("titre","dpd.dirigeant"),o.Cb(1),o.nc("id","dirigeant")("person",e.entreprise.dirigeant)("listPays",e.pays),o.Cb(1),o.nc("ngIf",3===e.numeroModele||5===e.numeroModele),o.Cb(1),o.nc("ngIf",4===e.numeroModele&&e.entreprise.transporteur))},directives:[Bi,qi,zi,ea,i.l,ia],styles:[""]}),t})();function la(t,e){if(1&t&&(o.Ob(0,"app-dpd-show-row",2),o.gc(1,"translate")),2&t){const t=o.fc();o.nc("id",t.id)("label",t.label)("value",o.hc(1,3,"dpd.frais.employeur"))}}function ca(t,e){if(1&t&&(o.Ob(0,"app-dpd-show-row",2),o.gc(1,"translate")),2&t){const t=o.fc();o.nc("id",t.id)("label",t.label)("value",o.hc(1,3,"dpd.frais.travailleur"))}}function da(t,e){if(1&t&&(o.Tb(0,"div",3),o.Ob(1,"app-dpd-show-row",2),o.gc(2,"translate"),o.Ob(3,"app-dpd-show-row",2),o.gc(4,"translate"),o.Sb()),2&t){const t=o.fc();o.Cb(1),o.nc("id",t.id)("label",t.label)("value",o.hc(2,6,"dpd.frais.versement")),o.Cb(2),o.nc("id",t.id+"-montant")("label",o.hc(4,8,"dpd.show.montant"))("value",t.frais.montant)}}function ua(t,e){if(1&t&&(o.Ob(0,"app-dpd-show-row",2),o.gc(1,"translate")),2&t){const t=o.fc();o.nc("id",t.id)("label",t.label)("value",o.hc(1,3,"dpd.frais.autre"))}}let ha=(()=>{class t{constructor(){this.types=C.a}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=o.Hb({type:t,selectors:[["app-dpd-show-frais"]],inputs:{label:"label",frais:"frais",id:"id"},decls:4,vars:4,consts:[[3,"id","label","value",4,"ngIf"],["class","col-2-frais",4,"ngIf"],[3,"id","label","value"],[1,"col-2-frais"]],template:function(t,e){1&t&&(o.Fc(0,la,2,5,"app-dpd-show-row",0),o.Fc(1,ca,2,5,"app-dpd-show-row",0),o.Fc(2,da,5,10,"div",1),o.Fc(3,ua,2,5,"app-dpd-show-row",0)),2&t&&(o.nc("ngIf",e.frais.type==e.types.PRIS_EN_CHARGE),o.Cb(1),o.nc("ngIf",e.frais.type==e.types.AVANCES),o.Cb(1),o.nc("ngIf",e.frais.type==e.types.VERSEMENT),o.Cb(1),o.nc("ngIf",e.frais.type==e.types.AUTRE))},directives:[i.l,zi],pipes:[xt.c],styles:[".col-2-frais[_ngcontent-%COMP%]{display:-ms-flexbox;display:flex;margin:-14px 0}.col-2-frais[_ngcontent-%COMP%] app-dpd-show-row[_ngcontent-%COMP%]:first-child{-ms-flex:2;flex:2}.col-2-frais[_ngcontent-%COMP%] app-dpd-show-row[_ngcontent-%COMP%]:nth-child(2){-ms-flex:1;flex:1}"]}),t})(),ma=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=o.Hb({type:t,selectors:[["app-dpd-show-frais-group"]],inputs:{frais:"frais"},decls:5,vars:10,consts:[[3,"titre"],[3,"id","label","frais"]],template:function(t,e){1&t&&(o.Tb(0,"app-dpd-show-group",0),o.Tb(1,"app-dpd-show-subgroup"),o.Ob(2,"app-dpd-show-frais",1),o.Ob(3,"app-dpd-show-frais",1),o.Ob(4,"app-dpd-show-frais",1),o.Sb(),o.Sb()),2&t&&(o.nc("titre","dpd.menu.frais"),o.Cb(2),o.nc("id","frais-voyage")("label","dpd.frais.voyage")("frais",e.frais.voyage),o.Cb(1),o.nc("id","frais-nourriture")("label","dpd.frais.nourriture")("frais",e.frais.nourriture),o.Cb(1),o.nc("id","frais-hebergement")("label","dpd.frais.hebergement")("frais",e.frais.hebergement))},directives:[Bi,qi,ha],styles:[""]}),t})();function pa(t,e){if(1&t&&o.Ob(0,"app-dpd-show-row",1),2&t){const t=o.fc();o.nc("id","client-tva")("label","dpd.tva")("value",t.client.numTVA)}}let fa=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=o.Hb({type:t,selectors:[["app-dpd-show-client"]],inputs:{pays:"pays",typeClient:"typeClient",client:"client"},decls:7,vars:16,consts:[[3,"titre"],[3,"id","label","value"],[3,"id","adresse","listPays"],[3,"id","label","labelOnly","visible"],[3,"id","label","value",4,"ngIf"]],template:function(t,e){1&t&&(o.Tb(0,"app-dpd-show-group",0),o.Tb(1,"app-dpd-show-subgroup",0),o.Ob(2,"app-dpd-show-row",1),o.Ob(3,"app-dpd-show-adresse",2),o.Ob(4,"app-dpd-show-row",3),o.Fc(5,pa,1,3,"app-dpd-show-row",4),o.Ob(6,"app-dpd-show-row",1),o.Sb(),o.Sb()),2&t&&(o.nc("titre",e.typeClient),o.Cb(1),o.nc("titre","dpd.coordonnees"),o.Cb(1),o.nc("id","client-rs")("label","dpd.raisonsociale")("value",e.client.raisonSociale),o.Cb(1),o.nc("id","client")("adresse",e.client.adresse)("listPays",e.pays),o.Cb(1),o.nc("id","client-notva")("label","dpd.tva.no")("labelOnly",!0)("visible",e.client.noTVA),o.Cb(1),o.nc("ngIf",!e.client.noTVA),o.Cb(1),o.nc("id","client-email")("label","common.email")("value",e.client.email))},directives:[Bi,qi,zi,ea,i.l],styles:[""]}),t})(),ga=(()=>{class t extends yt.a{constructor(t){super(t),this.translateService=t}set activites(t){this._activites=t,this.retrieveDetails()}get activites(){return this._activites}set listActivites(t){this._listActivites=t,this.retrieveDetails()}get listActivites(){return this._listActivites}showActivity(t){return t?t.code+" - "+t.libelle:""}retrieveDetails(){this.activites&&this.listActivites&&(this.activite1=this.findActivite(this.listActivites,this.activites.activite1),this.activite2=this.findActivite(this.activite1.sousActivites,this.activites.activite2),this.activite3=this.findActivite(this.activite2.sousActivites,this.activites.activite3),this.activite4=this.findActivite(this.activite3.sousActivites,this.activites.activite4))}findActivite(t,e){return t.find(t=>t.code===e)}}return t.\u0275fac=function(e){return new(e||t)(o.Nb(xt.d))},t.\u0275cmp=o.Hb({type:t,selectors:[["app-dpd-show-activite"]],inputs:{activites:"activites",listActivites:"listActivites"},features:[o.zb],decls:4,vars:4,consts:[["id","activite-1","label","dpd.show.activite1",3,"value"],["id","activite-2","label","dpd.show.activite2",3,"value"],["id","activite-3","label","dpd.show.activite3",3,"value"],["id","activite-4","label","dpd.show.activite4",3,"value"]],template:function(t,e){1&t&&(o.Ob(0,"app-dpd-show-row",0),o.Ob(1,"app-dpd-show-row",1),o.Ob(2,"app-dpd-show-row",2),o.Ob(3,"app-dpd-show-row",3)),2&t&&(o.nc("value",e.showActivity(e.activite1)),o.Cb(1),o.nc("value",e.showActivity(e.activite2)),o.Cb(1),o.nc("value",e.showActivity(e.activite3)),o.Cb(1),o.nc("value",e.showActivity(e.activite4)))},directives:[zi],styles:[""]}),t})();function ba(t,e){if(1&t&&o.Ob(0,"app-dpd-show-row",4),2&t){const t=o.fc();o.nc("id","presta-dangereux")("label","dpd.travail.dangereux")("value",t.prestation.dangereux.valeur)}}let _a=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=o.Hb({type:t,selectors:[["app-dpd-show-prestation"]],inputs:{prestation:"prestation",listActivites:"listActivites"},decls:9,vars:17,consts:[[3,"titre"],[3,"activites","listActivites"],[3,"id","label","value",4,"ngIf"],[1,"col-2"],[3,"id","label","value"],[3,"id","label","labelOnly","visible"]],template:function(t,e){1&t&&(o.Tb(0,"app-dpd-show-group",0),o.Tb(1,"app-dpd-show-subgroup"),o.Ob(2,"app-dpd-show-activite",1),o.Fc(3,ba,1,3,"app-dpd-show-row",2),o.Tb(4,"div",3),o.Ob(5,"app-dpd-show-row",4),o.Ob(6,"app-dpd-show-row",4),o.Sb(),o.Ob(7,"app-dpd-show-row",4),o.Ob(8,"app-dpd-show-row",5),o.Sb(),o.Sb()),2&t&&(o.nc("titre","dpd.menu.prestation.info"),o.Cb(2),o.nc("activites",e.prestation.activites)("listActivites",e.listActivites),o.Cb(1),o.nc("ngIf",e.prestation.dangereux.actif),o.Cb(2),o.nc("id","presta-debut")("label","dpd.travail.horaire.debut")("value",e.prestation.horaireDebut),o.Cb(1),o.nc("id","presta-fin")("label","dpd.travail.horaire.fin")("value",e.prestation.horaireFin),o.Cb(1),o.nc("id","presta-repos")("label","dpd.travail.repos")("value",e.prestation.nbJoursRepos),o.Cb(1),o.nc("id","presta-horaire-atypique")("label","dpd.travail.horaires.atypiques")("labelOnly",!0)("visible",e.prestation.horairesAtypiques))},directives:[Bi,qi,ga,i.l,zi],styles:[""]}),t})();function ya(t,e){if(1&t&&(o.Ob(0,"app-dpd-show-row",7),o.gc(1,"translate")),2&t){const t=o.fc();o.nc("id","salarie-sexe-"+t.selectedIndex)("label","common.sexe")("value",o.hc(1,3,"common.sexe.masculin"))}}function va(t,e){if(1&t&&(o.Ob(0,"app-dpd-show-row",7),o.gc(1,"translate")),2&t){const t=o.fc();o.nc("id","salarie-sexe-"+t.selectedIndex)("label","common.sexe")("value",o.hc(1,3,"common.sexe.feminin"))}}function Ca(t,e){if(1&t&&(o.Tb(0,"app-dpd-show-subgroup",5),o.gc(1,"translate"),o.Ob(2,"app-dpd-show-adresse",12),o.Sb()),2&t){const t=o.fc();o.nc("titre",o.hc(1,5,"common.adresse"))("subSubGroup",!0),o.Cb(2),o.nc("id","salarie-adresse-"+t.selectedIndex)("adresse",t.selectedWorker.adresse)("listPays",t.pays)}}function wa(t,e){if(1&t&&(o.Tb(0,"div",13),o.Ob(1,"app-dpd-show-row",7),o.gc(2,"date"),o.Ob(3,"app-dpd-show-row",7),o.gc(4,"date"),o.Ob(5,"app-dpd-show-row",7),o.gc(6,"translate"),o.gc(7,"translate"),o.Ob(8,"app-dpd-show-row",7),o.Sb()),2&t){const t=o.fc();o.Cb(1),o.nc("id","salarie-debut-"+t.selectedIndex)("label","dpd.salarie.date.detachement.debut")("value",o.ic(2,12,t.selectedWorker.dateDebut,"dd/MM/yyyy")),o.Cb(2),o.nc("id","salarie-fin-"+t.selectedIndex)("label","dpd.salarie.date.detachement.fin")("value",o.ic(4,15,t.selectedWorker.dateFin,"dd/MM/yyyy")),o.Cb(2),o.nc("id","longue-duree-detachement")("label","dpd.salarie.duree.detachement")("value",t.selectedWorker.isDetachementLongueDuree?o.hc(6,18,"common.oui"):o.hc(7,20,"common.non")),o.Cb(3),o.nc("id","motif-longue-duree-detachement")("label","dpd.salarie.motif.detachement")("value",t.selectedWorker.motifLongueDuree)}}function xa(t,e){if(1&t&&o.Ob(0,"app-dpd-show-row",14),2&t){const t=o.fc();o.nc("id","salarie-salaire-"+t.selectedIndex)("label","dpd.salarie.salaire")("value",t.selectedWorker.salaire)("suffix","\u20ac")}}function Ma(t,e){if(1&t&&o.Ob(0,"app-dpd-show-country",6),2&t){const t=o.fc();o.nc("id","salarie-droit-"+t.selectedIndex)("label","dpd.droit.travail")("pays",t.selectedWorker.paysRegistre)("listPays",t.pays)}}let Oa=(()=>{class t extends yt.a{constructor(t,e){super(t),this.translateService=t,this.qualificationService=e,this.selectedWorker=null,this.selectedIndex=-1,this.qualifications=[]}load(){this.subscriptions.push(this.qualificationService.getQualifications().subscribe(t=>this.qualifications=t))}getQualification(){const t=this.qualifications.find(t=>t.code===this.selectedWorker.qualification);return void 0!==t?t.nom:this.selectedWorker.qualification}get showAdresse(){return null!==this.selectedWorker.adresse&&null!==this.selectedWorker.adresse.adresse}}return t.\u0275fac=function(e){return new(e||t)(o.Nb(xt.d),o.Nb(gt))},t.\u0275cmp=o.Hb({type:t,selectors:[["app-dpd-show-worker"]],inputs:{pays:"pays",selectedWorker:"selectedWorker",selectedIndex:"selectedIndex",numeroModele:"numeroModele"},features:[o.zb],decls:18,vars:37,consts:[[1,"show-salarie"],[3,"titre","id"],[3,"id","label","value",4,"ngIf"],[3,"id","person","listPays"],[3,"titre","subSubGroup",4,"ngIf"],[3,"titre","subSubGroup"],[3,"id","label","pays","listPays"],[3,"id","label","value"],["class","col-2",4,"ngIf"],[3,"id","label","labelOnly","visible"],[3,"id","label","value","suffix",4,"ngIf"],[3,"id","label","pays","listPays",4,"ngIf"],[3,"id","adresse","listPays"],[1,"col-2"],[3,"id","label","value","suffix"]],template:function(t,e){1&t&&(o.Tb(0,"div",0),o.Tb(1,"app-dpd-show-subgroup",1),o.gc(2,"translate"),o.Fc(3,ya,2,5,"app-dpd-show-row",2),o.Fc(4,va,2,5,"app-dpd-show-row",2),o.Ob(5,"app-dpd-show-person",3),o.Sb(),o.Fc(6,Ca,3,7,"app-dpd-show-subgroup",4),o.Tb(7,"app-dpd-show-subgroup",5),o.gc(8,"translate"),o.Ob(9,"app-dpd-show-country",6),o.Ob(10,"app-dpd-show-row",7),o.gc(11,"date"),o.Fc(12,wa,9,22,"div",8),o.Ob(13,"app-dpd-show-row",7),o.Ob(14,"app-dpd-show-row",7),o.Ob(15,"app-dpd-show-row",9),o.Fc(16,xa,1,4,"app-dpd-show-row",10),o.Fc(17,Ma,1,4,"app-dpd-show-country",11),o.Sb(),o.Sb()),2&t&&(o.Cb(1),o.nc("titre",o.hc(2,30,"dpd.menu.salarie")+" "+e.selectedWorker.nom+" "+e.selectedWorker.prenom)("id","salarie-nom-"+e.selectedIndex),o.Cb(2),o.nc("ngIf","MASCULIN"==e.selectedWorker.sexe),o.Cb(1),o.nc("ngIf","FEMININ"==e.selectedWorker.sexe),o.Cb(1),o.nc("id","salarie-personne-"+e.selectedIndex)("person",e.selectedWorker)("listPays",e.pays),o.Cb(1),o.nc("ngIf",e.showAdresse),o.Cb(1),o.nc("titre",o.hc(8,32,"dpd.salarie.info.detachement"))("subSubGroup",!0),o.Cb(2),o.nc("id","salarie-secu-"+e.selectedIndex)("label","dpd.salarie.secu")("pays",e.selectedWorker.paysSecu)("listPays",e.pays),o.Cb(1),o.nc("id","salarie-contrat-"+e.selectedIndex)("label","dpd.salarie.date.contrat")("value",o.ic(11,34,e.selectedWorker.dateContrat,"dd/MM/yyyy")),o.Cb(2),o.nc("ngIf",4!==e.numeroModele),o.Cb(1),o.nc("id","salarie-emploi-"+e.selectedIndex)("label","dpd.salarie.emploi")("value",e.selectedWorker.emploi),o.Cb(1),o.nc("id","salarie-qualif-"+e.selectedIndex)("label","dpd.salarie.qualification")("value",e.getQualification()),o.Cb(1),o.nc("id","salarie-salaire-spe-"+e.selectedIndex)("label","dpd.salarie.salaire.specifique")("labelOnly",!0)("visible",e.selectedWorker.salaireSpecifique),o.Cb(1),o.nc("ngIf",!e.selectedWorker.salaireSpecifique),o.Cb(1),o.nc("ngIf",4===e.numeroModele))},directives:[qi,i.l,ia,Gi,zi,ea],pipes:[xt.c,i.e],styles:[".show-salarie[_ngcontent-%COMP%]{page-break-inside:avoid}"]}),t})();function ka(t,e){if(1&t&&o.Ob(0,"app-dpd-show-person",7),2&t){const t=o.fc();o.nc("id","representant-personne")("person",t.representant.personne)("listPays",t.pays)}}function Sa(t,e){if(1&t&&o.Ob(0,"app-dpd-show-row",6),2&t){const t=o.fc();o.nc("id","representant-siret")("label","common.siret")("value",t.representant.siret)}}function Ta(t,e){if(1&t&&(o.Tb(0,"div"),o.Ob(1,"app-dpd-show-row",6),o.Ob(2,"app-dpd-show-row",6),o.Ob(3,"app-dpd-show-adresse",8),o.Sb()),2&t){const t=o.fc();o.Cb(1),o.nc("id","representant-rs")("label","dpd.raisonsociale")("value",t.representant.raisonSociale),o.Cb(1),o.nc("id","representant-tva")("label","dpd.tva")("value",t.representant.numTVA),o.Cb(1),o.nc("id","representant-pays")("adresse",t.representant.adresse)("listPays",t.pays)}}let Pa=(()=>{class t extends yt.a{constructor(t){super(t),this.translateService=t}get titre(){return 4===this.numeroModele?"dpd.menu.representant.modele4":"dpd.menu.representant"}get document(){return 4===this.numeroModele?"dpd.representant.document.modele4":"dpd.representant.document"}}return t.\u0275fac=function(e){return new(e||t)(o.Nb(xt.d))},t.\u0275cmp=o.Hb({type:t,selectors:[["app-dpd-show-representant"]],inputs:{pays:"pays",representant:"representant",numeroModele:"numeroModele"},features:[o.zb],decls:17,vars:41,consts:[[3,"titre"],[3,"id","label","labelOnly","visible"],[3,"id","person","listPays",4,"ngIf"],[3,"id","label","value",4,"ngIf"],[4,"ngIf"],[1,"col-2"],[3,"id","label","value"],[3,"id","person","listPays"],[3,"id","adresse","listPays"]],template:function(t,e){1&t&&(o.Tb(0,"app-dpd-show-group",0),o.Tb(1,"app-dpd-show-subgroup",0),o.Ob(2,"app-dpd-show-row",1),o.Ob(3,"app-dpd-show-row",1),o.Ob(4,"app-dpd-show-row",1),o.Ob(5,"app-dpd-show-row",1),o.Fc(6,ka,1,3,"app-dpd-show-person",2),o.Fc(7,Sa,1,3,"app-dpd-show-row",3),o.Fc(8,Ta,4,9,"div",4),o.Sb(),o.Tb(9,"app-dpd-show-subgroup",0),o.Tb(10,"div",5),o.Ob(11,"app-dpd-show-row",6),o.Ob(12,"app-dpd-show-row",6),o.Sb(),o.Sb(),o.Tb(13,"app-dpd-show-subgroup",0),o.Ob(14,"app-dpd-show-row",1),o.Ob(15,"app-dpd-show-row",1),o.Ob(16,"app-dpd-show-row",1),o.Sb(),o.Sb()),2&t&&(o.nc("titre",e.titre),o.Cb(1),o.nc("titre","dpd.representant.identite"),o.Cb(1),o.nc("id","representant-type")("label","dpd.representant.type.dirigeant")("labelOnly",!0)("visible","DIRIGEANT"==e.representant.type),o.Cb(1),o.nc("id","representant-type")("label","dpd.representant.type.salarie")("labelOnly",!0)("visible","SALARIE"==e.representant.type),o.Cb(1),o.nc("id","representant-type")("label","dpd.representant.type.client")("labelOnly",!0)("visible","CLIENT"==e.representant.type),o.Cb(1),o.nc("id","representant-type")("label","dpd.representant.type.mandataire")("labelOnly",!0)("visible","MANDATAIRE"==e.representant.type&&e.representant.siret),o.Cb(1),o.nc("ngIf","SALARIE"==e.representant.type||"DIRIGEANT"==e.representant.type||"MANDATAIRE"==e.representant.type&&!e.representant.siret),o.Cb(1),o.nc("ngIf","MANDATAIRE"==e.representant.type),o.Cb(1),o.nc("ngIf","CLIENT"==e.representant.type||"MANDATAIRE"==e.representant.type),o.Cb(1),o.nc("titre","dpd.representant.contact"),o.Cb(2),o.nc("id","representant-phone")("label","common.tel")("value",e.representant.telephone),o.Cb(1),o.nc("id","representant-email")("label","common.email")("value",e.representant.email),o.Cb(1),o.nc("titre",e.document),o.Cb(1),o.nc("id","representant-conservation")("label","dpd.representant.document.lieu")("labelOnly",!0)("visible","LIEU_PRESTATION"==e.representant.conservation),o.Cb(1),o.nc("id","representant-conservation")("label","dpd.representant.document.adresse")("labelOnly",!0)("visible","REPRESENTANT"==e.representant.conservation),o.Cb(1),o.nc("id","representant-conservation")("label","dpd.representant.document.serveur")("labelOnly",!0)("visible","SERVEUR"==e.representant.conservation))},directives:[Bi,qi,zi,i.l,ia,ea],styles:[""]}),t})();function La(t,e){if(1&t&&o.Ob(0,"app-dpd-show-row",13),2&t){const t=o.fc();o.nc("value",t.dpd.titre)}}function Da(t,e){if(1&t&&o.Ob(0,"app-dpd-show-row",14),2&t){const t=o.fc();o.nc("value",t.dpd.code)}}function Ea(t,e){if(1&t&&o.Ob(0,"app-dpd-show-row",15),2&t){const t=o.fc();o.nc("value",t.getRaisonSocialeDeclarant())}}function Aa(t,e){if(1&t&&o.Ob(0,"app-dpd-show-client",16),2&t){const t=o.fc();o.nc("pays",t.pays)("client",t.dpd.client)("typeClient",t.typeClient)}}function Ia(t,e){if(1&t&&(o.Tb(0,"div",25),o.Tb(1,"h4"),o.Hc(2),o.gc(3,"translate"),o.Sb(),o.Ob(4,"app-dpd-show-adresse",22),o.Sb()),2&t){const t=o.fc(),e=t.index,n=t.$implicit,i=o.fc(2);o.pc("id","lieu-collectif-",e,""),o.Cb(2),o.Kc("",o.hc(3,6,"dpd.hebergement.collectif")," : ",n.nomHebergement,""),o.Cb(2),o.pc("id","lieu-collectif-adresse-",e,""),o.nc("adresse",n.hebergementCollectif)("listPays",i.pays)}}function Ra(t,e){if(1&t&&(o.Tb(0,"app-dpd-show-subgroup",21),o.Ob(1,"app-dpd-show-adresse",22),o.Ob(2,"app-dpd-show-row",23),o.Fc(3,Ia,5,8,"div",24),o.Sb()),2&t){const t=e.$implicit,n=e.index,i=o.fc(2);o.pc("id","lieu-rs-",n,""),o.nc("titre",i.getLieuNom(t)),o.Cb(1),o.pc("id","lieu-adresse-",n,""),o.nc("adresse",t.adresse)("listPays",i.pays),o.Cb(1),o.pc("id","codeNaf-",n,""),o.nc("value",t.codeNaf),o.Cb(1),o.nc("ngIf",t.isHebergementCollectif)}}function Na(t,e){if(1&t&&(o.Tb(0,"app-dpd-show-group",17),o.Tb(1,"app-dpd-show-subgroup"),o.Ob(2,"app-dpd-show-row",18),o.gc(3,"date"),o.Ob(4,"app-dpd-show-row",19),o.gc(5,"date"),o.Sb(),o.Fc(6,Ra,4,8,"app-dpd-show-subgroup",20),o.Sb()),2&t){const t=o.fc();o.nc("titre","dpd.menu.prestation.lieu"),o.Cb(2),o.nc("value",o.ic(3,4,t.dpd.prestation.dateDebut,"dd/MM/yyyy")),o.Cb(2),o.nc("value",o.ic(5,7,t.dpd.prestation.dateFin,"dd/MM/yyyy")),o.Cb(2),o.nc("ngForOf",t.dpd.prestation.lieus)}}function Ya(t,e){if(1&t&&o.Ob(0,"app-dpd-show-prestation",26),2&t){const t=o.fc();o.nc("prestation",t.dpd.prestation)("listActivites",t.listActivites)}}function Ha(t,e){if(1&t&&(o.Tb(0,"app-dpd-show-group",17),o.Tb(1,"app-dpd-show-subgroup"),o.Ob(2,"app-dpd-show-row",27),o.gc(3,"date"),o.Ob(4,"app-dpd-show-row",28),o.gc(5,"date"),o.Sb(),o.Sb()),2&t){const t=o.fc();o.nc("titre","dpd.menu.attestation"),o.Cb(2),o.nc("value",o.ic(3,3,t.dpd.prestation.dateDebut,"dd/MM/yyyy")),o.Cb(2),o.nc("value",o.ic(5,6,t.dpd.prestation.dateFin,"dd/MM/yyyy"))}}function ja(t,e){if(1&t&&(o.Tb(0,"div",30),o.Ob(1,"app-dpd-show-worker",31),o.Sb()),2&t){const t=e.$implicit,n=e.index,i=o.fc(2);o.Cb(1),o.nc("selectedIndex",n)("selectedWorker",t)("pays",i.pays)("numeroModele",i.dpd.numeroModele)}}function Fa(t,e){if(1&t&&(o.Tb(0,"app-dpd-show-group",17),o.Fc(1,ja,2,4,"div",29),o.Sb()),2&t){const t=o.fc();o.nc("titre","dpd.menu.salaries"),o.Cb(1),o.nc("ngForOf",t.dpd.salaries)}}function za(t,e){if(1&t&&(o.Tb(0,"app-dpd-show-group",17),o.Tb(1,"div",30),o.Ob(2,"app-dpd-show-worker",31),o.Sb(),o.Sb()),2&t){const t=o.fc();o.nc("titre","dpd.menu.salarie"),o.Cb(2),o.nc("selectedIndex",0)("selectedWorker",t.dpd.salaries[0])("pays",t.pays)("numeroModele",t.dpd.numeroModele)}}function Va(t,e){if(1&t&&o.Ob(0,"app-dpd-show-representant",32),2&t){const t=o.fc();o.nc("pays",t.pays)("representant",t.dpd.representant)("numeroModele",t.dpd.numeroModele)}}let Ba=(()=>{class t extends yt.a{constructor(t,e,n,i,a,r){super(t),this.translateService=t,this.activiteService=e,this.route=n,this.router=i,this.declarationService=a,this.countryService=r,this.loaded=!1,this.notFound=!1,this.dpd=new it.a({}),this.pays=[],this.listActivites=[],this.modele="",this.typeClient=""}load(){this.subscriptions.push(this.countryService.getCountries().subscribe(t=>this.pays=t)),this.subscriptions.push(this.activiteService.getActivities().subscribe(t=>this.listActivites=t)),this.subscriptions.push(this.route.params.subscribe(t=>{this.declarationService.getDeclaration(t.code).subscribe(t=>{t.etat!==Ri.TRANSMIS&&this.router.navigate(["/home"]),this.translateService.get("dpd.modele."+t.numeroModele).subscribe(t=>this.modele=t),this.translateService.get("dpd.client.modele."+t.numeroModele).subscribe(t=>this.typeClient=t),this.dpd=new it.a(t);const e=m.utc(this.dpd.dateEtat).format(),n=m(e);this.dpd.dateEtat=n.format("DD/MM/YYYY HH:mm")},()=>{this.router.navigate(["/home"])})}))}back(){this.router.navigate(["/home"])}getLieuNom(t){return t.siret?t.nom+" ("+t.siret+")":t.nom}getTypeCompteDeclarant(){switch(this.dpd.typeDeclarant){case Ni.ENTREPRISE:return"Entreprise etrang\xe8re";case Ni.DONNEUR_ORDRE:return"Donneur d'ordre";case Ni.MANDATAIRE:return"Mandataire";default:return""}}getRaisonSocialeDeclarant(){return this.dpd.raisonSocialeDeclarant}}return t.\u0275fac=function(e){return new(e||t)(o.Nb(xt.d),o.Nb(ht),o.Nb(r.a),o.Nb(r.f),o.Nb(st.a),o.Nb(pt.a))},t.\u0275cmp=o.Hb({type:t,selectors:[["app-dpd-show"]],features:[o.zb],decls:23,vars:21,consts:[["id","dpd-show",1,"content"],["id","titre","label","dpd.intitule",3,"value",4,"ngIf"],["id","code","label","dpd.show.code",3,"value",4,"ngIf"],["id","dateTransmission","label","dpd.show.date.transmission",3,"value"],["id","version","label","dpd.show.version",1,"dpd-show-version",3,"value"],["id","type-compte","label","dpd.show.declarant.type",3,"value"],["id","raison-sociale-compte","label","dpd.show.declarant.raisonsociale",3,"value",4,"ngIf"],[3,"entreprise","numeroModele","pays"],[3,"pays","client","typeClient",4,"ngIf"],[3,"titre",4,"ngIf"],[3,"prestation","listActivites",4,"ngIf"],[3,"frais"],[3,"pays","representant","numeroModele",4,"ngIf"],["id","titre","label","dpd.intitule",3,"value"],["id","code","label","dpd.show.code",3,"value"],["id","raison-sociale-compte","label","dpd.show.declarant.raisonsociale",3,"value"],[3,"pays","client","typeClient"],[3,"titre"],["id","lieu-debut","label","dpd.prestation.date.debut",3,"value"],["id","lieu-fin","label","dpd.prestation.date.fin",3,"value"],[3,"titre","id",4,"ngFor","ngForOf"],[3,"titre","id"],[3,"id","adresse","listPays"],["label","client.codeNaf",3,"id","value"],["class","subGroupHebergement",3,"id",4,"ngIf"],[1,"subGroupHebergement",3,"id"],[3,"prestation","listActivites"],["id","lieu-debut","label","dpd.attestation.debut",3,"value"],["id","lieu-fin","label","dpd.attestation.fin",3,"value"],["class","show-salarie",4,"ngFor","ngForOf"],[1,"show-salarie"],[3,"selectedIndex","selectedWorker","pays","numeroModele"],[3,"pays","representant","numeroModele"]],template:function(t,e){1&t&&(o.Tb(0,"div",0),o.Tb(1,"mat-card"),o.Tb(2,"mat-card-content"),o.Tb(3,"h1"),o.Hc(4),o.gc(5,"translate"),o.Sb(),o.Tb(6,"h2"),o.Hc(7),o.Sb(),o.Fc(8,La,1,1,"app-dpd-show-row",1),o.Fc(9,Da,1,1,"app-dpd-show-row",2),o.Ob(10,"app-dpd-show-row",3),o.Ob(11,"app-dpd-show-row",4),o.Ob(12,"app-dpd-show-row",5),o.Fc(13,Ea,1,1,"app-dpd-show-row",6),o.Ob(14,"app-dpd-show-foreign-compagny",7),o.Fc(15,Aa,1,3,"app-dpd-show-client",8),o.Fc(16,Na,7,10,"app-dpd-show-group",9),o.Fc(17,Ya,1,2,"app-dpd-show-prestation",10),o.Fc(18,Ha,6,9,"app-dpd-show-group",9),o.Ob(19,"app-dpd-show-frais-group",11),o.Fc(20,Fa,2,2,"app-dpd-show-group",9),o.Fc(21,za,3,5,"app-dpd-show-group",9),o.Fc(22,Va,1,3,"app-dpd-show-representant",12),o.Sb(),o.Sb(),o.Sb()),2&t&&(o.Cb(4),o.Ic(o.hc(5,19,"dpd.show.titre")),o.Cb(3),o.Ic(e.modele),o.Cb(1),o.nc("ngIf",e.dpd.titre),o.Cb(1),o.nc("ngIf",e.dpd.code),o.Cb(1),o.nc("value",e.dpd.dateEtat),o.Cb(1),o.nc("value",e.dpd.version),o.Cb(1),o.nc("value",e.getTypeCompteDeclarant()),o.Cb(1),o.nc("ngIf",4!==e.dpd.numeroModele||"DONNEUR_ORDRE"!==e.dpd.typeDeclarant),o.Cb(1),o.nc("entreprise",e.dpd.entrepriseEtrangere)("numeroModele",e.dpd.numeroModele)("pays",e.pays),o.Cb(1),o.nc("ngIf",4!==e.dpd.numeroModele),o.Cb(1),o.nc("ngIf",4!==e.dpd.numeroModele),o.Cb(1),o.nc("ngIf",4!==e.dpd.numeroModele),o.Cb(1),o.nc("ngIf",4===e.dpd.numeroModele),o.Cb(1),o.nc("frais",e.dpd.frais),o.Cb(1),o.nc("ngIf",4!==e.dpd.numeroModele),o.Cb(1),o.nc("ngIf",4===e.dpd.numeroModele),o.Cb(1),o.nc("ngIf",7!==e.dpd.numeroModele))},directives:[$n.a,$n.b,i.l,zi,sa,ma,fa,Bi,qi,i.k,ea,_a,Oa,Pa],pipes:[xt.c,i.e],styles:["#dpd-show[_ngcontent-%COMP%]{-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}#dpd-show[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:2rem}#dpd-show[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], #dpd-show[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{text-align:center}#dpd-show[_ngcontent-%COMP%] .col-2[_ngcontent-%COMP%]{display:-ms-flexbox;display:flex;margin:-14px 0}#dpd-show[_ngcontent-%COMP%] .col-2[_ngcontent-%COMP%] app-dpd-show-row[_ngcontent-%COMP%]{-ms-flex:1;flex:1}#dpd-show[_ngcontent-%COMP%] .show-salarie[_ngcontent-%COMP%]{page-break-inside:avoid}#dpd-show[_ngcontent-%COMP%] .subGroupHebergement[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{margin-bottom:8px;padding-bottom:16px;padding-top:8px;border-bottom:1px solid #999}@media print{.dpd-show-version[_ngcontent-%COMP%]{display:none}}"]}),t})();var Wa=n("NXyV"),Ua=n("EY2u"),qa=n("5+tZ"),Ga=n("p/g4"),Ja=n("Gnk8"),Za=n("uc2U"),$a=n("SKrM");let Xa=(()=>{class t{constructor(t,e,n){this.configSharedService=t,this.sireneService=e,this.tvaService=n}resolve(t){let e,n,i;const a=t.routeConfig.path;if(a===Ja.a.FOREIGN_COMPANY?(n=this.configSharedService.form.get(rt.a.FOREIGN_COMPANY).get("numTVA").value,i=this.configSharedService.form.get(rt.a.FOREIGN_COMPANY).get("adresse").get("pays").value):a===Ja.a.CLIENT?(n=this.configSharedService.form.get(rt.a.CLIENT).get("client").get("numTVA").value,i=this.configSharedService.form.get(rt.a.CLIENT).get("client").get("adresse").get("pays").value):this.configSharedService.form&&this.configSharedService.form.get("entreprise")&&this.configSharedService.form.get("entreprise").get("numTVA")&&(n=this.configSharedService.form.get("entreprise").get("numTVA").value,i=this.configSharedService.form.get("entreprise").get("adresse").get("pays").value),n)if("FR"===n.slice(0,2)&&13===n.length){const t=+n.substring(4);e=+n.substring(2,4)==(12+t%97*3)%97?(i&&"FR"===i.code?this.checkSiren(n):Object(d.a)(!0)).pipe(Object(u.a)(t=>({eligible:t,state:Za.a.VALID,socialReason:"---",address:"---"}))):this.constructResolvedData(n)}else e=this.constructResolvedData(n);else e=Object(d.a)({eligible:!0,state:Za.a.VALIDATE,socialReason:null,address:null});return e}constructResolvedData(t){return this.checkTVAViaService(t).pipe(Object(qa.a)(e=>function(t,e=Ua.a,n=Ua.a){return Object(Wa.a)(()=>t()?e:n)}(()=>e.state===Za.a.VALID&&"FR"===t.slice(0,2),this.checkSiren(t).pipe(Object(u.a)(t=>Object.assign(Object.assign({},e),{eligible:t}))),Object(d.a)(e))))}checkSiren(t){const e=[{field:"siren",values:[t.slice(-9)],operand:Ga.a.EQUAL}];return this.sireneService.getSirets(e).pipe(Object(u.a)(t=>!0),Object(Jn.a)(t=>Object(d.a)(404!==t.status)))}checkTVAViaService(t){return this.tvaService.checkTva(t).pipe(Object(u.a)(t=>({state:Za.a.VALID,socialReason:t.raisonSociale,address:t.adresse,eligible:!0})),Object(Jn.a)(t=>Object(d.a)({state:404===t.status?Za.a.INVALID:Za.a.ERROR,socialReason:"---",address:"---",eligible:!0})))}}return t.\u0275fac=function(e){return new(e||t)(o.Xb(mt.a),o.Xb(bt.a),o.Xb($a.a))},t.\u0275prov=o.Jb({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const Ka=[{path:"entreprise-etrangere",component:xe,outlet:"onglet",resolve:{resolvedData:Xa}},{path:"client",component:jt,outlet:"onglet",resolve:{resolvedData:Xa}},{path:"lieux",component:En,outlet:"onglet"},{path:"prestation",component:mn,outlet:"onglet"},{path:"frais",component:Jt,outlet:"onglet"},{path:"salarie",component:An.a,outlet:"onglet"},{path:"salaries",component:Fn,outlet:"onglet"},{path:"representant",component:an,outlet:"onglet"}],Qa=[{path:"show/:code",component:Ba},{path:"new/:model",component:Et,children:Ka,data:{mode:nt.a.CREATE},resolve:{resolvedData:_t},canDeactivate:[l]},{path:"duplicate/:code",component:Et,children:Ka,data:{mode:nt.a.DUPLICATE},resolve:{resolvedData:_t},canDeactivate:[l]},{path:"edit/:code",component:Et,children:Ka,data:{mode:nt.a.UPDATE},resolve:{resolvedData:_t},canDeactivate:[l]},{path:"complete/:code",component:Et,children:Ka,data:{mode:nt.a.COMPLETION},resolve:{resolvedData:_t}},{path:"transmise",component:Ii,data:{isTransmited:!0}},{path:"non-transmise",component:Ii,data:{isTransmited:!1}}];let tr=(()=>{class t{}return t.\u0275mod=o.Lb({type:t}),t.\u0275inj=o.Kb({factory:function(e){return new(e||t)},providers:[l],imports:[[r.j.forChild(Qa)],r.j]}),t})(),er=(()=>{class t{}return t.\u0275mod=o.Lb({type:t}),t.\u0275inj=o.Kb({factory:function(e){return new(e||t)},imports:[[tr,i.c,a.a]]}),t})()},"ZTz/":function(t,e,n){"use strict";n.d(e,"a",function(){return U}),n.d(e,"b",function(){return G});var i=n("1O3W"),a=n("SVse"),r=n("8Y7J"),o=n("UhP/"),s=n("Q2Ze"),l=n("7KAL"),c=n("YEUz"),d=n("8LU1"),u=n("CtHx"),h=n("Ht+U"),m=n("XNiG"),p=n("NXyV"),f=n("VRyK"),g=n("JX91"),b=n("eIep"),_=n("IzEk"),y=n("pLZG"),v=n("lJxs"),C=n("/uUt"),w=n("1G5W"),x=n("GS7A"),M=n("9gLZ"),O=n("s7LF");const k=["trigger"],S=["panel"];function T(t,e){if(1&t&&(r.Tb(0,"span",8),r.Hc(1),r.Sb()),2&t){const t=r.fc();r.Cb(1),r.Ic(t.placeholder||"\xa0")}}function P(t,e){if(1&t&&(r.Tb(0,"span"),r.Hc(1),r.Sb()),2&t){const t=r.fc(2);r.Cb(1),r.Ic(t.triggerValue||"\xa0")}}function L(t,e){1&t&&r.lc(0,0,["*ngSwitchCase","true"])}function D(t,e){if(1&t&&(r.Tb(0,"span",9),r.Fc(1,P,2,1,"span",10),r.Fc(2,L,1,0,"ng-content",11),r.Sb()),2&t){const t=r.fc();r.nc("ngSwitch",!!t.customTrigger),r.Cb(2),r.nc("ngSwitchCase",!0)}}function E(t,e){if(1&t){const t=r.Ub();r.Tb(0,"div",12),r.Tb(1,"div",13,14),r.bc("@transformPanel.done",function(e){return r.yc(t),r.fc()._panelDoneAnimatingStream.next(e.toState)})("keydown",function(e){return r.yc(t),r.fc()._handleKeydown(e)}),r.lc(3,1),r.Sb(),r.Sb()}if(2&t){const t=r.fc();r.nc("@transformPanelWrap",void 0),r.Cb(1),r.Eb("mat-select-panel ",t._getPanelTheme(),""),r.Cc("transform-origin",t._transformOrigin)("font-size",t._triggerFontSize,"px"),r.nc("ngClass",t.panelClass)("@transformPanel",t.multiple?"showing-multiple":"showing"),r.Db("id",t.id+"-panel")("aria-multiselectable",t.multiple)("aria-label",t.ariaLabel||null)("aria-labelledby",t._getPanelAriaLabelledby())}}const A=[[["mat-select-trigger"]],"*"],I=["mat-select-trigger","*"],R={transformPanelWrap:Object(x.n)("transformPanelWrap",[Object(x.m)("* => void",Object(x.i)("@transformPanel",[Object(x.f)()],{optional:!0}))]),transformPanel:Object(x.n)("transformPanel",[Object(x.k)("void",Object(x.l)({transform:"scaleY(0.8)",minWidth:"100%",opacity:0})),Object(x.k)("showing",Object(x.l)({opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"})),Object(x.k)("showing-multiple",Object(x.l)({opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"})),Object(x.m)("void => *",Object(x.e)("120ms cubic-bezier(0, 0, 0.2, 1)")),Object(x.m)("* => void",Object(x.e)("100ms 25ms linear",Object(x.l)({opacity:0})))])};let N=0;const Y=new r.s("mat-select-scroll-strategy"),H=new r.s("MAT_SELECT_CONFIG"),j={provide:Y,deps:[i.c],useFactory:function(t){return()=>t.scrollStrategies.reposition()}};class F{constructor(t,e){this.source=t,this.value=e}}class z{constructor(t,e,n,i,a){this._elementRef=t,this._defaultErrorStateMatcher=e,this._parentForm=n,this._parentFormGroup=i,this.ngControl=a}}const V=Object(o.x)(Object(o.B)(Object(o.y)(Object(o.z)(z)))),B=new r.s("MatSelectTrigger");let W=(()=>{class t extends V{constructor(t,e,n,i,a,o,s,l,c,d,u,h,C,w){var x,M,O;super(a,i,s,l,d),this._viewportRuler=t,this._changeDetectorRef=e,this._ngZone=n,this._dir=o,this._parentFormField=c,this.ngControl=d,this._liveAnnouncer=C,this._defaultOptions=w,this._panelOpen=!1,this._compareWith=(t,e)=>t===e,this._uid="mat-select-"+N++,this._triggerAriaLabelledBy=null,this._destroy=new m.a,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+N++,this._panelDoneAnimatingStream=new m.a,this._overlayPanelClass=(null===(x=this._defaultOptions)||void 0===x?void 0:x.overlayPanelClass)||"",this._focused=!1,this.controlType="mat-select",this._required=!1,this._multiple=!1,this._disableOptionCentering=null!==(O=null===(M=this._defaultOptions)||void 0===M?void 0:M.disableOptionCentering)&&void 0!==O&&O,this.ariaLabel="",this.optionSelectionChanges=Object(p.a)(()=>{const t=this.options;return t?t.changes.pipe(Object(g.a)(t),Object(b.a)(()=>Object(f.a)(...t.map(t=>t.onSelectionChange)))):this._ngZone.onStable.pipe(Object(_.a)(1),Object(b.a)(()=>this.optionSelectionChanges))}),this.openedChange=new r.o,this._openedStream=this.openedChange.pipe(Object(y.a)(t=>t),Object(v.a)(()=>{})),this._closedStream=this.openedChange.pipe(Object(y.a)(t=>!t),Object(v.a)(()=>{})),this.selectionChange=new r.o,this.valueChange=new r.o,this.ngControl&&(this.ngControl.valueAccessor=this),null!=(null==w?void 0:w.typeaheadDebounceInterval)&&(this._typeaheadDebounceInterval=w.typeaheadDebounceInterval),this._scrollStrategyFactory=h,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(u)||0,this.id=this.id}get focused(){return this._focused||this._panelOpen}get placeholder(){return this._placeholder}set placeholder(t){this._placeholder=t,this.stateChanges.next()}get required(){return this._required}set required(t){this._required=Object(d.c)(t),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(t){this._multiple=Object(d.c)(t)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(t){this._disableOptionCentering=Object(d.c)(t)}get compareWith(){return this._compareWith}set compareWith(t){this._compareWith=t,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(t){t!==this._value&&(this.options&&this._setSelectionByValue(t),this._value=t)}get typeaheadDebounceInterval(){return this._typeaheadDebounceInterval}set typeaheadDebounceInterval(t){this._typeaheadDebounceInterval=Object(d.f)(t)}get id(){return this._id}set id(t){this._id=t||this._uid,this.stateChanges.next()}ngOnInit(){this._selectionModel=new u.c(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(Object(C.a)(),Object(w.a)(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen))}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe(Object(w.a)(this._destroy)).subscribe(t=>{t.added.forEach(t=>t.select()),t.removed.forEach(t=>t.deselect())}),this.options.changes.pipe(Object(g.a)(null),Object(w.a)(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const t=this._getTriggerAriaLabelledby();if(t!==this._triggerAriaLabelledBy){const e=this._elementRef.nativeElement;this._triggerAriaLabelledBy=t,t?e.setAttribute("aria-labelledby",t):e.removeAttribute("aria-labelledby")}this.ngControl&&this.updateErrorState()}ngOnChanges(t){t.disabled&&this.stateChanges.next(),t.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this._typeaheadDebounceInterval)}ngOnDestroy(){this._destroy.next(),this._destroy.complete(),this.stateChanges.complete()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck())}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())}writeValue(t){this.value=t}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){return this.multiple?this._selectionModel.selected:this._selectionModel.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){const t=this._selectionModel.selected.map(t=>t.viewValue);return this._isRtl()&&t.reverse(),t.join(", ")}return this._selectionModel.selected[0].viewValue}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(t){this.disabled||(this.panelOpen?this._handleOpenKeydown(t):this._handleClosedKeydown(t))}_handleClosedKeydown(t){const e=t.keyCode,n=e===h.c||e===h.o||e===h.h||e===h.l,i=e===h.e||e===h.m,a=this._keyManager;if(!a.isTyping()&&i&&!Object(h.r)(t)||(this.multiple||t.altKey)&&n)t.preventDefault(),this.open();else if(!this.multiple){const e=this.selected;a.onKeydown(t);const n=this.selected;n&&e!==n&&this._liveAnnouncer.announce(n.viewValue,1e4)}}_handleOpenKeydown(t){const e=this._keyManager,n=t.keyCode,i=n===h.c||n===h.o,a=e.isTyping();if(i&&t.altKey)t.preventDefault(),this.close();else if(a||n!==h.e&&n!==h.m||!e.activeItem||Object(h.r)(t))if(!a&&this._multiple&&n===h.a&&t.ctrlKey){t.preventDefault();const e=this.options.some(t=>!t.disabled&&!t.selected);this.options.forEach(t=>{t.disabled||(e?t.select():t.deselect())})}else{const n=e.activeItemIndex;e.onKeydown(t),this._multiple&&i&&t.shiftKey&&e.activeItem&&e.activeItemIndex!==n&&e.activeItem._selectViaInteraction()}else t.preventDefault(),e.activeItem._selectViaInteraction()}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,this.disabled||this.panelOpen||(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this.overlayDir.positionChange.pipe(Object(_.a)(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()})}_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this._setSelectionByValue(this.ngControl?this.ngControl.value:this._value),this.stateChanges.next()})}_setSelectionByValue(t){if(this._selectionModel.selected.forEach(t=>t.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&t)Array.isArray(t),t.forEach(t=>this._selectValue(t)),this._sortValues();else{const e=this._selectValue(t);e?this._keyManager.updateActiveItem(e):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectValue(t){const e=this.options.find(e=>{try{return null!=e.value&&this._compareWith(e.value,t)}catch(n){return!1}});return e&&this._selectionModel.select(e),e}_initKeyManager(){this._keyManager=new c.b(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.pipe(Object(w.a)(this._destroy)).subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.pipe(Object(w.a)(this._destroy)).subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):this._panelOpen||this.multiple||!this._keyManager.activeItem||this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){const t=Object(f.a)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(Object(w.a)(t)).subscribe(t=>{this._onSelect(t.source,t.isUserInput),t.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),Object(f.a)(...this.options.map(t=>t._stateChanges)).pipe(Object(w.a)(t)).subscribe(()=>{this._changeDetectorRef.markForCheck(),this.stateChanges.next()})}_onSelect(t,e){const n=this._selectionModel.isSelected(t);null!=t.value||this._multiple?(n!==t.selected&&(t.selected?this._selectionModel.select(t):this._selectionModel.deselect(t)),e&&this._keyManager.setActiveItem(t),this.multiple&&(this._sortValues(),e&&this.focus())):(t.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(t.value)),n!==this._selectionModel.isSelected(t)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const t=this.options.toArray();this._selectionModel.sort((e,n)=>this.sortComparator?this.sortComparator(e,n,t):t.indexOf(e)-t.indexOf(n)),this.stateChanges.next()}}_propagateChanges(t){let e=null;e=this.multiple?this.selected.map(t=>t.value):this.selected?this.selected.value:t,this._value=e,this.valueChange.emit(e),this._onChange(e),this.selectionChange.emit(this._getChangeEvent(e)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))}_canOpen(){var t;return!this._panelOpen&&!this.disabled&&(null===(t=this.options)||void 0===t?void 0:t.length)>0}focus(t){this._elementRef.nativeElement.focus(t)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;const t=this._getLabelId();return this.ariaLabelledby?t+" "+this.ariaLabelledby:t}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getLabelId(){var t;return(null===(t=this._parentFormField)||void 0===t?void 0:t.getLabelId())||""}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;let t=this._getLabelId()+" "+this._valueId;return this.ariaLabelledby&&(t+=" "+this.ariaLabelledby),t}_panelDoneAnimating(t){this.openedChange.emit(t)}setDescribedByIds(t){this._ariaDescribedby=t.join(" ")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this._panelOpen||!this.empty}}return t.\u0275fac=function(e){return new(e||t)(r.Nb(l.e),r.Nb(r.h),r.Nb(r.B),r.Nb(o.d),r.Nb(r.l),r.Nb(M.b,8),r.Nb(O.q,8),r.Nb(O.i,8),r.Nb(s.a,8),r.Nb(O.n,10),r.Yb("tabindex"),r.Nb(Y),r.Nb(c.k),r.Nb(H,8))},t.\u0275dir=r.Ib({type:t,viewQuery:function(t,e){if(1&t&&(r.Lc(k,1),r.Lc(S,1),r.Lc(i.a,1)),2&t){let t;r.uc(t=r.cc())&&(e.trigger=t.first),r.uc(t=r.cc())&&(e.panel=t.first),r.uc(t=r.cc())&&(e.overlayDir=t.first)}},inputs:{ariaLabel:["aria-label","ariaLabel"],id:"id",placeholder:"placeholder",required:"required",multiple:"multiple",disableOptionCentering:"disableOptionCentering",compareWith:"compareWith",value:"value",typeaheadDebounceInterval:"typeaheadDebounceInterval",panelClass:"panelClass",ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",sortComparator:"sortComparator"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},features:[r.zb,r.Ab]}),t})(),U=(()=>{class t extends W{constructor(){super(...arguments),this._scrollTop=0,this._triggerFontSize=0,this._transformOrigin="top",this._offsetY=0,this._positions=[{originX:"start",originY:"top",overlayX:"start",overlayY:"top"},{originX:"start",originY:"bottom",overlayX:"start",overlayY:"bottom"}]}_calculateOverlayScroll(t,e,n){const i=this._getItemHeight();return Math.min(Math.max(0,i*t-e+i/2),n)}ngOnInit(){super.ngOnInit(),this._viewportRuler.change().pipe(Object(w.a)(this._destroy)).subscribe(()=>{this.panelOpen&&(this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._changeDetectorRef.markForCheck())})}open(){super._canOpen()&&(super.open(),this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._triggerFontSize=parseInt(getComputedStyle(this.trigger.nativeElement).fontSize||"0"),this._calculateOverlayPosition(),this._ngZone.onStable.pipe(Object(_.a)(1)).subscribe(()=>{this._triggerFontSize&&this.overlayDir.overlayRef&&this.overlayDir.overlayRef.overlayElement&&(this.overlayDir.overlayRef.overlayElement.style.fontSize=`${this._triggerFontSize}px`)}))}_scrollOptionIntoView(t){const e=Object(o.u)(t,this.options,this.optionGroups),n=this._getItemHeight();this.panel.nativeElement.scrollTop=Object(o.v)((t+e)*n,n,this.panel.nativeElement.scrollTop,256)}_positioningSettled(){this._calculateOverlayOffsetX(),this.panel.nativeElement.scrollTop=this._scrollTop}_panelDoneAnimating(t){this.panelOpen?this._scrollTop=0:(this.overlayDir.offsetX=0,this._changeDetectorRef.markForCheck()),super._panelDoneAnimating(t)}_getChangeEvent(t){return new F(this,t)}_calculateOverlayOffsetX(){const t=this.overlayDir.overlayRef.overlayElement.getBoundingClientRect(),e=this._viewportRuler.getViewportSize(),n=this._isRtl(),i=this.multiple?56:32;let a;if(this.multiple)a=40;else{let t=this._selectionModel.selected[0]||this.options.first;a=t&&t.group?32:16}n||(a*=-1);const r=0-(t.left+a-(n?i:0)),o=t.right+a-e.width+(n?0:i);r>0?a+=r+8:o>0&&(a-=o+8),this.overlayDir.offsetX=Math.round(a),this.overlayDir.overlayRef.updatePosition()}_calculateOverlayOffsetY(t,e,n){const i=this._getItemHeight(),a=(i-this._triggerRect.height)/2,r=Math.floor(256/i);let o;return this.disableOptionCentering?0:(o=0===this._scrollTop?t*i:this._scrollTop===n?(t-(this._getItemCount()-r))*i+(i-(this._getItemCount()*i-256)%i):e-i/2,Math.round(-1*o-a))}_checkOverlayWithinViewport(t){const e=this._getItemHeight(),n=this._viewportRuler.getViewportSize(),i=this._triggerRect.top-8,a=n.height-this._triggerRect.bottom-8,r=Math.abs(this._offsetY),o=Math.min(this._getItemCount()*e,256)-r-this._triggerRect.height;o>a?this._adjustPanelUp(o,a):r>i?this._adjustPanelDown(r,i,t):this._transformOrigin=this._getOriginBasedOnOption()}_adjustPanelUp(t,e){const n=Math.round(t-e);this._scrollTop-=n,this._offsetY-=n,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop<=0&&(this._scrollTop=0,this._offsetY=0,this._transformOrigin="50% bottom 0px")}_adjustPanelDown(t,e,n){const i=Math.round(t-e);if(this._scrollTop+=i,this._offsetY+=i,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=n)return this._scrollTop=n,this._offsetY=0,void(this._transformOrigin="50% top 0px")}_calculateOverlayPosition(){const t=this._getItemHeight(),e=this._getItemCount(),n=Math.min(e*t,256),i=e*t-n;let a;a=this.empty?0:Math.max(this.options.toArray().indexOf(this._selectionModel.selected[0]),0),a+=Object(o.u)(a,this.options,this.optionGroups);const r=n/2;this._scrollTop=this._calculateOverlayScroll(a,r,i),this._offsetY=this._calculateOverlayOffsetY(a,r,i),this._checkOverlayWithinViewport(i)}_getOriginBasedOnOption(){const t=this._getItemHeight(),e=(t-this._triggerRect.height)/2;return`50% ${Math.abs(this._offsetY)-e+t/2}px 0px`}_getItemHeight(){return 3*this._triggerFontSize}_getItemCount(){return this.options.length+this.optionGroups.length}}return t.\u0275fac=function(e){return q(e||t)},t.\u0275cmp=r.Hb({type:t,selectors:[["mat-select"]],contentQueries:function(t,e,n){if(1&t&&(r.Gb(n,B,1),r.Gb(n,o.m,1),r.Gb(n,o.g,1)),2&t){let t;r.uc(t=r.cc())&&(e.customTrigger=t.first),r.uc(t=r.cc())&&(e.options=t),r.uc(t=r.cc())&&(e.optionGroups=t)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","true",1,"mat-select"],hostVars:20,hostBindings:function(t,e){1&t&&r.bc("keydown",function(t){return e._handleKeydown(t)})("focus",function(){return e._onFocus()})("blur",function(){return e._onBlur()}),2&t&&(r.Db("id",e.id)("tabindex",e.tabIndex)("aria-controls",e.panelOpen?e.id+"-panel":null)("aria-expanded",e.panelOpen)("aria-label",e.ariaLabel||null)("aria-required",e.required.toString())("aria-disabled",e.disabled.toString())("aria-invalid",e.errorState)("aria-describedby",e._ariaDescribedby||null)("aria-activedescendant",e._getAriaActiveDescendant()),r.Fb("mat-select-disabled",e.disabled)("mat-select-invalid",e.errorState)("mat-select-required",e.required)("mat-select-empty",e.empty)("mat-select-multiple",e.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matSelect"],features:[r.Bb([{provide:s.d,useExisting:t},{provide:o.h,useExisting:t}]),r.zb],ngContentSelectors:I,decls:9,vars:12,consts:[["cdk-overlay-origin","",1,"mat-select-trigger",3,"click"],["origin","cdkOverlayOrigin","trigger",""],[1,"mat-select-value",3,"ngSwitch"],["class","mat-select-placeholder",4,"ngSwitchCase"],["class","mat-select-value-text",3,"ngSwitch",4,"ngSwitchCase"],[1,"mat-select-arrow-wrapper"],[1,"mat-select-arrow"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayMinWidth","cdkConnectedOverlayOffsetY","backdropClick","attach","detach"],[1,"mat-select-placeholder"],[1,"mat-select-value-text",3,"ngSwitch"],[4,"ngSwitchDefault"],[4,"ngSwitchCase"],[1,"mat-select-panel-wrap"],["role","listbox","tabindex","-1",3,"ngClass","keydown"],["panel",""]],template:function(t,e){if(1&t&&(r.mc(A),r.Tb(0,"div",0,1),r.bc("click",function(){return e.toggle()}),r.Tb(3,"div",2),r.Fc(4,T,2,1,"span",3),r.Fc(5,D,3,2,"span",4),r.Sb(),r.Tb(6,"div",5),r.Ob(7,"div",6),r.Sb(),r.Sb(),r.Fc(8,E,4,14,"ng-template",7),r.bc("backdropClick",function(){return e.close()})("attach",function(){return e._onAttached()})("detach",function(){return e.close()})),2&t){const t=r.vc(1);r.Db("aria-owns",e.panelOpen?e.id+"-panel":null),r.Cb(3),r.nc("ngSwitch",e.empty),r.Db("id",e._valueId),r.Cb(1),r.nc("ngSwitchCase",!0),r.Cb(1),r.nc("ngSwitchCase",!1),r.Cb(3),r.nc("cdkConnectedOverlayPanelClass",e._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",e._scrollStrategy)("cdkConnectedOverlayOrigin",t)("cdkConnectedOverlayOpen",e.panelOpen)("cdkConnectedOverlayPositions",e._positions)("cdkConnectedOverlayMinWidth",null==e._triggerRect?null:e._triggerRect.width)("cdkConnectedOverlayOffsetY",e._offsetY)}},directives:[i.b,a.n,a.o,i.a,a.p,a.j],styles:[".mat-select{display:inline-block;width:100%;outline:none}.mat-select-trigger{display:inline-table;cursor:pointer;position:relative;box-sizing:border-box}.mat-select-disabled .mat-select-trigger{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-select-value{display:table-cell;max-width:0;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-select-arrow-wrapper{display:table-cell;vertical-align:middle}.mat-form-field-appearance-fill .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-outline .mat-select-arrow-wrapper{transform:translateY(-25%)}.mat-form-field-appearance-standard.mat-form-field-has-label .mat-select:not(.mat-select-empty) .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:none}.mat-select-arrow{width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;margin:0 4px}.mat-select-panel-wrap{flex-basis:100%}.mat-select-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;padding-top:0;padding-bottom:0;max-height:256px;min-width:100%;border-radius:4px;outline:0}.cdk-high-contrast-active .mat-select-panel{outline:solid 1px}.mat-select-panel .mat-optgroup-label,.mat-select-panel .mat-option{font-size:inherit;line-height:3em;height:3em}.mat-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-form-field-flex{cursor:pointer}.mat-form-field-type-mat-select .mat-form-field-label{width:calc(100% - 18px)}.mat-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable .mat-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-select-placeholder{color:transparent;-webkit-text-fill-color:transparent;transition:none;display:block}\n"],encapsulation:2,data:{animation:[R.transformPanelWrap,R.transformPanel]},changeDetection:0}),t})();const q=r.Vb(U);let G=(()=>{class t{}return t.\u0275mod=r.Lb({type:t}),t.\u0275inj=r.Kb({factory:function(e){return new(e||t)},providers:[j],imports:[[a.c,i.f,o.n,o.j],l.b,s.e,o.n,o.j]}),t})()},"Zd/F":function(t,e,n){"use strict";n.d(e,"a",function(){return o});var i=n("Qaas"),a=n("j9Ql"),r=n("DVMI");class o{constructor({type:t=null,raisonSociale:e=null,idSalarie:n=null,numTVA:o=null,siret:s=null,adresse:l={},personne:c={},telephone:d=null,email:u=null,conservation:h=r.a.LIEU_PRESTATION}){this.type=t,this.raisonSociale=e,this.idSalarie=n,this.numTVA=o,this.siret=s,this.adresse=new i.a(l),this.personne=new a.a(c),this.telephone=d,this.email=u,this.conservation=h}getForPost(){const t=Object.assign(Object.assign({},this),{adresse:this.adresse.getForPost(),personne:this.personne.getForPost()});return delete t.idSalarie,t}}},Zduo:function(t,e,n){!function(t){"use strict";t.defineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_a\u016dgusto_septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_mart_apr_maj_jun_jul_a\u016dg_sept_okt_nov_dec".split("_"),weekdays:"diman\u0109o_lundo_mardo_merkredo_\u0135a\u016ddo_vendredo_sabato".split("_"),weekdaysShort:"dim_lun_mard_merk_\u0135a\u016d_ven_sab".split("_"),weekdaysMin:"di_lu_ma_me_\u0135a_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"[la] D[-an de] MMMM, YYYY",LLL:"[la] D[-an de] MMMM, YYYY HH:mm",LLLL:"dddd[n], [la] D[-an de] MMMM, YYYY HH:mm",llll:"ddd, [la] D[-an de] MMM, YYYY HH:mm"},meridiemParse:/[ap]\.t\.m/i,isPM:function(t){return"p"===t.charAt(0).toLowerCase()},meridiem:function(t,e,n){return t>11?n?"p.t.m.":"P.T.M.":n?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodia\u016d je] LT",nextDay:"[Morga\u016d je] LT",nextWeek:"dddd[n je] LT",lastDay:"[Hiera\u016d je] LT",lastWeek:"[pasintan] dddd[n je] LT",sameElse:"L"},relativeTime:{future:"post %s",past:"anta\u016d %s",s:"kelkaj sekundoj",ss:"%d sekundoj",m:"unu minuto",mm:"%d minutoj",h:"unu horo",hh:"%d horoj",d:"unu tago",dd:"%d tagoj",M:"unu monato",MM:"%d monatoj",y:"unu jaro",yy:"%d jaroj"},dayOfMonthOrdinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}})}(n("wd/R"))},ZgVP:function(t,e,n){"use strict";function i(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function a(t,e,n){return e&&i(t.prototype,e),n&&i(t,n),t}function r(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function o(t){return(o=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function s(t,e){return(s=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function l(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function c(t,e,n){return(c=l()?Reflect.construct:function(t,e,n){var i=[null];i.push.apply(i,e);var a=new(Function.bind.apply(t,i));return n&&s(a,n.prototype),a}).apply(null,arguments)}function d(t){var e="function"==typeof Map?new Map:void 0;return(d=function(t){if(null===t||-1===Function.toString.call(t).indexOf("[native code]"))return t;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,n)}function n(){return c(t,arguments,o(this).constructor)}return n.prototype=Object.create(t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),s(n,t)})(t)}function u(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function h(t){var e=0;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(t=function(t,e){if(t){if("string"==typeof t)return u(t,void 0);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?u(t,void 0):void 0}}(t)))return function(){return e>=t.length?{done:!0}:{done:!1,value:t[e++]}};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(e=t[Symbol.iterator]()).next.bind(e)}Object.defineProperty(e,"__esModule",{value:!0});var m=function(t){function e(){return t.apply(this,arguments)||this}return r(e,t),e}(d(Error)),p=function(t){function e(e){return t.call(this,"Invalid DateTime: "+e.toMessage())||this}return r(e,t),e}(m),f=function(t){function e(e){return t.call(this,"Invalid Interval: "+e.toMessage())||this}return r(e,t),e}(m),g=function(t){function e(e){return t.call(this,"Invalid Duration: "+e.toMessage())||this}return r(e,t),e}(m),b=function(t){function e(){return t.apply(this,arguments)||this}return r(e,t),e}(m),_=function(t){function e(e){return t.call(this,"Invalid unit "+e)||this}return r(e,t),e}(m),y=function(t){function e(){return t.apply(this,arguments)||this}return r(e,t),e}(m),v=function(t){function e(){return t.call(this,"Zone is an abstract class")||this}return r(e,t),e}(m),C="numeric",w="short",x="long",M={year:C,month:C,day:C},O={year:C,month:w,day:C},k={year:C,month:x,day:C},S={year:C,month:x,day:C,weekday:x},T={hour:C,minute:C},P={hour:C,minute:C,second:C},L={hour:C,minute:C,second:C,timeZoneName:w},D={hour:C,minute:C,second:C,timeZoneName:x},E={hour:C,minute:C,hour12:!1},A={hour:C,minute:C,second:C,hour12:!1},I={hour:C,minute:C,second:C,hour12:!1,timeZoneName:w},R={hour:C,minute:C,second:C,hour12:!1,timeZoneName:x},N={year:C,month:C,day:C,hour:C,minute:C},Y={year:C,month:C,day:C,hour:C,minute:C,second:C},H={year:C,month:w,day:C,hour:C,minute:C},j={year:C,month:w,day:C,hour:C,minute:C,second:C},F={year:C,month:w,day:C,weekday:w,hour:C,minute:C},z={year:C,month:x,day:C,hour:C,minute:C,timeZoneName:w},V={year:C,month:x,day:C,hour:C,minute:C,second:C,timeZoneName:w},B={year:C,month:x,day:C,weekday:x,hour:C,minute:C,timeZoneName:x},W={year:C,month:x,day:C,weekday:x,hour:C,minute:C,second:C,timeZoneName:x};function U(t){return void 0===t}function q(t){return"number"==typeof t}function G(t){return"number"==typeof t&&t%1==0}function J(){try{return"undefined"!=typeof Intl&&Intl.DateTimeFormat}catch(t){return!1}}function Z(){return!U(Intl.DateTimeFormat.prototype.formatToParts)}function $(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function X(t,e,n){if(0!==t.length)return t.reduce(function(t,i){var a=[e(i),i];return t&&n(t[0],a[0])===t[0]?t:a},null)[1]}function K(t,e){return e.reduce(function(e,n){return e[n]=t[n],e},{})}function Q(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function tt(t,e,n){return G(t)&&t>=e&&t<=n}function et(t,e){return void 0===e&&(e=2),t.toString().length<e?("0".repeat(e)+t).slice(-e):t.toString()}function nt(t){return U(t)||null===t||""===t?void 0:parseInt(t,10)}function it(t){if(!U(t)&&null!==t&&""!==t){var e=1e3*parseFloat("0."+t);return Math.floor(e)}}function at(t,e,n){void 0===n&&(n=!1);var i=Math.pow(10,e);return(n?Math.trunc:Math.round)(t*i)/i}function rt(t){return t%4==0&&(t%100!=0||t%400==0)}function ot(t){return rt(t)?366:365}function st(t,e){var n,i=(n=e-1)-12*Math.floor(n/12)+1;return 2===i?rt(t+(e-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function lt(t){var e=Date.UTC(t.year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond);return t.year<100&&t.year>=0&&(e=new Date(e)).setUTCFullYear(e.getUTCFullYear()-1900),+e}function ct(t){var e=(t+Math.floor(t/4)-Math.floor(t/100)+Math.floor(t/400))%7,n=t-1,i=(n+Math.floor(n/4)-Math.floor(n/100)+Math.floor(n/400))%7;return 4===e||3===i?53:52}function dt(t){return t>99?t:t>60?1900+t:2e3+t}function ut(t,e,n,i){void 0===i&&(i=null);var a=new Date(t),r={hour12:!1,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};i&&(r.timeZone=i);var o=Object.assign({timeZoneName:e},r),s=J();if(s&&Z()){var l=new Intl.DateTimeFormat(n,o).formatToParts(a).find(function(t){return"timezonename"===t.type.toLowerCase()});return l?l.value:null}if(s){var c=new Intl.DateTimeFormat(n,r).format(a);return new Intl.DateTimeFormat(n,o).format(a).substring(c.length).replace(/^[, \u200e]+/,"")}return null}function ht(t,e){var n=parseInt(t,10);Number.isNaN(n)&&(n=0);var i=parseInt(e,10)||0;return 60*n+(n<0||Object.is(n,-0)?-i:i)}function mt(t){var e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new y("Invalid unit value "+t);return e}function pt(t,e,n){var i={};for(var a in t)if(Q(t,a)){if(n.indexOf(a)>=0)continue;var r=t[a];if(null==r)continue;i[e(a)]=mt(r)}return i}function ft(t,e){var n=Math.trunc(t/60),i=Math.abs(t%60),a=n>=0&&!Object.is(n,-0)?"+":"-",r=""+a+Math.abs(n);switch(e){case"short":return""+a+et(Math.abs(n),2)+":"+et(i,2);case"narrow":return i>0?r+":"+i:r;case"techie":return""+a+et(Math.abs(n),2)+et(i,2);default:throw new RangeError("Value format "+e+" is out of range for property format")}}function gt(t){return K(t,["hour","minute","second","millisecond"])}var bt=/[A-Za-z_+-]{1,256}(:?\/[A-Za-z_+-]{1,256}(\/[A-Za-z_+-]{1,256})?)?/;function _t(t){return JSON.stringify(t,Object.keys(t).sort())}var yt=["January","February","March","April","May","June","July","August","September","October","November","December"],vt=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],Ct=["J","F","M","A","M","J","J","A","S","O","N","D"];function wt(t){switch(t){case"narrow":return Ct;case"short":return vt;case"long":return yt;case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}var xt=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],Mt=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],Ot=["M","T","W","T","F","S","S"];function kt(t){switch(t){case"narrow":return Ot;case"short":return Mt;case"long":return xt;case"numeric":return["1","2","3","4","5","6","7"];default:return null}}var St=["AM","PM"],Tt=["Before Christ","Anno Domini"],Pt=["BC","AD"],Lt=["B","A"];function Dt(t){switch(t){case"narrow":return Lt;case"short":return Pt;case"long":return Tt;default:return null}}function Et(t,e){for(var n,i="",a=h(t);!(n=a()).done;){var r=n.value;i+=r.literal?r.val:e(r.val)}return i}var At={D:M,DD:O,DDD:k,DDDD:S,t:T,tt:P,ttt:L,tttt:D,T:E,TT:A,TTT:I,TTTT:R,f:N,ff:H,fff:z,ffff:B,F:Y,FF:j,FFF:V,FFFF:W},It=function(){function t(t,e){this.opts=e,this.loc=t,this.systemLoc=null}t.create=function(e,n){return void 0===n&&(n={}),new t(e,n)},t.parseFormat=function(t){for(var e=null,n="",i=!1,a=[],r=0;r<t.length;r++){var o=t.charAt(r);"'"===o?(n.length>0&&a.push({literal:i,val:n}),e=null,n="",i=!i):i||o===e?n+=o:(n.length>0&&a.push({literal:!1,val:n}),n=o,e=o)}return n.length>0&&a.push({literal:i,val:n}),a},t.macroTokenToFormatOpts=function(t){return At[t]};var e=t.prototype;return e.formatWithSystemDefault=function(t,e){return null===this.systemLoc&&(this.systemLoc=this.loc.redefaultToSystem()),this.systemLoc.dtFormatter(t,Object.assign({},this.opts,e)).format()},e.formatDateTime=function(t,e){return void 0===e&&(e={}),this.loc.dtFormatter(t,Object.assign({},this.opts,e)).format()},e.formatDateTimeParts=function(t,e){return void 0===e&&(e={}),this.loc.dtFormatter(t,Object.assign({},this.opts,e)).formatToParts()},e.resolvedOptions=function(t,e){return void 0===e&&(e={}),this.loc.dtFormatter(t,Object.assign({},this.opts,e)).resolvedOptions()},e.num=function(t,e){if(void 0===e&&(e=0),this.opts.forceSimple)return et(t,e);var n=Object.assign({},this.opts);return e>0&&(n.padTo=e),this.loc.numberFormatter(n).format(t)},e.formatDateTimeFromString=function(e,n){var i=this,a="en"===this.loc.listingMode(),r=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar&&Z(),o=function(t,n){return i.loc.extract(e,t,n)},s=function(t){return e.isOffsetFixed&&0===e.offset&&t.allowZ?"Z":e.isValid?e.zone.formatOffset(e.ts,t.format):""},l=function(t,n){return a?function(t,e){return wt(e)[t.month-1]}(e,t):o(n?{month:t}:{month:t,day:"numeric"},"month")},c=function(t,n){return a?function(t,e){return kt(e)[t.weekday-1]}(e,t):o(n?{weekday:t}:{weekday:t,month:"long",day:"numeric"},"weekday")},d=function(t){return a?function(t,e){return Dt(e)[t.year<0?0:1]}(e,t):o({era:t},"era")};return Et(t.parseFormat(n),function(n){switch(n){case"S":return i.num(e.millisecond);case"u":case"SSS":return i.num(e.millisecond,3);case"s":return i.num(e.second);case"ss":return i.num(e.second,2);case"m":return i.num(e.minute);case"mm":return i.num(e.minute,2);case"h":return i.num(e.hour%12==0?12:e.hour%12);case"hh":return i.num(e.hour%12==0?12:e.hour%12,2);case"H":return i.num(e.hour);case"HH":return i.num(e.hour,2);case"Z":return s({format:"narrow",allowZ:i.opts.allowZ});case"ZZ":return s({format:"short",allowZ:i.opts.allowZ});case"ZZZ":return s({format:"techie",allowZ:i.opts.allowZ});case"ZZZZ":return console.log(e.zone),e.zone.offsetName(e.ts,{format:"short",locale:i.loc.locale});case"ZZZZZ":return e.zone.offsetName(e.ts,{format:"long",locale:i.loc.locale});case"z":return e.zoneName;case"a":return a?function(t){return St[t.hour<12?0:1]}(e):o({hour:"numeric",hour12:!0},"dayperiod");case"d":return r?o({day:"numeric"},"day"):i.num(e.day);case"dd":return r?o({day:"2-digit"},"day"):i.num(e.day,2);case"c":return i.num(e.weekday);case"ccc":return c("short",!0);case"cccc":return c("long",!0);case"ccccc":return c("narrow",!0);case"E":return i.num(e.weekday);case"EEE":return c("short",!1);case"EEEE":return c("long",!1);case"EEEEE":return c("narrow",!1);case"L":return r?o({month:"numeric",day:"numeric"},"month"):i.num(e.month);case"LL":return r?o({month:"2-digit",day:"numeric"},"month"):i.num(e.month,2);case"LLL":return l("short",!0);case"LLLL":return l("long",!0);case"LLLLL":return l("narrow",!0);case"M":return r?o({month:"numeric"},"month"):i.num(e.month);case"MM":return r?o({month:"2-digit"},"month"):i.num(e.month,2);case"MMM":return l("short",!1);case"MMMM":return l("long",!1);case"MMMMM":return l("narrow",!1);case"y":return r?o({year:"numeric"},"year"):i.num(e.year);case"yy":return r?o({year:"2-digit"},"year"):i.num(e.year.toString().slice(-2),2);case"yyyy":return r?o({year:"numeric"},"year"):i.num(e.year,4);case"yyyyyy":return r?o({year:"numeric"},"year"):i.num(e.year,6);case"G":return d("short");case"GG":return d("long");case"GGGGG":return d("narrow");case"kk":return i.num(e.weekYear.toString().slice(-2),2);case"kkkk":return i.num(e.weekYear,4);case"W":return i.num(e.weekNumber);case"WW":return i.num(e.weekNumber,2);case"o":return i.num(e.ordinal);case"ooo":return i.num(e.ordinal,3);case"q":return i.num(e.quarter);case"qq":return i.num(e.quarter,2);case"X":return i.num(Math.floor(e.ts/1e3));case"x":return i.num(e.ts);default:return function(n){var a=t.macroTokenToFormatOpts(n);return a?i.formatWithSystemDefault(e,a):n}(n)}})},e.formatDurationFromString=function(e,n){var i,a=this,r=function(t){switch(t[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"M":return"month";case"y":return"year";default:return null}},o=t.parseFormat(n),s=o.reduce(function(t,e){return e.literal?t:t.concat(e.val)},[]),l=e.shiftTo.apply(e,s.map(r).filter(function(t){return t}));return Et(o,(i=l,function(t){var e=r(t);return e?a.num(i.get(e),t.length):t}))},t}(),Rt=function(){function t(t,e){this.reason=t,this.explanation=e}return t.prototype.toMessage=function(){return this.explanation?this.reason+": "+this.explanation:this.reason},t}(),Nt=function(){function t(){}var e=t.prototype;return e.offsetName=function(t,e){throw new v},e.formatOffset=function(t,e){throw new v},e.offset=function(t){throw new v},e.equals=function(t){throw new v},a(t,[{key:"type",get:function(){throw new v}},{key:"name",get:function(){throw new v}},{key:"universal",get:function(){throw new v}},{key:"isValid",get:function(){throw new v}}]),t}(),Yt=null,Ht=function(t){function e(){return t.apply(this,arguments)||this}r(e,t);var n=e.prototype;return n.offsetName=function(t,e){return ut(t,e.format,e.locale)},n.formatOffset=function(t,e){return ft(this.offset(t),e)},n.offset=function(t){return-new Date(t).getTimezoneOffset()},n.equals=function(t){return"local"===t.type},a(e,[{key:"type",get:function(){return"local"}},{key:"name",get:function(){return J()?(new Intl.DateTimeFormat).resolvedOptions().timeZone:"local"}},{key:"universal",get:function(){return!1}},{key:"isValid",get:function(){return!0}}],[{key:"instance",get:function(){return null===Yt&&(Yt=new e),Yt}}]),e}(Nt),jt=RegExp("^"+bt.source+"$"),Ft={},zt={year:0,month:1,day:2,hour:3,minute:4,second:5},Vt={},Bt=function(t){function e(n){var i;return(i=t.call(this)||this).zoneName=n,i.valid=e.isValidZone(n),i}r(e,t),e.create=function(t){return Vt[t]||(Vt[t]=new e(t)),Vt[t]},e.resetCache=function(){Vt={},Ft={}},e.isValidSpecifier=function(t){return!(!t||!t.match(jt))},e.isValidZone=function(t){try{return new Intl.DateTimeFormat("en-US",{timeZone:t}).format(),!0}catch(e){return!1}},e.parseGMTOffset=function(t){if(t){var e=t.match(/^Etc\/GMT([+-]\d{1,2})$/i);if(e)return-60*parseInt(e[1])}return null};var n=e.prototype;return n.offsetName=function(t,e){return ut(t,e.format,e.locale,this.name)},n.formatOffset=function(t,e){return ft(this.offset(t),e)},n.offset=function(t){var e,n=new Date(t),i=(Ft[e=this.name]||(Ft[e]=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:e,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"})),Ft[e]),a=i.formatToParts?function(t,e){for(var n=t.formatToParts(e),i=[],a=0;a<n.length;a++){var r=n[a],o=r.value,s=zt[r.type];U(s)||(i[s]=parseInt(o,10))}return i}(i,n):function(t,e){var n=t.format(e).replace(/\u200E/g,""),i=/(\d+)\/(\d+)\/(\d+),? (\d+):(\d+):(\d+)/.exec(n);return[i[3],i[1],i[2],i[4],i[5],i[6]]}(i,n),r=a[3],o=+n,s=o%1e3;return(lt({year:a[0],month:a[1],day:a[2],hour:24===r?0:r,minute:a[4],second:a[5],millisecond:0})-(o-=s>=0?s:1e3+s))/6e4},n.equals=function(t){return"iana"===t.type&&t.name===this.name},a(e,[{key:"type",get:function(){return"iana"}},{key:"name",get:function(){return this.zoneName}},{key:"universal",get:function(){return!1}},{key:"isValid",get:function(){return this.valid}}]),e}(Nt),Wt=null,Ut=function(t){function e(e){var n;return(n=t.call(this)||this).fixed=e,n}r(e,t),e.instance=function(t){return 0===t?e.utcInstance:new e(t)},e.parseSpecifier=function(t){if(t){var n=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(n)return new e(ht(n[1],n[2]))}return null},a(e,null,[{key:"utcInstance",get:function(){return null===Wt&&(Wt=new e(0)),Wt}}]);var n=e.prototype;return n.offsetName=function(){return this.name},n.formatOffset=function(t,e){return ft(this.fixed,e)},n.offset=function(){return this.fixed},n.equals=function(t){return"fixed"===t.type&&t.fixed===this.fixed},a(e,[{key:"type",get:function(){return"fixed"}},{key:"name",get:function(){return 0===this.fixed?"UTC":"UTC"+ft(this.fixed,"narrow")}},{key:"universal",get:function(){return!0}},{key:"isValid",get:function(){return!0}}]),e}(Nt),qt=function(t){function e(e){var n;return(n=t.call(this)||this).zoneName=e,n}r(e,t);var n=e.prototype;return n.offsetName=function(){return null},n.formatOffset=function(){return""},n.offset=function(){return NaN},n.equals=function(){return!1},a(e,[{key:"type",get:function(){return"invalid"}},{key:"name",get:function(){return this.zoneName}},{key:"universal",get:function(){return!1}},{key:"isValid",get:function(){return!1}}]),e}(Nt);function Gt(t,e){var n;if(U(t)||null===t)return e;if(t instanceof Nt)return t;if("string"==typeof t){var i=t.toLowerCase();return"local"===i?e:"utc"===i||"gmt"===i?Ut.utcInstance:null!=(n=Bt.parseGMTOffset(t))?Ut.instance(n):Bt.isValidSpecifier(i)?Bt.create(t):Ut.parseSpecifier(i)||new qt(t)}return q(t)?Ut.instance(t):"object"==typeof t&&t.offset&&"number"==typeof t.offset?t:new qt(t)}var Jt=function(){return Date.now()},Zt=null,$t=null,Xt=null,Kt=null,Qt=!1,te=function(){function t(){}return t.resetCaches=function(){de.resetCache(),Bt.resetCache()},a(t,null,[{key:"now",get:function(){return Jt},set:function(t){Jt=t}},{key:"defaultZoneName",get:function(){return t.defaultZone.name},set:function(t){Zt=t?Gt(t):null}},{key:"defaultZone",get:function(){return Zt||Ht.instance}},{key:"defaultLocale",get:function(){return $t},set:function(t){$t=t}},{key:"defaultNumberingSystem",get:function(){return Xt},set:function(t){Xt=t}},{key:"defaultOutputCalendar",get:function(){return Kt},set:function(t){Kt=t}},{key:"throwOnInvalid",get:function(){return Qt},set:function(t){Qt=t}}]),t}(),ee={};function ne(t,e){void 0===e&&(e={});var n=JSON.stringify([t,e]),i=ee[n];return i||(i=new Intl.DateTimeFormat(t,e),ee[n]=i),i}var ie={},ae={},re=null;function oe(t,e,n,i,a){var r=t.listingMode(n);return"error"===r?null:"en"===r?i(e):a(e)}var se=function(){function t(t,e,n){if(this.padTo=n.padTo||0,this.floor=n.floor||!1,!e&&J()){var i={useGrouping:!1};n.padTo>0&&(i.minimumIntegerDigits=n.padTo),this.inf=function(t,e){void 0===e&&(e={});var n=JSON.stringify([t,e]),i=ie[n];return i||(i=new Intl.NumberFormat(t,e),ie[n]=i),i}(t,i)}}return t.prototype.format=function(t){if(this.inf){var e=this.floor?Math.floor(t):t;return this.inf.format(e)}return et(this.floor?Math.floor(t):at(t,3),this.padTo)},t}(),le=function(){function t(t,e,n){var i;if(this.opts=n,this.hasIntl=J(),t.zone.universal&&this.hasIntl?(i="UTC",this.dt=n.timeZoneName||0===t.offset?t:ii.fromMillis(t.ts+60*t.offset*1e3)):"local"===t.zone.type?this.dt=t:(this.dt=t,i=t.zone.name),this.hasIntl){var a=Object.assign({},this.opts);i&&(a.timeZone=i),this.dtf=ne(e,a)}}var e=t.prototype;return e.format=function(){if(this.hasIntl)return this.dtf.format(this.dt.toJSDate());var t=function(t){switch(_t(K(t,["weekday","era","year","month","day","hour","minute","second","timeZoneName","hour12"]))){case _t(M):return"M/d/yyyy";case _t(O):return"LLL d, yyyy";case _t(k):return"LLLL d, yyyy";case _t(S):return"EEEE, LLLL d, yyyy";case _t(T):return"h:mm a";case _t(P):return"h:mm:ss a";case _t(L):case _t(D):return"h:mm a";case _t(E):return"HH:mm";case _t(A):return"HH:mm:ss";case _t(I):case _t(R):return"HH:mm";case _t(N):return"M/d/yyyy, h:mm a";case _t(H):return"LLL d, yyyy, h:mm a";case _t(z):return"LLLL d, yyyy, h:mm a";case _t(B):return"EEEE, LLLL d, yyyy, h:mm a";case _t(Y):return"M/d/yyyy, h:mm:ss a";case _t(j):return"LLL d, yyyy, h:mm:ss a";case _t(F):return"EEE, d LLL yyyy, h:mm a";case _t(V):return"LLLL d, yyyy, h:mm:ss a";case _t(W):return"EEEE, LLLL d, yyyy, h:mm:ss a";default:return"EEEE, LLLL d, yyyy, h:mm a"}}(this.opts),e=de.create("en-US");return It.create(e).formatDateTimeFromString(this.dt,t)},e.formatToParts=function(){return this.hasIntl&&Z()?this.dtf.formatToParts(this.dt.toJSDate()):[]},e.resolvedOptions=function(){return this.hasIntl?this.dtf.resolvedOptions():{locale:"en-US",numberingSystem:"latn",outputCalendar:"gregory"}},t}(),ce=function(){function t(t,e,n){this.opts=Object.assign({style:"long"},n),!e&&$()&&(this.rtf=function(t,e){void 0===e&&(e={});var n=function(t,e){if(null==t)return{};var n,i,a={},r=Object.keys(t);for(i=0;i<r.length;i++)e.indexOf(n=r[i])>=0||(a[n]=t[n]);return a}(e,["base"]),i=JSON.stringify([t,n]),a=ae[i];return a||(a=new Intl.RelativeTimeFormat(t,e),ae[i]=a),a}(t,n))}var e=t.prototype;return e.format=function(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,n,i){void 0===n&&(n="always"),void 0===i&&(i=!1);var a={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},r=-1===["hours","minutes","seconds"].indexOf(t);if("auto"===n&&r){var o="days"===t;switch(e){case 1:return o?"tomorrow":"next "+a[t][0];case-1:return o?"yesterday":"last "+a[t][0];case 0:return o?"today":"this "+a[t][0]}}var s=Object.is(e,-0)||e<0,l=Math.abs(e),c=1===l,d=a[t],u=i?c?d[1]:d[2]||d[1]:c?a[t][0]:t;return s?l+" "+u+" ago":"in "+l+" "+u}(e,t,this.opts.numeric,"long"!==this.opts.style)},e.formatToParts=function(t,e){return this.rtf?this.rtf.formatToParts(t,e):[]},t}(),de=function(){function t(t,e,n,i){var a=function(t){var e=t.indexOf("-u-");if(-1===e)return[t];var n,i=t.substring(0,e);try{n=ne(t).resolvedOptions()}catch(a){n=ne(i).resolvedOptions()}return[i,n.numberingSystem,n.calendar]}(t),r=a[1],o=a[2];this.locale=a[0],this.numberingSystem=e||r||null,this.outputCalendar=n||o||null,this.intl=function(t,e,n){return J()?n||e?(t+="-u",n&&(t+="-ca-"+n),e&&(t+="-nu-"+e),t):t:[]}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=i,this.fastNumbersCached=null}t.fromOpts=function(e){return t.create(e.locale,e.numberingSystem,e.outputCalendar,e.defaultToEN)},t.create=function(e,n,i,a){void 0===a&&(a=!1);var r=e||te.defaultLocale;return new t(r||(a?"en-US":function(){if(re)return re;if(J()){var t=(new Intl.DateTimeFormat).resolvedOptions().locale;return re=t&&"und"!==t?t:"en-US"}return re="en-US"}()),n||te.defaultNumberingSystem,i||te.defaultOutputCalendar,r)},t.resetCache=function(){re=null,ee={},ie={},ae={}},t.fromObject=function(e){var n=void 0===e?{}:e;return t.create(n.locale,n.numberingSystem,n.outputCalendar)};var e=t.prototype;return e.listingMode=function(t){void 0===t&&(t=!0);var e=J()&&Z(),n=this.isEnglish(),i=!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar);return e||n&&i||t?!e||n&&i?"en":"intl":"error"},e.clone=function(e){return e&&0!==Object.getOwnPropertyNames(e).length?t.create(e.locale||this.specifiedLocale,e.numberingSystem||this.numberingSystem,e.outputCalendar||this.outputCalendar,e.defaultToEN||!1):this},e.redefaultToEN=function(t){return void 0===t&&(t={}),this.clone(Object.assign({},t,{defaultToEN:!0}))},e.redefaultToSystem=function(t){return void 0===t&&(t={}),this.clone(Object.assign({},t,{defaultToEN:!1}))},e.months=function(t,e,n){var i=this;return void 0===e&&(e=!1),void 0===n&&(n=!0),oe(this,t,n,wt,function(){var n=e?{month:t,day:"numeric"}:{month:t},a=e?"format":"standalone";return i.monthsCache[a][t]||(i.monthsCache[a][t]=function(t){for(var e=[],n=1;n<=12;n++){var i=ii.utc(2016,n,1);e.push(t(i))}return e}(function(t){return i.extract(t,n,"month")})),i.monthsCache[a][t]})},e.weekdays=function(t,e,n){var i=this;return void 0===e&&(e=!1),void 0===n&&(n=!0),oe(this,t,n,kt,function(){var n=e?{weekday:t,year:"numeric",month:"long",day:"numeric"}:{weekday:t},a=e?"format":"standalone";return i.weekdaysCache[a][t]||(i.weekdaysCache[a][t]=function(t){for(var e=[],n=1;n<=7;n++){var i=ii.utc(2016,11,13+n);e.push(t(i))}return e}(function(t){return i.extract(t,n,"weekday")})),i.weekdaysCache[a][t]})},e.meridiems=function(t){var e=this;return void 0===t&&(t=!0),oe(this,void 0,t,function(){return St},function(){if(!e.meridiemCache){var t={hour:"numeric",hour12:!0};e.meridiemCache=[ii.utc(2016,11,13,9),ii.utc(2016,11,13,19)].map(function(n){return e.extract(n,t,"dayperiod")})}return e.meridiemCache})},e.eras=function(t,e){var n=this;return void 0===e&&(e=!0),oe(this,t,e,Dt,function(){var e={era:t};return n.eraCache[t]||(n.eraCache[t]=[ii.utc(-40,1,1),ii.utc(2017,1,1)].map(function(t){return n.extract(t,e,"era")})),n.eraCache[t]})},e.extract=function(t,e,n){var i=this.dtFormatter(t,e).formatToParts().find(function(t){return t.type.toLowerCase()===n});return i?i.value:null},e.numberFormatter=function(t){return void 0===t&&(t={}),new se(this.intl,t.forceSimple||this.fastNumbers,t)},e.dtFormatter=function(t,e){return void 0===e&&(e={}),new le(t,this.intl,e)},e.relFormatter=function(t){return void 0===t&&(t={}),new ce(this.intl,this.isEnglish(),t)},e.isEnglish=function(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||J()&&new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us")},e.equals=function(t){return this.locale===t.locale&&this.numberingSystem===t.numberingSystem&&this.outputCalendar===t.outputCalendar},a(t,[{key:"fastNumbers",get:function(){return null==this.fastNumbersCached&&(this.fastNumbersCached=(!this.numberingSystem||"latn"===this.numberingSystem)&&("latn"===this.numberingSystem||!this.locale||this.locale.startsWith("en")||J()&&"latn"===new Intl.DateTimeFormat(this.intl).resolvedOptions().numberingSystem)),this.fastNumbersCached}}]),t}();function ue(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i=e.reduce(function(t,e){return t+e.source},"");return RegExp("^"+i+"$")}function he(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return function(t){return e.reduce(function(e,n){var i=e[0],a=e[1],r=n(t,e[2]),o=r[1],s=r[2];return[Object.assign(i,r[0]),a||o,s]},[{},null,1]).slice(0,2)}}function me(t){if(null==t)return[null,null];for(var e=arguments.length,n=new Array(e>1?e-1:0),i=1;i<e;i++)n[i-1]=arguments[i];for(var a=0,r=n;a<r.length;a++){var o=r[a],s=o[0],l=o[1],c=s.exec(t);if(c)return l(c)}return[null,null]}function pe(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return function(t,n){var i,a={};for(i=0;i<e.length;i++)a[e[i]]=nt(t[n+i]);return[a,null,n+i]}}var fe=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,ge=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,9}))?)?)?/,be=RegExp(""+ge.source+fe.source+"?"),_e=RegExp("(?:T"+be.source+")?"),ye=pe("weekYear","weekNumber","weekDay"),ve=pe("year","ordinal"),Ce=RegExp(ge.source+" ?(?:"+fe.source+"|("+bt.source+"))?"),we=RegExp("(?: "+Ce.source+")?");function xe(t,e,n){var i=t[e];return U(i)?n:nt(i)}function Me(t,e){return[{year:xe(t,e),month:xe(t,e+1,1),day:xe(t,e+2,1)},null,e+3]}function Oe(t,e){return[{hour:xe(t,e,0),minute:xe(t,e+1,0),second:xe(t,e+2,0),millisecond:it(t[e+3])},null,e+4]}function ke(t,e){var n=!t[e]&&!t[e+1],i=ht(t[e+1],t[e+2]);return[{},n?null:Ut.instance(i),e+3]}function Se(t,e){return[{},t[e]?Bt.create(t[e]):null,e+1]}var Te=/^-?P(?:(?:(-?\d{1,9})Y)?(?:(-?\d{1,9})M)?(?:(-?\d{1,9})W)?(?:(-?\d{1,9})D)?(?:T(?:(-?\d{1,9})H)?(?:(-?\d{1,9})M)?(?:(-?\d{1,9})(?:[.,](-?\d{1,9}))?S)?)?)$/;function Pe(t){var e=t[2],n=t[3],i=t[4],a=t[5],r=t[6],o=t[7],s=t[8],l="-"===t[0][0],c=function(t){return t&&l?-t:t};return[{years:c(nt(t[1])),months:c(nt(e)),weeks:c(nt(n)),days:c(nt(i)),hours:c(nt(a)),minutes:c(nt(r)),seconds:c(nt(o)),milliseconds:c(it(s))}]}var Le={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function De(t,e,n,i,a,r,o){var s={year:2===e.length?dt(nt(e)):nt(e),month:vt.indexOf(n)+1,day:nt(i),hour:nt(a),minute:nt(r)};return o&&(s.second=nt(o)),t&&(s.weekday=t.length>3?xt.indexOf(t)+1:Mt.indexOf(t)+1),s}var Ee=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function Ae(t){var e,n=t[8],i=t[9],a=t[10],r=t[11],o=De(t[1],t[4],t[3],t[2],t[5],t[6],t[7]);return e=n?Le[n]:i?0:ht(a,r),[o,new Ut(e)]}var Ie=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,Re=/^(Monday|Tuesday|Wedsday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,Ne=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function Ye(t){return[De(t[1],t[4],t[3],t[2],t[5],t[6],t[7]),Ut.utcInstance]}function He(t){return[De(t[1],t[7],t[2],t[3],t[4],t[5],t[6]),Ut.utcInstance]}var je=ue(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,_e),Fe=ue(/(\d{4})-?W(\d\d)(?:-?(\d))?/,_e),ze=ue(/(\d{4})-?(\d{3})/,_e),Ve=ue(be),Be=he(Me,Oe,ke),We=he(ye,Oe,ke),Ue=he(ve,Oe),qe=he(Oe,ke),Ge=ue(/(\d{4})-(\d\d)-(\d\d)/,we),Je=ue(Ce),Ze=he(Me,Oe,ke,Se),$e=he(Oe,ke,Se),Xe={weeks:{days:7,hours:168,minutes:10080,seconds:604800,milliseconds:6048e5},days:{hours:24,minutes:1440,seconds:86400,milliseconds:864e5},hours:{minutes:60,seconds:3600,milliseconds:36e5},minutes:{seconds:60,milliseconds:6e4},seconds:{milliseconds:1e3}},Ke=Object.assign({years:{months:12,weeks:52,days:365,hours:8760,minutes:525600,seconds:31536e3,milliseconds:31536e6},quarters:{months:3,weeks:13,days:91,hours:2184,minutes:131040,milliseconds:78624e5},months:{weeks:4,days:30,hours:720,minutes:43200,seconds:2592e3,milliseconds:2592e6}},Xe),Qe=Object.assign({years:{months:12,weeks:52.1775,days:365.2425,hours:8765.82,minutes:525949.2,seconds:525949.2*60,milliseconds:525949.2*60*1e3},quarters:{months:3,weeks:13.044375,days:91.310625,hours:2191.455,minutes:131487.3,seconds:525949.2*60/4,milliseconds:7889237999.999999},months:{weeks:30.436875/7,days:30.436875,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3}},Xe),tn=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],en=tn.slice(0).reverse();function nn(t,e,n){void 0===n&&(n=!1);var i={values:n?e.values:Object.assign({},t.values,e.values||{}),loc:t.loc.clone(e.loc),conversionAccuracy:e.conversionAccuracy||t.conversionAccuracy};return new on(i)}function an(t,e,n,i,a){var r=t[a][n],o=e[n]/r,s=Math.sign(o)!==Math.sign(i[a])&&0!==i[a]&&Math.abs(o)<=1?function(t){return t<0?Math.floor(t):Math.ceil(t)}(o):Math.trunc(o);i[a]+=s,e[n]-=s*r}function rn(t,e){en.reduce(function(n,i){return U(e[i])?n:(n&&an(t,e,n,e,i),i)},null)}var on=function(){function t(t){var e="longterm"===t.conversionAccuracy||!1;this.values=t.values,this.loc=t.loc||de.create(),this.conversionAccuracy=e?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=e?Qe:Ke,this.isLuxonDuration=!0}t.fromMillis=function(e,n){return t.fromObject(Object.assign({milliseconds:e},n))},t.fromObject=function(e){if(null==e||"object"!=typeof e)throw new y("Duration.fromObject: argument expected to be an object, got "+(null===e?"null":typeof e));return new t({values:pt(e,t.normalizeUnit,["locale","numberingSystem","conversionAccuracy","zone"]),loc:de.fromObject(e),conversionAccuracy:e.conversionAccuracy})},t.fromISO=function(e,n){var i=function(t){return me(t,[Te,Pe])}(e)[0];if(i){var a=Object.assign(i,n);return t.fromObject(a)}return t.invalid("unparsable",'the input "'+e+"\" can't be parsed as ISO 8601")},t.invalid=function(e,n){if(void 0===n&&(n=null),!e)throw new y("need to specify a reason the Duration is invalid");var i=e instanceof Rt?e:new Rt(e,n);if(te.throwOnInvalid)throw new g(i);return new t({invalid:i})},t.normalizeUnit=function(t){var e={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[t?t.toLowerCase():t];if(!e)throw new _(t);return e},t.isDuration=function(t){return t&&t.isLuxonDuration||!1};var e=t.prototype;return e.toFormat=function(t,e){void 0===e&&(e={});var n=Object.assign({},e,{floor:!1!==e.round&&!1!==e.floor});return this.isValid?It.create(this.loc,n).formatDurationFromString(this,t):"Invalid Duration"},e.toObject=function(t){if(void 0===t&&(t={}),!this.isValid)return{};var e=Object.assign({},this.values);return t.includeConfig&&(e.conversionAccuracy=this.conversionAccuracy,e.numberingSystem=this.loc.numberingSystem,e.locale=this.loc.locale),e},e.toISO=function(){if(!this.isValid)return null;var t="P";return 0!==this.years&&(t+=this.years+"Y"),0===this.months&&0===this.quarters||(t+=this.months+3*this.quarters+"M"),0!==this.weeks&&(t+=this.weeks+"W"),0!==this.days&&(t+=this.days+"D"),0===this.hours&&0===this.minutes&&0===this.seconds&&0===this.milliseconds||(t+="T"),0!==this.hours&&(t+=this.hours+"H"),0!==this.minutes&&(t+=this.minutes+"M"),0===this.seconds&&0===this.milliseconds||(t+=at(this.seconds+this.milliseconds/1e3,3)+"S"),"P"===t&&(t+="T0S"),t},e.toJSON=function(){return this.toISO()},e.toString=function(){return this.toISO()},e.valueOf=function(){return this.as("milliseconds")},e.plus=function(t){if(!this.isValid)return this;for(var e,n=sn(t),i={},a=h(tn);!(e=a()).done;){var r=e.value;(Q(n.values,r)||Q(this.values,r))&&(i[r]=n.get(r)+this.get(r))}return nn(this,{values:i},!0)},e.minus=function(t){if(!this.isValid)return this;var e=sn(t);return this.plus(e.negate())},e.mapUnits=function(t){if(!this.isValid)return this;for(var e={},n=0,i=Object.keys(this.values);n<i.length;n++){var a=i[n];e[a]=mt(t(this.values[a],a))}return nn(this,{values:e},!0)},e.get=function(e){return this[t.normalizeUnit(e)]},e.set=function(e){return this.isValid?nn(this,{values:Object.assign(this.values,pt(e,t.normalizeUnit,[]))}):this},e.reconfigure=function(t){var e=void 0===t?{}:t,n=e.conversionAccuracy,i={loc:this.loc.clone({locale:e.locale,numberingSystem:e.numberingSystem})};return n&&(i.conversionAccuracy=n),nn(this,i)},e.as=function(t){return this.isValid?this.shiftTo(t).get(t):NaN},e.normalize=function(){if(!this.isValid)return this;var t=this.toObject();return rn(this.matrix,t),nn(this,{values:t},!0)},e.shiftTo=function(){for(var e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];if(!this.isValid)return this;if(0===n.length)return this;n=n.map(function(e){return t.normalizeUnit(e)});var a,r={},o={},s=this.toObject();rn(this.matrix,s);for(var l,c=h(tn);!(l=c()).done;){var d=l.value;if(n.indexOf(d)>=0){a=d;var u=0;for(var m in o)u+=this.matrix[m][d]*o[m],o[m]=0;q(s[d])&&(u+=s[d]);var p=Math.trunc(u);for(var f in r[d]=p,o[d]=u-p,s)tn.indexOf(f)>tn.indexOf(d)&&an(this.matrix,s,f,r,d)}else q(s[d])&&(o[d]=s[d])}for(var g in o)0!==o[g]&&(r[a]+=g===a?o[g]:o[g]/this.matrix[a][g]);return nn(this,{values:r},!0).normalize()},e.negate=function(){if(!this.isValid)return this;for(var t={},e=0,n=Object.keys(this.values);e<n.length;e++){var i=n[e];t[i]=-this.values[i]}return nn(this,{values:t},!0)},e.equals=function(t){if(!this.isValid||!t.isValid)return!1;if(!this.loc.equals(t.loc))return!1;for(var e,n=h(tn);!(e=n()).done;){var i=e.value;if(this.values[i]!==t.values[i])return!1}return!0},a(t,[{key:"locale",get:function(){return this.isValid?this.loc.locale:null}},{key:"numberingSystem",get:function(){return this.isValid?this.loc.numberingSystem:null}},{key:"years",get:function(){return this.isValid?this.values.years||0:NaN}},{key:"quarters",get:function(){return this.isValid?this.values.quarters||0:NaN}},{key:"months",get:function(){return this.isValid?this.values.months||0:NaN}},{key:"weeks",get:function(){return this.isValid?this.values.weeks||0:NaN}},{key:"days",get:function(){return this.isValid?this.values.days||0:NaN}},{key:"hours",get:function(){return this.isValid?this.values.hours||0:NaN}},{key:"minutes",get:function(){return this.isValid?this.values.minutes||0:NaN}},{key:"seconds",get:function(){return this.isValid?this.values.seconds||0:NaN}},{key:"milliseconds",get:function(){return this.isValid?this.values.milliseconds||0:NaN}},{key:"isValid",get:function(){return null===this.invalid}},{key:"invalidReason",get:function(){return this.invalid?this.invalid.reason:null}},{key:"invalidExplanation",get:function(){return this.invalid?this.invalid.explanation:null}}]),t}();function sn(t){if(q(t))return on.fromMillis(t);if(on.isDuration(t))return t;if("object"==typeof t)return on.fromObject(t);throw new y("Unknown duration argument "+t+" of type "+typeof t)}var ln="Invalid Interval";function cn(t,e){return t&&t.isValid?e&&e.isValid?e<t?dn.invalid("end before start","The end of an interval must be after its start, but you had start="+t.toISO()+" and end="+e.toISO()):null:dn.invalid("missing or invalid end"):dn.invalid("missing or invalid start")}var dn=function(){function t(t){this.s=t.start,this.e=t.end,this.invalid=t.invalid||null,this.isLuxonInterval=!0}t.invalid=function(e,n){if(void 0===n&&(n=null),!e)throw new y("need to specify a reason the Interval is invalid");var i=e instanceof Rt?e:new Rt(e,n);if(te.throwOnInvalid)throw new f(i);return new t({invalid:i})},t.fromDateTimes=function(e,n){var i=ai(e),a=ai(n),r=cn(i,a);return null==r?new t({start:i,end:a}):r},t.after=function(e,n){var i=sn(n),a=ai(e);return t.fromDateTimes(a,a.plus(i))},t.before=function(e,n){var i=sn(n),a=ai(e);return t.fromDateTimes(a.minus(i),a)},t.fromISO=function(e,n){var i=(e||"").split("/",2),a=i[0],r=i[1];if(a&&r){var o=ii.fromISO(a,n),s=ii.fromISO(r,n);if(o.isValid&&s.isValid)return t.fromDateTimes(o,s);if(o.isValid){var l=on.fromISO(r,n);if(l.isValid)return t.after(o,l)}else if(s.isValid){var c=on.fromISO(a,n);if(c.isValid)return t.before(s,c)}}return t.invalid("unparsable",'the input "'+e+"\" can't be parsed as ISO 8601")},t.isInterval=function(t){return t&&t.isLuxonInterval||!1};var e=t.prototype;return e.length=function(t){return void 0===t&&(t="milliseconds"),this.isValid?this.toDuration.apply(this,[t]).get(t):NaN},e.count=function(t){if(void 0===t&&(t="milliseconds"),!this.isValid)return NaN;var e=this.start.startOf(t),n=this.end.startOf(t);return Math.floor(n.diff(e,t).get(t))+1},e.hasSame=function(t){return!!this.isValid&&this.e.minus(1).hasSame(this.s,t)},e.isEmpty=function(){return this.s.valueOf()===this.e.valueOf()},e.isAfter=function(t){return!!this.isValid&&this.s>t},e.isBefore=function(t){return!!this.isValid&&this.e<=t},e.contains=function(t){return!!this.isValid&&this.s<=t&&this.e>t},e.set=function(e){var n=void 0===e?{}:e;return this.isValid?t.fromDateTimes(n.start||this.s,n.end||this.e):this},e.splitAt=function(){var e=this;if(!this.isValid)return[];for(var n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];for(var r=i.map(ai).filter(function(t){return e.contains(t)}).sort(),o=[],s=this.s,l=0;s<this.e;){var c=r[l]||this.e,d=+c>+this.e?this.e:c;o.push(t.fromDateTimes(s,d)),s=d,l+=1}return o},e.splitBy=function(e){var n=sn(e);if(!this.isValid||!n.isValid||0===n.as("milliseconds"))return[];for(var i,a,r=this.s,o=[];r<this.e;)i=r.plus(n),o.push(t.fromDateTimes(r,a=+i>+this.e?this.e:i)),r=a;return o},e.divideEqually=function(t){return this.isValid?this.splitBy(this.length()/t).slice(0,t):[]},e.overlaps=function(t){return this.e>t.s&&this.s<t.e},e.abutsStart=function(t){return!!this.isValid&&+this.e==+t.s},e.abutsEnd=function(t){return!!this.isValid&&+t.e==+this.s},e.engulfs=function(t){return!!this.isValid&&this.s<=t.s&&this.e>=t.e},e.equals=function(t){return!(!this.isValid||!t.isValid)&&this.s.equals(t.s)&&this.e.equals(t.e)},e.intersection=function(e){if(!this.isValid)return this;var n=this.s>e.s?this.s:e.s,i=this.e<e.e?this.e:e.e;return n>i?null:t.fromDateTimes(n,i)},e.union=function(e){return this.isValid?t.fromDateTimes(this.s<e.s?this.s:e.s,this.e>e.e?this.e:e.e):this},t.merge=function(t){var e=t.sort(function(t,e){return t.s-e.s}).reduce(function(t,e){var n=t[0],i=t[1];return i?i.overlaps(e)||i.abutsStart(e)?[n,i.union(e)]:[n.concat([i]),e]:[n,e]},[[],null]),n=e[0],i=e[1];return i&&n.push(i),n},t.xor=function(e){for(var n,i,a=null,r=0,o=[],s=e.map(function(t){return[{time:t.s,type:"s"},{time:t.e,type:"e"}]}),l=h((n=Array.prototype).concat.apply(n,s).sort(function(t,e){return t.time-e.time}));!(i=l()).done;){var c=i.value;1===(r+="s"===c.type?1:-1)?a=c.time:(a&&+a!=+c.time&&o.push(t.fromDateTimes(a,c.time)),a=null)}return t.merge(o)},e.difference=function(){for(var e=this,n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];return t.xor([this].concat(i)).map(function(t){return e.intersection(t)}).filter(function(t){return t&&!t.isEmpty()})},e.toString=function(){return this.isValid?"["+this.s.toISO()+" \u2013 "+this.e.toISO()+")":ln},e.toISO=function(t){return this.isValid?this.s.toISO(t)+"/"+this.e.toISO(t):ln},e.toISODate=function(){return this.isValid?this.s.toISODate()+"/"+this.e.toISODate():ln},e.toISOTime=function(t){return this.isValid?this.s.toISOTime(t)+"/"+this.e.toISOTime(t):ln},e.toFormat=function(t,e){var n=(void 0===e?{}:e).separator,i=void 0===n?" \u2013 ":n;return this.isValid?""+this.s.toFormat(t)+i+this.e.toFormat(t):ln},e.toDuration=function(t,e){return this.isValid?this.e.diff(this.s,t,e):on.invalid(this.invalidReason)},e.mapEndpoints=function(e){return t.fromDateTimes(e(this.s),e(this.e))},a(t,[{key:"start",get:function(){return this.isValid?this.s:null}},{key:"end",get:function(){return this.isValid?this.e:null}},{key:"isValid",get:function(){return null===this.invalidReason}},{key:"invalidReason",get:function(){return this.invalid?this.invalid.reason:null}},{key:"invalidExplanation",get:function(){return this.invalid?this.invalid.explanation:null}}]),t}(),un=function(){function t(){}return t.hasDST=function(t){void 0===t&&(t=te.defaultZone);var e=ii.local().setZone(t).set({month:12});return!t.universal&&e.offset!==e.set({month:6}).offset},t.isValidIANAZone=function(t){return Bt.isValidSpecifier(t)&&Bt.isValidZone(t)},t.normalizeZone=function(t){return Gt(t,te.defaultZone)},t.months=function(t,e){void 0===t&&(t="long");var n=void 0===e?{}:e,i=n.locale,a=n.numberingSystem,r=n.outputCalendar;return de.create(void 0===i?null:i,void 0===a?null:a,void 0===r?"gregory":r).months(t)},t.monthsFormat=function(t,e){void 0===t&&(t="long");var n=void 0===e?{}:e,i=n.locale,a=n.numberingSystem,r=n.outputCalendar;return de.create(void 0===i?null:i,void 0===a?null:a,void 0===r?"gregory":r).months(t,!0)},t.weekdays=function(t,e){void 0===t&&(t="long");var n=void 0===e?{}:e,i=n.locale,a=n.numberingSystem;return de.create(void 0===i?null:i,void 0===a?null:a,null).weekdays(t)},t.weekdaysFormat=function(t,e){void 0===t&&(t="long");var n=void 0===e?{}:e,i=n.locale,a=n.numberingSystem;return de.create(void 0===i?null:i,void 0===a?null:a,null).weekdays(t,!0)},t.meridiems=function(t){var e=(void 0===t?{}:t).locale;return de.create(void 0===e?null:e).meridiems()},t.eras=function(t,e){void 0===t&&(t="short");var n=(void 0===e?{}:e).locale;return de.create(void 0===n?null:n,null,"gregory").eras(t)},t.features=function(){var t=!1,e=!1,n=!1,i=!1;if(J()){t=!0,e=Z(),i=$();try{n="America/New_York"===new Intl.DateTimeFormat("en",{timeZone:"America/New_York"}).resolvedOptions().timeZone}catch(a){n=!1}}return{intl:t,intlTokens:e,zones:n,relative:i}},t}();function hn(t,e){var n=function(t){return t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf()},i=n(e)-n(t);return Math.floor(on.fromMillis(i).as("days"))}var mn={arab:"[\u0660-\u0669]",arabext:"[\u06f0-\u06f9]",bali:"[\u1b50-\u1b59]",beng:"[\u09e6-\u09ef]",deva:"[\u0966-\u096f]",fullwide:"[\uff10-\uff19]",gujr:"[\u0ae6-\u0aef]",hanidec:"[\u3007|\u4e00|\u4e8c|\u4e09|\u56db|\u4e94|\u516d|\u4e03|\u516b|\u4e5d]",khmr:"[\u17e0-\u17e9]",knda:"[\u0ce6-\u0cef]",laoo:"[\u0ed0-\u0ed9]",limb:"[\u1946-\u194f]",mlym:"[\u0d66-\u0d6f]",mong:"[\u1810-\u1819]",mymr:"[\u1040-\u1049]",orya:"[\u0b66-\u0b6f]",tamldec:"[\u0be6-\u0bef]",telu:"[\u0c66-\u0c6f]",thai:"[\u0e50-\u0e59]",tibt:"[\u0f20-\u0f29]",latn:"\\d"},pn={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},fn=mn.hanidec.replace(/[\[|\]]/g,"").split("");function gn(t,e){return void 0===e&&(e=""),new RegExp(""+mn[t.numberingSystem||"latn"]+e)}function bn(t,e){return void 0===e&&(e=function(t){return t}),{regex:t,deser:function(t){return e(function(t){var e=parseInt(t,10);if(isNaN(e)){e="";for(var n=0;n<t.length;n++){var i=t.charCodeAt(n);if(-1!==t[n].search(mn.hanidec))e+=fn.indexOf(t[n]);else for(var a in pn){var r=pn[a],o=r[0];i>=o&&i<=r[1]&&(e+=i-o)}}return parseInt(e,10)}return e}(t[0]))}}}function _n(t){return t.replace(/\./,"\\.?")}function yn(t){return t.replace(/\./,"").toLowerCase()}function vn(t,e){return null===t?null:{regex:RegExp(t.map(_n).join("|")),deser:function(n){var i=n[0];return t.findIndex(function(t){return yn(i)===yn(t)})+e}}}function Cn(t,e){return{regex:t,deser:function(t){return ht(t[1],t[2])},groups:e}}function wn(t){return{regex:t,deser:function(t){return t[0]}}}var xn={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour:{numeric:"h","2-digit":"hh"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"}},Mn=null;function On(t,e,n){var i=function(t,e){var n;return(n=Array.prototype).concat.apply(n,t.map(function(t){return function(t,e){if(t.literal)return t;var n=It.macroTokenToFormatOpts(t.val);if(!n)return t;var i=It.create(e,n).formatDateTimeParts((Mn||(Mn=ii.fromMillis(1555555555555)),Mn)).map(function(t){return function(t,e,n){var i=t.type;if("literal"===i)return{literal:!0,val:t.value};var a=xn[i];return"object"==typeof a&&(a=a[n[i]]),a?{literal:!1,val:a}:void 0}(t,0,n)});return i.includes(void 0)?t:i}(t,e)}))}(It.parseFormat(n),t),a=i.map(function(e){return n=e,a=gn(i=t),r=gn(i,"{2}"),o=gn(i,"{3}"),s=gn(i,"{4}"),l=gn(i,"{6}"),c=gn(i,"{1,2}"),d=gn(i,"{1,3}"),u=gn(i,"{1,6}"),h=gn(i,"{1,9}"),m=gn(i,"{2,4}"),p=gn(i,"{4,6}"),f=function(t){return{regex:RegExp((e=t.val,e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"))),deser:function(t){return t[0]},literal:!0};var e},(g=function(t){if(n.literal)return f(t);switch(t.val){case"G":return vn(i.eras("short",!1),0);case"GG":return vn(i.eras("long",!1),0);case"y":return bn(u);case"yy":return bn(m,dt);case"yyyy":return bn(s);case"yyyyy":return bn(p);case"yyyyyy":return bn(l);case"M":return bn(c);case"MM":return bn(r);case"MMM":return vn(i.months("short",!0,!1),1);case"MMMM":return vn(i.months("long",!0,!1),1);case"L":return bn(c);case"LL":return bn(r);case"LLL":return vn(i.months("short",!1,!1),1);case"LLLL":return vn(i.months("long",!1,!1),1);case"d":return bn(c);case"dd":return bn(r);case"o":return bn(d);case"ooo":return bn(o);case"HH":return bn(r);case"H":return bn(c);case"hh":return bn(r);case"h":return bn(c);case"mm":return bn(r);case"m":case"q":return bn(c);case"qq":return bn(r);case"s":return bn(c);case"ss":return bn(r);case"S":return bn(d);case"SSS":return bn(o);case"u":return wn(h);case"a":return vn(i.meridiems(),0);case"kkkk":return bn(s);case"kk":return bn(m,dt);case"W":return bn(c);case"WW":return bn(r);case"E":case"c":return bn(a);case"EEE":return vn(i.weekdays("short",!1,!1),1);case"EEEE":return vn(i.weekdays("long",!1,!1),1);case"ccc":return vn(i.weekdays("short",!0,!1),1);case"cccc":return vn(i.weekdays("long",!0,!1),1);case"Z":case"ZZ":return Cn(new RegExp("([+-]"+c.source+")(?::("+r.source+"))?"),2);case"ZZZ":return Cn(new RegExp("([+-]"+c.source+")("+r.source+")?"),2);case"z":return wn(/[a-z_+-/]{1,256}?/i);default:return f(t)}}(n)||{invalidReason:"missing Intl.DateTimeFormat.formatToParts support"}).token=n,g;var n,i,a,r,o,s,l,c,d,u,h,m,p,f,g}),r=a.find(function(t){return t.invalidReason});if(r)return{input:e,tokens:i,invalidReason:r.invalidReason};var o=function(t){return["^"+t.map(function(t){return t.regex}).reduce(function(t,e){return t+"("+e.source+")"},"")+"$",t]}(a),s=o[1],l=RegExp(o[0],"i"),c=function(t,e,n){var i=t.match(e);if(i){var a={},r=1;for(var o in n)if(Q(n,o)){var s=n[o],l=s.groups?s.groups+1:1;!s.literal&&s.token&&(a[s.token.val[0]]=s.deser(i.slice(r,r+l))),r+=l}return[i,a]}return[i,{}]}(e,l,s),d=c[0],u=c[1],h=u?function(t){var e;return e=U(t.Z)?U(t.z)?null:Bt.create(t.z):new Ut(t.Z),U(t.q)||(t.M=3*(t.q-1)+1),U(t.h)||(t.h<12&&1===t.a?t.h+=12:12===t.h&&0===t.a&&(t.h=0)),0===t.G&&t.y&&(t.y=-t.y),U(t.u)||(t.S=it(t.u)),[Object.keys(t).reduce(function(e,n){var i=function(t){switch(t){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}}(n);return i&&(e[i]=t[n]),e},{}),e]}(u):[null,null],m=h[0],p=h[1];if(Q(u,"a")&&Q(u,"H"))throw new b("Can't include meridiem when specifying 24-hour format");return{input:e,tokens:i,regex:l,rawMatches:d,matches:u,result:m,zone:p}}var kn=[0,31,59,90,120,151,181,212,243,273,304,334],Sn=[0,31,60,91,121,152,182,213,244,274,305,335];function Tn(t,e){return new Rt("unit out of range","you specified "+e+" (of type "+typeof e+") as a "+t+", which is invalid")}function Pn(t,e,n){var i=new Date(Date.UTC(t,e-1,n)).getUTCDay();return 0===i?7:i}function Ln(t,e,n){return n+(rt(t)?Sn:kn)[e-1]}function Dn(t,e){var n=rt(t)?Sn:kn,i=n.findIndex(function(t){return t<e});return{month:i+1,day:e-n[i]}}function En(t){var e,n=t.year,i=t.month,a=t.day,r=Ln(n,i,a),o=Pn(n,i,a),s=Math.floor((r-o+10)/7);return s<1?s=ct(e=n-1):s>ct(n)?(e=n+1,s=1):e=n,Object.assign({weekYear:e,weekNumber:s,weekday:o},gt(t))}function An(t){var e,n=t.weekYear,i=t.weekNumber,a=t.weekday,r=Pn(n,1,4),o=ot(n),s=7*i+a-r-3;s<1?s+=ot(e=n-1):s>o?(e=n+1,s-=ot(n)):e=n;var l=Dn(e,s);return Object.assign({year:e,month:l.month,day:l.day},gt(t))}function In(t){var e=t.year,n=Ln(e,t.month,t.day);return Object.assign({year:e,ordinal:n},gt(t))}function Rn(t){var e=t.year,n=Dn(e,t.ordinal);return Object.assign({year:e,month:n.month,day:n.day},gt(t))}function Nn(t){var e=G(t.year),n=tt(t.month,1,12),i=tt(t.day,1,st(t.year,t.month));return e?n?!i&&Tn("day",t.day):Tn("month",t.month):Tn("year",t.year)}function Yn(t){var e=t.hour,n=t.minute,i=t.second,a=t.millisecond,r=tt(e,0,23)||24===e&&0===n&&0===i&&0===a,o=tt(n,0,59),s=tt(i,0,59),l=tt(a,0,999);return r?o?s?!l&&Tn("millisecond",a):Tn("second",i):Tn("minute",n):Tn("hour",e)}function Hn(t){return new Rt("unsupported zone",'the zone "'+t.name+'" is not supported')}function jn(t){return null===t.weekData&&(t.weekData=En(t.c)),t.weekData}function Fn(t,e){var n={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new ii(Object.assign({},n,e,{old:n}))}function zn(t,e,n){var i=t-60*e*1e3,a=n.offset(i);if(e===a)return[i,e];var r=n.offset(i-=60*(a-e)*1e3);return a===r?[i,a]:[t-60*Math.min(a,r)*1e3,Math.max(a,r)]}function Vn(t,e){var n=new Date(t+=60*e*1e3);return{year:n.getUTCFullYear(),month:n.getUTCMonth()+1,day:n.getUTCDate(),hour:n.getUTCHours(),minute:n.getUTCMinutes(),second:n.getUTCSeconds(),millisecond:n.getUTCMilliseconds()}}function Bn(t,e,n){return zn(lt(t),e,n)}function Wn(t,e){var n,i=Object.keys(e.values);-1===i.indexOf("milliseconds")&&i.push("milliseconds"),e=(n=e).shiftTo.apply(n,i);var a=t.o,r=t.c.year+e.years,o=t.c.month+e.months+3*e.quarters,s=Object.assign({},t.c,{year:r,month:o,day:Math.min(t.c.day,st(r,o))+e.days+7*e.weeks}),l=on.fromObject({hours:e.hours,minutes:e.minutes,seconds:e.seconds,milliseconds:e.milliseconds}).as("milliseconds"),c=zn(lt(s),a,t.zone),d=c[0],u=c[1];return 0!==l&&(u=t.zone.offset(d+=l)),{ts:d,o:u}}function Un(t,e,n,i,a){var r=n.setZone,o=n.zone;if(t&&0!==Object.keys(t).length){var s=ii.fromObject(Object.assign(t,n,{zone:e||o,setZone:void 0}));return r?s:s.setZone(o)}return ii.invalid(new Rt("unparsable",'the input "'+a+"\" can't be parsed as "+i))}function qn(t,e,n){return void 0===n&&(n=!0),t.isValid?It.create(de.create("en-US"),{allowZ:n,forceSimple:!0}).formatDateTimeFromString(t,e):null}function Gn(t,e){var n=e.suppressSeconds,i=e.suppressMilliseconds,a=e.includeOffset,r=e.includeZone,o=void 0!==r&&r,s=e.spaceZone,l=e.format,c=void 0===l?"extended":l,d="basic"===c?"HHmm":"HH:mm";return void 0!==n&&n&&0===t.second&&0===t.millisecond||(d+="basic"===c?"ss":":ss",void 0!==i&&i&&0===t.millisecond||(d+=".SSS")),(o||a)&&void 0!==s&&s&&(d+=" "),o?d+="z":a&&(d+="basic"===c?"ZZZ":"ZZ"),qn(t,d)}var Jn={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},Zn={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},$n={ordinal:1,hour:0,minute:0,second:0,millisecond:0},Xn=["year","month","day","hour","minute","second","millisecond"],Kn=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],Qn=["year","ordinal","hour","minute","second","millisecond"];function ti(t){var e={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[t.toLowerCase()];if(!e)throw new _(t);return e}function ei(t,e){for(var n,i=h(Xn);!(n=i()).done;){var a=n.value;U(t[a])&&(t[a]=Jn[a])}var r=Nn(t)||Yn(t);if(r)return ii.invalid(r);var o=te.now(),s=Bn(t,e.offset(o),e);return new ii({ts:s[0],zone:e,o:s[1]})}function ni(t,e,n){var i=!!U(n.round)||n.round,a=function(t,a){return t=at(t,i||n.calendary?0:2,!0),e.loc.clone(n).relFormatter(n).format(t,a)},r=function(i){return n.calendary?e.hasSame(t,i)?0:e.startOf(i).diff(t.startOf(i),i).get(i):e.diff(t,i).get(i)};if(n.unit)return a(r(n.unit),n.unit);for(var o,s=h(n.units);!(o=s()).done;){var l=o.value,c=r(l);if(Math.abs(c)>=1)return a(c,l)}return a(0,n.units[n.units.length-1])}var ii=function(){function t(t){var e=t.zone||te.defaultZone,n=t.invalid||(Number.isNaN(t.ts)?new Rt("invalid input"):null)||(e.isValid?null:Hn(e));this.ts=U(t.ts)?te.now():t.ts;var i=null,a=null;if(!n)if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(e)){var r=[t.old.c,t.old.o];i=r[0],a=r[1]}else{var o=e.offset(this.ts);i=Vn(this.ts,o),i=(n=Number.isNaN(i.year)?new Rt("invalid input"):null)?null:i,a=n?null:o}this._zone=e,this.loc=t.loc||de.create(),this.invalid=n,this.weekData=null,this.c=i,this.o=a,this.isLuxonDateTime=!0}t.local=function(e,n,i,a,r,o,s){return U(e)?new t({ts:te.now()}):ei({year:e,month:n,day:i,hour:a,minute:r,second:o,millisecond:s},te.defaultZone)},t.utc=function(e,n,i,a,r,o,s){return U(e)?new t({ts:te.now(),zone:Ut.utcInstance}):ei({year:e,month:n,day:i,hour:a,minute:r,second:o,millisecond:s},Ut.utcInstance)},t.fromJSDate=function(e,n){void 0===n&&(n={});var i="[object Date]"===Object.prototype.toString.call(e)?e.valueOf():NaN;if(Number.isNaN(i))return t.invalid("invalid input");var a=Gt(n.zone,te.defaultZone);return a.isValid?new t({ts:i,zone:a,loc:de.fromObject(n)}):t.invalid(Hn(a))},t.fromMillis=function(e,n){if(void 0===n&&(n={}),q(e))return e<-864e13||e>864e13?t.invalid("Timestamp out of range"):new t({ts:e,zone:Gt(n.zone,te.defaultZone),loc:de.fromObject(n)});throw new y("fromMillis requires a numerical input, but received a "+typeof e+" with value "+e)},t.fromSeconds=function(e,n){if(void 0===n&&(n={}),q(e))return new t({ts:1e3*e,zone:Gt(n.zone,te.defaultZone),loc:de.fromObject(n)});throw new y("fromSeconds requires a numerical input")},t.fromObject=function(e){var n=Gt(e.zone,te.defaultZone);if(!n.isValid)return t.invalid(Hn(n));var i=te.now(),a=n.offset(i),r=pt(e,ti,["zone","locale","outputCalendar","numberingSystem"]),o=!U(r.ordinal),s=!U(r.year),l=!U(r.month)||!U(r.day),c=s||l,d=r.weekYear||r.weekNumber,u=de.fromObject(e);if((c||o)&&d)throw new b("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(l&&o)throw new b("Can't mix ordinal dates with month/day");var m,p,f=d||r.weekday&&!c,g=Vn(i,a);f?(m=Kn,p=Zn,g=En(g)):o?(m=Qn,p=$n,g=In(g)):(m=Xn,p=Jn);for(var _,y=!1,v=h(m);!(_=v()).done;){var C=_.value;U(r[C])?r[C]=y?p[C]:g[C]:y=!0}var w=(f?function(t){var e=G(t.weekYear),n=tt(t.weekNumber,1,ct(t.weekYear)),i=tt(t.weekday,1,7);return e?n?!i&&Tn("weekday",t.weekday):Tn("week",t.week):Tn("weekYear",t.weekYear)}(r):o?function(t){var e=G(t.year),n=tt(t.ordinal,1,ot(t.year));return e?!n&&Tn("ordinal",t.ordinal):Tn("year",t.year)}(r):Nn(r))||Yn(r);if(w)return t.invalid(w);var x=Bn(f?An(r):o?Rn(r):r,a,n),M=new t({ts:x[0],zone:n,o:x[1],loc:u});return r.weekday&&c&&e.weekday!==M.weekday?t.invalid("mismatched weekday","you can't specify both a weekday of "+r.weekday+" and a date of "+M.toISO()):M},t.fromISO=function(t,e){void 0===e&&(e={});var n=function(t){return me(t,[je,Be],[Fe,We],[ze,Ue],[Ve,qe])}(t);return Un(n[0],n[1],e,"ISO 8601",t)},t.fromRFC2822=function(t,e){void 0===e&&(e={});var n=function(t){return me(function(t){return t.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[Ee,Ae])}(t);return Un(n[0],n[1],e,"RFC 2822",t)},t.fromHTTP=function(t,e){void 0===e&&(e={});var n=function(t){return me(t,[Ie,Ye],[Re,Ye],[Ne,He])}(t);return Un(n[0],n[1],e,"HTTP",e)},t.fromFormat=function(e,n,i){if(void 0===i&&(i={}),U(e)||U(n))throw new y("fromFormat requires an input string and a format");var a,r=i.locale,o=i.numberingSystem,s=[(a=On(de.fromOpts({locale:void 0===r?null:r,numberingSystem:void 0===o?null:o,defaultToEN:!0}),e,n)).result,a.zone,a.invalidReason],l=s[0],c=s[1],d=s[2];return d?t.invalid(d):Un(l,c,i,"format "+n,e)},t.fromString=function(e,n,i){return void 0===i&&(i={}),t.fromFormat(e,n,i)},t.fromSQL=function(t,e){void 0===e&&(e={});var n=function(t){return me(t,[Ge,Ze],[Je,$e])}(t);return Un(n[0],n[1],e,"SQL",t)},t.invalid=function(e,n){if(void 0===n&&(n=null),!e)throw new y("need to specify a reason the DateTime is invalid");var i=e instanceof Rt?e:new Rt(e,n);if(te.throwOnInvalid)throw new p(i);return new t({invalid:i})},t.isDateTime=function(t){return t&&t.isLuxonDateTime||!1};var e=t.prototype;return e.get=function(t){return this[t]},e.resolvedLocaleOpts=function(t){void 0===t&&(t={});var e=It.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e.locale,numberingSystem:e.numberingSystem,outputCalendar:e.calendar}},e.toUTC=function(t,e){return void 0===t&&(t=0),void 0===e&&(e={}),this.setZone(Ut.instance(t),e)},e.toLocal=function(){return this.setZone(te.defaultZone)},e.setZone=function(e,n){var i=void 0===n?{}:n,a=i.keepLocalTime,r=void 0!==a&&a,o=i.keepCalendarTime,s=void 0!==o&&o;if((e=Gt(e,te.defaultZone)).equals(this.zone))return this;if(e.isValid){var l=this.ts;if(r||s){var c=e.offset(this.ts);l=Bn(this.toObject(),c,e)[0]}return Fn(this,{ts:l,zone:e})}return t.invalid(Hn(e))},e.reconfigure=function(t){var e=void 0===t?{}:t;return Fn(this,{loc:this.loc.clone({locale:e.locale,numberingSystem:e.numberingSystem,outputCalendar:e.outputCalendar})})},e.setLocale=function(t){return this.reconfigure({locale:t})},e.set=function(t){if(!this.isValid)return this;var e,n=pt(t,ti,[]);U(n.weekYear)&&U(n.weekNumber)&&U(n.weekday)?U(n.ordinal)?(e=Object.assign(this.toObject(),n),U(n.day)&&(e.day=Math.min(st(e.year,e.month),e.day))):e=Rn(Object.assign(In(this.c),n)):e=An(Object.assign(En(this.c),n));var i=Bn(e,this.o,this.zone);return Fn(this,{ts:i[0],o:i[1]})},e.plus=function(t){return this.isValid?Fn(this,Wn(this,sn(t))):this},e.minus=function(t){return this.isValid?Fn(this,Wn(this,sn(t).negate())):this},e.startOf=function(t){if(!this.isValid)return this;var e={},n=on.normalizeUnit(t);switch(n){case"years":e.month=1;case"quarters":case"months":e.day=1;case"weeks":case"days":e.hour=0;case"hours":e.minute=0;case"minutes":e.second=0;case"seconds":e.millisecond=0}if("weeks"===n&&(e.weekday=1),"quarters"===n){var i=Math.ceil(this.month/3);e.month=3*(i-1)+1}return this.set(e)},e.endOf=function(t){var e;return this.isValid?this.plus((e={},e[t]=1,e)).startOf(t).minus(1):this},e.toFormat=function(t,e){return void 0===e&&(e={}),this.isValid?It.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):"Invalid DateTime"},e.toLocaleString=function(t){return void 0===t&&(t=M),this.isValid?It.create(this.loc.clone(t),t).formatDateTime(this):"Invalid DateTime"},e.toLocaleParts=function(t){return void 0===t&&(t={}),this.isValid?It.create(this.loc.clone(t),t).formatDateTimeParts(this):[]},e.toISO=function(t){return void 0===t&&(t={}),this.isValid?this.toISODate(t)+"T"+this.toISOTime(t):null},e.toISODate=function(t){var e=(void 0===t?{}:t).format,n="basic"===(void 0===e?"extended":e)?"yyyyMMdd":"yyyy-MM-dd";return this.year>9999&&(n="+"+n),qn(this,n)},e.toISOWeekDate=function(){return qn(this,"kkkk-'W'WW-c")},e.toISOTime=function(t){var e=void 0===t?{}:t,n=e.suppressMilliseconds,i=e.suppressSeconds,a=e.includeOffset,r=e.format;return Gn(this,{suppressSeconds:void 0!==i&&i,suppressMilliseconds:void 0!==n&&n,includeOffset:void 0===a||a,format:void 0===r?"extended":r})},e.toRFC2822=function(){return qn(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)},e.toHTTP=function(){return qn(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")},e.toSQLDate=function(){return qn(this,"yyyy-MM-dd")},e.toSQLTime=function(t){var e=void 0===t?{}:t,n=e.includeOffset,i=e.includeZone;return Gn(this,{includeOffset:void 0===n||n,includeZone:void 0!==i&&i,spaceZone:!0})},e.toSQL=function(t){return void 0===t&&(t={}),this.isValid?this.toSQLDate()+" "+this.toSQLTime(t):null},e.toString=function(){return this.isValid?this.toISO():"Invalid DateTime"},e.valueOf=function(){return this.toMillis()},e.toMillis=function(){return this.isValid?this.ts:NaN},e.toSeconds=function(){return this.isValid?this.ts/1e3:NaN},e.toJSON=function(){return this.toISO()},e.toBSON=function(){return this.toJSDate()},e.toObject=function(t){if(void 0===t&&(t={}),!this.isValid)return{};var e=Object.assign({},this.c);return t.includeConfig&&(e.outputCalendar=this.outputCalendar,e.numberingSystem=this.loc.numberingSystem,e.locale=this.loc.locale),e},e.toJSDate=function(){return new Date(this.isValid?this.ts:NaN)},e.diff=function(t,e,n){if(void 0===e&&(e="milliseconds"),void 0===n&&(n={}),!this.isValid||!t.isValid)return on.invalid(this.invalid||t.invalid,"created by diffing an invalid DateTime");var i,a=Object.assign({locale:this.locale,numberingSystem:this.numberingSystem},n),r=(i=e,Array.isArray(i)?i:[i]).map(on.normalizeUnit),o=t.valueOf()>this.valueOf(),s=function(t,e,n,i){var a,r=function(t,e,n){for(var i,a,r={},o=0,s=[["years",function(t,e){return e.year-t.year}],["months",function(t,e){return e.month-t.month+12*(e.year-t.year)}],["weeks",function(t,e){var n=hn(t,e);return(n-n%7)/7}],["days",hn]];o<s.length;o++){var l=s[o],c=l[0],d=l[1];if(n.indexOf(c)>=0){var u;i=c;var h,m=d(t,e);(a=t.plus(((u={})[c]=m,u)))>e?(t=t.plus(((h={})[c]=m-1,h)),m-=1):t=a,r[c]=m}}return[t,r,a,i]}(t,e,n),o=r[0],s=r[1],l=r[2],c=r[3],d=e-o,u=n.filter(function(t){return["hours","minutes","seconds","milliseconds"].indexOf(t)>=0});0===u.length&&(l<e&&(l=o.plus(((a={})[c]=1,a))),l!==o&&(s[c]=(s[c]||0)+d/(l-o)));var h,m=on.fromObject(Object.assign(s,i));return u.length>0?(h=on.fromMillis(d,i)).shiftTo.apply(h,u).plus(m):m}(o?this:t,o?t:this,r,a);return o?s.negate():s},e.diffNow=function(e,n){return void 0===e&&(e="milliseconds"),void 0===n&&(n={}),this.diff(t.local(),e,n)},e.until=function(t){return this.isValid?dn.fromDateTimes(this,t):this},e.hasSame=function(t,e){if(!this.isValid)return!1;if("millisecond"===e)return this.valueOf()===t.valueOf();var n=t.valueOf();return this.startOf(e)<=n&&n<=this.endOf(e)},e.equals=function(t){return this.isValid&&t.isValid&&this.valueOf()===t.valueOf()&&this.zone.equals(t.zone)&&this.loc.equals(t.loc)},e.toRelative=function(e){if(void 0===e&&(e={}),!this.isValid)return null;var n=e.base||t.fromObject({zone:this.zone});return ni(n,this.plus(e.padding?this<n?-e.padding:e.padding:0),Object.assign(e,{numeric:"always",units:["years","months","days","hours","minutes","seconds"]}))},e.toRelativeCalendar=function(e){return void 0===e&&(e={}),this.isValid?ni(e.base||t.fromObject({zone:this.zone}),this,Object.assign(e,{numeric:"auto",units:["years","months","days"],calendary:!0})):null},t.min=function(){for(var e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];if(!n.every(t.isDateTime))throw new y("min requires all arguments be DateTimes");return X(n,function(t){return t.valueOf()},Math.min)},t.max=function(){for(var e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];if(!n.every(t.isDateTime))throw new y("max requires all arguments be DateTimes");return X(n,function(t){return t.valueOf()},Math.max)},t.fromFormatExplain=function(t,e,n){void 0===n&&(n={});var i=n.locale,a=n.numberingSystem;return On(de.fromOpts({locale:void 0===i?null:i,numberingSystem:void 0===a?null:a,defaultToEN:!0}),t,e)},t.fromStringExplain=function(e,n,i){return void 0===i&&(i={}),t.fromFormatExplain(e,n,i)},a(t,[{key:"isValid",get:function(){return null===this.invalid}},{key:"invalidReason",get:function(){return this.invalid?this.invalid.reason:null}},{key:"invalidExplanation",get:function(){return this.invalid?this.invalid.explanation:null}},{key:"locale",get:function(){return this.isValid?this.loc.locale:null}},{key:"numberingSystem",get:function(){return this.isValid?this.loc.numberingSystem:null}},{key:"outputCalendar",get:function(){return this.isValid?this.loc.outputCalendar:null}},{key:"zone",get:function(){return this._zone}},{key:"zoneName",get:function(){return this.isValid?this.zone.name:null}},{key:"year",get:function(){return this.isValid?this.c.year:NaN}},{key:"quarter",get:function(){return this.isValid?Math.ceil(this.c.month/3):NaN}},{key:"month",get:function(){return this.isValid?this.c.month:NaN}},{key:"day",get:function(){return this.isValid?this.c.day:NaN}},{key:"hour",get:function(){return this.isValid?this.c.hour:NaN}},{key:"minute",get:function(){return this.isValid?this.c.minute:NaN}},{key:"second",get:function(){return this.isValid?this.c.second:NaN}},{key:"millisecond",get:function(){return this.isValid?this.c.millisecond:NaN}},{key:"weekYear",get:function(){return this.isValid?jn(this).weekYear:NaN}},{key:"weekNumber",get:function(){return this.isValid?jn(this).weekNumber:NaN}},{key:"weekday",get:function(){return this.isValid?jn(this).weekday:NaN}},{key:"ordinal",get:function(){return this.isValid?In(this.c).ordinal:NaN}},{key:"monthShort",get:function(){return this.isValid?un.months("short",{locale:this.locale})[this.month-1]:null}},{key:"monthLong",get:function(){return this.isValid?un.months("long",{locale:this.locale})[this.month-1]:null}},{key:"weekdayShort",get:function(){return this.isValid?un.weekdays("short",{locale:this.locale})[this.weekday-1]:null}},{key:"weekdayLong",get:function(){return this.isValid?un.weekdays("long",{locale:this.locale})[this.weekday-1]:null}},{key:"offset",get:function(){return this.isValid?+this.o:NaN}},{key:"offsetNameShort",get:function(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}},{key:"offsetNameLong",get:function(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}},{key:"isOffsetFixed",get:function(){return this.isValid?this.zone.universal:null}},{key:"isInDST",get:function(){return!this.isOffsetFixed&&(this.offset>this.set({month:1}).offset||this.offset>this.set({month:5}).offset)}},{key:"isInLeapYear",get:function(){return rt(this.year)}},{key:"daysInMonth",get:function(){return st(this.year,this.month)}},{key:"daysInYear",get:function(){return this.isValid?ot(this.year):NaN}},{key:"weeksInWeekYear",get:function(){return this.isValid?ct(this.weekYear):NaN}}],[{key:"DATE_SHORT",get:function(){return M}},{key:"DATE_MED",get:function(){return O}},{key:"DATE_FULL",get:function(){return k}},{key:"DATE_HUGE",get:function(){return S}},{key:"TIME_SIMPLE",get:function(){return T}},{key:"TIME_WITH_SECONDS",get:function(){return P}},{key:"TIME_WITH_SHORT_OFFSET",get:function(){return L}},{key:"TIME_WITH_LONG_OFFSET",get:function(){return D}},{key:"TIME_24_SIMPLE",get:function(){return E}},{key:"TIME_24_WITH_SECONDS",get:function(){return A}},{key:"TIME_24_WITH_SHORT_OFFSET",get:function(){return I}},{key:"TIME_24_WITH_LONG_OFFSET",get:function(){return R}},{key:"DATETIME_SHORT",get:function(){return N}},{key:"DATETIME_SHORT_WITH_SECONDS",get:function(){return Y}},{key:"DATETIME_MED",get:function(){return H}},{key:"DATETIME_MED_WITH_SECONDS",get:function(){return j}},{key:"DATETIME_MED_WITH_WEEKDAY",get:function(){return F}},{key:"DATETIME_FULL",get:function(){return z}},{key:"DATETIME_FULL_WITH_SECONDS",get:function(){return V}},{key:"DATETIME_HUGE",get:function(){return B}},{key:"DATETIME_HUGE_WITH_SECONDS",get:function(){return W}}]),t}();function ai(t){if(ii.isDateTime(t))return t;if(t&&t.valueOf&&q(t.valueOf()))return ii.fromJSDate(t);if(t&&"object"==typeof t)return ii.fromObject(t);throw new y("Unknown datetime argument: "+t+", of type "+typeof t)}e.DateTime=ii,e.Duration=on,e.FixedOffsetZone=Ut,e.IANAZone=Bt,e.Info=un,e.Interval=dn,e.InvalidZone=qt,e.LocalZone=Ht,e.Settings=te,e.Zone=Nt},aF9I:function(t,e,n){"use strict";n.d(e,"a",function(){return o});var i=n("8Y7J"),a=n("iInd"),r=n("TSSN");let o=(()=>{class t{constructor(){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=i.Hb({type:t,selectors:[["app-footer"]],decls:13,vars:9,consts:[["id","footer"],[1,"footer-separator"],["routerLink","/legals","routerLinkActive","active"],["routerLink","/faq","routerLinkActive","active"],["routerLink","/contact","routerLinkActive","active"]],template:function(t,e){1&t&&(i.Tb(0,"div",0),i.Tb(1,"span",1),i.Tb(2,"a",2),i.Hc(3),i.gc(4,"translate"),i.Sb(),i.Sb(),i.Tb(5,"span",1),i.Tb(6,"a",3),i.Hc(7),i.gc(8,"translate"),i.Sb(),i.Sb(),i.Tb(9,"span"),i.Tb(10,"a",4),i.Hc(11),i.gc(12,"translate"),i.Sb(),i.Sb(),i.Sb()),2&t&&(i.Cb(3),i.Ic(i.hc(4,3,"footer.mentions")),i.Cb(4),i.Ic(i.hc(8,5,"footer.faq")),i.Cb(4),i.Ic(i.hc(12,7,"footer.contact")))},directives:[a.i,a.h],pipes:[r.c],styles:["#footer[_ngcontent-%COMP%]{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;height:4rem}#footer[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{margin-right:.375rem}#footer[_ngcontent-%COMP%] span[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:none;color:#000}#footer[_ngcontent-%COMP%] span[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}#footer[_ngcontent-%COMP%] .footer-separator[_ngcontent-%COMP%]{border-right:1px solid #000;padding-right:.375rem}"]}),t})()},aIdf:function(t,e,n){!function(t){"use strict";function e(t,e,n){return t+" "+function(t,e){return 2===e?function(t){var e={m:"v",b:"v",d:"z"};return void 0===e[t.charAt(0)]?t:e[t.charAt(0)]+t.substring(1)}(t):t}({mm:"munutenn",MM:"miz",dd:"devezh"}[n],t)}function n(t){return t>9?n(t%10):t}var i=[/^gen/i,/^c[\u02bc\']hwe/i,/^meu/i,/^ebr/i,/^mae/i,/^(mez|eve)/i,/^gou/i,/^eos/i,/^gwe/i,/^her/i,/^du/i,/^ker/i],a=/^(genver|c[\u02bc\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu|gen|c[\u02bc\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,r=[/^Su/i,/^Lu/i,/^Me([^r]|$)/i,/^Mer/i,/^Ya/i,/^Gw/i,/^Sa/i];t.defineLocale("br",{months:"Genver_C\u02bchwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_C\u02bchwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Merc\u02bcher_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParse:r,fullWeekdaysParse:[/^sul/i,/^lun/i,/^meurzh/i,/^merc[\u02bc\']her/i,/^yaou/i,/^gwener/i,/^sadorn/i],shortWeekdaysParse:[/^Sul/i,/^Lun/i,/^Meu/i,/^Mer/i,/^Yao/i,/^Gwe/i,/^Sad/i],minWeekdaysParse:r,monthsRegex:a,monthsShortRegex:a,monthsStrictRegex:/^(genver|c[\u02bc\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu)/i,monthsShortStrictRegex:/^(gen|c[\u02bc\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY HH:mm",LLLL:"dddd, D [a viz] MMMM YYYY HH:mm"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warc\u02bchoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Dec\u02bch da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s \u02bczo",s:"un nebeud segondenno\xf9",ss:"%d eilenn",m:"ur vunutenn",mm:e,h:"un eur",hh:"%d eur",d:"un devezh",dd:e,M:"ur miz",MM:e,y:"ur bloaz",yy:function(t){switch(n(t)){case 1:case 3:case 4:case 5:case 9:return t+" bloaz";default:return t+" vloaz"}}},dayOfMonthOrdinalParse:/\d{1,2}(a\xf1|vet)/,ordinal:function(t){return t+(1===t?"a\xf1":"vet")},week:{dow:1,doy:4},meridiemParse:/a.m.|g.m./,isPM:function(t){return"g.m."===t},meridiem:function(t,e,n){return t<12?"a.m.":"g.m."}})}(n("wd/R"))},aIsn:function(t,e,n){!function(t){"use strict";t.defineLocale("mi",{months:"Kohi-t\u0101te_Hui-tanguru_Pout\u016b-te-rangi_Paenga-wh\u0101wh\u0101_Haratua_Pipiri_H\u014dngoingoi_Here-turi-k\u014dk\u0101_Mahuru_Whiringa-\u0101-nuku_Whiringa-\u0101-rangi_Hakihea".split("_"),monthsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_H\u014dngoi_Here_Mahu_Whi-nu_Whi-ra_Haki".split("_"),monthsRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i,weekdays:"R\u0101tapu_Mane_T\u016brei_Wenerei_T\u0101ite_Paraire_H\u0101tarei".split("_"),weekdaysShort:"Ta_Ma_T\u016b_We_T\u0101i_Pa_H\u0101".split("_"),weekdaysMin:"Ta_Ma_T\u016b_We_T\u0101i_Pa_H\u0101".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [i] HH:mm",LLLL:"dddd, D MMMM YYYY [i] HH:mm"},calendar:{sameDay:"[i teie mahana, i] LT",nextDay:"[apopo i] LT",nextWeek:"dddd [i] LT",lastDay:"[inanahi i] LT",lastWeek:"dddd [whakamutunga i] LT",sameElse:"L"},relativeTime:{future:"i roto i %s",past:"%s i mua",s:"te h\u0113kona ruarua",ss:"%d h\u0113kona",m:"he meneti",mm:"%d meneti",h:"te haora",hh:"%d haora",d:"he ra",dd:"%d ra",M:"he marama",MM:"%d marama",y:"he tau",yy:"%d tau"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(n("wd/R"))},aQkU:function(t,e,n){!function(t){"use strict";t.defineLocale("mk",{months:"\u0458\u0430\u043d\u0443\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0458_\u0458\u0443\u043d\u0438_\u0458\u0443\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438_\u043e\u043a\u0442\u043e\u043c\u0432\u0440\u0438_\u043d\u043e\u0435\u043c\u0432\u0440\u0438_\u0434\u0435\u043a\u0435\u043c\u0432\u0440\u0438".split("_"),monthsShort:"\u0458\u0430\u043d_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433_\u0441\u0435\u043f_\u043e\u043a\u0442_\u043d\u043e\u0435_\u0434\u0435\u043a".split("_"),weekdays:"\u043d\u0435\u0434\u0435\u043b\u0430_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0440\u0442\u043e\u043a_\u043f\u0435\u0442\u043e\u043a_\u0441\u0430\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434_\u043f\u043e\u043d_\u0432\u0442\u043e_\u0441\u0440\u0435_\u0447\u0435\u0442_\u043f\u0435\u0442_\u0441\u0430\u0431".split("_"),weekdaysMin:"\u043de_\u043fo_\u0432\u0442_\u0441\u0440_\u0447\u0435_\u043f\u0435_\u0441a".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[\u0414\u0435\u043d\u0435\u0441 \u0432\u043e] LT",nextDay:"[\u0423\u0442\u0440\u0435 \u0432\u043e] LT",nextWeek:"[\u0412\u043e] dddd [\u0432\u043e] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430 \u0432\u043e] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[\u0418\u0437\u043c\u0438\u043d\u0430\u0442\u0430\u0442\u0430] dddd [\u0432\u043e] LT";case 1:case 2:case 4:case 5:return"[\u0418\u0437\u043c\u0438\u043d\u0430\u0442\u0438\u043e\u0442] dddd [\u0432\u043e] LT"}},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"\u043f\u0440\u0435\u0434 %s",s:"\u043d\u0435\u043a\u043e\u043b\u043a\u0443 \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434\u0438",m:"\u0435\u0434\u043d\u0430 \u043c\u0438\u043d\u0443\u0442\u0430",mm:"%d \u043c\u0438\u043d\u0443\u0442\u0438",h:"\u0435\u0434\u0435\u043d \u0447\u0430\u0441",hh:"%d \u0447\u0430\u0441\u0430",d:"\u0435\u0434\u0435\u043d \u0434\u0435\u043d",dd:"%d \u0434\u0435\u043d\u0430",M:"\u0435\u0434\u0435\u043d \u043c\u0435\u0441\u0435\u0446",MM:"%d \u043c\u0435\u0441\u0435\u0446\u0438",y:"\u0435\u0434\u043d\u0430 \u0433\u043e\u0434\u0438\u043d\u0430",yy:"%d \u0433\u043e\u0434\u0438\u043d\u0438"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0435\u0432|\u0435\u043d|\u0442\u0438|\u0432\u0438|\u0440\u0438|\u043c\u0438)/,ordinal:function(t){var e=t%10,n=t%100;return 0===t?t+"-\u0435\u0432":0===n?t+"-\u0435\u043d":n>10&&n<20?t+"-\u0442\u0438":1===e?t+"-\u0432\u0438":2===e?t+"-\u0440\u0438":7===e||8===e?t+"-\u043c\u0438":t+"-\u0442\u0438"},week:{dow:1,doy:7}})}(n("wd/R"))},aZ8m:function(t,e,n){"use strict";n.d(e,"a",function(){return k});var i=n("VN+9"),a=n("PTv7"),r=n("8Y7J"),o=n("lxpx"),s=n("WiJD"),l=n("qh/L"),c=n("f4AX"),d=n("iELJ"),u=n("iInd"),h=n("jKJn"),m=n("SVse"),p=n("Dxy4"),f=n("rJgo"),g=n("Tj54"),b=n("TSSN");function _(t,e){if(1&t&&(r.Tb(0,"div",14),r.Hc(1),r.Sb()),2&t){const t=r.fc();r.Cb(1),r.Ic(t.raisonSociale)}}function y(t,e){1&t&&(r.Tb(0,"a",15),r.Tb(1,"span"),r.Hc(2),r.gc(3,"translate"),r.Sb(),r.Sb()),2&t&&(r.Cb(2),r.Ic(r.hc(3,1,"header.menu.accueil")))}function v(t,e){1&t&&(r.Tb(0,"a",16),r.Tb(1,"span"),r.Hc(2),r.gc(3,"translate"),r.Sb(),r.Sb()),2&t&&(r.Cb(2),r.Ic(r.hc(3,1,"header.menu.compte")))}function C(t,e){if(1&t){const t=r.Ub();r.Tb(0,"a",17),r.bc("click",function(){return r.yc(t),r.fc().logout()}),r.Tb(1,"span"),r.Hc(2),r.gc(3,"translate"),r.Sb(),r.Sb()}2&t&&(r.Cb(2),r.Ic(r.hc(3,1,"header.menu.deconnexion")))}function w(t,e){1&t&&(r.Tb(0,"a",18),r.Tb(1,"span"),r.Hc(2),r.gc(3,"translate"),r.Sb(),r.Sb()),2&t&&(r.Cb(2),r.Ic(r.hc(3,1,"header.menu.connexion")))}function x(t,e){if(1&t){const t=r.Ub();r.Tb(0,"span",19),r.bc("click",function(){return r.yc(t),r.fc().inscription()}),r.Tb(1,"span"),r.Hc(2),r.gc(3,"translate"),r.Sb(),r.Sb()}2&t&&(r.Cb(2),r.Ic(r.hc(3,1,"header.menu.inscription")))}function M(t,e){if(1&t){const t=r.Ub();r.Tb(0,"button",24),r.bc("click",function(){r.yc(t);const n=e.$implicit;return r.fc(2).changeLangue(n)}),r.Hc(1),r.Sb()}if(2&t){const t=e.$implicit,n=r.fc(2);r.Cb(1),r.Ic(n.translationService.getLangueLabel(t))}}function O(t,e){if(1&t&&(r.Tb(0,"div",20),r.Tb(1,"button",21),r.Hc(2),r.Tb(3,"mat-icon"),r.Hc(4,"arrow_drop_down"),r.Sb(),r.Sb(),r.Tb(5,"mat-menu",null,22),r.Fc(7,M,2,1,"button",23),r.Sb(),r.Sb()),2&t){const t=r.vc(6),e=r.fc();r.Cb(1),r.nc("matMenuTriggerFor",t),r.Cb(1),r.Jc("",e.translationService.getCurrentLangueLabel()," "),r.Cb(5),r.nc("ngForOf",e.translationService.getLangs())}}let k=(()=>{class t{constructor(t,e,n,i,a,r,o){this.translationService=t,this.configurationService=e,this.sessionService=n,this.userService=i,this.dialog=a,this.router=r,this.alertService=o,this.title="Sipsi",this.configurationService.getVersion().subscribe(t=>this._version=t.version)}get raisonSociale(){return this.userService.raisonSociale}get isLogged(){return this.sessionService.isLogged}get version(){return this._version}logout(){this.dialog.open(a.a,{data:{title:this.translationService.instant("logout.dialog.titre"),question:this.translationService.instant("logout.dialog.question"),okButtonText:this.translationService.instant("common.oui"),cancelButtonText:this.translationService.instant("common.non")}}).afterClosed().subscribe(t=>{!0===t&&(this.sessionService.logout(),this.alertService.notifyByKey("logout.done"))})}changeLangue(t){this.translationService.use(t)}inscription(){this.dialog.open(i.a,{id:"popin-type-compte"})}modifierCompte(){const t=JSON.parse(localStorage.getItem("me")).role.toLowerCase();this.router.navigate([`mon-compte/${t}`])}}return t.\u0275fac=function(e){return new(e||t)(r.Nb(o.a),r.Nb(s.a),r.Nb(l.a),r.Nb(c.a),r.Nb(d.b),r.Nb(u.f),r.Nb(h.a))},t.\u0275cmp=r.Hb({type:t,selectors:[["app-header"]],decls:22,vars:20,consts:[["id","header"],["id","header-shadow",1,"mat-elevation-z1"],["id","title"],["routerLink","home","routerLinkActive","active",3,"title"],["alt","Minist\xe8re du travail, de l'emploi et de l'insertion","width","115px","srcset","assets/img/MIN_Travail_Emploi_et_Insertion_RVB.svg","src","assets/img/MIN_Travail_Emploi_et_Insertion_RVB.png"],[1,"version"],["id","menu"],["id","raison-sociale",4,"ngIf"],["id","accueil","class","header-separator","routerLink","/home","routerLinkActive","active",4,"ngIf"],["id","mon-compte","class","cursor-pointer header-separator","routerLink","/compte","routerLinkActive","active",4,"ngIf"],["id","logout-btn","class","cursor-pointer last",3,"click",4,"ngIf"],["id","login-btn","class","header-separator","routerLink","/auth/login","routerLinkActive","active",4,"ngIf"],["id","inscription","class","cursor-pointer last header-separator",3,"click",4,"ngIf"],["id","langue-select",4,"ngIf"],["id","raison-sociale"],["id","accueil","routerLink","/home","routerLinkActive","active",1,"header-separator"],["id","mon-compte","routerLink","/compte","routerLinkActive","active",1,"cursor-pointer","header-separator"],["id","logout-btn",1,"cursor-pointer","last",3,"click"],["id","login-btn","routerLink","/auth/login","routerLinkActive","active",1,"header-separator"],["id","inscription",1,"cursor-pointer","last","header-separator",3,"click"],["id","langue-select"],["mat-button","","aria-label","show languages","disableRipple","true",3,"matMenuTriggerFor"],["menu","matMenu"],["mat-menu-item","",3,"click",4,"ngFor","ngForOf"],["mat-menu-item","",3,"click"]],template:function(t,e){1&t&&(r.Tb(0,"div",0),r.Tb(1,"div",1),r.Tb(2,"div",2),r.Tb(3,"a",3),r.gc(4,"translate"),r.gc(5,"translate"),r.Ob(6,"img",4),r.Sb(),r.Tb(7,"div"),r.Tb(8,"span"),r.Hc(9),r.gc(10,"translate"),r.gc(11,"translate"),r.Sb(),r.Tb(12,"span",5),r.Hc(13),r.Sb(),r.Sb(),r.Sb(),r.Tb(14,"div",6),r.Fc(15,_,2,1,"div",7),r.Fc(16,y,4,3,"a",8),r.Fc(17,v,4,3,"a",9),r.Fc(18,C,4,3,"a",10),r.Fc(19,w,4,3,"a",11),r.Fc(20,x,4,3,"span",12),r.Sb(),r.Fc(21,O,8,3,"div",13),r.Sb(),r.Sb()),2&t&&(r.Cb(3),r.qc("title","",r.hc(4,12,"header.titre.1")," ",r.hc(5,14,"header.titre.2"),""),r.Cb(6),r.Kc("",r.hc(10,16,"header.titre.1")," ",r.hc(11,18,"header.titre.2"),""),r.Cb(4),r.Ic(e.version),r.Cb(2),r.nc("ngIf",e.raisonSociale),r.Cb(1),r.nc("ngIf",e.isLogged),r.Cb(1),r.nc("ngIf",e.isLogged),r.Cb(1),r.nc("ngIf",e.isLogged),r.Cb(1),r.nc("ngIf",!e.isLogged),r.Cb(1),r.nc("ngIf",!e.isLogged),r.Cb(1),r.nc("ngIf",!e.isLogged))},directives:[u.i,u.h,m.l,p.a,f.d,g.a,f.a,m.k,f.b],pipes:[b.c],styles:[".mat-badge-content{font-weight:600;font-size:12px;font-family:Roboto,Helvetica Neue,sans-serif}.mat-badge-small .mat-badge-content{font-size:9px}.mat-badge-large .mat-badge-content{font-size:24px}.mat-h1,.mat-headline,.mat-typography h1{font:400 24px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h2,.mat-title,.mat-typography h2{font:500 20px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h3,.mat-subheading-2,.mat-typography h3{font:400 16px/28px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h4,.mat-subheading-1,.mat-typography h4{font:400 15px/24px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h5,.mat-typography h5{font:400 calc(14px * .83)/20px Roboto,Helvetica Neue,sans-serif;margin:0 0 12px}.mat-h6,.mat-typography h6{font:400 calc(14px * .67)/20px Roboto,Helvetica Neue,sans-serif;margin:0 0 12px}.mat-body-2,.mat-body-strong{font:500 14px/24px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-body,.mat-body-1,.mat-typography{font:400 14px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-body-1 p,.mat-body p,.mat-typography p{margin:0 0 12px}.mat-caption,.mat-small{font:400 12px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-display-4,.mat-typography .mat-display-4{font:300 112px/112px Roboto,Helvetica Neue,sans-serif;letter-spacing:-.05em;margin:0 0 56px}.mat-display-3,.mat-typography .mat-display-3{font:400 56px/56px Roboto,Helvetica Neue,sans-serif;letter-spacing:-.02em;margin:0 0 64px}.mat-display-2,.mat-typography .mat-display-2{font:400 45px/48px Roboto,Helvetica Neue,sans-serif;letter-spacing:-.005em;margin:0 0 64px}.mat-display-1,.mat-typography .mat-display-1{font:400 34px/40px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 64px}.mat-bottom-sheet-container{font:400 14px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-button,.mat-fab,.mat-flat-button,.mat-icon-button,.mat-mini-fab,.mat-raised-button,.mat-stroked-button{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:500}.mat-button-toggle,.mat-card{font-family:Roboto,Helvetica Neue,sans-serif}.mat-card-title{font-size:24px;font-weight:500}.mat-card-header .mat-card-title{font-size:20px}.mat-card-content,.mat-card-subtitle{font-size:14px}.mat-checkbox{font-family:Roboto,Helvetica Neue,sans-serif}.mat-checkbox-layout .mat-checkbox-label{line-height:24px}.mat-chip{font-size:14px;font-weight:500}.mat-chip .mat-chip-remove.mat-icon,.mat-chip .mat-chip-trailing-icon.mat-icon{font-size:18px}.mat-table{font-family:Roboto,Helvetica Neue,sans-serif}.mat-header-cell{font-size:12px;font-weight:500}.mat-cell,.mat-footer-cell{font-size:14px}.mat-calendar{font-family:Roboto,Helvetica Neue,sans-serif}.mat-calendar-body{font-size:13px}.mat-calendar-body-label,.mat-calendar-period-button{font-size:14px;font-weight:500}.mat-calendar-table-header th{font-size:11px;font-weight:400}.mat-dialog-title{font:500 20px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-expansion-panel-header{font-family:Roboto,Helvetica Neue,sans-serif;font-size:15px;font-weight:400}.mat-expansion-panel-content{font:400 14px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-form-field{font-size:inherit;font-weight:400;line-height:1.125;font-family:Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-form-field-wrapper{padding-bottom:1.34375em}.mat-form-field-prefix .mat-icon,.mat-form-field-suffix .mat-icon{font-size:150%;line-height:1.125}.mat-form-field-prefix .mat-icon-button,.mat-form-field-suffix .mat-icon-button{height:1.5em;width:1.5em}.mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field-suffix .mat-icon-button .mat-icon{height:1.125em;line-height:1.125}.mat-form-field-infix{padding:.5em 0;border-top:.84375em solid rgba(0,0,0,0)}.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label{-ms-transform:translateY(-1.34375em) scale(.75);transform:translateY(-1.34375em) scale(.75);width:133.3333333333%}.mat-form-field-can-float .mat-input-server[label]:not(:label-shown)+.mat-form-field-label-wrapper .mat-form-field-label{-ms-transform:translateY(-1.34374em) scale(.75);transform:translateY(-1.34374em) scale(.75);width:133.3333433333%}.mat-form-field-label-wrapper{top:-.84375em;padding-top:.84375em}.mat-form-field-label{top:1.34375em}.mat-form-field-underline{bottom:1.34375em}.mat-form-field-subscript-wrapper{font-size:75%;margin-top:.6666666667em;top:calc(100% - 1.7916666667em)}.mat-form-field-appearance-legacy .mat-form-field-wrapper{padding-bottom:1.25em}.mat-form-field-appearance-legacy .mat-form-field-infix{padding:.4375em 0}.mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.001px);-ms-transform:translateY(-1.28125em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00101px);-ms-transform:translateY(-1.28124em) scale(.75);width:133.3333433333%}.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-input-server[label]:not(:label-shown)+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00102px);-ms-transform:translateY(-1.28123em) scale(.75);width:133.3333533333%}.mat-form-field-appearance-legacy .mat-form-field-label{top:1.28125em}.mat-form-field-appearance-legacy .mat-form-field-underline{bottom:1.25em}.mat-form-field-appearance-legacy .mat-form-field-subscript-wrapper{margin-top:.5416666667em;top:calc(100% - 1.6666666667em)}@media print{.mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label{-ms-transform:translateY(-1.28122em) scale(.75);transform:translateY(-1.28122em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.28121em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-input-server[label]:not(:label-shown)+.mat-form-field-label-wrapper .mat-form-field-label{-ms-transform:translateY(-1.2812em) scale(.75);transform:translateY(-1.2812em) scale(.75)}}.mat-form-field-appearance-fill .mat-form-field-infix{padding:.25em 0 .75em}.mat-form-field-appearance-fill .mat-form-field-label{top:1.09375em;margin-top:-.5em}.mat-form-field-appearance-fill.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-appearance-fill.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label{-ms-transform:translateY(-.59375em) scale(.75);transform:translateY(-.59375em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-fill.mat-form-field-can-float .mat-input-server[label]:not(:label-shown)+.mat-form-field-label-wrapper .mat-form-field-label{-ms-transform:translateY(-.59374em) scale(.75);transform:translateY(-.59374em) scale(.75);width:133.3333433333%}.mat-form-field-appearance-outline .mat-form-field-infix{padding:1em 0}.mat-form-field-appearance-outline .mat-form-field-label{top:1.84375em;margin-top:-.25em}.mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-appearance-outline.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label{-ms-transform:translateY(-1.59375em) scale(.75);transform:translateY(-1.59375em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-outline.mat-form-field-can-float .mat-input-server[label]:not(:label-shown)+.mat-form-field-label-wrapper .mat-form-field-label{-ms-transform:translateY(-1.59374em) scale(.75);transform:translateY(-1.59374em) scale(.75);width:133.3333433333%}.mat-grid-tile-footer,.mat-grid-tile-header{font-size:14px}.mat-grid-tile-footer .mat-line,.mat-grid-tile-header .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-grid-tile-footer .mat-line:nth-child(n+2),.mat-grid-tile-header .mat-line:nth-child(n+2){font-size:12px}input.mat-input-element{margin-top:-.0625em}.mat-menu-item{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:400}.mat-paginator,.mat-paginator-page-size .mat-select-trigger{font-family:Roboto,Helvetica Neue,sans-serif;font-size:12px}.mat-radio-button,.mat-select{font-family:Roboto,Helvetica Neue,sans-serif}.mat-select-trigger{height:1.125em}.mat-slide-toggle-content,.mat-slider-thumb-label-text{font-family:Roboto,Helvetica Neue,sans-serif}.mat-slider-thumb-label-text{font-size:12px;font-weight:500}.mat-stepper-horizontal,.mat-stepper-vertical{font-family:Roboto,Helvetica Neue,sans-serif}.mat-step-label{font-size:14px;font-weight:400}.mat-step-sub-label-error{font-weight:400}.mat-step-label-error{font-size:14px}.mat-step-label-selected{font-size:14px;font-weight:500}.mat-tab-group,.mat-tab-label,.mat-tab-link{font-family:Roboto,Helvetica Neue,sans-serif}.mat-tab-label,.mat-tab-link{font-size:14px;font-weight:500}.mat-toolbar,.mat-toolbar h1,.mat-toolbar h2,.mat-toolbar h3,.mat-toolbar h4,.mat-toolbar h5,.mat-toolbar h6{font:500 20px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0}.mat-tooltip{font-family:Roboto,Helvetica Neue,sans-serif;font-size:10px;padding-top:6px;padding-bottom:6px}.mat-tooltip-handset{font-size:14px;padding-top:8px;padding-bottom:8px}.mat-list-item,.mat-list-option{font-family:Roboto,Helvetica Neue,sans-serif}.mat-list-base .mat-list-item{font-size:16px}.mat-list-base .mat-list-item .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base .mat-list-item .mat-line:nth-child(n+2){font-size:14px}.mat-list-base .mat-list-option{font-size:16px}.mat-list-base .mat-list-option .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base .mat-list-option .mat-line:nth-child(n+2){font-size:14px}.mat-list-base .mat-subheader{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:500}.mat-list-base[dense] .mat-list-item{font-size:12px}.mat-list-base[dense] .mat-list-item .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[dense] .mat-list-item .mat-line:nth-child(n+2),.mat-list-base[dense] .mat-list-option{font-size:12px}.mat-list-base[dense] .mat-list-option .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[dense] .mat-list-option .mat-line:nth-child(n+2){font-size:12px}.mat-list-base[dense] .mat-subheader{font-family:Roboto,Helvetica Neue,sans-serif;font-size:12px;font-weight:500}.mat-option{font-family:Roboto,Helvetica Neue,sans-serif;font-size:16px}.mat-optgroup-label{font:500 14px/24px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-simple-snackbar{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px}.mat-simple-snackbar-action{line-height:1;font-family:inherit;font-size:inherit;font-weight:500}.mat-tree{font-family:Roboto,Helvetica Neue,sans-serif}.mat-nested-tree-node,.mat-tree-node{font-weight:400;font-size:14px}.mat-ripple{overflow:hidden;position:relative}.mat-ripple:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded{overflow:visible}.mat-ripple-element{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0,0,.2,1);-ms-transform:scale(0);transform:scale(0)}.cdk-high-contrast-active .mat-ripple-element{display:none}.cdk-visually-hidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;outline:0;-webkit-appearance:none;-moz-appearance:none}.cdk-global-overlay-wrapper,.cdk-overlay-container{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed;z-index:1000}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper,.cdk-overlay-pane{display:-ms-flexbox;display:flex;position:absolute;z-index:1000}.cdk-overlay-pane{pointer-events:auto;box-sizing:border-box;max-width:100%;max-height:100%}.cdk-overlay-backdrop{position:absolute;top:0;bottom:0;left:0;right:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:transparent;transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:1}@media screen and (-ms-high-contrast:active){.cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:.6}}.cdk-overlay-dark-backdrop{background:rgba(0,0,0,.32)}.cdk-overlay-transparent-backdrop,.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing{opacity:0}.cdk-overlay-connected-position-bounding-box{position:absolute;z-index:1000;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}@-webkit-keyframes cdk-text-field-autofill-start{\n /*!*/}@keyframes cdk-text-field-autofill-start{\n /*!*/}@-webkit-keyframes cdk-text-field-autofill-end{\n /*!*/}@keyframes cdk-text-field-autofill-end{\n /*!*/}.cdk-text-field-autofill-monitored:-webkit-autofill{-webkit-animation:cdk-text-field-autofill-start 0s 1ms;animation:cdk-text-field-autofill-start 0s 1ms}.cdk-text-field-autofill-monitored:not(:-webkit-autofill){-webkit-animation:cdk-text-field-autofill-end 0s 1ms;animation:cdk-text-field-autofill-end 0s 1ms}textarea.cdk-textarea-autosize{resize:none}textarea.cdk-textarea-autosize-measuring{padding:2px 0!important;box-sizing:content-box!important;height:auto!important;overflow:hidden!important}textarea.cdk-textarea-autosize-measuring-firefox{padding:2px 0!important;box-sizing:content-box!important;height:0!important}.mat-focus-indicator,.mat-mdc-focus-indicator{position:relative}#header{padding-bottom:5px;position:fixed;width:100%;z-index:1000}#header #header-shadow{padding:0 6.25rem;height:7rem;display:-ms-flexbox;display:flex;background-color:#fff}#header #header-shadow #title{-ms-flex:1 0 auto;flex:1 0 auto}#header #header-shadow #title,#header #header-shadow #title a{display:-ms-flexbox;display:flex}#header #header-shadow #title a img{-ms-flex-item-align:center;align-self:center}#header #header-shadow #title div{margin-left:80px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;font-weight:700;font-size:1.5rem}#header #header-shadow #title div .version{display:none}#header #header-shadow #menu,#header #header-shadow #menu a{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}#header #header-shadow #menu a{height:1.375rem;padding-right:1.25rem;margin-right:1.25rem;text-decoration:none;color:#000}#header #header-shadow #menu a:hover{text-decoration:underline}#header #header-shadow #menu a.last{padding-right:0;margin-right:0}#header #header-shadow #menu .header-separator{border-right:1px solid #000}#header #header-shadow #menu #inscription{padding-right:1.25rem}#header #header-shadow #menu #inscription:hover{text-decoration:underline}#header #header-shadow #menu #raison-sociale{margin-right:25px;padding:7px;font-weight:700}#header #header-shadow #langue-select{width:40px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}#header #header-shadow #langue-select .mat-button{height:40px;font-size:17px}#header #header-shadow #langue-select .mat-button .mat-button-focus-overlay{background-color:rgba(0,0,0,0)}::ng-deep .mat-simple-snackbar{-ms-flex-pack:center!important;justify-content:center!important}"],encapsulation:2}),t})()},b1Dy:function(t,e,n){!function(t){"use strict";t.defineLocale("en-nz",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})}(n("wd/R"))},bHdf:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("5+tZ"),a=n("SpAZ");function r(t=Number.POSITIVE_INFINITY){return Object(i.a)(a.a,t)}},bKjt:function(t,e,n){"use strict";n.d(e,"a",function(){return o});var i=n("cXaA"),a=n("8Y7J"),r=n("IheW");let o=(()=>{class t{constructor(t){this.http=t,this.log=i.a.create("CountryService"),this.END_POINT="/api/countries"}getCountries(){const t=this.END_POINT;return this.log.data(`[HTTP] (GET) -> ${t}`),this.http.get(t)}getCoutryFromCode(t){const e=`${this.END_POINT}/${t}`;return this.log.data(`[HTTP] (GET) -> ${e}`),this.http.get(e)}}return t.\u0275fac=function(e){return new(e||t)(a.Xb(r.b))},t.\u0275prov=a.Jb({token:t,factory:t.\u0275fac,providedIn:"root"}),t})()},bOMt:function(t,e,n){!function(t){"use strict";t.defineLocale("nb",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"s\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xf8rdag".split("_"),weekdaysShort:"s\xf8._ma._ti._on._to._fr._l\xf8.".split("_"),weekdaysMin:"s\xf8_ma_ti_on_to_fr_l\xf8".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[i g\xe5r kl.] LT",lastWeek:"[forrige] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",ss:"%d sekunder",m:"ett minutt",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dager",w:"en uke",ww:"%d uker",M:"en m\xe5ned",MM:"%d m\xe5neder",y:"ett \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},bOdf:function(t,e,n){"use strict";n.d(e,"a",function(){return a});var i=n("5+tZ");function a(t,e){return Object(i.a)(t,e,1)}},bXm7:function(t,e,n){!function(t){"use strict";var e={0:"-\u0448\u0456",1:"-\u0448\u0456",2:"-\u0448\u0456",3:"-\u0448\u0456",4:"-\u0448\u0456",5:"-\u0448\u0456",6:"-\u0448\u044b",7:"-\u0448\u0456",8:"-\u0448\u0456",9:"-\u0448\u044b",10:"-\u0448\u044b",20:"-\u0448\u044b",30:"-\u0448\u044b",40:"-\u0448\u044b",50:"-\u0448\u0456",60:"-\u0448\u044b",70:"-\u0448\u0456",80:"-\u0448\u0456",90:"-\u0448\u044b",100:"-\u0448\u0456"};t.defineLocale("kk",{months:"\u049b\u0430\u04a3\u0442\u0430\u0440_\u0430\u049b\u043f\u0430\u043d_\u043d\u0430\u0443\u0440\u044b\u0437_\u0441\u04d9\u0443\u0456\u0440_\u043c\u0430\u043c\u044b\u0440_\u043c\u0430\u0443\u0441\u044b\u043c_\u0448\u0456\u043b\u0434\u0435_\u0442\u0430\u043c\u044b\u0437_\u049b\u044b\u0440\u043a\u04af\u0439\u0435\u043a_\u049b\u0430\u0437\u0430\u043d_\u049b\u0430\u0440\u0430\u0448\u0430_\u0436\u0435\u043b\u0442\u043e\u049b\u0441\u0430\u043d".split("_"),monthsShort:"\u049b\u0430\u04a3_\u0430\u049b\u043f_\u043d\u0430\u0443_\u0441\u04d9\u0443_\u043c\u0430\u043c_\u043c\u0430\u0443_\u0448\u0456\u043b_\u0442\u0430\u043c_\u049b\u044b\u0440_\u049b\u0430\u0437_\u049b\u0430\u0440_\u0436\u0435\u043b".split("_"),weekdays:"\u0436\u0435\u043a\u0441\u0435\u043d\u0431\u0456_\u0434\u04af\u0439\u0441\u0435\u043d\u0431\u0456_\u0441\u0435\u0439\u0441\u0435\u043d\u0431\u0456_\u0441\u04d9\u0440\u0441\u0435\u043d\u0431\u0456_\u0431\u0435\u0439\u0441\u0435\u043d\u0431\u0456_\u0436\u04b1\u043c\u0430_\u0441\u0435\u043d\u0431\u0456".split("_"),weekdaysShort:"\u0436\u0435\u043a_\u0434\u04af\u0439_\u0441\u0435\u0439_\u0441\u04d9\u0440_\u0431\u0435\u0439_\u0436\u04b1\u043c_\u0441\u0435\u043d".split("_"),weekdaysMin:"\u0436\u043a_\u0434\u0439_\u0441\u0439_\u0441\u0440_\u0431\u0439_\u0436\u043c_\u0441\u043d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0411\u04af\u0433\u0456\u043d \u0441\u0430\u0493\u0430\u0442] LT",nextDay:"[\u0415\u0440\u0442\u0435\u04a3 \u0441\u0430\u0493\u0430\u0442] LT",nextWeek:"dddd [\u0441\u0430\u0493\u0430\u0442] LT",lastDay:"[\u041a\u0435\u0448\u0435 \u0441\u0430\u0493\u0430\u0442] LT",lastWeek:"[\u04e8\u0442\u043a\u0435\u043d \u0430\u043f\u0442\u0430\u043d\u044b\u04a3] dddd [\u0441\u0430\u0493\u0430\u0442] LT",sameElse:"L"},relativeTime:{future:"%s \u0456\u0448\u0456\u043d\u0434\u0435",past:"%s \u0431\u04b1\u0440\u044b\u043d",s:"\u0431\u0456\u0440\u043d\u0435\u0448\u0435 \u0441\u0435\u043a\u0443\u043d\u0434",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434",m:"\u0431\u0456\u0440 \u043c\u0438\u043d\u0443\u0442",mm:"%d \u043c\u0438\u043d\u0443\u0442",h:"\u0431\u0456\u0440 \u0441\u0430\u0493\u0430\u0442",hh:"%d \u0441\u0430\u0493\u0430\u0442",d:"\u0431\u0456\u0440 \u043a\u04af\u043d",dd:"%d \u043a\u04af\u043d",M:"\u0431\u0456\u0440 \u0430\u0439",MM:"%d \u0430\u0439",y:"\u0431\u0456\u0440 \u0436\u044b\u043b",yy:"%d \u0436\u044b\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0448\u0456|\u0448\u044b)/,ordinal:function(t){return t+(e[t]||e[t%10]||e[t>=100?100:null])},week:{dow:1,doy:7}})}(n("wd/R"))},bYM6:function(t,e,n){!function(t){"use strict";t.defineLocale("ar-tn",{months:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),monthsShort:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:1,doy:4}})}(n("wd/R"))},bpih:function(t,e,n){!function(t){"use strict";t.defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_luned\xec_marted\xec_mercoled\xec_gioved\xec_venerd\xec_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:function(){return"[Oggi a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextDay:function(){return"[Domani a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextWeek:function(){return"dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastDay:function(){return"[Ieri a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastWeek:function(){switch(this.day()){case 0:return"[La scorsa] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT";default:return"[Lo scorso] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"}},sameElse:"L"},relativeTime:{future:"tra %s",past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",w:"una settimana",ww:"%d settimane",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(n("wd/R"))},bxKX:function(t,e,n){!function(t){"use strict";t.defineLocale("it-ch",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_luned\xec_marted\xec_mercoled\xec_gioved\xec_venerd\xec_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){switch(this.day()){case 0:return"[la scorsa] dddd [alle] LT";default:return"[lo scorso] dddd [alle] LT"}},sameElse:"L"},relativeTime:{future:function(t){return(/^[0-9].+$/.test(t)?"tra":"in")+" "+t},past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(n("wd/R"))},c2HN:function(t,e,n){"use strict";function i(t){return!!t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}n.d(e,"a",function(){return i})},cRix:function(t,e,n){!function(t){"use strict";var e="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),n="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_");t.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(t,i){return t?/-MMM-/.test(i)?n[t.month()]:e[t.month()]:e},monthsParseExact:!0,weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[hjoed om] LT",nextDay:"[moarn om] LT",nextWeek:"dddd [om] LT",lastDay:"[juster om] LT",lastWeek:"[\xf4fr\xfbne] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",ss:"%d sekonden",m:"ien min\xfat",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(t){return t+(1===t||8===t||t>=20?"ste":"de")},week:{dow:1,doy:4}})}(n("wd/R"))},cUpR:function(t,e,n){"use strict";n.d(e,"a",function(){return Y}),n.d(e,"b",function(){return D}),n.d(e,"c",function(){return R}),n.d(e,"d",function(){return C});var i=n("SVse"),a=n("8Y7J");class r extends i.w{constructor(){super()}supportsDOMEvents(){return!0}}class o extends r{static makeCurrent(){Object(i.A)(new o)}getProperty(t,e){return t[e]}log(t){window.console&&window.console.log&&window.console.log(t)}logGroup(t){window.console&&window.console.group&&window.console.group(t)}logGroupEnd(){window.console&&window.console.groupEnd&&window.console.groupEnd()}onAndCancel(t,e,n){return t.addEventListener(e,n,!1),()=>{t.removeEventListener(e,n,!1)}}dispatchEvent(t,e){t.dispatchEvent(e)}remove(t){return t.parentNode&&t.parentNode.removeChild(t),t}getValue(t){return t.value}createElement(t,e){return(e=e||this.getDefaultDocument()).createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,e){return"window"===e?window:"document"===e?t:"body"===e?t.body:null}getHistory(){return window.history}getLocation(){return window.location}getBaseHref(t){const e=l||(l=document.querySelector("base"),l)?l.getAttribute("href"):null;return null==e?null:(n=e,s||(s=document.createElement("a")),s.setAttribute("href",n),"/"===s.pathname.charAt(0)?s.pathname:"/"+s.pathname);var n}resetBaseElement(){l=null}getUserAgent(){return window.navigator.userAgent}performanceNow(){return window.performance&&window.performance.now?window.performance.now():(new Date).getTime()}supportsCookies(){return!0}getCookie(t){return Object(i.z)(document.cookie,t)}}let s,l=null;const c=new a.s("TRANSITION_ID"),d=[{provide:a.d,useFactory:function(t,e,n){return()=>{n.get(a.e).donePromise.then(()=>{const n=Object(i.y)();Array.prototype.slice.apply(e.querySelectorAll("style[ng-transition]")).filter(e=>e.getAttribute("ng-transition")===t).forEach(t=>n.remove(t))})}},deps:[c,i.d,a.t],multi:!0}];class u{static init(){Object(a.Z)(new u)}addToWindow(t){a.qb.getAngularTestability=(e,n=!0)=>{const i=t.findTestabilityInTree(e,n);if(null==i)throw new Error("Could not find testability for element.");return i},a.qb.getAllAngularTestabilities=()=>t.getAllTestabilities(),a.qb.getAllAngularRootElements=()=>t.getAllRootElements(),a.qb.frameworkStabilizers||(a.qb.frameworkStabilizers=[]),a.qb.frameworkStabilizers.push(t=>{const e=a.qb.getAllAngularTestabilities();let n=e.length,i=!1;const r=function(e){i=i||e,n--,0==n&&t(i)};e.forEach(function(t){t.whenStable(r)})})}findTestabilityInTree(t,e,n){if(null==e)return null;const a=t.getTestability(e);return null!=a?a:n?Object(i.y)().isShadowRoot(e)?this.findTestabilityInTree(t,e.host,!0):this.findTestabilityInTree(t,e.parentElement,!0):null}}const h=new a.s("EventManagerPlugins");let m=(()=>{class t{constructor(t,e){this._zone=e,this._eventNameToPlugin=new Map,t.forEach(t=>t.manager=this),this._plugins=t.slice().reverse()}addEventListener(t,e,n){return this._findPluginFor(e).addEventListener(t,e,n)}addGlobalEventListener(t,e,n){return this._findPluginFor(e).addGlobalEventListener(t,e,n)}getZone(){return this._zone}_findPluginFor(t){const e=this._eventNameToPlugin.get(t);if(e)return e;const n=this._plugins;for(let i=0;i<n.length;i++){const e=n[i];if(e.supports(t))return this._eventNameToPlugin.set(t,e),e}throw new Error(`No event manager plugin found for event ${t}`)}}return t.\u0275fac=function(e){return new(e||t)(a.Xb(h),a.Xb(a.B))},t.\u0275prov=a.Jb({token:t,factory:t.\u0275fac}),t})();class p{constructor(t){this._doc=t}addGlobalEventListener(t,e,n){const a=Object(i.y)().getGlobalEventTarget(this._doc,t);if(!a)throw new Error(`Unsupported event target ${a} for event ${e}`);return this.addEventListener(a,e,n)}}let f=(()=>{class t{constructor(){this._stylesSet=new Set}addStyles(t){const e=new Set;t.forEach(t=>{this._stylesSet.has(t)||(this._stylesSet.add(t),e.add(t))}),this.onStylesAdded(e)}onStylesAdded(t){}getAllStyles(){return Array.from(this._stylesSet)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=a.Jb({token:t,factory:t.\u0275fac}),t})(),g=(()=>{class t extends f{constructor(t){super(),this._doc=t,this._hostNodes=new Set,this._styleNodes=new Set,this._hostNodes.add(t.head)}_addStylesToHost(t,e){t.forEach(t=>{const n=this._doc.createElement("style");n.textContent=t,this._styleNodes.add(e.appendChild(n))})}addHost(t){this._addStylesToHost(this._stylesSet,t),this._hostNodes.add(t)}removeHost(t){this._hostNodes.delete(t)}onStylesAdded(t){this._hostNodes.forEach(e=>this._addStylesToHost(t,e))}ngOnDestroy(){this._styleNodes.forEach(t=>Object(i.y)().remove(t))}}return t.\u0275fac=function(e){return new(e||t)(a.Xb(i.d))},t.\u0275prov=a.Jb({token:t,factory:t.\u0275fac}),t})();const b={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},_=/%COMP%/g;function y(t,e,n){for(let i=0;i<e.length;i++){let a=e[i];Array.isArray(a)?y(t,a,n):(a=a.replace(_,t),n.push(a))}return n}function v(t){return e=>{if("__ngUnwrap__"===e)return t;!1===t(e)&&(e.preventDefault(),e.returnValue=!1)}}let C=(()=>{class t{constructor(t,e,n){this.eventManager=t,this.sharedStylesHost=e,this.appId=n,this.rendererByCompId=new Map,this.defaultRenderer=new w(t)}createRenderer(t,e){if(!t||!e)return this.defaultRenderer;switch(e.encapsulation){case a.S.Emulated:{let n=this.rendererByCompId.get(e.id);return n||(n=new x(this.eventManager,this.sharedStylesHost,e,this.appId),this.rendererByCompId.set(e.id,n)),n.applyToHost(t),n}case 1:case a.S.ShadowDom:return new M(this.eventManager,this.sharedStylesHost,t,e);default:if(!this.rendererByCompId.has(e.id)){const t=y(e.id,e.styles,[]);this.sharedStylesHost.addStyles(t),this.rendererByCompId.set(e.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return t.\u0275fac=function(e){return new(e||t)(a.Xb(m),a.Xb(g),a.Xb(a.c))},t.\u0275prov=a.Jb({token:t,factory:t.\u0275fac}),t})();class w{constructor(t){this.eventManager=t,this.data=Object.create(null)}destroy(){}createElement(t,e){return e?document.createElementNS(b[e]||e,t):document.createElement(t)}createComment(t){return document.createComment(t)}createText(t){return document.createTextNode(t)}appendChild(t,e){t.appendChild(e)}insertBefore(t,e,n){t&&t.insertBefore(e,n)}removeChild(t,e){t&&t.removeChild(e)}selectRootElement(t,e){let n="string"==typeof t?document.querySelector(t):t;if(!n)throw new Error(`The selector "${t}" did not match any elements`);return e||(n.textContent=""),n}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,e,n,i){if(i){e=i+":"+e;const a=b[i];a?t.setAttributeNS(a,e,n):t.setAttribute(e,n)}else t.setAttribute(e,n)}removeAttribute(t,e,n){if(n){const i=b[n];i?t.removeAttributeNS(i,e):t.removeAttribute(`${n}:${e}`)}else t.removeAttribute(e)}addClass(t,e){t.classList.add(e)}removeClass(t,e){t.classList.remove(e)}setStyle(t,e,n,i){i&(a.I.DashCase|a.I.Important)?t.style.setProperty(e,n,i&a.I.Important?"important":""):t.style[e]=n}removeStyle(t,e,n){n&a.I.DashCase?t.style.removeProperty(e):t.style[e]=""}setProperty(t,e,n){t[e]=n}setValue(t,e){t.nodeValue=e}listen(t,e,n){return"string"==typeof t?this.eventManager.addGlobalEventListener(t,e,v(n)):this.eventManager.addEventListener(t,e,v(n))}}class x extends w{constructor(t,e,n,i){super(t),this.component=n;const a=y(i+"-"+n.id,n.styles,[]);e.addStyles(a),this.contentAttr="_ngcontent-%COMP%".replace(_,i+"-"+n.id),this.hostAttr="_nghost-%COMP%".replace(_,i+"-"+n.id)}applyToHost(t){super.setAttribute(t,this.hostAttr,"")}createElement(t,e){const n=super.createElement(t,e);return super.setAttribute(n,this.contentAttr,""),n}}class M extends w{constructor(t,e,n,i){super(t),this.sharedStylesHost=e,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const a=y(i.id,i.styles,[]);for(let r=0;r<a.length;r++){const t=document.createElement("style");t.textContent=a[r],this.shadowRoot.appendChild(t)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(t,e){return super.appendChild(this.nodeOrShadowRoot(t),e)}insertBefore(t,e,n){return super.insertBefore(this.nodeOrShadowRoot(t),e,n)}removeChild(t,e){return super.removeChild(this.nodeOrShadowRoot(t),e)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}}let O=(()=>{class t extends p{constructor(t){super(t)}supports(t){return!0}addEventListener(t,e,n){return t.addEventListener(e,n,!1),()=>this.removeEventListener(t,e,n)}removeEventListener(t,e,n){return t.removeEventListener(e,n)}}return t.\u0275fac=function(e){return new(e||t)(a.Xb(i.d))},t.\u0275prov=a.Jb({token:t,factory:t.\u0275fac}),t})();const k=["alt","control","meta","shift"],S={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},T={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},P={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey};let L=(()=>{class t extends p{constructor(t){super(t)}supports(e){return null!=t.parseEventName(e)}addEventListener(e,n,a){const r=t.parseEventName(n),o=t.eventCallback(r.fullKey,a,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Object(i.y)().onAndCancel(e,r.domEventName,o))}static parseEventName(e){const n=e.toLowerCase().split("."),i=n.shift();if(0===n.length||"keydown"!==i&&"keyup"!==i)return null;const a=t._normalizeKey(n.pop());let r="";if(k.forEach(t=>{const e=n.indexOf(t);e>-1&&(n.splice(e,1),r+=t+".")}),r+=a,0!=n.length||0===a.length)return null;const o={};return o.domEventName=i,o.fullKey=r,o}static getEventFullKey(t){let e="",n=function(t){let e=t.key;if(null==e){if(e=t.keyIdentifier,null==e)return"Unidentified";e.startsWith("U+")&&(e=String.fromCharCode(parseInt(e.substring(2),16)),3===t.location&&T.hasOwnProperty(e)&&(e=T[e]))}return S[e]||e}(t);return n=n.toLowerCase()," "===n?n="space":"."===n&&(n="dot"),k.forEach(i=>{i!=n&&(0,P[i])(t)&&(e+=i+".")}),e+=n,e}static eventCallback(e,n,i){return a=>{t.getEventFullKey(a)===e&&i.runGuarded(()=>n(a))}}static _normalizeKey(t){switch(t){case"esc":return"escape";default:return t}}}return t.\u0275fac=function(e){return new(e||t)(a.Xb(i.d))},t.\u0275prov=a.Jb({token:t,factory:t.\u0275fac}),t})(),D=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Object(a.Jb)({factory:function(){return Object(a.Xb)(A)},token:t,providedIn:"root"}),t})();function E(t){return new A(t.get(i.d))}let A=(()=>{class t extends D{constructor(t){super(),this._doc=t}sanitize(t,e){if(null==e)return null;switch(t){case a.K.NONE:return e;case a.K.HTML:return Object(a.fb)(e,"HTML")?Object(a.yb)(e):Object(a.db)(this._doc,String(e)).toString();case a.K.STYLE:return Object(a.fb)(e,"Style")?Object(a.yb)(e):e;case a.K.SCRIPT:if(Object(a.fb)(e,"Script"))return Object(a.yb)(e);throw new Error("unsafe value used in a script context");case a.K.URL:return Object(a.pb)(e),Object(a.fb)(e,"URL")?Object(a.yb)(e):Object(a.eb)(String(e));case a.K.RESOURCE_URL:if(Object(a.fb)(e,"ResourceURL"))return Object(a.yb)(e);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${t} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(t){return Object(a.gb)(t)}bypassSecurityTrustStyle(t){return Object(a.jb)(t)}bypassSecurityTrustScript(t){return Object(a.ib)(t)}bypassSecurityTrustUrl(t){return Object(a.kb)(t)}bypassSecurityTrustResourceUrl(t){return Object(a.hb)(t)}}return t.\u0275fac=function(e){return new(e||t)(a.Xb(i.d))},t.\u0275prov=Object(a.Jb)({factory:function(){return E(Object(a.Xb)(a.p))},token:t,providedIn:"root"}),t})();const I=[{provide:a.D,useValue:i.x},{provide:a.E,useValue:function(){o.makeCurrent(),u.init()},multi:!0},{provide:i.d,useFactory:function(){return Object(a.wb)(document),document},deps:[]}],R=Object(a.T)(a.Y,"browser",I),N=[[],{provide:a.bb,useValue:"root"},{provide:a.n,useFactory:function(){return new a.n},deps:[]},{provide:h,useClass:O,multi:!0,deps:[i.d,a.B,a.D]},{provide:h,useClass:L,multi:!0,deps:[i.d]},[],{provide:C,useClass:C,deps:[m,g,a.c]},{provide:a.H,useExisting:C},{provide:f,useExisting:g},{provide:g,useClass:g,deps:[i.d]},{provide:a.O,useClass:a.O,deps:[a.B]},{provide:m,useClass:m,deps:[h,a.B]},[]];let Y=(()=>{class t{constructor(t){if(t)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}static withServerTransition(e){return{ngModule:t,providers:[{provide:a.c,useValue:e.appId},{provide:c,useExisting:a.c},d]}}}return t.\u0275mod=a.Lb({type:t}),t.\u0275inj=a.Kb({factory:function(e){return new(e||t)(a.Xb(t,12))},providers:N,imports:[i.c,a.f]}),t})();"undefined"!=typeof window&&window},cXaA:function(t,e,n){"use strict";var i;n.d(e,"a",function(){return c}),function(t){t[t.DATA=0]="DATA",t[t.INFO=1]="INFO",t[t.WARN=2]="WARN",t[t.ERROR=3]="ERROR",t[t.__NOTHING=4]="__NOTHING"}(i||(i={})),global&&!global.ENV&&(global.ENV={});class a{static get isBrowser(){return a.simulateBrowser||!("undefined"==typeof window||!window.document)}static get isNode(){return a.simulateBrowser||!a.isBrowser}static contain(t,e){return t.filter(t=>t instanceof RegExp?t.test(e):t===e||!(!e.match||"function"!=typeof e.match||!e.match(t))).length>0}}a.simulateBrowser=!1;const r={};["static","dev","prod","stage","online","test","qa","custom"].forEach(t=>{r[t]=t});const o={_gitignore:".gitignore",_npmrc:".npmrc",_npmignore:".npmignore",tslint_json:"tslint.json",_editorconfig:".editorconfig",_angularCli_json:".angular-cli.json",_vscode_launch_json:".vscode/launch.json"},s=(Object.assign({controllers_ts:"controllers.ts",entities_ts:"entities.ts",autob_actions_js:"auto-actions.js",package_json:"package.json",package_json__tnp_json:"package.json_tnp.json",package_json__devDependencies_json:"package.json_devDependencies.json",yarn_lock:"yarn.lock",package_lock_json:"package-lock.json",tnpEnvironment_json:"tmp-environment.json",environment:"environment",environment_js:"environment.js",tmp_transaction_pid_txt:"tmp-transaction-pid.txt",manifest_webmanifest:"manifest.webmanifest",publicApi_ts:"public_api.ts",publicApi_d_ts:"public_api.d.ts",_babelrc:".babelrc",index_d_ts:"index.d.ts",index_ts:"index.ts",index_js:"index.js",index_js_map:"index.js.map",db_json:"db.json",db_for_tests_json:"db-for-tests.json",tmpDockerImageId:"tmp-docker-image-id",tmp_recent_json:"recent.json",tmpIsomorphicPackagesJson:"tmp-isomorphic-packages.json",tsconfig_json:"tsconfig.json",README_MD:"README.md"},o),{bundle:"bundle",vendor:"vendor",docs:"docs",dist:"dist",tmp:"tmp",tmpBundleRelease:"tmp-bundle-release",tempSrc:"tmp-src",tempSrcDist:"tmp-src-dist",previewDistApp:"dist-app",preview:"preview",browser:"browser",_browser:".browser",module:"module",backup:"backup",node_modules:"node_modules",client:"client",tnp_tests_context:"tmp-tests-context",tmpPackage:"tmp-package"});Object.assign({scripts:"scripts",bower:"bower",src:"src",custom:"custom",components:"components",assets:"assets",apps:"apps",workspace:"workspace",container:"container",bin:"bin",_bin:".bin",_vscode:".vscode",project:"project"},s),global.frameworkName&&global,Object.keys(o).map(t=>o[t]);class l{static msg(t,e,n,r,o,s,l){if(l)return;let c="gray";if(o===i.INFO&&(c="deepskyblue"),o===i.ERROR&&(c="red"),o===i.WARN&&(c="orange"),s){const t=s-n.length;if(t>0)for(let e=0;e<t;e++)n+=" "}if(a.isBrowser)if(document.documentMode||/Edge/.test(navigator.userAgent)){if("string"==typeof t)e.unshift("[[ "+n+" ]] "+t+" ");else{let i="[[ "+n+"]] ";e.push(t),e.unshift(i)}o===i.INFO?console.info.apply(console,e):o===i.ERROR?console.error.apply(console,e):o===i.WARN?console.warn.apply(console,e):console.log.apply(console,e)}else{if("string"==typeof t){let i="%c "+n+" %c "+t+" ",a="background: "+r+";color:white; border: 1px solid "+r+"; ";e.unshift("border: 1px solid "+c+"; "),e.unshift(a),e.unshift(i)}else{let i="%c "+n+" ",a="background: "+r+";color:white; border: 1px solid "+c+"; ";e.push(t),e.unshift(a),e.unshift(i)}console.log.apply(console,e)}}}class c{constructor(){this._logOnly=!1,this._logModules=!1,this.isDevelopmentMode=!0,this.modeIsSet=!1,this.fixedWidth=0,this.instances={},this.levels=[],this.modules=[]}static get instance(){return this._instance||(this._instance=new c),this._instance}static create(t,...e){return c.instance.create(t,...e)}setProductionMode(){if(this.modeIsSet)throw this.modeIsSet=!1,"[ng2-logger] Production mode is already set";this.modeIsSet=!0,setTimeout(()=>{this.modeIsSet&&void 0!==console&&void 0!==console.clear&&(console.clear(),console.log=()=>{},console.error=()=>{},console.warn=()=>{},console.info=()=>{})}),this.isDevelopmentMode=!1}onlyModules(...t){if(this._logModules)throw"[ng2-logger] You should use funcion onlyModules only once";this._logModules||(this._logModules=!0),0!==t.length&&(this.modules=t,this.muteAllOtherModules())}onlyLevel(...t){if(this._logOnly)throw"[ng2-logger] You should use funcion onlyLevel only once";this._logOnly||(this._logOnly=!0),this.levels=Array.isArray(t)?t:[t];for(const e in this.instances)this.instances.hasOwnProperty(e)&&(this.instances[e].allowed=this.levels)}create(t,...e){let n;return Array.isArray(this.levels)&&this.levels.length>0&&(e=this.levels),void 0===this.instances[t]?(n=new c.Logger(t,d(),this.isDevelopmentMode,e,this.isMutedModule(t),this.levels.length>0?this.fixedWidth:void 0),this.instances[t]=n):n=this.instances[t],n}isMutedModule(t){return 0!=this.modules.length&&!a.contain(this.modules,t)}muteAllOtherModules(){for(var t in this.instances)a.contain(this.modules,t)||this.instances[t].mute()}}function d(){let t="012345".split(""),e="#";e+=t[Math.round(5*Math.random())],t="0123456789ABCDEF".split("");for(let n=0;n<5;n++)e+=t[Math.round(15*Math.random())];return void 0===e?d():e}c.Logger=class{constructor(t,e,n,i,a,r){this.name=t,this.color=e,this.developmentMode=n,this.allowed=i,this.isMuted=a,this.fixedWidth=r,this.d=(t,...e)=>this._data(t,e),this.er=(t,...e)=>this._error(t,e),this.i=(t,...e)=>this._info(t,e),this.w=(t,...e)=>this._warn(t,e),this.data=(t,...e)=>this._data(t,e),this.error=(t,...e)=>this._error(t,e),this.info=(t,...e)=>this._info(t,e),this.warn=(t,...e)=>this._warn(t,e)}setLevel(t){return this._level=t,this}get isProductionMode(){return!this.developmentMode}setProductionMode(t){return this.developmentMode=!t,this}mute(){return this.isMuted=!0,this}onlyWhen(t){"function"==typeof t?this.isMuted=!t():"boolean"==typeof t&&(this.isMuted=!t)}_data(t,...e){return this.isMuted||this.allowed.length>=1&&a.contain(this.allowed,i.__NOTHING)&&!a.contain(this.allowed,i.DATA)||(0===this.allowed.length||a.contain(this.allowed,i.DATA))&&l.msg.apply(void 0,[t,...e,this.name,this.color,i.DATA,this.fixedWidth,this.isProductionMode]),this}_error(t,...e){return this.isMuted||this.allowed.length>=1&&a.contain(this.allowed,i.__NOTHING)&&!a.contain(this.allowed,i.ERROR)||(0===this.allowed.length||a.contain(this.allowed,i.ERROR))&&l.msg.apply(void 0,[t,...e,this.name,this.color,i.ERROR,this.fixedWidth,this.isProductionMode]),this}_info(t,...e){return this.isMuted||this.allowed.length>=1&&a.contain(this.allowed,i.__NOTHING)&&!a.contain(this.allowed,i.INFO)||(0===this.allowed.length||a.contain(this.allowed,i.INFO))&&l.msg.apply(void 0,[t,...e,this.name,this.color,i.INFO,this.fixedWidth,this.isProductionMode]),this}_warn(t,...e){return this.isMuted||this.allowed.length>=1&&a.contain(this.allowed,i.__NOTHING)&&!a.contain(this.allowed,i.WARN)||(0===this.allowed.length||a.contain(this.allowed,i.WARN))&&l.msg.apply(void 0,[t,...e,this.name,this.color,i.WARN,this.fixedWidth,this.isProductionMode]),this}}},cYWD:function(t,e,n){"use strict";n.d(e,"a",function(){return b});var i=n("8Y7J"),a=n("s7LF"),r=n("xgIS"),o=n("pLZG"),s=n("Kj3r"),l=n("nYR2"),c=n("IGtN");class d{constructor(t){this.parentFormCtrl=t}isErrorState(t,e){return t&&t.touched&&(t.invalid||this.parentFormCtrl&&this.parentFormCtrl.invalid)}}var u=n("TSSN"),h=n("AkaL"),m=n("WiJD"),p=n("zaPX");const f=["searchElt"],g=["auto"];let b=(()=>{class t extends c.a{constructor(t,e,n,r,o){super(t),this.translateService=t,this.searchService=e,this.configurationService=n,this.configSharedService=r,this.changeDetectorRef=o,this.selectionChanged=new i.o,this.inputChanged=new i.o,this.searchControl=new a.e(""),this.displayFn=t=>t?"string"==typeof t?t:t[this.fieldValue]:""}load(){this.subscriptions.push(Object(r.a)(this.searchElt.nativeElement,"keyup").pipe(Object(o.a)(t=>!["ArrowDown","ArrowUp","ArrowRight","ArrowLeft"].includes(t.key)),Object(s.a)(this.configSharedService.autocompleteCommuneTimeLimit)).subscribe(t=>{const e=this.searchControl.value;e&&"string"==typeof e&&!this.isAutocompleteDisabled&&this.searchControl.enabled&&this.onSearchChange(e)}),this.formControl.valueChanges.pipe(Object(o.a)(t=>null===t)).subscribe(t=>this._prevValue=null)),this.errorStateMatcher=new d(this.formControl)}onBlur(){"numTVA"===this.fieldValue?setTimeout(()=>{this._triggerChange()},500):this._triggerChange()}_triggerChange(){let t;t=this.searchControl.value?this.prefix?`${this.prefix}${this.searchControl.value.trim()}`:this.searchControl.value.trim():null,this.propagateChange(t),"numTVA"!==this.fieldValue&&"siren"!==this.fieldValue||this._prevValue===t||this.inputChanged.emit(),this._prevValue=t}onSearchChange(t){const e=this.prefix?`${this.prefix.trim()}${t.trim()}`:`${t.trim()}`;e&&e.length>0&&this.lastInputSearch!==e&&(this.isLoading=!0,this.lastInputSearch=e,this.searchForResults(e))}searchForResults(t){this.subscriptions.push(this.searchService.search(t,this.configSharedService.autocompleteDpdNbMax).pipe(Object(l.a)(()=>this.isLoading=!1)).subscribe(t=>{t&&t.length>0?(this.searchResult=t,this.changeDetectorRef.markForCheck()):(this.searchResult=[],this.changeDetectorRef.markForCheck())}))}selectOption(t){const e=t.option.value;this.setSearchControlValue(e[this.fieldValue]),this.selectionChanged.emit(e)}setSearchControlValue(t){const e="numTVA"===this.fieldValue&&t?t.slice(2):t;this.searchControl.setValue(e)}writeValue(t){this._prevValue=t,this.setSearchControlValue(t)}registerOnChange(t){this.propagateChange=t}registerOnTouched(t){this.onTouched=t}propagateChange(t){}onTouched(){}setDisabledState(t){t?this.searchControl.disable():this.searchControl.enable()}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(u.d),i.Nb(h.a),i.Nb(m.a),i.Nb(p.a),i.Nb(i.h))},t.\u0275cmp=i.Hb({type:t,selectors:[["ng-component"]],viewQuery:function(t,e){if(1&t&&(i.Lc(f,3),i.Lc(g,3)),2&t){let t;i.uc(t=i.cc())&&(e.searchElt=t.first),i.uc(t=i.cc())&&(e.autocomplete=t.first)}},inputs:{name:"name",inputTitle:"inputTitle",prefix:"prefix",isRequired:"isRequired",isAutocompleteDisabled:"isAutocompleteDisabled",formControl:"formControl"},outputs:{selectionChanged:"selectionChanged",inputChanged:"inputChanged"},features:[i.zb],decls:0,vars:0,template:function(t,e){},encapsulation:2}),t})()},cp0P:function(t,e,n){"use strict";n.d(e,"a",function(){return l});var i=n("HDdC"),a=n("DH7j"),r=n("lJxs"),o=n("XoHu"),s=n("Cfvw");function l(...t){if(1===t.length){const e=t[0];if(Object(a.a)(e))return c(e,null);if(Object(o.a)(e)&&Object.getPrototypeOf(e)===Object.prototype){const t=Object.keys(e);return c(t.map(t=>e[t]),t)}}if("function"==typeof t[t.length-1]){const e=t.pop();return c(t=1===t.length&&Object(a.a)(t[0])?t[0]:t,null).pipe(Object(r.a)(t=>e(...t)))}return c(t,null)}function c(t,e){return new i.a(n=>{const i=t.length;if(0===i)return void n.complete();const a=new Array(i);let r=0,o=0;for(let l=0;l<i;l++){const c=Object(s.a)(t[l]);let d=!1;n.add(c.subscribe({next:t=>{d||(d=!0,o++),a[l]=t},error:t=>n.error(t),complete:()=>{r++,r!==i&&d||(o===i&&n.next(e?e.reduce((t,e,n)=>(t[e]=a[n],t),{}):a),n.complete())}}))}})}},cv7C:function(t,e,n){"use strict";n.d(e,"a",function(){return l});var i=n("cXaA"),a=n("05l1"),r=n("x+ZX"),o=n("8Y7J"),s=n("IheW");let l=(()=>{class t{constructor(t){this.http=t,this.log=i.a.create("LangueService"),this.END_POINT="/api/langues"}getLangues(){const t=this.END_POINT;return this.log.data(`[HTTP] (GET) -> ${t}`),this.http.get(t).pipe(Object(a.a)(),Object(r.a)())}}return t.\u0275fac=function(e){return new(e||t)(o.Xb(s.b))},t.\u0275prov=o.Jb({token:t,factory:t.\u0275fac,providedIn:"root"}),t})()},cw5Z:function(t,e,n){"use strict";function i(t,e,n,i){var a,r=arguments.length,o=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var s=t.length-1;s>=0;s--)(a=t[s])&&(o=(r<3?a(o):r>3?a(e,n,o):a(e,n))||o);return r>3&&o&&Object.defineProperty(e,n,o),o}function a(t,e){return function(n,i){e(n,i,t)}}n.d(e,"a",function(){return ft}),n.d(e,"b",function(){return Vt}),n.d(e,"c",function(){return yt}),n.d(e,"d",function(){return bt});var r=n("8Y7J"),o=n("SVse"),s=n("XNiG"),l=n("2Vo4"),c=n("VRyK"),d=n("UXun"),u=n("1G5W"),h=n("pLZG"),m=(n("vkgz"),n("lJxs"),n("/uUt"),n("GS7A")),p=n("ZgVP"),f=n("s7LF");function g(t,e){if(1&t){const t=r.Ub();r.Tb(0,"ngx-material-timepicker-24-hours-face",17),r.bc("hourChange",function(e){return r.yc(t),r.fc(2).onHourChange(e)})("hourSelected",function(e){return r.yc(t),r.fc(2).onHourSelected(e)}),r.gc(1,"async"),r.Sb()}if(2&t){const t=r.fc(2);r.nc("selectedHour",r.hc(1,4,t.selectedHour))("minTime",t.minTime)("maxTime",t.maxTime)("format",t.format)}}function b(t,e){if(1&t){const t=r.Ub();r.Tb(0,"ngx-material-timepicker-12-hours-face",18),r.bc("hourChange",function(e){return r.yc(t),r.fc(2).onHourChange(e)})("hourSelected",function(e){return r.yc(t),r.fc(2).onHourSelected(e)}),r.gc(1,"async"),r.gc(2,"async"),r.Sb()}if(2&t){const t=r.fc(2);r.nc("selectedHour",r.hc(1,4,t.selectedHour))("period",r.hc(2,6,t.selectedPeriod))("minTime",t.minTime)("maxTime",t.maxTime)}}function _(t,e){if(1&t&&(r.Tb(0,"div"),r.Fc(1,g,2,6,"ngx-material-timepicker-24-hours-face",15),r.Fc(2,b,3,8,"ng-template",null,16,r.Gc),r.Sb()),2&t){const t=r.vc(3),e=r.fc();r.Cb(1),r.nc("ngIf",24===e.format)("ngIfElse",t)}}function y(t,e){if(1&t){const t=r.Ub();r.Tb(0,"ngx-material-timepicker-minutes-face",19),r.bc("minuteChange",function(e){return r.yc(t),r.fc().onMinuteChange(e)}),r.gc(1,"async"),r.gc(2,"async"),r.gc(3,"async"),r.Sb()}if(2&t){const t=r.fc();let e=null;r.nc("selectedMinute",r.hc(1,7,t.selectedMinute))("selectedHour",null==(e=r.hc(2,9,t.selectedHour))?null:e.time)("minTime",t.minTime)("maxTime",t.maxTime)("format",t.format)("period",r.hc(3,11,t.selectedPeriod))("minutesGap",t.minutesGap)}}function v(t,e){1&t&&r.Pb(0)}function C(t,e){1&t&&r.Pb(0)}function w(t,e){1&t&&(r.Tb(0,"ngx-material-timepicker-button"),r.Hc(1,"Cancel"),r.Sb())}function x(t,e){1&t&&(r.Tb(0,"ngx-material-timepicker-button"),r.Hc(1,"Ok"),r.Sb())}const M=function(t){return{"timepicker-backdrop-overlay--transparent":t}};function O(t,e){1&t&&(r.ec(),r.Tb(0,"svg",2),r.Ob(1,"path",3),r.Sb())}const k=[[["","ngxMaterialTimepickerToggleIcon",""]]],S=["[ngxMaterialTimepickerToggleIcon]"],T=["clockFace"],P=["clockHand"],L=function(t){return{transform:t}},D=function(t,e){return{active:t,disabled:e}};function E(t,e){if(1&t&&(r.Tb(0,"div",9),r.Tb(1,"span",10),r.gc(2,"activeHour"),r.Hc(3),r.gc(4,"timeLocalizer"),r.Sb(),r.Sb()),2&t){const t=e.$implicit,n=r.fc(2);r.nc("ngStyle",r.sc(11,L,"rotateZ("+t.angle+"deg) translateX(-50%)")),r.Cb(1),r.nc("ngStyle",r.sc(13,L,"rotateZ(-"+t.angle+"deg)"))("ngClass",r.tc(15,D,r.jc(2,4,t.time,n.selectedTime.time,n.isClockFaceDisabled),t.disabled)),r.Cb(2),r.Jc(" ",r.ic(4,8,t.time,n.timeUnit.HOUR)," ")}}function A(t,e){if(1&t&&(r.Tb(0,"div",13),r.Tb(1,"span",10),r.gc(2,"activeHour"),r.Hc(3),r.gc(4,"timeLocalizer"),r.Sb(),r.Sb()),2&t){const t=e.$implicit,n=r.fc(3);r.Cc("height",n.innerClockFaceSize,"px"),r.nc("ngStyle",r.sc(13,L,"rotateZ("+t.angle+"deg) translateX(-50%)")),r.Cb(1),r.nc("ngStyle",r.sc(15,L,"rotateZ(-"+t.angle+"deg)"))("ngClass",r.tc(17,D,r.jc(2,6,t.time,null==n.selectedTime?null:n.selectedTime.time,n.isClockFaceDisabled),t.disabled)),r.Cb(2),r.Jc(" ",r.ic(4,10,t.time,n.timeUnit.HOUR),"")}}function I(t,e){if(1&t&&(r.Tb(0,"div",11),r.Fc(1,A,5,20,"div",12),r.gc(2,"slice"),r.Sb()),2&t){const t=r.fc(2);r.Cc("top","calc(50% - "+t.innerClockFaceSize+"px)"),r.Cb(1),r.nc("ngForOf",r.jc(2,4,t.faceTime,12,24))("ngForTrackBy",t.trackByTime)}}function R(t,e){if(1&t&&(r.Tb(0,"div",6),r.Fc(1,E,5,18,"div",7),r.gc(2,"slice"),r.Fc(3,I,3,8,"div",8),r.Sb()),2&t){const t=r.fc();r.Cb(1),r.nc("ngForOf",r.jc(2,3,t.faceTime,0,12))("ngForTrackBy",t.trackByTime),r.Cb(2),r.nc("ngIf",t.faceTime.length>12)}}function N(t,e){if(1&t&&(r.Tb(0,"div",9),r.Tb(1,"span",10),r.gc(2,"activeMinute"),r.Hc(3),r.gc(4,"timeLocalizer"),r.gc(5,"minutesFormatter"),r.Sb(),r.Sb()),2&t){const t=e.$implicit,n=r.fc(2);r.nc("ngStyle",r.sc(15,L,"rotateZ("+t.angle+"deg) translateX(-50%)")),r.Cb(1),r.nc("ngStyle",r.sc(17,L,"rotateZ(-"+t.angle+"deg)"))("ngClass",r.tc(19,D,r.kc(2,4,t.time,null==n.selectedTime?null:n.selectedTime.time,n.minutesGap,n.isClockFaceDisabled),t.disabled)),r.Cb(2),r.Jc(" ",r.ic(4,9,r.ic(5,12,t.time,n.minutesGap),n.timeUnit.MINUTE),"")}}function Y(t,e){if(1&t&&(r.Tb(0,"div",6),r.Fc(1,N,6,22,"div",7),r.Sb()),2&t){const t=r.fc();r.Cb(1),r.nc("ngForOf",t.faceTime)("ngForTrackBy",t.trackByTime)}}const H=function(t){return{"clock-face__clock-hand_minute":t}},j=["*"];function F(t,e){1&t&&r.Pb(0)}function z(t,e){1&t&&(r.Tb(0,"small",10),r.Hc(1," * use arrows ("),r.Tb(2,"span"),r.Hc(3,"\u21c5"),r.Sb(),r.Hc(4,") to change the time"),r.Sb())}const V=function(t){return{"timepicker-dial__hint-container--hidden":t}};function B(t,e){if(1&t&&(r.Tb(0,"div",7),r.Fc(1,F,1,0,"ng-container",8),r.Fc(2,z,5,0,"ng-template",null,9,r.Gc),r.Sb()),2&t){const t=r.vc(3),e=r.fc();r.nc("ngClass",r.sc(2,V,!e.isHintVisible)),r.Cb(1),r.nc("ngTemplateOutlet",e.editableHintTmpl?e.editableHintTmpl:t)}}const W=function(t){return{"timepicker-dial__period--hidden":t}},U=function(t){return{"timepicker-dial__item_active":t}};function q(t,e){if(1&t){const t=r.Ub();r.Tb(0,"input",2),r.bc("ngModelChange",function(e){return r.yc(t),r.fc().time=e})("input",function(){return r.yc(t),r.fc().updateTime()})("focus",function(e){r.yc(t);const n=r.fc();return n.saveTimeAndChangeTimeUnit(e,n.timeUnit)}),r.gc(1,"timeLocalizer"),r.Sb()}if(2&t){const t=r.fc();r.nc("ngClass",r.sc(7,U,t.isActive))("ngModel",r.ic(1,4,t.time,t.timeUnit))("disabled",t.disabled)("timepickerAutofocus",t.isActive)}}function G(t,e){if(1&t){const t=r.Ub();r.Tb(0,"input",3),r.bc("ngModelChange",function(e){return r.yc(t),r.fc().onModelChange(e)})("input",function(){return r.yc(t),r.fc().updateTime()})("focus",function(e){r.yc(t);const n=r.fc();return n.saveTimeAndChangeTimeUnit(e,n.timeUnit)})("keydown",function(e){return r.yc(t),r.fc().onKeydown(e)})("keypress",function(e){return r.yc(t),r.fc().changeTimeByKeyboard(e)}),r.gc(1,"timeLocalizer"),r.gc(2,"timeParser"),r.Sb()}if(2&t){const t=r.fc();r.nc("ngClass",r.sc(11,U,t.isActive))("ngModel",r.jc(1,4,r.ic(2,8,t.time,t.timeUnit),t.timeUnit,!0))("disabled",t.disabled)("timepickerAutofocus",t.isActive)}}function J(t,e){if(1&t){const t=r.Ub();r.Tb(0,"div",3),r.bc("@scaleInOut.done",function(){return r.yc(t),r.fc().animationDone()}),r.Tb(1,"p"),r.Hc(2,"Current time would be invalid in this period."),r.Sb(),r.Sb()}2&t&&r.nc("@scaleInOut",void 0)}function Z(t,e){1&t&&r.Pb(0)}function $(t,e){if(1&t&&(r.Tb(0,"div",3),r.Fc(1,Z,1,0,"ng-container",4),r.Sb()),2&t){const t=r.fc(),e=r.vc(4);r.nc("ngxAppendToInput",t.inputElement),r.Cb(1),r.nc("ngTemplateOutlet",e)}}function X(t,e){1&t&&r.Pb(0)}function K(t,e){if(1&t&&r.Fc(0,X,1,0,"ng-container",4),2&t){r.fc();const t=r.vc(4);r.nc("ngTemplateOutlet",t)}}function Q(t,e){1&t&&r.lc(0)}let tt=(()=>{let t=class{constructor(){this.backdropClickSubject=new s.a,this.keydownEventSubject=new s.a}get backdropClick(){return this.backdropClickSubject.asObservable().pipe(Object(d.a)({bufferSize:1,refCount:!0}))}get keydownEvent(){return this.keydownEventSubject.asObservable().pipe(Object(d.a)({bufferSize:1,refCount:!0}))}dispatchEvent(t){switch(t.type){case"click":this.backdropClickSubject.next(t);break;case"keydown":this.keydownEventSubject.next(t);break;default:throw new Error("no such event type")}}};return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=r.Jb({token:t,factory:function(e){return t.\u0275fac(e)},providedIn:"root"}),t.ngInjectableDef=Object(r.Jb)({factory:function(){return new t},token:t,providedIn:"root"}),t})(),et=(()=>{let t=class{constructor(t,e,n,i){this.cfr=t,this.appRef=e,this.injector=n,this.document=i}appendTimepickerToBody(t,e){this.componentRef=this.cfr.resolveComponentFactory(t).create(this.injector),Object.keys(e).forEach(t=>this.componentRef.instance[t]=e[t]),this.appRef.attachView(this.componentRef.hostView),this.document.body.appendChild(this.componentRef.hostView.rootNodes[0])}destroyTimepicker(){this.componentRef.destroy(),this.appRef.detachView(this.componentRef.hostView)}};return t.\u0275fac=function(e){return new(e||t)(r.Xb(r.j),r.Xb(r.g),r.Xb(r.t),r.Xb(o.d,8))},t.\u0275prov=r.Jb({token:t,factory:function(e){return t.\u0275fac(e)},providedIn:"root"}),t.ngInjectableDef=Object(r.Jb)({factory:function(){return new t(Object(r.Xb)(r.j),Object(r.Xb)(r.g),Object(r.Xb)(r.p),Object(r.Xb)(o.d,8))},token:t,providedIn:"root"}),t=i([a(3,Object(r.C)()),a(3,Object(r.q)(o.d))],t),t})();var nt=function(t){return t[t.HOUR=0]="HOUR",t[t.MINUTE=1]="MINUTE",t}({}),it=function(t){return t.AM="AM",t.PM="PM",t}({}),at=function(t){return t.TWELVE="hh:mm a",t.TWELVE_SHORT="h:m a",t.TWENTY_FOUR="HH:mm",t.TWENTY_FOUR_SHORT="H:m",t}({});function rt(t,e,n="minutes"){return"hours"===n?t.hour>=e.hour:"minutes"===n?t.hasSame(e,n)||t.valueOf()>e.valueOf():void 0}function ot(t,e,n="minutes"){return"hours"===n?t.hour<=e.hour:"minutes"===n?t.hasSame(e,n)||t.valueOf()<=e.valueOf():void 0}let st=(()=>{class t{static parseTime(e,n){const{numberingSystem:i,locale:a}=t.getLocaleOptionsByTime(e,n),r=2===e.split(" ").length;return p.DateTime.fromFormat(e,r?at.TWELVE_SHORT:at.TWENTY_FOUR_SHORT,{numberingSystem:i,locale:a})}static formatTime(e,n){if(!e)return"Invalid Time";const{format:i}=n,a=t.parseTime(e,n).setLocale(t.DEFAULT_LOCALE);return 24!==i?a.toLocaleString(Object.assign({},p.DateTime.TIME_SIMPLE,{hour12:24!==i,numberingSystem:t.DEFAULT_NUMBERING_SYSTEM})).replace(/\u200E/g,""):a.toISOTime({includeOffset:!1,suppressMilliseconds:!0,suppressSeconds:!0}).replace(/\u200E/g,"")}static toLocaleTimeString(e,n={}){const{format:i=t.DEFAULT_FORMAT,locale:a=t.DEFAULT_LOCALE}=n,r=Object.assign({},p.DateTime.TIME_SIMPLE,{hourCycle:24===i?"h23":"h12"});return p.DateTime.fromFormat(e,24===i?at.TWENTY_FOUR_SHORT:at.TWELVE_SHORT).setLocale(a).toLocaleString(r)}static isTimeAvailable(t,e,n,i,a,r){if(!t)return;const o=this.parseTime(t,{format:r}),s=o.minute;if(a&&s==s&&s%a!=0)throw new Error(`Your minutes - ${s} doesn't match your minutesGap - ${a}`);const l=e&&!n&&rt(o,e,i),c=n&&!e&&ot(o,n,i),d=e&&n&&function(t,e,n,i="minutes"){return"hours"===i?ot(t,n,i)&&rt(t,e,i):"minutes"===i?ot(t,n)&&rt(t,e):void 0}(o,e,n,i);return l||c||d||!e&&!n}static formatHour(t,e,n){if(24===e)return t;const i=n===it.AM?t:t+12;return n===it.AM&&12===i?0:n===it.PM&&24===i?12:i}static fromDateTimeToString(e,n){const i=24===n?at.TWENTY_FOUR:at.TWELVE;return e.reconfigure({numberingSystem:t.DEFAULT_NUMBERING_SYSTEM,locale:t.DEFAULT_LOCALE}).toFormat(i)}static getLocaleOptionsByTime(e,n){const{numberingSystem:i,locale:a}=p.DateTime.local().setLocale(n.locale).resolvedLocaleOpts(),r={numberingSystem:i,locale:a},o={numberingSystem:t.DEFAULT_NUMBERING_SYSTEM,locale:t.DEFAULT_LOCALE};return isNaN(parseInt(e,10))?r:o}}return t.DEFAULT_FORMAT=12,t.DEFAULT_LOCALE="en-US",t.DEFAULT_NUMBERING_SYSTEM="latn",t})();const lt={time:12,angle:360},ct={time:0,angle:360};let dt=(()=>{let t=class{constructor(){this.hourSubject=new l.a(lt),this.minuteSubject=new l.a(ct),this.periodSubject=new l.a(it.AM)}set hour(t){this.hourSubject.next(t)}get selectedHour(){return this.hourSubject.asObservable()}set minute(t){this.minuteSubject.next(t)}get selectedMinute(){return this.minuteSubject.asObservable()}set period(t){(t===it.AM||t===it.PM)&&this.periodSubject.next(t)}get selectedPeriod(){return this.periodSubject.asObservable()}setDefaultTimeIfAvailable(t,e,n,i,a){try{st.isTimeAvailable(t,e,n,"minutes",a)&&this.setDefaultTime(t,i)}catch(r){console.error(r)}}getFullTime(t){const e=this.hourSubject.getValue().time,n=this.minuteSubject.getValue().time,i=`${null!=e?e:lt.time}:${null!=n?n:ct.time} ${12===t?this.periodSubject.getValue():""}`.trim();return st.formatTime(i,{format:t})}setDefaultTime(t,e){const n=st.parseTime(t,{format:e}).toJSDate();if(p.DateTime.fromJSDate(n).isValid){const e=t.substr(t.length-2).toUpperCase(),i=n.getHours();this.hour=Object.assign({},lt,{time:ut(i,e)}),this.minute=Object.assign({},ct,{time:n.getMinutes()}),this.period=e}else this.resetTime()}resetTime(){this.hour=Object.assign({},lt),this.minute=Object.assign({},ct),this.period=it.AM}};return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=r.Jb({token:t,factory:function(e){return t.\u0275fac(e)},providedIn:"root"}),t.ngInjectableDef=Object(r.Jb)({factory:function(){return new t},token:t,providedIn:"root"}),t})();function ut(t,e){switch(e){case it.AM:return 0===t?12:t;case it.PM:return 12===t?12:t-12;default:return t}}const ht=new r.s("TimeLocale",{providedIn:"root",factory:()=>st.DEFAULT_LOCALE});var mt=function(t){return t.ENTER="enter",t.LEAVE="leave",t}({});let pt=(()=>{let t=class{constructor(t,e,n){this.timepickerService=t,this.eventService=e,this.locale=n,this.timeUnit=nt,this.activeTimeUnit=nt.HOUR,this.unsubscribe=new s.a}set defaultTime(t){this._defaultTime=t,this.setDefaultTime(t)}get defaultTime(){return this._defaultTime}onKeydown(t){this.eventService.dispatchEvent(t),t.stopPropagation()}ngOnInit(){this.animationState=!this.disableAnimation&&mt.ENTER,this.defineTime(),this.selectedHour=this.timepickerService.selectedHour.pipe(Object(d.a)({bufferSize:1,refCount:!0})),this.selectedMinute=this.timepickerService.selectedMinute.pipe(Object(d.a)({bufferSize:1,refCount:!0})),this.selectedPeriod=this.timepickerService.selectedPeriod.pipe(Object(d.a)({bufferSize:1,refCount:!0})),this.timepickerBaseRef.timeUpdated.pipe(Object(u.a)(this.unsubscribe)).subscribe(this.setDefaultTime.bind(this))}onHourChange(t){this.timepickerService.hour=t,this.onTimeChange()}onHourSelected(t){this.hoursOnly||this.changeTimeUnit(nt.MINUTE),this.timepickerBaseRef.hourSelected.next(t)}onMinuteChange(t){this.timepickerService.minute=t,this.onTimeChange()}changePeriod(t){this.timepickerService.period=t,this.onTimeChange()}changeTimeUnit(t){this.activeTimeUnit=t}setTime(){this.timepickerBaseRef.timeSet.next(this.timepickerService.getFullTime(this.format)),this.close()}close(){this.disableAnimation?this.timepickerBaseRef.close():this.animationState=mt.LEAVE}animationDone(t){"done"===t.phaseName&&t.toState===mt.LEAVE&&this.timepickerBaseRef.close()}ngOnDestroy(){this.unsubscribe.next(),this.unsubscribe.complete()}setDefaultTime(t){this.timepickerService.setDefaultTimeIfAvailable(t,this.minTime,this.maxTime,this.format,this.minutesGap)}defineTime(){const t=this.minTime;if(t&&!this.time&&!this.defaultTime){const e=st.fromDateTimeToString(t,this.format);this.setDefaultTime(e)}}onTimeChange(){const t=st.toLocaleTimeString(this.timepickerService.getFullTime(this.format),{locale:this.locale,format:this.format});this.timepickerBaseRef.timeChanged.emit(t)}};return t.\u0275fac=function(e){return new(e||t)(r.Nb(dt),r.Nb(tt),r.Nb(ht))},t.\u0275cmp=r.Hb({type:t,selectors:[["ngx-material-timepicker-container"]],hostBindings:function(t,e){1&t&&r.bc("keydown",function(t){return e.onKeydown(t)})},inputs:{defaultTime:"defaultTime"},features:[r.Bb([dt])],decls:22,vars:31,consts:[[1,"timepicker-backdrop-overlay",3,"overlay","ngClass"],[1,"timepicker-overlay"],[3,"appendToInput","inputElement","ngxMaterialTimepickerTheme"],[1,"timepicker",3,"ngClass"],[1,"timepicker__header"],[3,"format","hour","minute","period","activeTimeUnit","minTime","maxTime","isEditable","editableHintTmpl","minutesGap","hoursOnly","periodChanged","timeUnitChanged","hourChanged","minuteChanged"],[1,"timepicker__main-content"],[1,"timepicker__body",3,"ngSwitch"],[4,"ngSwitchCase"],[3,"selectedMinute","selectedHour","minTime","maxTime","format","period","minutesGap","minuteChange",4,"ngSwitchCase"],[1,"timepicker__actions"],[3,"click"],[4,"ngTemplateOutlet"],["cancelBtnDefault",""],["confirmBtnDefault",""],[3,"selectedHour","minTime","maxTime","format","hourChange","hourSelected",4,"ngIf","ngIfElse"],["ampmHours",""],[3,"selectedHour","minTime","maxTime","format","hourChange","hourSelected"],[3,"selectedHour","period","minTime","maxTime","hourChange","hourSelected"],[3,"selectedMinute","selectedHour","minTime","maxTime","format","period","minutesGap","minuteChange"]],template:function(t,e){if(1&t&&(r.Ob(0,"div",0),r.Tb(1,"div",1),r.Tb(2,"ngx-material-timepicker-content",2),r.Tb(3,"div",3),r.bc("@timepicker.done",function(t){return e.animationDone(t)}),r.Tb(4,"header",4),r.Tb(5,"ngx-material-timepicker-dial",5),r.bc("periodChanged",function(t){return e.changePeriod(t)})("timeUnitChanged",function(t){return e.changeTimeUnit(t)})("hourChanged",function(t){return e.onHourChange(t)})("minuteChanged",function(t){return e.onMinuteChange(t)}),r.gc(6,"async"),r.gc(7,"async"),r.gc(8,"async"),r.Sb(),r.Sb(),r.Tb(9,"div",6),r.Tb(10,"div",7),r.Fc(11,_,4,2,"div",8),r.Fc(12,y,4,13,"ngx-material-timepicker-minutes-face",9),r.Sb(),r.Tb(13,"div",10),r.Tb(14,"div",11),r.bc("click",function(){return e.close()}),r.Fc(15,v,1,0,"ng-container",12),r.Sb(),r.Tb(16,"div",11),r.bc("click",function(){return e.setTime()}),r.Fc(17,C,1,0,"ng-container",12),r.Sb(),r.Sb(),r.Sb(),r.Sb(),r.Sb(),r.Sb(),r.Fc(18,w,2,0,"ng-template",null,13,r.Gc),r.Fc(20,x,2,0,"ng-template",null,14,r.Gc)),2&t){const t=r.vc(19),n=r.vc(21);let i=null,a=null;r.nc("overlay",e.preventOverlayClick)("ngClass",r.sc(29,M,e.appendToInput)),r.Cb(2),r.nc("appendToInput",e.appendToInput)("inputElement",e.inputElement)("ngxMaterialTimepickerTheme",e.theme),r.Cb(1),r.nc("@timepicker",e.animationState)("ngClass",e.timepickerClass),r.Cb(2),r.nc("format",e.format)("hour",null==(i=r.hc(6,23,e.selectedHour))?null:i.time)("minute",null==(a=r.hc(7,25,e.selectedMinute))?null:a.time)("period",r.hc(8,27,e.selectedPeriod))("activeTimeUnit",e.activeTimeUnit)("minTime",e.minTime)("maxTime",e.maxTime)("isEditable",e.enableKeyboardInput)("editableHintTmpl",e.editableHintTmpl)("minutesGap",e.minutesGap)("hoursOnly",e.hoursOnly),r.Cb(5),r.nc("ngSwitch",e.activeTimeUnit),r.Cb(1),r.nc("ngSwitchCase",e.timeUnit.HOUR),r.Cb(1),r.nc("ngSwitchCase",e.timeUnit.MINUTE),r.Cb(3),r.nc("ngTemplateOutlet",e.cancelBtnTmpl?e.cancelBtnTmpl:t),r.Cb(2),r.nc("ngTemplateOutlet",e.confirmBtnTmpl?e.confirmBtnTmpl:n)}},directives:function(){return[At,o.j,jt,vt,Tt,o.n,o.o,o.q,o.l,xt,Mt,Ot,St]},pipes:function(){return[o.b]},styles:["[_nghost-%COMP%]{--body-background-color:#fff;--primary-font-family:'Roboto',sans-serif;--button-color:deepskyblue;--dial-active-color:#fff;--dial-inactive-color:rgba(255, 255, 255, .5);--dial-background-color:deepskyblue;--dial-editable-active-color:deepskyblue;--dial-editable-background-color:#fff;--clock-face-time-active-color:#fff;--clock-face-time-inactive-color:#6c6c6c;--clock-face-inner-time-inactive-color:#929292;--clock-face-time-disabled-color:#c5c5c5;--clock-face-background-color:#f0f0f0;--clock-hand-color:deepskyblue}.timepicker-backdrop-overlay[_ngcontent-%COMP%]{position:fixed;top:0;bottom:0;right:0;left:0;background-color:rgba(0,0,0,.3);z-index:999;pointer-events:auto}.timepicker-backdrop-overlay--transparent[_ngcontent-%COMP%]{background-color:transparent}.timepicker-overlay[_ngcontent-%COMP%]{position:fixed;top:0;left:0;width:100%;height:100%;display:flex;justify-content:center;align-items:center;z-index:999;pointer-events:none}.timepicker[_ngcontent-%COMP%]{width:300px;border-radius:2px;box-shadow:rgba(0,0,0,.25) 0 14px 45px,rgba(0,0,0,.22) 0 10px 18px;outline:0;position:static;z-index:999;pointer-events:auto}.timepicker__header[_ngcontent-%COMP%]{padding:15px 30px;background-color:#00bfff}@supports (background-color:var(--dial-background-color)){.timepicker__header[_ngcontent-%COMP%]{background-color:var(--dial-background-color)}}.timepicker__body[_ngcontent-%COMP%]{padding:15px 5px;display:flex;justify-content:center;align-items:center;background-color:#fff}@supports (background-color:var(--body-background-color)){.timepicker__body[_ngcontent-%COMP%]{background-color:var(--body-background-color)}}.timepicker__actions[_ngcontent-%COMP%]{display:flex;justify-content:flex-end;padding:15px;background-color:#fff}@supports (background-color:var(--body-background-color)){.timepicker__actions[_ngcontent-%COMP%]{background-color:var(--body-background-color)}}@media (max-device-width:1023px) and (orientation:landscape){.timepicker[_ngcontent-%COMP%]{display:flex;width:515px}.timepicker__header[_ngcontent-%COMP%]{display:flex;align-items:center}.timepicker__main-content[_ngcontent-%COMP%]{display:flex;flex-direction:column;width:100%}.timepicker__actions[_ngcontent-%COMP%]{padding:5px;margin-top:-1px}}"],data:{animation:[Object(m.n)("timepicker",[Object(m.m)(`* => ${mt.ENTER}`,[Object(m.l)({transform:"translateY(-30%)"}),Object(m.e)("0.2s ease-out",Object(m.l)({transform:"translateY(0)"}))]),Object(m.m)(`${mt.ENTER} => ${mt.LEAVE}`,[Object(m.l)({transform:"translateY(0)",opacity:1}),Object(m.e)("0.2s ease-out",Object(m.l)({transform:"translateY(-30%)",opacity:0}))])])]}}),t=i([a(2,Object(r.q)(ht))],t),t})(),ft=(()=>{let t=class{constructor(t,e){this.eventService=t,this.domService=e,this.timeUpdated=new s.a,this.isEsc=!0,this.hoursOnly=!1,this.timeSet=new r.o,this.opened=new r.o,this.closed=new r.o,this.hourSelected=new r.o,this.timeChanged=new r.o,this.unsubscribe=new s.a}set ngxMaterialTimepickerTheme(t){console.warn("'ngxMaterialTimepickerTheme' is deprecated. Use 'theme' instead"),this._ngxMaterialTimepickerTheme=t}set format(t){this._format=24===t?24:12}get format(){return this.timepickerInput?this.timepickerInput.format:this._format}set minutesGap(t){null!=t&&(t=Math.floor(t),this._minutesGap=t<=59?t:1)}get minutesGap(){return this._minutesGap}get minTime(){return this.timepickerInput?this.timepickerInput.min:this.min}get maxTime(){return this.timepickerInput?this.timepickerInput.max:this.max}get disabled(){return this.timepickerInput&&this.timepickerInput.disabled}get time(){return this.timepickerInput&&this.timepickerInput.value}get inputElement(){return this.timepickerInput&&this.timepickerInput.element}registerInput(t){if(this.timepickerInput)throw Error("A Timepicker can only be associated with a single input.");this.timepickerInput=t}open(){this.domService.appendTimepickerToBody(pt,{timepickerBaseRef:this,time:this.time,defaultTime:this.defaultTime,maxTime:this.maxTime,minTime:this.minTime,format:this.format,minutesGap:this.minutesGap,disableAnimation:this.disableAnimation,cancelBtnTmpl:this.cancelBtnTmpl,confirmBtnTmpl:this.confirmBtnTmpl,editableHintTmpl:this.editableHintTmpl,disabled:this.disabled,enableKeyboardInput:this.enableKeyboardInput,preventOverlayClick:this.preventOverlayClick,appendToInput:this.appendToInput,hoursOnly:this.hoursOnly,theme:this.theme||this._ngxMaterialTimepickerTheme,timepickerClass:this.timepickerClass,inputElement:this.inputElement}),this.opened.next(),this.subscribeToEvents()}close(){this.domService.destroyTimepicker(),this.closed.next(),this.unsubscribeFromEvents()}updateTime(t){this.timeUpdated.next(t)}subscribeToEvents(){Object(c.a)(this.eventService.backdropClick,this.eventService.keydownEvent.pipe(Object(h.a)(t=>27===t.keyCode&&this.isEsc))).pipe(Object(u.a)(this.unsubscribe)).subscribe(()=>this.close())}unsubscribeFromEvents(){this.unsubscribe.next(),this.unsubscribe.complete()}};return t.\u0275fac=function(e){return new(e||t)(r.Nb(tt),r.Nb(et))},t.\u0275cmp=r.Hb({type:t,selectors:[["ngx-material-timepicker"]],inputs:{isEsc:["ESC","isEsc"],hoursOnly:"hoursOnly",ngxMaterialTimepickerTheme:"ngxMaterialTimepickerTheme",format:"format",minutesGap:"minutesGap",cancelBtnTmpl:"cancelBtnTmpl",editableHintTmpl:"editableHintTmpl",confirmBtnTmpl:"confirmBtnTmpl",enableKeyboardInput:"enableKeyboardInput",preventOverlayClick:"preventOverlayClick",disableAnimation:"disableAnimation",appendToInput:"appendToInput",defaultTime:"defaultTime",timepickerClass:"timepickerClass",theme:"theme",min:"min",max:"max"},outputs:{timeSet:"timeSet",opened:"opened",closed:"closed",hourSelected:"hourSelected",timeChanged:"timeChanged"},decls:0,vars:0,template:function(t,e){},encapsulation:2}),t})(),gt=(()=>{let t=class{};return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=r.Ib({type:t,selectors:[["","ngxMaterialTimepickerToggleIcon",""]]}),t})(),bt=(()=>{let t=class{get disabled(){return void 0===this._disabled?this.timepicker.disabled:this._disabled}set disabled(t){this._disabled=t}open(t){this.timepicker&&(this.timepicker.open(),t.stopPropagation())}};return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=r.Hb({type:t,selectors:[["ngx-material-timepicker-toggle"]],contentQueries:function(t,e,n){if(1&t&&r.Gb(n,gt,3),2&t){let t;r.uc(t=r.cc())&&(e.customIcon=t.first)}},inputs:{disabled:"disabled",timepicker:["for","timepicker"]},ngContentSelectors:S,decls:3,vars:2,consts:[["type","button",1,"ngx-material-timepicker-toggle",3,"disabled","click"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24","width","24px","height","24px",4,"ngIf"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24","width","24px","height","24px"],["d","M 12 2 C 6.4889971 2 2 6.4889971 2 12 C 2 17.511003 6.4889971 22 12 22 C 17.511003 22 22 17.511003 22 12 C 22 6.4889971 17.511003 2 12 2 z M 12 4 C 16.430123 4 20 7.5698774 20 12 C 20 16.430123 16.430123 20 12 20 C 7.5698774 20 4 16.430123 4 12 C 4 7.5698774 7.5698774 4 12 4 z M 11 6 L 11 12.414062 L 15.292969 16.707031 L 16.707031 15.292969 L 13 11.585938 L 13 6 L 11 6 z"]],template:function(t,e){1&t&&(r.mc(k),r.Tb(0,"button",0),r.bc("click",function(t){return e.open(t)}),r.Fc(1,O,2,0,"svg",1),r.lc(2),r.Sb()),2&t&&(r.nc("disabled",e.disabled),r.Cb(1),r.nc("ngIf",!e.customIcon))},directives:[o.l],styles:[".ngx-material-timepicker-toggle[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;padding:4px;background-color:transparent;border-radius:50%;text-align:center;border:none;outline:0;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:background-color .3s;cursor:pointer}.ngx-material-timepicker-toggle[_ngcontent-%COMP%]:focus{background-color:rgba(0,0,0,.07)}"]}),t})();var _t;let yt=(()=>{let t=_t=class{constructor(t,e){this.elementRef=t,this.locale=e,this._format=12,this._value="",this.timepickerSubscriptions=[],this.onTouched=()=>{},this.onChange=()=>{}}set format(t){this._format=24===t?24:12,t&&this.previousFormat&&this.previousFormat!==this._format&&(this.value=this._value,this._timepicker.updateTime(this._value)),this.previousFormat=this._format}get format(){return this._format}set min(t){this._min="string"!=typeof t?t:st.parseTime(t,{locale:this.locale,format:this.format})}get min(){return this._min}set max(t){this._max="string"!=typeof t?t:st.parseTime(t,{locale:this.locale,format:this.format})}get max(){return this._max}set timepicker(t){this.registerTimepicker(t)}set value(t){if(!t)return this._value="",void this.updateInputValue();const e=st.formatTime(t,{locale:this.locale,format:this.format});if(st.isTimeAvailable(e,this._min,this._max,"minutes",this._timepicker.minutesGap,this._format))return this._value=e,void this.updateInputValue();console.warn("Selected time doesn't match min or max value")}get value(){return this._value?st.toLocaleTimeString(this._value,{format:this.format,locale:this.locale}):""}get element(){return this.elementRef&&this.elementRef.nativeElement}set defaultTime(t){this._timepicker.defaultTime=st.formatTime(t,{locale:this.locale,format:this.format})}updateValue(t){this.value=t,this.onChange(t)}ngOnChanges(t){t.value&&t.value.currentValue&&(this.defaultTime=t.value.currentValue)}onClick(t){this.disableClick||(this._timepicker.open(),t.stopPropagation())}writeValue(t){this.value=t,t&&(this.defaultTime=t)}registerOnChange(t){this.onChange=t}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this.disabled=t}ngOnDestroy(){this.timepickerSubscriptions.forEach(t=>t.unsubscribe())}registerTimepicker(t){if(!t)throw new Error("NgxMaterialTimepickerComponent is not defined. Please make sure you passed the timepicker to ngxTimepicker directive");this._timepicker=t,this._timepicker.registerInput(this),this.timepickerSubscriptions.push(this._timepicker.timeSet.subscribe(t=>{this.value=t,this.onChange(this.value),this.onTouched(),this.defaultTime=this._value}))}updateInputValue(){this.elementRef.nativeElement.value=this.value}};return t.\u0275fac=function(e){return new(e||t)(r.Nb(r.l),r.Nb(ht))},t.\u0275dir=r.Ib({type:t,selectors:[["","ngxTimepicker",""]],hostVars:1,hostBindings:function(t,e){1&t&&r.bc("change",function(t){return e.updateValue(t.target.value)})("blur",function(){return e.onTouched()})("click",function(t){return e.onClick(t)}),2&t&&r.Wb("disabled",e.disabled)},inputs:{format:"format",value:"value",min:"min",max:"max",timepicker:["ngxTimepicker","timepicker"],disabled:"disabled",disableClick:"disableClick"},features:[r.Bb([{provide:f.m,useExisting:_t,multi:!0}]),r.Ab]}),t=_t=i([a(1,Object(r.q)(ht))],t),t})(),vt=(()=>{let t=class{constructor(t){this.element=t.nativeElement}ngAfterViewInit(){this.theme&&this.setTheme(this.theme)}setTheme(t){for(const n in t)if(t.hasOwnProperty(n)){if("string"==typeof t[n]){for(const n in t)t.hasOwnProperty(n)&&this.element.style.setProperty(`--${e=n,e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}`,t[n]);return}this.setTheme(t[n])}var e}};return t.\u0275fac=function(e){return new(e||t)(r.Nb(r.l))},t.\u0275dir=r.Ib({type:t,selectors:[["","ngxMaterialTimepickerTheme",""]],inputs:{theme:["ngxMaterialTimepickerTheme","theme"]}}),t})();class Ct{static getHours(t){return Array(t).fill(1).map((t,e)=>{const n=t+e;return{time:24===n?0:n,angle:30*n}})}static disableHours(t,e){return e.min||e.max?t.map(t=>{const n=24===e.format?t.time:st.formatHour(t.time,e.format,e.period),i=p.DateTime.fromObject({hour:n}).toFormat(at.TWELVE);return Object.assign({},t,{disabled:!st.isTimeAvailable(i,e.min,e.max,"hours")})}):t}static getMinutes(t=1){const e=[];for(let n=0;n<60;n++){const i=6*n;n%t==0&&e.push({time:n,angle:0!==i?i:360})}return e}static disableMinutes(t,e,n){if(n.min||n.max){const i=st.formatHour(e,n.format,n.period);return t.map(t=>{const e=p.DateTime.fromObject({hour:i,minute:t.time}).toFormat(at.TWELVE);return Object.assign({},t,{disabled:!st.isTimeAvailable(e,n.min,n.max,"minutes")})})}return t}}let wt=(()=>{class t{constructor(t){this.hourChange=new r.o,this.hourSelected=new r.o,this.hoursList=[],this.hoursList=Ct.getHours(t)}onTimeSelected(t){this.hourSelected.next(t)}}return t.\u0275fac=function(t){r.ac()},t.\u0275dir=r.Ib({type:t,inputs:{selectedHour:"selectedHour",minTime:"minTime",maxTime:"maxTime",format:"format"},outputs:{hourChange:"hourChange",hourSelected:"hourSelected"}}),t})(),xt=(()=>{let t=class extends wt{constructor(){super(24)}ngAfterContentInit(){this.hoursList=Ct.disableHours(this.hoursList,{min:this.minTime,max:this.maxTime,format:this.format})}};return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=r.Hb({type:t,selectors:[["ngx-material-timepicker-24-hours-face"]],features:[r.zb],decls:1,vars:3,consts:[[3,"selectedTime","faceTime","format","timeChange","timeSelected"]],template:function(t,e){1&t&&(r.Tb(0,"ngx-material-timepicker-face",0),r.bc("timeChange",function(t){return e.hourChange.next(t)})("timeSelected",function(t){return e.onTimeSelected(t)}),r.Sb()),2&t&&r.nc("selectedTime",e.selectedHour)("faceTime",e.hoursList)("format",e.format)},directives:function(){return[kt]},encapsulation:2,changeDetection:0}),t})(),Mt=(()=>{let t=class extends wt{constructor(){super(12)}ngOnChanges(t){t.period&&t.period.currentValue&&(this.hoursList=Ct.disableHours(this.hoursList,{min:this.minTime,max:this.maxTime,format:this.format,period:this.period}))}};return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=r.Hb({type:t,selectors:[["ngx-material-timepicker-12-hours-face"]],inputs:{period:"period"},features:[r.zb,r.Ab],decls:1,vars:2,consts:[[3,"selectedTime","faceTime","timeChange","timeSelected"]],template:function(t,e){1&t&&(r.Tb(0,"ngx-material-timepicker-face",0),r.bc("timeChange",function(t){return e.hourChange.next(t)})("timeSelected",function(t){return e.onTimeSelected(t)}),r.Sb()),2&t&&r.nc("selectedTime",e.selectedHour)("faceTime",e.hoursList)},directives:function(){return[kt]},encapsulation:2,changeDetection:0}),t})(),Ot=(()=>{let t=class{constructor(){this.minutesList=[],this.timeUnit=nt,this.minuteChange=new r.o}ngOnChanges(t){if(t.period&&t.period.currentValue){const t=Ct.getMinutes(this.minutesGap);this.minutesList=Ct.disableMinutes(t,this.selectedHour,{min:this.minTime,max:this.maxTime,format:this.format,period:this.period})}}};return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=r.Hb({type:t,selectors:[["ngx-material-timepicker-minutes-face"]],inputs:{selectedMinute:"selectedMinute",selectedHour:"selectedHour",period:"period",minTime:"minTime",maxTime:"maxTime",format:"format",minutesGap:"minutesGap"},outputs:{minuteChange:"minuteChange"},features:[r.Ab],decls:1,vars:4,consts:[[3,"faceTime","selectedTime","minutesGap","unit","timeChange"]],template:function(t,e){1&t&&(r.Tb(0,"ngx-material-timepicker-face",0),r.bc("timeChange",function(t){return e.minuteChange.next(t)}),r.Sb()),2&t&&r.nc("faceTime",e.minutesList)("selectedTime",e.selectedMinute)("minutesGap",e.minutesGap)("unit",e.timeUnit.MINUTE)},directives:function(){return[kt]},encapsulation:2}),t})();let kt=(()=>{let t=class{constructor(){this.timeUnit=nt,this.innerClockFaceSize=85,this.timeChange=new r.o,this.timeSelected=new r.o}ngAfterViewInit(){this.setClockHandPosition(),this.addTouchEvents()}ngOnChanges(t){const e=t.faceTime,n=t.selectedTime;e&&e.currentValue&&n&&n.currentValue&&(this.selectedTime=this.faceTime.find(t=>t.time===this.selectedTime.time)),n&&n.currentValue&&this.setClockHandPosition(),e&&e.currentValue&&setTimeout(()=>this.selectAvailableTime())}trackByTime(t,e){return e.time}onMousedown(t){t.preventDefault(),this.isStarted=!0}selectTime(t){if(!this.isStarted&&t instanceof MouseEvent&&"click"!==t.type)return;const e=this.clockFace.nativeElement.getBoundingClientRect(),n=e.left+e.width/2,i=e.top+e.height/2,a=180*Math.atan(Math.abs(t.clientX-n)/Math.abs(t.clientY-i))/Math.PI,r=(o=n,l=t.clientX,d=a,(c=t.clientY)>(s=i)&&l>=o?180-d:c>s&&l<o?180+d:c<s&&l<o?360-d:d);var o,s,l,c,d;const u=this.format&&this.isInnerClockFace(n,i,t.clientX,t.clientY),h=(function(t,e){return Math.round(t/e)*e}(r,this.unit===nt.MINUTE?6*(this.minutesGap||1):30)||360)+(u?360:0),m=this.faceTime.find(t=>t.angle===h);m&&!m.disabled&&(this.timeChange.next(m),this.isStarted||this.timeSelected.next(m.time))}onMouseup(t){t.preventDefault(),this.isStarted=!1}ngOnDestroy(){this.removeTouchEvents()}addTouchEvents(){this.touchStartHandler=this.onMousedown.bind(this),this.touchEndHandler=this.onMouseup.bind(this),this.clockFace.nativeElement.addEventListener("touchstart",this.touchStartHandler),this.clockFace.nativeElement.addEventListener("touchend",this.touchEndHandler)}removeTouchEvents(){this.clockFace.nativeElement.removeEventListener("touchstart",this.touchStartHandler),this.clockFace.nativeElement.removeEventListener("touchend",this.touchEndHandler)}setClockHandPosition(){24===this.format&&(this.selectedTime.time>12||0===this.selectedTime.time?this.decreaseClockHand():this.increaseClockHand()),this.clockHand.nativeElement.style.transform=`rotate(${this.selectedTime.angle}deg)`}selectAvailableTime(){const t=this.faceTime.find(t=>this.selectedTime.time===t.time);if(this.isClockFaceDisabled=this.faceTime.every(t=>t.disabled),t&&t.disabled&&!this.isClockFaceDisabled){const t=this.faceTime.find(t=>!t.disabled);this.timeChange.next(t)}}isInnerClockFace(t,e,n,i){return Math.sqrt(Math.pow(n-t,2)+Math.pow(i-e,2))<this.innerClockFaceSize}decreaseClockHand(){this.clockHand.nativeElement.style.height="75px",this.clockHand.nativeElement.style.top="calc(50% - 75px)"}increaseClockHand(){this.clockHand.nativeElement.style.height="103px",this.clockHand.nativeElement.style.top="calc(50% - 103px)"}};return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=r.Hb({type:t,selectors:[["ngx-material-timepicker-face"]],viewQuery:function(t,e){if(1&t&&(r.Lc(T,3),r.Lc(P,3)),2&t){let t;r.uc(t=r.cc())&&(e.clockFace=t.first),r.uc(t=r.cc())&&(e.clockHand=t.first)}},hostBindings:function(t,e){1&t&&r.bc("mousedown",function(t){return e.onMousedown(t)})("click",function(t){return e.selectTime(t)})("touchmove",function(t){return e.selectTime(t.changedTouches[0])})("touchend",function(t){return e.selectTime(t.changedTouches[0])})("mousemove",function(t){return e.selectTime(t)})("mouseup",function(t){return e.onMouseup(t)})},inputs:{selectedTime:"selectedTime",faceTime:"faceTime",unit:"unit",format:"format",minutesGap:"minutesGap"},outputs:{timeChange:"timeChange",timeSelected:"timeSelected"},features:[r.Ab],decls:7,vars:6,consts:[[1,"clock-face"],["clockFace",""],["class","clock-face__container",4,"ngIf","ngIfElse"],[1,"clock-face__clock-hand",3,"ngClass","hidden"],["clockHand",""],["minutesFace",""],[1,"clock-face__container"],["class","clock-face__number clock-face__number--outer",3,"ngStyle",4,"ngFor","ngForOf","ngForTrackBy"],["class","clock-face__inner",3,"top",4,"ngIf"],[1,"clock-face__number","clock-face__number--outer",3,"ngStyle"],[3,"ngStyle","ngClass"],[1,"clock-face__inner"],["class","clock-face__number clock-face__number--inner",3,"ngStyle","height",4,"ngFor","ngForOf","ngForTrackBy"],[1,"clock-face__number","clock-face__number--inner",3,"ngStyle"]],template:function(t,e){if(1&t&&(r.Tb(0,"div",0,1),r.Fc(2,R,4,7,"div",2),r.Ob(3,"span",3,4),r.Sb(),r.Fc(5,Y,2,2,"ng-template",null,5,r.Gc)),2&t){const t=r.vc(6);r.Cb(2),r.nc("ngIf",e.unit!==e.timeUnit.MINUTE)("ngIfElse",t),r.Cb(1),r.nc("ngClass",r.sc(4,H,e.unit===e.timeUnit.MINUTE))("hidden",e.isClockFaceDisabled)}},directives:function(){return[o.l,o.j,o.k,o.m]},pipes:function(){return[o.t,Yt,Nt,Ht,It]},styles:[".clock-face[_ngcontent-%COMP%]{width:290px;height:290px;border-radius:50%;position:relative;display:flex;justify-content:center;padding:20px;box-sizing:border-box;background-color:#f0f0f0}@supports (background-color:var(--clock-face-background-color)){.clock-face[_ngcontent-%COMP%]{background-color:var(--clock-face-background-color)}}.clock-face__inner[_ngcontent-%COMP%]{position:absolute}.clock-face__container[_ngcontent-%COMP%]{margin-left:-2px}.clock-face__number[_ngcontent-%COMP%]{position:absolute;transform-origin:0 100%;width:50px;text-align:center;z-index:2}.clock-face__number--outer[_ngcontent-%COMP%]{height:calc(290px / 2 - 20px)}.clock-face__number--outer[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{font-size:16px;color:#6c6c6c}@supports (color:var(--clock-face-time-inactive-color)){.clock-face__number--outer[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{color:var(--clock-face-time-inactive-color)}}.clock-face__number--inner[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{font-size:14px;color:#929292}@supports (color:var(--clock-face-inner-time-inactive-color)){.clock-face__number--inner[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{color:var(--clock-face-inner-time-inactive-color)}}.clock-face__number[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;width:30px;height:30px;display:flex;justify-content:center;align-items:center;margin:auto;border-radius:50%;font-weight:500;font-family:Roboto,sans-serif}@supports (font-family:var(--primary-font-family)){.clock-face__number[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{font-family:var(--primary-font-family)}}.clock-face__number[_ngcontent-%COMP%] > span.active[_ngcontent-%COMP%]{background-color:#00bfff;color:#fff}@supports (background-color:var(--clock-hand-color)){.clock-face__number[_ngcontent-%COMP%] > span.active[_ngcontent-%COMP%]{background-color:var(--clock-hand-color);color:var(--clock-face-time-active-color)}}.clock-face__number[_ngcontent-%COMP%] > span.disabled[_ngcontent-%COMP%]{color:#c5c5c5}@supports (color:var(--clock-face-time-disabled-color)){.clock-face__number[_ngcontent-%COMP%] > span.disabled[_ngcontent-%COMP%]{color:var(--clock-face-time-disabled-color)}}.clock-face__clock-hand[_ngcontent-%COMP%]{height:103px;width:2px;transform-origin:0 100%;position:absolute;top:calc(50% - 103px);z-index:1;background-color:#00bfff}@supports (background-color:var(--clock-hand-color)){.clock-face__clock-hand[_ngcontent-%COMP%]{background-color:var(--clock-hand-color)}}.clock-face__clock-hand[_ngcontent-%COMP%]:after{content:'';width:7px;height:7px;border-radius:50%;background-color:inherit;position:absolute;bottom:-3px;left:-3.5px}.clock-face__clock-hand_minute[_ngcontent-%COMP%]:before{content:'';width:7px;height:7px;background-color:#fff;border-radius:50%;position:absolute;top:-8px;left:calc(50% - 8px);box-sizing:content-box;border:4px solid #00bfff}@supports (border-color:var(--clock-hand-color)){.clock-face__clock-hand_minute[_ngcontent-%COMP%]:before{border-color:var(--clock-hand-color)}}@media (max-device-width:1023px) and (orientation:landscape){.clock-face[_ngcontent-%COMP%]{width:225px;height:225px;padding:5px}.clock-face__number--outer[_ngcontent-%COMP%]{height:calc(225px / 2 - 5px)}.clock-face__clock-hand_minute[_ngcontent-%COMP%]:before{top:0}}"],changeDetection:0}),t})(),St=(()=>{let t=class{};return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=r.Hb({type:t,selectors:[["ngx-material-timepicker-button"]],ngContentSelectors:j,decls:3,vars:0,consts:[["type","button",1,"timepicker-button"]],template:function(t,e){1&t&&(r.mc(),r.Tb(0,"button",0),r.Tb(1,"span"),r.lc(2),r.Sb(),r.Sb())},styles:[".timepicker-button[_ngcontent-%COMP%]{display:inline-block;height:36px;min-width:88px;line-height:36px;border:12px;border-radius:2px;background-color:transparent;text-align:center;transition:450ms cubic-bezier(.23,1,.32,1);overflow:hidden;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;position:relative;cursor:pointer;outline:0;color:#00bfff}@supports (color:var(--button-color)){.timepicker-button[_ngcontent-%COMP%]{color:var(--button-color)}}.timepicker-button[_ngcontent-%COMP%]:focus, .timepicker-button[_ngcontent-%COMP%]:hover{background-color:rgba(153,153,153,.2)}.timepicker-button[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{font-size:14px;text-transform:uppercase;font-weight:600;padding-left:16px;padding-right:16px;font-family:Roboto,sans-serif}@supports (font-family:var(--primary-font-family)){.timepicker-button[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{font-family:var(--primary-font-family)}}"]}),t})(),Tt=(()=>{let t=class{constructor(t){this.locale=t,this.timeUnit=nt,this.meridiems=p.Info.meridiems({locale:this.locale}),this.periodChanged=new r.o,this.timeUnitChanged=new r.o,this.hourChanged=new r.o,this.minuteChanged=new r.o}ngOnChanges(t){if(t.period&&t.period.currentValue||t.format&&t.format.currentValue){const t=Ct.getHours(this.format);this.hours=Ct.disableHours(t,{min:this.minTime,max:this.maxTime,format:this.format,period:this.period})}if(t.period&&t.period.currentValue||t.hour&&t.hour.currentValue){const t=Ct.getMinutes(this.minutesGap);this.minutes=Ct.disableMinutes(t,+this.hour,{min:this.minTime,max:this.maxTime,format:this.format,period:this.period})}}changeTimeUnit(t){this.timeUnitChanged.next(t)}changePeriod(t){this.periodChanged.next(t)}changeHour(t){this.hourChanged.next(t)}changeMinute(t){this.minuteChanged.next(t)}showHint(){this.isHintVisible=!0}hideHint(){this.isHintVisible=!1}};return t.\u0275fac=function(e){return new(e||t)(r.Nb(ht))},t.\u0275cmp=r.Hb({type:t,selectors:[["ngx-material-timepicker-dial"]],inputs:{editableHintTmpl:"editableHintTmpl",hour:"hour",minute:"minute",format:"format",period:"period",activeTimeUnit:"activeTimeUnit",minTime:"minTime",maxTime:"maxTime",isEditable:"isEditable",minutesGap:"minutesGap",hoursOnly:"hoursOnly"},outputs:{periodChanged:"periodChanged",timeUnitChanged:"timeUnitChanged",hourChanged:"hourChanged",minuteChanged:"minuteChanged"},features:[r.Ab],decls:9,vars:25,consts:[[1,"timepicker-dial"],[1,"timepicker-dial__container"],[1,"timepicker-dial__time"],[3,"timeList","time","timeUnit","isActive","isEditable","timeUnitChanged","timeChanged","focused","unfocused"],[3,"timeList","time","timeUnit","isActive","isEditable","minutesGap","disabled","timeUnitChanged","timeChanged","focused","unfocused"],[1,"timepicker-dial__period",3,"ngClass","selectedPeriod","activeTimeUnit","maxTime","minTime","format","hours","minutes","selectedHour","meridiems","periodChanged"],[3,"ngClass",4,"ngIf"],[3,"ngClass"],[4,"ngTemplateOutlet"],["editableHintDefault",""],[1,"timepicker-dial__hint"]],template:function(t,e){1&t&&(r.Tb(0,"div",0),r.Tb(1,"div",1),r.Tb(2,"div",2),r.Tb(3,"ngx-material-timepicker-dial-control",3),r.bc("timeUnitChanged",function(t){return e.changeTimeUnit(t)})("timeChanged",function(t){return e.changeHour(t)})("focused",function(){return e.showHint()})("unfocused",function(){return e.hideHint()}),r.Sb(),r.Tb(4,"span"),r.Hc(5,":"),r.Sb(),r.Tb(6,"ngx-material-timepicker-dial-control",4),r.bc("timeUnitChanged",function(t){return e.changeTimeUnit(t)})("timeChanged",function(t){return e.changeMinute(t)})("focused",function(){return e.showHint()})("unfocused",function(){return e.hideHint()}),r.Sb(),r.Sb(),r.Tb(7,"ngx-material-timepicker-period",5),r.bc("periodChanged",function(t){return e.changePeriod(t)}),r.Sb(),r.Sb(),r.Fc(8,B,4,4,"div",6),r.Sb()),2&t&&(r.Cb(3),r.nc("timeList",e.hours)("time",e.hour)("timeUnit",e.timeUnit.HOUR)("isActive",e.activeTimeUnit===e.timeUnit.HOUR)("isEditable",e.isEditable),r.Cb(3),r.nc("timeList",e.minutes)("time",e.minute)("timeUnit",e.timeUnit.MINUTE)("isActive",e.activeTimeUnit===e.timeUnit.MINUTE)("isEditable",e.isEditable)("minutesGap",e.minutesGap)("disabled",e.hoursOnly),r.Cb(1),r.nc("ngClass",r.sc(23,W,24===e.format))("selectedPeriod",e.period)("activeTimeUnit",e.activeTimeUnit)("maxTime",e.maxTime)("minTime",e.minTime)("format",e.format)("hours",e.hours)("minutes",e.minutes)("selectedHour",e.hour)("meridiems",e.meridiems),r.Cb(1),r.nc("ngIf",e.isEditable||e.editableHintTmpl))},directives:function(){return[Lt,Et,o.j,o.l,o.q]},styles:[".timepicker-dial[_ngcontent-%COMP%]{text-align:right}.timepicker-dial__container[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:flex-end;-webkit-tap-highlight-color:transparent}.timepicker-dial__time[_ngcontent-%COMP%]{display:flex;align-items:baseline;line-height:normal;font-size:50px;color:rgba(255,255,255,.5);font-family:Roboto,sans-serif}@supports (font-family:var(--primary-font-family)){.timepicker-dial__time[_ngcontent-%COMP%]{font-family:var(--primary-font-family);color:var(--dial-inactive-color)}}.timepicker-dial__period[_ngcontent-%COMP%]{display:block;margin-left:10px}.timepicker-dial__hint-container--hidden[_ngcontent-%COMP%], .timepicker-dial__period--hidden[_ngcontent-%COMP%]{visibility:hidden}.timepicker-dial__hint[_ngcontent-%COMP%]{display:inline-block;font-size:10px;color:#fff}@supports (color:var(--dial-active-color)){.timepicker-dial__hint[_ngcontent-%COMP%]{color:var(--dial-active-color)}}.timepicker-dial__hint[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:14px}@media (max-device-width:1023px) and (orientation:landscape){.timepicker-dial__container[_ngcontent-%COMP%]{flex-direction:column}.timepicker-dial__period[_ngcontent-%COMP%]{margin-left:0}}"],changeDetection:0}),t=i([a(0,Object(r.q)(ht))],t),t})(),Pt=(()=>{let t=class{constructor(t){this.locale=t,this.numberingSystem=p.DateTime.local().setLocale(this.locale).resolvedLocaleOpts().numberingSystem}transform(t,e=nt.HOUR){return null==t||""===t?"":isNaN(+t)?e===nt.MINUTE?this.parseTime(t,"m","minute"):this.parseTime(t,"H","hour"):t}parseTime(t,e,n){const i=p.DateTime.fromFormat(String(t),e,{numberingSystem:this.numberingSystem})[n];if(!isNaN(i))return i;throw new Error(`Cannot parse time - ${t}`)}};return t.\u0275fac=function(e){return new(e||t)(r.Nb(ht))},t.\u0275pipe=r.Mb({name:"timeParser",type:t,pure:!0}),t.\u0275prov=r.Jb({token:t,factory:function(e){return t.\u0275fac(e)}}),t=i([a(0,Object(r.q)(ht))],t),t})(),Lt=(()=>{let t=class{constructor(t){this.timeParserPipe=t,this.timeUnitChanged=new r.o,this.timeChanged=new r.o,this.focused=new r.o,this.unfocused=new r.o}get selectedTime(){if(this.time)return this.timeList.find(t=>t.time===+this.time)}saveTimeAndChangeTimeUnit(t,e){t.preventDefault(),this.previousTime=this.time,this.timeUnitChanged.next(e),this.focused.next()}updateTime(){const t=this.selectedTime;t&&(this.timeChanged.next(t),this.previousTime=t.time)}changeTimeByKeyboard(t){const e=String.fromCharCode(t.keyCode);(function(t,e,n){if(/\d/.test(e))return Dt(t+e,n)})(this.time,e,this.timeList)&&t.preventDefault()}onKeydown(t){!function(t){return!!([46,8,9,27,13].some(e=>e===t.keyCode)||65==t.keyCode&&(!0===t.ctrlKey||!0===t.metaKey)||67==t.keyCode&&(!0===t.ctrlKey||!0===t.metaKey)||88==t.keyCode&&(!0===t.ctrlKey||!0===t.metaKey)||t.keyCode>=35&&t.keyCode<=40)||!((t.keyCode<48||t.keyCode>57)&&(t.keyCode<96||t.keyCode>105))}(t)?t.preventDefault():this.changeTimeByArrow(t.keyCode)}onModelChange(t){this.time=this.timeParserPipe.transform(t,this.timeUnit).toString()}changeTimeByArrow(t){let e;38===t?e=String(+this.time+(this.minutesGap||1)):40===t&&(e=String(+this.time-(this.minutesGap||1))),Dt(e,this.timeList)||(this.time=e,this.updateTime())}};return t.\u0275fac=function(e){return new(e||t)(r.Nb(Pt))},t.\u0275cmp=r.Hb({type:t,selectors:[["ngx-material-timepicker-dial-control"]],inputs:{time:"time",timeList:"timeList",timeUnit:"timeUnit",isActive:"isActive",isEditable:"isEditable",minutesGap:"minutesGap",disabled:"disabled"},outputs:{timeUnitChanged:"timeUnitChanged",timeChanged:"timeChanged",focused:"focused",unfocused:"unfocused"},features:[r.Bb([Pt])],decls:3,vars:2,consts:[["class","timepicker-dial__control timepicker-dial__item","readonly","",3,"ngClass","ngModel","disabled","timepickerAutofocus","ngModelChange","input","focus",4,"ngIf","ngIfElse"],["editableTemplate",""],["readonly","",1,"timepicker-dial__control","timepicker-dial__item",3,"ngClass","ngModel","disabled","timepickerAutofocus","ngModelChange","input","focus"],[1,"timepicker-dial__control","timepicker-dial__item","timepicker-dial__control_editable",3,"ngClass","ngModel","disabled","timepickerAutofocus","ngModelChange","input","focus","keydown","keypress"]],template:function(t,e){if(1&t&&(r.Fc(0,q,2,9,"input",0),r.Fc(1,G,3,13,"ng-template",null,1,r.Gc)),2&t){const t=r.vc(2);r.nc("ngIf",!e.isEditable)("ngIfElse",t)}},directives:function(){return[o.l,f.c,o.j,f.o,f.r,Rt]},pipes:function(){return[Nt,Pt]},styles:[".timepicker-dial__item[_ngcontent-%COMP%]{cursor:pointer;color:rgba(255,255,255,.5);font-family:Roboto,sans-serif}@supports (font-family:var(--primary-font-family)){.timepicker-dial__item[_ngcontent-%COMP%]{font-family:var(--primary-font-family);color:var(--dial-inactive-color)}}.timepicker-dial__item_active[_ngcontent-%COMP%]{color:#fff}@supports (color:var(--dial-active-color)){.timepicker-dial__item_active[_ngcontent-%COMP%]{color:var(--dial-active-color)}}.timepicker-dial__control[_ngcontent-%COMP%]{border:none;background-color:transparent;font-size:50px;width:60px;padding:0;border-radius:3px;text-align:right}.timepicker-dial__control_editable[_ngcontent-%COMP%]:focus{color:#00bfff;background-color:#fff;outline:#00bfff}@supports (color:var(--dial-editable-active-color)){.timepicker-dial__control_editable[_ngcontent-%COMP%]:focus{color:var(--dial-editable-active-color)}}@supports (background-color:var(--dial-editable-background-color)){.timepicker-dial__control_editable[_ngcontent-%COMP%]:focus{background-color:var(--dial-editable-background-color)}}@supports (outline:var(--dial-editable-active-color)){.timepicker-dial__control_editable[_ngcontent-%COMP%]:focus{outline:var(--dial-editable-active-color)}}.timepicker-dial__control[_ngcontent-%COMP%]:disabled{cursor:default}"]}),t})();function Dt(t,e){const n=e.find(e=>e.time===+t);return!n||n&&n.disabled}let Et=(()=>{let t=class{constructor(){this.timePeriod=it,this.isPeriodAvailable=!0,this.periodChanged=new r.o}changePeriod(t){this.isPeriodAvailable=this.isSwitchPeriodAvailable(t),this.isPeriodAvailable&&this.periodChanged.next(t)}animationDone(){this.isPeriodAvailable=!0}isSwitchPeriodAvailable(t){return!this.getDisabledTimeByPeriod(t).every(t=>t.disabled)}getDisabledTimeByPeriod(t){switch(this.activeTimeUnit){case nt.HOUR:return Ct.disableHours(this.hours,{min:this.minTime,max:this.maxTime,format:this.format,period:t});case nt.MINUTE:return Ct.disableMinutes(this.minutes,+this.selectedHour,{min:this.minTime,max:this.maxTime,format:this.format,period:t});default:throw new Error("no such TimeUnit")}}};return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=r.Hb({type:t,selectors:[["ngx-material-timepicker-period"]],inputs:{selectedPeriod:"selectedPeriod",format:"format",activeTimeUnit:"activeTimeUnit",hours:"hours",minutes:"minutes",minTime:"minTime",maxTime:"maxTime",selectedHour:"selectedHour",meridiems:"meridiems"},outputs:{periodChanged:"periodChanged"},decls:6,vars:9,consts:[[1,"timepicker-period"],["type","button",1,"timepicker-dial__item","timepicker-period__btn",3,"ngClass","click"],["class","timepicker-period__warning",4,"ngIf"],[1,"timepicker-period__warning"]],template:function(t,e){1&t&&(r.Tb(0,"div",0),r.Tb(1,"button",1),r.bc("click",function(){return e.changePeriod(e.timePeriod.AM)}),r.Hc(2),r.Sb(),r.Tb(3,"button",1),r.bc("click",function(){return e.changePeriod(e.timePeriod.PM)}),r.Hc(4),r.Sb(),r.Fc(5,J,3,1,"div",2),r.Sb()),2&t&&(r.Cb(1),r.nc("ngClass",r.sc(5,U,e.selectedPeriod===e.timePeriod.AM)),r.Cb(1),r.Ic(e.meridiems[0]),r.Cb(1),r.nc("ngClass",r.sc(7,U,e.selectedPeriod===e.timePeriod.PM)),r.Cb(1),r.Ic(e.meridiems[1]),r.Cb(1),r.nc("ngIf",!e.isPeriodAvailable))},directives:[o.j,o.l],styles:[".timepicker-dial__item[_ngcontent-%COMP%]{cursor:pointer;color:rgba(255,255,255,.5);font-family:Roboto,sans-serif}@supports (font-family:var(--primary-font-family)){.timepicker-dial__item[_ngcontent-%COMP%]{font-family:var(--primary-font-family);color:var(--dial-inactive-color)}}.timepicker-dial__item_active[_ngcontent-%COMP%]{color:#fff}@supports (color:var(--dial-active-color)){.timepicker-dial__item_active[_ngcontent-%COMP%]{color:var(--dial-active-color)}}.timepicker-period[_ngcontent-%COMP%]{display:flex;flex-direction:column;position:relative}.timepicker-period__btn[_ngcontent-%COMP%]{padding:1px 3px;border:0;background-color:transparent;font-size:18px;font-weight:500;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;outline:0;border-radius:3px;transition:background-color .5s;font-family:Roboto,sans-serif}.timepicker-period__btn[_ngcontent-%COMP%]:focus{background-color:rgba(0,0,0,.07)}.timepicker-period__warning[_ngcontent-%COMP%]{padding:5px 10px;border-radius:3px;background-color:rgba(0,0,0,.55);color:#fff;position:absolute;width:200px;left:-20px;top:40px}.timepicker-period__warning[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]{margin:0;font-size:12px;font-family:Roboto,sans-serif}@supports (font-family:var(--primary-font-family)){.timepicker-period__btn[_ngcontent-%COMP%], .timepicker-period__warning[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]{font-family:var(--primary-font-family)}}"],data:{animation:[Object(m.n)("scaleInOut",[Object(m.m)(":enter",[Object(m.l)({transform:"scale(0)"}),Object(m.e)(".2s",Object(m.l)({transform:"scale(1)"})),Object(m.j)([Object(m.e)("3s",Object(m.l)({opacity:1})),Object(m.e)(".3s",Object(m.l)({opacity:0}))])])])]}}),t})(),At=(()=>{let t=class{constructor(t){this.eventService=t}onClick(t){this.preventClick||this.eventService.dispatchEvent(t),t.preventDefault()}};return t.\u0275fac=function(e){return new(e||t)(r.Nb(tt))},t.\u0275dir=r.Ib({type:t,selectors:[["","overlay",""]],hostBindings:function(t,e){1&t&&r.bc("click",function(t){return e.onClick(t)})},inputs:{preventClick:["overlay","preventClick"]}}),t})(),It=(()=>{let t=class{transform(t,e=5){return t?t%e==0?t:"":t}};return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=r.Mb({name:"minutesFormatter",type:t,pure:!0}),t})(),Rt=(()=>{let t=class{constructor(t,e){this.element=t,this.document=e,this.activeElement=this.document.activeElement}ngOnChanges(){this.isFocusActive&&setTimeout(()=>this.element.nativeElement.focus({preventScroll:!0}))}ngOnDestroy(){setTimeout(()=>this.activeElement.focus({preventScroll:!0}))}};return t.\u0275fac=function(e){return new(e||t)(r.Nb(r.l),r.Nb(o.d,8))},t.\u0275dir=r.Ib({type:t,selectors:[["","timepickerAutofocus",""]],inputs:{isFocusActive:["timepickerAutofocus","isFocusActive"]},features:[r.Ab]}),t=i([a(1,Object(r.C)()),a(1,Object(r.q)(o.d))],t),t})(),Nt=(()=>{let t=class{constructor(t){this.locale=t}transform(t,e,n=!1){if(null==t||""===t)return"";switch(e){case nt.HOUR:return this.formatTime("hour",t,0===t||n?"HH":"H");case nt.MINUTE:return this.formatTime("minute",t,"mm");default:throw new Error(`There is no Time Unit with type ${e}`)}}formatTime(t,e,n){try{return p.DateTime.fromObject({[t]:+e}).setLocale(this.locale).toFormat(n)}catch(i){throw new Error(`Cannot format provided time - ${e} to locale - ${this.locale}`)}}};return t.\u0275fac=function(e){return new(e||t)(r.Nb(ht))},t.\u0275pipe=r.Mb({name:"timeLocalizer",type:t,pure:!0}),t=i([a(0,Object(r.q)(ht))],t),t})(),Yt=(()=>{let t=class{transform(t,e,n){return null!=t&&!n&&t===e}};return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=r.Mb({name:"activeHour",type:t,pure:!0}),t})(),Ht=(()=>{let t=class{transform(t,e,n,i){return null!=t&&!i&&e===t&&t%(n||5)==0}};return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=r.Mb({name:"activeMinute",type:t,pure:!0}),t})(),jt=(()=>{let t=class{};return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=r.Hb({type:t,selectors:[["ngx-material-timepicker-content"]],inputs:{appendToInput:"appendToInput",inputElement:"inputElement"},ngContentSelectors:j,decls:5,vars:2,consts:[[3,"ngxAppendToInput",4,"ngIf","ngIfElse"],["timepickerModal",""],["timepickerOutlet",""],[3,"ngxAppendToInput"],[4,"ngTemplateOutlet"]],template:function(t,e){if(1&t&&(r.mc(),r.Fc(0,$,2,2,"div",0),r.Fc(1,K,1,1,"ng-template",null,1,r.Gc),r.Fc(3,Q,1,0,"ng-template",null,2,r.Gc)),2&t){const t=r.vc(2);r.nc("ngIf",e.appendToInput)("ngIfElse",t)}},directives:function(){return[o.l,Ft,o.q]},encapsulation:2}),t})(),Ft=(()=>{let t=class{constructor(t,e){this.renderer=e,this.element=t.nativeElement}get inputCords(){return this.inputElement.getBoundingClientRect()}get direction(){const t=this.element.offsetHeight,{bottom:e,top:n}=this._inputCords,i=(window&&window.innerHeight)-e<t;return i&&n>t?"top":i&&n<t?"center":"bottom"}ngAfterViewInit(){this._inputCords=this.inputCords,this._direction=this.direction,this.append()}changePosition(){const{bottom:t,top:e}=this.inputCords,n=this.defineElementYByDirection(e,t);this.setStyle("top",`${n}px`)}append(){const{left:t,bottom:e,top:n}=this._inputCords,i=this.defineElementYByDirection(n,e);this.setStyle("position","fixed"),this.setStyle("left",`${t}px`),this.setStyle("top",`${i}px`)}setStyle(t,e){this.renderer.setStyle(this.element,t,e)}defineElementYByDirection(t,e){return"top"===this._direction?t-this.element.offsetHeight:"center"===this._direction?t-this.element.offsetHeight/2:e}};return t.\u0275fac=function(e){return new(e||t)(r.Nb(r.l),r.Nb(r.G))},t.\u0275dir=r.Ib({type:t,selectors:[["","ngxAppendToInput",""]],hostBindings:function(t,e){1&t&&r.bc("scroll",function(){return e.changePosition()},!1,r.xc)},inputs:{inputElement:["ngxAppendToInput","inputElement"]}}),t})();var zt;let Vt=(()=>{let t=zt=class{static setLocale(t){return{ngModule:zt,providers:[{provide:ht,useValue:t}]}}};return t.\u0275mod=r.Lb({type:t}),t.\u0275inj=r.Kb({factory:function(e){return new(e||t)},imports:[[o.c,f.j]]}),t})()},czMo:function(t,e,n){!function(t){"use strict";t.defineLocale("en-il",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")}})}(n("wd/R"))},dNwA:function(t,e,n){!function(t){"use strict";t.defineLocale("sw",{months:"Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des".split("_"),weekdays:"Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi".split("_"),weekdaysShort:"Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos".split("_"),weekdaysMin:"J2_J3_J4_J5_Al_Ij_J1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"hh:mm A",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[leo saa] LT",nextDay:"[kesho saa] LT",nextWeek:"[wiki ijayo] dddd [saat] LT",lastDay:"[jana] LT",lastWeek:"[wiki iliyopita] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s baadaye",past:"tokea %s",s:"hivi punde",ss:"sekunde %d",m:"dakika moja",mm:"dakika %d",h:"saa limoja",hh:"masaa %d",d:"siku moja",dd:"siku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}})}(n("wd/R"))},"e+ae":function(t,e,n){!function(t){"use strict";var e="janu\xe1r_febru\xe1r_marec_apr\xedl_m\xe1j_j\xfan_j\xfal_august_september_okt\xf3ber_november_december".split("_"),n="jan_feb_mar_apr_m\xe1j_j\xfan_j\xfal_aug_sep_okt_nov_dec".split("_");function i(t){return t>1&&t<5}function a(t,e,n,a){var r=t+" ";switch(n){case"s":return e||a?"p\xe1r sek\xfand":"p\xe1r sekundami";case"ss":return e||a?r+(i(t)?"sekundy":"sek\xfand"):r+"sekundami";case"m":return e?"min\xfata":a?"min\xfatu":"min\xfatou";case"mm":return e||a?r+(i(t)?"min\xfaty":"min\xfat"):r+"min\xfatami";case"h":return e?"hodina":a?"hodinu":"hodinou";case"hh":return e||a?r+(i(t)?"hodiny":"hod\xedn"):r+"hodinami";case"d":return e||a?"de\u0148":"d\u0148om";case"dd":return e||a?r+(i(t)?"dni":"dn\xed"):r+"d\u0148ami";case"M":return e||a?"mesiac":"mesiacom";case"MM":return e||a?r+(i(t)?"mesiace":"mesiacov"):r+"mesiacmi";case"y":return e||a?"rok":"rokom";case"yy":return e||a?r+(i(t)?"roky":"rokov"):r+"rokmi"}}t.defineLocale("sk",{months:e,monthsShort:n,weekdays:"nede\u013ea_pondelok_utorok_streda_\u0161tvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_\u0161t_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_\u0161t_pi_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm"},calendar:{sameDay:"[dnes o] LT",nextDay:"[zajtra o] LT",nextWeek:function(){switch(this.day()){case 0:return"[v nede\u013eu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo \u0161tvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[v\u010dera o] LT",lastWeek:function(){switch(this.day()){case 0:return"[minul\xfa nede\u013eu o] LT";case 1:case 2:return"[minul\xfd] dddd [o] LT";case 3:return"[minul\xfa stredu o] LT";case 4:case 5:return"[minul\xfd] dddd [o] LT";case 6:return"[minul\xfa sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s:a,ss:a,m:a,mm:a,h:a,hh:a,d:a,dd:a,M:a,MM:a,y:a,yy:a},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},e6WT:function(t,e,n){"use strict";n.d(e,"a",function(){return p}),n.d(e,"b",function(){return y}),n.d(e,"c",function(){return v});var i=n("SCoL"),a=n("8Y7J"),r=n("8LU1"),o=n("EY2u"),s=n("XNiG");n("xgIS"),n("3UWI"),n("1G5W"),n("SVse");const l=Object(i.f)({passive:!0});let c=(()=>{class t{constructor(t,e){this._platform=t,this._ngZone=e,this._monitoredElements=new Map}monitor(t){if(!this._platform.isBrowser)return o.a;const e=Object(r.e)(t),n=this._monitoredElements.get(e);if(n)return n.subject;const i=new s.a,a="cdk-text-field-autofilled",c=t=>{"cdk-text-field-autofill-start"!==t.animationName||e.classList.contains(a)?"cdk-text-field-autofill-end"===t.animationName&&e.classList.contains(a)&&(e.classList.remove(a),this._ngZone.run(()=>i.next({target:t.target,isAutofilled:!1}))):(e.classList.add(a),this._ngZone.run(()=>i.next({target:t.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{e.addEventListener("animationstart",c,l),e.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(e,{subject:i,unlisten:()=>{e.removeEventListener("animationstart",c,l)}}),i}stopMonitoring(t){const e=Object(r.e)(t),n=this._monitoredElements.get(e);n&&(n.unlisten(),n.subject.complete(),e.classList.remove("cdk-text-field-autofill-monitored"),e.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(e))}ngOnDestroy(){this._monitoredElements.forEach((t,e)=>this.stopMonitoring(e))}}return t.\u0275fac=function(e){return new(e||t)(a.Xb(i.a),a.Xb(a.B))},t.\u0275prov=Object(a.Jb)({factory:function(){return new t(Object(a.Xb)(i.a),Object(a.Xb)(a.B))},token:t,providedIn:"root"}),t})(),d=(()=>{class t{}return t.\u0275mod=a.Lb({type:t}),t.\u0275inj=a.Kb({factory:function(e){return new(e||t)},imports:[[i.b]]}),t})();var u=n("UhP/"),h=n("Q2Ze"),m=n("s7LF");const p=new a.s("MAT_INPUT_VALUE_ACCESSOR"),f=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let g=0;class b{constructor(t,e,n,i){this._defaultErrorStateMatcher=t,this._parentForm=e,this._parentFormGroup=n,this.ngControl=i}}const _=Object(u.z)(b);let y=(()=>{class t extends _{constructor(t,e,n,a,r,o,l,c,d,u){super(o,a,r,n),this._elementRef=t,this._platform=e,this.ngControl=n,this._autofillMonitor=c,this._formField=u,this._uid="mat-input-"+g++,this.focused=!1,this.stateChanges=new s.a,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._required=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(t=>Object(i.e)().has(t));const h=this._elementRef.nativeElement,m=h.nodeName.toLowerCase();this._inputValueAccessor=l||h,this._previousNativeValue=this.value,this.id=this.id,e.IOS&&d.runOutsideAngular(()=>{t.nativeElement.addEventListener("keyup",t=>{let e=t.target;e.value||e.selectionStart||e.selectionEnd||(e.setSelectionRange(1,1),e.setSelectionRange(0,0))})}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===m,this._isTextarea="textarea"===m,this._isNativeSelect&&(this.controlType=h.multiple?"mat-native-select-multiple":"mat-native-select")}get disabled(){return this.ngControl&&null!==this.ngControl.disabled?this.ngControl.disabled:this._disabled}set disabled(t){this._disabled=Object(r.c)(t),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(t){this._id=t||this._uid}get required(){return this._required}set required(t){this._required=Object(r.c)(t)}get type(){return this._type}set type(t){this._type=t||"text",this._validateType(),!this._isTextarea&&Object(i.e)().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(t){t!==this.value&&(this._inputValueAccessor.value=t,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(t){this._readonly=Object(r.c)(t)}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(t=>{this.autofilled=t.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement)}ngDoCheck(){this.ngControl&&this.updateErrorState(),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(t){this._elementRef.nativeElement.focus(t)}_focusChanged(t){t===this.focused||this.readonly&&t||(this.focused=t,this.stateChanges.next())}_onInput(){}_dirtyCheckPlaceholder(){var t,e;const n=(null===(e=null===(t=this._formField)||void 0===t?void 0:t._hideControlPlaceholder)||void 0===e?void 0:e.call(t))?null:this.placeholder;if(n!==this._previousPlaceholder){const t=this._elementRef.nativeElement;this._previousPlaceholder=n,n?t.setAttribute("placeholder",n):t.removeAttribute("placeholder")}}_dirtyCheckNativeValue(){const t=this._elementRef.nativeElement.value;this._previousNativeValue!==t&&(this._previousNativeValue=t,this.stateChanges.next())}_validateType(){f.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let t=this._elementRef.nativeElement.validity;return t&&t.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const t=this._elementRef.nativeElement,e=t.options[0];return this.focused||t.multiple||!this.empty||!!(t.selectedIndex>-1&&e&&e.label)}return this.focused||!this.empty}setDescribedByIds(t){t.length?this._elementRef.nativeElement.setAttribute("aria-describedby",t.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}}return t.\u0275fac=function(e){return new(e||t)(a.Nb(a.l),a.Nb(i.a),a.Nb(m.n,10),a.Nb(m.q,8),a.Nb(m.i,8),a.Nb(u.d),a.Nb(p,10),a.Nb(c),a.Nb(a.B),a.Nb(h.a,8))},t.\u0275dir=a.Ib({type:t,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-input-element","mat-form-field-autofill-control"],hostVars:9,hostBindings:function(t,e){1&t&&a.bc("focus",function(){return e._focusChanged(!0)})("blur",function(){return e._focusChanged(!1)})("input",function(){return e._onInput()}),2&t&&(a.Wb("disabled",e.disabled)("required",e.required),a.Db("id",e.id)("data-placeholder",e.placeholder)("readonly",e.readonly&&!e._isNativeSelect||null)("aria-invalid",e.errorState)("aria-required",e.required.toString()),a.Fb("mat-input-server",e._isServer))},inputs:{id:"id",disabled:"disabled",required:"required",type:"type",value:"value",readonly:"readonly",placeholder:"placeholder",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"]},exportAs:["matInput"],features:[a.Bb([{provide:h.d,useExisting:t}]),a.zb,a.Ab]}),t})(),v=(()=>{class t{}return t.\u0275mod=a.Lb({type:t}),t.\u0275inj=a.Kb({factory:function(e){return new(e||t)},providers:[u.d],imports:[[d,h.e,u.j],d,h.e]}),t})()},eIep:function(t,e,n){"use strict";n.d(e,"a",function(){return o});var i=n("lJxs"),a=n("Cfvw"),r=n("zx2A");function o(t,e){return"function"==typeof e?n=>n.pipe(o((n,r)=>Object(a.a)(t(n,r)).pipe(Object(i.a)((t,i)=>e(n,t,r,i))))):e=>e.lift(new s(t))}class s{constructor(t){this.project=t}call(t,e){return e.subscribe(new l(t,this.project))}}class l extends r.b{constructor(t,e){super(t),this.project=e,this.index=0}_next(t){let e;const n=this.index++;try{e=this.project(t,n)}catch(i){return void this.destination.error(i)}this._innerSub(e)}_innerSub(t){const e=this.innerSubscription;e&&e.unsubscribe();const n=new r.a(this),i=this.destination;i.add(n),this.innerSubscription=Object(r.c)(t,n),this.innerSubscription!==n&&i.add(this.innerSubscription)}_complete(){const{innerSubscription:t}=this;t&&!t.closed||super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=void 0}notifyComplete(){this.innerSubscription=void 0,this.isStopped&&super._complete()}notifyNext(t){this.destination.next(t)}}},eNrK:function(t,e,n){"use strict";n.d(e,"a",function(){return A});var i=n("8Y7J"),a=n("s7LF"),r=n("XNiG"),o=n("xgIS"),s=n("pLZG"),l=n("Kj3r"),c=n("0h1T");class d{constructor({codePostal:t="",commune:e="",limit:n=1}){this.codePostal=t,this.commune=e,this.limit=n}}var u=n("IGtN"),h=n("TSSN"),m=n("zaPX"),p=n("y5Tt"),f=n("Q2Ze"),g=n("e6WT"),b=n("vrAh"),_=n("q6Qu"),y=n("SVse"),v=n("UhP/"),C=n("pu8Q");const w=["trigger"],x=["cpElt"],M=["cityElt"];function O(t,e){1&t&&(i.Tb(0,"mat-error"),i.Hc(1),i.gc(2,"translate"),i.Sb()),2&t&&(i.Cb(1),i.Jc(" ",i.hc(2,1,"common.error.commune")," "))}function k(t,e){1&t&&(i.Tb(0,"mat-error"),i.Hc(1),i.gc(2,"translate"),i.Sb()),2&t&&(i.Cb(1),i.Jc(" ",i.hc(2,1,"common.error.commune")," "))}function S(t,e){1&t&&(i.Tb(0,"mat-option",11),i.Ob(1,"mat-spinner",12),i.Sb())}function T(t,e){if(1&t&&(i.Tb(0,"div"),i.Tb(1,"span"),i.Hc(2),i.Sb(),i.Tb(3,"small"),i.Hc(4),i.Sb(),i.Sb()),2&t){const t=i.fc().$implicit;i.Cb(2),i.Ic(t.codePostal),i.Cb(2),i.Jc(" - ",t.commune,"")}}function P(t,e){if(1&t&&(i.Tb(0,"span"),i.Hc(1),i.Sb()),2&t){const t=i.fc().$implicit;i.Cb(1),i.Ic(t.error)}}function L(t,e){if(1&t&&(i.Tb(0,"mat-option",14),i.Fc(1,T,5,2,"div",3),i.Fc(2,P,2,1,"span",3),i.Sb()),2&t){const t=e.$implicit;i.nc("value",t),i.Cb(1),i.nc("ngIf",!t.error),i.Cb(1),i.nc("ngIf",t.error)}}function D(t,e){if(1&t&&(i.Fc(0,L,3,3,"mat-option",13),i.gc(1,"async")),2&t){const t=i.fc();i.nc("ngForOf",i.hc(1,1,t.filteredCommunes))}}var E=function(t){return t.CP="CP",t.COMMUNE="COMMUNE",t}({});let A=(()=>{class t extends u.a{constructor(t,e,n){super(t),this.translateService=t,this.configSharedService=e,this.departementService=n,this.selectionChanged=new i.o,this.selectedItem=!1,this.isLoading=!1,this.filteredCommunes=new r.a}load(){this.subscriptions.push(this.bindToKeyUpEvent(this.cpElt).subscribe(t=>this.onInputValueChange(this.cpControl.value,E.CP)),this.bindToKeyUpEvent(this.cityElt).subscribe(t=>this.onInputValueChange(this.cityControl.value,E.COMMUNE)),this.parentForm.valueChanges.pipe(Object(s.a)(t=>void 0!==t.cp&&void 0!==t.ville)).subscribe(t=>{this.cpControl.setValue(t.cp),this.cityControl.setValue(t.ville),this.enableOrDisableControls()}),this.parentForm.statusChanges.subscribe(t=>{this.enableOrDisableControls()})),this.initFormControls()}initFormControls(){this.cpControl=new a.e({value:this.parentForm.get("cp").value,disabled:this.parentForm.get("cp").disabled},[a.w.required,a.w.maxLength(c.a.COMMON)]),this.cityControl=new a.e({value:this.parentForm.get("ville").value,disabled:this.parentForm.get("ville").disabled},[a.w.required,a.w.maxLength(c.a.COMMON)])}enableOrDisableControls(){this.parentForm.get("cp").disabled?this.cpControl.disable():this.cpControl.enable(),this.parentForm.get("ville").disabled?this.cityControl.disable():this.cityControl.enable()}bindToKeyUpEvent(t){return Object(o.a)(t.nativeElement,"keyup").pipe(Object(s.a)(t=>!["ArrowDown","ArrowUp","ArrowRight","ArrowLeft"].includes(t.key)),Object(l.a)(this.configSharedService.autocompleteCommuneTimeLimit))}onInputValueChange(t,e){t&&t.length>=1?(this.isLoading=!0,this.search(t,e)):(this.filteredCommunes.next([]),this.autocompleteTrigger.closePanel())}search(t,e){this.subscriptions.push(this.departementService.searchCommunesByCPCommune({codePostal:e===E.CP?t:"",commune:e===E.COMMUNE?t:"",limit:this.configSharedService.autocompleteCommuneNbMax}).subscribe(t=>{this.isLoading=!1,this.filteredCommunes.next(t)}))}setInputsValue(t){this.cpControl.setValue(t.codePostal),this.cityControl.setValue(t.commune)}selectCommuneCP(t){this.communeSelected=t.option.value,this.selectedItem=!0}doesControlHaveError(t,e){return this.parentForm.get(t).hasError(e)}onBlur(){const t=this.parentForm.get("cp").value!==this.cpControl.value,e=this.parentForm.get("ville").value!==this.cityControl.value;(t||e)&&(this.setInputsValue(new d({})),this.selectionChanged.emit(new d({})))}onClose(){this.selectedItem&&this.communeSelected&&(this.setInputsValue(this.communeSelected),this.selectionChanged.emit(this.communeSelected)),this.selectedItem=!1}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(h.d),i.Nb(m.a),i.Nb(p.a))},t.\u0275cmp=i.Hb({type:t,selectors:[["app-communes-autocomplete-2"]],viewQuery:function(t,e){if(1&t&&(i.Lc(w,3),i.Lc(x,3),i.Lc(M,3)),2&t){let t;i.uc(t=i.cc())&&(e.autocompleteTrigger=t.first),i.uc(t=i.cc())&&(e.cpElt=t.first),i.uc(t=i.cc())&&(e.cityElt=t.first)}},inputs:{parentForm:"parentForm",isRequired:"isRequired"},outputs:{selectionChanged:"selectionChanged"},features:[i.zb],decls:16,vars:10,consts:[[1,"inline-item"],["matInput","","data-cy","cp","type","text","autocomplete","no","name","cp-with-autocomplete","appLabel","common.codepostal",3,"formControl","required","matAutocomplete","blur"],["trigger","matAutocompleteTrigger","cpElt",""],[4,"ngIf"],[1,"spacer"],["matInput","","data-cy","ville","type","text","autocomplete","no","name","city-with-autocomplete","appLabel","common.ville",3,"formControl","required","matAutocomplete","blur"],["trigger","matAutocompleteTrigger","cityElt",""],[3,"optionSelected","closed"],["auto","matAutocomplete"],["class","spinner",4,"ngIf","ngIfElse"],["autocompleteList",""],[1,"spinner"],["diameter","50"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(t,e){if(1&t&&(i.Tb(0,"mat-form-field",0),i.Tb(1,"input",1,2),i.bc("blur",function(){return e.onBlur()}),i.Sb(),i.Fc(4,O,3,3,"mat-error",3),i.Sb(),i.Ob(5,"div",4),i.Tb(6,"mat-form-field",0),i.Tb(7,"input",5,6),i.bc("blur",function(){return e.onBlur()}),i.Sb(),i.Fc(10,k,3,3,"mat-error",3),i.Sb(),i.Tb(11,"mat-autocomplete",7,8),i.bc("optionSelected",function(t){return e.selectCommuneCP(t)})("closed",function(){return e.onClose()}),i.Fc(13,S,2,0,"mat-option",9),i.Fc(14,D,2,3,"ng-template",null,10,i.Gc),i.Sb()),2&t){const t=i.vc(12),n=i.vc(15);i.Cb(1),i.nc("formControl",e.cpControl)("required",e.isRequired)("matAutocomplete",t),i.Cb(3),i.nc("ngIf",e.doesControlHaveError("cp","required")),i.Cb(3),i.nc("formControl",e.cityControl)("required",e.isRequired)("matAutocomplete",t),i.Cb(3),i.nc("ngIf",e.doesControlHaveError("ville","required")),i.Cb(3),i.nc("ngIf",e.isLoading)("ngIfElse",n)}},directives:[f.c,g.b,a.c,b.c,_.a,a.o,a.f,a.v,y.l,b.a,f.b,v.m,C.b,y.k],pipes:[h.c,y.b],styles:["[_nghost-%COMP%]{display:-ms-flexbox;display:flex;-ms-flex-flow:row;flex-flow:row}[_nghost-%COMP%] .spacer[_ngcontent-%COMP%]{width:50px}[_nghost-%COMP%] .inline-item[_ngcontent-%COMP%]{-ms-flex:1;flex:1} .spinner{-ms-flex-direction:column;flex-direction:column;margin:16px 0}"],changeDetection:0}),t})()},ePOw:function(t,e,n){"use strict";n.d(e,"a",function(){return i});var i=function(t){return t.ADRESSE="ADRESSE",t.COORDONNEES="COORDONNEES",t}({})},eaIg:function(t,e,n){"use strict";n.d(e,"a",function(){return o});var i=n("cXaA"),a=n("8Y7J"),r=n("IheW");let o=(()=>{class t{constructor(t){this.http=t,this.log=i.a.create("UserDeclarationPrestataireService"),this.BASE_URL_DO="/api/donneur-ordre/declarations-prestataire",this.BASE_URL_ENTREPRISE="/api/entreprise/acces-declaration"}getPrestataires(t){return this.log.data(`[HTTP] (GET) -> ${this.BASE_URL_DO}`),this.http.post(this.BASE_URL_DO,{departements:t})}getDeclarations(t,e,n){return this.log.data(`[HTTP] (GET) -> ${this.BASE_URL_DO}/${t}/declarations/${n}`),this.http.post(`${this.BASE_URL_DO}/${t}/declarations/${n}`,{departements:e})}getDeclarationsValide(t,e,n,i){return this.log.data(`[HTTP] (GET) -> ${this.BASE_URL_DO}/${t}/declarations/${n}`),this.http.post(`${this.BASE_URL_DO}/${t}/declarations/${n}`,{departements:e,raisonSociale:i})}requestAccess(t){return this.log.data(`[HTTP] (GET) -> ${this.BASE_URL_DO}/${t}`),this.http.post(`${this.BASE_URL_DO}/${t}`,null)}getAccess(){return this.log.data(`[HTTP] (GET) -> ${this.BASE_URL_ENTREPRISE}`),this.http.get(this.BASE_URL_ENTREPRISE)}acceptAccess(t){return this.log.data(`[HTTP] (GET) -> ${this.BASE_URL_ENTREPRISE}/${t}`),this.http.post(`${this.BASE_URL_ENTREPRISE}/${t}`,null)}removeAccess(t){return this.log.data(`[HTTP] (GET) -> ${this.BASE_URL_ENTREPRISE}/${t}}`),this.http.delete(`${this.BASE_URL_ENTREPRISE}/${t}`)}}return t.\u0275fac=function(e){return new(e||t)(a.Xb(r.b))},t.\u0275prov=a.Jb({token:t,factory:t.\u0275fac,providedIn:"root"}),t})()},f3LI:function(t,e,n){"use strict";n.d(e,"a",function(){return s});var i=n("8Y7J"),a=function(t){return t.TEXT="text",t.LATIN="latin",t.ALPHA_NUMERIC="alphanum",t.NUMERIC="numeric",t.DECIMAL="decimal",t.SIGNED_DECIMAL="signedDecimal",t}({}),r=function(t){return t[t.Backspace=8]="Backspace",t[t.Delete=46]="Delete",t[t.Shift=16]="Shift",t[t.ArrowLeft=37]="ArrowLeft",t[t.ArrowRight=39]="ArrowRight",t[t.End=35]="End",t[t.Home=36]="Home",t[t.Space=32]="Space",t[t.Insert=45]="Insert",t[t.Tab=9]="Tab",t}({});const o=[r.Backspace,r.Delete,r.Shift,r.ArrowLeft,r.ArrowRight,r.End,r.Home,r.Tab];let s=(()=>{class t{constructor(){this.cursorPosition=null,this.elemVal=null,this.inputType=a.TEXT,this.maxLength=70,this.latinPattern=/[\u0000-\u001F\u0021-\u0026\u0028-\u002C\u002E-\u002F\u0030-\u0040\u005B-\u005F\u007B-\u007F\u00A1-\u00BF\u00D7\u00F7\u0250-\uFFFF]/,this.alphaNumericPattern=/[^A-Za-z0-9]/,this.numericPattern=/[^0-9]/,this.decimalFullPattern=/^[0-9]+\.?[0-9]{0,2}$/,this.signedDecimalFullPattern=/^-?[0-9]+\.?[0-9]{0,5}$/}get appTextField(){return this.inputType}set appTextField(t){this.setInputType(t)}onKeydown(t){if(o.includes(t.keyCode))return;if(this.isPasteShortcut(t))return;this.cursorPosition=t.target.selectionStart;const e=t.target.selectionEnd;this.elemVal=t.target.value;const n=[this.elemVal.slice(0,this.cursorPosition),t.key,this.elemVal.slice(e)].join("");((n.length>this.maxLength||t.char&&this.isForbiddenChar(t.char)||this.isForbiddenChar(n))&&!o.includes(t.keyCode)||this.isUnauthorizedWhitespaces(t,this.cursorPosition,n))&&t.preventDefault()}onPaste(t){this.cursorPosition=t.target.selectionStart,this.elemVal=t.target.value;let e="";window.clipboardData&&window.clipboardData.getData?e=window.clipboardData.getData("Text"):t.clipboardData&&t.clipboardData.getData&&(e=t.clipboardData.getData("text/plain")),((e+this.elemVal).length>this.maxLength||" "===e.charAt(0)&&(0===this.cursorPosition||" "===this.elemVal.charAt(this.cursorPosition-1))||" "===e.charAt(e.length-1)&&" "===this.elemVal.charAt(this.cursorPosition)||-1!==e.indexOf(" ")||this.isForbiddenChar(e))&&t.preventDefault()}onblur(t){const e=t.target.value;if(e){const n=e.charAt(e.length-1);" "===n?t.currentTarget.value=e.trim():"."===n&&this.inputType===a.DECIMAL&&(t.currentTarget.value=e.slice(0,-1))}}isPasteShortcut(t){return t.ctrlKey&&"v"===t.key||t.shiftKey&&t.keyCode===r.Insert}setInputType(t){const e=t.split(":"),n=e[0];switch(n){case a.TEXT:case a.LATIN:this.inputType=n,this.setMaxLength(e[1],70);break;case a.NUMERIC:case a.ALPHA_NUMERIC:case a.DECIMAL:case a.SIGNED_DECIMAL:this.inputType=n,this.setMaxLength(e[1],50)}}setMaxLength(t,e){if(t)try{this.maxLength=parseInt(t,10),this.maxLength<=0&&(this.maxLength=e)}catch(n){this.maxLength=e}else this.maxLength=e}isForbiddenChar(t){switch(this.inputType){case a.TEXT:return!1;case a.LATIN:return this.latinPattern.test(t);case a.ALPHA_NUMERIC:return this.alphaNumericPattern.test(t);case a.NUMERIC:return this.numericPattern.test(t);case a.DECIMAL:return!this.decimalFullPattern.test(t);case a.SIGNED_DECIMAL:return!this.signedDecimalFullPattern.test(t);default:return!1}}isUnauthorizedWhitespaces(t,e,n){if(" "===t.key)return 0===e||" "===n.charAt(e)&&" "!==n.charAt(e+1)&&" "===n.charAt(t.target.selectionEnd+1)&&t.target.selectionEnd>e||" "===n.charAt(e-1)||" "===n.charAt(e+1)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.Ib({type:t,selectors:[["","appTextField",""]],hostBindings:function(t,e){1&t&&i.bc("keydown",function(t){return e.onKeydown(t)})("paste",function(t){return e.onPaste(t)})("blur",function(t){return e.onblur(t)})},inputs:{appTextField:"appTextField"}}),t})()},f4AX:function(t,e,n){"use strict";n.d(e,"a",function(){return d});var i=n("cXaA"),a=n("LRne"),r=n("JIr8"),o=n("EjJx"),s=n("8Y7J"),l=n("IheW"),c=n("qh/L");let d=(()=>{class t{constructor(t,e){this.http=t,this.session=e,this.API_URL="/api/user",this.log=i.a.create("UserService")}get login(){return this.session.refreshToken?o.a(this.session.refreshToken).sub:""}get role(){return this.session.refreshToken?o.a(this.session.refreshToken).role:""}get raisonSociale(){return this.session.refreshToken?o.a(this.session.refreshToken).raisonSociale:""}get numTva(){return this.session.refreshToken?o.a(this.session.refreshToken).numTva:""}get compteLangue(){return this.session.refreshToken?o.a(this.session.refreshToken).compte.langue:""}get compteDpdDefault(){return this.session.refreshToken?o.a(this.session.refreshToken).compte.dpdDefault:""}createUser(t){return this.log.data(`[HTTP] (POST) -> ${this.API_URL}`),this.http.post(this.API_URL,t).pipe(Object(r.a)(t=>Object(a.a)(t.error)))}getUser(){const t=this.API_URL+"/me";return this.log.data(`[HTTP] (GET) -> ${t}`),this.http.get(t).pipe(Object(r.a)(t=>Object(a.a)(t.error)))}getUserByToken(t){const e=this.API_URL+"/token/"+t;return this.log.data(`[HTTP] (GET) -> ${e}`),this.http.get(e).pipe(Object(r.a)(t=>Object(a.a)(t.error)))}updateUser(t){return this.log.data(`[HTTP] (PUT) -> ${this.API_URL}`),this.http.put(this.API_URL,t).pipe(Object(r.a)(t=>Object(a.a)(t.error)))}editPassword(t,e){const n=this.API_URL+"/password";return this.log.data(`[HTTP] (PUT) -> ${n}`),this.http.put(n,{oldPassword:t,newPassword:e}).pipe(Object(r.a)(t=>Object(a.a)(t.error)))}resetPassword(t,e){const n=this.API_URL+"/forgot-password/init";return this.log.data(`[HTTP] (POST) -> ${n}`),this.http.post(n,{login:e,captcha:t}).pipe(Object(r.a)(t=>Object(a.a)(t.error)))}savePassword(t,e){const n=this.API_URL+"/forgot-password/finish";return this.log.data(`[HTTP] (POST) -> ${n}`),this.http.post(n,{token:t,password:e}).pipe(Object(r.a)(t=>Object(a.a)(t.error)))}deleteUser(){return this.log.data(`[HTTP] (DELETE) -> ${this.API_URL}`),this.http.delete(this.API_URL)}}return t.\u0275fac=function(e){return new(e||t)(s.Xb(l.b),s.Xb(c.a))},t.\u0275prov=s.Jb({token:t,factory:t.\u0275fac,providedIn:"root"}),t})()},fEzz:function(t,e,n){"use strict";n.d(e,"a",function(){return k});var i=n("8Y7J"),a=n("s7LF"),r=n("cYWD"),o=n("TSSN"),s=n("ePOw"),l=n("AkaL"),c=n("IheW");let d=(()=>{class t extends l.a{constructor(t){super(t),this.http=t,this.BASE_URL="/api/lieus/search"}setLabel(t){t.autocomplete=t.typeAdresse===s.a.ADRESSE?`${t.nom} - ${t.adresse} ${t.cp} ${t.ville}`:t.typeAdresse===s.a.COORDONNEES?`${t.nom} - ${t.latitude} ${t.longitude} (${t.cp} ${t.ville})`:t.nom}}return t.\u0275fac=function(e){return new(e||t)(i.Xb(c.b))},t.\u0275prov=i.Jb({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();var u=n("WiJD"),h=n("zaPX"),m=n("Q2Ze"),p=n("SVse"),f=n("e6WT"),g=n("vrAh"),b=n("q6Qu"),_=n("UhP/"),y=n("pu8Q");function v(t,e){if(1&t&&(i.Tb(0,"span",8),i.Hc(1),i.Sb()),2&t){const t=i.fc();i.Cc("opacity",t.searchControl.disabled?.7:1),i.Cb(1),i.Ic(t.prefix)}}function C(t,e){1&t&&(i.Tb(0,"mat-option",9),i.Ob(1,"mat-spinner",10),i.Sb())}function w(t,e){if(1&t&&(i.Tb(0,"mat-option",12),i.Hc(1),i.Sb()),2&t){const t=e.$implicit;i.nc("value",t),i.Cb(1),i.Jc(" ",t.autocomplete," ")}}function x(t,e){if(1&t&&i.Fc(0,w,2,2,"mat-option",11),2&t){const t=i.fc();i.nc("ngForOf",t.searchResult)}}const M=[[["mat-error"]],[["mat-icon"]],[["mat-spinner"]],"*"],O=["mat-error","mat-icon","mat-spinner","*"];let k=(()=>{class t extends r.a{constructor(t,e,n,i,a){super(t,e,n,i,a),this.translateService=t,this.searchService=e,this.configurationService=n,this.configSharedService=i,this.changeDetectorRef=a,this.fieldValue="nom"}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(o.d),i.Nb(d),i.Nb(u.a),i.Nb(h.a),i.Nb(i.h))},t.\u0275cmp=i.Hb({type:t,selectors:[["app-lieu-autocomplete-2"]],features:[i.Bb([{provide:a.m,useExisting:Object(i.V)(()=>t),multi:!0}]),i.zb],ngContentSelectors:O,decls:15,vars:11,consts:[["matPrefix","","class","prefix",3,"opacity",4,"ngIf"],["type","text","matInput","","data-cy","autocomplete",3,"name","appLabel","formControl","matAutocomplete","matAutocompleteDisabled","errorStateMatcher","required","blur"],["searchElt",""],[1,"mat-error","otherMessages"],[3,"displayWith","optionSelected"],["auto","matAutocomplete"],["class","spinner",4,"ngIf","ngIfElse"],["listOptions",""],["matPrefix","",1,"prefix"],[1,"spinner"],["diameter","50"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(t,e){if(1&t&&(i.mc(M),i.Tb(0,"mat-form-field"),i.Fc(1,v,2,3,"span",0),i.Tb(2,"input",1,2),i.bc("blur",function(){return e.onBlur()}),i.Sb(),i.Tb(4,"mat-error"),i.lc(5),i.Sb(),i.lc(6,1),i.lc(7,2),i.Sb(),i.Tb(8,"div",3),i.lc(9,3),i.Sb(),i.Tb(10,"mat-autocomplete",4,5),i.bc("optionSelected",function(t){return e.selectOption(t)}),i.Fc(12,C,2,0,"mat-option",6),i.Fc(13,x,1,1,"ng-template",null,7,i.Gc),i.Sb()),2&t){const t=i.vc(11),n=i.vc(14);i.Cb(1),i.nc("ngIf",e.prefix),i.Cb(1),i.nc("name",e.name)("appLabel",e.inputTitle)("formControl",e.searchControl)("matAutocomplete",t)("matAutocompleteDisabled",e.isAutocompleteDisabled)("errorStateMatcher",e.errorStateMatcher)("required",e.isRequired),i.Cb(8),i.nc("displayWith",e.displayFn),i.Cb(2),i.nc("ngIf",e.isLoading)("ngIfElse",n)}},directives:[m.c,p.l,f.b,a.c,g.c,b.a,a.o,a.f,a.v,m.b,g.a,m.g,_.m,y.b,p.k],styles:["[_nghost-%COMP%]{-ms-flex:1;flex:1}[_nghost-%COMP%] mat-form-field[_ngcontent-%COMP%]{width:100%}[_nghost-%COMP%] .otherMessages[_ngcontent-%COMP%]{font-size:75%}[_nghost-%COMP%] .prefix[_ngcontent-%COMP%]{-ms-flex-item-align:center;align-self:center;margin-right:8px}"]}),t})()},fqiG:function(t,e,n){"use strict";n.d(e,"a",function(){return s});var i=n("s7LF"),a=n("zfSa"),r=n("0h1T"),o=n("+sEB");class s{constructor(t,e,n,i,a){this.fb=t,this.user=e,this.countries=n,this.loginDisabled=i,this.captchaDisabled=a}build(){return this.form=this.fb.group({login:this.fb.control({value:this.user.login,disabled:this.loginDisabled},[i.w.email,i.w.maxLength(r.a.EMAIL)]),compte:this.fb.group({langue:this.fb.control(this.user.compte.langue),dpdDefaultSelected:this.fb.control(!!this.user.compte.dpdDefault,[i.w.required]),dpdDefault:this.fb.control({value:this.user.compte.dpdDefault,disabled:!this.user.compte.dpdDefault},[i.w.required])}),entreprise:this.fb.group({raisonSociale:this.fb.control({value:this.user.entreprise.raisonSociale,disabled:this.isUserDonneurHasTVA},[i.w.maxLength(r.a.COMMON)]),adresse:this.fb.group({adresse:this.fb.control({value:this.user.entreprise.adresse.adresse,disabled:this.isUserDonneurHasTVA},[i.w.maxLength(r.a.ADDRESS)]),pays:this.fb.control(this.countries.find(t=>t.code===this.user.entreprise.adresse.pays)),cp:this.fb.control({value:this.user.entreprise.adresse.cp,disabled:this.isUserDonneurHasTVA},[i.w.maxLength(r.a.COMMON)]),ville:this.fb.control({value:this.user.entreprise.adresse.ville,disabled:this.isUserDonneurHasTVA},[i.w.maxLength(r.a.COMMON)]),complementAdresse:this.fb.control({value:this.user.entreprise.adresse.complementAdresse,disabled:this.isUserDonneurHasTVA},[i.w.maxLength(r.a.ADDRESS)])}),dirigeant:new o.a(this.fb,this.user.entreprise.dirigeant,this.countries,!this.isUserEntreprise).build(),email:this.fb.control(this.user.entreprise.email,[i.w.email,i.w.maxLength(r.a.EMAIL)]),telephone:this.fb.control(this.user.entreprise.telephone,[i.w.maxLength(r.a.COMMON)]),status:this.fb.control(this.user.entreprise.status,[i.w.maxLength(r.a.COMMON)]),noTVA:this.fb.control({value:this.user.entreprise.noTVA,disabled:!this.doesCountryHaveTVA()}),numTVA:this.fb.control({value:this.user.entreprise.numTVA,disabled:this.isNoTVAControlDisabled()}),registre:this.fb.control({value:this.user.entreprise.registre,disabled:!this.isNoTVAControlDisabled()},[i.w.maxLength(r.a.COMMON)]),reference:this.fb.control({value:this.user.entreprise.reference,disabled:!this.isNoTVAControlDisabled()},[i.w.maxLength(r.a.COMMON)]),codeNaf:this.fb.control({value:this.user.entreprise.codeNaf,disabled:!0}),siret:this.fb.control(this.user.entreprise.siret,[i.w.pattern("[0-9]{14}")])}),captcha:this.fb.control({value:null,disabled:this.captchaDisabled},[i.w.required])}),this.form}doesCountryHaveTVA(){if(this.user.role===a.a.MANDATAIRE)return!1;let t;return this.user.entreprise.adresse.pays&&(t=this.countries.find(t=>t.code===this.user.entreprise.adresse.pays)),!!t&&!!this.user.entreprise.adresse.pays&&t.hasTVA}isNoTVAControlDisabled(){return this.user.role===a.a.MANDATAIRE||!this.doesCountryHaveTVA()||this.user.entreprise.noTVA}get isUserEntreprise(){return this.user.role===a.a.ENTREPRISE}get isUserDonneurHasTVA(){return this.user.entreprise.numTVA&&this.user.role===a.a.DONNEUR_ORDRE}}},fzPg:function(t,e,n){!function(t){"use strict";t.defineLocale("yo",{months:"S\u1eb9\u0301r\u1eb9\u0301_E\u0300re\u0300le\u0300_\u1eb8r\u1eb9\u0300na\u0300_I\u0300gbe\u0301_E\u0300bibi_O\u0300ku\u0300du_Ag\u1eb9mo_O\u0300gu\u0301n_Owewe_\u1ecc\u0300wa\u0300ra\u0300_Be\u0301lu\u0301_\u1ecc\u0300p\u1eb9\u0300\u0300".split("_"),monthsShort:"S\u1eb9\u0301r_E\u0300rl_\u1eb8rn_I\u0300gb_E\u0300bi_O\u0300ku\u0300_Ag\u1eb9_O\u0300gu\u0301_Owe_\u1ecc\u0300wa\u0300_Be\u0301l_\u1ecc\u0300p\u1eb9\u0300\u0300".split("_"),weekdays:"A\u0300i\u0300ku\u0301_Aje\u0301_I\u0300s\u1eb9\u0301gun_\u1eccj\u1ecd\u0301ru\u0301_\u1eccj\u1ecd\u0301b\u1ecd_\u1eb8ti\u0300_A\u0300ba\u0301m\u1eb9\u0301ta".split("_"),weekdaysShort:"A\u0300i\u0300k_Aje\u0301_I\u0300s\u1eb9\u0301_\u1eccjr_\u1eccjb_\u1eb8ti\u0300_A\u0300ba\u0301".split("_"),weekdaysMin:"A\u0300i\u0300_Aj_I\u0300s_\u1eccr_\u1eccb_\u1eb8t_A\u0300b".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[O\u0300ni\u0300 ni] LT",nextDay:"[\u1ecc\u0300la ni] LT",nextWeek:"dddd [\u1eccs\u1eb9\u0300 to\u0301n'b\u1ecd] [ni] LT",lastDay:"[A\u0300na ni] LT",lastWeek:"dddd [\u1eccs\u1eb9\u0300 to\u0301l\u1ecd\u0301] [ni] LT",sameElse:"L"},relativeTime:{future:"ni\u0301 %s",past:"%s k\u1ecdja\u0301",s:"i\u0300s\u1eb9ju\u0301 aaya\u0301 die",ss:"aaya\u0301 %d",m:"i\u0300s\u1eb9ju\u0301 kan",mm:"i\u0300s\u1eb9ju\u0301 %d",h:"wa\u0301kati kan",hh:"wa\u0301kati %d",d:"\u1ecdj\u1ecd\u0301 kan",dd:"\u1ecdj\u1ecd\u0301 %d",M:"osu\u0300 kan",MM:"osu\u0300 %d",y:"\u1ecddu\u0301n kan",yy:"\u1ecddu\u0301n %d"},dayOfMonthOrdinalParse:/\u1ecdj\u1ecd\u0301\s\d{1,2}/,ordinal:"\u1ecdj\u1ecd\u0301 %d",week:{dow:1,doy:4}})}(n("wd/R"))},g1kL:function(t,e,n){"use strict";n.d(e,"a",function(){return c});var i=n("iInd"),a=n("8Y7J"),r=n("WTUP"),o=n("SVse"),s=n("BTe0");function l(t,e){1&t&&a.Ob(0,"mat-progress-bar",1)}let c=(()=>{class t{constructor(t,e){this.router=t,this.loadingService=e,this.subscriptions=[],this.displayProgressBar=!1}ngOnInit(){this.subscriptions.push(this.router.events.subscribe(t=>this._onRouterNewEvent(t)),this.loadingService.isLoading$.subscribe(t=>this.displayProgressBar=t))}ngOnDestroy(){this.subscriptions.forEach(t=>t.unsubscribe())}_onRouterNewEvent(t){switch(!0){case t instanceof i.e:this.displayProgressBar=!0;break;case t instanceof i.c:case t instanceof i.b:case t instanceof i.d:this.displayProgressBar=!1}}}return t.\u0275fac=function(e){return new(e||t)(a.Nb(i.f),a.Nb(r.a))},t.\u0275cmp=a.Hb({type:t,selectors:[["app-progress-bar"]],decls:1,vars:1,consts:[["mode","indeterminate",4,"ngIf"],["mode","indeterminate"]],template:function(t,e){1&t&&a.Fc(0,l,1,0,"mat-progress-bar",0),2&t&&a.nc("ngIf",e.displayProgressBar)},directives:[o.l,s.a],encapsulation:2}),t})()},gRHU:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("2fFW"),a=n("NJ4a");const r={closed:!0,next(t){},error(t){if(i.a.useDeprecatedSynchronousErrorHandling)throw t;Object(a.a)(t)},complete(){}}},gVVK:function(t,e,n){!function(t){"use strict";function e(t,e,n,i){var a=t+" ";switch(n){case"s":return e||i?"nekaj sekund":"nekaj sekundami";case"ss":return a+(1===t?e?"sekundo":"sekundi":2===t?e||i?"sekundi":"sekundah":t<5?e||i?"sekunde":"sekundah":"sekund");case"m":return e?"ena minuta":"eno minuto";case"mm":return a+(1===t?e?"minuta":"minuto":2===t?e||i?"minuti":"minutama":t<5?e||i?"minute":"minutami":e||i?"minut":"minutami");case"h":return e?"ena ura":"eno uro";case"hh":return a+(1===t?e?"ura":"uro":2===t?e||i?"uri":"urama":t<5?e||i?"ure":"urami":e||i?"ur":"urami");case"d":return e||i?"en dan":"enim dnem";case"dd":return a+(1===t?e||i?"dan":"dnem":2===t?e||i?"dni":"dnevoma":e||i?"dni":"dnevi");case"M":return e||i?"en mesec":"enim mesecem";case"MM":return a+(1===t?e||i?"mesec":"mesecem":2===t?e||i?"meseca":"mesecema":t<5?e||i?"mesece":"meseci":e||i?"mesecev":"meseci");case"y":return e||i?"eno leto":"enim letom";case"yy":return a+(1===t?e||i?"leto":"letom":2===t?e||i?"leti":"letoma":t<5?e||i?"leta":"leti":e||i?"let":"leti")}}t.defineLocale("sl",{months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljek_torek_sreda_\u010detrtek_petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._\u010det._pet._sob.".split("_"),weekdaysMin:"ne_po_to_sr_\u010de_pe_so".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD. MM. YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danes ob] LT",nextDay:"[jutri ob] LT",nextWeek:function(){switch(this.day()){case 0:return"[v] [nedeljo] [ob] LT";case 3:return"[v] [sredo] [ob] LT";case 6:return"[v] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[v] dddd [ob] LT"}},lastDay:"[v\u010deraj ob] LT",lastWeek:function(){switch(this.day()){case 0:return"[prej\u0161njo] [nedeljo] [ob] LT";case 3:return"[prej\u0161njo] [sredo] [ob] LT";case 6:return"[prej\u0161njo] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[prej\u0161nji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"\u010dez %s",past:"pred %s",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("wd/R"))},gekB:function(t,e,n){!function(t){"use strict";var e="nolla yksi kaksi kolme nelj\xe4 viisi kuusi seitsem\xe4n kahdeksan yhdeks\xe4n".split(" "),n=["nolla","yhden","kahden","kolmen","nelj\xe4n","viiden","kuuden",e[7],e[8],e[9]];function i(t,i,a,r){var o="";switch(a){case"s":return r?"muutaman sekunnin":"muutama sekunti";case"ss":o=r?"sekunnin":"sekuntia";break;case"m":return r?"minuutin":"minuutti";case"mm":o=r?"minuutin":"minuuttia";break;case"h":return r?"tunnin":"tunti";case"hh":o=r?"tunnin":"tuntia";break;case"d":return r?"p\xe4iv\xe4n":"p\xe4iv\xe4";case"dd":o=r?"p\xe4iv\xe4n":"p\xe4iv\xe4\xe4";break;case"M":return r?"kuukauden":"kuukausi";case"MM":o=r?"kuukauden":"kuukautta";break;case"y":return r?"vuoden":"vuosi";case"yy":o=r?"vuoden":"vuotta"}return function(t,i){return t<10?i?n[t]:e[t]:t}(t,r)+" "+o}t.defineLocale("fi",{months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kes\xe4kuu_hein\xe4kuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kes\xe4_hein\xe4_elo_syys_loka_marras_joulu".split("_"),weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"Do MMMM[ta] YYYY",LLL:"Do MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, Do MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"Do MMM YYYY",lll:"Do MMM YYYY, [klo] HH.mm",llll:"ddd, Do MMM YYYY, [klo] HH.mm"},calendar:{sameDay:"[t\xe4n\xe4\xe4n] [klo] LT",nextDay:"[huomenna] [klo] LT",nextWeek:"dddd [klo] LT",lastDay:"[eilen] [klo] LT",lastWeek:"[viime] dddd[na] [klo] LT",sameElse:"L"},relativeTime:{future:"%s p\xe4\xe4st\xe4",past:"%s sitten",s:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},gjCT:function(t,e,n){!function(t){"use strict";var e={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},n={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"};t.defineLocale("ar-sa",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a\u0648_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648_\u0623\u063a\u0633\u0637\u0633_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a\u0648_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648_\u0623\u063a\u0633\u0637\u0633_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(t){return"\u0645"===t},meridiem:function(t,e,n){return t<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},preparse:function(t){return t.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(t){return n[t]}).replace(/\u060c/g,",")},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]}).replace(/,/g,"\u060c")},week:{dow:0,doy:6}})}(n("wd/R"))},hGT6:function(t,e,n){"use strict";n.d(e,"a",function(){return i});var i=function(t){return t.FOREIGN_COMPANY="foreignCompanyStep",t.REPRESENTATIVE="representativeStep",t.EXPENSES="expensesStep",t.CLIENT="clientStep",t.LOCATIONS="locationsStep",t.PRESTATION="prestationStep",t.WORKERS="workersStep",t.SINGLE_WORKER="singleWorkerStep",t.TITRE="title",t}({})},hKrs:function(t,e,n){!function(t){"use strict";t.defineLocale("bg",{months:"\u044f\u043d\u0443\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0439_\u044e\u043d\u0438_\u044e\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438_\u043e\u043a\u0442\u043e\u043c\u0432\u0440\u0438_\u043d\u043e\u0435\u043c\u0432\u0440\u0438_\u0434\u0435\u043a\u0435\u043c\u0432\u0440\u0438".split("_"),monthsShort:"\u044f\u043d\u0443_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u044e\u043d\u0438_\u044e\u043b\u0438_\u0430\u0432\u0433_\u0441\u0435\u043f_\u043e\u043a\u0442_\u043d\u043e\u0435_\u0434\u0435\u043a".split("_"),weekdays:"\u043d\u0435\u0434\u0435\u043b\u044f_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u044f\u0434\u0430_\u0447\u0435\u0442\u0432\u044a\u0440\u0442\u044a\u043a_\u043f\u0435\u0442\u044a\u043a_\u0441\u044a\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434_\u043f\u043e\u043d_\u0432\u0442\u043e_\u0441\u0440\u044f_\u0447\u0435\u0442_\u043f\u0435\u0442_\u0441\u044a\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[\u0414\u043d\u0435\u0441 \u0432] LT",nextDay:"[\u0423\u0442\u0440\u0435 \u0432] LT",nextWeek:"dddd [\u0432] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430 \u0432] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[\u041c\u0438\u043d\u0430\u043b\u0430\u0442\u0430] dddd [\u0432] LT";case 1:case 2:case 4:case 5:return"[\u041c\u0438\u043d\u0430\u043b\u0438\u044f] dddd [\u0432] LT"}},sameElse:"L"},relativeTime:{future:"\u0441\u043b\u0435\u0434 %s",past:"\u043f\u0440\u0435\u0434\u0438 %s",s:"\u043d\u044f\u043a\u043e\u043b\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434\u0438",m:"\u043c\u0438\u043d\u0443\u0442\u0430",mm:"%d \u043c\u0438\u043d\u0443\u0442\u0438",h:"\u0447\u0430\u0441",hh:"%d \u0447\u0430\u0441\u0430",d:"\u0434\u0435\u043d",dd:"%d \u0434\u0435\u043d\u0430",w:"\u0441\u0435\u0434\u043c\u0438\u0446\u0430",ww:"%d \u0441\u0435\u0434\u043c\u0438\u0446\u0438",M:"\u043c\u0435\u0441\u0435\u0446",MM:"%d \u043c\u0435\u0441\u0435\u0446\u0430",y:"\u0433\u043e\u0434\u0438\u043d\u0430",yy:"%d \u0433\u043e\u0434\u0438\u043d\u0438"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0435\u0432|\u0435\u043d|\u0442\u0438|\u0432\u0438|\u0440\u0438|\u043c\u0438)/,ordinal:function(t){var e=t%10,n=t%100;return 0===t?t+"-\u0435\u0432":0===n?t+"-\u0435\u043d":n>10&&n<20?t+"-\u0442\u0438":1===e?t+"-\u0432\u0438":2===e?t+"-\u0440\u0438":7===e||8===e?t+"-\u043c\u0438":t+"-\u0442\u0438"},week:{dow:1,doy:7}})}(n("wd/R"))},honF:function(t,e,n){!function(t){"use strict";var e={1:"\u1041",2:"\u1042",3:"\u1043",4:"\u1044",5:"\u1045",6:"\u1046",7:"\u1047",8:"\u1048",9:"\u1049",0:"\u1040"},n={"\u1041":"1","\u1042":"2","\u1043":"3","\u1044":"4","\u1045":"5","\u1046":"6","\u1047":"7","\u1048":"8","\u1049":"9","\u1040":"0"};t.defineLocale("my",{months:"\u1007\u1014\u103a\u1014\u101d\u102b\u101b\u102e_\u1016\u1031\u1016\u1031\u102c\u103a\u101d\u102b\u101b\u102e_\u1019\u1010\u103a_\u1027\u1015\u103c\u102e_\u1019\u1031_\u1007\u103d\u1014\u103a_\u1007\u1030\u101c\u102d\u102f\u1004\u103a_\u101e\u103c\u1002\u102f\u1010\u103a_\u1005\u1000\u103a\u1010\u1004\u103a\u1018\u102c_\u1021\u1031\u102c\u1000\u103a\u1010\u102d\u102f\u1018\u102c_\u1014\u102d\u102f\u101d\u1004\u103a\u1018\u102c_\u1012\u102e\u1007\u1004\u103a\u1018\u102c".split("_"),monthsShort:"\u1007\u1014\u103a_\u1016\u1031_\u1019\u1010\u103a_\u1015\u103c\u102e_\u1019\u1031_\u1007\u103d\u1014\u103a_\u101c\u102d\u102f\u1004\u103a_\u101e\u103c_\u1005\u1000\u103a_\u1021\u1031\u102c\u1000\u103a_\u1014\u102d\u102f_\u1012\u102e".split("_"),weekdays:"\u1010\u1014\u1004\u103a\u1039\u1002\u1014\u103d\u1031_\u1010\u1014\u1004\u103a\u1039\u101c\u102c_\u1021\u1004\u103a\u1039\u1002\u102b_\u1017\u102f\u1012\u1039\u1013\u101f\u1030\u1038_\u1000\u103c\u102c\u101e\u1015\u1010\u1031\u1038_\u101e\u1031\u102c\u1000\u103c\u102c_\u1005\u1014\u1031".split("_"),weekdaysShort:"\u1014\u103d\u1031_\u101c\u102c_\u1002\u102b_\u101f\u1030\u1038_\u1000\u103c\u102c_\u101e\u1031\u102c_\u1014\u1031".split("_"),weekdaysMin:"\u1014\u103d\u1031_\u101c\u102c_\u1002\u102b_\u101f\u1030\u1038_\u1000\u103c\u102c_\u101e\u1031\u102c_\u1014\u1031".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u101a\u1014\u1031.] LT [\u1019\u103e\u102c]",nextDay:"[\u1019\u1014\u1000\u103a\u1016\u103c\u1014\u103a] LT [\u1019\u103e\u102c]",nextWeek:"dddd LT [\u1019\u103e\u102c]",lastDay:"[\u1019\u1014\u1031.\u1000] LT [\u1019\u103e\u102c]",lastWeek:"[\u1015\u103c\u102e\u1038\u1001\u1032\u1037\u101e\u1031\u102c] dddd LT [\u1019\u103e\u102c]",sameElse:"L"},relativeTime:{future:"\u101c\u102c\u1019\u100a\u103a\u1037 %s \u1019\u103e\u102c",past:"\u101c\u103d\u1014\u103a\u1001\u1032\u1037\u101e\u1031\u102c %s \u1000",s:"\u1005\u1000\u1039\u1000\u1014\u103a.\u1021\u1014\u100a\u103a\u1038\u1004\u101a\u103a",ss:"%d \u1005\u1000\u1039\u1000\u1014\u1037\u103a",m:"\u1010\u1005\u103a\u1019\u102d\u1014\u1005\u103a",mm:"%d \u1019\u102d\u1014\u1005\u103a",h:"\u1010\u1005\u103a\u1014\u102c\u101b\u102e",hh:"%d \u1014\u102c\u101b\u102e",d:"\u1010\u1005\u103a\u101b\u1000\u103a",dd:"%d \u101b\u1000\u103a",M:"\u1010\u1005\u103a\u101c",MM:"%d \u101c",y:"\u1010\u1005\u103a\u1014\u103e\u1005\u103a",yy:"%d \u1014\u103e\u1005\u103a"},preparse:function(t){return t.replace(/[\u1041\u1042\u1043\u1044\u1045\u1046\u1047\u1048\u1049\u1040]/g,function(t){return n[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},week:{dow:1,doy:4}})}(n("wd/R"))},"i+32":function(t,e,n){"use strict";n.d(e,"a",function(){return H});var i=n("8Y7J"),a=n("wd/R"),r=n("v/fa"),o=n("Rqom"),s=n("JRaP"),l=function(t){return t.MASCULIN="MASCULIN",t.FEMININ="FEMININ",t}({}),c=n("TSSN"),d=n("zaPX"),u=n("s7LF"),h=n("SVse"),m=n("q6Qu"),p=n("Q2Ze"),f=n("zQhy"),g=n("7pfu"),b=n("pSGz"),_=n("48lP"),y=n("UPR3"),v=n("e6WT"),C=n("G2sr"),w=n("/o2W"),x=n("pMoy"),M=n("NVUN"),O=n("Dxy4"),k=n("Tj54");function S(t,e){if(1&t&&(i.Tb(0,"div",29),i.Tb(1,"div",14),i.Ob(2,"app-date-form-2",30),i.Ob(3,"div",16),i.Ob(4,"app-date-form-2",31),i.Sb(),i.Sb()),2&t){const t=i.fc();i.Cb(2),i.nc("inputTitle","dpd.attestation.debut")("minDate",t.dateFromMinTransport)("maxDate",t.dateFromMaxTransport)("errorMessageMin","dpd.attestation.debut.details")("errorMessageMax","dpd.attestation.debut.details"),i.Cb(2),i.nc("inputTitle",4===t.numeroModele?"dpd.attestation.fin":"dpd.prestation.date.fin")("minDate",t.dateToMinTransport)("maxDate",t.dateToMaxTransport)("startDate",t.startDateTransport)("errorMessageMin","dpd.attestation.fin.details")("errorMessageMax","dpd.attestation.fin.details")}}function T(t,e){if(1&t){const t=i.Ub();i.Tb(0,"div",14),i.Tb(1,"app-date-form-2",32),i.bc("dateChangeEvent",function(){return i.yc(t),i.fc().updateDatesValidity("dateFin")}),i.Sb(),i.Ob(2,"div",16),i.Tb(3,"app-date-form-2",33),i.bc("dateChangeEvent",function(){return i.yc(t),i.fc().updateDatesValidity("dateDebut")}),i.Sb(),i.Sb()}if(2&t){const t=i.fc();i.Cb(1),i.nc("inputTitle","dpd.salarie.date.detachement.debut")("minDate",t.minDateGlobal)("maxDate",t.maxDateDebutDetachement)("isRequired",!0),i.Cb(2),i.nc("inputTitle","dpd.salarie.date.detachement.fin")("startDate",t.minDateFinDetachement)("minDate",t.minDateFinDetachement)("maxDate",t.maxDateGlobal)("isRequired",!0)}}function P(t,e){1&t&&(i.Tb(0,"mat-error"),i.Hc(1),i.gc(2,"translate"),i.Sb()),2&t&&(i.Cb(1),i.Jc(" ",i.hc(2,1,"common.error.requis")," "))}function L(t,e){1&t&&(i.Tb(0,"mat-error"),i.Hc(1),i.gc(2,"translate"),i.Sb()),2&t&&(i.Cb(1),i.Jc(" ",i.hc(2,1,"common.error.length")," "))}function D(t,e){if(1&t&&(i.Tb(0,"mat-form-field",20),i.Ob(1,"input",38),i.Fc(2,P,3,3,"mat-error",22),i.Fc(3,L,3,3,"mat-error",22),i.Sb()),2&t){const t=i.fc(2);i.Cb(2),i.nc("ngIf",t.doesControlHaveError("motifLongueDuree","required")),i.Cb(1),i.nc("ngIf",t.doesControlHaveError("motifLongueDuree","maxlength"))}}function E(t,e){if(1&t){const t=i.Ub();i.Tb(0,"div",34),i.Tb(1,"mat-checkbox",35),i.bc("change",function(e){return i.yc(t),i.fc().onLongueDureeChange(e)}),i.Hc(2),i.gc(3,"translate"),i.Ob(4,"app-infobulle",36),i.Sb(),i.Fc(5,D,4,2,"mat-form-field",37),i.Sb()}if(2&t){const t=i.fc();i.Cb(2),i.Jc(" ",i.hc(3,2,"dpd.salarie.duree.detachement")," "),i.Cb(3),i.nc("ngIf",t.isDetachementLongueDuree)}}function A(t,e){1&t&&(i.Tb(0,"mat-error"),i.Hc(1),i.gc(2,"translate"),i.Sb()),2&t&&(i.Cb(1),i.Jc(" ",i.hc(2,1,"common.error.requis")," "))}function I(t,e){1&t&&(i.Tb(0,"mat-error"),i.Hc(1),i.gc(2,"translate"),i.Sb()),2&t&&(i.Cb(1),i.Jc(" ",i.hc(2,1,"common.error.length")," "))}function R(t,e){1&t&&(i.Tb(0,"mat-error"),i.Hc(1),i.gc(2,"translate"),i.Sb()),2&t&&(i.Cb(1),i.Jc(" ",i.hc(2,1,"common.error.requis")," "))}function N(t,e){if(1&t){const t=i.Ub();i.Tb(0,"div",39),i.Ob(1,"h4",40),i.Tb(2,"div",14),i.Tb(3,"app-country-autocomplete-2",41),i.bc("selectionChanged",function(e){return i.yc(t),i.fc().onPaysRegistreChange(e)}),i.Sb(),i.Sb(),i.Sb()}if(2&t){const t=i.fc();i.Cb(3),i.nc("countryCtrl",t.paysRegistreCtrl)("inputTitle","dpd.droit.travail")("isRequired",!0)}}function Y(t,e){if(1&t){const t=i.Ub();i.Tb(0,"div",42),i.Tb(1,"button",43),i.bc("click",function(){return i.yc(t),i.fc().onSubmit()}),i.Tb(2,"mat-icon"),i.Hc(3,"done"),i.Sb(),i.Sb(),i.Tb(4,"button",44),i.bc("click",function(){return i.yc(t),i.fc().close()}),i.Tb(5,"mat-icon"),i.Hc(6,"clear"),i.Sb(),i.Sb(),i.Sb()}if(2&t){const t=i.fc();i.Cb(1),i.nc("ngClass",t.getGreenValidationButton()?"green-btn":"orange-btn")}}let H=(()=>{class t extends r.a{constructor(t,e,n){super(t),this.translateService=t,this.configSharedService=e,this.changeDetectorRef=n,this.submitWorkerEvent=new i.o,this.closeEvent=new i.o,this.gender=l,this.dateFromMinTransport=new Date,this.dateFromMaxTransport=a(new Date).add(2,"month").toDate()}set formGp(t){this.form=t,this.changeDetectorRef.reattach()}load(){this.numeroModele=this.configSharedService.numeroModele;const t=o.a.getGlobalDates(this.dateFromCtrl.value,this.isModeComplete());this.minDateGlobal=a(t[0]).toDate(),this.maxDateGlobal=a(t[1]).toDate()}get identityFg(){return this.form.get("identite")}get nationalityCtrl(){return this.form.get("nationalite")}get paysSecuCtrl(){return this.form.get("paysSecu")}get paysRegistreCtrl(){return this.form.get("paysRegistre")}get addressFg(){return this.form.get("adresse")}get dateContractCtrl(){return this.form.get("dateContrat")}get dateFromCtrl(){return this.form.get("dateDebut")}get dateToCtrl(){return this.form.get("dateFin")}get startDateTransport(){return this.dateFromCtrl.value?this.dateFromCtrl.value:null}get dateToMinTransport(){return this.dateFromCtrl.value?this.dateFromCtrl.value:this.dateFromMinTransport}get dateToMaxTransport(){return this.dateFromCtrl.value?a(this.dateFromCtrl.value).add(6,"month").toDate():null}get startDateContract(){return this.dateFromCtrl.value}get maxDateDebutDetachement(){return this.dateToCtrl.value?this.dateToCtrl.value:this.maxDateGlobal}get minDateFinDetachement(){return this.dateFromCtrl.value?this.dateFromCtrl.value:this.minDateGlobal}get isDetachementLongueDuree(){return this.form.get("isDetachementLongueDuree").value}isModeComplete(){return this.configSharedService.mode===s.a.COMPLETION}getGreenValidationButton(){return this.isWorkerFormValidExceptIsSavedInArrayControl(this.form)}isWorkerFormValidExceptIsSavedInArrayControl(t){let e=!0;return Object.entries(t.controls).every(t=>"isSavedInArray"===t[0]||!t[1].invalid||(e=!1,!1)),e}toggleSalary(t){t?(this.form.get("salaire").setValue(null),this.form.get("salaire").disable()):this.form.get("salaire").enable()}onSubmit(){this.submitWorkerEvent.emit(this.form)}close(){this.closeEvent.emit()}onNationalityChange(t){this.nationalityCtrl.setValue(t)}onPaysSecuChange(t){this.paysSecuCtrl.setValue(t)}onPaysRegistreChange(t){this.paysRegistreCtrl.setValue(t)}onLongueDureeChange(t){t.checked?this.form.get("motifLongueDuree").enable():(this.form.get("motifLongueDuree").disable(),this.form.get("motifLongueDuree").setValue(null))}updateDatesValidity(t){this.form.get(t).updateValueAndValidity()}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(c.d),i.Nb(d.a),i.Nb(i.h))},t.\u0275cmp=i.Hb({type:t,selectors:[["app-single-worker-form-2"]],inputs:{formGp:"formGp"},outputs:{submitWorkerEvent:"submitWorkerEvent",closeEvent:"closeEvent"},features:[i.zb],decls:48,vars:42,consts:[[3,"formGroup"],["class","box-margin",4,"ngIf"],["id","bloc-information"],["appLabel","dpd.salarie.info"],[1,"radio","inline-form"],["name","gender","formControlName","sexe","required",""],["data-cy","button-masculin","color","primary",3,"value"],["data-cy","button-feminin","color","primary",3,"value"],["data-cy","salarie",3,"formGp"],["data-cy","nationalite","id","nationalite",1,"full-width",3,"countryCtrl","inputTitle","isRequired","selectionChanged"],["id","bloc-adresse"],["data-cy","salarie-adresse",3,"formGp","isRequired"],["id","bloc-detachement"],["appLabel","dpd.salarie.info.detachement"],[1,"inline-form"],["data-cy","pays-secu",1,"inline-item",3,"countryCtrl","inputTitle","isRequired","selectionChanged"],[1,"spacer"],["data-cy","date-contrat","formControlName","dateContrat",1,"inline-item",3,"inputTitle","maxDate","isRequired"],["class","inline-form",4,"ngIf"],["class","longue_duree_section",4,"ngIf"],[1,"inline-item"],["matInput","","data-cy","emploi","type","text","name","emploi","appLabel","dpd.salarie.emploi","formControlName","emploi",3,"required"],[4,"ngIf"],[1,"inline-item",3,"parentForm","isRequired"],["matInput","","data-cy","salaire","type","text","min","0.01","appNumber","float","name","salaire","appLabel","dpd.salarie.salaire","formControlName","salaire",3,"required"],["data-cy","salaire-specifique","color","primary","name","specificSalary","formControlName","salaireSpecifique",3,"change"],["message","dpd.salarie.salaire.specifique._info"],["id","bloc-droit",4,"ngIf"],["class","workers-action",4,"ngIf"],[1,"box-margin"],["formControlName","dateDebut",1,"inline-item",3,"inputTitle","minDate","maxDate","errorMessageMin","errorMessageMax"],["formControlName","dateFin",1,"inline-item",3,"inputTitle","minDate","maxDate","startDate","errorMessageMin","errorMessageMax"],["data-cy","date-debut","formControlName","dateDebut",1,"inline-item",3,"inputTitle","minDate","maxDate","isRequired","dateChangeEvent"],["data-cy","date-fin","formControlName","dateFin",1,"inline-item",3,"inputTitle","startDate","minDate","maxDate","isRequired","dateChangeEvent"],[1,"longue_duree_section"],["color","primary","name","detachement-longue-duree","formControlName","isDetachementLongueDuree",3,"change"],["message","dpd.salarie.duree.detachement._info"],["class","inline-item",4,"ngIf"],["matInput","","type","text","name","motif-longue-duree","appLabel","dpd.salarie.motif.detachement","formControlName","motifLongueDuree","required",""],["id","bloc-droit"],["appLabel","dpd.droit.travail"],[1,"inline-item",3,"countryCtrl","inputTitle","isRequired","selectionChanged"],[1,"workers-action"],["mat-raised-button","","id","btn-add-salarie","aria-label","done","type","button",1,"mat-raised-button",3,"ngClass","click"],["mat-button","","aria-label","clear","type","button","color","warn",3,"click"]],template:function(t,e){1&t&&(i.Tb(0,"form",0),i.Fc(1,S,5,11,"div",1),i.Tb(2,"div",2),i.Ob(3,"h4",3),i.Tb(4,"div",4),i.Tb(5,"mat-label"),i.Hc(6),i.gc(7,"translate"),i.Sb(),i.Tb(8,"mat-radio-group",5),i.Tb(9,"mat-radio-button",6),i.Hc(10),i.gc(11,"translate"),i.Sb(),i.Tb(12,"mat-radio-button",7),i.Hc(13),i.gc(14,"translate"),i.Sb(),i.Sb(),i.Sb(),i.Ob(15,"app-person-form-2",8),i.Tb(16,"app-country-autocomplete-2",9),i.bc("selectionChanged",function(t){return e.onNationalityChange(t)}),i.Sb(),i.Sb(),i.Tb(17,"div",10),i.Tb(18,"h4"),i.Hc(19),i.gc(20,"translate"),i.Sb(),i.Ob(21,"app-address-form-2",11),i.Sb(),i.Tb(22,"div",12),i.Ob(23,"h4",13),i.Tb(24,"div",14),i.Tb(25,"app-country-autocomplete-2",15),i.bc("selectionChanged",function(t){return e.onPaysSecuChange(t)}),i.Sb(),i.Ob(26,"div",16),i.Ob(27,"app-date-form-2",17),i.Sb(),i.Fc(28,T,4,9,"div",18),i.Fc(29,E,6,4,"div",19),i.Tb(30,"div",14),i.Tb(31,"mat-form-field",20),i.Ob(32,"input",21),i.Fc(33,A,3,3,"mat-error",22),i.Fc(34,I,3,3,"mat-error",22),i.Sb(),i.Sb(),i.Tb(35,"div",14),i.Ob(36,"app-qualification-form-2",23),i.Ob(37,"div",16),i.Tb(38,"mat-form-field",20),i.Ob(39,"input",24),i.Fc(40,R,3,3,"mat-error",22),i.Sb(),i.Sb(),i.Tb(41,"div",14),i.Tb(42,"mat-checkbox",25),i.bc("change",function(t){return e.toggleSalary(t.checked)}),i.Hc(43),i.gc(44,"translate"),i.Ob(45,"app-infobulle",26),i.Sb(),i.Sb(),i.Sb(),i.Fc(46,N,4,3,"div",27),i.Fc(47,Y,7,1,"div",28),i.Sb()),2&t&&(i.nc("formGroup",e.form),i.Cb(1),i.nc("ngIf",4===e.numeroModele),i.Cb(5),i.Ic(i.hc(7,32,"common.sexe")),i.Cb(3),i.nc("value",e.gender.MASCULIN),i.Cb(1),i.Jc(" ",i.hc(11,34,"common.sexe.masculin")," "),i.Cb(2),i.nc("value",e.gender.FEMININ),i.Cb(1),i.Jc(" ",i.hc(14,36,"common.sexe.feminin")," "),i.Cb(2),i.nc("formGp",e.identityFg),i.Cb(1),i.nc("countryCtrl",e.nationalityCtrl)("inputTitle","common.nationalite")("isRequired",!0),i.Cb(3),i.Ic(i.hc(20,38,"common.adresse")),i.Cb(2),i.nc("formGp",e.addressFg)("isRequired",7!==e.numeroModele),i.Cb(4),i.nc("countryCtrl",e.paysSecuCtrl)("inputTitle","dpd.salarie.secu")("isRequired",7!==e.numeroModele),i.Cb(2),i.nc("inputTitle","dpd.salarie.date.contrat")("maxDate",e.startDateContract)("isRequired",7!==e.numeroModele),i.Cb(1),i.nc("ngIf",4!==e.numeroModele),i.Cb(1),i.nc("ngIf",4!==e.numeroModele),i.Cb(3),i.nc("required",7!==e.numeroModele),i.Cb(1),i.nc("ngIf",e.doesControlHaveError("emploi","required")),i.Cb(1),i.nc("ngIf",e.doesControlHaveError("emploi","maxlength")),i.Cb(2),i.nc("parentForm",e.form)("isRequired",7!==e.numeroModele),i.Cb(3),i.nc("required",7!==e.numeroModele),i.Cb(1),i.nc("ngIf",e.doesControlHaveError("salaire","required")),i.Cb(3),i.Jc(" ",i.hc(44,40,"dpd.salarie.salaire.specifique")," "),i.Cb(3),i.nc("ngIf",4===e.numeroModele),i.Cb(1),i.nc("ngIf",4!==e.numeroModele))},directives:[u.x,u.p,u.i,h.l,m.a,p.f,f.b,u.o,u.g,u.v,f.a,g.a,b.a,_.a,y.a,p.c,v.b,u.c,C.a,w.a,x.a,M.a,p.b,O.a,h.j,k.a],pipes:[c.c],styles:["h4[_ngcontent-%COMP%]{margin:0 0 8px -16px;padding-bottom:16px;padding-top:8px;border-bottom:1px solid #999}.full-width[_ngcontent-%COMP%]{width:100%}.longue_duree_section[_ngcontent-%COMP%]{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.inline-form[_ngcontent-%COMP%]{display:-ms-flexbox;display:flex;-ms-flex-flow:row;flex-flow:row}.inline-form[_ngcontent-%COMP%] .spacer[_ngcontent-%COMP%]{width:50px}.inline-form[_ngcontent-%COMP%] .inline-item[_ngcontent-%COMP%]{-ms-flex:1;flex:1}.inline-form[_ngcontent-%COMP%] mat-radio-button[_ngcontent-%COMP%]{margin:0 12px}.radio[_ngcontent-%COMP%]{padding:8px 0}.workers-action[_ngcontent-%COMP%]{display:-ms-flexbox;display:flex;-ms-flex-direction:row-reverse;flex-direction:row-reverse}"],changeDetection:0}),t})()},iEDd:function(t,e,n){!function(t){"use strict";t.defineLocale("gl",{months:"xaneiro_febreiro_marzo_abril_maio_xu\xf1o_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),monthsShort:"xan._feb._mar._abr._mai._xu\xf1._xul._ago._set._out._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"domingo_luns_martes_m\xe9rcores_xoves_venres_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._m\xe9r._xov._ven._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_m\xe9_xo_ve_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoxe "+(1!==this.hours()?"\xe1s":"\xe1")+"] LT"},nextDay:function(){return"[ma\xf1\xe1 "+(1!==this.hours()?"\xe1s":"\xe1")+"] LT"},nextWeek:function(){return"dddd ["+(1!==this.hours()?"\xe1s":"a")+"] LT"},lastDay:function(){return"[onte "+(1!==this.hours()?"\xe1":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+(1!==this.hours()?"\xe1s":"a")+"] LT"},sameElse:"L"},relativeTime:{future:function(t){return 0===t.indexOf("un")?"n"+t:"en "+t},past:"hai %s",s:"uns segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(n("wd/R"))},iELJ:function(t,e,n){"use strict";n.d(e,"a",function(){return S}),n.d(e,"b",function(){return E}),n.d(e,"c",function(){return N}),n.d(e,"d",function(){return R}),n.d(e,"e",function(){return Y}),n.d(e,"f",function(){return O}),n.d(e,"g",function(){return I});var i=n("1O3W"),a=n("1z/I"),r=n("8Y7J"),o=n("UhP/"),s=n("9gLZ"),l=n("SVse"),c=n("XNiG"),d=n("NXyV"),u=n("LRne"),h=n("pLZG"),m=n("IzEk"),p=n("JX91"),f=n("GS7A"),g=n("Ht+U"),b=n("YEUz");function _(t,e){}class y{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.autoFocus=!0,this.restoreFocus=!0,this.closeOnNavigation=!0}}const v={dialogContainer:Object(f.n)("dialogContainer",[Object(f.k)("void, exit",Object(f.l)({opacity:0,transform:"scale(0.7)"})),Object(f.k)("enter",Object(f.l)({transform:"none"})),Object(f.m)("* => enter",Object(f.e)("150ms cubic-bezier(0, 0, 0.2, 1)",Object(f.l)({transform:"none",opacity:1}))),Object(f.m)("* => void, * => exit",Object(f.e)("75ms cubic-bezier(0.4, 0.0, 0.2, 1)",Object(f.l)({opacity:0})))])};let C=(()=>{class t extends a.a{constructor(t,e,n,i,a,o){super(),this._elementRef=t,this._focusTrapFactory=e,this._changeDetectorRef=n,this._config=a,this._focusMonitor=o,this._animationStateChanged=new r.o,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this.attachDomPortal=t=>(this._portalOutlet.hasAttached(),this._portalOutlet.attachDomPortal(t)),this._ariaLabelledBy=a.ariaLabelledBy||null,this._document=i}_initializeWithAttachedContent(){this._setupFocusTrap(),this._capturePreviouslyFocusedElement(),this._focusDialogContainer()}attachComponentPortal(t){return this._portalOutlet.hasAttached(),this._portalOutlet.attachComponentPortal(t)}attachTemplatePortal(t){return this._portalOutlet.hasAttached(),this._portalOutlet.attachTemplatePortal(t)}_recaptureFocus(){this._containsFocus()||(!this._config.autoFocus||!this._focusTrap.focusInitialElement())&&this._elementRef.nativeElement.focus()}_trapFocus(){this._config.autoFocus?this._focusTrap.focusInitialElementWhenReady():this._containsFocus()||this._elementRef.nativeElement.focus()}_restoreFocus(){const t=this._elementFocusedBeforeDialogWasOpened;if(this._config.restoreFocus&&t&&"function"==typeof t.focus){const e=this._document.activeElement,n=this._elementRef.nativeElement;e&&e!==this._document.body&&e!==n&&!n.contains(e)||(this._focusMonitor?(this._focusMonitor.focusVia(t,this._closeInteractionType),this._closeInteractionType=null):t.focus())}this._focusTrap&&this._focusTrap.destroy()}_setupFocusTrap(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement)}_capturePreviouslyFocusedElement(){this._document&&(this._elementFocusedBeforeDialogWasOpened=this._document.activeElement)}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const t=this._elementRef.nativeElement,e=this._document.activeElement;return t===e||t.contains(e)}}return t.\u0275fac=function(e){return new(e||t)(r.Nb(r.l),r.Nb(b.i),r.Nb(r.h),r.Nb(l.d,8),r.Nb(y),r.Nb(b.h))},t.\u0275dir=r.Ib({type:t,viewQuery:function(t,e){if(1&t&&r.Lc(a.c,3),2&t){let t;r.uc(t=r.cc())&&(e._portalOutlet=t.first)}},features:[r.zb]}),t})(),w=(()=>{class t extends C{constructor(){super(...arguments),this._state="enter"}_onAnimationDone({toState:t,totalTime:e}){"enter"===t?(this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:e})):"exit"===t&&(this._restoreFocus(),this._animationStateChanged.next({state:"closed",totalTime:e}))}_onAnimationStart({toState:t,totalTime:e}){"enter"===t?this._animationStateChanged.next({state:"opening",totalTime:e}):"exit"!==t&&"void"!==t||this._animationStateChanged.next({state:"closing",totalTime:e})}_startExitAnimation(){this._state="exit",this._changeDetectorRef.markForCheck()}}return t.\u0275fac=function(e){return x(e||t)},t.\u0275cmp=r.Hb({type:t,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1","aria-modal","true",1,"mat-dialog-container"],hostVars:6,hostBindings:function(t,e){1&t&&r.Dc("@dialogContainer.start",function(t){return e._onAnimationStart(t)})("@dialogContainer.done",function(t){return e._onAnimationDone(t)}),2&t&&(r.Wb("id",e._id),r.Db("role",e._config.role)("aria-labelledby",e._config.ariaLabel?null:e._ariaLabelledBy)("aria-label",e._config.ariaLabel)("aria-describedby",e._config.ariaDescribedBy||null),r.Ec("@dialogContainer",e._state))},features:[r.zb],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(t,e){1&t&&r.Fc(0,_,0,0,"ng-template",0)},directives:[a.c],styles:[".mat-dialog-container{display:block;padding:24px;border-radius:4px;box-sizing:border-box;overflow:auto;outline:0;width:100%;height:100%;min-height:inherit;max-height:inherit}.cdk-high-contrast-active .mat-dialog-container{outline:solid 1px}.mat-dialog-content{display:block;margin:0 -24px;padding:0 24px;max-height:65vh;overflow:auto;-webkit-overflow-scrolling:touch}.mat-dialog-title{margin:0 0 20px;display:block}.mat-dialog-actions{padding:8px 0;display:flex;flex-wrap:wrap;min-height:52px;align-items:center;box-sizing:content-box;margin-bottom:-24px}.mat-dialog-actions[align=end]{justify-content:flex-end}.mat-dialog-actions[align=center]{justify-content:center}.mat-dialog-actions .mat-button-base+.mat-button-base,.mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}\n"],encapsulation:2,data:{animation:[v.dialogContainer]}}),t})();const x=r.Vb(w);let M=0;class O{constructor(t,e,n="mat-dialog-"+M++){this._overlayRef=t,this._containerInstance=e,this.id=n,this.disableClose=this._containerInstance._config.disableClose,this._afterOpened=new c.a,this._afterClosed=new c.a,this._beforeClosed=new c.a,this._state=0,e._id=n,e._animationStateChanged.pipe(Object(h.a)(t=>"opened"===t.state),Object(m.a)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),e._animationStateChanged.pipe(Object(h.a)(t=>"closed"===t.state),Object(m.a)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),t.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._afterClosed.next(this._result),this._afterClosed.complete(),this.componentInstance=null,this._overlayRef.dispose()}),t.keydownEvents().pipe(Object(h.a)(t=>t.keyCode===g.f&&!this.disableClose&&!Object(g.r)(t))).subscribe(t=>{t.preventDefault(),k(this,"keyboard")}),t.backdropClick().subscribe(()=>{this.disableClose?this._containerInstance._recaptureFocus():k(this,"mouse")})}close(t){this._result=t,this._containerInstance._animationStateChanged.pipe(Object(h.a)(t=>"closing"===t.state),Object(m.a)(1)).subscribe(e=>{this._beforeClosed.next(t),this._beforeClosed.complete(),this._overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),e.totalTime+100)}),this._state=1,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._afterClosed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._overlayRef.backdropClick()}keydownEvents(){return this._overlayRef.keydownEvents()}updatePosition(t){let e=this._getPositionStrategy();return t&&(t.left||t.right)?t.left?e.left(t.left):e.right(t.right):e.centerHorizontally(),t&&(t.top||t.bottom)?t.top?e.top(t.top):e.bottom(t.bottom):e.centerVertically(),this._overlayRef.updatePosition(),this}updateSize(t="",e=""){return this._overlayRef.updateSize({width:t,height:e}),this._overlayRef.updatePosition(),this}addPanelClass(t){return this._overlayRef.addPanelClass(t),this}removePanelClass(t){return this._overlayRef.removePanelClass(t),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._overlayRef.dispose()}_getPositionStrategy(){return this._overlayRef.getConfig().positionStrategy}}function k(t,e,n){return void 0!==t._containerInstance&&(t._containerInstance._closeInteractionType=e),t.close(n)}const S=new r.s("MatDialogData"),T=new r.s("mat-dialog-default-options"),P=new r.s("mat-dialog-scroll-strategy"),L={provide:P,deps:[i.c],useFactory:function(t){return()=>t.scrollStrategies.block()}};let D=(()=>{class t{constructor(t,e,n,i,a,r,o,s,l){this._overlay=t,this._injector=e,this._defaultOptions=n,this._parentDialog=i,this._overlayContainer=a,this._dialogRefConstructor=o,this._dialogContainerType=s,this._dialogDataToken=l,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new c.a,this._afterOpenedAtThisLevel=new c.a,this._ariaHiddenElements=new Map,this.afterAllClosed=Object(d.a)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Object(p.a)(void 0))),this._scrollStrategy=r}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const t=this._parentDialog;return t?t._getAfterAllClosed():this._afterAllClosedAtThisLevel}open(t,e){(e=function(t,e){return Object.assign(Object.assign({},e),t)}(e,this._defaultOptions||new y)).id&&this.getDialogById(e.id);const n=this._createOverlay(e),i=this._attachDialogContainer(n,e),a=this._attachDialogContent(t,i,n,e);return this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(a),a.afterClosed().subscribe(()=>this._removeOpenDialog(a)),this.afterOpened.next(a),i._initializeWithAttachedContent(),a}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(t){return this.openDialogs.find(e=>e.id===t)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_createOverlay(t){const e=this._getOverlayConfig(t);return this._overlay.create(e)}_getOverlayConfig(t){const e=new i.d({positionStrategy:this._overlay.position().global(),scrollStrategy:t.scrollStrategy||this._scrollStrategy(),panelClass:t.panelClass,hasBackdrop:t.hasBackdrop,direction:t.direction,minWidth:t.minWidth,minHeight:t.minHeight,maxWidth:t.maxWidth,maxHeight:t.maxHeight,disposeOnNavigation:t.closeOnNavigation});return t.backdropClass&&(e.backdropClass=t.backdropClass),e}_attachDialogContainer(t,e){const n=r.t.create({parent:e&&e.viewContainerRef&&e.viewContainerRef.injector||this._injector,providers:[{provide:y,useValue:e}]}),i=new a.d(this._dialogContainerType,e.viewContainerRef,n,e.componentFactoryResolver);return t.attach(i).instance}_attachDialogContent(t,e,n,i){const o=new this._dialogRefConstructor(n,e,i.id);if(t instanceof r.N)e.attachTemplatePortal(new a.g(t,null,{$implicit:i.data,dialogRef:o}));else{const n=this._createInjector(i,o,e),r=e.attachComponentPortal(new a.d(t,i.viewContainerRef,n));o.componentInstance=r.instance}return o.updateSize(i.width,i.height).updatePosition(i.position),o}_createInjector(t,e,n){const i=t&&t.viewContainerRef&&t.viewContainerRef.injector,a=[{provide:this._dialogContainerType,useValue:n},{provide:this._dialogDataToken,useValue:t.data},{provide:this._dialogRefConstructor,useValue:e}];return!t.direction||i&&i.get(s.b,null)||a.push({provide:s.b,useValue:{value:t.direction,change:Object(u.a)()}}),r.t.create({parent:i||this._injector,providers:a})}_removeOpenDialog(t){const e=this.openDialogs.indexOf(t);e>-1&&(this.openDialogs.splice(e,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((t,e)=>{t?e.setAttribute("aria-hidden",t):e.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const t=this._overlayContainer.getContainerElement();if(t.parentElement){const e=t.parentElement.children;for(let n=e.length-1;n>-1;n--){let i=e[n];i===t||"SCRIPT"===i.nodeName||"STYLE"===i.nodeName||i.hasAttribute("aria-live")||(this._ariaHiddenElements.set(i,i.getAttribute("aria-hidden")),i.setAttribute("aria-hidden","true"))}}}_closeDialogs(t){let e=t.length;for(;e--;)t[e].close()}}return t.\u0275fac=function(e){return new(e||t)(r.Nb(i.c),r.Nb(r.t),r.Nb(void 0),r.Nb(void 0),r.Nb(i.e),r.Nb(void 0),r.Nb(r.P),r.Nb(r.P),r.Nb(r.s))},t.\u0275dir=r.Ib({type:t}),t})(),E=(()=>{class t extends D{constructor(t,e,n,i,a,r,o){super(t,e,i,r,o,a,O,w,S)}}return t.\u0275fac=function(e){return new(e||t)(r.Xb(i.c),r.Xb(r.t),r.Xb(l.h,8),r.Xb(T,8),r.Xb(P),r.Xb(t,12),r.Xb(i.e))},t.\u0275prov=r.Jb({token:t,factory:t.\u0275fac}),t})(),A=0,I=(()=>{class t{constructor(t,e,n){this._dialogRef=t,this._elementRef=e,this._dialog=n,this.id="mat-dialog-title-"+A++}ngOnInit(){this._dialogRef||(this._dialogRef=function(t,e){let n=t.nativeElement.parentElement;for(;n&&!n.classList.contains("mat-dialog-container");)n=n.parentElement;return n?e.find(t=>t.id===n.id):null}(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{const t=this._dialogRef._containerInstance;t&&!t._ariaLabelledBy&&(t._ariaLabelledBy=this.id)})}}return t.\u0275fac=function(e){return new(e||t)(r.Nb(O,8),r.Nb(r.l),r.Nb(E))},t.\u0275dir=r.Ib({type:t,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-dialog-title"],hostVars:1,hostBindings:function(t,e){2&t&&r.Wb("id",e.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]}),t})(),R=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=r.Ib({type:t,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-dialog-content"]}),t})(),N=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=r.Ib({type:t,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-dialog-actions"]}),t})(),Y=(()=>{class t{}return t.\u0275mod=r.Lb({type:t}),t.\u0275inj=r.Kb({factory:function(e){return new(e||t)},providers:[E,L],imports:[[i.f,a.f,o.j],o.j]}),t})()},iInd:function(t,e,n){"use strict";n.d(e,"a",function(){return Gt}),n.d(e,"b",function(){return q}),n.d(e,"c",function(){return U}),n.d(e,"d",function(){return G}),n.d(e,"e",function(){return W}),n.d(e,"f",function(){return mn}),n.d(e,"g",function(){return pn}),n.d(e,"h",function(){return bn}),n.d(e,"i",function(){return fn}),n.d(e,"j",function(){return Tn}),n.d(e,"k",function(){return _n});var i=n("SVse"),a=n("8Y7J"),r=n("Cfvw"),o=n("LRne"),s=n("2Vo4"),l=n("itXk"),c=n("HDdC");const d=(()=>{function t(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return t.prototype=Object.create(Error.prototype),t})();var u=n("GyhO"),h=n("NXyV"),m=n("EY2u"),p=n("XNiG"),f=n("lJxs"),g=n("eIep"),b=n("IzEk"),_=n("JX91"),y=n("7o/Q");function v(t,e){let n=!1;return arguments.length>=2&&(n=!0),function(i){return i.lift(new C(t,e,n))}}class C{constructor(t,e,n=!1){this.accumulator=t,this.seed=e,this.hasSeed=n}call(t,e){return e.subscribe(new w(t,this.accumulator,this.seed,this.hasSeed))}}class w extends y.a{constructor(t,e,n,i){super(t),this.accumulator=e,this._seed=n,this.hasSeed=i,this.index=0}get seed(){return this._seed}set seed(t){this.hasSeed=!0,this._seed=t}_next(t){if(this.hasSeed)return this._tryNext(t);this.seed=t,this.destination.next(t)}_tryNext(t){const e=this.index++;let n;try{n=this.accumulator(this.seed,t,e)}catch(i){this.destination.error(i)}this.seed=n,this.destination.next(n)}}var x=n("pLZG"),M=n("JIr8"),O=n("bOdf"),k=n("4I5i");function S(t){return function(e){return 0===t?Object(m.b)():e.lift(new T(t))}}class T{constructor(t){if(this.total=t,this.total<0)throw new k.a}call(t,e){return e.subscribe(new P(t,this.total))}}class P extends y.a{constructor(t,e){super(t),this.total=e,this.ring=new Array,this.count=0}_next(t){const e=this.ring,n=this.total,i=this.count++;e.length<n?e.push(t):e[i%n]=t}_complete(){const t=this.destination;let e=this.count;if(e>0){const n=this.count>=this.total?this.total:this.count,i=this.ring;for(let a=0;a<n;a++){const a=e++%n;t.next(i[a])}}t.complete()}}function L(t=A){return e=>e.lift(new D(t))}class D{constructor(t){this.errorFactory=t}call(t,e){return e.subscribe(new E(t,this.errorFactory))}}class E extends y.a{constructor(t,e){super(t),this.errorFactory=e,this.hasValue=!1}_next(t){this.hasValue=!0,this.destination.next(t)}_complete(){if(this.hasValue)return this.destination.complete();{let e;try{e=this.errorFactory()}catch(t){e=t}this.destination.error(e)}}}function A(){return new d}function I(t=null){return e=>e.lift(new R(t))}class R{constructor(t){this.defaultValue=t}call(t,e){return e.subscribe(new N(t,this.defaultValue))}}class N extends y.a{constructor(t,e){super(t),this.defaultValue=e,this.isEmpty=!0}_next(t){this.isEmpty=!1,this.destination.next(t)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}var Y=n("SpAZ");function H(t,e){const n=arguments.length>=2;return i=>i.pipe(t?Object(x.a)((e,n)=>t(e,n,i)):Y.a,Object(b.a)(1),n?I(e):L(()=>new d))}var j=n("5+tZ"),F=n("vkgz"),z=n("nYR2"),V=n("bHdf");class B{constructor(t,e){this.id=t,this.url=e}}class W extends B{constructor(t,e,n="imperative",i=null){super(t,e),this.navigationTrigger=n,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class U extends B{constructor(t,e,n){super(t,e),this.urlAfterRedirects=n}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class q extends B{constructor(t,e,n){super(t,e),this.reason=n}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class G extends B{constructor(t,e,n){super(t,e),this.error=n}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class J extends B{constructor(t,e,n,i){super(t,e),this.urlAfterRedirects=n,this.state=i}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Z extends B{constructor(t,e,n,i){super(t,e),this.urlAfterRedirects=n,this.state=i}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class $ extends B{constructor(t,e,n,i,a){super(t,e),this.urlAfterRedirects=n,this.state=i,this.shouldActivate=a}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class X extends B{constructor(t,e,n,i){super(t,e),this.urlAfterRedirects=n,this.state=i}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class K extends B{constructor(t,e,n,i){super(t,e),this.urlAfterRedirects=n,this.state=i}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Q{constructor(t){this.route=t}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class tt{constructor(t){this.route=t}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class et{constructor(t){this.snapshot=t}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class nt{constructor(t){this.snapshot=t}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class it{constructor(t){this.snapshot=t}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class at{constructor(t){this.snapshot=t}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class rt{constructor(t,e,n){this.routerEvent=t,this.position=e,this.anchor=n}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class ot{constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){const e=this.params[t];return Array.isArray(e)?e[0]:e}return null}getAll(t){if(this.has(t)){const e=this.params[t];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}}function st(t){return new ot(t)}function lt(t){const e=Error("NavigationCancelingError: "+t);return e.ngNavigationCancelingError=!0,e}function ct(t,e,n){const i=n.path.split("/");if(i.length>t.length)return null;if("full"===n.pathMatch&&(e.hasChildren()||i.length<t.length))return null;const a={};for(let r=0;r<i.length;r++){const e=i[r],n=t[r];if(e.startsWith(":"))a[e.substring(1)]=n;else if(e!==n.path)return null}return{consumed:t.slice(0,i.length),posParams:a}}function dt(t,e){const n=t?Object.keys(t):void 0,i=e?Object.keys(e):void 0;if(!n||!i||n.length!=i.length)return!1;let a;for(let r=0;r<n.length;r++)if(a=n[r],!ut(t[a],e[a]))return!1;return!0}function ut(t,e){if(Array.isArray(t)&&Array.isArray(e)){if(t.length!==e.length)return!1;const n=[...t].sort(),i=[...e].sort();return n.every((t,e)=>i[e]===t)}return t===e}function ht(t){return Array.prototype.concat.apply([],t)}function mt(t){return t.length>0?t[t.length-1]:null}function pt(t,e){for(const n in t)t.hasOwnProperty(n)&&e(t[n],n)}function ft(t){return Object(a.sb)(t)?t:Object(a.tb)(t)?Object(r.a)(Promise.resolve(t)):Object(o.a)(t)}function gt(t,e,n){return n?function(t,e){return dt(t,e)}(t.queryParams,e.queryParams)&&bt(t.root,e.root):function(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(n=>ut(t[n],e[n]))}(t.queryParams,e.queryParams)&&_t(t.root,e.root)}function bt(t,e){if(!xt(t.segments,e.segments))return!1;if(t.numberOfChildren!==e.numberOfChildren)return!1;for(const n in e.children){if(!t.children[n])return!1;if(!bt(t.children[n],e.children[n]))return!1}return!0}function _t(t,e){return yt(t,e,e.segments)}function yt(t,e,n){if(t.segments.length>n.length)return!!xt(t.segments.slice(0,n.length),n)&&!e.hasChildren();if(t.segments.length===n.length){if(!xt(t.segments,n))return!1;for(const n in e.children){if(!t.children[n])return!1;if(!_t(t.children[n],e.children[n]))return!1}return!0}{const i=n.slice(0,t.segments.length),a=n.slice(t.segments.length);return!!xt(t.segments,i)&&!!t.children.primary&&yt(t.children.primary,e,a)}}class vt{constructor(t,e,n){this.root=t,this.queryParams=e,this.fragment=n}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=st(this.queryParams)),this._queryParamMap}toString(){return kt.serialize(this)}}class Ct{constructor(t,e){this.segments=t,this.children=e,this.parent=null,pt(e,(t,e)=>t.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return St(this)}}class wt{constructor(t,e){this.path=t,this.parameters=e}get parameterMap(){return this._parameterMap||(this._parameterMap=st(this.parameters)),this._parameterMap}toString(){return It(this)}}function xt(t,e){return t.length===e.length&&t.every((t,n)=>t.path===e[n].path)}class Mt{}class Ot{parse(t){const e=new jt(t);return new vt(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(t){var e;return`/${Tt(t.root,!0)}${function(t){const e=Object.keys(t).map(e=>{const n=t[e];return Array.isArray(n)?n.map(t=>`${Lt(e)}=${Lt(t)}`).join("&"):`${Lt(e)}=${Lt(n)}`});return e.length?`?${e.join("&")}`:""}(t.queryParams)}${"string"==typeof t.fragment?`#${e=t.fragment,encodeURI(e)}`:""}`}}const kt=new Ot;function St(t){return t.segments.map(t=>It(t)).join("/")}function Tt(t,e){if(!t.hasChildren())return St(t);if(e){const e=t.children.primary?Tt(t.children.primary,!1):"",n=[];return pt(t.children,(t,e)=>{"primary"!==e&&n.push(`${e}:${Tt(t,!1)}`)}),n.length>0?`${e}(${n.join("//")})`:e}{const e=function(t,e){let n=[];return pt(t.children,(t,i)=>{"primary"===i&&(n=n.concat(e(t,i)))}),pt(t.children,(t,i)=>{"primary"!==i&&(n=n.concat(e(t,i)))}),n}(t,(e,n)=>"primary"===n?[Tt(t.children.primary,!1)]:[`${n}:${Tt(e,!1)}`]);return 1===Object.keys(t.children).length&&null!=t.children.primary?`${St(t)}/${e[0]}`:`${St(t)}/(${e.join("//")})`}}function Pt(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Lt(t){return Pt(t).replace(/%3B/gi,";")}function Dt(t){return Pt(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Et(t){return decodeURIComponent(t)}function At(t){return Et(t.replace(/\+/g,"%20"))}function It(t){return`${Dt(t.path)}${e=t.parameters,Object.keys(e).map(t=>`;${Dt(t)}=${Dt(e[t])}`).join("")}`;var e}const Rt=/^[^\/()?;=#]+/;function Nt(t){const e=t.match(Rt);return e?e[0]:""}const Yt=/^[^=?&#]+/,Ht=/^[^?&#]+/;class jt{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Ct([],{}):new Ct([],this.parseChildren())}parseQueryParams(){const t={};if(this.consumeOptional("?"))do{this.parseQueryParam(t)}while(this.consumeOptional("&"));return t}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(t.length>0||Object.keys(e).length>0)&&(n.primary=new Ct(t,e)),n}parseSegment(){const t=Nt(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(t),new wt(Et(t),this.parseMatrixParams())}parseMatrixParams(){const t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){const e=Nt(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){const t=Nt(this.remaining);t&&(n=t,this.capture(n))}t[Et(e)]=Et(n)}parseQueryParam(t){const e=function(t){const e=t.match(Yt);return e?e[0]:""}(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){const t=function(t){const e=t.match(Ht);return e?e[0]:""}(this.remaining);t&&(n=t,this.capture(n))}const i=At(e),a=At(n);if(t.hasOwnProperty(i)){let e=t[i];Array.isArray(e)||(e=[e],t[i]=e),e.push(a)}else t[i]=a}parseParens(t){const e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const n=Nt(this.remaining),i=this.remaining[n.length];if("/"!==i&&")"!==i&&";"!==i)throw new Error(`Cannot parse url '${this.url}'`);let a;n.indexOf(":")>-1?(a=n.substr(0,n.indexOf(":")),this.capture(a),this.capture(":")):t&&(a="primary");const r=this.parseChildren();e[a]=1===Object.keys(r).length?r.primary:new Ct([],r),this.consumeOptional("//")}return e}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)}capture(t){if(!this.consumeOptional(t))throw new Error(`Expected "${t}".`)}}class Ft{constructor(t){this._root=t}get root(){return this._root.value}parent(t){const e=this.pathFromRoot(t);return e.length>1?e[e.length-2]:null}children(t){const e=zt(t,this._root);return e?e.children.map(t=>t.value):[]}firstChild(t){const e=zt(t,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(t){const e=Vt(t,this._root);return e.length<2?[]:e[e.length-2].children.map(t=>t.value).filter(e=>e!==t)}pathFromRoot(t){return Vt(t,this._root).map(t=>t.value)}}function zt(t,e){if(t===e.value)return e;for(const n of e.children){const e=zt(t,n);if(e)return e}return null}function Vt(t,e){if(t===e.value)return[e];for(const n of e.children){const i=Vt(t,n);if(i.length)return i.unshift(e),i}return[]}class Bt{constructor(t,e){this.value=t,this.children=e}toString(){return`TreeNode(${this.value})`}}function Wt(t){const e={};return t&&t.children.forEach(t=>e[t.value.outlet]=t),e}class Ut extends Ft{constructor(t,e){super(t),this.snapshot=e,Xt(this,t)}toString(){return this.snapshot.toString()}}function qt(t,e){const n=function(t,e){const n=new Zt([],{},{},"",{},"primary",e,null,t.root,-1,{});return new $t("",new Bt(n,[]))}(t,e),i=new s.a([new wt("",{})]),a=new s.a({}),r=new s.a({}),o=new s.a({}),l=new s.a(""),c=new Gt(i,a,o,l,r,"primary",e,n.root);return c.snapshot=n.root,new Ut(new Bt(c,[]),n)}class Gt{constructor(t,e,n,i,a,r,o,s){this.url=t,this.params=e,this.queryParams=n,this.fragment=i,this.data=a,this.outlet=r,this.component=o,this._futureSnapshot=s}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe(Object(f.a)(t=>st(t)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(Object(f.a)(t=>st(t)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Jt(t,e="emptyOnly"){const n=t.pathFromRoot;let i=0;if("always"!==e)for(i=n.length-1;i>=1;){const t=n[i],e=n[i-1];if(t.routeConfig&&""===t.routeConfig.path)i--;else{if(e.component)break;i--}}return function(t){return t.reduce((t,e)=>({params:Object.assign(Object.assign({},t.params),e.params),data:Object.assign(Object.assign({},t.data),e.data),resolve:Object.assign(Object.assign({},t.resolve),e._resolvedData)}),{params:{},data:{},resolve:{}})}(n.slice(i))}class Zt{constructor(t,e,n,i,a,r,o,s,l,c,d){this.url=t,this.params=e,this.queryParams=n,this.fragment=i,this.data=a,this.outlet=r,this.component=o,this.routeConfig=s,this._urlSegment=l,this._lastPathIndex=c,this._resolve=d}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=st(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=st(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(t=>t.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class $t extends Ft{constructor(t,e){super(e),this.url=t,Xt(this,e)}toString(){return Kt(this._root)}}function Xt(t,e){e.value._routerState=t,e.children.forEach(e=>Xt(t,e))}function Kt(t){const e=t.children.length>0?` { ${t.children.map(Kt).join(", ")} } `:"";return`${t.value}${e}`}function Qt(t){if(t.snapshot){const e=t.snapshot,n=t._futureSnapshot;t.snapshot=n,dt(e.queryParams,n.queryParams)||t.queryParams.next(n.queryParams),e.fragment!==n.fragment&&t.fragment.next(n.fragment),dt(e.params,n.params)||t.params.next(n.params),function(t,e){if(t.length!==e.length)return!1;for(let n=0;n<t.length;++n)if(!dt(t[n],e[n]))return!1;return!0}(e.url,n.url)||t.url.next(n.url),dt(e.data,n.data)||t.data.next(n.data)}else t.snapshot=t._futureSnapshot,t.data.next(t._futureSnapshot.data)}function te(t,e){var n,i;return dt(t.params,e.params)&&xt(n=t.url,i=e.url)&&n.every((t,e)=>dt(t.parameters,i[e].parameters))&&!(!t.parent!=!e.parent)&&(!t.parent||te(t.parent,e.parent))}function ee(t,e,n){if(n&&t.shouldReuseRoute(e.value,n.value.snapshot)){const i=n.value;i._futureSnapshot=e.value;const a=function(t,e,n){return e.children.map(e=>{for(const i of n.children)if(t.shouldReuseRoute(e.value,i.value.snapshot))return ee(t,e,i);return ee(t,e)})}(t,e,n);return new Bt(i,a)}{const n=t.retrieve(e.value);if(n){const t=n.route;return ne(e,t),t}{const n=new Gt(new s.a((i=e.value).url),new s.a(i.params),new s.a(i.queryParams),new s.a(i.fragment),new s.a(i.data),i.outlet,i.component,i),a=e.children.map(e=>ee(t,e));return new Bt(n,a)}}var i}function ne(t,e){if(t.value.routeConfig!==e.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");if(t.children.length!==e.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");e.value._futureSnapshot=t.value;for(let n=0;n<t.children.length;++n)ne(t.children[n],e.children[n])}function ie(t){return"object"==typeof t&&null!=t&&!t.outlets&&!t.segmentPath}function ae(t){return"object"==typeof t&&null!=t&&t.outlets}function re(t,e,n,i,a){let r={};return i&&pt(i,(t,e)=>{r[e]=Array.isArray(t)?t.map(t=>`${t}`):`${t}`}),new vt(n.root===t?e:oe(n.root,t,e),r,a)}function oe(t,e,n){const i={};return pt(t.children,(t,a)=>{i[a]=t===e?n:oe(t,e,n)}),new Ct(t.segments,i)}class se{constructor(t,e,n){if(this.isAbsolute=t,this.numberOfDoubleDots=e,this.commands=n,t&&n.length>0&&ie(n[0]))throw new Error("Root segment cannot have matrix parameters");const i=n.find(ae);if(i&&i!==mt(n))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class le{constructor(t,e,n){this.segmentGroup=t,this.processChildren=e,this.index=n}}function ce(t,e,n){if(t||(t=new Ct([],{})),0===t.segments.length&&t.hasChildren())return de(t,e,n);const i=function(t,e,n){let i=0,a=e;const r={match:!1,pathIndex:0,commandIndex:0};for(;a<t.segments.length;){if(i>=n.length)return r;const e=t.segments[a],o=n[i];if(ae(o))break;const s=`${o}`,l=i<n.length-1?n[i+1]:null;if(a>0&&void 0===s)break;if(s&&l&&"object"==typeof l&&void 0===l.outlets){if(!pe(s,l,e))return r;i+=2}else{if(!pe(s,{},e))return r;i++}a++}return{match:!0,pathIndex:a,commandIndex:i}}(t,e,n),a=n.slice(i.commandIndex);if(i.match&&i.pathIndex<t.segments.length){const e=new Ct(t.segments.slice(0,i.pathIndex),{});return e.children.primary=new Ct(t.segments.slice(i.pathIndex),t.children),de(e,0,a)}return i.match&&0===a.length?new Ct(t.segments,{}):i.match&&!t.hasChildren()?ue(t,e,n):i.match?de(t,0,a):ue(t,e,n)}function de(t,e,n){if(0===n.length)return new Ct(t.segments,{});{const i=function(t){return ae(t[0])?t[0].outlets:{primary:t}}(n),a={};return pt(i,(n,i)=>{"string"==typeof n&&(n=[n]),null!==n&&(a[i]=ce(t.children[i],e,n))}),pt(t.children,(t,e)=>{void 0===i[e]&&(a[e]=t)}),new Ct(t.segments,a)}}function ue(t,e,n){const i=t.segments.slice(0,e);let a=0;for(;a<n.length;){const r=n[a];if(ae(r)){const t=he(r.outlets);return new Ct(i,t)}if(0===a&&ie(n[0])){i.push(new wt(t.segments[e].path,me(n[0]))),a++;continue}const o=ae(r)?r.outlets.primary:`${r}`,s=a<n.length-1?n[a+1]:null;o&&s&&ie(s)?(i.push(new wt(o,me(s))),a+=2):(i.push(new wt(o,{})),a++)}return new Ct(i,{})}function he(t){const e={};return pt(t,(t,n)=>{"string"==typeof t&&(t=[t]),null!==t&&(e[n]=ue(new Ct([],{}),0,t))}),e}function me(t){const e={};return pt(t,(t,n)=>e[n]=`${t}`),e}function pe(t,e,n){return t==n.path&&dt(e,n.parameters)}class fe{constructor(t,e,n,i){this.routeReuseStrategy=t,this.futureState=e,this.currState=n,this.forwardEvent=i}activate(t){const e=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,n,t),Qt(this.futureState.root),this.activateChildRoutes(e,n,t)}deactivateChildRoutes(t,e,n){const i=Wt(e);t.children.forEach(t=>{const e=t.value.outlet;this.deactivateRoutes(t,i[e],n),delete i[e]}),pt(i,(t,e)=>{this.deactivateRouteAndItsChildren(t,n)})}deactivateRoutes(t,e,n){const i=t.value,a=e?e.value:null;if(i===a)if(i.component){const a=n.getContext(i.outlet);a&&this.deactivateChildRoutes(t,e,a.children)}else this.deactivateChildRoutes(t,e,n);else a&&this.deactivateRouteAndItsChildren(e,n)}deactivateRouteAndItsChildren(t,e){this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,e):this.deactivateRouteAndOutlet(t,e)}detachAndStoreRouteSubtree(t,e){const n=e.getContext(t.value.outlet);if(n&&n.outlet){const e=n.outlet.detach(),i=n.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:e,route:t,contexts:i})}}deactivateRouteAndOutlet(t,e){const n=e.getContext(t.value.outlet),i=n&&t.value.component?n.children:e,a=Wt(t);for(const r of Object.keys(a))this.deactivateRouteAndItsChildren(a[r],i);n&&n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated())}activateChildRoutes(t,e,n){const i=Wt(e);t.children.forEach(t=>{this.activateRoutes(t,i[t.value.outlet],n),this.forwardEvent(new at(t.value.snapshot))}),t.children.length&&this.forwardEvent(new nt(t.value.snapshot))}activateRoutes(t,e,n){const i=t.value,a=e?e.value:null;if(Qt(i),i===a)if(i.component){const a=n.getOrCreateContext(i.outlet);this.activateChildRoutes(t,e,a.children)}else this.activateChildRoutes(t,e,n);else if(i.component){const e=n.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){const t=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),e.children.onOutletReAttached(t.contexts),e.attachRef=t.componentRef,e.route=t.route.value,e.outlet&&e.outlet.attach(t.componentRef,t.route.value),ge(t.route)}else{const n=function(t){for(let e=t.parent;e;e=e.parent){const t=e.routeConfig;if(t&&t._loadedConfig)return t._loadedConfig;if(t&&t.component)return null}return null}(i.snapshot),a=n?n.module.componentFactoryResolver:null;e.attachRef=null,e.route=i,e.resolver=a,e.outlet&&e.outlet.activateWith(i,a),this.activateChildRoutes(t,null,e.children)}}else this.activateChildRoutes(t,null,n)}}function ge(t){Qt(t.value),t.children.forEach(ge)}class be{constructor(t,e){this.routes=t,this.module=e}}function _e(t){return"function"==typeof t}function ye(t){return t instanceof vt}const ve=Symbol("INITIAL_VALUE");function Ce(){return Object(g.a)(t=>Object(l.a)(t.map(t=>t.pipe(Object(b.a)(1),Object(_.a)(ve)))).pipe(v((t,e)=>{let n=!1;return e.reduce((t,i,a)=>{if(t!==ve)return t;if(i===ve&&(n=!0),!n){if(!1===i)return i;if(a===e.length-1||ye(i))return i}return t},t)},ve),Object(x.a)(t=>t!==ve),Object(f.a)(t=>ye(t)?t:!0===t),Object(b.a)(1)))}let we=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=a.Hb({type:t,selectors:[["ng-component"]],decls:1,vars:0,template:function(t,e){1&t&&a.Ob(0,"router-outlet")},directives:function(){return[_n]},encapsulation:2}),t})();function xe(t,e=""){for(let n=0;n<t.length;n++){const i=t[n];Me(i,Oe(e,i))}}function Me(t,e){t.children&&xe(t.children,e)}function Oe(t,e){return e?t||e.path?t&&!e.path?`${t}/`:!t&&e.path?e.path:`${t}/${e.path}`:"":t}function ke(t){const e=t.children&&t.children.map(ke),n=e?Object.assign(Object.assign({},t),{children:e}):Object.assign({},t);return!n.component&&(e||n.loadChildren)&&n.outlet&&"primary"!==n.outlet&&(n.component=we),n}function Se(t){return t.outlet||"primary"}function Te(t,e){const n=t.filter(t=>Se(t)===e);return n.push(...t.filter(t=>Se(t)!==e)),n}const Pe={matched:!1,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};function Le(t,e,n){var i;if(""===e.path)return"full"===e.pathMatch&&(t.hasChildren()||n.length>0)?Object.assign({},Pe):{matched:!0,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};const a=(e.matcher||ct)(n,t,e);if(!a)return Object.assign({},Pe);const r={};pt(a.posParams,(t,e)=>{r[e]=t.path});const o=a.consumed.length>0?Object.assign(Object.assign({},r),a.consumed[a.consumed.length-1].parameters):r;return{matched:!0,consumedSegments:a.consumed,lastChild:a.consumed.length,parameters:o,positionalParamSegments:null!==(i=a.posParams)&&void 0!==i?i:{}}}function De(t,e,n,i,a="corrected"){if(n.length>0&&function(t,e,n){return n.some(n=>Ee(t,e,n)&&"primary"!==Se(n))}(t,n,i)){const a=new Ct(e,function(t,e,n,i){const a={};a.primary=i,i._sourceSegment=t,i._segmentIndexShift=e.length;for(const r of n)if(""===r.path&&"primary"!==Se(r)){const n=new Ct([],{});n._sourceSegment=t,n._segmentIndexShift=e.length,a[Se(r)]=n}return a}(t,e,i,new Ct(n,t.children)));return a._sourceSegment=t,a._segmentIndexShift=e.length,{segmentGroup:a,slicedSegments:[]}}if(0===n.length&&function(t,e,n){return n.some(n=>Ee(t,e,n))}(t,n,i)){const r=new Ct(t.segments,function(t,e,n,i,a,r){const o={};for(const s of i)if(Ee(t,n,s)&&!a[Se(s)]){const n=new Ct([],{});n._sourceSegment=t,n._segmentIndexShift="legacy"===r?t.segments.length:e.length,o[Se(s)]=n}return Object.assign(Object.assign({},a),o)}(t,e,n,i,t.children,a));return r._sourceSegment=t,r._segmentIndexShift=e.length,{segmentGroup:r,slicedSegments:n}}const r=new Ct(t.segments,t.children);return r._sourceSegment=t,r._segmentIndexShift=e.length,{segmentGroup:r,slicedSegments:n}}function Ee(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path}function Ae(t,e,n,i){return!!(Se(t)===i||"primary"!==i&&Ee(e,n,t))&&("**"===t.path||Le(e,t,n).matched)}function Ie(t,e,n){return 0===e.length&&!t.children[n]}class Re{constructor(t){this.segmentGroup=t||null}}class Ne{constructor(t){this.urlTree=t}}function Ye(t){return new c.a(e=>e.error(new Re(t)))}function He(t){return new c.a(e=>e.error(new Ne(t)))}function je(t){return new c.a(e=>e.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${t}'`)))}class Fe{constructor(t,e,n,i,r){this.configLoader=e,this.urlSerializer=n,this.urlTree=i,this.config=r,this.allowRedirects=!0,this.ngModule=t.get(a.z)}apply(){const t=De(this.urlTree.root,[],[],this.config).segmentGroup,e=new Ct(t.segments,t.children);return this.expandSegmentGroup(this.ngModule,this.config,e,"primary").pipe(Object(f.a)(t=>this.createUrlTree(ze(t),this.urlTree.queryParams,this.urlTree.fragment))).pipe(Object(M.a)(t=>{if(t instanceof Ne)return this.allowRedirects=!1,this.match(t.urlTree);if(t instanceof Re)throw this.noMatchError(t);throw t}))}match(t){return this.expandSegmentGroup(this.ngModule,this.config,t.root,"primary").pipe(Object(f.a)(e=>this.createUrlTree(ze(e),t.queryParams,t.fragment))).pipe(Object(M.a)(t=>{if(t instanceof Re)throw this.noMatchError(t);throw t}))}noMatchError(t){return new Error(`Cannot match any routes. URL Segment: '${t.segmentGroup}'`)}createUrlTree(t,e,n){const i=t.segments.length>0?new Ct([],{primary:t}):t;return new vt(i,e,n)}expandSegmentGroup(t,e,n,i){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(t,e,n).pipe(Object(f.a)(t=>new Ct([],t))):this.expandSegment(t,n,e,n.segments,i,!0)}expandChildren(t,e,n){const i=[];for(const a of Object.keys(n.children))"primary"===a?i.unshift(a):i.push(a);return Object(r.a)(i).pipe(Object(O.a)(i=>{const a=n.children[i],r=Te(e,i);return this.expandSegmentGroup(t,r,a,i).pipe(Object(f.a)(t=>({segment:t,outlet:i})))}),v((t,e)=>(t[e.outlet]=e.segment,t),{}),function(t,e){const n=arguments.length>=2;return i=>i.pipe(t?Object(x.a)((e,n)=>t(e,n,i)):Y.a,S(1),n?I(e):L(()=>new d))}())}expandSegment(t,e,n,i,a,s){return Object(r.a)(n).pipe(Object(O.a)(r=>this.expandSegmentAgainstRoute(t,e,n,r,i,a,s).pipe(Object(M.a)(t=>{if(t instanceof Re)return Object(o.a)(null);throw t}))),H(t=>!!t),Object(M.a)((t,n)=>{if(t instanceof d||"EmptyError"===t.name){if(Ie(e,i,a))return Object(o.a)(new Ct([],{}));throw new Re(e)}throw t}))}expandSegmentAgainstRoute(t,e,n,i,a,r,o){return Ae(i,e,a,r)?void 0===i.redirectTo?this.matchSegmentAgainstRoute(t,e,i,a,r):o&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,e,n,i,a,r):Ye(e):Ye(e)}expandSegmentAgainstRouteUsingRedirect(t,e,n,i,a,r){return"**"===i.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,n,i,r):this.expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,i,a,r)}expandWildCardWithParamsAgainstRouteUsingRedirect(t,e,n,i){const a=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?He(a):this.lineralizeSegments(n,a).pipe(Object(j.a)(n=>{const a=new Ct(n,{});return this.expandSegment(t,a,e,n,i,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,i,a,r){const{matched:o,consumedSegments:s,lastChild:l,positionalParamSegments:c}=Le(e,i,a);if(!o)return Ye(e);const d=this.applyRedirectCommands(s,i.redirectTo,c);return i.redirectTo.startsWith("/")?He(d):this.lineralizeSegments(i,d).pipe(Object(j.a)(i=>this.expandSegment(t,e,n,i.concat(a.slice(l)),r,!1)))}matchSegmentAgainstRoute(t,e,n,i,a){if("**"===n.path)return n.loadChildren?this.configLoader.load(t.injector,n).pipe(Object(f.a)(t=>(n._loadedConfig=t,new Ct(i,{})))):Object(o.a)(new Ct(i,{}));const{matched:r,consumedSegments:s,lastChild:l}=Le(e,n,i);if(!r)return Ye(e);const c=i.slice(l);return this.getChildConfig(t,n,i).pipe(Object(j.a)(t=>{const i=t.module,r=t.routes,{segmentGroup:l,slicedSegments:d}=De(e,s,c,r),u=new Ct(l.segments,l.children);if(0===d.length&&u.hasChildren())return this.expandChildren(i,r,u).pipe(Object(f.a)(t=>new Ct(s,t)));if(0===r.length&&0===d.length)return Object(o.a)(new Ct(s,{}));const h=Se(n)===a;return this.expandSegment(i,u,r,d,h?"primary":a,!0).pipe(Object(f.a)(t=>new Ct(s.concat(t.segments),t.children)))}))}getChildConfig(t,e,n){return e.children?Object(o.a)(new be(e.children,t)):e.loadChildren?void 0!==e._loadedConfig?Object(o.a)(e._loadedConfig):this.runCanLoadGuards(t.injector,e,n).pipe(Object(j.a)(n=>n?this.configLoader.load(t.injector,e).pipe(Object(f.a)(t=>(e._loadedConfig=t,t))):function(t){return new c.a(e=>e.error(lt(`Cannot load children because the guard of the route "path: '${t.path}'" returned false`)))}(e))):Object(o.a)(new be([],t))}runCanLoadGuards(t,e,n){const i=e.canLoad;if(!i||0===i.length)return Object(o.a)(!0);const a=i.map(i=>{const a=t.get(i);let r;if(function(t){return t&&_e(t.canLoad)}(a))r=a.canLoad(e,n);else{if(!_e(a))throw new Error("Invalid CanLoad guard");r=a(e,n)}return ft(r)});return Object(o.a)(a).pipe(Ce(),Object(F.a)(t=>{if(!ye(t))return;const e=lt(`Redirecting to "${this.urlSerializer.serialize(t)}"`);throw e.url=t,e}),Object(f.a)(t=>!0===t))}lineralizeSegments(t,e){let n=[],i=e.root;for(;;){if(n=n.concat(i.segments),0===i.numberOfChildren)return Object(o.a)(n);if(i.numberOfChildren>1||!i.children.primary)return je(t.redirectTo);i=i.children.primary}}applyRedirectCommands(t,e,n){return this.applyRedirectCreatreUrlTree(e,this.urlSerializer.parse(e),t,n)}applyRedirectCreatreUrlTree(t,e,n,i){const a=this.createSegmentGroup(t,e.root,n,i);return new vt(a,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(t,e){const n={};return pt(t,(t,i)=>{if("string"==typeof t&&t.startsWith(":")){const a=t.substring(1);n[i]=e[a]}else n[i]=t}),n}createSegmentGroup(t,e,n,i){const a=this.createSegments(t,e.segments,n,i);let r={};return pt(e.children,(e,a)=>{r[a]=this.createSegmentGroup(t,e,n,i)}),new Ct(a,r)}createSegments(t,e,n,i){return e.map(e=>e.path.startsWith(":")?this.findPosParam(t,e,i):this.findOrReturn(e,n))}findPosParam(t,e,n){const i=n[e.path.substring(1)];if(!i)throw new Error(`Cannot redirect to '${t}'. Cannot find '${e.path}'.`);return i}findOrReturn(t,e){let n=0;for(const i of e){if(i.path===t.path)return e.splice(n),i;n++}return t}}function ze(t){const e={};for(const n of Object.keys(t.children)){const i=ze(t.children[n]);(i.segments.length>0||i.hasChildren())&&(e[n]=i)}return function(t){if(1===t.numberOfChildren&&t.children.primary){const e=t.children.primary;return new Ct(t.segments.concat(e.segments),e.children)}return t}(new Ct(t.segments,e))}class Ve{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}}class Be{constructor(t,e){this.component=t,this.route=e}}function We(t,e,n){const i=t._root;return qe(i,e?e._root:null,n,[i.value])}function Ue(t,e,n){const i=function(t){if(!t)return null;for(let e=t.parent;e;e=e.parent){const t=e.routeConfig;if(t&&t._loadedConfig)return t._loadedConfig}return null}(e);return(i?i.module.injector:n).get(t)}function qe(t,e,n,i,a={canDeactivateChecks:[],canActivateChecks:[]}){const r=Wt(e);return t.children.forEach(t=>{!function(t,e,n,i,a={canDeactivateChecks:[],canActivateChecks:[]}){const r=t.value,o=e?e.value:null,s=n?n.getContext(t.value.outlet):null;if(o&&r.routeConfig===o.routeConfig){const l=function(t,e,n){if("function"==typeof n)return n(t,e);switch(n){case"pathParamsChange":return!xt(t.url,e.url);case"pathParamsOrQueryParamsChange":return!xt(t.url,e.url)||!dt(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!te(t,e)||!dt(t.queryParams,e.queryParams);case"paramsChange":default:return!te(t,e)}}(o,r,r.routeConfig.runGuardsAndResolvers);l?a.canActivateChecks.push(new Ve(i)):(r.data=o.data,r._resolvedData=o._resolvedData),qe(t,e,r.component?s?s.children:null:n,i,a),l&&s&&s.outlet&&s.outlet.isActivated&&a.canDeactivateChecks.push(new Be(s.outlet.component,o))}else o&&Ge(e,s,a),a.canActivateChecks.push(new Ve(i)),qe(t,null,r.component?s?s.children:null:n,i,a)}(t,r[t.value.outlet],n,i.concat([t.value]),a),delete r[t.value.outlet]}),pt(r,(t,e)=>Ge(t,n.getContext(e),a)),a}function Ge(t,e,n){const i=Wt(t),a=t.value;pt(i,(t,i)=>{Ge(t,a.component?e?e.children.getContext(i):null:e,n)}),n.canDeactivateChecks.push(new Be(a.component&&e&&e.outlet&&e.outlet.isActivated?e.outlet.component:null,a))}class Je{}function Ze(t){return new c.a(e=>e.error(t))}class $e{constructor(t,e,n,i,a,r){this.rootComponentType=t,this.config=e,this.urlTree=n,this.url=i,this.paramsInheritanceStrategy=a,this.relativeLinkResolution=r}recognize(){const t=De(this.urlTree.root,[],[],this.config.filter(t=>void 0===t.redirectTo),this.relativeLinkResolution).segmentGroup,e=this.processSegmentGroup(this.config,t,"primary");if(null===e)return null;const n=new Zt([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},"primary",this.rootComponentType,null,this.urlTree.root,-1,{}),i=new Bt(n,e),a=new $t(this.url,i);return this.inheritParamsAndData(a._root),a}inheritParamsAndData(t){const e=t.value,n=Jt(e,this.paramsInheritanceStrategy);e.params=Object.freeze(n.params),e.data=Object.freeze(n.data),t.children.forEach(t=>this.inheritParamsAndData(t))}processSegmentGroup(t,e,n){return 0===e.segments.length&&e.hasChildren()?this.processChildren(t,e):this.processSegment(t,e,e.segments,n)}processChildren(t,e){const n=[];for(const a of Object.keys(e.children)){const i=e.children[a],r=Te(t,a),o=this.processSegmentGroup(r,i,a);if(null===o)return null;n.push(...o)}const i=function(t){const e=[];for(const n of t){if(!Xe(n)){e.push(n);continue}const t=e.find(t=>n.value.routeConfig===t.value.routeConfig);void 0!==t?t.children.push(...n.children):e.push(n)}return e}(n);return i.sort((t,e)=>"primary"===t.value.outlet?-1:"primary"===e.value.outlet?1:t.value.outlet.localeCompare(e.value.outlet)),i}processSegment(t,e,n,i){for(const a of t){const t=this.processSegmentAgainstRoute(a,e,n,i);if(null!==t)return t}return Ie(e,n,i)?[]:null}processSegmentAgainstRoute(t,e,n,i){if(t.redirectTo||!Ae(t,e,n,i))return null;let a,r=[],o=[];if("**"===t.path){const i=n.length>0?mt(n).parameters:{};a=new Zt(n,i,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,tn(t),Se(t),t.component,t,Ke(e),Qe(e)+n.length,en(t))}else{const i=Le(e,t,n);if(!i.matched)return null;r=i.consumedSegments,o=n.slice(i.lastChild),a=new Zt(r,i.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,tn(t),Se(t),t.component,t,Ke(e),Qe(e)+r.length,en(t))}const s=function(t){return t.children?t.children:t.loadChildren?t._loadedConfig.routes:[]}(t),{segmentGroup:l,slicedSegments:c}=De(e,r,o,s.filter(t=>void 0===t.redirectTo),this.relativeLinkResolution);if(0===c.length&&l.hasChildren()){const t=this.processChildren(s,l);return null===t?null:[new Bt(a,t)]}if(0===s.length&&0===c.length)return[new Bt(a,[])];const d=Se(t)===i,u=this.processSegment(s,l,c,d?"primary":i);return null===u?null:[new Bt(a,u)]}}function Xe(t){const e=t.value.routeConfig;return e&&""===e.path&&void 0===e.redirectTo}function Ke(t){let e=t;for(;e._sourceSegment;)e=e._sourceSegment;return e}function Qe(t){let e=t,n=e._segmentIndexShift?e._segmentIndexShift:0;for(;e._sourceSegment;)e=e._sourceSegment,n+=e._segmentIndexShift?e._segmentIndexShift:0;return n-1}function tn(t){return t.data||{}}function en(t){return t.resolve||{}}function nn(t){return Object(g.a)(e=>{const n=t(e);return n?Object(r.a)(n).pipe(Object(f.a)(()=>e)):Object(o.a)(e)})}class an extends class{shouldDetach(t){return!1}store(t,e){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,e){return t.routeConfig===e.routeConfig}}{}const rn=new a.s("ROUTES");class on{constructor(t,e,n,i){this.loader=t,this.compiler=e,this.onLoadStartListener=n,this.onLoadEndListener=i}load(t,e){return this.onLoadStartListener&&this.onLoadStartListener(e),this.loadModuleFactory(e.loadChildren).pipe(Object(f.a)(n=>{this.onLoadEndListener&&this.onLoadEndListener(e);const i=n.create(t);return new be(ht(i.injector.get(rn,void 0,a.r.Self|a.r.Optional)).map(ke),i)}))}loadModuleFactory(t){return"string"==typeof t?Object(r.a)(this.loader.load(t)):ft(t()).pipe(Object(j.a)(t=>t instanceof a.x?Object(o.a)(t):Object(r.a)(this.compiler.compileModuleAsync(t))))}}class sn{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new ln,this.attachRef=null}}class ln{constructor(){this.contexts=new Map}onChildOutletCreated(t,e){const n=this.getOrCreateContext(t);n.outlet=e,this.contexts.set(t,n)}onChildOutletDestroyed(t){const e=this.getContext(t);e&&(e.outlet=null)}onOutletDeactivated(){const t=this.contexts;return this.contexts=new Map,t}onOutletReAttached(t){this.contexts=t}getOrCreateContext(t){let e=this.getContext(t);return e||(e=new sn,this.contexts.set(t,e)),e}getContext(t){return this.contexts.get(t)||null}}class cn{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,e){return t}}function dn(t){throw t}function un(t,e,n){return e.parse("/")}function hn(t,e){return Object(o.a)(null)}let mn=(()=>{class t{constructor(t,e,n,i,r,o,l,c){this.rootComponentType=t,this.urlSerializer=e,this.rootContexts=n,this.location=i,this.config=c,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.lastLocationChangeInfo=null,this.navigationId=0,this.isNgZoneEnabled=!1,this.events=new p.a,this.errorHandler=dn,this.malformedUriErrorHandler=un,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:hn,afterPreactivation:hn},this.urlHandlingStrategy=new cn,this.routeReuseStrategy=new an,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.ngModule=r.get(a.z),this.console=r.get(a.ab);const d=r.get(a.B);this.isNgZoneEnabled=d instanceof a.B&&a.B.isInAngularZone(),this.resetConfig(c),this.currentUrlTree=new vt(new Ct([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new on(o,l,t=>this.triggerEvent(new Q(t)),t=>this.triggerEvent(new tt(t))),this.routerState=qt(this.currentUrlTree,this.rootComponentType),this.transitions=new s.a({id:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}setupNavigations(t){const e=this.events;return t.pipe(Object(x.a)(t=>0!==t.id),Object(f.a)(t=>Object.assign(Object.assign({},t),{extractedUrl:this.urlHandlingStrategy.extract(t.rawUrl)})),Object(g.a)(t=>{let n=!1,i=!1;return Object(o.a)(t).pipe(Object(F.a)(t=>{this.currentNavigation={id:t.id,initialUrl:t.currentRawUrl,extractedUrl:t.extractedUrl,trigger:t.source,extras:t.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign(Object.assign({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),Object(g.a)(t=>{const n=!this.navigated||t.extractedUrl.toString()!==this.browserUrlTree.toString();if(("reload"===this.onSameUrlNavigation||n)&&this.urlHandlingStrategy.shouldProcessUrl(t.rawUrl))return Object(o.a)(t).pipe(Object(g.a)(t=>{const n=this.transitions.getValue();return e.next(new W(t.id,this.serializeUrl(t.extractedUrl),t.source,t.restoredState)),n!==this.transitions.getValue()?m.a:Promise.resolve(t)}),(i=this.ngModule.injector,a=this.configLoader,r=this.urlSerializer,s=this.config,Object(g.a)(t=>function(t,e,n,i,a){return new Fe(t,e,n,i,a).apply()}(i,a,r,t.extractedUrl,s).pipe(Object(f.a)(e=>Object.assign(Object.assign({},t),{urlAfterRedirects:e}))))),Object(F.a)(t=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:t.urlAfterRedirects})}),function(t,e,n,i,a){return Object(j.a)(r=>function(t,e,n,i,a="emptyOnly",r="legacy"){try{const s=new $e(t,e,n,i,a,r).recognize();return null===s?Ze(new Je):Object(o.a)(s)}catch(s){return Ze(s)}}(t,e,r.urlAfterRedirects,n(r.urlAfterRedirects),i,a).pipe(Object(f.a)(t=>Object.assign(Object.assign({},r),{targetSnapshot:t}))))}(this.rootComponentType,this.config,t=>this.serializeUrl(t),this.paramsInheritanceStrategy,this.relativeLinkResolution),Object(F.a)(t=>{"eager"===this.urlUpdateStrategy&&(t.extras.skipLocationChange||this.setBrowserUrl(t.urlAfterRedirects,!!t.extras.replaceUrl,t.id,t.extras.state),this.browserUrlTree=t.urlAfterRedirects);const n=new J(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.next(n)}));var i,a,r,s;if(n&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:n,extractedUrl:i,source:a,restoredState:r,extras:s}=t,l=new W(n,this.serializeUrl(i),a,r);e.next(l);const c=qt(i,this.rootComponentType).snapshot;return Object(o.a)(Object.assign(Object.assign({},t),{targetSnapshot:c,urlAfterRedirects:i,extras:Object.assign(Object.assign({},s),{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=t.rawUrl,this.browserUrlTree=t.urlAfterRedirects,t.resolve(null),m.a}),nn(t=>{const{targetSnapshot:e,id:n,extractedUrl:i,rawUrl:a,extras:{skipLocationChange:r,replaceUrl:o}}=t;return this.hooks.beforePreactivation(e,{navigationId:n,appliedUrlTree:i,rawUrlTree:a,skipLocationChange:!!r,replaceUrl:!!o})}),Object(F.a)(t=>{const e=new Z(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}),Object(f.a)(t=>Object.assign(Object.assign({},t),{guards:We(t.targetSnapshot,t.currentSnapshot,this.rootContexts)})),function(t,e){return Object(j.a)(n=>{const{targetSnapshot:i,currentSnapshot:a,guards:{canActivateChecks:s,canDeactivateChecks:l}}=n;return 0===l.length&&0===s.length?Object(o.a)(Object.assign(Object.assign({},n),{guardsResult:!0})):function(t,e,n,i){return Object(r.a)(t).pipe(Object(j.a)(t=>function(t,e,n,i,a){const r=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!r||0===r.length)return Object(o.a)(!0);const s=r.map(r=>{const o=Ue(r,e,a);let s;if(function(t){return t&&_e(t.canDeactivate)}(o))s=ft(o.canDeactivate(t,e,n,i));else{if(!_e(o))throw new Error("Invalid CanDeactivate guard");s=ft(o(t,e,n,i))}return s.pipe(H())});return Object(o.a)(s).pipe(Ce())}(t.component,t.route,n,e,i)),H(t=>!0!==t,!0))}(l,i,a,t).pipe(Object(j.a)(n=>n&&"boolean"==typeof n?function(t,e,n,i){return Object(r.a)(e).pipe(Object(O.a)(e=>Object(u.a)(function(t,e){return null!==t&&e&&e(new et(t)),Object(o.a)(!0)}(e.route.parent,i),function(t,e){return null!==t&&e&&e(new it(t)),Object(o.a)(!0)}(e.route,i),function(t,e,n){const i=e[e.length-1],a=e.slice(0,e.length-1).reverse().map(t=>function(t){const e=t.routeConfig?t.routeConfig.canActivateChild:null;return e&&0!==e.length?{node:t,guards:e}:null}(t)).filter(t=>null!==t).map(e=>Object(h.a)(()=>{const a=e.guards.map(a=>{const r=Ue(a,e.node,n);let o;if(function(t){return t&&_e(t.canActivateChild)}(r))o=ft(r.canActivateChild(i,t));else{if(!_e(r))throw new Error("Invalid CanActivateChild guard");o=ft(r(i,t))}return o.pipe(H())});return Object(o.a)(a).pipe(Ce())}));return Object(o.a)(a).pipe(Ce())}(t,e.path,n),function(t,e,n){const i=e.routeConfig?e.routeConfig.canActivate:null;if(!i||0===i.length)return Object(o.a)(!0);const a=i.map(i=>Object(h.a)(()=>{const a=Ue(i,e,n);let r;if(function(t){return t&&_e(t.canActivate)}(a))r=ft(a.canActivate(e,t));else{if(!_e(a))throw new Error("Invalid CanActivate guard");r=ft(a(e,t))}return r.pipe(H())}));return Object(o.a)(a).pipe(Ce())}(t,e.route,n))),H(t=>!0!==t,!0))}(i,s,t,e):Object(o.a)(n)),Object(f.a)(t=>Object.assign(Object.assign({},n),{guardsResult:t})))})}(this.ngModule.injector,t=>this.triggerEvent(t)),Object(F.a)(t=>{if(ye(t.guardsResult)){const e=lt(`Redirecting to "${this.serializeUrl(t.guardsResult)}"`);throw e.url=t.guardsResult,e}const e=new $(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot,!!t.guardsResult);this.triggerEvent(e)}),Object(x.a)(t=>{if(!t.guardsResult){this.resetUrlToCurrentUrlTree();const n=new q(t.id,this.serializeUrl(t.extractedUrl),"");return e.next(n),t.resolve(!1),!1}return!0}),nn(t=>{if(t.guards.canActivateChecks.length)return Object(o.a)(t).pipe(Object(F.a)(t=>{const e=new X(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}),Object(g.a)(t=>{let n=!1;return Object(o.a)(t).pipe((i=this.paramsInheritanceStrategy,a=this.ngModule.injector,Object(j.a)(t=>{const{targetSnapshot:e,guards:{canActivateChecks:n}}=t;if(!n.length)return Object(o.a)(t);let s=0;return Object(r.a)(n).pipe(Object(O.a)(t=>function(t,e,n,i){return function(t,e,n,i){const a=Object.keys(t);if(0===a.length)return Object(o.a)({});const s={};return Object(r.a)(a).pipe(Object(j.a)(a=>function(t,e,n,i){const a=Ue(t,e,i);return ft(a.resolve?a.resolve(e,n):a(e,n))}(t[a],e,n,i).pipe(Object(F.a)(t=>{s[a]=t}))),S(1),Object(j.a)(()=>Object.keys(s).length===a.length?Object(o.a)(s):m.a))}(t._resolve,t,e,i).pipe(Object(f.a)(e=>(t._resolvedData=e,t.data=Object.assign(Object.assign({},t.data),Jt(t,n).resolve),null)))}(t.route,e,i,a)),Object(F.a)(()=>s++),S(1),Object(j.a)(e=>s===n.length?Object(o.a)(t):m.a))})),Object(F.a)({next:()=>n=!0,complete:()=>{if(!n){const n=new q(t.id,this.serializeUrl(t.extractedUrl),"At least one route resolver didn't emit any value.");e.next(n),t.resolve(!1)}}}));var i,a}),Object(F.a)(t=>{const e=new K(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}))}),nn(t=>{const{targetSnapshot:e,id:n,extractedUrl:i,rawUrl:a,extras:{skipLocationChange:r,replaceUrl:o}}=t;return this.hooks.afterPreactivation(e,{navigationId:n,appliedUrlTree:i,rawUrlTree:a,skipLocationChange:!!r,replaceUrl:!!o})}),Object(f.a)(t=>{const e=function(t,e,n){const i=ee(t,e._root,n?n._root:void 0);return new Ut(i,e)}(this.routeReuseStrategy,t.targetSnapshot,t.currentRouterState);return Object.assign(Object.assign({},t),{targetRouterState:e})}),Object(F.a)(t=>{this.currentUrlTree=t.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t.rawUrl),this.routerState=t.targetRouterState,"deferred"===this.urlUpdateStrategy&&(t.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,!!t.extras.replaceUrl,t.id,t.extras.state),this.browserUrlTree=t.urlAfterRedirects)}),(a=this.rootContexts,s=this.routeReuseStrategy,l=t=>this.triggerEvent(t),Object(f.a)(t=>(new fe(s,t.targetRouterState,t.currentRouterState,l).activate(a),t))),Object(F.a)({next(){n=!0},complete(){n=!0}}),Object(z.a)(()=>{if(!n&&!i){this.resetUrlToCurrentUrlTree();const n=new q(t.id,this.serializeUrl(t.extractedUrl),`Navigation ID ${t.id} is not equal to the current navigation id ${this.navigationId}`);e.next(n),t.resolve(!1)}this.currentNavigation=null}),Object(M.a)(n=>{if(i=!0,(a=n)&&a.ngNavigationCancelingError){const i=ye(n.url);i||(this.navigated=!0,this.resetStateAndUrl(t.currentRouterState,t.currentUrlTree,t.rawUrl));const a=new q(t.id,this.serializeUrl(t.extractedUrl),n.message);e.next(a),i?setTimeout(()=>{const e=this.urlHandlingStrategy.merge(n.url,this.rawUrlTree);this.scheduleNavigation(e,"imperative",null,{skipLocationChange:t.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy},{resolve:t.resolve,reject:t.reject,promise:t.promise})},0):t.resolve(!1)}else{this.resetStateAndUrl(t.currentRouterState,t.currentUrlTree,t.rawUrl);const i=new G(t.id,this.serializeUrl(t.extractedUrl),n);e.next(i);try{t.resolve(this.errorHandler(n))}catch(r){t.reject(r)}}var a;return m.a}));var a,s,l}))}resetRootComponentType(t){this.rootComponentType=t,this.routerState.root.component=this.rootComponentType}getTransition(){const t=this.transitions.value;return t.urlAfterRedirects=this.browserUrlTree,t}setTransition(t){this.transitions.next(Object.assign(Object.assign({},this.getTransition()),t))}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(t=>{const e=this.extractLocationChangeInfoFromEvent(t);this.shouldScheduleNavigation(this.lastLocationChangeInfo,e)&&setTimeout(()=>{const{source:t,state:n,urlTree:i}=e,a={replaceUrl:!0};if(n){const t=Object.assign({},n);delete t.navigationId,0!==Object.keys(t).length&&(a.state=t)}this.scheduleNavigation(i,t,n,a)},0),this.lastLocationChangeInfo=e}))}extractLocationChangeInfoFromEvent(t){var e;return{source:"popstate"===t.type?"popstate":"hashchange",urlTree:this.parseUrl(t.url),state:(null===(e=t.state)||void 0===e?void 0:e.navigationId)?t.state:null,transitionId:this.getTransition().id}}shouldScheduleNavigation(t,e){if(!t)return!0;const n=e.urlTree.toString()===t.urlTree.toString();return!(e.transitionId===t.transitionId&&n&&("hashchange"===e.source&&"popstate"===t.source||"popstate"===e.source&&"hashchange"===t.source))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(t){this.events.next(t)}resetConfig(t){xe(t),this.config=t.map(ke),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0)}createUrlTree(t,e={}){const{relativeTo:n,queryParams:i,fragment:a,queryParamsHandling:r,preserveFragment:o}=e,s=n||this.routerState.root,l=o?this.currentUrlTree.fragment:a;let c=null;switch(r){case"merge":c=Object.assign(Object.assign({},this.currentUrlTree.queryParams),i);break;case"preserve":c=this.currentUrlTree.queryParams;break;default:c=i||null}return null!==c&&(c=this.removeEmptyProps(c)),function(t,e,n,i,a){if(0===n.length)return re(e.root,e.root,e,i,a);const r=function(t){if("string"==typeof t[0]&&1===t.length&&"/"===t[0])return new se(!0,0,t);let e=0,n=!1;const i=t.reduce((t,i,a)=>{if("object"==typeof i&&null!=i){if(i.outlets){const e={};return pt(i.outlets,(t,n)=>{e[n]="string"==typeof t?t.split("/"):t}),[...t,{outlets:e}]}if(i.segmentPath)return[...t,i.segmentPath]}return"string"!=typeof i?[...t,i]:0===a?(i.split("/").forEach((i,a)=>{0==a&&"."===i||(0==a&&""===i?n=!0:".."===i?e++:""!=i&&t.push(i))}),t):[...t,i]},[]);return new se(n,e,i)}(n);if(r.toRoot())return re(e.root,new Ct([],{}),e,i,a);const o=function(t,e,n){if(t.isAbsolute)return new le(e.root,!0,0);if(-1===n.snapshot._lastPathIndex){const t=n.snapshot._urlSegment;return new le(t,t===e.root,0)}const i=ie(t.commands[0])?0:1;return function(t,e,n){let i=t,a=e,r=n;for(;r>a;){if(r-=a,i=i.parent,!i)throw new Error("Invalid number of '../'");a=i.segments.length}return new le(i,!1,a-r)}(n.snapshot._urlSegment,n.snapshot._lastPathIndex+i,t.numberOfDoubleDots)}(r,e,t),s=o.processChildren?de(o.segmentGroup,o.index,r.commands):ce(o.segmentGroup,o.index,r.commands);return re(o.segmentGroup,s,e,i,a)}(s,this.currentUrlTree,t,c,l)}navigateByUrl(t,e={skipLocationChange:!1}){const n=ye(t)?t:this.parseUrl(t),i=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(i,"imperative",null,e)}navigate(t,e={skipLocationChange:!1}){return function(t){for(let e=0;e<t.length;e++){const n=t[e];if(null==n)throw new Error(`The requested path contains ${n} segment at index ${e}`)}}(t),this.navigateByUrl(this.createUrlTree(t,e),e)}serializeUrl(t){return this.urlSerializer.serialize(t)}parseUrl(t){let e;try{e=this.urlSerializer.parse(t)}catch(n){e=this.malformedUriErrorHandler(n,this.urlSerializer,t)}return e}isActive(t,e){if(ye(t))return gt(this.currentUrlTree,t,e);const n=this.parseUrl(t);return gt(this.currentUrlTree,n,e)}removeEmptyProps(t){return Object.keys(t).reduce((e,n)=>{const i=t[n];return null!=i&&(e[n]=i),e},{})}processNavigations(){this.navigations.subscribe(t=>{this.navigated=!0,this.lastSuccessfulId=t.id,this.events.next(new U(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,this.currentNavigation=null,t.resolve(!0)},t=>{this.console.warn("Unhandled Navigation Error: ")})}scheduleNavigation(t,e,n,i,a){const r=this.getTransition(),o="imperative"!==e&&"imperative"===(null==r?void 0:r.source),s=(this.lastSuccessfulId===r.id||this.currentNavigation?r.rawUrl:r.urlAfterRedirects).toString()===t.toString();if(o&&s)return Promise.resolve(!0);let l,c,d;a?(l=a.resolve,c=a.reject,d=a.promise):d=new Promise((t,e)=>{l=t,c=e});const u=++this.navigationId;return this.setTransition({id:u,source:e,restoredState:n,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:t,extras:i,resolve:l,reject:c,promise:d,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),d.catch(t=>Promise.reject(t))}setBrowserUrl(t,e,n,i){const a=this.urlSerializer.serialize(t);i=i||{},this.location.isCurrentPathEqualTo(a)||e?this.location.replaceState(a,"",Object.assign(Object.assign({},i),{navigationId:n})):this.location.go(a,"",Object.assign(Object.assign({},i),{navigationId:n}))}resetStateAndUrl(t,e,n){this.routerState=t,this.currentUrlTree=e,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n),this.resetUrlToCurrentUrlTree()}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",{navigationId:this.lastSuccessfulId})}}return t.\u0275fac=function(e){return new(e||t)(a.Xb(a.P),a.Xb(Mt),a.Xb(ln),a.Xb(i.h),a.Xb(a.t),a.Xb(a.y),a.Xb(a.i),a.Xb(void 0))},t.\u0275prov=a.Jb({token:t,factory:t.\u0275fac}),t})(),pn=(()=>{class t{constructor(t,e,n,i,a){this.router=t,this.route=e,this.commands=[],this.onChanges=new p.a,null==n&&i.setAttribute(a.nativeElement,"tabindex","0")}ngOnChanges(t){this.onChanges.next(this)}set routerLink(t){this.commands=null!=t?Array.isArray(t)?t:[t]:[]}onClick(){const t={skipLocationChange:gn(this.skipLocationChange),replaceUrl:gn(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,t),!0}get urlTree(){return this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:gn(this.preserveFragment)})}}return t.\u0275fac=function(e){return new(e||t)(a.Nb(mn),a.Nb(Gt),a.Yb("tabindex"),a.Nb(a.G),a.Nb(a.l))},t.\u0275dir=a.Ib({type:t,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(t,e){1&t&&a.bc("click",function(){return e.onClick()})},inputs:{routerLink:"routerLink",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo"},features:[a.Ab]}),t})(),fn=(()=>{class t{constructor(t,e,n){this.router=t,this.route=e,this.locationStrategy=n,this.commands=[],this.onChanges=new p.a,this.subscription=t.events.subscribe(t=>{t instanceof U&&this.updateTargetUrlAndHref()})}set routerLink(t){this.commands=null!=t?Array.isArray(t)?t:[t]:[]}ngOnChanges(t){this.updateTargetUrlAndHref(),this.onChanges.next(this)}ngOnDestroy(){this.subscription.unsubscribe()}onClick(t,e,n,i,a){if(0!==t||e||n||i||a)return!0;if("string"==typeof this.target&&"_self"!=this.target)return!0;const r={skipLocationChange:gn(this.skipLocationChange),replaceUrl:gn(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,r),!1}updateTargetUrlAndHref(){this.href=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree))}get urlTree(){return this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:gn(this.preserveFragment)})}}return t.\u0275fac=function(e){return new(e||t)(a.Nb(mn),a.Nb(Gt),a.Nb(i.i))},t.\u0275dir=a.Ib({type:t,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(t,e){1&t&&a.bc("click",function(t){return e.onClick(t.button,t.ctrlKey,t.shiftKey,t.altKey,t.metaKey)}),2&t&&(a.Wb("href",e.href,a.Ac),a.Db("target",e.target))},inputs:{routerLink:"routerLink",target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo"},features:[a.Ab]}),t})();function gn(t){return""===t||!!t}let bn=(()=>{class t{constructor(t,e,n,i,a,r){this.router=t,this.element=e,this.renderer=n,this.cdr=i,this.link=a,this.linkWithHref=r,this.classes=[],this.isActive=!1,this.routerLinkActiveOptions={exact:!1},this.routerEventsSubscription=t.events.subscribe(t=>{t instanceof U&&this.update()})}ngAfterContentInit(){Object(o.a)(this.links.changes,this.linksWithHrefs.changes,Object(o.a)(null)).pipe(Object(V.a)()).subscribe(t=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){var t;null===(t=this.linkInputChangesSubscription)||void 0===t||t.unsubscribe();const e=[...this.links.toArray(),...this.linksWithHrefs.toArray(),this.link,this.linkWithHref].filter(t=>!!t).map(t=>t.onChanges);this.linkInputChangesSubscription=Object(r.a)(e).pipe(Object(V.a)()).subscribe(t=>{this.isActive!==this.isLinkActive(this.router)(t)&&this.update()})}set routerLinkActive(t){const e=Array.isArray(t)?t:t.split(" ");this.classes=e.filter(t=>!!t)}ngOnChanges(t){this.update()}ngOnDestroy(){var t;this.routerEventsSubscription.unsubscribe(),null===(t=this.linkInputChangesSubscription)||void 0===t||t.unsubscribe()}update(){this.links&&this.linksWithHrefs&&this.router.navigated&&Promise.resolve().then(()=>{const t=this.hasActiveLinks();this.isActive!==t&&(this.isActive=t,this.cdr.markForCheck(),this.classes.forEach(e=>{t?this.renderer.addClass(this.element.nativeElement,e):this.renderer.removeClass(this.element.nativeElement,e)}))})}isLinkActive(t){return e=>t.isActive(e.urlTree,this.routerLinkActiveOptions.exact)}hasActiveLinks(){const t=this.isLinkActive(this.router);return this.link&&t(this.link)||this.linkWithHref&&t(this.linkWithHref)||this.links.some(t)||this.linksWithHrefs.some(t)}}return t.\u0275fac=function(e){return new(e||t)(a.Nb(mn),a.Nb(a.l),a.Nb(a.G),a.Nb(a.h),a.Nb(pn,8),a.Nb(fn,8))},t.\u0275dir=a.Ib({type:t,selectors:[["","routerLinkActive",""]],contentQueries:function(t,e,n){if(1&t&&(a.Gb(n,pn,1),a.Gb(n,fn,1)),2&t){let t;a.uc(t=a.cc())&&(e.links=t),a.uc(t=a.cc())&&(e.linksWithHrefs=t)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",routerLinkActive:"routerLinkActive"},exportAs:["routerLinkActive"],features:[a.Ab]}),t})(),_n=(()=>{class t{constructor(t,e,n,i,r){this.parentContexts=t,this.location=e,this.resolver=n,this.changeDetector=r,this.activated=null,this._activatedRoute=null,this.activateEvents=new a.o,this.deactivateEvents=new a.o,this.name=i||"primary",t.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const t=this.parentContexts.getContext(this.name);t&&t.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.resolver||null))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();const t=this.activated;return this.activated=null,this._activatedRoute=null,t}attach(t,e){this.activated=t,this._activatedRoute=e,this.location.insert(t.hostView)}deactivate(){if(this.activated){const t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}}activateWith(t,e){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=t;const n=(e=e||this.resolver).resolveComponentFactory(t._futureSnapshot.routeConfig.component),i=this.parentContexts.getOrCreateContext(this.name).children,a=new yn(t,i,this.location.injector);this.activated=this.location.createComponent(n,this.location.length,a),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return t.\u0275fac=function(e){return new(e||t)(a.Nb(ln),a.Nb(a.R),a.Nb(a.j),a.Yb("name"),a.Nb(a.h))},t.\u0275dir=a.Ib({type:t,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate"},exportAs:["outlet"]}),t})();class yn{constructor(t,e,n){this.route=t,this.childContexts=e,this.parent=n}get(t,e){return t===Gt?this.route:t===ln?this.childContexts:this.parent.get(t,e)}}class vn{}class Cn{preload(t,e){return Object(o.a)(null)}}let wn=(()=>{class t{constructor(t,e,n,i,a){this.router=t,this.injector=i,this.preloadingStrategy=a,this.loader=new on(e,n,e=>t.triggerEvent(new Q(e)),e=>t.triggerEvent(new tt(e)))}setUpPreloading(){this.subscription=this.router.events.pipe(Object(x.a)(t=>t instanceof U),Object(O.a)(()=>this.preload())).subscribe(()=>{})}preload(){const t=this.injector.get(a.z);return this.processRoutes(t,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(t,e){const n=[];for(const i of e)if(i.loadChildren&&!i.canLoad&&i._loadedConfig){const t=i._loadedConfig;n.push(this.processRoutes(t.module,t.routes))}else i.loadChildren&&!i.canLoad?n.push(this.preloadConfig(t,i)):i.children&&n.push(this.processRoutes(t,i.children));return Object(r.a)(n).pipe(Object(V.a)(),Object(f.a)(t=>{}))}preloadConfig(t,e){return this.preloadingStrategy.preload(e,()=>this.loader.load(t.injector,e).pipe(Object(j.a)(t=>(e._loadedConfig=t,this.processRoutes(t.module,t.routes)))))}}return t.\u0275fac=function(e){return new(e||t)(a.Xb(mn),a.Xb(a.y),a.Xb(a.i),a.Xb(a.t),a.Xb(vn))},t.\u0275prov=a.Jb({token:t,factory:t.\u0275fac}),t})(),xn=(()=>{class t{constructor(t,e,n={}){this.router=t,this.viewportScroller=e,this.options=n,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},n.scrollPositionRestoration=n.scrollPositionRestoration||"disabled",n.anchorScrolling=n.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(t=>{t instanceof W?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=t.navigationTrigger,this.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof U&&(this.lastId=t.id,this.scheduleScrollEvent(t,this.router.parseUrl(t.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(t=>{t instanceof rt&&(t.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(t.position):t.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(t.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(t,e){this.router.triggerEvent(new rt(t,"popstate"===this.lastSource?this.store[this.restoredId]:null,e))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(a.Xb(mn),a.Xb(i.u),a.Xb(void 0))},t.\u0275prov=a.Jb({token:t,factory:t.\u0275fac}),t})();const Mn=new a.s("ROUTER_CONFIGURATION"),On=new a.s("ROUTER_FORROOT_GUARD"),kn=[i.h,{provide:Mt,useClass:Ot},{provide:mn,useFactory:function(t,e,n,a,r,o,s,l={},c,d){const u=new mn(null,t,e,n,a,r,o,ht(s));if(c&&(u.urlHandlingStrategy=c),d&&(u.routeReuseStrategy=d),function(t,e){t.errorHandler&&(e.errorHandler=t.errorHandler),t.malformedUriErrorHandler&&(e.malformedUriErrorHandler=t.malformedUriErrorHandler),t.onSameUrlNavigation&&(e.onSameUrlNavigation=t.onSameUrlNavigation),t.paramsInheritanceStrategy&&(e.paramsInheritanceStrategy=t.paramsInheritanceStrategy),t.relativeLinkResolution&&(e.relativeLinkResolution=t.relativeLinkResolution),t.urlUpdateStrategy&&(e.urlUpdateStrategy=t.urlUpdateStrategy)}(l,u),l.enableTracing){const t=Object(i.y)();u.events.subscribe(e=>{t.logGroup(`Router Event: ${e.constructor.name}`),t.log(e.toString()),t.log(e),t.logGroupEnd()})}return u},deps:[Mt,ln,i.h,a.t,a.y,a.i,rn,Mn,[class{},new a.C],[class{},new a.C]]},ln,{provide:Gt,useFactory:function(t){return t.routerState.root},deps:[mn]},{provide:a.y,useClass:a.M},wn,Cn,class{preload(t,e){return e().pipe(Object(M.a)(()=>Object(o.a)(null)))}},{provide:Mn,useValue:{enableTracing:!1}}];function Sn(){return new a.A("Router",mn)}let Tn=(()=>{class t{constructor(t,e){}static forRoot(e,n){return{ngModule:t,providers:[kn,En(e),{provide:On,useFactory:Dn,deps:[[mn,new a.C,new a.L]]},{provide:Mn,useValue:n||{}},{provide:i.i,useFactory:Ln,deps:[i.s,[new a.q(i.a),new a.C],Mn]},{provide:xn,useFactory:Pn,deps:[mn,i.u,Mn]},{provide:vn,useExisting:n&&n.preloadingStrategy?n.preloadingStrategy:Cn},{provide:a.A,multi:!0,useFactory:Sn},[An,{provide:a.d,multi:!0,useFactory:In,deps:[An]},{provide:Nn,useFactory:Rn,deps:[An]},{provide:a.b,multi:!0,useExisting:Nn}]]}}static forChild(e){return{ngModule:t,providers:[En(e)]}}}return t.\u0275mod=a.Lb({type:t}),t.\u0275inj=a.Kb({factory:function(e){return new(e||t)(a.Xb(On,8),a.Xb(mn,8))}}),t})();function Pn(t,e,n){return n.scrollOffset&&e.setOffset(n.scrollOffset),new xn(t,e,n)}function Ln(t,e,n={}){return n.useHash?new i.f(t,e):new i.r(t,e)}function Dn(t){return"guarded"}function En(t){return[{provide:a.a,multi:!0,useValue:t},{provide:rn,multi:!0,useValue:t}]}let An=(()=>{class t{constructor(t){this.injector=t,this.initNavigation=!1,this.resultOfPreactivationDone=new p.a}appInitializer(){return this.injector.get(i.g,Promise.resolve(null)).then(()=>{let t=null;const e=new Promise(e=>t=e),n=this.injector.get(mn),i=this.injector.get(Mn);return"disabled"===i.initialNavigation?(n.setUpLocationChangeListener(),t(!0)):"enabled"===i.initialNavigation||"enabledBlocking"===i.initialNavigation?(n.hooks.afterPreactivation=()=>this.initNavigation?Object(o.a)(null):(this.initNavigation=!0,t(!0),this.resultOfPreactivationDone),n.initialNavigation()):t(!0),e})}bootstrapListener(t){const e=this.injector.get(Mn),n=this.injector.get(wn),i=this.injector.get(xn),r=this.injector.get(mn),o=this.injector.get(a.g);t===o.components[0]&&("enabledNonBlocking"!==e.initialNavigation&&void 0!==e.initialNavigation||r.initialNavigation(),n.setUpPreloading(),i.init(),r.resetRootComponentType(o.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}}return t.\u0275fac=function(e){return new(e||t)(a.Xb(a.t))},t.\u0275prov=a.Jb({token:t,factory:t.\u0275fac}),t})();function In(t){return t.appInitializer.bind(t)}function Rn(t){return t.bootstrapListener.bind(t)}const Nn=new a.s("Router Initializer")},iYuL:function(t,e,n){!function(t){"use strict";var e="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),i=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],a=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;t.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(t,i){return t?/-MMM-/.test(i)?n[t.month()]:e[t.month()]:e},monthsRegex:a,monthsShortRegex:a,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4},invalidDate:"Fecha inv\xe1lida"})}(n("wd/R"))},itXk:function(t,e,n){"use strict";n.d(e,"a",function(){return m});var i=n("z+Ro"),a=n("DH7j"),r=n("7o/Q");class o extends r.a{notifyNext(t,e,n,i,a){this.destination.next(e)}notifyError(t,e){this.destination.error(t)}notifyComplete(t){this.destination.complete()}}class s extends r.a{constructor(t,e,n){super(),this.parent=t,this.outerValue=e,this.outerIndex=n,this.index=0}_next(t){this.parent.notifyNext(this.outerValue,t,this.outerIndex,this.index++,this)}_error(t){this.parent.notifyError(t,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}var l=n("SeVD"),c=n("HDdC");function d(t,e,n,i,a=new s(t,n,i)){if(!a.closed)return e instanceof c.a?e.subscribe(a):Object(l.a)(e)(a)}var u=n("yCtX");const h={};function m(...t){let e,n;return Object(i.a)(t[t.length-1])&&(n=t.pop()),"function"==typeof t[t.length-1]&&(e=t.pop()),1===t.length&&Object(a.a)(t[0])&&(t=t[0]),Object(u.a)(t,n).lift(new p(e))}class p{constructor(t){this.resultSelector=t}call(t,e){return e.subscribe(new f(t,this.resultSelector))}}class f extends o{constructor(t,e){super(t),this.resultSelector=e,this.active=0,this.values=[],this.observables=[]}_next(t){this.values.push(h),this.observables.push(t)}_complete(){const t=this.observables,e=t.length;if(0===e)this.destination.complete();else{this.active=e,this.toRespond=e;for(let n=0;n<e;n++)this.add(d(this,t[n],void 0,n))}}notifyComplete(t){0==(this.active-=1)&&this.destination.complete()}notifyNext(t,e,n){const i=this.values,a=this.toRespond?i[n]===h?--this.toRespond:this.toRespond:0;i[n]=e,0===a&&(this.resultSelector?this._tryResultSelector(i):this.destination.next(i.slice()))}_tryResultSelector(t){let e;try{e=this.resultSelector.apply(this,t)}catch(n){return void this.destination.error(n)}this.destination.next(e)}}},j9Ql:function(t,e,n){"use strict";n.d(e,"a",function(){return i});class i{constructor({nom:t=null,prenom:e=null,dateNaissance:n=null,villeNaissance:i=null,paysNaissance:a=null}){this.nom=t,this.prenom=e,this.dateNaissance=n,this.villeNaissance=i,this.paysNaissance=a}getForPost(){return this}isValid(){return!!(this.nom&&this.prenom&&this.dateNaissance&&this.villeNaissance&&this.paysNaissance)}}},jKJn:function(t,e,n){"use strict";n.d(e,"a",function(){return s});var i=n("B6AI"),a=n("8Y7J"),r=n("zHaW"),o=n("TSSN");let s=(()=>{class t{constructor(t,e){this.snackBar=t,this.translateService=e,this.DURATION=5e3}notifyByKey(t){this.notify(this.translateService.instant(t))}notify(t){this.notifyWithTimeout(t,this.DURATION)}notifyWithTimeout(t,e){this.snackBar.openFromComponent(i.a,{data:{text:t},duration:e})}}return t.\u0275fac=function(e){return new(e||t)(a.Xb(r.b),a.Xb(o.d))},t.\u0275prov=a.Jb({token:t,factory:t.\u0275fac,providedIn:"root"}),t})()},jMqV:function(t,e,n){"use strict";n.d(e,"a",function(){return C}),n.d(e,"b",function(){return x});var i=n("9b/N"),a=n("8Y7J"),r=n("UhP/"),o=n("8LU1"),s=n("s7LF"),l=n("omvX"),c=n("YEUz");const d=["thumbContainer"],u=["toggleBar"],h=["input"],m=function(){return{enterDuration:150}},p=["*"],f=new a.s("mat-slide-toggle-default-options",{providedIn:"root",factory:()=>({disableToggleValue:!1})});let g=0;const b={provide:s.m,useExisting:Object(a.V)(()=>C),multi:!0};class _{constructor(t,e){this.source=t,this.checked=e}}class y{constructor(t){this._elementRef=t}}const v=Object(r.B)(Object(r.w)(Object(r.x)(Object(r.y)(y)),"accent"));let C=(()=>{class t extends v{constructor(t,e,n,i,r,o){super(t),this._focusMonitor=e,this._changeDetectorRef=n,this.defaults=r,this._animationMode=o,this._onChange=t=>{},this._onTouched=()=>{},this._uniqueId="mat-slide-toggle-"+ ++g,this._required=!1,this._checked=!1,this.name=null,this.id=this._uniqueId,this.labelPosition="after",this.ariaLabel=null,this.ariaLabelledby=null,this.change=new a.o,this.toggleChange=new a.o,this.tabIndex=parseInt(i)||0}get required(){return this._required}set required(t){this._required=Object(o.c)(t)}get checked(){return this._checked}set checked(t){this._checked=Object(o.c)(t),this._changeDetectorRef.markForCheck()}get inputId(){return`${this.id||this._uniqueId}-input`}ngAfterContentInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(t=>{"keyboard"===t||"program"===t?this._inputElement.nativeElement.focus():t||Promise.resolve().then(()=>this._onTouched())})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}_onChangeEvent(t){t.stopPropagation(),this.toggleChange.emit(),this.defaults.disableToggleValue?this._inputElement.nativeElement.checked=this.checked:(this.checked=this._inputElement.nativeElement.checked,this._emitChangeEvent())}_onInputClick(t){t.stopPropagation()}writeValue(t){this.checked=!!t}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t,this._changeDetectorRef.markForCheck()}focus(t,e){e?this._focusMonitor.focusVia(this._inputElement,e,t):this._inputElement.nativeElement.focus(t)}toggle(){this.checked=!this.checked,this._onChange(this.checked)}_emitChangeEvent(){this._onChange(this.checked),this.change.emit(new _(this,this.checked))}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}}return t.\u0275fac=function(e){return new(e||t)(a.Nb(a.l),a.Nb(c.h),a.Nb(a.h),a.Yb("tabindex"),a.Nb(f),a.Nb(l.a,8))},t.\u0275cmp=a.Hb({type:t,selectors:[["mat-slide-toggle"]],viewQuery:function(t,e){if(1&t&&(a.Lc(d,1),a.Lc(u,1),a.Lc(h,1)),2&t){let t;a.uc(t=a.cc())&&(e._thumbEl=t.first),a.uc(t=a.cc())&&(e._thumbBarEl=t.first),a.uc(t=a.cc())&&(e._inputElement=t.first)}},hostAttrs:[1,"mat-slide-toggle"],hostVars:12,hostBindings:function(t,e){2&t&&(a.Wb("id",e.id),a.Db("tabindex",e.disabled?null:-1)("aria-label",null)("aria-labelledby",null),a.Fb("mat-checked",e.checked)("mat-disabled",e.disabled)("mat-slide-toggle-label-before","before"==e.labelPosition)("_mat-animation-noopable","NoopAnimations"===e._animationMode))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex",name:"name",id:"id",labelPosition:"labelPosition",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],required:"required",checked:"checked"},outputs:{change:"change",toggleChange:"toggleChange"},exportAs:["matSlideToggle"],features:[a.Bb([b]),a.zb],ngContentSelectors:p,decls:16,vars:18,consts:[[1,"mat-slide-toggle-label"],["label",""],[1,"mat-slide-toggle-bar"],["toggleBar",""],["type","checkbox","role","switch",1,"mat-slide-toggle-input","cdk-visually-hidden",3,"id","required","tabIndex","checked","disabled","change","click"],["input",""],[1,"mat-slide-toggle-thumb-container"],["thumbContainer",""],[1,"mat-slide-toggle-thumb"],["mat-ripple","",1,"mat-slide-toggle-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered","matRippleRadius","matRippleAnimation"],[1,"mat-ripple-element","mat-slide-toggle-persistent-ripple"],[1,"mat-slide-toggle-content",3,"cdkObserveContent"],["labelContent",""],[2,"display","none"]],template:function(t,e){if(1&t&&(a.mc(),a.Tb(0,"label",0,1),a.Tb(2,"div",2,3),a.Tb(4,"input",4,5),a.bc("change",function(t){return e._onChangeEvent(t)})("click",function(t){return e._onInputClick(t)}),a.Sb(),a.Tb(6,"div",6,7),a.Ob(8,"div",8),a.Tb(9,"div",9),a.Ob(10,"div",10),a.Sb(),a.Sb(),a.Sb(),a.Tb(11,"span",11,12),a.bc("cdkObserveContent",function(){return e._onLabelTextChange()}),a.Tb(13,"span",13),a.Hc(14,"\xa0"),a.Sb(),a.lc(15),a.Sb(),a.Sb()),2&t){const t=a.vc(1),n=a.vc(12);a.Db("for",e.inputId),a.Cb(2),a.Fb("mat-slide-toggle-bar-no-side-margin",!n.textContent||!n.textContent.trim()),a.Cb(2),a.nc("id",e.inputId)("required",e.required)("tabIndex",e.tabIndex)("checked",e.checked)("disabled",e.disabled),a.Db("name",e.name)("aria-checked",e.checked.toString())("aria-label",e.ariaLabel)("aria-labelledby",e.ariaLabelledby),a.Cb(5),a.nc("matRippleTrigger",t)("matRippleDisabled",e.disableRipple||e.disabled)("matRippleCentered",!0)("matRippleRadius",20)("matRippleAnimation",a.rc(17,m))}},directives:[r.r,i.a],styles:[".mat-slide-toggle{display:inline-block;height:24px;max-width:100%;line-height:24px;white-space:nowrap;outline:none;-webkit-tap-highlight-color:transparent}.mat-slide-toggle.mat-checked .mat-slide-toggle-thumb-container{transform:translate3d(16px, 0, 0)}[dir=rtl] .mat-slide-toggle.mat-checked .mat-slide-toggle-thumb-container{transform:translate3d(-16px, 0, 0)}.mat-slide-toggle.mat-disabled{opacity:.38}.mat-slide-toggle.mat-disabled .mat-slide-toggle-label,.mat-slide-toggle.mat-disabled .mat-slide-toggle-thumb-container{cursor:default}.mat-slide-toggle-label{display:flex;flex:1;flex-direction:row;align-items:center;height:inherit;cursor:pointer}.mat-slide-toggle-content{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-slide-toggle-label-before .mat-slide-toggle-label{order:1}.mat-slide-toggle-label-before .mat-slide-toggle-bar{order:2}[dir=rtl] .mat-slide-toggle-label-before .mat-slide-toggle-bar,.mat-slide-toggle-bar{margin-right:8px;margin-left:0}[dir=rtl] .mat-slide-toggle-bar,.mat-slide-toggle-label-before .mat-slide-toggle-bar{margin-left:8px;margin-right:0}.mat-slide-toggle-bar-no-side-margin{margin-left:0;margin-right:0}.mat-slide-toggle-thumb-container{position:absolute;z-index:1;width:20px;height:20px;top:-3px;left:0;transform:translate3d(0, 0, 0);transition:all 80ms linear;transition-property:transform}._mat-animation-noopable .mat-slide-toggle-thumb-container{transition:none}[dir=rtl] .mat-slide-toggle-thumb-container{left:auto;right:0}.mat-slide-toggle-thumb{height:20px;width:20px;border-radius:50%}.mat-slide-toggle-bar{position:relative;width:36px;height:14px;flex-shrink:0;border-radius:8px}.mat-slide-toggle-input{bottom:0;left:10px}[dir=rtl] .mat-slide-toggle-input{left:auto;right:10px}.mat-slide-toggle-bar,.mat-slide-toggle-thumb{transition:all 80ms linear;transition-property:background-color;transition-delay:50ms}._mat-animation-noopable .mat-slide-toggle-bar,._mat-animation-noopable .mat-slide-toggle-thumb{transition:none}.mat-slide-toggle .mat-slide-toggle-ripple{position:absolute;top:calc(50% - 20px);left:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-slide-toggle .mat-slide-toggle-ripple .mat-ripple-element:not(.mat-slide-toggle-persistent-ripple){opacity:.12}.mat-slide-toggle-persistent-ripple{width:100%;height:100%;transform:none}.mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{opacity:.04}.mat-slide-toggle:not(.mat-disabled).cdk-keyboard-focused .mat-slide-toggle-persistent-ripple{opacity:.12}.mat-slide-toggle-persistent-ripple,.mat-slide-toggle.mat-disabled .mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{opacity:0}@media(hover: none){.mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{display:none}}.cdk-high-contrast-active .mat-slide-toggle-thumb,.cdk-high-contrast-active .mat-slide-toggle-bar{border:1px solid}.cdk-high-contrast-active .mat-slide-toggle.cdk-keyboard-focused .mat-slide-toggle-bar{outline:2px dotted;outline-offset:5px}\n"],encapsulation:2,changeDetection:0}),t})(),w=(()=>{class t{}return t.\u0275mod=a.Lb({type:t}),t.\u0275inj=a.Kb({factory:function(e){return new(e||t)}}),t})(),x=(()=>{class t{}return t.\u0275mod=a.Lb({type:t}),t.\u0275inj=a.Kb({factory:function(e){return new(e||t)},imports:[[w,r.s,r.j,i.c],w,r.j]}),t})()},jUeY:function(t,e,n){!function(t){"use strict";t.defineLocale("el",{monthsNominativeEl:"\u0399\u03b1\u03bd\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2_\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2_\u039c\u03ac\u03c1\u03c4\u03b9\u03bf\u03c2_\u0391\u03c0\u03c1\u03af\u03bb\u03b9\u03bf\u03c2_\u039c\u03ac\u03b9\u03bf\u03c2_\u0399\u03bf\u03cd\u03bd\u03b9\u03bf\u03c2_\u0399\u03bf\u03cd\u03bb\u03b9\u03bf\u03c2_\u0391\u03cd\u03b3\u03bf\u03c5\u03c3\u03c4\u03bf\u03c2_\u03a3\u03b5\u03c0\u03c4\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2_\u039f\u03ba\u03c4\u03ce\u03b2\u03c1\u03b9\u03bf\u03c2_\u039d\u03bf\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2_\u0394\u03b5\u03ba\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2".split("_"),monthsGenitiveEl:"\u0399\u03b1\u03bd\u03bf\u03c5\u03b1\u03c1\u03af\u03bf\u03c5_\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03b1\u03c1\u03af\u03bf\u03c5_\u039c\u03b1\u03c1\u03c4\u03af\u03bf\u03c5_\u0391\u03c0\u03c1\u03b9\u03bb\u03af\u03bf\u03c5_\u039c\u03b1\u0390\u03bf\u03c5_\u0399\u03bf\u03c5\u03bd\u03af\u03bf\u03c5_\u0399\u03bf\u03c5\u03bb\u03af\u03bf\u03c5_\u0391\u03c5\u03b3\u03bf\u03cd\u03c3\u03c4\u03bf\u03c5_\u03a3\u03b5\u03c0\u03c4\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5_\u039f\u03ba\u03c4\u03c9\u03b2\u03c1\u03af\u03bf\u03c5_\u039d\u03bf\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5_\u0394\u03b5\u03ba\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5".split("_"),months:function(t,e){return t?"string"==typeof e&&/D/.test(e.substring(0,e.indexOf("MMMM")))?this._monthsGenitiveEl[t.month()]:this._monthsNominativeEl[t.month()]:this._monthsNominativeEl},monthsShort:"\u0399\u03b1\u03bd_\u03a6\u03b5\u03b2_\u039c\u03b1\u03c1_\u0391\u03c0\u03c1_\u039c\u03b1\u03ca_\u0399\u03bf\u03c5\u03bd_\u0399\u03bf\u03c5\u03bb_\u0391\u03c5\u03b3_\u03a3\u03b5\u03c0_\u039f\u03ba\u03c4_\u039d\u03bf\u03b5_\u0394\u03b5\u03ba".split("_"),weekdays:"\u039a\u03c5\u03c1\u03b9\u03b1\u03ba\u03ae_\u0394\u03b5\u03c5\u03c4\u03ad\u03c1\u03b1_\u03a4\u03c1\u03af\u03c4\u03b7_\u03a4\u03b5\u03c4\u03ac\u03c1\u03c4\u03b7_\u03a0\u03ad\u03bc\u03c0\u03c4\u03b7_\u03a0\u03b1\u03c1\u03b1\u03c3\u03ba\u03b5\u03c5\u03ae_\u03a3\u03ac\u03b2\u03b2\u03b1\u03c4\u03bf".split("_"),weekdaysShort:"\u039a\u03c5\u03c1_\u0394\u03b5\u03c5_\u03a4\u03c1\u03b9_\u03a4\u03b5\u03c4_\u03a0\u03b5\u03bc_\u03a0\u03b1\u03c1_\u03a3\u03b1\u03b2".split("_"),weekdaysMin:"\u039a\u03c5_\u0394\u03b5_\u03a4\u03c1_\u03a4\u03b5_\u03a0\u03b5_\u03a0\u03b1_\u03a3\u03b1".split("_"),meridiem:function(t,e,n){return t>11?n?"\u03bc\u03bc":"\u039c\u039c":n?"\u03c0\u03bc":"\u03a0\u039c"},isPM:function(t){return"\u03bc"===(t+"").toLowerCase()[0]},meridiemParse:/[\u03a0\u039c]\.?\u039c?\.?/i,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendarEl:{sameDay:"[\u03a3\u03ae\u03bc\u03b5\u03c1\u03b1 {}] LT",nextDay:"[\u0391\u03cd\u03c1\u03b9\u03bf {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[\u03a7\u03b8\u03b5\u03c2 {}] LT",lastWeek:function(){switch(this.day()){case 6:return"[\u03c4\u03bf \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03bf] dddd [{}] LT";default:return"[\u03c4\u03b7\u03bd \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03b7] dddd [{}] LT"}},sameElse:"L"},calendar:function(t,e){var n,i=this._calendarEl[t],a=e&&e.hours();return n=i,("undefined"!=typeof Function&&n instanceof Function||"[object Function]"===Object.prototype.toString.call(n))&&(i=i.apply(e)),i.replace("{}",a%12==1?"\u03c3\u03c4\u03b7":"\u03c3\u03c4\u03b9\u03c2")},relativeTime:{future:"\u03c3\u03b5 %s",past:"%s \u03c0\u03c1\u03b9\u03bd",s:"\u03bb\u03af\u03b3\u03b1 \u03b4\u03b5\u03c5\u03c4\u03b5\u03c1\u03cc\u03bb\u03b5\u03c0\u03c4\u03b1",ss:"%d \u03b4\u03b5\u03c5\u03c4\u03b5\u03c1\u03cc\u03bb\u03b5\u03c0\u03c4\u03b1",m:"\u03ad\u03bd\u03b1 \u03bb\u03b5\u03c0\u03c4\u03cc",mm:"%d \u03bb\u03b5\u03c0\u03c4\u03ac",h:"\u03bc\u03af\u03b1 \u03ce\u03c1\u03b1",hh:"%d \u03ce\u03c1\u03b5\u03c2",d:"\u03bc\u03af\u03b1 \u03bc\u03ad\u03c1\u03b1",dd:"%d \u03bc\u03ad\u03c1\u03b5\u03c2",M:"\u03ad\u03bd\u03b1\u03c2 \u03bc\u03ae\u03bd\u03b1\u03c2",MM:"%d \u03bc\u03ae\u03bd\u03b5\u03c2",y:"\u03ad\u03bd\u03b1\u03c2 \u03c7\u03c1\u03cc\u03bd\u03bf\u03c2",yy:"%d \u03c7\u03c1\u03cc\u03bd\u03b9\u03b1"},dayOfMonthOrdinalParse:/\d{1,2}\u03b7/,ordinal:"%d\u03b7",week:{dow:1,doy:4}})}(n("wd/R"))},jVdC:function(t,e,n){!function(t){"use strict";var e="stycze\u0144_luty_marzec_kwiecie\u0144_maj_czerwiec_lipiec_sierpie\u0144_wrzesie\u0144_pa\u017adziernik_listopad_grudzie\u0144".split("_"),n="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_wrze\u015bnia_pa\u017adziernika_listopada_grudnia".split("_"),i=[/^sty/i,/^lut/i,/^mar/i,/^kwi/i,/^maj/i,/^cze/i,/^lip/i,/^sie/i,/^wrz/i,/^pa\u017a/i,/^lis/i,/^gru/i];function a(t){return t%10<5&&t%10>1&&~~(t/10)%10!=1}function r(t,e,n){var i=t+" ";switch(n){case"ss":return i+(a(t)?"sekundy":"sekund");case"m":return e?"minuta":"minut\u0119";case"mm":return i+(a(t)?"minuty":"minut");case"h":return e?"godzina":"godzin\u0119";case"hh":return i+(a(t)?"godziny":"godzin");case"ww":return i+(a(t)?"tygodnie":"tygodni");case"MM":return i+(a(t)?"miesi\u0105ce":"miesi\u0119cy");case"yy":return i+(a(t)?"lata":"lat")}}t.defineLocale("pl",{months:function(t,i){return t?/D MMMM/.test(i)?n[t.month()]:e[t.month()]:e},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_pa\u017a_lis_gru".split("_"),monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"niedziela_poniedzia\u0142ek_wtorek_\u015broda_czwartek_pi\u0105tek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_\u015br_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_\u015ar_Cz_Pt_So".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Dzi\u015b o] LT",nextDay:"[Jutro o] LT",nextWeek:function(){switch(this.day()){case 0:return"[W niedziel\u0119 o] LT";case 2:return"[We wtorek o] LT";case 3:return"[W \u015brod\u0119 o] LT";case 6:return"[W sobot\u0119 o] LT";default:return"[W] dddd [o] LT"}},lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zesz\u0142\u0105 niedziel\u0119 o] LT";case 3:return"[W zesz\u0142\u0105 \u015brod\u0119 o] LT";case 6:return"[W zesz\u0142\u0105 sobot\u0119 o] LT";default:return"[W zesz\u0142y] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",ss:r,m:r,mm:r,h:r,hh:r,d:"1 dzie\u0144",dd:"%d dni",w:"tydzie\u0144",ww:r,M:"miesi\u0105c",MM:r,y:"rok",yy:r},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},jZKg:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("HDdC"),a=n("quSY");function r(t,e){return new i.a(n=>{const i=new a.a;let r=0;return i.add(e.schedule(function(){r!==t.length?(n.next(t[r++]),n.closed||i.add(this.schedule())):n.complete()})),i})}},jfSC:function(t,e,n){!function(t){"use strict";var e={1:"\u06f1",2:"\u06f2",3:"\u06f3",4:"\u06f4",5:"\u06f5",6:"\u06f6",7:"\u06f7",8:"\u06f8",9:"\u06f9",0:"\u06f0"},n={"\u06f1":"1","\u06f2":"2","\u06f3":"3","\u06f4":"4","\u06f5":"5","\u06f6":"6","\u06f7":"7","\u06f8":"8","\u06f9":"9","\u06f0":"0"};t.defineLocale("fa",{months:"\u0698\u0627\u0646\u0648\u06cc\u0647_\u0641\u0648\u0631\u06cc\u0647_\u0645\u0627\u0631\u0633_\u0622\u0648\u0631\u06cc\u0644_\u0645\u0647_\u0698\u0648\u0626\u0646_\u0698\u0648\u0626\u06cc\u0647_\u0627\u0648\u062a_\u0633\u067e\u062a\u0627\u0645\u0628\u0631_\u0627\u06a9\u062a\u0628\u0631_\u0646\u0648\u0627\u0645\u0628\u0631_\u062f\u0633\u0627\u0645\u0628\u0631".split("_"),monthsShort:"\u0698\u0627\u0646\u0648\u06cc\u0647_\u0641\u0648\u0631\u06cc\u0647_\u0645\u0627\u0631\u0633_\u0622\u0648\u0631\u06cc\u0644_\u0645\u0647_\u0698\u0648\u0626\u0646_\u0698\u0648\u0626\u06cc\u0647_\u0627\u0648\u062a_\u0633\u067e\u062a\u0627\u0645\u0628\u0631_\u0627\u06a9\u062a\u0628\u0631_\u0646\u0648\u0627\u0645\u0628\u0631_\u062f\u0633\u0627\u0645\u0628\u0631".split("_"),weekdays:"\u06cc\u06a9\u200c\u0634\u0646\u0628\u0647_\u062f\u0648\u0634\u0646\u0628\u0647_\u0633\u0647\u200c\u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647_\u067e\u0646\u062c\u200c\u0634\u0646\u0628\u0647_\u062c\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split("_"),weekdaysShort:"\u06cc\u06a9\u200c\u0634\u0646\u0628\u0647_\u062f\u0648\u0634\u0646\u0628\u0647_\u0633\u0647\u200c\u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647_\u067e\u0646\u062c\u200c\u0634\u0646\u0628\u0647_\u062c\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split("_"),weekdaysMin:"\u06cc_\u062f_\u0633_\u0686_\u067e_\u062c_\u0634".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u0642\u0628\u0644 \u0627\u0632 \u0638\u0647\u0631|\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/,isPM:function(t){return/\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/.test(t)},meridiem:function(t,e,n){return t<12?"\u0642\u0628\u0644 \u0627\u0632 \u0638\u0647\u0631":"\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631"},calendar:{sameDay:"[\u0627\u0645\u0631\u0648\u0632 \u0633\u0627\u0639\u062a] LT",nextDay:"[\u0641\u0631\u062f\u0627 \u0633\u0627\u0639\u062a] LT",nextWeek:"dddd [\u0633\u0627\u0639\u062a] LT",lastDay:"[\u062f\u06cc\u0631\u0648\u0632 \u0633\u0627\u0639\u062a] LT",lastWeek:"dddd [\u067e\u06cc\u0634] [\u0633\u0627\u0639\u062a] LT",sameElse:"L"},relativeTime:{future:"\u062f\u0631 %s",past:"%s \u067e\u06cc\u0634",s:"\u0686\u0646\u062f \u062b\u0627\u0646\u06cc\u0647",ss:"%d \u062b\u0627\u0646\u06cc\u0647",m:"\u06cc\u06a9 \u062f\u0642\u06cc\u0642\u0647",mm:"%d \u062f\u0642\u06cc\u0642\u0647",h:"\u06cc\u06a9 \u0633\u0627\u0639\u062a",hh:"%d \u0633\u0627\u0639\u062a",d:"\u06cc\u06a9 \u0631\u0648\u0632",dd:"%d \u0631\u0648\u0632",M:"\u06cc\u06a9 \u0645\u0627\u0647",MM:"%d \u0645\u0627\u0647",y:"\u06cc\u06a9 \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(t){return t.replace(/[\u06f0-\u06f9]/g,function(t){return n[t]}).replace(/\u060c/g,",")},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]}).replace(/,/g,"\u060c")},dayOfMonthOrdinalParse:/\d{1,2}\u0645/,ordinal:"%d\u0645",week:{dow:6,doy:12}})}(n("wd/R"))},ji8I:function(t,e,n){"use strict";n.d(e,"a",function(){return a});var i=n("n33M");class a{constructor({activites:t=null,dateDebut:e=null,dateFin:n=null,horaireDebut:a=null,horaireFin:r=null,nbJoursRepos:o=null,horairesAtypiques:s=!1,dangereux:l={actif:null,valeur:""},lieus:c=[]}){this.activites=t,this.dateDebut=e,this.dateFin=n,this.horaireDebut=a,this.horaireFin=r,this.nbJoursRepos=o,this.horairesAtypiques=s,this.dangereux=l,this.lieus=c.map(t=>{const e=new i.a(t);return e.adresse.pays="FR",e.hebergementCollectif.pays="FR",e})}getForPost(){return Object.assign(Object.assign({},this),{lieus:this.lieus.map(t=>t.getForPost())})}}},jnO4:function(t,e,n){!function(t){"use strict";var e={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},n={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},i=function(t){return 0===t?0:1===t?1:2===t?2:t%100>=3&&t%100<=10?3:t%100>=11?4:5},a={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},r=function(t){return function(e,n,r,o){var s=i(e),l=a[t][i(e)];return 2===s&&(l=l[n?0:1]),l.replace(/%d/i,e)}},o=["\u064a\u0646\u0627\u064a\u0631","\u0641\u0628\u0631\u0627\u064a\u0631","\u0645\u0627\u0631\u0633","\u0623\u0628\u0631\u064a\u0644","\u0645\u0627\u064a\u0648","\u064a\u0648\u0646\u064a\u0648","\u064a\u0648\u0644\u064a\u0648","\u0623\u063a\u0633\u0637\u0633","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];t.defineLocale("ar",{months:o,monthsShort:o,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(t){return"\u0645"===t},meridiem:function(t,e,n){return t<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:r("s"),ss:r("s"),m:r("m"),mm:r("m"),h:r("h"),hh:r("h"),d:r("d"),dd:r("d"),M:r("M"),MM:r("M"),y:r("y"),yy:r("y")},preparse:function(t){return t.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(t){return n[t]}).replace(/\u060c/g,",")},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(n("wd/R"))},jtHE:function(t,e,n){"use strict";n.d(e,"a",function(){return g});var i=n("XNiG"),a=n("3N8a");class r extends a.a{constructor(t,e){super(t,e),this.scheduler=t,this.work=e}schedule(t,e=0){return e>0?super.schedule(t,e):(this.delay=e,this.state=t,this.scheduler.flush(this),this)}execute(t,e){return e>0||this.closed?super.execute(t,e):this._execute(t,e)}requestAsyncId(t,e,n=0){return null!==n&&n>0||null===n&&this.delay>0?super.requestAsyncId(t,e,n):t.flush(this)}}var o=n("IjjT");class s extends o.a{}const l=new s(r);var c=n("quSY"),d=n("7o/Q"),u=n("WMd4");class h extends d.a{constructor(t,e,n=0){super(t),this.scheduler=e,this.delay=n}static dispatch(t){const{notification:e,destination:n}=t;e.observe(n),this.unsubscribe()}scheduleMessage(t){this.destination.add(this.scheduler.schedule(h.dispatch,this.delay,new m(t,this.destination)))}_next(t){this.scheduleMessage(u.a.createNext(t))}_error(t){this.scheduleMessage(u.a.createError(t)),this.unsubscribe()}_complete(){this.scheduleMessage(u.a.createComplete()),this.unsubscribe()}}class m{constructor(t,e){this.notification=t,this.destination=e}}var p=n("9ppp"),f=n("Ylt2");class g extends i.a{constructor(t=Number.POSITIVE_INFINITY,e=Number.POSITIVE_INFINITY,n){super(),this.scheduler=n,this._events=[],this._infiniteTimeWindow=!1,this._bufferSize=t<1?1:t,this._windowTime=e<1?1:e,e===Number.POSITIVE_INFINITY?(this._infiniteTimeWindow=!0,this.next=this.nextInfiniteTimeWindow):this.next=this.nextTimeWindow}nextInfiniteTimeWindow(t){if(!this.isStopped){const e=this._events;e.push(t),e.length>this._bufferSize&&e.shift()}super.next(t)}nextTimeWindow(t){this.isStopped||(this._events.push(new b(this._getNow(),t)),this._trimBufferThenGetEvents()),super.next(t)}_subscribe(t){const e=this._infiniteTimeWindow,n=e?this._events:this._trimBufferThenGetEvents(),i=this.scheduler,a=n.length;let r;if(this.closed)throw new p.a;if(this.isStopped||this.hasError?r=c.a.EMPTY:(this.observers.push(t),r=new f.a(this,t)),i&&t.add(t=new h(t,i)),e)for(let o=0;o<a&&!t.closed;o++)t.next(n[o]);else for(let o=0;o<a&&!t.closed;o++)t.next(n[o].value);return this.hasError?t.error(this.thrownError):this.isStopped&&t.complete(),r}_getNow(){return(this.scheduler||l).now()}_trimBufferThenGetEvents(){const t=this._getNow(),e=this._bufferSize,n=this._windowTime,i=this._events,a=i.length;let r=0;for(;r<a&&!(t-i[r].time<n);)r++;return a>e&&(r=Math.max(r,a-e)),r>0&&i.splice(0,r),i}}class b{constructor(t,e){this.time=t,this.value=e}}},kAim:function(t,e,n){"use strict";n.d(e,"a",function(){return i});var i=function(t){return t.PRIS_EN_CHARGE="PRIS_EN_CHARGE",t.AVANCES="AVANCES",t.VERSEMENT="VERSEMENT",t.AUTRE="AUTRE",t}({})},kEOa:function(t,e,n){!function(t){"use strict";var e={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},n={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"};t.defineLocale("bn",{months:"\u099c\u09be\u09a8\u09c1\u09df\u09be\u09b0\u09bf_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1\u09df\u09be\u09b0\u09bf_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f\u09c7\u09ae\u09cd\u09ac\u09b0_\u0985\u0995\u09cd\u099f\u09cb\u09ac\u09b0_\u09a8\u09ad\u09c7\u09ae\u09cd\u09ac\u09b0_\u09a1\u09bf\u09b8\u09c7\u09ae\u09cd\u09ac\u09b0".split("_"),monthsShort:"\u099c\u09be\u09a8\u09c1_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f_\u0985\u0995\u09cd\u099f\u09cb_\u09a8\u09ad\u09c7_\u09a1\u09bf\u09b8\u09c7".split("_"),weekdays:"\u09b0\u09ac\u09bf\u09ac\u09be\u09b0_\u09b8\u09cb\u09ae\u09ac\u09be\u09b0_\u09ae\u0999\u09cd\u0997\u09b2\u09ac\u09be\u09b0_\u09ac\u09c1\u09a7\u09ac\u09be\u09b0_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf\u09ac\u09be\u09b0_\u09b6\u09c1\u0995\u09cd\u09b0\u09ac\u09be\u09b0_\u09b6\u09a8\u09bf\u09ac\u09be\u09b0".split("_"),weekdaysShort:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),weekdaysMin:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),longDateFormat:{LT:"A h:mm \u09b8\u09ae\u09df",LTS:"A h:mm:ss \u09b8\u09ae\u09df",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u09b8\u09ae\u09df",LLLL:"dddd, D MMMM YYYY, A h:mm \u09b8\u09ae\u09df"},calendar:{sameDay:"[\u0986\u099c] LT",nextDay:"[\u0986\u0997\u09be\u09ae\u09c0\u0995\u09be\u09b2] LT",nextWeek:"dddd, LT",lastDay:"[\u0997\u09a4\u0995\u09be\u09b2] LT",lastWeek:"[\u0997\u09a4] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u09aa\u09b0\u09c7",past:"%s \u0986\u0997\u09c7",s:"\u0995\u09df\u09c7\u0995 \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",ss:"%d \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",m:"\u098f\u0995 \u09ae\u09bf\u09a8\u09bf\u099f",mm:"%d \u09ae\u09bf\u09a8\u09bf\u099f",h:"\u098f\u0995 \u0998\u09a8\u09cd\u099f\u09be",hh:"%d \u0998\u09a8\u09cd\u099f\u09be",d:"\u098f\u0995 \u09a6\u09bf\u09a8",dd:"%d \u09a6\u09bf\u09a8",M:"\u098f\u0995 \u09ae\u09be\u09b8",MM:"%d \u09ae\u09be\u09b8",y:"\u098f\u0995 \u09ac\u099b\u09b0",yy:"%d \u09ac\u099b\u09b0"},preparse:function(t){return t.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,function(t){return n[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},meridiemParse:/\u09b0\u09be\u09a4|\u09b8\u0995\u09be\u09b2|\u09a6\u09c1\u09aa\u09c1\u09b0|\u09ac\u09bf\u0995\u09be\u09b2|\u09b0\u09be\u09a4/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u09b0\u09be\u09a4"===e&&t>=4||"\u09a6\u09c1\u09aa\u09c1\u09b0"===e&&t<5||"\u09ac\u09bf\u0995\u09be\u09b2"===e?t+12:t},meridiem:function(t,e,n){return t<4?"\u09b0\u09be\u09a4":t<10?"\u09b8\u0995\u09be\u09b2":t<17?"\u09a6\u09c1\u09aa\u09c1\u09b0":t<20?"\u09ac\u09bf\u0995\u09be\u09b2":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(n("wd/R"))},kJWO:function(t,e,n){"use strict";n.d(e,"a",function(){return i});const i=(()=>"function"==typeof Symbol&&Symbol.observable||"@@observable")()},kLGl:function(t,e,n){"use strict";n.d(e,"a",function(){return P});var i=n("8Y7J"),a=n("v/fa"),r=n("ePOw"),o=n("5Gnb"),s=n("VIK+"),l=n("TSSN"),c=n("iELJ"),d=n("s7LF"),u=n("Q2Ze"),h=n("zQhy"),m=n("q6Qu"),p=n("SVse"),f=n("Dxy4"),g=n("Tj54"),b=n("fEzz"),_=n("48lP"),y=n("jMqV"),v=n("e6WT"),C=n("f3LI");function w(t,e){1&t&&(i.Tb(0,"mat-error"),i.Hc(1),i.gc(2,"translate"),i.Sb()),2&t&&(i.Cb(1),i.Jc(" ",i.hc(2,1,"dpd.prestation.error.tva")," "))}function x(t,e){1&t&&(i.Tb(0,"mat-error"),i.Hc(1),i.gc(2,"translate"),i.Sb()),2&t&&(i.Cb(1),i.Jc(" ",i.hc(2,1,"common.error.requis")," "))}function M(t,e){if(1&t){const t=i.Ub();i.Tb(0,"div",15),i.Tb(1,"mat-label"),i.Tb(2,"b"),i.Hc(3),i.gc(4,"translate"),i.Sb(),i.Sb(),i.Ob(5,"br"),i.Tb(6,"mat-radio-group",16),i.bc("change",function(e){return i.yc(t),i.fc(2).onAddressTypeChange(e,!1)}),i.Tb(7,"mat-radio-button",17),i.Hc(8),i.gc(9,"translate"),i.Sb(),i.Tb(10,"mat-radio-button",17),i.Hc(11),i.gc(12,"translate"),i.Sb(),i.Sb(),i.Sb()}if(2&t){const t=i.fc(2);i.Cb(3),i.Ic(i.hc(4,5,"common.adresse.type")),i.Cb(4),i.nc("value",t.addressTypeEnum.ADRESSE),i.Cb(1),i.Jc(" ",i.hc(9,7,"common.adresse")," "),i.Cb(2),i.nc("value",t.addressTypeEnum.COORDONNEES),i.Cb(1),i.Jc(" ",i.hc(12,9,"common.coordonnees")," ")}}function O(t,e){1&t&&(i.Tb(0,"mat-form-field",18),i.Ob(1,"input",19),i.Sb())}function k(t,e){1&t&&(i.Tb(0,"mat-error"),i.Hc(1),i.gc(2,"translate"),i.Sb()),2&t&&(i.Cb(1),i.Jc(" ",i.hc(2,1,"common.error.requis")," "))}function S(t,e){if(1&t){const t=i.Ub();i.Tb(0,"div"),i.Tb(1,"mat-form-field",18),i.Ob(2,"input",20),i.Fc(3,k,3,3,"mat-error",6),i.Sb(),i.Tb(4,"div",15),i.Tb(5,"mat-label"),i.Tb(6,"b"),i.Hc(7),i.gc(8,"translate"),i.Sb(),i.Sb(),i.Ob(9,"br"),i.Tb(10,"mat-radio-group",21),i.bc("change",function(e){return i.yc(t),i.fc(2).onAddressTypeChange(e,!0)}),i.Tb(11,"mat-radio-button",22),i.Hc(12),i.gc(13,"translate"),i.Sb(),i.Tb(14,"mat-radio-button",23),i.Hc(15),i.gc(16,"translate"),i.Sb(),i.Sb(),i.Sb(),i.Ob(17,"app-address-form-2",24),i.Sb()}if(2&t){const t=i.fc(2);i.Cb(3),i.nc("ngIf",t.doesControlHaveError("nomHebergement","required")),i.Cb(4),i.Ic(i.hc(8,12,"common.adresse.type")),i.Cb(4),i.nc("value",t.addressTypeEnum.ADRESSE),i.Cb(1),i.Jc(" ",i.hc(13,14,"common.adresse")," "),i.Cb(2),i.nc("value",t.addressTypeEnum.COORDONNEES),i.Cb(1),i.Jc(" ",i.hc(16,16,"common.coordonnees")," "),i.Cb(2),i.nc("formGp",t.hebergementCollectifFg)("showCoords",t.adresseHebergementType===t.addressTypeEnum.COORDONNEES)("showCountry",!1)("showAddress",t.adresseHebergementType!==t.addressTypeEnum.COORDONNEES)("isRequired",!0)("isAutocompleteDisabled",t.adresseHebergementType===t.addressTypeEnum.COORDONNEES)}}function T(t,e){if(1&t){const t=i.Ub();i.Tb(0,"div"),i.Tb(1,"app-lieu-autocomplete-2",10),i.bc("selectionChanged",function(e){return i.yc(t),i.fc().raisonsocialeChanged(e)}),i.Fc(2,x,3,3,"mat-error",6),i.Sb(),i.Fc(3,M,13,11,"div",11),i.Tb(4,"div"),i.Ob(5,"app-address-form-2",12),i.Fc(6,O,2,0,"mat-form-field",13),i.Sb(),i.Tb(7,"mat-slide-toggle",14),i.bc("change",function(e){return i.yc(t),i.fc().changeHebergementCollectifStatus(e.checked)}),i.Hc(8),i.gc(9,"translate"),i.Sb(),i.Fc(10,S,18,18,"div",6),i.Sb()}if(2&t){const t=i.fc();i.Cb(1),i.nc("name","raisonSociale")("inputTitle",t.locationType===t.locationTypeEnum.CHANTIER?"dpd.chantier":"dpd.raisonsociale")("isRequired",!0)("isAutocompleteDisabled",t.locationType!==t.locationTypeEnum.CHANTIER)("formControl",t.nameCtrl),i.Cb(1),i.nc("ngIf",t.doesControlHaveError("nom","required")),i.Cb(1),i.nc("ngIf",t.locationType===t.locationTypeEnum.CHANTIER),i.Cb(2),i.nc("formGp",t.addressFg)("showCoords",t.addressType===t.addressTypeEnum.COORDONNEES)("showCountry",!1)("showAddress",t.addressType!==t.addressTypeEnum.COORDONNEES)("isCompletionMode",t.isCompletionMode)("isRequired",!0),i.Cb(1),i.nc("ngIf",null!==t.codeNaf),i.Cb(2),i.Jc(" ",i.hc(9,16,"dpd.hebergement.collectif")," "),i.Cb(2),i.nc("ngIf",t.isHebergementCollectif)}}let P=(()=>{class t extends a.a{constructor(t,e,n){super(t),this.translateService=t,this.dialog=e,this.changeDetectorRef=n,this.saveOrUpdateLocationEvent=new i.o,this.closeEvent=new i.o,this.locationTypeEnum=o.a,this.addressTypeEnum=r.a}set locationFg(t){this.form=t,this.enableOrDisableInfos(this.form.get("type").value)}get locationType(){return this.form.get("type").value}get nameCtrl(){return this.form.get("nom")}get addressFg(){return this.form.get("adresse")}get addressTypeCtrl(){return this.form.get("typeAdresse")}get addressType(){return this.addressTypeCtrl.value}get codeNaf(){return this.form.get("codeNaf").value}get isHebergementCollectif(){return this.form.get("isHebergementCollectif").value}get nomHebergementCtrl(){return this.form.get("nomHebergement")}get hebergementCollectifFg(){return this.form.get("hebergementCollectif")}get adresseHebergementTypeCtrl(){return this.form.get("typeAdresseHebergement")}get adresseHebergementType(){return this.adresseHebergementTypeCtrl.value}get isLocationInfosDisplayed(){return this.locationType&&(this.locationType===o.a.CLIENT&&this.isClientFrench&&this.isClientValid||this.locationType!==o.a.CLIENT)}onAddressTypeChange(t,e){const n=t.value,i=e?this.hebergementCollectifFg:this.addressFg;console.log("plop update ",n),i.patchValue({adresse:null,cp:null,ville:null,complementAdresse:null,latitude:null,longitude:null}),this.enableOrDisableAddress(n,i)}enableOrDisableAddress(t,e){e.get("cp").enable(),e.get("ville").enable(),e.get("pays").disable(),t===r.a.COORDONNEES?(e.get("adresse").disable(),e.get("complementAdresse").disable()):(e.get("adresse").enable(),e.get("complementAdresse").enable())}enableOrDisableInfos(t){this.isCompletionMode||t!==o.a.CHANTIER?(this.nameCtrl.disable(),this.addressTypeCtrl.disable(),this.addressFg.disable()):(this.nameCtrl.enable(),this.addressTypeCtrl.enable(),this.enableOrDisableAddress(this.addressTypeCtrl.value,this.addressFg))}onLocationTypeChange(t){const e=t.value;this.enableOrDisableInfos(e),e===o.a.CHANTIER&&this.form.patchValue({typeAdresse:r.a.ADRESSE,typeAdresseHebergement:r.a.ADRESSE}),e===o.a.CLIENT&&this.isClientValid&&this.isClientFrench&&this.showSIRENPopup(this.numTVAClient.slice(-9)),e===o.a.AUTRE&&this.showSIRENPopup(),this.changeHebergementCollectifStatus(this.isHebergementCollectif)}changeHebergementCollectifStatus(t){t?(this.form.get("nomHebergement").enable(),this.form.get("typeAdresseHebergement").enable(),this.form.get("hebergementCollectif").enable(),this.form.get("hebergementCollectif").get("longitude").disable(),this.form.get("hebergementCollectif").get("latitude").disable()):(this.form.get("nomHebergement").disable(),this.form.get("typeAdresseHebergement").disable(),this.form.get("hebergementCollectif").disable(),this.form.patchValue({nomHebergement:null,hebergementCollectif:{adresse:null,cp:null,ville:null,complementAdresse:null,latitude:null,longitude:null}}))}getGreenValidationButton(){return this.locationFormIsValidExceptIsSavedInArrayControl(this.form)&&(this.locationType!==o.a.CLIENT||this.locationType===o.a.CLIENT&&this.isClientFrench&&this.isClientValid)}locationFormIsValidExceptIsSavedInArrayControl(t){let e=!0;return Object.entries(t.controls).every(t=>"isSavedInArray"===t[0]||!t[1].invalid||(e=!1,!1)),e}saveOrUpdateLocation(){this.saveOrUpdateLocationEvent.emit(this.form)}clearLocation(){this.closeEvent.emit()}showSIRENPopup(t){this.dialog.open(s.a,{data:t?{siren:t}:{},width:"90%",maxWidth:"90%"}).beforeClosed().subscribe(t=>{this.form.patchValue(t&&t.address?{nom:t.rs,siret:t.siret,adresse:{adresse:t.address.adresse,cp:t.address.cp,ville:t.address.ville,complementAdresse:t.address.complementAdresse,latitude:t.address.latitude,longitude:t.address.longitude},codeNaf:t.codeNaf}:{type:null})})}raisonsocialeChanged(t){this.form.patchValue({typeAdresse:t.typeAdresse,adresse:t})}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(l.d),i.Nb(c.b),i.Nb(i.h))},t.\u0275cmp=i.Hb({type:t,selectors:[["app-location-form-2"]],inputs:{isClientValid:"isClientValid",isClientFrench:"isClientFrench",numTVAClient:"numTVAClient",isCompletionMode:"isCompletionMode",locationFg:"locationFg"},outputs:{saveOrUpdateLocationEvent:"saveOrUpdateLocationEvent",closeEvent:"closeEvent"},features:[i.zb],decls:20,vars:11,consts:[[1,"location_container",3,"formGroup"],[1,"radio","place-type"],["name","location-type","formControlName","type",3,"change"],["data-cy","client-choice","id","clientChoice","color","primary","appLabel","dpd.prestation.lieu.type.client",3,"value"],["data-cy","autre-choice","id","autreChoice","color","primary","appLabel","dpd.prestation.lieu.type.autre",3,"value"],["data-cy","chantier-choice","id","chantierChoice","color","primary","appLabel","dpd.prestation.lieu.type.chantier",3,"value"],[4,"ngIf"],[1,"places-action"],["mat-raised-button","","type","button","aria-label","save",3,"ngClass","disabled","click"],["mat-button","","aria-label","cancel","type","button","color","warn",3,"click"],["data-cy","nom-chantier","formControlName","nom","textType","text",3,"name","inputTitle","isRequired","isAutocompleteDisabled","formControl","selectionChanged"],["class","radio",4,"ngIf"],["data-cy","adresse-chantier","name","adresse",3,"formGp","showCoords","showCountry","showAddress","isCompletionMode","isRequired"],["class","full-width",4,"ngIf"],["data-cy","toggle-hebergement","color","primary","name","toggleCollectiveLodging","formControlName","isHebergementCollectif",3,"change"],[1,"radio"],["id","gpsMode1","formControlName","typeAdresse",3,"change"],["color","primary",3,"value"],[1,"full-width"],["matInput","","type","text","name","codeNaf","appLabel","client.codeNaf","formControlName","codeNaf"],["matInput","","data-cy","nom-hebergement","type","text","name","nomHebergement","appLabel","dpd.prestation.hebergement.collectif","appTextField","text","formControlName","nomHebergement","required",""],["name","typeAdresseHebergement","formControlName","typeAdresseHebergement",3,"change"],["data-cy","button-type-adresse-hebergement","color","primary",3,"value"],["data-cy","button-type-coordonnees-hebergement","color","primary",3,"value"],["data-cy","hebergement-collectif","name","hebergementCollectif",3,"formGp","showCoords","showCountry","showAddress","isRequired","isAutocompleteDisabled"]],template:function(t,e){1&t&&(i.Tb(0,"form",0),i.Tb(1,"div",1),i.Tb(2,"mat-label"),i.Tb(3,"b"),i.Hc(4),i.gc(5,"translate"),i.Sb(),i.Sb(),i.Ob(6,"br"),i.Tb(7,"mat-radio-group",2),i.bc("change",function(t){return e.onLocationTypeChange(t)}),i.Ob(8,"mat-radio-button",3),i.Ob(9,"mat-radio-button",4),i.Ob(10,"mat-radio-button",5),i.Sb(),i.Sb(),i.Fc(11,w,3,3,"mat-error",6),i.Fc(12,T,11,18,"div",6),i.Tb(13,"div",7),i.Tb(14,"button",8),i.bc("click",function(){return e.saveOrUpdateLocation()}),i.Tb(15,"mat-icon"),i.Hc(16,"done"),i.Sb(),i.Sb(),i.Tb(17,"button",9),i.bc("click",function(){return e.clearLocation()}),i.Tb(18,"mat-icon"),i.Hc(19,"clear"),i.Sb(),i.Sb(),i.Sb(),i.Sb()),2&t&&(i.nc("formGroup",e.form),i.Cb(4),i.Ic(i.hc(5,9,"dpd.prestation.lieu.type")),i.Cb(4),i.nc("value",e.locationTypeEnum.CLIENT),i.Cb(1),i.nc("value",e.locationTypeEnum.AUTRE),i.Cb(1),i.nc("value",e.locationTypeEnum.CHANTIER),i.Cb(1),i.nc("ngIf",!(e.locationType!==e.locationTypeEnum.CLIENT||e.isClientValid&&e.isClientFrench)),i.Cb(1),i.nc("ngIf",e.isLocationInfosDisplayed),i.Cb(2),i.nc("ngClass",e.getGreenValidationButton()?"green-btn":"orange-btn")("disabled",!e.locationType))},directives:[d.x,d.p,d.i,u.f,h.b,d.o,d.g,h.a,m.a,p.l,f.a,p.j,g.a,u.b,b.a,d.f,_.a,y.a,u.c,v.b,d.c,C.a,d.v],pipes:[l.c],styles:[".location_container[_ngcontent-%COMP%] .radio[_ngcontent-%COMP%]{padding:8px 0}.location_container[_ngcontent-%COMP%] .radio[_ngcontent-%COMP%] mat-radio-button[_ngcontent-%COMP%]{margin:8px 12px 0}.location_container[_ngcontent-%COMP%] .radio.place-type[_ngcontent-%COMP%] mat-radio-group[_ngcontent-%COMP%]{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.location_container[_ngcontent-%COMP%] .full-width[_ngcontent-%COMP%]{width:100%}.location_container[_ngcontent-%COMP%] .places-action[_ngcontent-%COMP%]{display:-ms-flexbox;display:flex;-ms-flex-direction:row-reverse;flex-direction:row-reverse;-ms-flex-align:center;align-items:center}"]}),t})()},kOpN:function(t,e,n){!function(t){"use strict";t.defineLocale("zh-tw",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u51cc\u6668"===e||"\u65e9\u4e0a"===e||"\u4e0a\u5348"===e?t:"\u4e2d\u5348"===e?t>=11?t:t+12:"\u4e0b\u5348"===e||"\u665a\u4e0a"===e?t+12:void 0},meridiem:function(t,e,n){var i=100*t+e;return i<600?"\u51cc\u6668":i<900?"\u65e9\u4e0a":i<1130?"\u4e0a\u5348":i<1230?"\u4e2d\u5348":i<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929] LT",nextDay:"[\u660e\u5929] LT",nextWeek:"[\u4e0b]dddd LT",lastDay:"[\u6628\u5929] LT",lastWeek:"[\u4e0a]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"\u65e5";case"M":return t+"\u6708";case"w":case"W":return t+"\u9031";default:return t}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(n("wd/R"))},keau:function(t,e,n){"use strict";n.d(e,"a",function(){return o});var i=n("cXaA"),a=n("8Y7J"),r=n("IheW");let o=(()=>{class t{constructor(t){this.http=t,this.log=i.a.create("SireneService"),this.END_POINT="/api/sirets"}getSirets(t=null,e=null,n=null,i=null,a=null){const r=this.END_POINT+"/search";this.log.data(`[HTTP] (POST) -> ${r}`);const o={};return null!==t&&(o.criteria={filters:t,operator:"AND"}),null!==a&&(o.size=a),null!==i&&(o.page=i),null!==e&&null!==n&&(o.sorts=[{field:e,direction:null!==n?n.toUpperCase():n}]),this.http.post(r,o)}getSiret(){return this._siret}setSiret(t){this._siret=t}getState(){return this._state}setState(t){this._state=t}}return t.\u0275fac=function(e){return new(e||t)(a.Xb(r.b))},t.\u0275prov=a.Jb({token:t,factory:t.\u0275fac,providedIn:"root"}),t})()},l5ep:function(t,e,n){!function(t){"use strict";t.defineLocale("cy",{months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Heddiw am] LT",nextDay:"[Yfory am] LT",nextWeek:"dddd [am] LT",lastDay:"[Ddoe am] LT",lastWeek:"dddd [diwethaf am] LT",sameElse:"L"},relativeTime:{future:"mewn %s",past:"%s yn \xf4l",s:"ychydig eiliadau",ss:"%d eiliad",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"},dayOfMonthOrdinalParse:/\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,ordinal:function(t){var e="";return t>20?e=40===t||50===t||60===t||80===t||100===t?"fed":"ain":t>0&&(e=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"][t]),t+e},week:{dow:1,doy:4}})}(n("wd/R"))},lBUW:function(t,e,n){"use strict";n.r(e),n.d(e,"AuthModule",function(){return B});var i=n("SVse"),a=n("Lyw/"),r=n("iInd"),o=n("AFtR"),s=n("IGtN"),l=n("8Y7J"),c=n("TSSN"),d=n("f4AX"),u=n("jKJn"),h=n("Cwn8"),m=n("PDjf"),p=n("s7LF"),f=n("Q2Ze"),g=n("e6WT"),b=n("q6Qu"),_=n("PkhO"),y=n("0zE1"),v=n("Dxy4"),C=n("Tj54");function w(t,e){1&t&&(l.Tb(0,"mat-error"),l.Hc(1),l.gc(2,"translate"),l.Sb()),2&t&&(l.Cb(1),l.Ic(l.hc(2,1,"common.error.requis")))}function x(t,e){1&t&&(l.Tb(0,"mat-error"),l.Hc(1),l.gc(2,"translate"),l.Sb()),2&t&&(l.Cb(1),l.Ic(l.hc(2,1,"common.error.email")))}function M(t,e){if(1&t){const t=l.Ub();l.Tb(0,"re-captcha",13,14),l.bc("ngModelChange",function(e){return l.yc(t),l.fc().captcha=e}),l.Sb()}if(2&t){const t=l.fc();l.nc("ngModel",t.captcha)("siteKey",t.siteKey)}}function O(t,e){1&t&&(l.Tb(0,"div",15),l.Tb(1,"mat-error"),l.Tb(2,"mat-icon"),l.Hc(3,"warning"),l.Sb(),l.Hc(4),l.gc(5,"translate"),l.Sb(),l.Sb()),2&t&&(l.Cb(4),l.Jc("",l.hc(5,1,"common.error.interne")," "))}let k=(()=>{class t extends s.a{constructor(t,e,n,i,a,r,o){super(t),this.translateService=t,this.userService=e,this.alertService=n,this.router=i,this.route=a,this.loader=r,this.zone=o,this.loaderReady=!1,this.siteKey=null;const s=this.route.snapshot.data.configurationData;s&&(this.siteKey=s.siteKey)}onSubmit(){this.subscriptions.push(this.userService.resetPassword(this.captcha,this.login).subscribe(t=>{null!=t?this.errorKey=t:this.translateService.get("password.oublie.done").subscribe(t=>{this.alertService.notify(t),this.router.navigate(["/auth/login"])})}))}back(){this.router.navigate(["/"])}load(){this.subscriptions.push(this.loader.ready.subscribe(t=>{setTimeout(()=>this.zone.run(()=>this.loaderReady=!!t),0)}))}}return t.\u0275fac=function(e){return new(e||t)(l.Nb(c.d),l.Nb(d.a),l.Nb(u.a),l.Nb(r.f),l.Nb(r.a),l.Nb(a.c),l.Nb(l.B))},t.\u0275cmp=l.Hb({type:t,selectors:[["app-forgot-password"]],features:[l.zb],decls:22,vars:9,consts:[["id","pwd-forgot",1,"content-flex"],[1,"pwd-forgot-form"],["f","ngForm","pwdForgotForm","ngForm"],[1,"fields"],["matInput","","name","login","maxlength","256","appLabel","common.login","appEmailValidator","","appNoSpace","","required","",3,"ngModel","ngModelChange"],["loginModel","ngModel"],[4,"ngIf"],["id","captcha","name","captcha","required","",3,"ngModel","siteKey","ngModelChange",4,"ngIf"],["class","error",4,"ngIf"],[1,"submission"],["mat-raised-button","","name","envoyer","color","primary","type","button","aria-label","submit","appLabel","common.enregistrer",3,"disabled","click"],[1,"form-2-column-separator"],["mat-raised-button","","color","warn","type","button","aria-label","cancel","appLabel","common.annuler",3,"click"],["id","captcha","name","captcha","required","",3,"ngModel","siteKey","ngModelChange"],["captchaControl","ngModel"],[1,"error"]],template:function(t,e){if(1&t&&(l.Tb(0,"div",0),l.Tb(1,"mat-card",1),l.Tb(2,"mat-card-title"),l.Tb(3,"h1"),l.Hc(4),l.gc(5,"translate"),l.Sb(),l.Sb(),l.Tb(6,"mat-card-content"),l.Tb(7,"form",null,2),l.Tb(10,"div",3),l.Tb(11,"mat-form-field"),l.Tb(12,"input",4,5),l.bc("ngModelChange",function(t){return e.login=t}),l.Sb(),l.Fc(14,w,3,3,"mat-error",6),l.Fc(15,x,3,3,"mat-error",6),l.Sb(),l.Sb(),l.Fc(16,M,2,2,"re-captcha",7),l.Fc(17,O,6,3,"div",8),l.Tb(18,"div",9),l.Tb(19,"button",10),l.bc("click",function(){return e.onSubmit()}),l.Sb(),l.Ob(20,"div",11),l.Tb(21,"button",12),l.bc("click",function(){return e.back()}),l.Sb(),l.Sb(),l.Sb(),l.Sb(),l.Sb(),l.Sb()),2&t){const t=l.vc(9),n=l.vc(13);l.Cb(4),l.Ic(l.hc(5,7,"password.oublie.titre")),l.Cb(8),l.nc("ngModel",e.login),l.Cb(2),l.nc("ngIf",n.hasError("required")),l.Cb(1),l.nc("ngIf",n.hasError("email")),l.Cb(1),l.nc("ngIf",e.loaderReady),l.Cb(1),l.nc("ngIf",e.errorKey),l.Cb(2),l.nc("disabled",t.invalid)}},directives:[m.a,m.d,m.b,p.x,p.p,p.q,f.c,g.b,p.c,p.k,b.a,_.a,y.a,p.v,p.o,p.r,i.l,v.a,f.b,a.a,a.e,C.a],pipes:[c.c],styles:["#pwd-forgot[_ngcontent-%COMP%]{margin-top:12px;-ms-flex-flow:row wrap-reverse;flex-flow:row wrap-reverse;-ms-flex-pack:distribute;justify-content:space-around;-ms-flex-align:baseline;align-items:baseline}#pwd-forgot[_ngcontent-%COMP%] mat-card-title[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:24px}#pwd-forgot[_ngcontent-%COMP%] .pwd-forgot-form[_ngcontent-%COMP%]{width:25%;min-width:400px;margin-bottom:24px}#pwd-forgot[_ngcontent-%COMP%] .fields[_ngcontent-%COMP%]{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}#pwd-forgot[_ngcontent-%COMP%] .error[_ngcontent-%COMP%] mat-error[_ngcontent-%COMP%]{display:-ms-flexbox;display:flex;padding:10px;-ms-flex-align:center;align-items:center}#pwd-forgot[_ngcontent-%COMP%] .error[_ngcontent-%COMP%] mat-error[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{margin-right:12px}#pwd-forgot[_ngcontent-%COMP%] .submission[_ngcontent-%COMP%]{padding-top:1.25em;-ms-flex-pack:distribute;justify-content:space-around;display:-ms-flexbox;display:flex}"]}),t})();var S=n("xuwl"),T=n("qh/L"),P=n("NVUN");function L(t,e){1&t&&(l.Tb(0,"mat-error"),l.Hc(1),l.gc(2,"translate"),l.Sb()),2&t&&(l.Cb(1),l.Jc(" ",l.hc(2,1,"common.error.login")," "))}function D(t,e){1&t&&(l.Tb(0,"mat-error"),l.Hc(1),l.gc(2,"translate"),l.Sb()),2&t&&(l.Cb(1),l.Jc(" ",l.hc(2,1,"common.error.password")," "))}function E(t,e){1&t&&l.Ob(0,"app-infobulle",26)}function A(t,e){if(1&t&&(l.Tb(0,"div",27),l.Tb(1,"mat-error"),l.Hc(2),l.gc(3,"translate"),l.Sb(),l.Sb()),2&t){const t=l.fc();l.Cb(2),l.Jc(" ",l.hc(3,1,t.errorKey)," ")}}const I=function(){return{"full-width":!0}},R=function(){return{"margin-right":"30px"}},N=function(){return{}};let Y=(()=>{class t{constructor(t,e){this.sessionService=t,this.translateService=e,this.credentials={login:"",password:""},this.hide=!0,this.errorKey=null}ngOnInit(){this.translateService.get("login.password._info").subscribe(t=>this.hasInfoBullePassword=t&&""!==t),this.translateService.get("login.password.oublie._info").subscribe(t=>this.hasInfobulleForgotten=t&&""!==t)}authenticate(t){t.preventDefault(),this.sessionService.login(this.credentials.login,this.credentials.password).subscribe(t=>{t===S.a.BAD_CREDENTIALS?this.errorKey="login.error.connexion":t===S.a.EXPIRED_PASSWORD?this.errorKey="login.error.password.expire":t===S.a.INTERNAL?this.errorKey="common.error.interne":t===S.a.USER_DELETED?this.errorKey="compte.delete.message":t===S.a.RESET_PASSWORD?this.errorKey="login.error.password.reset":t===S.a.BLOCKED_ACCOUNT&&(this.errorKey="login.error.account.blocked")})}}return t.\u0275fac=function(e){return new(e||t)(l.Nb(T.a),l.Nb(c.d))},t.\u0275cmp=l.Hb({type:t,selectors:[["app-login"]],decls:51,vars:40,consts:[[1,"center-text"],["id","login",1,"content-flex"],[1,"info"],[1,"item"],["src","assets/img/login/picto01.png","alt","detail1"],[3,"innerHTML"],["src","assets/img/login/picto02.png","alt","detail2"],["src","assets/img/login/picto03.png","alt","detail3"],["src","assets/img/login/picto04.png","alt","detail4"],[1,"login-form"],[3,"ngSubmit"],["f","ngForm"],[1,"fields"],[3,"ngClass"],["matInput","","name","login","aria-label","login","maxlength","256","appLabel","login.identifiant","appNoSpace","","appEmailValidator","","required","",3,"ngModel","ngModelChange"],["login","ngModel"],[4,"ngIf"],["matInput","","name","password","aria-label","password","appLabel","login.password","required","",3,"type","ngModel","ngModelChange"],["password","ngModel"],["matSuffix","",1,"cursor-pointer",3,"ngStyle","click"],[1,"forgotten"],["routerLink","/auth/password/forgot","routerLinkActive","active",1,"forgot-password"],["message","login.password.oublie._info",4,"ngIf"],["class","error",4,"ngIf"],[1,"submission"],["mat-raised-button","","type","submit","color","primary","aria-label","submit","appLabel","login.submit",3,"disabled"],["message","login.password.oublie._info"],[1,"error"]],template:function(t,e){if(1&t){const t=l.Ub();l.Tb(0,"h1",0),l.Hc(1),l.gc(2,"translate"),l.Sb(),l.Tb(3,"div",1),l.Tb(4,"mat-card",2),l.Tb(5,"mat-card-title"),l.Hc(6),l.gc(7,"translate"),l.Sb(),l.Tb(8,"mat-card-content"),l.Tb(9,"div",3),l.Ob(10,"img",4),l.Ob(11,"div",5),l.gc(12,"translate"),l.Sb(),l.Tb(13,"div",3),l.Ob(14,"img",6),l.Ob(15,"div",5),l.gc(16,"translate"),l.Sb(),l.Tb(17,"div",3),l.Ob(18,"img",7),l.Ob(19,"div",5),l.gc(20,"translate"),l.Sb(),l.Tb(21,"div",3),l.Ob(22,"img",8),l.Ob(23,"div",5),l.gc(24,"translate"),l.Sb(),l.Sb(),l.Sb(),l.Tb(25,"mat-card",9),l.Tb(26,"mat-card-title"),l.Hc(27),l.gc(28,"translate"),l.Sb(),l.Tb(29,"mat-card-content"),l.Tb(30,"form",10,11),l.bc("ngSubmit",function(n){return l.yc(t),l.vc(31).form.valid&&e.authenticate(n)}),l.Tb(32,"div",12),l.Tb(33,"mat-form-field",13),l.Tb(34,"input",14,15),l.bc("ngModelChange",function(t){return e.credentials.login=t}),l.Sb(),l.Fc(36,L,3,3,"mat-error",16),l.Sb(),l.Tb(37,"mat-form-field",13),l.Tb(38,"input",17,18),l.bc("ngModelChange",function(t){return e.credentials.password=t}),l.Sb(),l.Tb(40,"mat-icon",19),l.bc("click",function(){return e.hide=!e.hide}),l.Hc(41),l.Sb(),l.Fc(42,D,3,3,"mat-error",16),l.Sb(),l.Tb(43,"div",20),l.Tb(44,"a",21),l.Hc(45),l.gc(46,"translate"),l.Sb(),l.Fc(47,E,1,0,"app-infobulle",22),l.Sb(),l.Sb(),l.Fc(48,A,4,3,"div",23),l.Tb(49,"div",24),l.Ob(50,"button",25),l.Sb(),l.Sb(),l.Sb(),l.Sb(),l.Sb()}if(2&t){const t=l.vc(31),n=l.vc(35),i=l.vc(39);l.Cb(1),l.Ic(l.hc(2,20,"common.bienvenue")),l.Cb(5),l.Jc(" ",l.hc(7,22,"login.details.titre")," "),l.Cb(5),l.oc("innerHTML",l.hc(12,24,"login.details.1"),l.zc),l.Cb(4),l.oc("innerHTML",l.hc(16,26,"login.details.2"),l.zc),l.Cb(4),l.oc("innerHTML",l.hc(20,28,"login.details.3"),l.zc),l.Cb(4),l.oc("innerHTML",l.hc(24,30,"login.details.4"),l.zc),l.Cb(4),l.Jc(" ",l.hc(28,32,"login.titre")," "),l.Cb(6),l.nc("ngClass",l.rc(36,I)),l.Cb(1),l.nc("ngModel",e.credentials.login),l.Cb(2),l.nc("ngIf",n.hasError("required")),l.Cb(1),l.nc("ngClass",l.rc(37,I)),l.Cb(1),l.nc("type",e.hide?"password":"text")("ngModel",e.credentials.password),l.Cb(2),l.nc("ngStyle",e.hasInfoBullePassword?l.rc(38,R):l.rc(39,N)),l.Cb(1),l.Jc(" ",e.hide?"visibility":"visibility_off"," "),l.Cb(1),l.nc("ngIf",i.hasError("required")),l.Cb(3),l.Jc(" ",l.hc(46,34,"login.password.oublie")," "),l.Cb(2),l.nc("ngIf",e.hasInfobulleForgotten),l.Cb(1),l.nc("ngIf",e.errorKey),l.Cb(2),l.nc("disabled",t.submitted&&t.invalid)}},directives:[m.a,m.d,m.b,p.x,p.p,p.q,f.c,i.j,g.b,p.c,p.k,b.a,y.a,_.a,p.v,p.o,p.r,i.l,C.a,f.h,i.m,r.i,r.h,v.a,f.b,P.a],pipes:[c.c],styles:["#login[_ngcontent-%COMP%]{margin-top:12px;-ms-flex-flow:row wrap-reverse;flex-flow:row wrap-reverse;-ms-flex-pack:distribute;justify-content:space-around;-ms-flex-align:baseline;align-items:baseline}#login[_ngcontent-%COMP%] .info[_ngcontent-%COMP%]{width:55%;min-width:650px}#login[_ngcontent-%COMP%] .info[_ngcontent-%COMP%] .item[_ngcontent-%COMP%]{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;font-size:1.2rem;padding:16px 0}#login[_ngcontent-%COMP%] .info[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:60px;min-width:60px}#login[_ngcontent-%COMP%] .info[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{margin-left:32px;text-align:justify}#login[_ngcontent-%COMP%] .login-form[_ngcontent-%COMP%]{width:25%;min-width:400px;margin-bottom:24px}#login[_ngcontent-%COMP%] .forgotten[_ngcontent-%COMP%]{margin-bottom:10px}#login[_ngcontent-%COMP%] .forgotten[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{display:table-cell;vertical-align:middle}#login[_ngcontent-%COMP%] .fields[_ngcontent-%COMP%]{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}#login[_ngcontent-%COMP%] .error[_ngcontent-%COMP%] mat-error[_ngcontent-%COMP%]{display:-ms-flexbox;display:flex;padding:10px;-ms-flex-align:center;align-items:center}#login[_ngcontent-%COMP%] .error[_ngcontent-%COMP%] mat-error[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{margin-right:12px}#login[_ngcontent-%COMP%] .submission[_ngcontent-%COMP%]{-ms-flex-pack:distribute;justify-content:space-around;display:-ms-flexbox;display:flex}#login[_ngcontent-%COMP%] .forgot-password[_ngcontent-%COMP%]{color:#000;width:-webkit-max-content;width:-moz-max-content;width:max-content}#login[_ngcontent-%COMP%] .forgot-password[_ngcontent-%COMP%]:hover{text-decoration:underline}"]}),t})();var H=n("1uah"),j=n("RQKg");let F=(()=>{class t extends s.a{constructor(t,e,n,i,a){super(t),this.translateService=t,this.userService=e,this.alertService=n,this.router=i,this.route=a,this.mode="reset",this.token=null,this.submitFn=(t="")=>{const e=this.userService.savePassword(this.token,t).subscribe(t=>{null!==t&&"SAME_PASSWORD"===t.errorCode?this.alertService.notifyByKey("password.error.identique"):(this.alertService.notifyByKey(this.done),this.router.navigate(["/auth/login"]))});this.subscriptions.push(e)}}get titre(){return`password.${this.mode}.titre`}get done(){return`password.${this.mode}.done`}load(){Object(H.a)(this.route.data,this.route.params).subscribe(([t,e])=>{this.mode=t.mode,this.token=e.token;const n=this.userService.getUserByToken(this.token).subscribe(t=>{"EXPIRED"!==t.errorCode&&"INTERNAL"!==t.errorCode||(this.expired=!0)});this.subscriptions.push(n)})}}return t.\u0275fac=function(e){return new(e||t)(l.Nb(c.d),l.Nb(d.a),l.Nb(u.a),l.Nb(r.f),l.Nb(r.a))},t.\u0275cmp=l.Hb({type:t,selectors:[["app-reset-password"]],features:[l.zb],decls:2,vars:4,consts:[["id","reset-password",1,"content"],[3,"titre","onSubmit","hasToken","expired"]],template:function(t,e){1&t&&(l.Tb(0,"div",0),l.Ob(1,"app-edit-password",1),l.Sb()),2&t&&(l.Cb(1),l.nc("titre",e.titre)("onSubmit",e.submitFn)("hasToken",!0)("expired",e.expired))},directives:[j.a],styles:["#reset-password[_ngcontent-%COMP%] #resume[_ngcontent-%COMP%]{padding-bottom:1.25em}#reset-password[_ngcontent-%COMP%] .mat-form-field[_ngcontent-%COMP%]{width:220px}"]}),t})(),z=(()=>{class t{}return t.\u0275mod=l.Lb({type:t}),t.\u0275inj=l.Kb({factory:function(e){return new(e||t)},imports:[[r.j.forChild([{path:"login",component:Y},{path:"password/forgot",component:k,resolve:{configurationData:o.a}},{path:"password/reset/:token",component:F,data:{mode:"reset"}},{path:"password/activation/:token",component:F,data:{mode:"creation"}}])],r.j]}),t})();var V=n("PCNd");let B=(()=>{class t{}return t.\u0275mod=l.Lb({type:t}),t.\u0275inj=l.Kb({factory:function(e){return new(e||t)},providers:[T.a,{provide:a.c,useClass:h.a}],imports:[[i.c,V.a,z]]}),t})()},lJxs:function(t,e,n){"use strict";n.d(e,"a",function(){return a});var i=n("7o/Q");function a(t,e){return function(n){if("function"!=typeof t)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new r(t,e))}}class r{constructor(t,e){this.project=t,this.thisArg=e}call(t,e){return e.subscribe(new o(t,this.project,this.thisArg))}}class o extends i.a{constructor(t,e,n){super(t),this.project=e,this.count=0,this.thisArg=n||this}_next(t){let e;try{e=this.project.call(this.thisArg,t,this.count++)}catch(n){return void this.destination.error(n)}this.destination.next(e)}}},lXzo:function(t,e,n){!function(t){"use strict";function e(t,e,n){return"m"===n?e?"\u043c\u0438\u043d\u0443\u0442\u0430":"\u043c\u0438\u043d\u0443\u0442\u0443":t+" "+(i=+t,a={ss:e?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434",mm:e?"\u043c\u0438\u043d\u0443\u0442\u0430_\u043c\u0438\u043d\u0443\u0442\u044b_\u043c\u0438\u043d\u0443\u0442":"\u043c\u0438\u043d\u0443\u0442\u0443_\u043c\u0438\u043d\u0443\u0442\u044b_\u043c\u0438\u043d\u0443\u0442",hh:"\u0447\u0430\u0441_\u0447\u0430\u0441\u0430_\u0447\u0430\u0441\u043e\u0432",dd:"\u0434\u0435\u043d\u044c_\u0434\u043d\u044f_\u0434\u043d\u0435\u0439",ww:"\u043d\u0435\u0434\u0435\u043b\u044f_\u043d\u0435\u0434\u0435\u043b\u0438_\u043d\u0435\u0434\u0435\u043b\u044c",MM:"\u043c\u0435\u0441\u044f\u0446_\u043c\u0435\u0441\u044f\u0446\u0430_\u043c\u0435\u0441\u044f\u0446\u0435\u0432",yy:"\u0433\u043e\u0434_\u0433\u043e\u0434\u0430_\u043b\u0435\u0442"}[n].split("_"),i%10==1&&i%100!=11?a[0]:i%10>=2&&i%10<=4&&(i%100<10||i%100>=20)?a[1]:a[2]);var i,a}var n=[/^\u044f\u043d\u0432/i,/^\u0444\u0435\u0432/i,/^\u043c\u0430\u0440/i,/^\u0430\u043f\u0440/i,/^\u043c\u0430[\u0439\u044f]/i,/^\u0438\u044e\u043d/i,/^\u0438\u044e\u043b/i,/^\u0430\u0432\u0433/i,/^\u0441\u0435\u043d/i,/^\u043e\u043a\u0442/i,/^\u043d\u043e\u044f/i,/^\u0434\u0435\u043a/i];t.defineLocale("ru",{months:{format:"\u044f\u043d\u0432\u0430\u0440\u044f_\u0444\u0435\u0432\u0440\u0430\u043b\u044f_\u043c\u0430\u0440\u0442\u0430_\u0430\u043f\u0440\u0435\u043b\u044f_\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433\u0443\u0441\u0442\u0430_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044f_\u043e\u043a\u0442\u044f\u0431\u0440\u044f_\u043d\u043e\u044f\u0431\u0440\u044f_\u0434\u0435\u043a\u0430\u0431\u0440\u044f".split("_"),standalone:"\u044f\u043d\u0432\u0430\u0440\u044c_\u0444\u0435\u0432\u0440\u0430\u043b\u044c_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b\u044c_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c_\u043e\u043a\u0442\u044f\u0431\u0440\u044c_\u043d\u043e\u044f\u0431\u0440\u044c_\u0434\u0435\u043a\u0430\u0431\u0440\u044c".split("_")},monthsShort:{format:"\u044f\u043d\u0432._\u0444\u0435\u0432\u0440._\u043c\u0430\u0440._\u0430\u043f\u0440._\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433._\u0441\u0435\u043d\u0442._\u043e\u043a\u0442._\u043d\u043e\u044f\u0431._\u0434\u0435\u043a.".split("_"),standalone:"\u044f\u043d\u0432._\u0444\u0435\u0432\u0440._\u043c\u0430\u0440\u0442_\u0430\u043f\u0440._\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433._\u0441\u0435\u043d\u0442._\u043e\u043a\u0442._\u043d\u043e\u044f\u0431._\u0434\u0435\u043a.".split("_")},weekdays:{standalone:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0430_\u0441\u0443\u0431\u0431\u043e\u0442\u0430".split("_"),format:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0443_\u0441\u0443\u0431\u0431\u043e\u0442\u0443".split("_"),isFormat:/\[ ?[\u0412\u0432] ?(?:\u043f\u0440\u043e\u0448\u043b\u0443\u044e|\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e|\u044d\u0442\u0443)? ?] ?dddd/},weekdaysShort:"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),monthsParse:n,longMonthsParse:n,shortMonthsParse:n,monthsRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044c\u044f]|\u044f\u043d\u0432\.?|\u0444\u0435\u0432\u0440\u0430\u043b[\u044c\u044f]|\u0444\u0435\u0432\u0440?\.?|\u043c\u0430\u0440\u0442\u0430?|\u043c\u0430\u0440\.?|\u0430\u043f\u0440\u0435\u043b[\u044c\u044f]|\u0430\u043f\u0440\.?|\u043c\u0430[\u0439\u044f]|\u0438\u044e\u043d[\u044c\u044f]|\u0438\u044e\u043d\.?|\u0438\u044e\u043b[\u044c\u044f]|\u0438\u044e\u043b\.?|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0430\u0432\u0433\.?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044c\u044f]|\u0441\u0435\u043d\u0442?\.?|\u043e\u043a\u0442\u044f\u0431\u0440[\u044c\u044f]|\u043e\u043a\u0442\.?|\u043d\u043e\u044f\u0431\u0440[\u044c\u044f]|\u043d\u043e\u044f\u0431?\.?|\u0434\u0435\u043a\u0430\u0431\u0440[\u044c\u044f]|\u0434\u0435\u043a\.?)/i,monthsShortRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044c\u044f]|\u044f\u043d\u0432\.?|\u0444\u0435\u0432\u0440\u0430\u043b[\u044c\u044f]|\u0444\u0435\u0432\u0440?\.?|\u043c\u0430\u0440\u0442\u0430?|\u043c\u0430\u0440\.?|\u0430\u043f\u0440\u0435\u043b[\u044c\u044f]|\u0430\u043f\u0440\.?|\u043c\u0430[\u0439\u044f]|\u0438\u044e\u043d[\u044c\u044f]|\u0438\u044e\u043d\.?|\u0438\u044e\u043b[\u044c\u044f]|\u0438\u044e\u043b\.?|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0430\u0432\u0433\.?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044c\u044f]|\u0441\u0435\u043d\u0442?\.?|\u043e\u043a\u0442\u044f\u0431\u0440[\u044c\u044f]|\u043e\u043a\u0442\.?|\u043d\u043e\u044f\u0431\u0440[\u044c\u044f]|\u043d\u043e\u044f\u0431?\.?|\u0434\u0435\u043a\u0430\u0431\u0440[\u044c\u044f]|\u0434\u0435\u043a\.?)/i,monthsStrictRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044f\u044c]|\u0444\u0435\u0432\u0440\u0430\u043b[\u044f\u044c]|\u043c\u0430\u0440\u0442\u0430?|\u0430\u043f\u0440\u0435\u043b[\u044f\u044c]|\u043c\u0430[\u044f\u0439]|\u0438\u044e\u043d[\u044f\u044c]|\u0438\u044e\u043b[\u044f\u044c]|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044f\u044c]|\u043e\u043a\u0442\u044f\u0431\u0440[\u044f\u044c]|\u043d\u043e\u044f\u0431\u0440[\u044f\u044c]|\u0434\u0435\u043a\u0430\u0431\u0440[\u044f\u044c])/i,monthsShortStrictRegex:/^(\u044f\u043d\u0432\.|\u0444\u0435\u0432\u0440?\.|\u043c\u0430\u0440[\u0442.]|\u0430\u043f\u0440\.|\u043c\u0430[\u044f\u0439]|\u0438\u044e\u043d[\u044c\u044f.]|\u0438\u044e\u043b[\u044c\u044f.]|\u0430\u0432\u0433\.|\u0441\u0435\u043d\u0442?\.|\u043e\u043a\u0442\.|\u043d\u043e\u044f\u0431?\.|\u0434\u0435\u043a\.)/i,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., H:mm",LLLL:"dddd, D MMMM YYYY \u0433., H:mm"},calendar:{sameDay:"[\u0421\u0435\u0433\u043e\u0434\u043d\u044f, \u0432] LT",nextDay:"[\u0417\u0430\u0432\u0442\u0440\u0430, \u0432] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430, \u0432] LT",nextWeek:function(t){if(t.week()===this.week())return 2===this.day()?"[\u0412\u043e] dddd, [\u0432] LT":"[\u0412] dddd, [\u0432] LT";switch(this.day()){case 0:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435] dddd, [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439] dddd, [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e] dddd, [\u0432] LT"}},lastWeek:function(t){if(t.week()===this.week())return 2===this.day()?"[\u0412\u043e] dddd, [\u0432] LT":"[\u0412] dddd, [\u0432] LT";switch(this.day()){case 0:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u043e\u0435] dddd, [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u044b\u0439] dddd, [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u0443\u044e] dddd, [\u0432] LT"}},sameElse:"L"},relativeTime:{future:"\u0447\u0435\u0440\u0435\u0437 %s",past:"%s \u043d\u0430\u0437\u0430\u0434",s:"\u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434",ss:e,m:e,mm:e,h:"\u0447\u0430\u0441",hh:e,d:"\u0434\u0435\u043d\u044c",dd:e,w:"\u043d\u0435\u0434\u0435\u043b\u044f",ww:e,M:"\u043c\u0435\u0441\u044f\u0446",MM:e,y:"\u0433\u043e\u0434",yy:e},meridiemParse:/\u043d\u043e\u0447\u0438|\u0443\u0442\u0440\u0430|\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430/i,isPM:function(t){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430)$/.test(t)},meridiem:function(t,e,n){return t<4?"\u043d\u043e\u0447\u0438":t<12?"\u0443\u0442\u0440\u0430":t<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0435\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e|\u044f)/,ordinal:function(t,e){switch(e){case"M":case"d":case"DDD":return t+"-\u0439";case"D":return t+"-\u0433\u043e";case"w":case"W":return t+"-\u044f";default:return t}},week:{dow:1,doy:4}})}(n("wd/R"))},lYtQ:function(t,e,n){!function(t){"use strict";function e(t,e,n,i){switch(n){case"s":return e?"\u0445\u044d\u0434\u0445\u044d\u043d \u0441\u0435\u043a\u0443\u043d\u0434":"\u0445\u044d\u0434\u0445\u044d\u043d \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d";case"ss":return t+(e?" \u0441\u0435\u043a\u0443\u043d\u0434":" \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d");case"m":case"mm":return t+(e?" \u043c\u0438\u043d\u0443\u0442":" \u043c\u0438\u043d\u0443\u0442\u044b\u043d");case"h":case"hh":return t+(e?" \u0446\u0430\u0433":" \u0446\u0430\u0433\u0438\u0439\u043d");case"d":case"dd":return t+(e?" \u04e9\u0434\u04e9\u0440":" \u04e9\u0434\u0440\u0438\u0439\u043d");case"M":case"MM":return t+(e?" \u0441\u0430\u0440":" \u0441\u0430\u0440\u044b\u043d");case"y":case"yy":return t+(e?" \u0436\u0438\u043b":" \u0436\u0438\u043b\u0438\u0439\u043d");default:return t}}t.defineLocale("mn",{months:"\u041d\u044d\u0433\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0425\u043e\u0451\u0440\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0413\u0443\u0440\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0414\u04e9\u0440\u04e9\u0432\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0422\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0417\u0443\u0440\u0433\u0430\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0414\u043e\u043b\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u041d\u0430\u0439\u043c\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0415\u0441\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0410\u0440\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0410\u0440\u0432\u0430\u043d \u043d\u044d\u0433\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0410\u0440\u0432\u0430\u043d \u0445\u043e\u0451\u0440\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440".split("_"),monthsShort:"1 \u0441\u0430\u0440_2 \u0441\u0430\u0440_3 \u0441\u0430\u0440_4 \u0441\u0430\u0440_5 \u0441\u0430\u0440_6 \u0441\u0430\u0440_7 \u0441\u0430\u0440_8 \u0441\u0430\u0440_9 \u0441\u0430\u0440_10 \u0441\u0430\u0440_11 \u0441\u0430\u0440_12 \u0441\u0430\u0440".split("_"),monthsParseExact:!0,weekdays:"\u041d\u044f\u043c_\u0414\u0430\u0432\u0430\u0430_\u041c\u044f\u0433\u043c\u0430\u0440_\u041b\u0445\u0430\u0433\u0432\u0430_\u041f\u04af\u0440\u044d\u0432_\u0411\u0430\u0430\u0441\u0430\u043d_\u0411\u044f\u043c\u0431\u0430".split("_"),weekdaysShort:"\u041d\u044f\u043c_\u0414\u0430\u0432_\u041c\u044f\u0433_\u041b\u0445\u0430_\u041f\u04af\u0440_\u0411\u0430\u0430_\u0411\u044f\u043c".split("_"),weekdaysMin:"\u041d\u044f_\u0414\u0430_\u041c\u044f_\u041b\u0445_\u041f\u04af_\u0411\u0430_\u0411\u044f".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY \u043e\u043d\u044b MMMM\u044b\u043d D",LLL:"YYYY \u043e\u043d\u044b MMMM\u044b\u043d D HH:mm",LLLL:"dddd, YYYY \u043e\u043d\u044b MMMM\u044b\u043d D HH:mm"},meridiemParse:/\u04ae\u04e8|\u04ae\u0425/i,isPM:function(t){return"\u04ae\u0425"===t},meridiem:function(t,e,n){return t<12?"\u04ae\u04e8":"\u04ae\u0425"},calendar:{sameDay:"[\u04e8\u043d\u04e9\u04e9\u0434\u04e9\u0440] LT",nextDay:"[\u041c\u0430\u0440\u0433\u0430\u0430\u0448] LT",nextWeek:"[\u0418\u0440\u044d\u0445] dddd LT",lastDay:"[\u04e8\u0447\u0438\u0433\u0434\u04e9\u0440] LT",lastWeek:"[\u04e8\u043d\u0433\u04e9\u0440\u0441\u04e9\u043d] dddd LT",sameElse:"L"},relativeTime:{future:"%s \u0434\u0430\u0440\u0430\u0430",past:"%s \u04e9\u043c\u043d\u04e9",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2} \u04e9\u0434\u04e9\u0440/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+" \u04e9\u0434\u04e9\u0440";default:return t}}})}(n("wd/R"))},lawv:function(t,e,n){"use strict";n.d(e,"a",function(){return o}),n.d(e,"b",function(){return d}),n.d(e,"c",function(){return c});var i=n("8Y7J"),a=n("wd/R");const r=a;let o=(()=>{class t{transform(t,...e){return t?r(t).format(e[0]):""}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=i.Mb({name:"amDateFormat",type:t,pure:!0}),t})();const s=new i.s("NGX_MOMENT_OPTIONS"),l=a;let c=(()=>{class t{transform(t,e){return l(t,e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=i.Mb({name:"amParse",type:t,pure:!0}),t})(),d=(()=>{class t{static forRoot(e){return{ngModule:t,providers:[{provide:s,useValue:Object.assign({},e)}]}}}return t.\u0275mod=i.Lb({type:t}),t.\u0275inj=i.Kb({factory:function(e){return new(e||t)}}),t})()},lgnt:function(t,e,n){!function(t){"use strict";var e={0:"-\u0447\u04af",1:"-\u0447\u0438",2:"-\u0447\u0438",3:"-\u0447\u04af",4:"-\u0447\u04af",5:"-\u0447\u0438",6:"-\u0447\u044b",7:"-\u0447\u0438",8:"-\u0447\u0438",9:"-\u0447\u0443",10:"-\u0447\u0443",20:"-\u0447\u044b",30:"-\u0447\u0443",40:"-\u0447\u044b",50:"-\u0447\u04af",60:"-\u0447\u044b",70:"-\u0447\u0438",80:"-\u0447\u0438",90:"-\u0447\u0443",100:"-\u0447\u04af"};t.defineLocale("ky",{months:"\u044f\u043d\u0432\u0430\u0440\u044c_\u0444\u0435\u0432\u0440\u0430\u043b\u044c_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b\u044c_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c_\u043e\u043a\u0442\u044f\u0431\u0440\u044c_\u043d\u043e\u044f\u0431\u0440\u044c_\u0434\u0435\u043a\u0430\u0431\u0440\u044c".split("_"),monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u0416\u0435\u043a\u0448\u0435\u043c\u0431\u0438_\u0414\u04af\u0439\u0448\u04e9\u043c\u0431\u04af_\u0428\u0435\u0439\u0448\u0435\u043c\u0431\u0438_\u0428\u0430\u0440\u0448\u0435\u043c\u0431\u0438_\u0411\u0435\u0439\u0448\u0435\u043c\u0431\u0438_\u0416\u0443\u043c\u0430_\u0418\u0448\u0435\u043c\u0431\u0438".split("_"),weekdaysShort:"\u0416\u0435\u043a_\u0414\u04af\u0439_\u0428\u0435\u0439_\u0428\u0430\u0440_\u0411\u0435\u0439_\u0416\u0443\u043c_\u0418\u0448\u0435".split("_"),weekdaysMin:"\u0416\u043a_\u0414\u0439_\u0428\u0439_\u0428\u0440_\u0411\u0439_\u0416\u043c_\u0418\u0448".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0411\u04af\u0433\u04af\u043d \u0441\u0430\u0430\u0442] LT",nextDay:"[\u042d\u0440\u0442\u0435\u04a3 \u0441\u0430\u0430\u0442] LT",nextWeek:"dddd [\u0441\u0430\u0430\u0442] LT",lastDay:"[\u041a\u0435\u0447\u044d\u044d \u0441\u0430\u0430\u0442] LT",lastWeek:"[\u04e8\u0442\u043a\u04e9\u043d \u0430\u043f\u0442\u0430\u043d\u044b\u043d] dddd [\u043a\u04af\u043d\u04af] [\u0441\u0430\u0430\u0442] LT",sameElse:"L"},relativeTime:{future:"%s \u0438\u0447\u0438\u043d\u0434\u0435",past:"%s \u043c\u0443\u0440\u0443\u043d",s:"\u0431\u0438\u0440\u043d\u0435\u0447\u0435 \u0441\u0435\u043a\u0443\u043d\u0434",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434",m:"\u0431\u0438\u0440 \u043c\u04af\u043d\u04e9\u0442",mm:"%d \u043c\u04af\u043d\u04e9\u0442",h:"\u0431\u0438\u0440 \u0441\u0430\u0430\u0442",hh:"%d \u0441\u0430\u0430\u0442",d:"\u0431\u0438\u0440 \u043a\u04af\u043d",dd:"%d \u043a\u04af\u043d",M:"\u0431\u0438\u0440 \u0430\u0439",MM:"%d \u0430\u0439",y:"\u0431\u0438\u0440 \u0436\u044b\u043b",yy:"%d \u0436\u044b\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0447\u0438|\u0447\u044b|\u0447\u04af|\u0447\u0443)/,ordinal:function(t){return t+(e[t]||e[t%10]||e[t>=100?100:null])},week:{dow:1,doy:7}})}(n("wd/R"))},loYQ:function(t,e,n){!function(t){"use strict";var e={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},n={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"};t.defineLocale("bn-bd",{months:"\u099c\u09be\u09a8\u09c1\u09df\u09be\u09b0\u09bf_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1\u09df\u09be\u09b0\u09bf_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f\u09c7\u09ae\u09cd\u09ac\u09b0_\u0985\u0995\u09cd\u099f\u09cb\u09ac\u09b0_\u09a8\u09ad\u09c7\u09ae\u09cd\u09ac\u09b0_\u09a1\u09bf\u09b8\u09c7\u09ae\u09cd\u09ac\u09b0".split("_"),monthsShort:"\u099c\u09be\u09a8\u09c1_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f_\u0985\u0995\u09cd\u099f\u09cb_\u09a8\u09ad\u09c7_\u09a1\u09bf\u09b8\u09c7".split("_"),weekdays:"\u09b0\u09ac\u09bf\u09ac\u09be\u09b0_\u09b8\u09cb\u09ae\u09ac\u09be\u09b0_\u09ae\u0999\u09cd\u0997\u09b2\u09ac\u09be\u09b0_\u09ac\u09c1\u09a7\u09ac\u09be\u09b0_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf\u09ac\u09be\u09b0_\u09b6\u09c1\u0995\u09cd\u09b0\u09ac\u09be\u09b0_\u09b6\u09a8\u09bf\u09ac\u09be\u09b0".split("_"),weekdaysShort:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),weekdaysMin:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),longDateFormat:{LT:"A h:mm \u09b8\u09ae\u09df",LTS:"A h:mm:ss \u09b8\u09ae\u09df",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u09b8\u09ae\u09df",LLLL:"dddd, D MMMM YYYY, A h:mm \u09b8\u09ae\u09df"},calendar:{sameDay:"[\u0986\u099c] LT",nextDay:"[\u0986\u0997\u09be\u09ae\u09c0\u0995\u09be\u09b2] LT",nextWeek:"dddd, LT",lastDay:"[\u0997\u09a4\u0995\u09be\u09b2] LT",lastWeek:"[\u0997\u09a4] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u09aa\u09b0\u09c7",past:"%s \u0986\u0997\u09c7",s:"\u0995\u09df\u09c7\u0995 \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",ss:"%d \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",m:"\u098f\u0995 \u09ae\u09bf\u09a8\u09bf\u099f",mm:"%d \u09ae\u09bf\u09a8\u09bf\u099f",h:"\u098f\u0995 \u0998\u09a8\u09cd\u099f\u09be",hh:"%d \u0998\u09a8\u09cd\u099f\u09be",d:"\u098f\u0995 \u09a6\u09bf\u09a8",dd:"%d \u09a6\u09bf\u09a8",M:"\u098f\u0995 \u09ae\u09be\u09b8",MM:"%d \u09ae\u09be\u09b8",y:"\u098f\u0995 \u09ac\u099b\u09b0",yy:"%d \u09ac\u099b\u09b0"},preparse:function(t){return t.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,function(t){return n[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},meridiemParse:/\u09b0\u09be\u09a4|\u09ad\u09cb\u09b0|\u09b8\u0995\u09be\u09b2|\u09a6\u09c1\u09aa\u09c1\u09b0|\u09ac\u09bf\u0995\u09be\u09b2|\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be|\u09b0\u09be\u09a4/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u09b0\u09be\u09a4"===e?t<4?t:t+12:"\u09ad\u09cb\u09b0"===e||"\u09b8\u0995\u09be\u09b2"===e?t:"\u09a6\u09c1\u09aa\u09c1\u09b0"===e?t>=3?t:t+12:"\u09ac\u09bf\u0995\u09be\u09b2"===e||"\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"\u09b0\u09be\u09a4":t<6?"\u09ad\u09cb\u09b0":t<12?"\u09b8\u0995\u09be\u09b2":t<15?"\u09a6\u09c1\u09aa\u09c1\u09b0":t<18?"\u09ac\u09bf\u0995\u09be\u09b2":t<20?"\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(n("wd/R"))},lxpx:function(t,e,n){"use strict";n.d(e,"a",function(){return c});var i=n("z6cu"),a=n("lJxs"),r=n("JIr8"),o=n("8Y7J"),s=n("cv7C"),l=n("TSSN");let c=(()=>{class t{constructor(t,e){this.langueService=t,this.translateService=e,this.langueList=[]}init(){return this.langueService.getLangues().pipe(Object(a.a)(t=>{this.addLangues(t),this.translateService.setDefaultLang(t.find(t=>t.defaut).code),this.use(localStorage.getItem("lang"))}),Object(r.a)(t=>Object(i.a)(t)))}addLangues(t){this.translateService.addLangs(t.map(t=>t.code)),this.langueList=t}getCurrentLangueLabel(){return this.getLangueLabel(this.translateService.currentLang)}getLangueLabel(t){if(this.langueList.length>0){const e=this.langueList.find(e=>e.code===t);return e?e.nom:""}return""}instant(t,e){return this.translateService.instant(t,e)}use(t){if(t&&this.translateService.currentLang!==t)return localStorage.setItem("lang",t),this.translateService.use(t)}getLangs(){return this.translateService.getLangs()}}return t.\u0275fac=function(e){return new(e||t)(o.Xb(s.a),o.Xb(l.d))},t.\u0275prov=o.Jb({token:t,factory:t.\u0275fac,providedIn:"root"}),t})()},lyxo:function(t,e,n){!function(t){"use strict";function e(t,e,n){var i=" ";return(t%100>=20||t>=100&&t%100==0)&&(i=" de "),t+i+{ss:"secunde",mm:"minute",hh:"ore",dd:"zile",ww:"s\u0103pt\u0103m\xe2ni",MM:"luni",yy:"ani"}[n]}t.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._feb._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminic\u0103_luni_mar\u021bi_miercuri_joi_vineri_s\xe2mb\u0103t\u0103".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_S\xe2m".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_S\xe2".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[m\xe2ine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s \xeen urm\u0103",s:"c\xe2teva secunde",ss:e,m:"un minut",mm:e,h:"o or\u0103",hh:e,d:"o zi",dd:e,w:"o s\u0103pt\u0103m\xe2n\u0103",ww:e,M:"o lun\u0103",MM:e,y:"un an",yy:e},week:{dow:1,doy:7}})}(n("wd/R"))},mFvv:function(t,e,n){"use strict";n.d(e,"a",function(){return z});var i=n("iInd"),a=n("cXaA"),r=n("EY2u"),o=n("pLZG"),s=n("nYR2"),l=n("JIr8"),c=n("JRaP"),d=n("IGtN"),u=n("hGT6"),h=n("PTv7"),m=n("Q9JA"),p=n("Gnk8"),f=n("92Zs"),g=n("8Y7J"),b=n("zaPX"),_=n("TSSN"),y=n("GH2U"),v=n("iELJ"),C=n("jKJn"),w=n("SqCe"),x=n("Tj54"),M=n("BSbQ"),O=n("SVse"),k=n("Dxy4"),S=n("ZFy/"),T=n("pu8Q");const P=function(t){return[t]},L=function(t){return{onglet:t}},D=function(t){return{outlets:t}};function E(t,e){if(1&t&&(g.Tb(0,"mat-list-item",14),g.Tb(1,"mat-icon",15),g.Hc(2),g.Sb(),g.Hc(3),g.gc(4,"translate"),g.Sb()),2&t){const t=g.fc();let e=null;g.nc("routerLink",g.sc(12,P,g.sc(10,D,g.sc(8,L,g.sc(6,P,t.TabOutletName.CLIENT))))),g.Cb(1),g.nc("color",null==(e=t.getIcon(t.TabOutletName.CLIENT))?null:e.color),g.Cb(1),g.Ic(t.getIcon(t.TabOutletName.CLIENT).name),g.Cb(1),g.Jc(" ",g.hc(4,4,"dpd.client.modele.onglet")," ")}}function A(t,e){if(1&t&&(g.Tb(0,"div"),g.Tb(1,"mat-list-item",16),g.Tb(2,"mat-icon",17),g.Hc(3),g.Sb(),g.Hc(4),g.gc(5,"translate"),g.Sb(),g.Ob(6,"mat-divider"),g.Tb(7,"mat-list-item",18),g.Tb(8,"mat-icon",19),g.Hc(9),g.Sb(),g.Hc(10),g.gc(11,"translate"),g.Sb(),g.Ob(12,"mat-divider"),g.Sb()),2&t){const t=g.fc();let e=null,n=null;g.Cb(1),g.nc("routerLink",g.sc(18,P,g.sc(16,D,g.sc(14,L,g.sc(12,P,t.TabOutletName.LOCATION))))),g.Cb(1),g.nc("color",null==(e=t.getIcon(t.TabOutletName.LOCATION))?null:e.color),g.Cb(1),g.Ic(t.getIcon(t.TabOutletName.LOCATION).name),g.Cb(1),g.Jc(" ",g.hc(5,8,"dpd.menu.prestation.lieu")," "),g.Cb(3),g.nc("routerLink",g.sc(26,P,g.sc(24,D,g.sc(22,L,g.sc(20,P,t.TabOutletName.PRESTATION))))),g.Cb(1),g.nc("color",null==(n=t.getIcon(t.TabOutletName.PRESTATION))?null:n.color),g.Cb(1),g.Ic(t.getIcon(t.TabOutletName.PRESTATION).name),g.Cb(1),g.Jc(" ",g.hc(11,10,"dpd.menu.prestation.info")," ")}}function I(t,e){if(1&t&&(g.Tb(0,"mat-list-item",20),g.Tb(1,"mat-icon",21),g.Hc(2),g.Sb(),g.Hc(3),g.gc(4,"translate"),g.Sb()),2&t){const t=g.fc();let e=null;g.nc("routerLink",g.sc(12,P,g.sc(10,D,g.sc(8,L,g.sc(6,P,t.TabOutletName.SINGLE_WORKER))))),g.Cb(1),g.nc("color",null==(e=t.getIcon(t.TabOutletName.SINGLE_WORKER))?null:e.color),g.Cb(1),g.Ic(t.getIcon(t.TabOutletName.SINGLE_WORKER).name),g.Cb(1),g.Jc(" ",g.hc(4,4,"dpd.menu.salarie")," ")}}function R(t,e){if(1&t&&(g.Tb(0,"mat-list-item",20),g.Tb(1,"mat-icon",22),g.Hc(2),g.Sb(),g.Hc(3),g.gc(4,"translate"),g.Sb()),2&t){const t=g.fc();let e=null;g.nc("routerLink",g.sc(12,P,g.sc(10,D,g.sc(8,L,g.sc(6,P,t.TabOutletName.WORKERS))))),g.Cb(1),g.nc("color",null==(e=t.getIcon(t.TabOutletName.WORKERS))?null:e.color),g.Cb(1),g.Ic(t.getIcon(t.TabOutletName.WORKERS).name),g.Cb(1),g.Jc(" ",g.hc(4,4,"dpd.menu.salaries")," ")}}function N(t,e){if(1&t&&(g.Tb(0,"div"),g.Ob(1,"mat-divider"),g.Tb(2,"mat-list-item",23),g.Tb(3,"mat-icon",24),g.Hc(4),g.Sb(),g.Hc(5),g.gc(6,"translate"),g.Sb(),g.Sb()),2&t){const t=g.fc();let e=null;g.Cb(2),g.nc("routerLink",g.sc(12,P,g.sc(10,D,g.sc(8,L,g.sc(6,P,t.TabOutletName.REPRESENTATIVE))))),g.Cb(1),g.nc("color",null==(e=t.getIcon(t.TabOutletName.REPRESENTATIVE))?null:e.color),g.Cb(1),g.Ic(t.getIcon(t.TabOutletName.REPRESENTATIVE).name),g.Cb(1),g.Jc(" ",g.hc(6,4,"dpd.menu.representant")," ")}}function Y(t,e){if(1&t){const t=g.Ub();g.Tb(0,"button",25),g.bc("click",function(){return g.yc(t),g.fc().onSaveDPD()}),g.gc(1,"translate"),g.Tb(2,"mat-icon"),g.Hc(3,"save"),g.Sb(),g.Sb()}if(2&t){const t=g.fc();g.nc("disabled",t.isSaving||t.isTransmitting)("matTooltip",g.hc(1,2,"dpd.enregistrer"))}}function H(t,e){1&t&&g.Ob(0,"mat-spinner",26),2&t&&g.nc("diameter",24)}function j(t,e){1&t&&(g.Tb(0,"mat-icon"),g.Hc(1,"check"),g.Sb())}function F(t,e){if(1&t&&g.Fc(0,j,2,0,"mat-icon",4),2&t){const t=g.fc();g.nc("ngIf",!t.isTransmitting)}}let z=(()=>{class t extends d.a{constructor(t,e,n,i,a,r,o){super(i),this.route=t,this.router=e,this.configSharedService=n,this.translateService=i,this.declarationService=a,this.dialog=r,this.alertService=o,this.ModeOpenDeclaration=c.a,this.TabOutletName=p.a}get isDPDFormInvalid(){return 4===this.numeroModele?!(this.isForeignCompanyValid&&this.isFraisValid&&this.isSingleWorkerValid&&this.isRepresentativeValid):!(this.isForeignCompanyValid&&this.isClientValid&&this.isLocationValid&&this.isPrestationValid&&this.isFraisValid&&this.isWorkersValid&&this.isRepresentativeValid)}get allTouched(){return 4===this.numeroModele?this.hasForeignCompanyBeenTouched&&this.hasFraisBeenTouched&&this.hasSingleWorkerBeenTouched&&this.hasRepresentativeBeenTouched:7===this.numeroModele?this.hasForeignCompanyBeenTouched&&this.hasClientBeenTouched&&this.hasLocationBeenTouched&&this.hasPrestationBeenTouched&&this.hasFraisBeenTouched&&this.hasWorkersBeenTouched:this.hasForeignCompanyBeenTouched&&this.hasClientBeenTouched&&this.hasLocationBeenTouched&&this.hasPrestationBeenTouched&&this.hasFraisBeenTouched&&this.hasWorkersBeenTouched&&this.hasRepresentativeBeenTouched}load(){this.numeroModele=this.configSharedService.numeroModele,this.configSharedService.setPreventLeave(!0),this.route.snapshot.firstChild?this.setTouchedTab(this.route.snapshot.firstChild.url[0].path):this.router.navigate([{outlets:{onglet:[p.a.FOREIGN_COMPANY]}}],{relativeTo:this.route}),this.mode=this.configSharedService.mode,this.initValidVariables(),this.subscriptions.push(this.foreignCompanyFg.statusChanges.subscribe(t=>this.isForeignCompanyValid="VALID"===t),this.fraisFg.statusChanges.subscribe(t=>this.isFraisValid="VALID"===t),this.representativeFg.statusChanges.subscribe(t=>this.isRepresentativeValid="VALID"===t),this.router.events.pipe(Object(o.a)(t=>t instanceof i.c)).subscribe(t=>{this.setTouchedTab(this.route.snapshot.firstChild.url[0].path)})),4===this.numeroModele?this.subscriptions.push(this.singleWorkerFg.statusChanges.subscribe(t=>this.isSingleWorkerValid="VALID"===t)):this.subscriptions.push(this.clientFg.statusChanges.subscribe(t=>this.isClientValid="VALID"===t),this.locationsFg.statusChanges.subscribe(t=>this.isLocationValid="VALID"===t),this.prestationFg.statusChanges.subscribe(t=>this.isPrestationValid="VALID"===t),this.workersFg.statusChanges.subscribe(t=>{this.isWorkersValid="VALID"===t||"DISABLED"===t}))}back(){this.router.navigate(this.mode===c.a.CREATE?["/home"]:this.mode===c.a.UPDATE?["/dpd/non-transmise"]:["/dpd/transmise"])}getIcon(t){let e;switch(t){case p.a.FOREIGN_COMPANY:e=this.getIconName(this.hasForeignCompanyBeenTouched,this.isForeignCompanyValid);break;case p.a.CLIENT:e=this.getIconName(this.hasClientBeenTouched,this.isClientValid);break;case p.a.LOCATION:e=this.getIconName(this.hasLocationBeenTouched,this.isLocationValid);break;case p.a.PRESTATION:e=this.getIconName(this.hasPrestationBeenTouched,this.isPrestationValid);break;case p.a.FRAIS:e=this.getIconName(this.hasFraisBeenTouched,this.isFraisValid);break;case p.a.SINGLE_WORKER:e=this.getIconName(this.hasSingleWorkerBeenTouched,this.isSingleWorkerValid);break;case p.a.WORKERS:e=this.getIconName(this.hasWorkersBeenTouched,this.isWorkersValid);break;case p.a.REPRESENTATIVE:e=this.getIconName(this.hasRepresentativeBeenTouched,this.isRepresentativeValid)}return e}onSaveDPD(){const t=this.dialog.open(m.a,{data:{message:"dpd.save.enCours"}});this.isSaving=!0,this.subscriptions.push(this.saveDPD$(this.mapDpdToSave()).subscribe(e=>{this.alertService.notifyByKey("dpd.save"),t.close(),this.configSharedService.setPreventLeave(!1),this.router.navigate([`/dpd/edit/${e.code}`])}))}onTransmitDPD(){window.scrollTo(0,0),this.dialog.open(h.a,{data:{title:this.translateService.instant("dpd.transmis.confirm.titre"),question:this.translateService.instant("dpd.transmis.confirm.message"),okButtonText:this.translateService.instant("common.oui"),cancelButtonText:this.translateService.instant("common.non"),hasCaptcha:!0},id:"dpd-confirm"}).afterClosed().subscribe(t=>{!1!==t&&(this.transmitDialog=this.dialog.open(m.a,{data:{message:"dpd.trasmission.enCours"}}),this.isTransmitting=!0,this.configSharedService.mode===c.a.COMPLETION?this.transmitDPD$(this.mapDpdToSave(),t).subscribe(()=>{this.alertService.notifyByKey("dpd.transmis"),this.configSharedService.setPreventLeave(!1),this.router.navigate(["dpd/transmise"])}):this.saveDPD$(this.mapDpdToSave()).subscribe(e=>this.transmitDPD$(e,t).subscribe(()=>{this.alertService.notifyByKey("dpd.transmis"),this.configSharedService.setPreventLeave(!1),this.router.navigate(["dpd/transmise"])})))})}mapDpdToSave(){const e=this.configSharedService.dpd;try{const t=f.a.mapDpd(this.configSharedService.form,this.configSharedService.numeroModele);return t.id=e.id,t.code=e.code,t.etat=e.etat,t.dateEtat=e.dateEtat,t.version=e.version,t.typeDeclarant=e.typeDeclarant,t.raisonSocialeDeclarant=e.raisonSocialeDeclarant,t.numeroModele=this.numeroModele,t}catch(n){this.isTransmitting=!1,this.transmitDialog.close(),this.alertService.notifyByKey("dpd.transmis.error"),t._log.error("Mapping error:",n)}}saveDPD$(t){return this.declarationService.saveDeclaration(t).pipe(Object(s.a)(()=>this.isSaving=!1))}transmitDPD$(t,e){const n=()=>{this.isTransmitting=!1,this.transmitDialog.close()},i=t=>{if(400===t.status){let e=this.translateService.instant("dpd.transmis.error")+"<br />";t.error.errors?t.error.errors.forEach(t=>e+="<br />"+t):t.error.message&&(e+="<br />"+t.error.message),this.alertService.notifyWithTimeout(e,3e4)}else this.alertService.notifyByKey("dpd.transmis.error");return r.a};return this.configSharedService.mode===c.a.COMPLETION?this.declarationService.completerDeclaration(t.code,t).pipe(Object(s.a)(()=>n()),Object(l.a)(t=>i(t))):this.declarationService.transmettreDeclaration(t.code,e).pipe(Object(s.a)(()=>n()),Object(l.a)(t=>i(t)))}get foreignCompanyFg(){return this.configSharedService.form.get(u.a.FOREIGN_COMPANY)}get fraisFg(){return this.configSharedService.form.get(u.a.EXPENSES)}get representativeFg(){return this.configSharedService.form.get(u.a.REPRESENTATIVE)}get singleWorkerFg(){return this.configSharedService.form.get(u.a.SINGLE_WORKER)}get clientFg(){return this.configSharedService.form.get(u.a.CLIENT)}get locationsFg(){return this.configSharedService.form.get(u.a.LOCATIONS)}get prestationFg(){return this.configSharedService.form.get(u.a.PRESTATION)}get workersFg(){return this.configSharedService.form.get(u.a.WORKERS)}initValidVariables(){this.isForeignCompanyValid=this.foreignCompanyFg.valid||this.foreignCompanyFg.disabled,this.isFraisValid=this.fraisFg.valid||this.fraisFg.disabled,this.isRepresentativeValid=this.representativeFg.valid||this.representativeFg.disabled,4===this.numeroModele?this.isSingleWorkerValid=this.singleWorkerFg.valid||this.singleWorkerFg.disabled:(this.isClientValid=this.clientFg.valid||this.clientFg.disabled,this.isLocationValid=this.locationsFg.valid||this.locationsFg.disabled,this.isPrestationValid=this.prestationFg.valid||this.prestationFg.disabled,this.isWorkersValid=this.workersFg.valid||this.workersFg.disabled)}getIconName(t,e){let n,i;return t?(n=e?"check_circle":"error_outline",i=e?"accent":"warn"):n="adjust",{name:n,color:i}}setTouchedTab(t){switch(t){case p.a.FOREIGN_COMPANY:this.hasForeignCompanyBeenTouched=!0;break;case p.a.CLIENT:this.hasClientBeenTouched=!0;break;case p.a.LOCATION:this.hasLocationBeenTouched=!0;break;case p.a.PRESTATION:this.hasPrestationBeenTouched=!0;break;case p.a.FRAIS:this.hasFraisBeenTouched=!0;break;case p.a.SINGLE_WORKER:this.hasSingleWorkerBeenTouched=!0;break;case p.a.WORKERS:this.hasWorkersBeenTouched=!0;break;case p.a.REPRESENTATIVE:this.hasRepresentativeBeenTouched=!0}}}return t._log=a.a.create("DeclarationService"),t.\u0275fac=function(e){return new(e||t)(g.Nb(i.a),g.Nb(i.f),g.Nb(b.a),g.Nb(_.d),g.Nb(y.a),g.Nb(v.b),g.Nb(C.a))},t.\u0275cmp=g.Hb({type:t,selectors:[["app-navigation"]],features:[g.zb],decls:30,vars:43,consts:[[1,"nav_container","mat-elevation-z2"],["id","company-tab","routerLinkActive","active",3,"routerLink"],["data-cy","entreprise-etrangere-icon",3,"color"],["id","client-tab",3,"routerLink",4,"ngIf"],[4,"ngIf"],["id","frais-tab",3,"routerLink"],["data-cy","frais-icon",3,"color"],["id","workers-tab",3,"routerLink",4,"ngIf"],[1,"dpd-actions"],["mat-fab","","type","button","aria-label","back","color","warn","matTooltipClass","warnTooltip","matTooltipPosition","right",3,"matTooltip","click"],["mat-fab","","type","button","aria-label","save","color","primary","matTooltipClass","warnTooltip","matTooltipPosition","right",3,"disabled","matTooltip","click",4,"ngIf"],["data-cy","button-transmission","id","btn-transmission","mat-fab","","aria-label","transmit","color","accent","matTooltipClass","warnTooltip","matTooltipPosition","right",3,"disabled","matTooltip","click"],[3,"diameter",4,"ngIf","ngIfElse"],["check",""],["id","client-tab",3,"routerLink"],["data-cy","client-icon",3,"color"],["id","location-tab",3,"routerLink"],["data-cy","lieux-icon",3,"color"],["id","prestation-tab",3,"routerLink"],["data-cy","prestation-icon",3,"color"],["id","workers-tab",3,"routerLink"],["data-cy","salarieIcon",3,"color"],["data-cy","salaries-icon",3,"color"],["id","representative-tab",3,"routerLink"],["data-cy","representant-icon",3,"color"],["mat-fab","","type","button","aria-label","save","color","primary","matTooltipClass","warnTooltip","matTooltipPosition","right",3,"disabled","matTooltip","click"],[3,"diameter"]],template:function(t,e){if(1&t&&(g.Tb(0,"mat-nav-list",0),g.Tb(1,"mat-list-item",1),g.Tb(2,"mat-icon",2),g.Hc(3),g.Sb(),g.Hc(4),g.gc(5,"translate"),g.Sb(),g.Ob(6,"mat-divider"),g.Fc(7,E,5,14,"mat-list-item",3),g.Ob(8,"mat-divider"),g.Fc(9,A,13,28,"div",4),g.Tb(10,"mat-list-item",5),g.Tb(11,"mat-icon",6),g.Hc(12),g.Sb(),g.Hc(13),g.gc(14,"translate"),g.Sb(),g.Ob(15,"mat-divider"),g.Fc(16,I,5,14,"mat-list-item",7),g.Fc(17,R,5,14,"mat-list-item",7),g.Fc(18,N,7,14,"div",4),g.Sb(),g.Tb(19,"div",8),g.Tb(20,"button",9),g.bc("click",function(){return e.back()}),g.gc(21,"translate"),g.Tb(22,"mat-icon"),g.Hc(23,"block"),g.Sb(),g.Sb(),g.Fc(24,Y,4,4,"button",10),g.Tb(25,"button",11),g.bc("click",function(){return e.onTransmitDPD()}),g.gc(26,"translate"),g.Fc(27,H,1,1,"mat-spinner",12),g.Fc(28,F,1,1,"ng-template",null,13,g.Gc),g.Sb(),g.Sb()),2&t){const t=g.vc(29);let n=null,i=null;g.Cb(1),g.nc("routerLink",g.sc(33,P,g.sc(31,D,g.sc(29,L,g.sc(27,P,e.TabOutletName.FOREIGN_COMPANY))))),g.Cb(1),g.nc("color",null==(n=e.getIcon(e.TabOutletName.FOREIGN_COMPANY))?null:n.color),g.Cb(1),g.Ic(e.getIcon(e.TabOutletName.FOREIGN_COMPANY).name),g.Cb(1),g.Jc(" ",g.hc(5,19,"dpd.menu.entreprise")," "),g.Cb(3),g.nc("ngIf",4!==e.numeroModele),g.Cb(2),g.nc("ngIf",4!==e.numeroModele),g.Cb(1),g.nc("routerLink",g.sc(41,P,g.sc(39,D,g.sc(37,L,g.sc(35,P,e.TabOutletName.FRAIS))))),g.Cb(1),g.nc("color",null==(i=e.getIcon(e.TabOutletName.FRAIS))?null:i.color),g.Cb(1),g.Ic(e.getIcon(e.TabOutletName.FRAIS).name),g.Cb(1),g.Jc(" ",g.hc(14,21,"dpd.menu.frais")," "),g.Cb(3),g.nc("ngIf",4===e.numeroModele),g.Cb(1),g.nc("ngIf",4!==e.numeroModele),g.Cb(1),g.nc("ngIf",7!==e.numeroModele),g.Cb(2),g.nc("matTooltip",g.hc(21,23,"dpd.annuler")),g.Cb(4),g.nc("ngIf",e.mode!==e.ModeOpenDeclaration.COMPLETION),g.Cb(1),g.nc("disabled",e.isSaving||e.isDPDFormInvalid||e.isTransmitting||!e.allTouched)("matTooltip",g.hc(26,25,"dpd.transmettre")),g.Cb(2),g.nc("ngIf",e.isTransmitting)("ngIfElse",t)}},directives:[w.c,w.a,i.h,i.g,x.a,M.a,O.l,k.a,S.c,T.b],pipes:[_.c],styles:[".mat-badge-content[_ngcontent-%COMP%]{font-weight:600;font-size:12px;font-family:Roboto,Helvetica Neue,sans-serif}.mat-badge-small[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{font-size:9px}.mat-badge-large[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{font-size:24px}.mat-h1[_ngcontent-%COMP%], .mat-headline[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font:400 24px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h2[_ngcontent-%COMP%], .mat-title[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font:500 20px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h3[_ngcontent-%COMP%], .mat-subheading-2[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font:400 16px/28px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h4[_ngcontent-%COMP%], .mat-subheading-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{font:400 15px/24px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h5[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{font:400 calc(14px * .83)/20px Roboto,Helvetica Neue,sans-serif;margin:0 0 12px}.mat-h6[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font:400 calc(14px * .67)/20px Roboto,Helvetica Neue,sans-serif;margin:0 0 12px}.mat-body-2[_ngcontent-%COMP%], .mat-body-strong[_ngcontent-%COMP%]{font:500 14px/24px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-body[_ngcontent-%COMP%], .mat-body-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%]{font:400 14px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-body-1[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .mat-body[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0 0 12px}.mat-caption[_ngcontent-%COMP%], .mat-small[_ngcontent-%COMP%]{font:400 12px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-display-4[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-4[_ngcontent-%COMP%]{font:300 112px/112px Roboto,Helvetica Neue,sans-serif;letter-spacing:-.05em;margin:0 0 56px}.mat-display-3[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-3[_ngcontent-%COMP%]{font:400 56px/56px Roboto,Helvetica Neue,sans-serif;letter-spacing:-.02em;margin:0 0 64px}.mat-display-2[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-2[_ngcontent-%COMP%]{font:400 45px/48px Roboto,Helvetica Neue,sans-serif;letter-spacing:-.005em;margin:0 0 64px}.mat-display-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-1[_ngcontent-%COMP%]{font:400 34px/40px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 64px}.mat-bottom-sheet-container[_ngcontent-%COMP%]{font:400 14px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-button[_ngcontent-%COMP%], .mat-fab[_ngcontent-%COMP%], .mat-flat-button[_ngcontent-%COMP%], .mat-icon-button[_ngcontent-%COMP%], .mat-mini-fab[_ngcontent-%COMP%], .mat-raised-button[_ngcontent-%COMP%], .mat-stroked-button[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:500}.mat-button-toggle[_ngcontent-%COMP%], .mat-card[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-card-title[_ngcontent-%COMP%]{font-size:24px;font-weight:500}.mat-card-header[_ngcontent-%COMP%] .mat-card-title[_ngcontent-%COMP%]{font-size:20px}.mat-card-content[_ngcontent-%COMP%], .mat-card-subtitle[_ngcontent-%COMP%]{font-size:14px}.mat-checkbox[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-checkbox-layout[_ngcontent-%COMP%] .mat-checkbox-label[_ngcontent-%COMP%]{line-height:24px}.mat-chip[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.mat-chip[_ngcontent-%COMP%] .mat-chip-remove.mat-icon[_ngcontent-%COMP%], .mat-chip[_ngcontent-%COMP%] .mat-chip-trailing-icon.mat-icon[_ngcontent-%COMP%]{font-size:18px}.mat-table[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-header-cell[_ngcontent-%COMP%]{font-size:12px;font-weight:500}.mat-cell[_ngcontent-%COMP%], .mat-footer-cell[_ngcontent-%COMP%]{font-size:14px}.mat-calendar[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-calendar-body[_ngcontent-%COMP%]{font-size:13px}.mat-calendar-body-label[_ngcontent-%COMP%], .mat-calendar-period-button[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.mat-calendar-table-header[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{font-size:11px;font-weight:400}.mat-dialog-title[_ngcontent-%COMP%]{font:500 20px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-expansion-panel-header[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:15px;font-weight:400}.mat-expansion-panel-content[_ngcontent-%COMP%]{font:400 14px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-form-field[_ngcontent-%COMP%]{font-size:inherit;font-weight:400;line-height:1.125;font-family:Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-form-field-wrapper[_ngcontent-%COMP%]{padding-bottom:1.34375em}.mat-form-field-prefix[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%], .mat-form-field-suffix[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{font-size:150%;line-height:1.125}.mat-form-field-prefix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%], .mat-form-field-suffix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%]{height:1.5em;width:1.5em}.mat-form-field-prefix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%], .mat-form-field-suffix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{height:1.125em;line-height:1.125}.mat-form-field-infix[_ngcontent-%COMP%]{padding:.5em 0;border-top:.84375em solid rgba(0,0,0,0)}.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-1.34375em) scale(.75);transform:translateY(-1.34375em) scale(.75);width:133.3333333333%}.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-1.34374em) scale(.75);transform:translateY(-1.34374em) scale(.75);width:133.3333433333%}.mat-form-field-label-wrapper[_ngcontent-%COMP%]{top:-.84375em;padding-top:.84375em}.mat-form-field-label[_ngcontent-%COMP%]{top:1.34375em}.mat-form-field-underline[_ngcontent-%COMP%]{bottom:1.34375em}.mat-form-field-subscript-wrapper[_ngcontent-%COMP%]{font-size:75%;margin-top:.6666666667em;top:calc(100% - 1.7916666667em)}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-wrapper[_ngcontent-%COMP%]{padding-bottom:1.25em}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]{padding:.4375em 0}.mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.001px);-ms-transform:translateY(-1.28125em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-form-field-autofill-control[_ngcontent-%COMP%]:-webkit-autofill + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00101px);-ms-transform:translateY(-1.28124em) scale(.75);width:133.3333433333%}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00102px);-ms-transform:translateY(-1.28123em) scale(.75);width:133.3333533333%}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{top:1.28125em}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]{bottom:1.25em}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-subscript-wrapper[_ngcontent-%COMP%]{margin-top:.5416666667em;top:calc(100% - 1.6666666667em)}@media print{.mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-1.28122em) scale(.75);transform:translateY(-1.28122em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-form-field-autofill-control[_ngcontent-%COMP%]:-webkit-autofill + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{transform:translateY(-1.28121em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-1.2812em) scale(.75);transform:translateY(-1.2812em) scale(.75)}}.mat-form-field-appearance-fill[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]{padding:.25em 0 .75em}.mat-form-field-appearance-fill[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{top:1.09375em;margin-top:-.5em}.mat-form-field-appearance-fill.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-fill.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-.59375em) scale(.75);transform:translateY(-.59375em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-fill.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-.59374em) scale(.75);transform:translateY(-.59374em) scale(.75);width:133.3333433333%}.mat-form-field-appearance-outline[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]{padding:1em 0}.mat-form-field-appearance-outline[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{top:1.84375em;margin-top:-.25em}.mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-outline.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-1.59375em) scale(.75);transform:translateY(-1.59375em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-outline.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-1.59374em) scale(.75);transform:translateY(-1.59374em) scale(.75);width:133.3333433333%}.mat-grid-tile-footer[_ngcontent-%COMP%], .mat-grid-tile-header[_ngcontent-%COMP%]{font-size:14px}.mat-grid-tile-footer[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%], .mat-grid-tile-header[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-grid-tile-footer[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2), .mat-grid-tile-header[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:12px}input.mat-input-element[_ngcontent-%COMP%]{margin-top:-.0625em}.mat-menu-item[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:400}.mat-paginator[_ngcontent-%COMP%], .mat-paginator-page-size[_ngcontent-%COMP%] .mat-select-trigger[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:12px}.mat-radio-button[_ngcontent-%COMP%], .mat-select[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-select-trigger[_ngcontent-%COMP%]{height:1.125em}.mat-slide-toggle-content[_ngcontent-%COMP%], .mat-slider-thumb-label-text[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-slider-thumb-label-text[_ngcontent-%COMP%]{font-size:12px;font-weight:500}.mat-stepper-horizontal[_ngcontent-%COMP%], .mat-stepper-vertical[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-step-label[_ngcontent-%COMP%]{font-size:14px;font-weight:400}.mat-step-sub-label-error[_ngcontent-%COMP%]{font-weight:400}.mat-step-label-error[_ngcontent-%COMP%]{font-size:14px}.mat-step-label-selected[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.mat-tab-group[_ngcontent-%COMP%], .mat-tab-label[_ngcontent-%COMP%], .mat-tab-link[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-tab-label[_ngcontent-%COMP%], .mat-tab-link[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.mat-toolbar[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font:500 20px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0}.mat-tooltip[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:10px;padding-top:6px;padding-bottom:6px}.mat-tooltip-handset[_ngcontent-%COMP%]{font-size:14px;padding-top:8px;padding-bottom:8px}.mat-list-item[_ngcontent-%COMP%], .mat-list-option[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]{font-size:16px}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:14px}.mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%]{font-size:16px}.mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:14px}.mat-list-base[_ngcontent-%COMP%] .mat-subheader[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:500}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]{font-size:12px}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2), .mat-list-base[dense][_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%]{font-size:12px}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:12px}.mat-list-base[dense][_ngcontent-%COMP%] .mat-subheader[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:12px;font-weight:500}.mat-option[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:16px}.mat-optgroup-label[_ngcontent-%COMP%]{font:500 14px/24px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-simple-snackbar[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px}.mat-simple-snackbar-action[_ngcontent-%COMP%]{line-height:1;font-family:inherit;font-size:inherit;font-weight:500}.mat-tree[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-nested-tree-node[_ngcontent-%COMP%], .mat-tree-node[_ngcontent-%COMP%]{font-weight:400;font-size:14px}.mat-ripple[_ngcontent-%COMP%]{overflow:hidden;position:relative}.mat-ripple[_ngcontent-%COMP%]:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded[_ngcontent-%COMP%]{overflow:visible}.mat-ripple-element[_ngcontent-%COMP%]{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0,0,.2,1);-ms-transform:scale(0);transform:scale(0)}.cdk-high-contrast-active[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{display:none}.cdk-visually-hidden[_ngcontent-%COMP%]{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;outline:0;-webkit-appearance:none;-moz-appearance:none}.cdk-global-overlay-wrapper[_ngcontent-%COMP%], .cdk-overlay-container[_ngcontent-%COMP%]{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container[_ngcontent-%COMP%]{position:fixed;z-index:1000}.cdk-overlay-container[_ngcontent-%COMP%]:empty{display:none}.cdk-global-overlay-wrapper[_ngcontent-%COMP%], .cdk-overlay-pane[_ngcontent-%COMP%]{display:-ms-flexbox;display:flex;position:absolute;z-index:1000}.cdk-overlay-pane[_ngcontent-%COMP%]{pointer-events:auto;box-sizing:border-box;max-width:100%;max-height:100%}.cdk-overlay-backdrop[_ngcontent-%COMP%]{position:absolute;top:0;bottom:0;left:0;right:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:transparent;transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:1}@media screen and (-ms-high-contrast:active){.cdk-overlay-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:.6}}.cdk-overlay-dark-backdrop[_ngcontent-%COMP%]{background:rgba(0,0,0,.32)}.cdk-overlay-transparent-backdrop[_ngcontent-%COMP%], .cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:0}.cdk-overlay-connected-position-bounding-box[_ngcontent-%COMP%]{position:absolute;z-index:1000;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock[_ngcontent-%COMP%]{position:fixed;width:100%;overflow-y:scroll}@-webkit-keyframes cdk-text-field-autofill-start{\n }@keyframes cdk-text-field-autofill-start{\n }@-webkit-keyframes cdk-text-field-autofill-end{\n }@keyframes cdk-text-field-autofill-end{\n }.cdk-text-field-autofill-monitored[_ngcontent-%COMP%]:-webkit-autofill{-webkit-animation:cdk-text-field-autofill-start 0s 1ms;animation:cdk-text-field-autofill-start 0s 1ms}.cdk-text-field-autofill-monitored[_ngcontent-%COMP%]:not(:-webkit-autofill){-webkit-animation:cdk-text-field-autofill-end 0s 1ms;animation:cdk-text-field-autofill-end 0s 1ms}textarea.cdk-textarea-autosize[_ngcontent-%COMP%]{resize:none}textarea.cdk-textarea-autosize-measuring[_ngcontent-%COMP%]{padding:2px 0!important;box-sizing:content-box!important;height:auto!important;overflow:hidden!important}textarea.cdk-textarea-autosize-measuring-firefox[_ngcontent-%COMP%]{padding:2px 0!important;box-sizing:content-box!important;height:0!important}.mat-focus-indicator[_ngcontent-%COMP%], .mat-mdc-focus-indicator[_ngcontent-%COMP%]{position:relative}.nav_container[_ngcontent-%COMP%]{padding:0;background:#fff}.nav_container[_ngcontent-%COMP%] mat-list-item[_ngcontent-%COMP%]{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;height:4rem;font-size:1.4rem!important;cursor:pointer}.nav_container[_ngcontent-%COMP%] mat-list-item[_ngcontent-%COMP%] .mat-list-item-content{width:100%}.nav_container[_ngcontent-%COMP%] mat-list-item[_ngcontent-%COMP%]:hover{background:#eee}.nav_container[_ngcontent-%COMP%] mat-list-item.active[_ngcontent-%COMP%]{background:#e0e0e0!important}.nav_container[_ngcontent-%COMP%] mat-list-item[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:2.5rem;height:64px;line-height:64px;width:64px}.dpd-actions[_ngcontent-%COMP%]{margin-top:32px;display:-ms-flexbox;display:flex;-ms-flex-pack:distribute;justify-content:space-around}@media screen and (max-height:820px){.nav_container[_ngcontent-%COMP%] mat-list-item[_ngcontent-%COMP%]{height:2.7rem}.nav_container[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{height:60px;line-height:60px;width:60px}.dpd-actions[_ngcontent-%COMP%]{margin-top:15px}}"]}),t})()},mSn9:function(t,e,n){"use strict";n.d(e,"a",function(){return v});var i=n("8Y7J"),a=n("s7LF"),r=n("4R65"),o=n("Qaas"),s=n("tgYw"),l=n("IGtN"),c=n("TSSN"),d=n("LRne"),u=n("JIr8"),h=n("IheW");let m=(()=>{class t{constructor(t){this.http=t,this.ENDPOINT="/api/map"}getCoordsForTown(t,e){return this.http.get(`${this.ENDPOINT}/search?town=${t}&code=${e}`).pipe(Object(u.a)(()=>Object(d.a)(null)))}getAddressFromCoords(t){return this.http.get(`${this.ENDPOINT}/reverse?lat=${t.latitude}&lng=${t.longitude}`).pipe(Object(u.a)(()=>Object(d.a)(null)))}}return t.\u0275fac=function(e){return new(e||t)(i.Xb(h.b))},t.\u0275prov=i.Jb({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();var p=n("wPIS"),f=n("SVse"),g=n("PDjf"),b=n("f3LI"),_=n("Dxy4");function y(t,e){if(1&t){const t=i.Ub();i.Tb(0,"div",3),i.Tb(1,"mat-card"),i.Tb(2,"form"),i.Tb(3,"input",4),i.bc("ngModelChange",function(e){return i.yc(t),i.fc().searchLatlng.latitude=e}),i.gc(4,"translate"),i.Sb(),i.Ob(5,"div",5),i.Tb(6,"input",6),i.bc("ngModelChange",function(e){return i.yc(t),i.fc().searchLatlng.longitude=e}),i.gc(7,"translate"),i.Sb(),i.Ob(8,"div",5),i.Tb(9,"button",7),i.bc("click",function(){return i.yc(t),i.fc().onSearch()}),i.Hc(10),i.gc(11,"translate"),i.Sb(),i.Sb(),i.Sb(),i.Sb()}if(2&t){const t=i.fc();i.Cb(3),i.nc("ngModel",t.searchLatlng.latitude)("placeholder",i.hc(4,5,"common.latitude")),i.Cb(3),i.nc("ngModel",t.searchLatlng.longitude)("placeholder",i.hc(7,7,"common.longitude")),i.Cb(4),i.Ic(i.hc(11,9,"common.rechercher"))}}let v=(()=>{class t extends l.a{constructor(t,e,n){super(t),this.translateService=t,this.changeDetectorRef=e,this.mapService=n,this.readonly=!1,this.fetchAddress=new i.o,this.center=r.latLng(48.8589,2.3469),this.layers=[],this.searchLatlng=new s.a({}),this.options={layers:[r.tileLayer("http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",{maxZoom:18,attribution:"..."})],zoom:12,center:this.center},this._address=new o.a({}),this.onChange=t=>{},this.onTouched=()=>{}}get address(){return this._address}set address(t){!t||t.cp===this._address.cp&&t.ville===this._address.ville||(this._address=t,this.refreshCenter())}writeValue(t){t&&this.latlng&&t.latitude===this.latlng.latitude&&t.longitude===this.latlng.longitude||(this.latlng=t,t?this.generateMarker():(this.layers=[],this.changeDetectorRef.markForCheck()))}registerOnChange(t){this.onChange=t}registerOnTouched(t){this.onTouched=t}unload(){this.mapSearchObs&&this.mapSearchObs.unsubscribe()}onClick(t){if(!1!==this.readonly)return;const{latlng:e}=t,n=parseFloat(e.lat).toFixed(5),i=parseFloat(e.lng).toFixed(5);this.latlng=new s.a({latitude:n,longitude:i}),this.generateMarker(),this.onChange(this.latlng)}onSearch(){this.center=r.latLng(parseFloat(this.searchLatlng.latitude),parseFloat(this.searchLatlng.longitude))}generateCoordHtml(t){return`\n <div>\n Lat. : ${parseFloat(t.latitude).toFixed(5)}\n <br>\n Long. : ${parseFloat(t.longitude).toFixed(5)}\n </div>\n `}generateAddressHtml(t){return`\n <div style="text-align:center">\n ${t.adresse}\n <br>\n ${t.cp}&nbsp;&nbsp;${t.ville}\n </div>\n `}generateMarker(){if(!this.latlng.latitude||!this.latlng.longitude)return;const t=new r.Popup({offset:[0,-35]});t.setContent(this.generateCoordHtml(this.latlng));const e=new r.Marker([parseFloat(this.latlng.latitude),parseFloat(this.latlng.longitude)],{icon:r.icon({iconSize:[25,41],iconAnchor:[13,41],iconUrl:"assets/marker-icon.png",shadowUrl:"assets/marker-shadow.png"})}).bindPopup(t);this.layers=[e],this.changeDetectorRef.markForCheck(),this.mapSearchObs&&this.mapSearchObs.unsubscribe(),this.mapSearchObs=this.mapService.getAddressFromCoords(this.latlng).subscribe(n=>{n?(t.setContent(this.generateAddressHtml(n)),this.fetchAddress.emit(n)):(this.address.coordonnees=this.latlng,this.address.adresse=null,t.setContent(this.generateCoordHtml(this.address.coordonnees)),this.fetchAddress.emit(this.address)),e.openPopup()})}refreshCenter(){this.address&&(this.address.coordonnees&&this.address.coordonnees.latitude&&this.address.coordonnees.longitude?setTimeout(()=>{this.center=r.latLng(parseFloat(this.address.coordonnees.latitude),parseFloat(this.address.coordonnees.longitude)),this.writeValue(this.address.coordonnees)}):this.address.ville&&this.address.cp&&this.mapService.getCoordsForTown(this.address.ville,this.address.cp).subscribe(t=>{this.center=r.latLng(parseFloat(t.latitude),parseFloat(t.longitude)),this.changeDetectorRef.markForCheck()}))}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(c.d),i.Nb(i.h),i.Nb(m))},t.\u0275cmp=i.Hb({type:t,selectors:[["app-map"]],inputs:{readonly:"readonly",address:"address"},outputs:{fetchAddress:"fetchAddress"},features:[i.Bb([{provide:a.m,useExisting:Object(i.V)(()=>t),multi:!0}]),i.zb],decls:3,vars:4,consts:[[1,"map-box"],["data-cy","map","leaflet","",1,"map",3,"leafletOptions","leafletLayers","leafletCenter","leafletClick"],["class","search-overlay",4,"ngIf"],[1,"search-overlay"],["type","text","appTextField","signedDecimal","name","latitude",3,"ngModel","placeholder","ngModelChange"],[1,"spacer"],["type","text","appTextField","signedDecimal","name","longitude",3,"ngModel","placeholder","ngModelChange"],["type","submit","aria-label","submit","mat-raised-button","","color","primary",3,"click"]],template:function(t,e){1&t&&(i.Tb(0,"div",0),i.Tb(1,"div",1),i.bc("leafletClick",function(t){return e.onClick(t)}),i.Sb(),i.Fc(2,y,12,11,"div",2),i.Sb()),2&t&&(i.Cb(1),i.nc("leafletOptions",e.options)("leafletLayers",e.layers)("leafletCenter",e.center),i.Cb(1),i.nc("ngIf",!1===e.readonly))},directives:[p.a,p.b,f.l,g.a,a.x,a.p,a.q,a.c,b.a,a.o,a.r,_.a],pipes:[c.c],styles:[".map-box[_ngcontent-%COMP%]{height:300px;position:relative}.map-box[_ngcontent-%COMP%] .map[_ngcontent-%COMP%]{height:100%}.map-box[_ngcontent-%COMP%] .search-overlay[_ngcontent-%COMP%]{position:absolute;top:12px;left:64px;z-index:1001}.map-box[_ngcontent-%COMP%] .search-overlay[_ngcontent-%COMP%] mat-card[_ngcontent-%COMP%] form[_ngcontent-%COMP%]{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}.map-box[_ngcontent-%COMP%] .search-overlay[_ngcontent-%COMP%] mat-card[_ngcontent-%COMP%] form[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{padding:4px;font-size:.9rem}.map-box[_ngcontent-%COMP%] .search-overlay[_ngcontent-%COMP%] mat-card[_ngcontent-%COMP%] form[_ngcontent-%COMP%] input[_ngcontent-%COMP%]::-webkit-inner-spin-button, .map-box[_ngcontent-%COMP%] .search-overlay[_ngcontent-%COMP%] mat-card[_ngcontent-%COMP%] form[_ngcontent-%COMP%] input[_ngcontent-%COMP%]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.map-box[_ngcontent-%COMP%] .search-overlay[_ngcontent-%COMP%] mat-card[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .spacer[_ngcontent-%COMP%]{height:8px}"],changeDetection:0}),t})()},mbGh:function(t,e,n){"use strict";n.d(e,"a",function(){return g});var i=n("8Y7J"),a=n("s7LF"),r=n("0/Se"),o=n("TSSN"),s=n("y5Tt"),l=n("Q2Ze"),c=n("7duk"),d=n("e6WT"),u=n("SVse"),h=n("pu8Q"),m=n("uuBd");function p(t,e){1&t&&(i.Tb(0,"div",6),i.Ob(1,"mat-spinner"),i.Sb())}function f(t,e){if(1&t){const t=i.Ub();i.Tb(0,"app-tree-view",7),i.bc("ngModelChange",function(e){return i.yc(t),i.fc().selectedNodes=e}),i.Sb()}if(2&t){const t=i.fc();i.nc("height",300)("data",t.data)("expand",!1)("ngModel",t.selectedNodes)}}let g=(()=>{class t extends r.a{constructor(t,e,n){super(t,e),this.translateService=t,this.changeDetectorRef=e,this.departementService=n}getId(t){return t.nom}getLabel(t){return t.code?`${t.code.startsWith("0")?t.code.substring(1):t.code} - ${t.nom}`:t.nom}getChildren(t){return t.departements}getData(){return this.departementService.getRegions()}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(o.d),i.Nb(i.h),i.Nb(s.a))},t.\u0275cmp=i.Hb({type:t,selectors:[["app-region-form"]],features:[i.Bb([{provide:a.m,useExisting:Object(i.V)(()=>t),multi:!0},{provide:a.l,useExisting:Object(i.V)(()=>t),multi:!0}]),i.zb],decls:10,vars:8,consts:[[3,"label","placeholder"],[1,"dropdown-content","mat-elevation-z1"],["matInput","","name","search",3,"ngModel","placeholder","ngModelChange"],["searchInput",""],["class","spinner-container",4,"ngIf","ngIfElse"],["loaded",""],[1,"spinner-container"],[3,"height","data","expand","ngModel","ngModelChange"]],template:function(t,e){if(1&t&&(i.Tb(0,"mat-form-field"),i.Tb(1,"app-dropdown-select",0),i.Tb(2,"div",1),i.Tb(3,"mat-form-field"),i.Tb(4,"input",2,3),i.bc("ngModelChange",function(t){return e.filter=t}),i.gc(6,"translate"),i.Sb(),i.Sb(),i.Fc(7,p,2,0,"div",4),i.Fc(8,f,1,4,"ng-template",null,5,i.Gc),i.Sb(),i.Sb(),i.Sb()),2&t){const t=i.vc(9);i.Cb(1),i.nc("label",null==e.selection?null:e.selection.join(", "))("placeholder",e.placeholder),i.Cb(3),i.oc("placeholder",i.hc(6,6,"common.rechercher")),i.nc("ngModel",e.filter),i.Cb(3),i.nc("ngIf",e.loading)("ngIfElse",t)}},directives:[l.c,c.a,d.b,a.c,a.o,a.r,u.l,h.b,m.a],pipes:[o.c],styles:["[_nghost-%COMP%]{width:100%}.dropdown-content[_ngcontent-%COMP%] .mat-form-field[_ngcontent-%COMP%]{width:calc(100% - 32px);padding:0 16px}"],changeDetection:0}),t})()},n33M:function(t,e,n){"use strict";n.d(e,"a",function(){return a});var i=n("Qaas");class a{constructor({id:t=null,type:e=null,nom:n=null,siret:a=null,codeNaf:r=null,adresse:o={},nomHebergement:s=null,isHebergementCollectif:l=!1,hebergementCollectif:c={}}){this.id=t,this.type=e,this.nom=n,this.siret=a,this.codeNaf=r,this.adresse=new i.a(o),this.isHebergementCollectif=l,this.nomHebergement=s,this.hebergementCollectif=new i.a(c)}getForPost(){return Object.assign(Object.assign({},this),{adresse:this.adresse?this.adresse.getForPost():null,hebergementCollectif:this.hebergementCollectif?this.hebergementCollectif.getForPost():null})}isValidPlace(){return!!this.type&&!!this.nom&&!!this.adresse&&!!this.adresse.isValid(!0)&&(!this.hebergementCollectif||this.hebergementCollectif.isValid(!0)&&!!this.nomHebergement)}}},n6bG:function(t,e,n){"use strict";function i(t){return"function"==typeof t}n.d(e,"a",function(){return i})},nYR2:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("7o/Q"),a=n("quSY");function r(t){return e=>e.lift(new o(t))}class o{constructor(t){this.callback=t}call(t,e){return e.subscribe(new s(t,this.callback))}}class s extends i.a{constructor(t,e){super(t),this.add(new a.a(e))}}},ngJS:function(t,e,n){"use strict";n.d(e,"a",function(){return i});const i=t=>e=>{for(let n=0,i=t.length;n<i&&!e.closed;n++)e.next(t[n]);e.complete()}},nyYc:function(t,e,n){!function(t){"use strict";var e=/(janv\.?|f\xe9vr\.?|mars|avr\.?|mai|juin|juil\.?|ao\xfbt|sept\.?|oct\.?|nov\.?|d\xe9c\.?|janvier|f\xe9vrier|mars|avril|mai|juin|juillet|ao\xfbt|septembre|octobre|novembre|d\xe9cembre)/i,n=[/^janv/i,/^f\xe9vr/i,/^mars/i,/^avr/i,/^mai/i,/^juin/i,/^juil/i,/^ao\xfbt/i,/^sept/i,/^oct/i,/^nov/i,/^d\xe9c/i];t.defineLocale("fr",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsRegex:e,monthsShortRegex:e,monthsStrictRegex:/^(janvier|f\xe9vrier|mars|avril|mai|juin|juillet|ao\xfbt|septembre|octobre|novembre|d\xe9cembre)/i,monthsShortStrictRegex:/(janv\.?|f\xe9vr\.?|mars|avr\.?|mai|juin|juil\.?|ao\xfbt|sept\.?|oct\.?|nov\.?|d\xe9c\.?)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",w:"une semaine",ww:"%d semaines",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal:function(t,e){switch(e){case"D":return t+(1===t?"er":"");default:case"M":case"Q":case"DDD":case"d":return t+(1===t?"er":"e");case"w":case"W":return t+(1===t?"re":"e")}},week:{dow:1,doy:4}})}(n("wd/R"))},o1bE:function(t,e,n){!function(t){"use strict";var e=function(t){return 0===t?0:1===t?1:2===t?2:t%100>=3&&t%100<=10?3:t%100>=11?4:5},n={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},i=function(t){return function(i,a,r,o){var s=e(i),l=n[t][e(i)];return 2===s&&(l=l[a?0:1]),l.replace(/%d/i,i)}},a=["\u062c\u0627\u0646\u0641\u064a","\u0641\u064a\u0641\u0631\u064a","\u0645\u0627\u0631\u0633","\u0623\u0641\u0631\u064a\u0644","\u0645\u0627\u064a","\u062c\u0648\u0627\u0646","\u062c\u0648\u064a\u0644\u064a\u0629","\u0623\u0648\u062a","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];t.defineLocale("ar-dz",{months:a,monthsShort:a,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(t){return"\u0645"===t},meridiem:function(t,e,n){return t<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:i("s"),ss:i("s"),m:i("m"),mm:i("m"),h:i("h"),hh:i("h"),d:i("d"),dd:i("d"),M:i("M"),MM:i("M"),y:i("y"),yy:i("y")},postformat:function(t){return t.replace(/,/g,"\u060c")},week:{dow:0,doy:4}})}(n("wd/R"))},o1lE:function(t,e,n){"use strict";n.d(e,"a",function(){return O});var i=n("8Y7J"),a=n("s7LF"),r=n("cYWD"),o=n("TSSN"),s=n("AkaL"),l=n("IheW");let c=(()=>{class t extends s.a{constructor(t){super(t),this.http=t,this.BASE_URL="/api/representants/search"}setLabel(t){t.autocomplete=`${t.siren} - ${t.raisonSociale}`}}return t.\u0275fac=function(e){return new(e||t)(i.Xb(l.b))},t.\u0275prov=i.Jb({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();var d=n("WiJD"),u=n("zaPX"),h=n("Q2Ze"),m=n("SVse"),p=n("e6WT"),f=n("vrAh"),g=n("q6Qu"),b=n("UhP/"),_=n("pu8Q");function y(t,e){if(1&t&&(i.Tb(0,"span",8),i.Hc(1),i.Sb()),2&t){const t=i.fc();i.Cc("opacity",t.searchControl.disabled?.7:1),i.Cb(1),i.Ic(t.prefix)}}function v(t,e){1&t&&(i.Tb(0,"mat-option",9),i.Ob(1,"mat-spinner",10),i.Sb())}function C(t,e){if(1&t&&(i.Tb(0,"mat-option",12),i.Hc(1),i.Sb()),2&t){const t=e.$implicit;i.nc("value",t),i.Cb(1),i.Jc(" ",t.autocomplete," ")}}function w(t,e){if(1&t&&i.Fc(0,C,2,2,"mat-option",11),2&t){const t=i.fc();i.nc("ngForOf",t.searchResult)}}const x=[[["mat-error"]],[["mat-icon"]],[["mat-spinner"]],"*"],M=["mat-error","mat-icon","mat-spinner","*"];let O=(()=>{class t extends r.a{constructor(t,e,n,i,a){super(t,e,n,i,a),this.translateService=t,this.searchService=e,this.configurationService=n,this.configSharedService=i,this.changeDetectorRef=a,this.fieldValue="siren"}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(o.d),i.Nb(c),i.Nb(d.a),i.Nb(u.a),i.Nb(i.h))},t.\u0275cmp=i.Hb({type:t,selectors:[["app-representant-autocomplete-2"]],features:[i.Bb([{provide:a.m,useExisting:Object(i.V)(()=>t),multi:!0}]),i.zb],ngContentSelectors:M,decls:15,vars:11,consts:[["matPrefix","","class","prefix",3,"opacity",4,"ngIf"],["type","text","matInput","","data-cy","autocomplete",3,"name","appLabel","formControl","matAutocomplete","matAutocompleteDisabled","errorStateMatcher","required","blur"],["searchElt",""],[1,"mat-error","otherMessages"],[3,"displayWith","optionSelected"],["auto","matAutocomplete"],["class","spinner",4,"ngIf","ngIfElse"],["listOptions",""],["matPrefix","",1,"prefix"],[1,"spinner"],["diameter","50"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(t,e){if(1&t&&(i.mc(x),i.Tb(0,"mat-form-field"),i.Fc(1,y,2,3,"span",0),i.Tb(2,"input",1,2),i.bc("blur",function(){return e.onBlur()}),i.Sb(),i.Tb(4,"mat-error"),i.lc(5),i.Sb(),i.lc(6,1),i.lc(7,2),i.Sb(),i.Tb(8,"div",3),i.lc(9,3),i.Sb(),i.Tb(10,"mat-autocomplete",4,5),i.bc("optionSelected",function(t){return e.selectOption(t)}),i.Fc(12,v,2,0,"mat-option",6),i.Fc(13,w,1,1,"ng-template",null,7,i.Gc),i.Sb()),2&t){const t=i.vc(11),n=i.vc(14);i.Cb(1),i.nc("ngIf",e.prefix),i.Cb(1),i.nc("name",e.name)("appLabel",e.inputTitle)("formControl",e.searchControl)("matAutocomplete",t)("matAutocompleteDisabled",e.isAutocompleteDisabled)("errorStateMatcher",e.errorStateMatcher)("required",e.isRequired),i.Cb(8),i.nc("displayWith",e.displayFn),i.Cb(2),i.nc("ngIf",e.isLoading)("ngIfElse",n)}},directives:[h.c,m.l,p.b,a.c,f.c,g.a,a.o,a.f,a.v,h.b,f.a,h.g,b.m,_.b,m.k],styles:["[_nghost-%COMP%]{-ms-flex:1;flex:1}[_nghost-%COMP%] mat-form-field[_ngcontent-%COMP%]{width:100%}[_nghost-%COMP%] .otherMessages[_ngcontent-%COMP%]{font-size:75%}[_nghost-%COMP%] .prefix[_ngcontent-%COMP%]{-ms-flex-item-align:center;align-self:center;margin-right:8px}"]}),t})()},o4Yh:function(t,e,n){"use strict";n.d(e,"a",function(){return V}),n.d(e,"b",function(){return W}),n.d(e,"c",function(){return j}),n.d(e,"d",function(){return N}),n.d(e,"e",function(){return F}),n.d(e,"f",function(){return z});var i=n("8Y7J"),a=n("8LU1"),r=n("XNiG"),o=n("quSY"),s=n("CtHx");let l=0;const c=new i.s("CdkAccordion");let d=(()=>{class t{constructor(){this._stateChanges=new r.a,this._openCloseAllActions=new r.a,this.id="cdk-accordion-"+l++,this._multi=!1}get multi(){return this._multi}set multi(t){this._multi=Object(a.c)(t)}openAll(){this._openCloseAll(!0)}closeAll(){this._openCloseAll(!1)}ngOnChanges(t){this._stateChanges.next(t)}ngOnDestroy(){this._stateChanges.complete()}_openCloseAll(t){this.multi&&this._openCloseAllActions.next(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.Ib({type:t,selectors:[["cdk-accordion"],["","cdkAccordion",""]],inputs:{multi:"multi"},exportAs:["cdkAccordion"],features:[i.Bb([{provide:c,useExisting:t}]),i.Ab]}),t})(),u=0,h=(()=>{class t{constructor(t,e,n){this.accordion=t,this._changeDetectorRef=e,this._expansionDispatcher=n,this._openCloseAllSubscription=o.a.EMPTY,this.closed=new i.o,this.opened=new i.o,this.destroyed=new i.o,this.expandedChange=new i.o,this.id="cdk-accordion-child-"+u++,this._expanded=!1,this._disabled=!1,this._removeUniqueSelectionListener=()=>{},this._removeUniqueSelectionListener=n.listen((t,e)=>{this.accordion&&!this.accordion.multi&&this.accordion.id===e&&this.id!==t&&(this.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}get expanded(){return this._expanded}set expanded(t){t=Object(a.c)(t),this._expanded!==t&&(this._expanded=t,this.expandedChange.emit(t),t?(this.opened.emit(),this._expansionDispatcher.notify(this.id,this.accordion?this.accordion.id:this.id)):this.closed.emit(),this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(t){this._disabled=Object(a.c)(t)}ngOnDestroy(){this.opened.complete(),this.closed.complete(),this.destroyed.emit(),this.destroyed.complete(),this._removeUniqueSelectionListener(),this._openCloseAllSubscription.unsubscribe()}toggle(){this.disabled||(this.expanded=!this.expanded)}close(){this.disabled||(this.expanded=!1)}open(){this.disabled||(this.expanded=!0)}_subscribeToOpenCloseAllActions(){return this.accordion._openCloseAllActions.subscribe(t=>{this.disabled||(this.expanded=t)})}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(c,12),i.Nb(i.h),i.Nb(s.d))},t.\u0275dir=i.Ib({type:t,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:"expanded",disabled:"disabled"},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],features:[i.Bb([{provide:c,useValue:void 0}])]}),t})(),m=(()=>{class t{}return t.\u0275mod=i.Lb({type:t}),t.\u0275inj=i.Kb({factory:function(e){return new(e||t)}}),t})();var p=n("1z/I"),f=n("SVse"),g=n("UhP/"),b=n("YEUz"),_=n("/uUt"),y=n("JX91"),v=n("pLZG"),C=n("IzEk"),w=n("Ht+U"),x=n("omvX"),M=n("EY2u"),O=n("VRyK"),k=n("GS7A");const S=["body"];function T(t,e){}const P=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],L=["mat-expansion-panel-header","*","mat-action-row"];function D(t,e){if(1&t&&i.Ob(0,"span",2),2&t){const t=i.fc();i.nc("@indicatorRotate",t._getExpandedState())}}const E=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],A=["mat-panel-title","mat-panel-description","*"],I=new i.s("MAT_ACCORDION"),R={indicatorRotate:Object(k.n)("indicatorRotate",[Object(k.k)("collapsed, void",Object(k.l)({transform:"rotate(0deg)"})),Object(k.k)("expanded",Object(k.l)({transform:"rotate(180deg)"})),Object(k.m)("expanded <=> collapsed, void => collapsed",Object(k.e)("225ms cubic-bezier(0.4,0.0,0.2,1)"))]),bodyExpansion:Object(k.n)("bodyExpansion",[Object(k.k)("collapsed, void",Object(k.l)({height:"0px",visibility:"hidden"})),Object(k.k)("expanded",Object(k.l)({height:"*",visibility:"visible"})),Object(k.m)("expanded <=> collapsed, void => collapsed",Object(k.e)("225ms cubic-bezier(0.4,0.0,0.2,1)"))])};let N=(()=>{class t{constructor(t){this._template=t}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.N))},t.\u0275dir=i.Ib({type:t,selectors:[["ng-template","matExpansionPanelContent",""]]}),t})(),Y=0;const H=new i.s("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS");let j=(()=>{class t extends h{constructor(t,e,n,a,o,s,l){super(t,e,n),this._viewContainerRef=a,this._animationMode=s,this._hideToggle=!1,this.afterExpand=new i.o,this.afterCollapse=new i.o,this._inputChanges=new r.a,this._headerId="mat-expansion-panel-header-"+Y++,this._bodyAnimationDone=new r.a,this.accordion=t,this._document=o,this._bodyAnimationDone.pipe(Object(_.a)((t,e)=>t.fromState===e.fromState&&t.toState===e.toState)).subscribe(t=>{"void"!==t.fromState&&("expanded"===t.toState?this.afterExpand.emit():"collapsed"===t.toState&&this.afterCollapse.emit())}),l&&(this.hideToggle=l.hideToggle)}get hideToggle(){return this._hideToggle||this.accordion&&this.accordion.hideToggle}set hideToggle(t){this._hideToggle=Object(a.c)(t)}get togglePosition(){return this._togglePosition||this.accordion&&this.accordion.togglePosition}set togglePosition(t){this._togglePosition=t}_hasSpacing(){return!!this.accordion&&this.expanded&&"default"===this.accordion.displayMode}_getExpandedState(){return this.expanded?"expanded":"collapsed"}toggle(){this.expanded=!this.expanded}close(){this.expanded=!1}open(){this.expanded=!0}ngAfterContentInit(){this._lazyContent&&this.opened.pipe(Object(y.a)(null),Object(v.a)(()=>this.expanded&&!this._portal),Object(C.a)(1)).subscribe(()=>{this._portal=new p.g(this._lazyContent._template,this._viewContainerRef)})}ngOnChanges(t){this._inputChanges.next(t)}ngOnDestroy(){super.ngOnDestroy(),this._bodyAnimationDone.complete(),this._inputChanges.complete()}_containsFocus(){if(this._body){const t=this._document.activeElement,e=this._body.nativeElement;return t===e||e.contains(t)}return!1}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(I,12),i.Nb(i.h),i.Nb(s.d),i.Nb(i.R),i.Nb(f.d),i.Nb(x.a,8),i.Nb(H,8))},t.\u0275cmp=i.Hb({type:t,selectors:[["mat-expansion-panel"]],contentQueries:function(t,e,n){if(1&t&&i.Gb(n,N,1),2&t){let t;i.uc(t=i.cc())&&(e._lazyContent=t.first)}},viewQuery:function(t,e){if(1&t&&i.Lc(S,1),2&t){let t;i.uc(t=i.cc())&&(e._body=t.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:6,hostBindings:function(t,e){2&t&&i.Fb("mat-expanded",e.expanded)("_mat-animation-noopable","NoopAnimations"===e._animationMode)("mat-expansion-panel-spacing",e._hasSpacing())},inputs:{disabled:"disabled",expanded:"expanded",hideToggle:"hideToggle",togglePosition:"togglePosition"},outputs:{opened:"opened",closed:"closed",expandedChange:"expandedChange",afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],features:[i.Bb([{provide:I,useValue:void 0}]),i.zb,i.Ab],ngContentSelectors:L,decls:7,vars:4,consts:[["role","region",1,"mat-expansion-panel-content",3,"id"],["body",""],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(t,e){1&t&&(i.mc(P),i.lc(0),i.Tb(1,"div",0,1),i.bc("@bodyExpansion.done",function(t){return e._bodyAnimationDone.next(t)}),i.Tb(3,"div",2),i.lc(4,1),i.Fc(5,T,0,0,"ng-template",3),i.Sb(),i.lc(6,2),i.Sb()),2&t&&(i.Cb(1),i.nc("@bodyExpansion",e._getExpandedState())("id",e.id),i.Db("aria-labelledby",e._headerId),i.Cb(4),i.nc("cdkPortalOutlet",e._portal))},directives:[p.c],styles:[".mat-expansion-panel{box-sizing:content-box;display:block;margin:0;border-radius:4px;overflow:hidden;transition:margin 225ms cubic-bezier(0.4, 0, 0.2, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);position:relative}.mat-accordion .mat-expansion-panel:not(.mat-expanded),.mat-accordion .mat-expansion-panel:not(.mat-expansion-panel-spacing){border-radius:0}.mat-accordion .mat-expansion-panel:first-of-type{border-top-right-radius:4px;border-top-left-radius:4px}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:4px;border-bottom-left-radius:4px}.cdk-high-contrast-active .mat-expansion-panel{outline:solid 1px}.mat-expansion-panel.ng-animate-disabled,.ng-animate-disabled .mat-expansion-panel,.mat-expansion-panel._mat-animation-noopable{transition:none}.mat-expansion-panel-content{display:flex;flex-direction:column;overflow:visible}.mat-expansion-panel-body{padding:0 24px 16px}.mat-expansion-panel-spacing{margin:16px 0}.mat-accordion>.mat-expansion-panel-spacing:first-child,.mat-accordion>*:first-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-top:0}.mat-accordion>.mat-expansion-panel-spacing:last-child,.mat-accordion>*:last-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-bottom:0}.mat-action-row{border-top-style:solid;border-top-width:1px;display:flex;flex-direction:row;justify-content:flex-end;padding:16px 8px 16px 24px}.mat-action-row button.mat-button-base,.mat-action-row button.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-action-row button.mat-button-base,[dir=rtl] .mat-action-row button.mat-mdc-button-base{margin-left:0;margin-right:8px}\n"],encapsulation:2,data:{animation:[R.bodyExpansion]},changeDetection:0}),t})(),F=(()=>{class t{constructor(t,e,n,i,a,r){this.panel=t,this._element=e,this._focusMonitor=n,this._changeDetectorRef=i,this._animationMode=r,this._parentChangeSubscription=o.a.EMPTY;const s=t.accordion?t.accordion._stateChanges.pipe(Object(v.a)(t=>!(!t.hideToggle&&!t.togglePosition))):M.a;this._parentChangeSubscription=Object(O.a)(t.opened,t.closed,s,t._inputChanges.pipe(Object(v.a)(t=>!!(t.hideToggle||t.disabled||t.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),t.closed.pipe(Object(v.a)(()=>t._containsFocus())).subscribe(()=>n.focusVia(e,"program")),a&&(this.expandedHeight=a.expandedHeight,this.collapsedHeight=a.collapsedHeight)}get disabled(){return this.panel.disabled}_toggle(){this.disabled||this.panel.toggle()}_isExpanded(){return this.panel.expanded}_getExpandedState(){return this.panel._getExpandedState()}_getPanelId(){return this.panel.id}_getTogglePosition(){return this.panel.togglePosition}_showToggle(){return!this.panel.hideToggle&&!this.panel.disabled}_getHeaderHeight(){const t=this._isExpanded();return t&&this.expandedHeight?this.expandedHeight:!t&&this.collapsedHeight?this.collapsedHeight:null}_keydown(t){switch(t.keyCode){case w.m:case w.e:Object(w.r)(t)||(t.preventDefault(),this._toggle());break;default:return void(this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(t))}}focus(t,e){t?this._focusMonitor.focusVia(this._element,t,e):this._element.nativeElement.focus(e)}ngAfterViewInit(){this._focusMonitor.monitor(this._element).subscribe(t=>{t&&this.panel.accordion&&this.panel.accordion._handleHeaderFocus(this)})}ngOnDestroy(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(j,1),i.Nb(i.l),i.Nb(b.h),i.Nb(i.h),i.Nb(H,8),i.Nb(x.a,8))},t.\u0275cmp=i.Hb({type:t,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:15,hostBindings:function(t,e){1&t&&i.bc("click",function(){return e._toggle()})("keydown",function(t){return e._keydown(t)}),2&t&&(i.Db("id",e.panel._headerId)("tabindex",e.disabled?-1:0)("aria-controls",e._getPanelId())("aria-expanded",e._isExpanded())("aria-disabled",e.panel.disabled),i.Cc("height",e._getHeaderHeight()),i.Fb("mat-expanded",e._isExpanded())("mat-expansion-toggle-indicator-after","after"===e._getTogglePosition())("mat-expansion-toggle-indicator-before","before"===e._getTogglePosition())("_mat-animation-noopable","NoopAnimations"===e._animationMode))},inputs:{expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight"},ngContentSelectors:A,decls:5,vars:1,consts:[[1,"mat-content"],["class","mat-expansion-indicator",4,"ngIf"],[1,"mat-expansion-indicator"]],template:function(t,e){1&t&&(i.mc(E),i.Tb(0,"span",0),i.lc(1),i.lc(2,1),i.lc(3,2),i.Sb(),i.Fc(4,D,1,1,"span",1)),2&t&&(i.Cb(4),i.nc("ngIf",e._showToggle()))},directives:[f.l],styles:['.mat-expansion-panel-header{display:flex;flex-direction:row;align-items:center;padding:0 24px;border-radius:inherit;transition:height 225ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-expansion-panel-header._mat-animation-noopable{transition:none}.mat-expansion-panel-header:focus,.mat-expansion-panel-header:hover{outline:none}.mat-expansion-panel-header.mat-expanded:focus,.mat-expansion-panel-header.mat-expanded:hover{background:inherit}.mat-expansion-panel-header:not([aria-disabled=true]){cursor:pointer}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before{flex-direction:row-reverse}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 16px 0 0}[dir=rtl] .mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 0 0 16px}.mat-content{display:flex;flex:1;flex-direction:row;overflow:hidden}.mat-expansion-panel-header-title,.mat-expansion-panel-header-description{display:flex;flex-grow:1;margin-right:16px}[dir=rtl] .mat-expansion-panel-header-title,[dir=rtl] .mat-expansion-panel-header-description{margin-right:0;margin-left:16px}.mat-expansion-panel-header-description{flex-grow:2}.mat-expansion-indicator::after{border-style:solid;border-width:0 2px 2px 0;content:"";display:inline-block;padding:3px;transform:rotate(45deg);vertical-align:middle}\n'],encapsulation:2,data:{animation:[R.indicatorRotate]},changeDetection:0}),t})(),z=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.Ib({type:t,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"]}),t})(),V=(()=>{class t extends d{constructor(){super(...arguments),this._ownHeaders=new i.F,this._hideToggle=!1,this.displayMode="default",this.togglePosition="after"}get hideToggle(){return this._hideToggle}set hideToggle(t){this._hideToggle=Object(a.c)(t)}ngAfterContentInit(){this._headers.changes.pipe(Object(y.a)(this._headers)).subscribe(t=>{this._ownHeaders.reset(t.filter(t=>t.panel.accordion===this)),this._ownHeaders.notifyOnChanges()}),this._keyManager=new b.g(this._ownHeaders).withWrap().withHomeAndEnd()}_handleHeaderKeydown(t){this._keyManager.onKeydown(t)}_handleHeaderFocus(t){this._keyManager.updateActiveItem(t)}ngOnDestroy(){super.ngOnDestroy(),this._ownHeaders.destroy()}}return t.\u0275fac=function(e){return B(e||t)},t.\u0275dir=i.Ib({type:t,selectors:[["mat-accordion"]],contentQueries:function(t,e,n){if(1&t&&i.Gb(n,F,1),2&t){let t;i.uc(t=i.cc())&&(e._headers=t)}},hostAttrs:[1,"mat-accordion"],hostVars:2,hostBindings:function(t,e){2&t&&i.Fb("mat-accordion-multi",e.multi)},inputs:{multi:"multi",displayMode:"displayMode",togglePosition:"togglePosition",hideToggle:"hideToggle"},exportAs:["matAccordion"],features:[i.Bb([{provide:I,useExisting:t}]),i.zb]}),t})();const B=i.Vb(V);let W=(()=>{class t{}return t.\u0275mod=i.Lb({type:t}),t.\u0275inj=i.Kb({factory:function(e){return new(e||t)},imports:[[f.c,g.j,m,p.f]]}),t})()},oB13:function(t,e,n){"use strict";n.d(e,"a",function(){return d});var i=n("XNiG"),a=n("HDdC"),r=(n("7o/Q"),n("quSY")),o=n("x+ZX");class s extends a.a{constructor(t,e){super(),this.source=t,this.subjectFactory=e,this._refCount=0,this._isComplete=!1}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){const t=this._subject;return t&&!t.isStopped||(this._subject=this.subjectFactory()),this._subject}connect(){let t=this._connection;return t||(this._isComplete=!1,t=this._connection=new r.a,t.add(this.source.subscribe(new c(this.getSubject(),this))),t.closed&&(this._connection=null,t=r.a.EMPTY)),t}refCount(){return Object(o.a)()(this)}}const l=(()=>{const t=s.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:t._subscribe},_isComplete:{value:t._isComplete,writable:!0},getSubject:{value:t.getSubject},connect:{value:t.connect},refCount:{value:t.refCount}}})();class c extends i.b{constructor(t,e){super(t),this.connectable=e}_error(t){this._unsubscribe(),super._error(t)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const t=this.connectable;if(t){this.connectable=null;const e=t._connection;t._refCount=0,t._subject=null,t._connection=null,e&&e.unsubscribe()}}}function d(t,e){return function(n){let i;if(i="function"==typeof t?t:function(){return t},"function"==typeof e)return n.lift(new u(i,e));const a=Object.create(n,l);return a.source=n,a.subjectFactory=i,a}}class u{constructor(t,e){this.subjectFactory=t,this.selector=e}call(t,e){const{selector:n}=this,i=this.subjectFactory(),a=n(i).subscribe(t);return a.add(e.subscribe(i)),a}}},omvX:function(t,e,n){"use strict";n.d(e,"a",function(){return ge}),n.d(e,"b",function(){return _e});var i=n("8Y7J"),a=n("cUpR"),r=n("GS7A");function o(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function s(t){switch(t.length){case 0:return new r.d;case 1:return t[0];default:return new r.o(t)}}function l(t,e,n,i,a={},o={}){const s=[],l=[];let c=-1,d=null;if(i.forEach(t=>{const n=t.offset,i=n==c,u=i&&d||{};Object.keys(t).forEach(n=>{let i=n,l=t[n];if("offset"!==n)switch(i=e.normalizePropertyName(i,s),l){case r.p:l=a[n];break;case r.a:l=o[n];break;default:l=e.normalizeStyleValue(n,i,l,s)}u[i]=l}),i||l.push(u),d=u,c=n}),s.length){const t="\n - ";throw new Error(`Unable to animate due to the following errors:${t}${s.join(t)}`)}return l}function c(t,e,n,i){switch(e){case"start":t.onStart(()=>i(n&&d(n,"start",t)));break;case"done":t.onDone(()=>i(n&&d(n,"done",t)));break;case"destroy":t.onDestroy(()=>i(n&&d(n,"destroy",t)))}}function d(t,e,n){const i=n.totalTime,a=u(t.element,t.triggerName,t.fromState,t.toState,e||t.phaseName,null==i?t.totalTime:i,!!n.disabled),r=t._data;return null!=r&&(a._data=r),a}function u(t,e,n,i,a="",r=0,o){return{element:t,triggerName:e,fromState:n,toState:i,phaseName:a,totalTime:r,disabled:!!o}}function h(t,e,n){let i;return t instanceof Map?(i=t.get(e),i||t.set(e,i=n)):(i=t[e],i||(i=t[e]=n)),i}function m(t){const e=t.indexOf(":");return[t.substring(1,e),t.substr(e+1)]}let p=(t,e)=>!1,f=(t,e)=>!1,g=(t,e,n)=>[];const b=o();(b||"undefined"!=typeof Element)&&(p=(t,e)=>t.contains(e),f=(()=>{if(b||Element.prototype.matches)return(t,e)=>t.matches(e);{const t=Element.prototype,e=t.matchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector;return e?(t,n)=>e.apply(t,[n]):f}})(),g=(t,e,n)=>{let i=[];if(n){const n=t.querySelectorAll(e);for(let t=0;t<n.length;t++)i.push(n[t])}else{const n=t.querySelector(e);n&&i.push(n)}return i});let _=null,y=!1;function v(t){_||(_=("undefined"!=typeof document?document.body:null)||{},y=!!_.style&&"WebkitAppearance"in _.style);let e=!0;return _.style&&!function(t){return"ebkit"==t.substring(1,6)}(t)&&(e=t in _.style,!e&&y)&&(e="Webkit"+t.charAt(0).toUpperCase()+t.substr(1)in _.style),e}const C=f,w=p,x=g;function M(t){const e={};return Object.keys(t).forEach(n=>{const i=n.replace(/([a-z])([A-Z])/g,"$1-$2");e[i]=t[n]}),e}let O=(()=>{class t{validateStyleProperty(t){return v(t)}matchesElement(t,e){return C(t,e)}containsElement(t,e){return w(t,e)}query(t,e,n){return x(t,e,n)}computeStyle(t,e,n){return n||""}animate(t,e,n,i,a,o=[],s){return new r.d(n,i)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=i.Jb({token:t,factory:t.\u0275fac}),t})(),k=(()=>{class t{}return t.NOOP=new O,t})();function S(t){if("number"==typeof t)return t;const e=t.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:T(parseFloat(e[1]),e[2])}function T(t,e){switch(e){case"s":return 1e3*t;default:return t}}function P(t,e,n){return t.hasOwnProperty("duration")?t:function(t,e,n){let i,a=0,r="";if("string"==typeof t){const n=t.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===n)return e.push(`The provided timing value "${t}" is invalid.`),{duration:0,delay:0,easing:""};i=T(parseFloat(n[1]),n[2]);const o=n[3];null!=o&&(a=T(parseFloat(o),n[4]));const s=n[5];s&&(r=s)}else i=t;if(!n){let n=!1,r=e.length;i<0&&(e.push("Duration values below 0 are not allowed for this animation step."),n=!0),a<0&&(e.push("Delay values below 0 are not allowed for this animation step."),n=!0),n&&e.splice(r,0,`The provided timing value "${t}" is invalid.`)}return{duration:i,delay:a,easing:r}}(t,e,n)}function L(t,e={}){return Object.keys(t).forEach(n=>{e[n]=t[n]}),e}function D(t,e,n={}){if(e)for(let i in t)n[i]=t[i];else L(t,n);return n}function E(t,e,n){return n?e+":"+n+";":""}function A(t){let e="";for(let n=0;n<t.style.length;n++){const i=t.style.item(n);e+=E(0,i,t.style.getPropertyValue(i))}for(const n in t.style)t.style.hasOwnProperty(n)&&!n.startsWith("_")&&(e+=E(0,n.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),t.style[n]));t.setAttribute("style",e)}function I(t,e,n){t.style&&(Object.keys(e).forEach(i=>{const a=V(i);n&&!n.hasOwnProperty(i)&&(n[i]=t.style[a]),t.style[a]=e[i]}),o()&&A(t))}function R(t,e){t.style&&(Object.keys(e).forEach(e=>{const n=V(e);t.style[n]=""}),o()&&A(t))}function N(t){return Array.isArray(t)?1==t.length?t[0]:Object(r.j)(t):t}const Y=new RegExp("{{\\s*(.+?)\\s*}}","g");function H(t){let e=[];if("string"==typeof t){let n;for(;n=Y.exec(t);)e.push(n[1]);Y.lastIndex=0}return e}function j(t,e,n){const i=t.toString(),a=i.replace(Y,(t,i)=>{let a=e[i];return e.hasOwnProperty(i)||(n.push(`Please provide a value for the animation param ${i}`),a=""),a.toString()});return a==i?t:a}function F(t){const e=[];let n=t.next();for(;!n.done;)e.push(n.value),n=t.next();return e}const z=/-+([a-z0-9])/g;function V(t){return t.replace(z,(...t)=>t[1].toUpperCase())}function B(t,e){return 0===t||0===e}function W(t,e,n){const i=Object.keys(n);if(i.length&&e.length){let r=e[0],o=[];if(i.forEach(t=>{r.hasOwnProperty(t)||o.push(t),r[t]=n[t]}),o.length)for(var a=1;a<e.length;a++){let n=e[a];o.forEach(function(e){n[e]=q(t,e)})}}return e}function U(t,e,n){switch(e.type){case 7:return t.visitTrigger(e,n);case 0:return t.visitState(e,n);case 1:return t.visitTransition(e,n);case 2:return t.visitSequence(e,n);case 3:return t.visitGroup(e,n);case 4:return t.visitAnimate(e,n);case 5:return t.visitKeyframes(e,n);case 6:return t.visitStyle(e,n);case 8:return t.visitReference(e,n);case 9:return t.visitAnimateChild(e,n);case 10:return t.visitAnimateRef(e,n);case 11:return t.visitQuery(e,n);case 12:return t.visitStagger(e,n);default:throw new Error(`Unable to resolve animation metadata node #${e.type}`)}}function q(t,e){return window.getComputedStyle(t)[e]}function G(t,e){const n=[];return"string"==typeof t?t.split(/\s*,\s*/).forEach(t=>function(t,e,n){if(":"==t[0]){const i=function(t,e){switch(t){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(t,e)=>parseFloat(e)>parseFloat(t);case":decrement":return(t,e)=>parseFloat(e)<parseFloat(t);default:return e.push(`The transition alias value "${t}" is not supported`),"* => *"}}(t,n);if("function"==typeof i)return void e.push(i);t=i}const i=t.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==i||i.length<4)return n.push(`The provided transition expression "${t}" is not supported`),e;const a=i[1],r=i[2],o=i[3];e.push($(a,o)),"<"!=r[0]||"*"==a&&"*"==o||e.push($(o,a))}(t,n,e)):n.push(t),n}const J=new Set(["true","1"]),Z=new Set(["false","0"]);function $(t,e){const n=J.has(t)||Z.has(t),i=J.has(e)||Z.has(e);return(a,r)=>{let o="*"==t||t==a,s="*"==e||e==r;return!o&&n&&"boolean"==typeof a&&(o=a?J.has(t):Z.has(t)),!s&&i&&"boolean"==typeof r&&(s=r?J.has(e):Z.has(e)),o&&s}}const X=new RegExp("s*:selfs*,?","g");function K(t,e,n){return new Q(t).build(e,n)}class Q{constructor(t){this._driver=t}build(t,e){const n=new tt(e);return this._resetContextStyleTimingState(n),U(this,N(t),n)}_resetContextStyleTimingState(t){t.currentQuerySelector="",t.collectedStyles={},t.collectedStyles[""]={},t.currentTime=0}visitTrigger(t,e){let n=e.queryCount=0,i=e.depCount=0;const a=[],r=[];return"@"==t.name.charAt(0)&&e.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),t.definitions.forEach(t=>{if(this._resetContextStyleTimingState(e),0==t.type){const n=t,i=n.name;i.toString().split(/\s*,\s*/).forEach(t=>{n.name=t,a.push(this.visitState(n,e))}),n.name=i}else if(1==t.type){const a=this.visitTransition(t,e);n+=a.queryCount,i+=a.depCount,r.push(a)}else e.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:t.name,states:a,transitions:r,queryCount:n,depCount:i,options:null}}visitState(t,e){const n=this.visitStyle(t.styles,e),i=t.options&&t.options.params||null;if(n.containsDynamicStyles){const a=new Set,r=i||{};if(n.styles.forEach(t=>{if(et(t)){const e=t;Object.keys(e).forEach(t=>{H(e[t]).forEach(t=>{r.hasOwnProperty(t)||a.add(t)})})}}),a.size){const n=F(a.values());e.errors.push(`state("${t.name}", ...) must define default values for all the following style substitutions: ${n.join(", ")}`)}}return{type:0,name:t.name,style:n,options:i?{params:i}:null}}visitTransition(t,e){e.queryCount=0,e.depCount=0;const n=U(this,N(t.animation),e);return{type:1,matchers:G(t.expr,e.errors),animation:n,queryCount:e.queryCount,depCount:e.depCount,options:nt(t.options)}}visitSequence(t,e){return{type:2,steps:t.steps.map(t=>U(this,t,e)),options:nt(t.options)}}visitGroup(t,e){const n=e.currentTime;let i=0;const a=t.steps.map(t=>{e.currentTime=n;const a=U(this,t,e);return i=Math.max(i,e.currentTime),a});return e.currentTime=i,{type:3,steps:a,options:nt(t.options)}}visitAnimate(t,e){const n=function(t,e){let n=null;if(t.hasOwnProperty("duration"))n=t;else if("number"==typeof t)return it(P(t,e).duration,0,"");const i=t;if(i.split(/\s+/).some(t=>"{"==t.charAt(0)&&"{"==t.charAt(1))){const t=it(0,0,"");return t.dynamic=!0,t.strValue=i,t}return n=n||P(i,e),it(n.duration,n.delay,n.easing)}(t.timings,e.errors);let i;e.currentAnimateTimings=n;let a=t.styles?t.styles:Object(r.l)({});if(5==a.type)i=this.visitKeyframes(a,e);else{let a=t.styles,o=!1;if(!a){o=!0;const t={};n.easing&&(t.easing=n.easing),a=Object(r.l)(t)}e.currentTime+=n.duration+n.delay;const s=this.visitStyle(a,e);s.isEmptyStep=o,i=s}return e.currentAnimateTimings=null,{type:4,timings:n,style:i,options:null}}visitStyle(t,e){const n=this._makeStyleAst(t,e);return this._validateStyleAst(n,e),n}_makeStyleAst(t,e){const n=[];Array.isArray(t.styles)?t.styles.forEach(t=>{"string"==typeof t?t==r.a?n.push(t):e.errors.push(`The provided style string value ${t} is not allowed.`):n.push(t)}):n.push(t.styles);let i=!1,a=null;return n.forEach(t=>{if(et(t)){const e=t,n=e.easing;if(n&&(a=n,delete e.easing),!i)for(let t in e)if(e[t].toString().indexOf("{{")>=0){i=!0;break}}}),{type:6,styles:n,easing:a,offset:t.offset,containsDynamicStyles:i,options:null}}_validateStyleAst(t,e){const n=e.currentAnimateTimings;let i=e.currentTime,a=e.currentTime;n&&a>0&&(a-=n.duration+n.delay),t.styles.forEach(t=>{"string"!=typeof t&&Object.keys(t).forEach(n=>{if(!this._driver.validateStyleProperty(n))return void e.errors.push(`The provided animation property "${n}" is not a supported CSS property for animations`);const r=e.collectedStyles[e.currentQuerySelector],o=r[n];let s=!0;o&&(a!=i&&a>=o.startTime&&i<=o.endTime&&(e.errors.push(`The CSS property "${n}" that exists between the times of "${o.startTime}ms" and "${o.endTime}ms" is also being animated in a parallel animation between the times of "${a}ms" and "${i}ms"`),s=!1),a=o.startTime),s&&(r[n]={startTime:a,endTime:i}),e.options&&function(t,e,n){const i=e.params||{},a=H(t);a.length&&a.forEach(t=>{i.hasOwnProperty(t)||n.push(`Unable to resolve the local animation param ${t} in the given list of values`)})}(t[n],e.options,e.errors)})})}visitKeyframes(t,e){const n={type:5,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push("keyframes() must be placed inside of a call to animate()"),n;let i=0;const a=[];let r=!1,o=!1,s=0;const l=t.steps.map(t=>{const n=this._makeStyleAst(t,e);let l=null!=n.offset?n.offset:function(t){if("string"==typeof t)return null;let e=null;if(Array.isArray(t))t.forEach(t=>{if(et(t)&&t.hasOwnProperty("offset")){const n=t;e=parseFloat(n.offset),delete n.offset}});else if(et(t)&&t.hasOwnProperty("offset")){const n=t;e=parseFloat(n.offset),delete n.offset}return e}(n.styles),c=0;return null!=l&&(i++,c=n.offset=l),o=o||c<0||c>1,r=r||c<s,s=c,a.push(c),n});o&&e.errors.push("Please ensure that all keyframe offsets are between 0 and 1"),r&&e.errors.push("Please ensure that all keyframe offsets are in order");const c=t.steps.length;let d=0;i>0&&i<c?e.errors.push("Not all style() steps within the declared keyframes() contain offsets"):0==i&&(d=1/(c-1));const u=c-1,h=e.currentTime,m=e.currentAnimateTimings,p=m.duration;return l.forEach((t,i)=>{const r=d>0?i==u?1:d*i:a[i],o=r*p;e.currentTime=h+m.delay+o,m.duration=o,this._validateStyleAst(t,e),t.offset=r,n.styles.push(t)}),n}visitReference(t,e){return{type:8,animation:U(this,N(t.animation),e),options:nt(t.options)}}visitAnimateChild(t,e){return e.depCount++,{type:9,options:nt(t.options)}}visitAnimateRef(t,e){return{type:10,animation:this.visitReference(t.animation,e),options:nt(t.options)}}visitQuery(t,e){const n=e.currentQuerySelector,i=t.options||{};e.queryCount++,e.currentQuery=t;const[a,r]=function(t){const e=!!t.split(/\s*,\s*/).find(t=>":self"==t);return e&&(t=t.replace(X,"")),[t=t.replace(/@\*/g,".ng-trigger").replace(/@\w+/g,t=>".ng-trigger-"+t.substr(1)).replace(/:animating/g,".ng-animating"),e]}(t.selector);e.currentQuerySelector=n.length?n+" "+a:a,h(e.collectedStyles,e.currentQuerySelector,{});const o=U(this,N(t.animation),e);return e.currentQuery=null,e.currentQuerySelector=n,{type:11,selector:a,limit:i.limit||0,optional:!!i.optional,includeSelf:r,animation:o,originalSelector:t.selector,options:nt(t.options)}}visitStagger(t,e){e.currentQuery||e.errors.push("stagger() can only be used inside of query()");const n="full"===t.timings?{duration:0,delay:0,easing:"full"}:P(t.timings,e.errors,!0);return{type:12,animation:U(this,N(t.animation),e),timings:n,options:null}}}class tt{constructor(t){this.errors=t,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null}}function et(t){return!Array.isArray(t)&&"object"==typeof t}function nt(t){var e;return t?(t=L(t)).params&&(t.params=(e=t.params)?L(e):null):t={},t}function it(t,e,n){return{duration:t,delay:e,easing:n}}function at(t,e,n,i,a,r,o=null,s=!1){return{type:1,element:t,keyframes:e,preStyleProps:n,postStyleProps:i,duration:a,delay:r,totalTime:a+r,easing:o,subTimeline:s}}class rt{constructor(){this._map=new Map}consume(t){let e=this._map.get(t);return e?this._map.delete(t):e=[],e}append(t,e){let n=this._map.get(t);n||this._map.set(t,n=[]),n.push(...e)}has(t){return this._map.has(t)}clear(){this._map.clear()}}const ot=new RegExp(":enter","g"),st=new RegExp(":leave","g");function lt(t,e,n,i,a,r={},o={},s,l,c=[]){return(new ct).buildKeyframes(t,e,n,i,a,r,o,s,l,c)}class ct{buildKeyframes(t,e,n,i,a,r,o,s,l,c=[]){l=l||new rt;const d=new ut(t,e,l,i,a,c,[]);d.options=s,d.currentTimeline.setStyles([r],null,d.errors,s),U(this,n,d);const u=d.timelines.filter(t=>t.containsAnimation());if(u.length&&Object.keys(o).length){const t=u[u.length-1];t.allowOnlyTimelineStyles()||t.setStyles([o],null,d.errors,s)}return u.length?u.map(t=>t.buildKeyframes()):[at(e,[],[],[],0,0,"",!1)]}visitTrigger(t,e){}visitState(t,e){}visitTransition(t,e){}visitAnimateChild(t,e){const n=e.subInstructions.consume(e.element);if(n){const i=e.createSubContext(t.options),a=e.currentTimeline.currentTime,r=this._visitSubInstructions(n,i,i.options);a!=r&&e.transformIntoNewTimeline(r)}e.previousNode=t}visitAnimateRef(t,e){const n=e.createSubContext(t.options);n.transformIntoNewTimeline(),this.visitReference(t.animation,n),e.transformIntoNewTimeline(n.currentTimeline.currentTime),e.previousNode=t}_visitSubInstructions(t,e,n){let i=e.currentTimeline.currentTime;const a=null!=n.duration?S(n.duration):null,r=null!=n.delay?S(n.delay):null;return 0!==a&&t.forEach(t=>{const n=e.appendInstructionToTimeline(t,a,r);i=Math.max(i,n.duration+n.delay)}),i}visitReference(t,e){e.updateOptions(t.options,!0),U(this,t.animation,e),e.previousNode=t}visitSequence(t,e){const n=e.subContextCount;let i=e;const a=t.options;if(a&&(a.params||a.delay)&&(i=e.createSubContext(a),i.transformIntoNewTimeline(),null!=a.delay)){6==i.previousNode.type&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=dt);const t=S(a.delay);i.delayNextStep(t)}t.steps.length&&(t.steps.forEach(t=>U(this,t,i)),i.currentTimeline.applyStylesToKeyframe(),i.subContextCount>n&&i.transformIntoNewTimeline()),e.previousNode=t}visitGroup(t,e){const n=[];let i=e.currentTimeline.currentTime;const a=t.options&&t.options.delay?S(t.options.delay):0;t.steps.forEach(r=>{const o=e.createSubContext(t.options);a&&o.delayNextStep(a),U(this,r,o),i=Math.max(i,o.currentTimeline.currentTime),n.push(o.currentTimeline)}),n.forEach(t=>e.currentTimeline.mergeTimelineCollectedStyles(t)),e.transformIntoNewTimeline(i),e.previousNode=t}_visitTiming(t,e){if(t.dynamic){const n=t.strValue;return P(e.params?j(n,e.params,e.errors):n,e.errors)}return{duration:t.duration,delay:t.delay,easing:t.easing}}visitAnimate(t,e){const n=e.currentAnimateTimings=this._visitTiming(t.timings,e),i=e.currentTimeline;n.delay&&(e.incrementTime(n.delay),i.snapshotCurrentStyles());const a=t.style;5==a.type?this.visitKeyframes(a,e):(e.incrementTime(n.duration),this.visitStyle(a,e),i.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=t}visitStyle(t,e){const n=e.currentTimeline,i=e.currentAnimateTimings;!i&&n.getCurrentStyleProperties().length&&n.forwardFrame();const a=i&&i.easing||t.easing;t.isEmptyStep?n.applyEmptyStep(a):n.setStyles(t.styles,a,e.errors,e.options),e.previousNode=t}visitKeyframes(t,e){const n=e.currentAnimateTimings,i=e.currentTimeline.duration,a=n.duration,r=e.createSubContext().currentTimeline;r.easing=n.easing,t.styles.forEach(t=>{r.forwardTime((t.offset||0)*a),r.setStyles(t.styles,t.easing,e.errors,e.options),r.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(r),e.transformIntoNewTimeline(i+a),e.previousNode=t}visitQuery(t,e){const n=e.currentTimeline.currentTime,i=t.options||{},a=i.delay?S(i.delay):0;a&&(6===e.previousNode.type||0==n&&e.currentTimeline.getCurrentStyleProperties().length)&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=dt);let r=n;const o=e.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!i.optional,e.errors);e.currentQueryTotal=o.length;let s=null;o.forEach((n,i)=>{e.currentQueryIndex=i;const o=e.createSubContext(t.options,n);a&&o.delayNextStep(a),n===e.element&&(s=o.currentTimeline),U(this,t.animation,o),o.currentTimeline.applyStylesToKeyframe(),r=Math.max(r,o.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(r),s&&(e.currentTimeline.mergeTimelineCollectedStyles(s),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=t}visitStagger(t,e){const n=e.parentContext,i=e.currentTimeline,a=t.timings,r=Math.abs(a.duration),o=r*(e.currentQueryTotal-1);let s=r*e.currentQueryIndex;switch(a.duration<0?"reverse":a.easing){case"reverse":s=o-s;break;case"full":s=n.currentStaggerTime}const l=e.currentTimeline;s&&l.delayNextStep(s);const c=l.currentTime;U(this,t.animation,e),e.previousNode=t,n.currentStaggerTime=i.currentTime-c+(i.startTime-n.currentTimeline.startTime)}}const dt={};class ut{constructor(t,e,n,i,a,r,o,s){this._driver=t,this.element=e,this.subInstructions=n,this._enterClassName=i,this._leaveClassName=a,this.errors=r,this.timelines=o,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=dt,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=s||new ht(this._driver,e,0),o.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(t,e){if(!t)return;const n=t;let i=this.options;null!=n.duration&&(i.duration=S(n.duration)),null!=n.delay&&(i.delay=S(n.delay));const a=n.params;if(a){let t=i.params;t||(t=this.options.params={}),Object.keys(a).forEach(n=>{e&&t.hasOwnProperty(n)||(t[n]=j(a[n],t,this.errors))})}}_copyOptions(){const t={};if(this.options){const e=this.options.params;if(e){const n=t.params={};Object.keys(e).forEach(t=>{n[t]=e[t]})}}return t}createSubContext(t=null,e,n){const i=e||this.element,a=new ut(this._driver,i,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(i,n||0));return a.previousNode=this.previousNode,a.currentAnimateTimings=this.currentAnimateTimings,a.options=this._copyOptions(),a.updateOptions(t),a.currentQueryIndex=this.currentQueryIndex,a.currentQueryTotal=this.currentQueryTotal,a.parentContext=this,this.subContextCount++,a}transformIntoNewTimeline(t){return this.previousNode=dt,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(t,e,n){const i={duration:null!=e?e:t.duration,delay:this.currentTimeline.currentTime+(null!=n?n:0)+t.delay,easing:""},a=new mt(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,i,t.stretchStartingKeyframe);return this.timelines.push(a),i}incrementTime(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}delayNextStep(t){t>0&&this.currentTimeline.delayNextStep(t)}invokeQuery(t,e,n,i,a,r){let o=[];if(i&&o.push(this.element),t.length>0){t=(t=t.replace(ot,"."+this._enterClassName)).replace(st,"."+this._leaveClassName);let e=this._driver.query(this.element,t,1!=n);0!==n&&(e=n<0?e.slice(e.length+n,e.length):e.slice(0,n)),o.push(...e)}return a||0!=o.length||r.push(`\`query("${e}")\` returned zero elements. (Use \`query("${e}", { optional: true })\` if you wish to allow this.)`),o}}class ht{constructor(t,e,n,i){this._driver=t,this.element=e,this.startTime=n,this._elementTimelineStylesLookup=i,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(e),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(e,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}getCurrentStyleProperties(){return Object.keys(this._currentKeyframe)}get currentTime(){return this.startTime+this.duration}delayNextStep(t){const e=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||e?(this.forwardTime(this.currentTime+t),e&&this.snapshotCurrentStyles()):this.startTime+=t}fork(t,e){return this.applyStylesToKeyframe(),new ht(this._driver,t,e||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()}_updateStyle(t,e){this._localTimelineStyles[t]=e,this._globalTimelineStyles[t]=e,this._styleSummary[t]={time:this.currentTime,value:e}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(t){t&&(this._previousKeyframe.easing=t),Object.keys(this._globalTimelineStyles).forEach(t=>{this._backFill[t]=this._globalTimelineStyles[t]||r.a,this._currentKeyframe[t]=r.a}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(t,e,n,i){e&&(this._previousKeyframe.easing=e);const a=i&&i.params||{},o=function(t,e){const n={};let i;return t.forEach(t=>{"*"===t?(i=i||Object.keys(e),i.forEach(t=>{n[t]=r.a})):D(t,!1,n)}),n}(t,this._globalTimelineStyles);Object.keys(o).forEach(t=>{const e=j(o[t],a,n);this._pendingStyles[t]=e,this._localTimelineStyles.hasOwnProperty(t)||(this._backFill[t]=this._globalTimelineStyles.hasOwnProperty(t)?this._globalTimelineStyles[t]:r.a),this._updateStyle(t,e)})}applyStylesToKeyframe(){const t=this._pendingStyles,e=Object.keys(t);0!=e.length&&(this._pendingStyles={},e.forEach(e=>{this._currentKeyframe[e]=t[e]}),Object.keys(this._localTimelineStyles).forEach(t=>{this._currentKeyframe.hasOwnProperty(t)||(this._currentKeyframe[t]=this._localTimelineStyles[t])}))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach(t=>{const e=this._localTimelineStyles[t];this._pendingStyles[t]=e,this._updateStyle(t,e)})}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const t=[];for(let e in this._currentKeyframe)t.push(e);return t}mergeTimelineCollectedStyles(t){Object.keys(t._styleSummary).forEach(e=>{const n=this._styleSummary[e],i=t._styleSummary[e];(!n||i.time>n.time)&&this._updateStyle(e,i.value)})}buildKeyframes(){this.applyStylesToKeyframe();const t=new Set,e=new Set,n=1===this._keyframes.size&&0===this.duration;let i=[];this._keyframes.forEach((a,o)=>{const s=D(a,!0);Object.keys(s).forEach(n=>{const i=s[n];i==r.p?t.add(n):i==r.a&&e.add(n)}),n||(s.offset=o/this.duration),i.push(s)});const a=t.size?F(t.values()):[],o=e.size?F(e.values()):[];if(n){const t=i[0],e=L(t);t.offset=0,e.offset=1,i=[t,e]}return at(this.element,i,a,o,this.duration,this.startTime,this.easing,!1)}}class mt extends ht{constructor(t,e,n,i,a,r,o=!1){super(t,e,r.delay),this.element=e,this.keyframes=n,this.preStyleProps=i,this.postStyleProps=a,this._stretchStartingKeyframe=o,this.timings={duration:r.duration,delay:r.delay,easing:r.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let t=this.keyframes,{delay:e,duration:n,easing:i}=this.timings;if(this._stretchStartingKeyframe&&e){const a=[],r=n+e,o=e/r,s=D(t[0],!1);s.offset=0,a.push(s);const l=D(t[0],!1);l.offset=pt(o),a.push(l);const c=t.length-1;for(let i=1;i<=c;i++){let o=D(t[i],!1);o.offset=pt((e+o.offset*n)/r),a.push(o)}n=r,e=0,i="",t=a}return at(this.element,t,this.preStyleProps,this.postStyleProps,n,e,i,!0)}}function pt(t,e=3){const n=Math.pow(10,e-1);return Math.round(t*n)/n}class ft{}class gt extends ft{normalizePropertyName(t,e){return V(t)}normalizeStyleValue(t,e,n,i){let a="";const r=n.toString().trim();if(bt[e]&&0!==n&&"0"!==n)if("number"==typeof n)a="px";else{const e=n.match(/^[+-]?[\d\.]+([a-z]*)$/);e&&0==e[1].length&&i.push(`Please provide a CSS unit value for ${t}:${n}`)}return r+a}}const bt=(()=>function(t){const e={};return t.forEach(t=>e[t]=!0),e}("width,height,minWidth,minHeight,maxWidth,maxHeight,left,top,bottom,right,fontSize,outlineWidth,outlineOffset,paddingTop,paddingLeft,paddingBottom,paddingRight,marginTop,marginLeft,marginBottom,marginRight,borderRadius,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,textIndent,perspective".split(",")))();function _t(t,e,n,i,a,r,o,s,l,c,d,u,h){return{type:0,element:t,triggerName:e,isRemovalTransition:a,fromState:n,fromStyles:r,toState:i,toStyles:o,timelines:s,queriedElements:l,preStyleProps:c,postStyleProps:d,totalTime:u,errors:h}}const yt={};class vt{constructor(t,e,n){this._triggerName=t,this.ast=e,this._stateStyles=n}match(t,e,n,i){return function(t,e,n,i,a){return t.some(t=>t(e,n,i,a))}(this.ast.matchers,t,e,n,i)}buildStyles(t,e,n){const i=this._stateStyles["*"],a=this._stateStyles[t],r=i?i.buildStyles(e,n):{};return a?a.buildStyles(e,n):r}build(t,e,n,i,a,r,o,s,l,c){const d=[],u=this.ast.options&&this.ast.options.params||yt,m=this.buildStyles(n,o&&o.params||yt,d),p=s&&s.params||yt,f=this.buildStyles(i,p,d),g=new Set,b=new Map,_=new Map,y="void"===i,v={params:Object.assign(Object.assign({},u),p)},C=c?[]:lt(t,e,this.ast.animation,a,r,m,f,v,l,d);let w=0;if(C.forEach(t=>{w=Math.max(t.duration+t.delay,w)}),d.length)return _t(e,this._triggerName,n,i,y,m,f,[],[],b,_,w,d);C.forEach(t=>{const n=t.element,i=h(b,n,{});t.preStyleProps.forEach(t=>i[t]=!0);const a=h(_,n,{});t.postStyleProps.forEach(t=>a[t]=!0),n!==e&&g.add(n)});const x=F(g.values());return _t(e,this._triggerName,n,i,y,m,f,C,x,b,_,w)}}class Ct{constructor(t,e){this.styles=t,this.defaultParams=e}buildStyles(t,e){const n={},i=L(this.defaultParams);return Object.keys(t).forEach(e=>{const n=t[e];null!=n&&(i[e]=n)}),this.styles.styles.forEach(t=>{if("string"!=typeof t){const a=t;Object.keys(a).forEach(t=>{let r=a[t];r.length>1&&(r=j(r,i,e)),n[t]=r})}}),n}}class wt{constructor(t,e){this.name=t,this.ast=e,this.transitionFactories=[],this.states={},e.states.forEach(t=>{this.states[t.name]=new Ct(t.style,t.options&&t.options.params||{})}),xt(this.states,"true","1"),xt(this.states,"false","0"),e.transitions.forEach(e=>{this.transitionFactories.push(new vt(t,e,this.states))}),this.fallbackTransition=new vt(t,{type:1,animation:{type:2,steps:[],options:null},matchers:[(t,e)=>!0],options:null,queryCount:0,depCount:0},this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(t,e,n,i){return this.transitionFactories.find(a=>a.match(t,e,n,i))||null}matchStyles(t,e,n){return this.fallbackTransition.buildStyles(t,e,n)}}function xt(t,e,n){t.hasOwnProperty(e)?t.hasOwnProperty(n)||(t[n]=t[e]):t.hasOwnProperty(n)&&(t[e]=t[n])}const Mt=new rt;class Ot{constructor(t,e,n){this.bodyNode=t,this._driver=e,this._normalizer=n,this._animations={},this._playersById={},this.players=[]}register(t,e){const n=[],i=K(this._driver,e,n);if(n.length)throw new Error(`Unable to build the animation due to the following errors: ${n.join("\n")}`);this._animations[t]=i}_buildPlayer(t,e,n){const i=t.element,a=l(0,this._normalizer,0,t.keyframes,e,n);return this._driver.animate(i,a,t.duration,t.delay,t.easing,[],!0)}create(t,e,n={}){const i=[],a=this._animations[t];let o;const l=new Map;if(a?(o=lt(this._driver,e,a,"ng-enter","ng-leave",{},{},n,Mt,i),o.forEach(t=>{const e=h(l,t.element,{});t.postStyleProps.forEach(t=>e[t]=null)})):(i.push("The requested animation doesn't exist or has already been destroyed"),o=[]),i.length)throw new Error(`Unable to create the animation due to the following errors: ${i.join("\n")}`);l.forEach((t,e)=>{Object.keys(t).forEach(n=>{t[n]=this._driver.computeStyle(e,n,r.a)})});const c=s(o.map(t=>{const e=l.get(t.element);return this._buildPlayer(t,{},e)}));return this._playersById[t]=c,c.onDestroy(()=>this.destroy(t)),this.players.push(c),c}destroy(t){const e=this._getPlayer(t);e.destroy(),delete this._playersById[t];const n=this.players.indexOf(e);n>=0&&this.players.splice(n,1)}_getPlayer(t){const e=this._playersById[t];if(!e)throw new Error(`Unable to find the timeline player referenced by ${t}`);return e}listen(t,e,n,i){const a=u(e,"","","");return c(this._getPlayer(t),n,a,i),()=>{}}command(t,e,n,i){if("register"==n)return void this.register(t,i[0]);if("create"==n)return void this.create(t,e,i[0]||{});const a=this._getPlayer(t);switch(n){case"play":a.play();break;case"pause":a.pause();break;case"reset":a.reset();break;case"restart":a.restart();break;case"finish":a.finish();break;case"init":a.init();break;case"setPosition":a.setPosition(parseFloat(i[0]));break;case"destroy":this.destroy(t)}}}const kt=[],St={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Tt={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0};class Pt{constructor(t,e=""){this.namespaceId=e;const n=t&&t.hasOwnProperty("value");if(this.value=null!=(i=n?t.value:t)?i:null,n){const e=L(t);delete e.value,this.options=e}else this.options={};var i;this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(t){const e=t.params;if(e){const t=this.options.params;Object.keys(e).forEach(n=>{null==t[n]&&(t[n]=e[n])})}}}const Lt=new Pt("void");class Dt{constructor(t,e,n){this.id=t,this.hostElement=e,this._engine=n,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+t,Ht(e,this._hostClassName)}listen(t,e,n,i){if(!this._triggers.hasOwnProperty(e))throw new Error(`Unable to listen on the animation trigger event "${n}" because the animation trigger "${e}" doesn't exist!`);if(null==n||0==n.length)throw new Error(`Unable to listen on the animation trigger "${e}" because the provided event is undefined!`);if("start"!=(a=n)&&"done"!=a)throw new Error(`The provided animation trigger event "${n}" for the animation trigger "${e}" is not supported!`);var a;const r=h(this._elementListeners,t,[]),o={name:e,phase:n,callback:i};r.push(o);const s=h(this._engine.statesByElement,t,{});return s.hasOwnProperty(e)||(Ht(t,"ng-trigger"),Ht(t,"ng-trigger-"+e),s[e]=Lt),()=>{this._engine.afterFlush(()=>{const t=r.indexOf(o);t>=0&&r.splice(t,1),this._triggers[e]||delete s[e]})}}register(t,e){return!this._triggers[t]&&(this._triggers[t]=e,!0)}_getTrigger(t){const e=this._triggers[t];if(!e)throw new Error(`The provided animation trigger "${t}" has not been registered!`);return e}trigger(t,e,n,i=!0){const a=this._getTrigger(e),r=new At(this.id,e,t);let o=this._engine.statesByElement.get(t);o||(Ht(t,"ng-trigger"),Ht(t,"ng-trigger-"+e),this._engine.statesByElement.set(t,o={}));let s=o[e];const l=new Pt(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&s&&l.absorbOptions(s.options),o[e]=l,s||(s=Lt),"void"!==l.value&&s.value===l.value){if(!function(t,e){const n=Object.keys(t),i=Object.keys(e);if(n.length!=i.length)return!1;for(let a=0;a<n.length;a++){const i=n[a];if(!e.hasOwnProperty(i)||t[i]!==e[i])return!1}return!0}(s.params,l.params)){const e=[],n=a.matchStyles(s.value,s.params,e),i=a.matchStyles(l.value,l.params,e);e.length?this._engine.reportError(e):this._engine.afterFlush(()=>{R(t,n),I(t,i)})}return}const c=h(this._engine.playersByElement,t,[]);c.forEach(t=>{t.namespaceId==this.id&&t.triggerName==e&&t.queued&&t.destroy()});let d=a.matchTransition(s.value,l.value,t,l.params),u=!1;if(!d){if(!i)return;d=a.fallbackTransition,u=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:e,transition:d,fromState:s,toState:l,player:r,isFallbackTransition:u}),u||(Ht(t,"ng-animate-queued"),r.onStart(()=>{jt(t,"ng-animate-queued")})),r.onDone(()=>{let e=this.players.indexOf(r);e>=0&&this.players.splice(e,1);const n=this._engine.playersByElement.get(t);if(n){let t=n.indexOf(r);t>=0&&n.splice(t,1)}}),this.players.push(r),c.push(r),r}deregister(t){delete this._triggers[t],this._engine.statesByElement.forEach((e,n)=>{delete e[t]}),this._elementListeners.forEach((e,n)=>{this._elementListeners.set(n,e.filter(e=>e.name!=t))})}clearElementCache(t){this._engine.statesByElement.delete(t),this._elementListeners.delete(t);const e=this._engine.playersByElement.get(t);e&&(e.forEach(t=>t.destroy()),this._engine.playersByElement.delete(t))}_signalRemovalForInnerTriggers(t,e){const n=this._engine.driver.query(t,".ng-trigger",!0);n.forEach(t=>{if(t.__ng_removed)return;const n=this._engine.fetchNamespacesByElement(t);n.size?n.forEach(n=>n.triggerLeaveAnimation(t,e,!1,!0)):this.clearElementCache(t)}),this._engine.afterFlushAnimationsDone(()=>n.forEach(t=>this.clearElementCache(t)))}triggerLeaveAnimation(t,e,n,i){const a=this._engine.statesByElement.get(t);if(a){const r=[];if(Object.keys(a).forEach(e=>{if(this._triggers[e]){const n=this.trigger(t,e,"void",i);n&&r.push(n)}}),r.length)return this._engine.markElementAsRemoved(this.id,t,!0,e),n&&s(r).onDone(()=>this._engine.processLeaveNode(t)),!0}return!1}prepareLeaveAnimationListeners(t){const e=this._elementListeners.get(t);if(e){const n=new Set;e.forEach(e=>{const i=e.name;if(n.has(i))return;n.add(i);const a=this._triggers[i].fallbackTransition,r=this._engine.statesByElement.get(t)[i]||Lt,o=new Pt("void"),s=new At(this.id,i,t);this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:i,transition:a,fromState:r,toState:o,player:s,isFallbackTransition:!0})})}}removeNode(t,e){const n=this._engine;if(t.childElementCount&&this._signalRemovalForInnerTriggers(t,e),this.triggerLeaveAnimation(t,e,!0))return;let i=!1;if(n.totalAnimations){const e=n.players.length?n.playersByQueriedElement.get(t):[];if(e&&e.length)i=!0;else{let e=t;for(;e=e.parentNode;)if(n.statesByElement.get(e)){i=!0;break}}}if(this.prepareLeaveAnimationListeners(t),i)n.markElementAsRemoved(this.id,t,!1,e);else{const i=t.__ng_removed;i&&i!==St||(n.afterFlush(()=>this.clearElementCache(t)),n.destroyInnerAnimations(t),n._onRemovalComplete(t,e))}}insertNode(t,e){Ht(t,this._hostClassName)}drainQueuedTransitions(t){const e=[];return this._queue.forEach(n=>{const i=n.player;if(i.destroyed)return;const a=n.element,r=this._elementListeners.get(a);r&&r.forEach(e=>{if(e.name==n.triggerName){const i=u(a,n.triggerName,n.fromState.value,n.toState.value);i._data=t,c(n.player,e.phase,i,e.callback)}}),i.markedForDestroy?this._engine.afterFlush(()=>{i.destroy()}):e.push(n)}),this._queue=[],e.sort((t,e)=>{const n=t.transition.ast.depCount,i=e.transition.ast.depCount;return 0==n||0==i?n-i:this._engine.driver.containsElement(t.element,e.element)?1:-1})}destroy(t){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,t)}elementContainsData(t){let e=!1;return this._elementListeners.has(t)&&(e=!0),e=!!this._queue.find(e=>e.element===t)||e,e}}class Et{constructor(t,e,n){this.bodyNode=t,this.driver=e,this._normalizer=n,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(t,e)=>{}}_onRemovalComplete(t,e){this.onRemovalComplete(t,e)}get queuedPlayers(){const t=[];return this._namespaceList.forEach(e=>{e.players.forEach(e=>{e.queued&&t.push(e)})}),t}createNamespace(t,e){const n=new Dt(t,e,this);return e.parentNode?this._balanceNamespaceList(n,e):(this.newHostElements.set(e,n),this.collectEnterElement(e)),this._namespaceLookup[t]=n}_balanceNamespaceList(t,e){const n=this._namespaceList.length-1;if(n>=0){let i=!1;for(let a=n;a>=0;a--)if(this.driver.containsElement(this._namespaceList[a].hostElement,e)){this._namespaceList.splice(a+1,0,t),i=!0;break}i||this._namespaceList.splice(0,0,t)}else this._namespaceList.push(t);return this.namespacesByHostElement.set(e,t),t}register(t,e){let n=this._namespaceLookup[t];return n||(n=this.createNamespace(t,e)),n}registerTrigger(t,e,n){let i=this._namespaceLookup[t];i&&i.register(e,n)&&this.totalAnimations++}destroy(t,e){if(!t)return;const n=this._fetchNamespace(t);this.afterFlush(()=>{this.namespacesByHostElement.delete(n.hostElement),delete this._namespaceLookup[t];const e=this._namespaceList.indexOf(n);e>=0&&this._namespaceList.splice(e,1)}),this.afterFlushAnimationsDone(()=>n.destroy(e))}_fetchNamespace(t){return this._namespaceLookup[t]}fetchNamespacesByElement(t){const e=new Set,n=this.statesByElement.get(t);if(n){const t=Object.keys(n);for(let i=0;i<t.length;i++){const a=n[t[i]].namespaceId;if(a){const t=this._fetchNamespace(a);t&&e.add(t)}}}return e}trigger(t,e,n,i){if(It(e)){const a=this._fetchNamespace(t);if(a)return a.trigger(e,n,i),!0}return!1}insertNode(t,e,n,i){if(!It(e))return;const a=e.__ng_removed;if(a&&a.setForRemoval){a.setForRemoval=!1,a.setForMove=!0;const t=this.collectedLeaveElements.indexOf(e);t>=0&&this.collectedLeaveElements.splice(t,1)}if(t){const i=this._fetchNamespace(t);i&&i.insertNode(e,n)}i&&this.collectEnterElement(e)}collectEnterElement(t){this.collectedEnterElements.push(t)}markElementAsDisabled(t,e){e?this.disabledNodes.has(t)||(this.disabledNodes.add(t),Ht(t,"ng-animate-disabled")):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),jt(t,"ng-animate-disabled"))}removeNode(t,e,n,i){if(It(e)){const a=t?this._fetchNamespace(t):null;if(a?a.removeNode(e,i):this.markElementAsRemoved(t,e,!1,i),n){const n=this.namespacesByHostElement.get(e);n&&n.id!==t&&n.removeNode(e,i)}}else this._onRemovalComplete(e,i)}markElementAsRemoved(t,e,n,i){this.collectedLeaveElements.push(e),e.__ng_removed={namespaceId:t,setForRemoval:i,hasAnimation:n,removedBeforeQueried:!1}}listen(t,e,n,i,a){return It(e)?this._fetchNamespace(t).listen(e,n,i,a):()=>{}}_buildInstruction(t,e,n,i,a){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,n,i,t.fromState.options,t.toState.options,e,a)}destroyInnerAnimations(t){let e=this.driver.query(t,".ng-trigger",!0);e.forEach(t=>this.destroyActiveAnimationsForElement(t)),0!=this.playersByQueriedElement.size&&(e=this.driver.query(t,".ng-animating",!0),e.forEach(t=>this.finishActiveQueriedAnimationOnElement(t)))}destroyActiveAnimationsForElement(t){const e=this.playersByElement.get(t);e&&e.forEach(t=>{t.queued?t.markedForDestroy=!0:t.destroy()})}finishActiveQueriedAnimationOnElement(t){const e=this.playersByQueriedElement.get(t);e&&e.forEach(t=>t.finish())}whenRenderingDone(){return new Promise(t=>{if(this.players.length)return s(this.players).onDone(()=>t());t()})}processLeaveNode(t){const e=t.__ng_removed;if(e&&e.setForRemoval){if(t.__ng_removed=St,e.namespaceId){this.destroyInnerAnimations(t);const n=this._fetchNamespace(e.namespaceId);n&&n.clearElementCache(t)}this._onRemovalComplete(t,e.setForRemoval)}this.driver.matchesElement(t,".ng-animate-disabled")&&this.markElementAsDisabled(t,!1),this.driver.query(t,".ng-animate-disabled",!0).forEach(t=>{this.markElementAsDisabled(t,!1)})}flush(t=-1){let e=[];if(this.newHostElements.size&&(this.newHostElements.forEach((t,e)=>this._balanceNamespaceList(t,e)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let n=0;n<this.collectedEnterElements.length;n++)Ht(this.collectedEnterElements[n],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const n=[];try{e=this._flushAnimations(n,t)}finally{for(let t=0;t<n.length;t++)n[t]()}}else for(let n=0;n<this.collectedLeaveElements.length;n++)this.processLeaveNode(this.collectedLeaveElements[n]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(t=>t()),this._flushFns=[],this._whenQuietFns.length){const t=this._whenQuietFns;this._whenQuietFns=[],e.length?s(e).onDone(()=>{t.forEach(t=>t())}):t.forEach(t=>t())}}reportError(t){throw new Error(`Unable to process animations due to the following failed trigger transitions\n ${t.join("\n")}`)}_flushAnimations(t,e){const n=new rt,i=[],a=new Map,o=[],l=new Map,c=new Map,d=new Map,u=new Set;this.disabledNodes.forEach(t=>{u.add(t);const e=this.driver.query(t,".ng-animate-queued",!0);for(let n=0;n<e.length;n++)u.add(e[n])});const m=this.bodyNode,p=Array.from(this.statesByElement.keys()),f=Yt(p,this.collectedEnterElements),g=new Map;let b=0;f.forEach((t,e)=>{const n="ng-enter"+b++;g.set(e,n),t.forEach(t=>Ht(t,n))});const _=[],y=new Set,v=new Set;for(let r=0;r<this.collectedLeaveElements.length;r++){const t=this.collectedLeaveElements[r],e=t.__ng_removed;e&&e.setForRemoval&&(_.push(t),y.add(t),e.hasAnimation?this.driver.query(t,".ng-star-inserted",!0).forEach(t=>y.add(t)):v.add(t))}const C=new Map,w=Yt(p,Array.from(y));w.forEach((t,e)=>{const n="ng-leave"+b++;C.set(e,n),t.forEach(t=>Ht(t,n))}),t.push(()=>{f.forEach((t,e)=>{const n=g.get(e);t.forEach(t=>jt(t,n))}),w.forEach((t,e)=>{const n=C.get(e);t.forEach(t=>jt(t,n))}),_.forEach(t=>{this.processLeaveNode(t)})});const x=[],M=[];for(let r=this._namespaceList.length-1;r>=0;r--)this._namespaceList[r].drainQueuedTransitions(e).forEach(t=>{const e=t.player,a=t.element;if(x.push(e),this.collectedEnterElements.length){const t=a.__ng_removed;if(t&&t.setForMove)return void e.destroy()}const r=!m||!this.driver.containsElement(m,a),s=C.get(a),u=g.get(a),p=this._buildInstruction(t,n,u,s,r);if(p.errors&&p.errors.length)M.push(p);else{if(r)return e.onStart(()=>R(a,p.fromStyles)),e.onDestroy(()=>I(a,p.toStyles)),void i.push(e);if(t.isFallbackTransition)return e.onStart(()=>R(a,p.fromStyles)),e.onDestroy(()=>I(a,p.toStyles)),void i.push(e);p.timelines.forEach(t=>t.stretchStartingKeyframe=!0),n.append(a,p.timelines),o.push({instruction:p,player:e,element:a}),p.queriedElements.forEach(t=>h(l,t,[]).push(e)),p.preStyleProps.forEach((t,e)=>{const n=Object.keys(t);if(n.length){let t=c.get(e);t||c.set(e,t=new Set),n.forEach(e=>t.add(e))}}),p.postStyleProps.forEach((t,e)=>{const n=Object.keys(t);let i=d.get(e);i||d.set(e,i=new Set),n.forEach(t=>i.add(t))})}});if(M.length){const t=[];M.forEach(e=>{t.push(`@${e.triggerName} has failed due to:\n`),e.errors.forEach(e=>t.push(`- ${e}\n`))}),x.forEach(t=>t.destroy()),this.reportError(t)}const O=new Map,k=new Map;o.forEach(t=>{const e=t.element;n.has(e)&&(k.set(e,e),this._beforeAnimationBuild(t.player.namespaceId,t.instruction,O))}),i.forEach(t=>{const e=t.element;this._getPreviousPlayers(e,!1,t.namespaceId,t.triggerName,null).forEach(t=>{h(O,e,[]).push(t),t.destroy()})});const S=_.filter(t=>Vt(t,c,d)),T=new Map;Nt(T,this.driver,v,d,r.a).forEach(t=>{Vt(t,c,d)&&S.push(t)});const P=new Map;f.forEach((t,e)=>{Nt(P,this.driver,new Set(t),c,r.p)}),S.forEach(t=>{const e=T.get(t),n=P.get(t);T.set(t,Object.assign(Object.assign({},e),n))});const L=[],D=[],E={};o.forEach(t=>{const{element:e,player:r,instruction:o}=t;if(n.has(e)){if(u.has(e))return r.onDestroy(()=>I(e,o.toStyles)),r.disabled=!0,r.overrideTotalTime(o.totalTime),void i.push(r);let t=E;if(k.size>1){let n=e;const i=[];for(;n=n.parentNode;){const e=k.get(n);if(e){t=e;break}i.push(n)}i.forEach(e=>k.set(e,t))}const n=this._buildAnimation(r.namespaceId,o,O,a,P,T);if(r.setRealPlayer(n),t===E)L.push(r);else{const e=this.playersByElement.get(t);e&&e.length&&(r.parentPlayer=s(e)),i.push(r)}}else R(e,o.fromStyles),r.onDestroy(()=>I(e,o.toStyles)),D.push(r),u.has(e)&&i.push(r)}),D.forEach(t=>{const e=a.get(t.element);if(e&&e.length){const n=s(e);t.setRealPlayer(n)}}),i.forEach(t=>{t.parentPlayer?t.syncPlayerEvents(t.parentPlayer):t.destroy()});for(let r=0;r<_.length;r++){const t=_[r],e=t.__ng_removed;if(jt(t,"ng-leave"),e&&e.hasAnimation)continue;let n=[];if(l.size){let e=l.get(t);e&&e.length&&n.push(...e);let i=this.driver.query(t,".ng-animating",!0);for(let t=0;t<i.length;t++){let e=l.get(i[t]);e&&e.length&&n.push(...e)}}const i=n.filter(t=>!t.destroyed);i.length?Ft(this,t,i):this.processLeaveNode(t)}return _.length=0,L.forEach(t=>{this.players.push(t),t.onDone(()=>{t.destroy();const e=this.players.indexOf(t);this.players.splice(e,1)}),t.play()}),L}elementContainsData(t,e){let n=!1;const i=e.__ng_removed;return i&&i.setForRemoval&&(n=!0),this.playersByElement.has(e)&&(n=!0),this.playersByQueriedElement.has(e)&&(n=!0),this.statesByElement.has(e)&&(n=!0),this._fetchNamespace(t).elementContainsData(e)||n}afterFlush(t){this._flushFns.push(t)}afterFlushAnimationsDone(t){this._whenQuietFns.push(t)}_getPreviousPlayers(t,e,n,i,a){let r=[];if(e){const e=this.playersByQueriedElement.get(t);e&&(r=e)}else{const e=this.playersByElement.get(t);if(e){const t=!a||"void"==a;e.forEach(e=>{e.queued||(t||e.triggerName==i)&&r.push(e)})}}return(n||i)&&(r=r.filter(t=>!(n&&n!=t.namespaceId||i&&i!=t.triggerName))),r}_beforeAnimationBuild(t,e,n){const i=e.element,a=e.isRemovalTransition?void 0:t,r=e.isRemovalTransition?void 0:e.triggerName;for(const o of e.timelines){const t=o.element,s=t!==i,l=h(n,t,[]);this._getPreviousPlayers(t,s,a,r,e.toState).forEach(t=>{const e=t.getRealPlayer();e.beforeDestroy&&e.beforeDestroy(),t.destroy(),l.push(t)})}R(i,e.fromStyles)}_buildAnimation(t,e,n,i,a,o){const c=e.triggerName,d=e.element,u=[],m=new Set,p=new Set,f=e.timelines.map(e=>{const s=e.element;m.add(s);const h=s.__ng_removed;if(h&&h.removedBeforeQueried)return new r.d(e.duration,e.delay);const f=s!==d,g=function(t){const e=[];return zt(t,e),e}((n.get(s)||kt).map(t=>t.getRealPlayer())).filter(t=>!!t.element&&t.element===s),b=a.get(s),_=o.get(s),y=l(0,this._normalizer,0,e.keyframes,b,_),v=this._buildPlayer(e,y,g);if(e.subTimeline&&i&&p.add(s),f){const e=new At(t,c,s);e.setRealPlayer(v),u.push(e)}return v});u.forEach(t=>{h(this.playersByQueriedElement,t.element,[]).push(t),t.onDone(()=>function(t,e,n){let i;if(t instanceof Map){if(i=t.get(e),i){if(i.length){const t=i.indexOf(n);i.splice(t,1)}0==i.length&&t.delete(e)}}else if(i=t[e],i){if(i.length){const t=i.indexOf(n);i.splice(t,1)}0==i.length&&delete t[e]}return i}(this.playersByQueriedElement,t.element,t))}),m.forEach(t=>Ht(t,"ng-animating"));const g=s(f);return g.onDestroy(()=>{m.forEach(t=>jt(t,"ng-animating")),I(d,e.toStyles)}),p.forEach(t=>{h(i,t,[]).push(g)}),g}_buildPlayer(t,e,n){return e.length>0?this.driver.animate(t.element,e,t.duration,t.delay,t.easing,n):new r.d(t.duration,t.delay)}}class At{constructor(t,e,n){this.namespaceId=t,this.triggerName=e,this.element=n,this._player=new r.d,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(t){this._containsRealPlayer||(this._player=t,Object.keys(this._queuedCallbacks).forEach(e=>{this._queuedCallbacks[e].forEach(n=>c(t,e,void 0,n))}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(t.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(t){this.totalTime=t}syncPlayerEvents(t){const e=this._player;e.triggerCallback&&t.onStart(()=>e.triggerCallback("start")),t.onDone(()=>this.finish()),t.onDestroy(()=>this.destroy())}_queueEvent(t,e){h(this._queuedCallbacks,t,[]).push(e)}onDone(t){this.queued&&this._queueEvent("done",t),this._player.onDone(t)}onStart(t){this.queued&&this._queueEvent("start",t),this._player.onStart(t)}onDestroy(t){this.queued&&this._queueEvent("destroy",t),this._player.onDestroy(t)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(t){this.queued||this._player.setPosition(t)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(t){const e=this._player;e.triggerCallback&&e.triggerCallback(t)}}function It(t){return t&&1===t.nodeType}function Rt(t,e){const n=t.style.display;return t.style.display=null!=e?e:"none",n}function Nt(t,e,n,i,a){const r=[];n.forEach(t=>r.push(Rt(t)));const o=[];i.forEach((n,i)=>{const r={};n.forEach(t=>{const n=r[t]=e.computeStyle(i,t,a);n&&0!=n.length||(i.__ng_removed=Tt,o.push(i))}),t.set(i,r)});let s=0;return n.forEach(t=>Rt(t,r[s++])),o}function Yt(t,e){const n=new Map;if(t.forEach(t=>n.set(t,[])),0==e.length)return n;const i=new Set(e),a=new Map;function r(t){if(!t)return 1;let e=a.get(t);if(e)return e;const o=t.parentNode;return e=n.has(o)?o:i.has(o)?1:r(o),a.set(t,e),e}return e.forEach(t=>{const e=r(t);1!==e&&n.get(e).push(t)}),n}function Ht(t,e){if(t.classList)t.classList.add(e);else{let n=t.$$classes;n||(n=t.$$classes={}),n[e]=!0}}function jt(t,e){if(t.classList)t.classList.remove(e);else{let n=t.$$classes;n&&delete n[e]}}function Ft(t,e,n){s(n).onDone(()=>t.processLeaveNode(e))}function zt(t,e){for(let n=0;n<t.length;n++){const i=t[n];i instanceof r.o?zt(i.players,e):e.push(i)}}function Vt(t,e,n){const i=n.get(t);if(!i)return!1;let a=e.get(t);return a?i.forEach(t=>a.add(t)):e.set(t,i),n.delete(t),!0}class Bt{constructor(t,e,n){this.bodyNode=t,this._driver=e,this._triggerCache={},this.onRemovalComplete=(t,e)=>{},this._transitionEngine=new Et(t,e,n),this._timelineEngine=new Ot(t,e,n),this._transitionEngine.onRemovalComplete=(t,e)=>this.onRemovalComplete(t,e)}registerTrigger(t,e,n,i,a){const r=t+"-"+i;let o=this._triggerCache[r];if(!o){const t=[],e=K(this._driver,a,t);if(t.length)throw new Error(`The animation trigger "${i}" has failed to build due to the following errors:\n - ${t.join("\n - ")}`);o=function(t,e){return new wt(t,e)}(i,e),this._triggerCache[r]=o}this._transitionEngine.registerTrigger(e,i,o)}register(t,e){this._transitionEngine.register(t,e)}destroy(t,e){this._transitionEngine.destroy(t,e)}onInsert(t,e,n,i){this._transitionEngine.insertNode(t,e,n,i)}onRemove(t,e,n,i){this._transitionEngine.removeNode(t,e,i||!1,n)}disableAnimations(t,e){this._transitionEngine.markElementAsDisabled(t,e)}process(t,e,n,i){if("@"==n.charAt(0)){const[t,a]=m(n);this._timelineEngine.command(t,e,a,i)}else this._transitionEngine.trigger(t,e,n,i)}listen(t,e,n,i,a){if("@"==n.charAt(0)){const[t,i]=m(n);return this._timelineEngine.listen(t,e,i,a)}return this._transitionEngine.listen(t,e,n,i,a)}flush(t=-1){this._transitionEngine.flush(t)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}function Wt(t,e){let n=null,i=null;return Array.isArray(e)&&e.length?(n=qt(e[0]),e.length>1&&(i=qt(e[e.length-1]))):e&&(n=qt(e)),n||i?new Ut(t,n,i):null}let Ut=(()=>{class t{constructor(e,n,i){this._element=e,this._startStyles=n,this._endStyles=i,this._state=0;let a=t.initialStylesByElement.get(e);a||t.initialStylesByElement.set(e,a={}),this._initialStyles=a}start(){this._state<1&&(this._startStyles&&I(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(I(this._element,this._initialStyles),this._endStyles&&(I(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(R(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(R(this._element,this._endStyles),this._endStyles=null),I(this._element,this._initialStyles),this._state=3)}}return t.initialStylesByElement=new WeakMap,t})();function qt(t){let e=null;const n=Object.keys(t);for(let i=0;i<n.length;i++){const a=n[i];Gt(a)&&(e=e||{},e[a]=t[a])}return e}function Gt(t){return"display"===t||"position"===t}class Jt{constructor(t,e,n,i,a,r,o){this._element=t,this._name=e,this._duration=n,this._delay=i,this._easing=a,this._fillMode=r,this._onDoneFn=o,this._finished=!1,this._destroyed=!1,this._startTime=0,this._position=0,this._eventFn=t=>this._handleCallback(t)}apply(){!function(t,e){const n=te(t,"").trim();n.length&&(function(t,e){let n=0;for(let i=0;i<t.length;i++)","===t.charAt(i)&&n++}(n),e=`${n}, ${e}`),Qt(t,"",e)}(this._element,`${this._duration}ms ${this._easing} ${this._delay}ms 1 normal ${this._fillMode} ${this._name}`),Kt(this._element,this._eventFn,!1),this._startTime=Date.now()}pause(){Zt(this._element,this._name,"paused")}resume(){Zt(this._element,this._name,"running")}setPosition(t){const e=$t(this._element,this._name);this._position=t*this._duration,Qt(this._element,"Delay",`-${this._position}ms`,e)}getPosition(){return this._position}_handleCallback(t){const e=t._ngTestManualTimestamp||Date.now(),n=1e3*parseFloat(t.elapsedTime.toFixed(3));t.animationName==this._name&&Math.max(e-this._startTime,0)>=this._delay&&n>=this._duration&&this.finish()}finish(){this._finished||(this._finished=!0,this._onDoneFn(),Kt(this._element,this._eventFn,!0))}destroy(){this._destroyed||(this._destroyed=!0,this.finish(),function(t,e){const n=te(t,"").split(","),i=Xt(n,e);i>=0&&(n.splice(i,1),Qt(t,"",n.join(",")))}(this._element,this._name))}}function Zt(t,e,n){Qt(t,"PlayState",n,$t(t,e))}function $t(t,e){const n=te(t,"");return n.indexOf(",")>0?Xt(n.split(","),e):Xt([n],e)}function Xt(t,e){for(let n=0;n<t.length;n++)if(t[n].indexOf(e)>=0)return n;return-1}function Kt(t,e,n){n?t.removeEventListener("animationend",e):t.addEventListener("animationend",e)}function Qt(t,e,n,i){const a="animation"+e;if(null!=i){const e=t.style[a];if(e.length){const t=e.split(",");t[i]=n,n=t.join(",")}}t.style[a]=n}function te(t,e){return t.style["animation"+e]||""}class ee{constructor(t,e,n,i,a,r,o,s){this.element=t,this.keyframes=e,this.animationName=n,this._duration=i,this._delay=a,this._finalStyles=o,this._specialStyles=s,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this.currentSnapshot={},this._state=0,this.easing=r||"linear",this.totalTime=i+a,this._buildStyler()}onStart(t){this._onStartFns.push(t)}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}destroy(){this.init(),this._state>=4||(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}_flushDoneFns(){this._onDoneFns.forEach(t=>t()),this._onDoneFns=[]}_flushStartFns(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}finish(){this.init(),this._state>=3||(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())}setPosition(t){this._styler.setPosition(t)}getPosition(){return this._styler.getPosition()}hasStarted(){return this._state>=2}init(){this._state>=1||(this._state=1,this._styler.apply(),this._delay&&this._styler.pause())}play(){this.init(),this.hasStarted()||(this._flushStartFns(),this._state=2,this._specialStyles&&this._specialStyles.start()),this._styler.resume()}pause(){this.init(),this._styler.pause()}restart(){this.reset(),this.play()}reset(){this._styler.destroy(),this._buildStyler(),this._styler.apply()}_buildStyler(){this._styler=new Jt(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",()=>this.finish())}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}beforeDestroy(){this.init();const t={};if(this.hasStarted()){const e=this._state>=3;Object.keys(this._finalStyles).forEach(n=>{"offset"!=n&&(t[n]=e?this._finalStyles[n]:q(this.element,n))})}this.currentSnapshot=t}}class ne extends r.d{constructor(t,e){super(),this.element=t,this._startingStyles={},this.__initialized=!1,this._styles=M(e)}init(){!this.__initialized&&this._startingStyles&&(this.__initialized=!0,Object.keys(this._styles).forEach(t=>{this._startingStyles[t]=this.element.style[t]}),super.init())}play(){this._startingStyles&&(this.init(),Object.keys(this._styles).forEach(t=>this.element.style.setProperty(t,this._styles[t])),super.play())}destroy(){this._startingStyles&&(Object.keys(this._startingStyles).forEach(t=>{const e=this._startingStyles[t];e?this.element.style.setProperty(t,e):this.element.style.removeProperty(t)}),this._startingStyles=null,super.destroy())}}class ie{constructor(){this._count=0,this._head=document.querySelector("head")}validateStyleProperty(t){return v(t)}matchesElement(t,e){return C(t,e)}containsElement(t,e){return w(t,e)}query(t,e,n){return x(t,e,n)}computeStyle(t,e,n){return window.getComputedStyle(t)[e]}buildKeyframeElement(t,e,n){n=n.map(t=>M(t));let i=`@keyframes ${e} {\n`,a="";n.forEach(t=>{a=" ";const e=parseFloat(t.offset);i+=`${a}${100*e}% {\n`,a+=" ",Object.keys(t).forEach(e=>{const n=t[e];switch(e){case"offset":return;case"easing":return void(n&&(i+=`${a}animation-timing-function: ${n};\n`));default:return void(i+=`${a}${e}: ${n};\n`)}}),i+=`${a}}\n`}),i+="}\n";const r=document.createElement("style");return r.textContent=i,r}animate(t,e,n,i,a,r=[],o){const s=r.filter(t=>t instanceof ee),l={};B(n,i)&&s.forEach(t=>{let e=t.currentSnapshot;Object.keys(e).forEach(t=>l[t]=e[t])});const c=function(t){let e={};return t&&(Array.isArray(t)?t:[t]).forEach(t=>{Object.keys(t).forEach(n=>{"offset"!=n&&"easing"!=n&&(e[n]=t[n])})}),e}(e=W(t,e,l));if(0==n)return new ne(t,c);const d="gen_css_kf_"+this._count++,u=this.buildKeyframeElement(t,d,e);document.querySelector("head").appendChild(u);const h=Wt(t,e),m=new ee(t,e,d,n,i,a,c,h);return m.onDestroy(()=>{var t;(t=u).parentNode.removeChild(t)}),m}}class ae{constructor(t,e,n,i){this.element=t,this.keyframes=e,this.options=n,this._specialStyles=i,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.currentSnapshot={},this._duration=n.duration,this._delay=n.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const t=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,t,this.options),this._finalKeyframe=t.length?t[t.length-1]:{},this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_triggerWebAnimation(t,e,n){return t.animate(e,n)}onStart(t){this._onStartFns.push(t)}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(t=>t()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}setPosition(t){this.domPlayer.currentTime=t*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const t={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach(e=>{"offset"!=e&&(t[e]=this._finished?this._finalKeyframe[e]:q(this.element,e))}),this.currentSnapshot=t}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}class re{constructor(){this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(oe().toString()),this._cssKeyframesDriver=new ie}validateStyleProperty(t){return v(t)}matchesElement(t,e){return C(t,e)}containsElement(t,e){return w(t,e)}query(t,e,n){return x(t,e,n)}computeStyle(t,e,n){return window.getComputedStyle(t)[e]}overrideWebAnimationsSupport(t){this._isNativeImpl=t}animate(t,e,n,i,a,r=[],o){if(!o&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(t,e,n,i,a,r);const s={duration:n,delay:i,fill:0==i?"both":"forwards"};a&&(s.easing=a);const l={},c=r.filter(t=>t instanceof ae);B(n,i)&&c.forEach(t=>{let e=t.currentSnapshot;Object.keys(e).forEach(t=>l[t]=e[t])});const d=Wt(t,e=W(t,e=e.map(t=>D(t,!1)),l));return new ae(t,e,s,d)}}function oe(){return"undefined"!=typeof window&&void 0!==window.document&&Element.prototype.animate||{}}var se=n("SVse");let le=(()=>{class t extends r.b{constructor(t,e){super(),this._nextAnimationId=0,this._renderer=t.createRenderer(e.body,{id:"0",encapsulation:i.S.None,styles:[],data:{animation:[]}})}build(t){const e=this._nextAnimationId.toString();this._nextAnimationId++;const n=Array.isArray(t)?Object(r.j)(t):t;return ue(this._renderer,null,e,"register",[n]),new ce(e,this._renderer)}}return t.\u0275fac=function(e){return new(e||t)(i.Xb(i.H),i.Xb(se.d))},t.\u0275prov=i.Jb({token:t,factory:t.\u0275fac}),t})();class ce extends r.c{constructor(t,e){super(),this._id=t,this._renderer=e}create(t,e){return new de(this._id,t,e||{},this._renderer)}}class de{constructor(t,e,n,i){this.id=t,this.element=e,this._renderer=i,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",n)}_listen(t,e){return this._renderer.listen(this.element,`@@${this.id}:${t}`,e)}_command(t,...e){return ue(this._renderer,this.element,this.id,t,e)}onDone(t){this._listen("done",t)}onStart(t){this._listen("start",t)}onDestroy(t){this._listen("destroy",t)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset")}setPosition(t){this._command("setPosition",t)}getPosition(){var t,e;return null!==(e=null===(t=this._renderer.engine.players[+this.id])||void 0===t?void 0:t.getPosition())&&void 0!==e?e:0}}function ue(t,e,n,i,a){return t.setProperty(e,`@@${n}:${i}`,a)}let he=(()=>{class t{constructor(t,e,n){this.delegate=t,this.engine=e,this._zone=n,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),e.onRemovalComplete=(t,e)=>{e&&e.parentNode(t)&&e.removeChild(t.parentNode,t)}}createRenderer(t,e){const n=this.delegate.createRenderer(t,e);if(!(t&&e&&e.data&&e.data.animation)){let t=this._rendererCache.get(n);return t||(t=new me("",n,this.engine),this._rendererCache.set(n,t)),t}const i=e.id,a=e.id+"-"+this._currentId;this._currentId++,this.engine.register(a,t);const r=e=>{Array.isArray(e)?e.forEach(r):this.engine.registerTrigger(i,a,t,e.name,e)};return e.data.animation.forEach(r),new pe(this,a,n,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(t,e,n){t>=0&&t<this._microtaskId?this._zone.run(()=>e(n)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(t=>{const[e,n]=t;e(n)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([e,n]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}return t.\u0275fac=function(e){return new(e||t)(i.Xb(i.H),i.Xb(Bt),i.Xb(i.B))},t.\u0275prov=i.Jb({token:t,factory:t.\u0275fac}),t})();class me{constructor(t,e,n){this.namespaceId=t,this.delegate=e,this.engine=n,this.destroyNode=this.delegate.destroyNode?t=>e.destroyNode(t):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(t,e){return this.delegate.createElement(t,e)}createComment(t){return this.delegate.createComment(t)}createText(t){return this.delegate.createText(t)}appendChild(t,e){this.delegate.appendChild(t,e),this.engine.onInsert(this.namespaceId,e,t,!1)}insertBefore(t,e,n,i=!0){this.delegate.insertBefore(t,e,n),this.engine.onInsert(this.namespaceId,e,t,i)}removeChild(t,e,n){this.engine.onRemove(this.namespaceId,e,this.delegate,n)}selectRootElement(t,e){return this.delegate.selectRootElement(t,e)}parentNode(t){return this.delegate.parentNode(t)}nextSibling(t){return this.delegate.nextSibling(t)}setAttribute(t,e,n,i){this.delegate.setAttribute(t,e,n,i)}removeAttribute(t,e,n){this.delegate.removeAttribute(t,e,n)}addClass(t,e){this.delegate.addClass(t,e)}removeClass(t,e){this.delegate.removeClass(t,e)}setStyle(t,e,n,i){this.delegate.setStyle(t,e,n,i)}removeStyle(t,e,n){this.delegate.removeStyle(t,e,n)}setProperty(t,e,n){"@"==e.charAt(0)&&"@.disabled"==e?this.disableAnimations(t,!!n):this.delegate.setProperty(t,e,n)}setValue(t,e){this.delegate.setValue(t,e)}listen(t,e,n){return this.delegate.listen(t,e,n)}disableAnimations(t,e){this.engine.disableAnimations(t,e)}}class pe extends me{constructor(t,e,n,i){super(e,n,i),this.factory=t,this.namespaceId=e}setProperty(t,e,n){"@"==e.charAt(0)?"."==e.charAt(1)&&"@.disabled"==e?this.disableAnimations(t,n=void 0===n||!!n):this.engine.process(this.namespaceId,t,e.substr(1),n):this.delegate.setProperty(t,e,n)}listen(t,e,n){if("@"==e.charAt(0)){const i=function(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}(t);let a=e.substr(1),r="";return"@"!=a.charAt(0)&&([a,r]=function(t){const e=t.indexOf(".");return[t.substring(0,e),t.substr(e+1)]}(a)),this.engine.listen(this.namespaceId,i,a,r,t=>{this.factory.scheduleListenerCallback(t._data||-1,n,t)})}return this.delegate.listen(t,e,n)}}let fe=(()=>{class t extends Bt{constructor(t,e,n){super(t.body,e,n)}}return t.\u0275fac=function(e){return new(e||t)(i.Xb(se.d),i.Xb(k),i.Xb(ft))},t.\u0275prov=i.Jb({token:t,factory:t.\u0275fac}),t})();const ge=new i.s("AnimationModuleType"),be=[{provide:k,useFactory:function(){return"function"==typeof oe()?new re:new ie}},{provide:ge,useValue:"BrowserAnimations"},{provide:r.b,useClass:le},{provide:ft,useFactory:function(){return new gt}},{provide:Bt,useClass:fe},{provide:i.H,useFactory:function(t,e,n){return new he(t,e,n)},deps:[a.d,Bt,i.B]}];let _e=(()=>{class t{}return t.\u0275mod=i.Lb({type:t}),t.\u0275inj=i.Kb({factory:function(e){return new(e||t)},providers:be,imports:[a.a]}),t})()},"p/g4":function(t,e,n){"use strict";n.d(e,"a",function(){return i});var i=function(t){return t.EQUAL="EQUAL",t.START_WITH="START_WITH",t.END_WITH="END_WITH",t.CONTAIN="CONTAIN",t}({})},"p/rL":function(t,e,n){!function(t){"use strict";t.defineLocale("bm",{months:"Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_M\u025bkalo_Zuw\u025bnkalo_Zuluyekalo_Utikalo_S\u025btanburukalo_\u0254kut\u0254burukalo_Nowanburukalo_Desanburukalo".split("_"),monthsShort:"Zan_Few_Mar_Awi_M\u025b_Zuw_Zul_Uti_S\u025bt_\u0254ku_Now_Des".split("_"),weekdays:"Kari_Nt\u025bn\u025bn_Tarata_Araba_Alamisa_Juma_Sibiri".split("_"),weekdaysShort:"Kar_Nt\u025b_Tar_Ara_Ala_Jum_Sib".split("_"),weekdaysMin:"Ka_Nt_Ta_Ar_Al_Ju_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"MMMM [tile] D [san] YYYY",LLL:"MMMM [tile] D [san] YYYY [l\u025br\u025b] HH:mm",LLLL:"dddd MMMM [tile] D [san] YYYY [l\u025br\u025b] HH:mm"},calendar:{sameDay:"[Bi l\u025br\u025b] LT",nextDay:"[Sini l\u025br\u025b] LT",nextWeek:"dddd [don l\u025br\u025b] LT",lastDay:"[Kunu l\u025br\u025b] LT",lastWeek:"dddd [t\u025bm\u025bnen l\u025br\u025b] LT",sameElse:"L"},relativeTime:{future:"%s k\u0254n\u0254",past:"a b\u025b %s b\u0254",s:"sanga dama dama",ss:"sekondi %d",m:"miniti kelen",mm:"miniti %d",h:"l\u025br\u025b kelen",hh:"l\u025br\u025b %d",d:"tile kelen",dd:"tile %d",M:"kalo kelen",MM:"kalo %d",y:"san kelen",yy:"san %d"},week:{dow:1,doy:4}})}(n("wd/R"))},pLZG:function(t,e,n){"use strict";n.d(e,"a",function(){return a});var i=n("7o/Q");function a(t,e){return function(n){return n.lift(new r(t,e))}}class r{constructor(t,e){this.predicate=t,this.thisArg=e}call(t,e){return e.subscribe(new o(t,this.predicate,this.thisArg))}}class o extends i.a{constructor(t,e,n){super(t),this.predicate=e,this.thisArg=n,this.count=0}_next(t){let e;try{e=this.predicate.call(this.thisArg,t,this.count++)}catch(n){return void this.destination.error(n)}e&&this.destination.next(t)}}},pMoy:function(t,e,n){"use strict";n.d(e,"a",function(){return C}),n.d(e,"b",function(){return x});var i=n("8LU1"),a=n("8Y7J"),r=n("s7LF"),o=n("UhP/"),s=n("omvX"),l=n("9b/N"),c=n("YEUz");const d=["input"],u=function(){return{enterDuration:150}},h=["*"],m=new a.s("mat-checkbox-default-options",{providedIn:"root",factory:p});function p(){return{color:"accent",clickAction:"check-indeterminate"}}let f=0;const g=p(),b={provide:r.m,useExisting:Object(a.V)(()=>C),multi:!0};class _{}class y{constructor(t){this._elementRef=t}}const v=Object(o.B)(Object(o.w)(Object(o.x)(Object(o.y)(y))));let C=(()=>{class t extends v{constructor(t,e,n,i,r,o,s){super(t),this._changeDetectorRef=e,this._focusMonitor=n,this._ngZone=i,this._animationMode=o,this._options=s,this.ariaLabel="",this.ariaLabelledby=null,this._uniqueId="mat-checkbox-"+ ++f,this.id=this._uniqueId,this.labelPosition="after",this.name=null,this.change=new a.o,this.indeterminateChange=new a.o,this._onTouched=()=>{},this._currentAnimationClass="",this._currentCheckState=0,this._controlValueAccessorChangeFn=()=>{},this._checked=!1,this._disabled=!1,this._indeterminate=!1,this._options=this._options||g,this.color=this.defaultColor=this._options.color||g.color,this.tabIndex=parseInt(r)||0}get inputId(){return`${this.id||this._uniqueId}-input`}get required(){return this._required}set required(t){this._required=Object(i.c)(t)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(t=>{t||Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}),this._syncIndeterminate(this._indeterminate)}ngAfterViewChecked(){}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}get checked(){return this._checked}set checked(t){t!=this.checked&&(this._checked=t,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(t){const e=Object(i.c)(t);e!==this.disabled&&(this._disabled=e,this._changeDetectorRef.markForCheck())}get indeterminate(){return this._indeterminate}set indeterminate(t){const e=t!=this._indeterminate;this._indeterminate=Object(i.c)(t),e&&(this._transitionCheckState(this._indeterminate?3:this.checked?1:2),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}writeValue(t){this.checked=!!t}registerOnChange(t){this._controlValueAccessorChangeFn=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t}_getAriaChecked(){return this.checked?"true":this.indeterminate?"mixed":"false"}_transitionCheckState(t){let e=this._currentCheckState,n=this._elementRef.nativeElement;if(e!==t&&(this._currentAnimationClass.length>0&&n.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(e,t),this._currentCheckState=t,this._currentAnimationClass.length>0)){n.classList.add(this._currentAnimationClass);const t=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{n.classList.remove(t)},1e3)})}}_emitChangeEvent(){const t=new _;t.source=this,t.checked=this.checked,this._controlValueAccessorChangeFn(this.checked),this.change.emit(t)}toggle(){this.checked=!this.checked}_onInputClick(t){var e;const n=null===(e=this._options)||void 0===e?void 0:e.clickAction;t.stopPropagation(),this.disabled||"noop"===n?this.disabled||"noop"!==n||(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==n&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this.toggle(),this._transitionCheckState(this._checked?1:2),this._emitChangeEvent())}focus(t,e){t?this._focusMonitor.focusVia(this._inputElement,t,e):this._inputElement.nativeElement.focus(e)}_onInteractionEvent(t){t.stopPropagation()}_getAnimationClassForCheckStateTransition(t,e){if("NoopAnimations"===this._animationMode)return"";let n="";switch(t){case 0:if(1===e)n="unchecked-checked";else{if(3!=e)return"";n="unchecked-indeterminate"}break;case 2:n=1===e?"unchecked-checked":"unchecked-indeterminate";break;case 1:n=2===e?"checked-unchecked":"checked-indeterminate";break;case 3:n=1===e?"indeterminate-checked":"indeterminate-unchecked"}return`mat-checkbox-anim-${n}`}_syncIndeterminate(t){const e=this._inputElement;e&&(e.nativeElement.indeterminate=t)}}return t.\u0275fac=function(e){return new(e||t)(a.Nb(a.l),a.Nb(a.h),a.Nb(c.h),a.Nb(a.B),a.Yb("tabindex"),a.Nb(s.a,8),a.Nb(m,8))},t.\u0275cmp=a.Hb({type:t,selectors:[["mat-checkbox"]],viewQuery:function(t,e){if(1&t&&(a.Lc(d,1),a.Lc(o.r,1)),2&t){let t;a.uc(t=a.cc())&&(e._inputElement=t.first),a.uc(t=a.cc())&&(e.ripple=t.first)}},hostAttrs:[1,"mat-checkbox"],hostVars:12,hostBindings:function(t,e){2&t&&(a.Wb("id",e.id),a.Db("tabindex",null),a.Fb("mat-checkbox-indeterminate",e.indeterminate)("mat-checkbox-checked",e.checked)("mat-checkbox-disabled",e.disabled)("mat-checkbox-label-before","before"==e.labelPosition)("_mat-animation-noopable","NoopAnimations"===e._animationMode))},inputs:{disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],id:"id",labelPosition:"labelPosition",name:"name",required:"required",checked:"checked",disabled:"disabled",indeterminate:"indeterminate",ariaDescribedby:["aria-describedby","ariaDescribedby"],value:"value"},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],features:[a.Bb([b]),a.zb],ngContentSelectors:h,decls:17,vars:20,consts:[[1,"mat-checkbox-layout"],["label",""],[1,"mat-checkbox-inner-container"],["type","checkbox",1,"mat-checkbox-input","cdk-visually-hidden",3,"id","required","checked","disabled","tabIndex","change","click"],["input",""],["matRipple","",1,"mat-checkbox-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleRadius","matRippleCentered","matRippleAnimation"],[1,"mat-ripple-element","mat-checkbox-persistent-ripple"],[1,"mat-checkbox-frame"],[1,"mat-checkbox-background"],["version","1.1","focusable","false","viewBox","0 0 24 24",0,"xml","space","preserve",1,"mat-checkbox-checkmark"],["fill","none","stroke","white","d","M4.1,12.7 9,17.6 20.3,6.3",1,"mat-checkbox-checkmark-path"],[1,"mat-checkbox-mixedmark"],[1,"mat-checkbox-label",3,"cdkObserveContent"],["checkboxLabel",""],[2,"display","none"]],template:function(t,e){if(1&t&&(a.mc(),a.Tb(0,"label",0,1),a.Tb(2,"span",2),a.Tb(3,"input",3,4),a.bc("change",function(t){return e._onInteractionEvent(t)})("click",function(t){return e._onInputClick(t)}),a.Sb(),a.Tb(5,"span",5),a.Ob(6,"span",6),a.Sb(),a.Ob(7,"span",7),a.Tb(8,"span",8),a.ec(),a.Tb(9,"svg",9),a.Ob(10,"path",10),a.Sb(),a.dc(),a.Ob(11,"span",11),a.Sb(),a.Sb(),a.Tb(12,"span",12,13),a.bc("cdkObserveContent",function(){return e._onLabelTextChange()}),a.Tb(14,"span",14),a.Hc(15,"\xa0"),a.Sb(),a.lc(16),a.Sb(),a.Sb()),2&t){const t=a.vc(1),n=a.vc(13);a.Db("for",e.inputId),a.Cb(2),a.Fb("mat-checkbox-inner-container-no-side-margin",!n.textContent||!n.textContent.trim()),a.Cb(1),a.nc("id",e.inputId)("required",e.required)("checked",e.checked)("disabled",e.disabled)("tabIndex",e.tabIndex),a.Db("value",e.value)("name",e.name)("aria-label",e.ariaLabel||null)("aria-labelledby",e.ariaLabelledby)("aria-checked",e._getAriaChecked())("aria-describedby",e.ariaDescribedby),a.Cb(2),a.nc("matRippleTrigger",t)("matRippleDisabled",e._isRippleDisabled())("matRippleRadius",20)("matRippleCentered",!0)("matRippleAnimation",a.rc(19,u))}},directives:[o.r,l.a],styles:["@keyframes mat-checkbox-fade-in-background{0%{opacity:0}50%{opacity:1}}@keyframes mat-checkbox-fade-out-background{0%,50%{opacity:1}100%{opacity:0}}@keyframes mat-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:22.910259}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1)}100%{stroke-dashoffset:0}}@keyframes mat-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mat-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);stroke-dashoffset:0}to{stroke-dashoffset:-22.910259}}@keyframes mat-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(45deg)}}@keyframes mat-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:0;transform:rotate(45deg)}to{opacity:1;transform:rotate(360deg)}}@keyframes mat-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:0;transform:rotate(-45deg)}to{opacity:1;transform:rotate(0deg)}}@keyframes mat-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(315deg)}}@keyframes mat-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;opacity:1;transform:scaleX(1)}32.8%,100%{opacity:0;transform:scaleX(0)}}.mat-checkbox-background,.mat-checkbox-frame{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:2px;box-sizing:border-box;pointer-events:none}.mat-checkbox{display:inline-block;transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);cursor:pointer;-webkit-tap-highlight-color:transparent}._mat-animation-noopable.mat-checkbox{transition:none;animation:none}.mat-checkbox .mat-ripple-element:not(.mat-checkbox-persistent-ripple){opacity:.16}.mat-checkbox-layout{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:inherit;align-items:baseline;vertical-align:middle;display:inline-flex;white-space:nowrap}.mat-checkbox-label{-webkit-user-select:auto;-moz-user-select:auto;-ms-user-select:auto;user-select:auto}.mat-checkbox-inner-container{display:inline-block;height:16px;line-height:0;margin:auto;margin-right:8px;order:0;position:relative;vertical-align:middle;white-space:nowrap;width:16px;flex-shrink:0}[dir=rtl] .mat-checkbox-inner-container{margin-left:8px;margin-right:auto}.mat-checkbox-inner-container-no-side-margin{margin-left:0;margin-right:0}.mat-checkbox-frame{background-color:transparent;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1);border-width:2px;border-style:solid}._mat-animation-noopable .mat-checkbox-frame{transition:none}.cdk-high-contrast-active .mat-checkbox.cdk-keyboard-focused .mat-checkbox-frame{border-style:dotted}.mat-checkbox-background{align-items:center;display:inline-flex;justify-content:center;transition:background-color 90ms cubic-bezier(0, 0, 0.2, 0.1),opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}._mat-animation-noopable .mat-checkbox-background{transition:none}.cdk-high-contrast-active .mat-checkbox .mat-checkbox-background{background:none}.mat-checkbox-persistent-ripple{display:block;width:100%;height:100%;transform:none}.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:.04}.mat-checkbox.cdk-keyboard-focused .mat-checkbox-persistent-ripple{opacity:.12}.mat-checkbox-persistent-ripple,.mat-checkbox.mat-checkbox-disabled .mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:0}@media(hover: none){.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{display:none}}.mat-checkbox-checkmark{top:0;left:0;right:0;bottom:0;position:absolute;width:100%}.mat-checkbox-checkmark-path{stroke-dashoffset:22.910259;stroke-dasharray:22.910259;stroke-width:2.1333333333px}.cdk-high-contrast-black-on-white .mat-checkbox-checkmark-path{stroke:#000 !important}.mat-checkbox-mixedmark{width:calc(100% - 6px);height:2px;opacity:0;transform:scaleX(0) rotate(0deg);border-radius:2px}.cdk-high-contrast-active .mat-checkbox-mixedmark{height:0;border-top:solid 2px;margin-top:2px}.mat-checkbox-label-before .mat-checkbox-inner-container{order:1;margin-left:8px;margin-right:auto}[dir=rtl] .mat-checkbox-label-before .mat-checkbox-inner-container{margin-left:auto;margin-right:8px}.mat-checkbox-checked .mat-checkbox-checkmark{opacity:1}.mat-checkbox-checked .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-checked .mat-checkbox-mixedmark{transform:scaleX(1) rotate(-45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark{opacity:0;transform:rotate(45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-indeterminate .mat-checkbox-mixedmark{opacity:1;transform:scaleX(1) rotate(0deg)}.mat-checkbox-unchecked .mat-checkbox-background{background-color:transparent}.mat-checkbox-disabled{cursor:default}.cdk-high-contrast-active .mat-checkbox-disabled{opacity:.5}.mat-checkbox-anim-unchecked-checked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-checked .mat-checkbox-checkmark-path{animation:180ms linear 0ms mat-checkbox-unchecked-checked-checkmark-path}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-unchecked-indeterminate-mixedmark}.mat-checkbox-anim-checked-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-checked-unchecked .mat-checkbox-checkmark-path{animation:90ms linear 0ms mat-checkbox-checked-unchecked-checkmark-path}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-checkmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-checkmark}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-mixedmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-checkmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-checkmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-mixedmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-mixedmark}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-mixedmark{animation:300ms linear 0ms mat-checkbox-indeterminate-unchecked-mixedmark}.mat-checkbox-input{bottom:0;left:50%}.mat-checkbox .mat-checkbox-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}\n"],encapsulation:2,changeDetection:0}),t})(),w=(()=>{class t{}return t.\u0275mod=a.Lb({type:t}),t.\u0275inj=a.Kb({factory:function(e){return new(e||t)}}),t})(),x=(()=>{class t{}return t.\u0275mod=a.Lb({type:t}),t.\u0275inj=a.Kb({factory:function(e){return new(e||t)},imports:[[o.s,o.j,l.c,w],o.j,w]}),t})()},pSGz:function(t,e,n){"use strict";n.d(e,"a",function(){return C});var i=n("8Y7J"),a=n("s7LF"),r=n("xgIS"),o=n("pLZG"),s=n("Kj3r"),l=n("IGtN"),c=n("TSSN"),d=n("zaPX"),u=n("Q2Ze"),h=n("e6WT"),m=n("vrAh"),p=n("q6Qu"),f=n("SVse"),g=n("UhP/");const b=["countryElt"];function _(t,e){if(1&t&&(i.Tb(0,"mat-option",6),i.Hc(1),i.Sb()),2&t){const t=e.$implicit;i.nc("value",t),i.Cb(1),i.Jc(" ",t.nom," ")}}const y=[[["mat-error"]],[["mat-icon"]],[["mat-spinner"]]],v=["mat-error","mat-icon","mat-spinner"];let C=(()=>{class t extends l.a{constructor(t,e,n){super(t),this.translateService=t,this.configSharedService=e,this.changeDetectorRef=n,this.showFR=!0,this.formCtrl=new a.e,this.selectionChanged=new i.o,this._allCleanedNameCountriesSorted=[],this._mapCleanedNameToCountry=new Map,this.selectedItem=!1,this._sortString=(t,e)=>t===e?0:t>e?1:-1}load(){this.formCtrl=new a.e({value:this.countryCtrl.value?this.countryCtrl.value.nom:null,disabled:this.countryCtrl.disabled},{validators:this.isRequired?[a.w.required]:[]});let t=this.configSharedService.countries;this.showFR||(t=t.filter(t=>"FR"!==t.code));const e=this.sortCountriesByName(t);this._allCleanedNameCountriesSorted=e.cleanNames,this._allCountriesSorted=e.countries,this.displayedCountries=this._allCountriesSorted,this.subscriptions.push(this.bindToKeyUpEvent(this.countryElt).subscribe(t=>this.onInputChange(this.formCtrl.value)),this.countryCtrl.valueChanges.subscribe(t=>{this.formCtrl.setValue(t?t.nom:null),this.disableOrEnableFormCtrl()}))}bindToKeyUpEvent(t){return Object(r.a)(t.nativeElement,"keyup").pipe(Object(o.a)(t=>!["ArrowDown","ArrowUp","ArrowRight","ArrowLeft"].includes(t.key)),Object(s.a)(this.configSharedService.autocompleteCommuneTimeLimit))}sortCountriesByName(t){t.forEach(t=>this._mapCleanedNameToCountry.set(this.cleanName(t.nom),t));const e=Array.from(this._mapCleanedNameToCountry.keys()).sort(this._sortString),n=e.map(t=>this._mapCleanedNameToCountry.get(t)).filter(t=>t.actif);return{cleanNames:e,countries:n}}cleanName(t){return null!==t||"string"==typeof t?t.normalize("NFD").replace(/[\u0300-\u036f]/g,"").toLowerCase():""}onInputChange(t){const e=this.cleanName(t?t.trim():t);this.displayedCountries=this._allCleanedNameCountriesSorted.filter(t=>t.startsWith(e)).map(t=>this._mapCleanedNameToCountry.get(t)),this.changeDetectorRef.markForCheck()}selectCountry(t){this.selectedCountry=t.option.value,this.selectedItem=!0}blur(){(this.countryCtrl.value?this.countryCtrl.value.nom:null)!==this.formCtrl.value&&(this.formCtrl.setValue(null),this.selectionChanged.emit(null))}onClose(){this.selectedItem&&this.selectedCountry&&(this.formCtrl.setValue(this.selectedCountry.nom),this.selectionChanged.emit(this.selectedCountry)),this.selectedItem=!1}disableOrEnableFormCtrl(){this.countryCtrl.disabled?this.formCtrl.disable():this.formCtrl.enable()}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(c.d),i.Nb(d.a),i.Nb(i.h))},t.\u0275cmp=i.Hb({type:t,selectors:[["app-country-autocomplete-2"]],viewQuery:function(t,e){if(1&t&&i.Lc(b,3),2&t){let t;i.uc(t=i.cc())&&(e.countryElt=t.first)}},inputs:{inputTitle:"inputTitle",isRequired:"isRequired",showFR:"showFR",countryCtrl:"countryCtrl"},outputs:{selectionChanged:"selectionChanged"},features:[i.zb],ngContentSelectors:v,decls:10,vars:5,consts:[[1,"country"],["type","text","data-cy","pays","matInput","","name","country","autocomplete","off",3,"appLabel","formControl","matAutocomplete","required","blur"],["countryElt",""],[3,"optionSelected","closed"],["auto","matAutocomplete"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(t,e){if(1&t&&(i.mc(y),i.Tb(0,"mat-form-field",0),i.Tb(1,"input",1,2),i.bc("blur",function(){return e.blur()}),i.Sb(),i.Tb(3,"mat-error"),i.lc(4),i.Sb(),i.lc(5,1),i.lc(6,2),i.Sb(),i.Tb(7,"mat-autocomplete",3,4),i.bc("optionSelected",function(t){return e.selectCountry(t)})("closed",function(){return e.onClose()}),i.Fc(9,_,2,2,"mat-option",5),i.Sb()),2&t){const t=i.vc(8);i.Cb(1),i.nc("appLabel",e.inputTitle)("formControl",e.formCtrl)("matAutocomplete",t)("required",e.isRequired),i.Cb(8),i.nc("ngForOf",e.displayedCountries)}},directives:[u.c,h.b,a.c,m.c,p.a,a.o,a.f,a.v,u.b,m.a,f.k,g.m],styles:[".country[_ngcontent-%COMP%]{width:100%}"],changeDetection:0}),t})()},pu8Q:function(t,e,n){"use strict";n.d(e,"a",function(){return y}),n.d(e,"b",function(){return _});var i=n("8Y7J"),a=n("SVse"),r=n("UhP/"),o=n("8LU1"),s=n("SCoL"),l=n("omvX");function c(t,e){if(1&t&&(i.ec(),i.Ob(0,"circle",3)),2&t){const t=i.fc();i.Cc("animation-name","mat-progress-spinner-stroke-rotate-"+t._spinnerAnimationLabel)("stroke-dashoffset",t._getStrokeDashOffset(),"px")("stroke-dasharray",t._getStrokeCircumference(),"px")("stroke-width",t._getCircleStrokeWidth(),"%"),i.Db("r",t._getCircleRadius())}}function d(t,e){if(1&t&&(i.ec(),i.Ob(0,"circle",3)),2&t){const t=i.fc();i.Cc("stroke-dashoffset",t._getStrokeDashOffset(),"px")("stroke-dasharray",t._getStrokeCircumference(),"px")("stroke-width",t._getCircleStrokeWidth(),"%"),i.Db("r",t._getCircleRadius())}}function u(t,e){if(1&t&&(i.ec(),i.Ob(0,"circle",3)),2&t){const t=i.fc();i.Cc("animation-name","mat-progress-spinner-stroke-rotate-"+t._spinnerAnimationLabel)("stroke-dashoffset",t._getStrokeDashOffset(),"px")("stroke-dasharray",t._getStrokeCircumference(),"px")("stroke-width",t._getCircleStrokeWidth(),"%"),i.Db("r",t._getCircleRadius())}}function h(t,e){if(1&t&&(i.ec(),i.Ob(0,"circle",3)),2&t){const t=i.fc();i.Cc("stroke-dashoffset",t._getStrokeDashOffset(),"px")("stroke-dasharray",t._getStrokeCircumference(),"px")("stroke-width",t._getCircleStrokeWidth(),"%"),i.Db("r",t._getCircleRadius())}}const m=".mat-progress-spinner{display:block;position:relative;overflow:hidden}.mat-progress-spinner svg{position:absolute;transform:rotate(-90deg);top:0;left:0;transform-origin:center;overflow:visible}.mat-progress-spinner circle{fill:transparent;transform-origin:center;transition:stroke-dashoffset 225ms linear}._mat-animation-noopable.mat-progress-spinner circle{transition:none;animation:none}.cdk-high-contrast-active .mat-progress-spinner circle{stroke:currentColor}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] svg{animation:mat-progress-spinner-linear-rotate 2000ms linear infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] svg{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition-property:stroke;animation-duration:4000ms;animation-timing-function:cubic-bezier(0.35, 0, 0.25, 1);animation-iteration-count:infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] svg{animation:mat-progress-spinner-stroke-rotate-fallback 10000ms cubic-bezier(0.87, 0.03, 0.33, 1) infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] svg{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] circle{transition-property:stroke}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] circle{transition:none;animation:none}@keyframes mat-progress-spinner-linear-rotate{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes mat-progress-spinner-stroke-rotate-100{0%{stroke-dashoffset:268.606171575px;transform:rotate(0)}12.5%{stroke-dashoffset:56.5486677px;transform:rotate(0)}12.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(72.5deg)}25%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(72.5deg)}25.0001%{stroke-dashoffset:268.606171575px;transform:rotate(270deg)}37.5%{stroke-dashoffset:56.5486677px;transform:rotate(270deg)}37.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(161.5deg)}50%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(161.5deg)}50.0001%{stroke-dashoffset:268.606171575px;transform:rotate(180deg)}62.5%{stroke-dashoffset:56.5486677px;transform:rotate(180deg)}62.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(251.5deg)}75%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(251.5deg)}75.0001%{stroke-dashoffset:268.606171575px;transform:rotate(90deg)}87.5%{stroke-dashoffset:56.5486677px;transform:rotate(90deg)}87.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(341.5deg)}100%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(341.5deg)}}@keyframes mat-progress-spinner-stroke-rotate-fallback{0%{transform:rotate(0deg)}25%{transform:rotate(1170deg)}50%{transform:rotate(2340deg)}75%{transform:rotate(3510deg)}100%{transform:rotate(4680deg)}}\n";class p{constructor(t){this._elementRef=t}}const f=Object(r.w)(p,"primary"),g=new i.s("mat-progress-spinner-default-options",{providedIn:"root",factory:function(){return{diameter:100}}});let b=(()=>{class t extends f{constructor(e,n,i,a,r){super(e),this._elementRef=e,this._document=i,this._diameter=100,this._value=0,this._fallbackAnimation=!1,this.mode="determinate";const o=t._diameters;this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),o.has(i.head)||o.set(i.head,new Set([100])),this._fallbackAnimation=n.EDGE||n.TRIDENT,this._noopAnimations="NoopAnimations"===a&&!!r&&!r._forceAnimations,r&&(r.diameter&&(this.diameter=r.diameter),r.strokeWidth&&(this.strokeWidth=r.strokeWidth))}get diameter(){return this._diameter}set diameter(t){this._diameter=Object(o.f)(t),this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),!this._fallbackAnimation&&this._styleRoot&&this._attachStyleNode()}get strokeWidth(){return this._strokeWidth||this.diameter/10}set strokeWidth(t){this._strokeWidth=Object(o.f)(t)}get value(){return"determinate"===this.mode?this._value:0}set value(t){this._value=Math.max(0,Math.min(100,Object(o.f)(t)))}ngOnInit(){const t=this._elementRef.nativeElement;this._styleRoot=Object(s.c)(t)||this._document.head,this._attachStyleNode(),t.classList.add(`mat-progress-spinner-indeterminate${this._fallbackAnimation?"-fallback":""}-animation`)}_getCircleRadius(){return(this.diameter-10)/2}_getViewBox(){const t=2*this._getCircleRadius()+this.strokeWidth;return`0 0 ${t} ${t}`}_getStrokeCircumference(){return 2*Math.PI*this._getCircleRadius()}_getStrokeDashOffset(){return"determinate"===this.mode?this._getStrokeCircumference()*(100-this._value)/100:this._fallbackAnimation&&"indeterminate"===this.mode?.2*this._getStrokeCircumference():null}_getCircleStrokeWidth(){return this.strokeWidth/this.diameter*100}_attachStyleNode(){const e=this._styleRoot,n=this._diameter,i=t._diameters;let a=i.get(e);if(!a||!a.has(n)){const t=this._document.createElement("style");t.setAttribute("mat-spinner-animation",this._spinnerAnimationLabel),t.textContent=this._getAnimationText(),e.appendChild(t),a||(a=new Set,i.set(e,a)),a.add(n)}}_getAnimationText(){const t=this._getStrokeCircumference();return"\n @keyframes mat-progress-spinner-stroke-rotate-DIAMETER {\n 0% { stroke-dashoffset: START_VALUE; transform: rotate(0); }\n 12.5% { stroke-dashoffset: END_VALUE; transform: rotate(0); }\n 12.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(72.5deg); }\n 25% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(72.5deg); }\n\n 25.0001% { stroke-dashoffset: START_VALUE; transform: rotate(270deg); }\n 37.5% { stroke-dashoffset: END_VALUE; transform: rotate(270deg); }\n 37.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(161.5deg); }\n 50% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(161.5deg); }\n\n 50.0001% { stroke-dashoffset: START_VALUE; transform: rotate(180deg); }\n 62.5% { stroke-dashoffset: END_VALUE; transform: rotate(180deg); }\n 62.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(251.5deg); }\n 75% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(251.5deg); }\n\n 75.0001% { stroke-dashoffset: START_VALUE; transform: rotate(90deg); }\n 87.5% { stroke-dashoffset: END_VALUE; transform: rotate(90deg); }\n 87.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(341.5deg); }\n 100% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(341.5deg); }\n }\n".replace(/START_VALUE/g,""+.95*t).replace(/END_VALUE/g,""+.2*t).replace(/DIAMETER/g,`${this._spinnerAnimationLabel}`)}_getSpinnerAnimationLabel(){return this.diameter.toString().replace(".","_")}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.l),i.Nb(s.a),i.Nb(a.d,8),i.Nb(l.a,8),i.Nb(g))},t.\u0275cmp=i.Hb({type:t,selectors:[["mat-progress-spinner"]],hostAttrs:["role","progressbar",1,"mat-progress-spinner"],hostVars:10,hostBindings:function(t,e){2&t&&(i.Db("aria-valuemin","determinate"===e.mode?0:null)("aria-valuemax","determinate"===e.mode?100:null)("aria-valuenow","determinate"===e.mode?e.value:null)("mode",e.mode),i.Cc("width",e.diameter,"px")("height",e.diameter,"px"),i.Fb("_mat-animation-noopable",e._noopAnimations))},inputs:{color:"color",mode:"mode",diameter:"diameter",strokeWidth:"strokeWidth",value:"value"},exportAs:["matProgressSpinner"],features:[i.zb],decls:3,vars:8,consts:[["preserveAspectRatio","xMidYMid meet","focusable","false",3,"ngSwitch"],["cx","50%","cy","50%",3,"animation-name","stroke-dashoffset","stroke-dasharray","stroke-width",4,"ngSwitchCase"],["cx","50%","cy","50%",3,"stroke-dashoffset","stroke-dasharray","stroke-width",4,"ngSwitchCase"],["cx","50%","cy","50%"]],template:function(t,e){1&t&&(i.ec(),i.Tb(0,"svg",0),i.Fc(1,c,1,9,"circle",1),i.Fc(2,d,1,7,"circle",2),i.Sb()),2&t&&(i.Cc("width",e.diameter,"px")("height",e.diameter,"px"),i.nc("ngSwitch","indeterminate"===e.mode),i.Db("viewBox",e._getViewBox()),i.Cb(1),i.nc("ngSwitchCase",!0),i.Cb(1),i.nc("ngSwitchCase",!1))},directives:[a.n,a.o],styles:[m],encapsulation:2,changeDetection:0}),t._diameters=new WeakMap,t})(),_=(()=>{class t extends b{constructor(t,e,n,i,a){super(t,e,n,i,a),this.mode="indeterminate"}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.l),i.Nb(s.a),i.Nb(a.d,8),i.Nb(l.a,8),i.Nb(g))},t.\u0275cmp=i.Hb({type:t,selectors:[["mat-spinner"]],hostAttrs:["role","progressbar","mode","indeterminate",1,"mat-spinner","mat-progress-spinner"],hostVars:6,hostBindings:function(t,e){2&t&&(i.Cc("width",e.diameter,"px")("height",e.diameter,"px"),i.Fb("_mat-animation-noopable",e._noopAnimations))},inputs:{color:"color"},features:[i.zb],decls:3,vars:8,consts:[["preserveAspectRatio","xMidYMid meet","focusable","false",3,"ngSwitch"],["cx","50%","cy","50%",3,"animation-name","stroke-dashoffset","stroke-dasharray","stroke-width",4,"ngSwitchCase"],["cx","50%","cy","50%",3,"stroke-dashoffset","stroke-dasharray","stroke-width",4,"ngSwitchCase"],["cx","50%","cy","50%"]],template:function(t,e){1&t&&(i.ec(),i.Tb(0,"svg",0),i.Fc(1,u,1,9,"circle",1),i.Fc(2,h,1,7,"circle",2),i.Sb()),2&t&&(i.Cc("width",e.diameter,"px")("height",e.diameter,"px"),i.nc("ngSwitch","indeterminate"===e.mode),i.Db("viewBox",e._getViewBox()),i.Cb(1),i.nc("ngSwitchCase",!0),i.Cb(1),i.nc("ngSwitchCase",!1))},directives:[a.n,a.o],styles:[m],encapsulation:2,changeDetection:0}),t})(),y=(()=>{class t{}return t.\u0275mod=i.Lb({type:t}),t.\u0275inj=i.Kb({factory:function(e){return new(e||t)},imports:[[r.j,a.c],r.j]}),t})()},q6Qu:function(t,e,n){"use strict";n.d(e,"a",function(){return d});var i=n("VRyK"),a=n("lJxs"),r=n("nYR2"),o=n("3wrD"),s=n("NVUN"),l=n("8Y7J"),c=n("TSSN");let d=(()=>{class t{constructor(t,e,n,i,a,r){this.translateService=t,this.componentFactoryResolver=e,this.el=n,this.appRef=i,this.renderer=a,this.injector=r}set appLabel(t){this._appLabel=t,setTimeout(()=>this.fetchLabel())}get appLabel(){return this._appLabel}get isFormField(){return"INPUT"===this.el.nativeElement.nodeName||"TEXTAREA"===this.el.nativeElement.nodeName||"MAT-SELECT"===this.el.nativeElement.nodeName}get required(){return!1!==this.el.nativeElement.getAttribute("required")&&null!==this.el.nativeElement.getAttribute("required")&&void 0!==this.el.nativeElement.getAttribute("required")}get labelElt(){return this.isFormField?this.el.nativeElement.parentElement.querySelector(".mat-form-field-label-wrapper"):"MAT-RADIO-BUTTON"===this.el.nativeElement.nodeName?this.el.nativeElement.querySelector(".mat-radio-label-content"):this.el.nativeElement}ngOnInit(){this.infoTrigger=this.isFormField?this.getMatFormField():this.el.nativeElement,setTimeout(()=>this.fetchLabel())}fetchLabel(){if(!this.appLabel)return;const t=`${this.appLabel}._info`;Object(i.a)(this.translateService.get(this.appLabel).pipe(Object(a.a)(t=>this.value=t)),this.translateService.get(t).pipe(Object(a.a)(e=>this.info=e!==t?e:null))).pipe(Object(r.a)(()=>this.setLabel())).subscribe()}getMatFormField(){let t=this.el.nativeElement;do{t=t.parentElement}while(t&&!t.getAttribute("class").match(/mat-form-field-wrapper/gm));return t||this.labelElt}generateLabel(){return`\n <label class="mat-form-field-label mat-empty mat-form-field-empty" for="${this.el.nativeElement.id}">\n <mat-label>${this.value}</mat-label>\n ${!1!==this.required?'<span class="mat-placeholder-required mat-form-field-required-marker">&nbsp;*</span>':""}\n </label>\n `}generateSimpleLabel(){return`\n <label>\n ${this.value}\n ${!1!==this.required?'<span class="mat-placeholder-required mat-form-field-required-marker">&nbsp;*</span>':""}\n </label>\n `}generateInfobulle(){const t=this.componentFactoryResolver.resolveComponentFactory(s.a).create(this.injector);this.appRef.attachView(t.hostView);const e=t.hostView.rootNodes[0];return t.instance.message=this.info,e.className="app-infobulle-trigger",e}generateButtonInfo(){const t=this.componentFactoryResolver.resolveComponentFactory(o.a).create(this.injector);this.appRef.attachView(t.hostView);const e=t.hostView.rootNodes[0];return t.instance.label=this.value,t.instance.info=this.info,e}setLabel(){const t="BUTTON"===this.el.nativeElement.nodeName?this.generateButtonInfo():this.generateInfobulle();switch(this.el.nativeElement.nodeName){case"INPUT":case"TEXTAREA":this.labelElt.innerHTML=this.generateLabel(),t.className+=" input";break;case"MAT-SELECT":this.labelElt.innerHTML=this.generateLabel(),t.className+=" select";break;case"MAT-RADIO-BUTTON":this.labelElt.innerHTML=`<span style="display:none">&nbsp;</span>${this.value}`,t.className+=" default";break;case"BUTTON":break;default:this.labelElt.innerHTML=this.generateSimpleLabel(),t.className+=" default"}(this.info||"BUTTON"===this.el.nativeElement.nodeName)&&(this.infobulle&&this.renderer.removeChild(this.infoTrigger,this.infobulle),this.infobulle=t,this.renderer.appendChild(this.infoTrigger,t))}}return t.\u0275fac=function(e){return new(e||t)(l.Nb(c.d),l.Nb(l.j),l.Nb(l.l),l.Nb(l.g),l.Nb(l.G),l.Nb(l.t))},t.\u0275dir=l.Ib({type:t,selectors:[["","appLabel",""]],inputs:{appLabel:"appLabel"}}),t})()},qUUn:function(t,e,n){"use strict";n.r(e),n.d(e,"NewsModule",function(){return b});var i=n("SVse"),a=n("PCNd"),r=n("iInd"),o=n("IGtN"),s=n("8Y7J"),l=n("TSSN"),c=n("CRH9"),d=n("Dxy4"),u=n("Tj54"),h=n("q6Qu"),m=n("06/9"),p=n("KSFr");let f=(()=>{class t extends o.a{constructor(t,e,n){super(t),this.translateService=t,this.route=e,this.newsService=n,this.news={}}load(){this.route.params.subscribe(t=>this.newsService.getNews(t.id).subscribe(t=>{this.news=t}))}}return t.\u0275fac=function(e){return new(e||t)(s.Nb(l.d),s.Nb(r.a),s.Nb(c.a))},t.\u0275cmp=s.Hb({type:t,selectors:[["app-news"]],features:[s.zb],decls:17,vars:10,consts:[[1,"news-container"],["id","news",1,"content","mat-elevation-z2"],["routerLink","","routerLinkActive","active",1,"navigation-link"],["mat-icon-button","","aria-label","back"],[1,"floating_left"],[1,"title",3,"innerHTML"],[1,"news-content","ql-editor",3,"innerHTML"],[1,"home-news"],["appLabel","home.news.titre"]],template:function(t,e){1&t&&(s.Tb(0,"div",0),s.Tb(1,"div",1),s.Tb(2,"a",2),s.Tb(3,"button",3),s.Tb(4,"mat-icon"),s.Hc(5,"arrow_back"),s.Sb(),s.Hc(6," Retour "),s.Sb(),s.Sb(),s.Tb(7,"span",4),s.Hc(8),s.gc(9,"date"),s.Sb(),s.Ob(10,"h1",5),s.gc(11,"safeHtml"),s.Ob(12,"p",6),s.gc(13,"safeHtml"),s.Sb(),s.Tb(14,"div",7),s.Ob(15,"h2",8),s.Ob(16,"app-news-carrousel"),s.Sb(),s.Sb()),2&t&&(s.Cb(8),s.Jc("Le ",s.ic(9,3,e.news.date,"dd/MM/yyyy"),""),s.Cb(2),s.nc("innerHTML",s.hc(11,6,e.news.title),s.zc),s.Cb(2),s.nc("innerHTML",s.hc(13,8,e.news.content),s.zc))},directives:[r.i,r.h,d.a,u.a,h.a,m.a],pipes:[i.e,p.a],styles:[".title{font-weight:700;font-size:1.25rem}.floating_left{float:right;margin-top:10px}.news-content img{max-width:100%;max-width:-webkit-fill-available;max-width:-moz-available;max-width:stretch}app-news{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex:1 0 auto;flex:1 0 auto}.news-container .content{background:#fff;margin:16px auto auto;padding:12px 24px}"],encapsulation:2}),t})(),g=(()=>{class t{}return t.\u0275mod=s.Lb({type:t}),t.\u0275inj=s.Kb({factory:function(e){return new(e||t)},imports:[[r.j.forChild([{path:"",component:f}])],r.j]}),t})(),b=(()=>{class t{}return t.\u0275mod=s.Lb({type:t}),t.\u0275inj=s.Kb({factory:function(e){return new(e||t)},imports:[[i.c,g,a.a]]}),t})()},"qh/L":function(t,e,n){"use strict";n.d(e,"a",function(){return m});var i=n("LRne"),a=n("lJxs"),r=n("JIr8"),o=n("xuwl"),s=n("EjJx"),l=n("8Y7J"),c=n("IheW"),d=n("iInd"),u=n("lxpx"),h=n("WiJD");let m=(()=>{class t{constructor(t,e,n,i){this.http=t,this.router=e,this.translationService=n,this.configurationService=i,this.API="/api",this.TOKEN_KEY="session_token",this.TOKEN_DATA_KEY="data_token"}get isLogged(){return!!this.securityToken}get securityToken(){return this._securityToken||(this._securityToken=localStorage.getItem(this.TOKEN_KEY)),this._securityToken}set securityToken(t){t?localStorage.setItem(this.TOKEN_KEY,t):localStorage.removeItem(this.TOKEN_KEY),this._securityToken=t}get refreshToken(){return this._refreshToken||(this._refreshToken=localStorage.getItem(this.TOKEN_DATA_KEY)),this._refreshToken}set refreshToken(t){t?localStorage.setItem(this.TOKEN_DATA_KEY,t):localStorage.removeItem(this.TOKEN_DATA_KEY),this._refreshToken=t}checkToken(){const t=s.a(this.securityToken);return Object(i.a)(t.exp>(new Date).getTime())}login(t,e){return this.http.post(this.API+"/login",{login:t,password:e}).pipe(Object(a.a)(t=>{if(t.token){this.securityToken=t.token,this.refreshToken=t.refreshToken;const e=s.a(this.refreshToken);this.translationService.use(e.compte.langue),this.router.navigate(["/"])}else t.deleted?Object(i.a)(o.a.USER_DELETED):Object(i.a)(o.a.INTERNAL)}),Object(r.a)(t=>{const e=t.error.errorCode||o.a.INTERNAL;return Object(i.a)(e)}))}sendRefreshToken(){return this.http.post(this.API+"/refresh/token",{token:this.securityToken,refreshToken:this.refreshToken}).pipe(Object(a.a)(t=>{if(t.token){this.refreshToken=t.refreshToken;const e=s.a(this.refreshToken);this.translationService.use(e.compte.langue),this.router.navigate(["/"])}else t.deleted?Object(i.a)(o.a.USER_DELETED):Object(i.a)(o.a.INTERNAL)}),Object(r.a)(t=>{const e=t.error.errorCode||o.a.INTERNAL;return Object(i.a)(e)}))}logout(){this.securityToken=null,this.refreshToken=null,this.configurationService.resetData(),this.router.navigate(["/auth/login"])}}return t.\u0275fac=function(e){return new(e||t)(l.Xb(c.b),l.Xb(d.f),l.Xb(u.a),l.Xb(h.a))},t.\u0275prov=l.Jb({token:t,factory:t.\u0275fac,providedIn:"root"}),t})()},quSY:function(t,e,n){"use strict";n.d(e,"a",function(){return s});var i=n("DH7j"),a=n("XoHu"),r=n("n6bG");const o=(()=>{function t(t){return Error.call(this),this.message=t?`${t.length} errors occurred during unsubscription:\n${t.map((t,e)=>`${e+1}) ${t.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=t,this}return t.prototype=Object.create(Error.prototype),t})();let s=(()=>{class t{constructor(t){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,t&&(this._ctorUnsubscribe=!0,this._unsubscribe=t)}unsubscribe(){let e;if(this.closed)return;let{_parentOrParents:n,_ctorUnsubscribe:s,_unsubscribe:c,_subscriptions:d}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,n instanceof t)n.remove(this);else if(null!==n)for(let t=0;t<n.length;++t)n[t].remove(this);if(Object(r.a)(c)){s&&(this._unsubscribe=void 0);try{c.call(this)}catch(u){e=u instanceof o?l(u.errors):[u]}}if(Object(i.a)(d)){let t=-1,n=d.length;for(;++t<n;){const n=d[t];if(Object(a.a)(n))try{n.unsubscribe()}catch(u){e=e||[],u instanceof o?e=e.concat(l(u.errors)):e.push(u)}}}if(e)throw new o(e)}add(e){let n=e;if(!e)return t.EMPTY;switch(typeof e){case"function":n=new t(e);case"object":if(n===this||n.closed||"function"!=typeof n.unsubscribe)return n;if(this.closed)return n.unsubscribe(),n;if(!(n instanceof t)){const e=n;n=new t,n._subscriptions=[e]}break;default:throw new Error("unrecognized teardown "+e+" added to Subscription.")}let{_parentOrParents:i}=n;if(null===i)n._parentOrParents=this;else if(i instanceof t){if(i===this)return n;n._parentOrParents=[i,this]}else{if(-1!==i.indexOf(this))return n;i.push(this)}const a=this._subscriptions;return null===a?this._subscriptions=[n]:a.push(n),n}remove(t){const e=this._subscriptions;if(e){const n=e.indexOf(t);-1!==n&&e.splice(n,1)}}}var e;return t.EMPTY=((e=new t).closed=!0,e),t})();function l(t){return t.reduce((t,e)=>t.concat(e instanceof o?e.errors:e),[])}},qvJo:function(t,e,n){!function(t){"use strict";function e(t,e,n,i){var a={s:["\u0925\u094b\u0921\u092f\u093e \u0938\u0945\u0915\u0902\u0921\u093e\u0902\u0928\u0940","\u0925\u094b\u0921\u0947 \u0938\u0945\u0915\u0902\u0921"],ss:[t+" \u0938\u0945\u0915\u0902\u0921\u093e\u0902\u0928\u0940",t+" \u0938\u0945\u0915\u0902\u0921"],m:["\u090f\u0915\u093e \u092e\u093f\u0923\u091f\u093e\u0928","\u090f\u0915 \u092e\u093f\u0928\u0942\u091f"],mm:[t+" \u092e\u093f\u0923\u091f\u093e\u0902\u0928\u0940",t+" \u092e\u093f\u0923\u091f\u093e\u0902"],h:["\u090f\u0915\u093e \u0935\u0930\u093e\u0928","\u090f\u0915 \u0935\u0930"],hh:[t+" \u0935\u0930\u093e\u0902\u0928\u0940",t+" \u0935\u0930\u093e\u0902"],d:["\u090f\u0915\u093e \u0926\u093f\u0938\u093e\u0928","\u090f\u0915 \u0926\u0940\u0938"],dd:[t+" \u0926\u093f\u0938\u093e\u0902\u0928\u0940",t+" \u0926\u0940\u0938"],M:["\u090f\u0915\u093e \u092e\u094d\u0939\u092f\u0928\u094d\u092f\u093e\u0928","\u090f\u0915 \u092e\u094d\u0939\u092f\u0928\u094b"],MM:[t+" \u092e\u094d\u0939\u092f\u0928\u094d\u092f\u093e\u0928\u0940",t+" \u092e\u094d\u0939\u092f\u0928\u0947"],y:["\u090f\u0915\u093e \u0935\u0930\u094d\u0938\u093e\u0928","\u090f\u0915 \u0935\u0930\u094d\u0938"],yy:[t+" \u0935\u0930\u094d\u0938\u093e\u0902\u0928\u0940",t+" \u0935\u0930\u094d\u0938\u093e\u0902"]};return i?a[n][0]:a[n][1]}t.defineLocale("gom-deva",{months:{standalone:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u0940\u0932_\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932\u092f_\u0911\u0917\u0938\u094d\u091f_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930_\u0911\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930_\u0921\u093f\u0938\u0947\u0902\u092c\u0930".split("_"),format:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940\u091a\u094d\u092f\u093e_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940\u091a\u094d\u092f\u093e_\u092e\u093e\u0930\u094d\u091a\u093e\u091a\u094d\u092f\u093e_\u090f\u092a\u094d\u0930\u0940\u0932\u093e\u091a\u094d\u092f\u093e_\u092e\u0947\u092f\u093e\u091a\u094d\u092f\u093e_\u091c\u0942\u0928\u093e\u091a\u094d\u092f\u093e_\u091c\u0941\u0932\u092f\u093e\u091a\u094d\u092f\u093e_\u0911\u0917\u0938\u094d\u091f\u093e\u091a\u094d\u092f\u093e_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0911\u0915\u094d\u091f\u094b\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0921\u093f\u0938\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"\u091c\u093e\u0928\u0947._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u0940._\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932._\u0911\u0917._\u0938\u092a\u094d\u091f\u0947\u0902._\u0911\u0915\u094d\u091f\u094b._\u0928\u094b\u0935\u094d\u0939\u0947\u0902._\u0921\u093f\u0938\u0947\u0902.".split("_"),monthsParseExact:!0,weekdays:"\u0906\u092f\u0924\u093e\u0930_\u0938\u094b\u092e\u093e\u0930_\u092e\u0902\u0917\u0933\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u092c\u093f\u0930\u0947\u0938\u094d\u0924\u093e\u0930_\u0938\u0941\u0915\u094d\u0930\u093e\u0930_\u0936\u0947\u0928\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0906\u092f\u0924._\u0938\u094b\u092e._\u092e\u0902\u0917\u0933._\u092c\u0941\u0927._\u092c\u094d\u0930\u0947\u0938\u094d\u0924._\u0938\u0941\u0915\u094d\u0930._\u0936\u0947\u0928.".split("_"),weekdaysMin:"\u0906_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u092c\u094d\u0930\u0947_\u0938\u0941_\u0936\u0947".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",LTS:"A h:mm:ss [\u0935\u093e\u091c\u0924\u093e\u0902]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",llll:"ddd, D MMM YYYY, A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]"},calendar:{sameDay:"[\u0906\u092f\u091c] LT",nextDay:"[\u092b\u093e\u0932\u094d\u092f\u093e\u0902] LT",nextWeek:"[\u092b\u0941\u0921\u0932\u094b] dddd[,] LT",lastDay:"[\u0915\u093e\u0932] LT",lastWeek:"[\u092b\u093e\u091f\u0932\u094b] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s \u0906\u0926\u0940\u0902",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}(\u0935\u0947\u0930)/,ordinal:function(t,e){switch(e){case"D":return t+"\u0935\u0947\u0930";default:case"M":case"Q":case"DDD":case"d":case"w":case"W":return t}},week:{dow:0,doy:3},meridiemParse:/\u0930\u093e\u0924\u0940|\u0938\u0915\u093e\u0933\u0940\u0902|\u0926\u0928\u092a\u093e\u0930\u093e\u0902|\u0938\u093e\u0902\u091c\u0947/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u0930\u093e\u0924\u0940"===e?t<4?t:t+12:"\u0938\u0915\u093e\u0933\u0940\u0902"===e?t:"\u0926\u0928\u092a\u093e\u0930\u093e\u0902"===e?t>12?t:t+12:"\u0938\u093e\u0902\u091c\u0947"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"\u0930\u093e\u0924\u0940":t<12?"\u0938\u0915\u093e\u0933\u0940\u0902":t<16?"\u0926\u0928\u092a\u093e\u0930\u093e\u0902":t<20?"\u0938\u093e\u0902\u091c\u0947":"\u0930\u093e\u0924\u0940"}})}(n("wd/R"))},rJgo:function(t,e,n){"use strict";n.d(e,"a",function(){return H}),n.d(e,"b",function(){return I}),n.d(e,"c",function(){return W}),n.d(e,"d",function(){return V});var i=n("YEUz"),a=n("8LU1"),r=n("Ht+U"),o=n("8Y7J"),s=n("XNiG"),l=n("quSY"),c=n("VRyK"),d=n("LRne"),u=n("7Hc7"),h=n("JX91"),m=n("eIep"),p=n("IzEk"),f=n("pLZG"),g=n("1G5W"),b=n("3E0/"),_=n("GS7A"),y=n("1z/I"),v=n("SVse"),C=n("UhP/"),w=n("1O3W"),x=n("SCoL"),M=n("7KAL"),O=n("9gLZ");const k=["mat-menu-item",""],S=["*"];function T(t,e){if(1&t){const t=o.Ub();o.Tb(0,"div",0),o.bc("keydown",function(e){return o.yc(t),o.fc()._handleKeydown(e)})("click",function(){return o.yc(t),o.fc().closed.emit("click")})("@transformMenu.start",function(e){return o.yc(t),o.fc()._onAnimationStart(e)})("@transformMenu.done",function(e){return o.yc(t),o.fc()._onAnimationDone(e)}),o.Tb(1,"div",1),o.lc(2),o.Sb(),o.Sb()}if(2&t){const t=o.fc();o.nc("id",t.panelId)("ngClass",t._classList)("@transformMenu",t._panelAnimationState),o.Db("aria-label",t.ariaLabel||null)("aria-labelledby",t.ariaLabelledby||null)("aria-describedby",t.ariaDescribedby||null)}}const P={transformMenu:Object(_.n)("transformMenu",[Object(_.k)("void",Object(_.l)({opacity:0,transform:"scale(0.8)"})),Object(_.m)("void => enter",Object(_.e)("120ms cubic-bezier(0, 0, 0.2, 1)",Object(_.l)({opacity:1,transform:"scale(1)"}))),Object(_.m)("* => void",Object(_.e)("100ms 25ms linear",Object(_.l)({opacity:0})))]),fadeInItems:Object(_.n)("fadeInItems",[Object(_.k)("showing",Object(_.l)({opacity:1})),Object(_.m)("void => *",[Object(_.l)({opacity:0}),Object(_.e)("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},L=new o.s("MatMenuContent"),D=new o.s("MAT_MENU_PANEL");class E{}const A=Object(C.x)(Object(C.y)(E));let I=(()=>{class t extends A{constructor(t,e,n,i){super(),this._elementRef=t,this._focusMonitor=n,this._parentMenu=i,this.role="menuitem",this._hovered=new s.a,this._focused=new s.a,this._highlighted=!1,this._triggersSubmenu=!1,i&&i.addItem&&i.addItem(this)}focus(t,e){this._focusMonitor&&t?this._focusMonitor.focusVia(this._getHostElement(),t,e):this._getHostElement().focus(e),this._focused.next(this)}ngAfterViewInit(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(t){this.disabled&&(t.preventDefault(),t.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){var t,e;const n=this._elementRef.nativeElement.cloneNode(!0),i=n.querySelectorAll("mat-icon, .material-icons");for(let a=0;a<i.length;a++){const e=i[a];null===(t=e.parentNode)||void 0===t||t.removeChild(e)}return(null===(e=n.textContent)||void 0===e?void 0:e.trim())||""}}return t.\u0275fac=function(e){return new(e||t)(o.Nb(o.l),o.Nb(v.d),o.Nb(i.h),o.Nb(D,8))},t.\u0275cmp=o.Hb({type:t,selectors:[["","mat-menu-item",""]],hostAttrs:[1,"mat-focus-indicator"],hostVars:10,hostBindings:function(t,e){1&t&&o.bc("click",function(t){return e._checkDisabled(t)})("mouseenter",function(){return e._handleMouseEnter()}),2&t&&(o.Db("role",e.role)("tabindex",e._getTabIndex())("aria-disabled",e.disabled.toString())("disabled",e.disabled||null),o.Fb("mat-menu-item",!0)("mat-menu-item-highlighted",e._highlighted)("mat-menu-item-submenu-trigger",e._triggersSubmenu))},inputs:{disabled:"disabled",disableRipple:"disableRipple",role:"role"},exportAs:["matMenuItem"],features:[o.zb],attrs:k,ngContentSelectors:S,decls:2,vars:2,consts:[["matRipple","",1,"mat-menu-ripple",3,"matRippleDisabled","matRippleTrigger"]],template:function(t,e){1&t&&(o.mc(),o.lc(0),o.Ob(1,"div",0)),2&t&&(o.Cb(1),o.nc("matRippleDisabled",e.disableRipple||e.disabled)("matRippleTrigger",e._getHostElement()))},directives:[C.r],encapsulation:2,changeDetection:0}),t})();const R=new o.s("mat-menu-default-options",{providedIn:"root",factory:function(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}});let N=0,Y=(()=>{class t{constructor(t,e,n){this._elementRef=t,this._ngZone=e,this._defaultOptions=n,this._xPosition=this._defaultOptions.xPosition,this._yPosition=this._defaultOptions.yPosition,this._directDescendantItems=new o.F,this._tabSubscription=l.a.EMPTY,this._classList={},this._panelAnimationState="void",this._animationDone=new s.a,this.overlayPanelClass=this._defaultOptions.overlayPanelClass||"",this.backdropClass=this._defaultOptions.backdropClass,this._overlapTrigger=this._defaultOptions.overlapTrigger,this._hasBackdrop=this._defaultOptions.hasBackdrop,this.closed=new o.o,this.close=this.closed,this.panelId="mat-menu-panel-"+N++}get xPosition(){return this._xPosition}set xPosition(t){this._xPosition=t,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(t){this._yPosition=t,this.setPositionClasses()}get overlapTrigger(){return this._overlapTrigger}set overlapTrigger(t){this._overlapTrigger=Object(a.c)(t)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(t){this._hasBackdrop=Object(a.c)(t)}set panelClass(t){const e=this._previousPanelClass;e&&e.length&&e.split(" ").forEach(t=>{this._classList[t]=!1}),this._previousPanelClass=t,t&&t.length&&(t.split(" ").forEach(t=>{this._classList[t]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(t){this.panelClass=t}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new i.g(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._tabSubscription=this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe(Object(h.a)(this._directDescendantItems),Object(m.a)(t=>Object(c.a)(...t.map(t=>t._focused)))).subscribe(t=>this._keyManager.updateActiveItem(t))}ngOnDestroy(){this._directDescendantItems.destroy(),this._tabSubscription.unsubscribe(),this.closed.complete()}_hovered(){return this._directDescendantItems.changes.pipe(Object(h.a)(this._directDescendantItems),Object(m.a)(t=>Object(c.a)(...t.map(t=>t._hovered))))}addItem(t){}removeItem(t){}_handleKeydown(t){const e=t.keyCode,n=this._keyManager;switch(e){case r.f:Object(r.r)(t)||(t.preventDefault(),this.closed.emit("keydown"));break;case r.h:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case r.l:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:e!==r.o&&e!==r.c||n.setFocusOrigin("keyboard"),n.onKeydown(t)}}focusFirstItem(t="program"){this.lazyContent?this._ngZone.onStable.pipe(Object(p.a)(1)).subscribe(()=>this._focusFirstItem(t)):this._focusFirstItem(t)}_focusFirstItem(t){const e=this._keyManager;if(e.setFocusOrigin(t).setFirstItemActive(),!e.activeItem&&this._directDescendantItems.length){let t=this._directDescendantItems.first._getHostElement().parentElement;for(;t;){if("menu"===t.getAttribute("role")){t.focus();break}t=t.parentElement}}}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(t){const e=`mat-elevation-z${Math.min(4+t,24)}`,n=Object.keys(this._classList).find(t=>t.startsWith("mat-elevation-z"));n&&n!==this._previousElevation||(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[e]=!0,this._previousElevation=e)}setPositionClasses(t=this.xPosition,e=this.yPosition){const n=this._classList;n["mat-menu-before"]="before"===t,n["mat-menu-after"]="after"===t,n["mat-menu-above"]="above"===e,n["mat-menu-below"]="below"===e}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(t){this._animationDone.next(t),this._isAnimating=!1}_onAnimationStart(t){this._isAnimating=!0,"enter"===t.toState&&0===this._keyManager.activeItemIndex&&(t.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe(Object(h.a)(this._allItems)).subscribe(t=>{this._directDescendantItems.reset(t.filter(t=>t._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}}return t.\u0275fac=function(e){return new(e||t)(o.Nb(o.l),o.Nb(o.B),o.Nb(R))},t.\u0275dir=o.Ib({type:t,contentQueries:function(t,e,n){if(1&t&&(o.Gb(n,L,1),o.Gb(n,I,1),o.Gb(n,I,0)),2&t){let t;o.uc(t=o.cc())&&(e.lazyContent=t.first),o.uc(t=o.cc())&&(e._allItems=t),o.uc(t=o.cc())&&(e.items=t)}},viewQuery:function(t,e){if(1&t&&o.Lc(o.N,1),2&t){let t;o.uc(t=o.cc())&&(e.templateRef=t.first)}},inputs:{backdropClass:"backdropClass",xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:"overlapTrigger",hasBackdrop:"hasBackdrop",panelClass:["class","panelClass"],classList:"classList",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"]},outputs:{closed:"closed",close:"close"}}),t})(),H=(()=>{class t extends Y{constructor(t,e,n){super(t,e,n)}}return t.\u0275fac=function(e){return new(e||t)(o.Nb(o.l),o.Nb(o.B),o.Nb(R))},t.\u0275cmp=o.Hb({type:t,selectors:[["mat-menu"]],hostVars:3,hostBindings:function(t,e){2&t&&o.Db("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[o.Bb([{provide:D,useExisting:t}]),o.zb],ngContentSelectors:S,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-menu-panel",3,"id","ngClass","keydown","click"],[1,"mat-menu-content"]],template:function(t,e){1&t&&(o.mc(),o.Fc(0,T,3,6,"ng-template"))},directives:[v.j],styles:['.mat-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;max-height:calc(100vh - 48px);border-radius:4px;outline:0;min-height:64px}.mat-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-menu-panel{outline:solid 1px}.mat-menu-content:not(:empty){padding-top:8px;padding-bottom:8px}.mat-menu-item{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative}.mat-menu-item::-moz-focus-inner{border:0}.mat-menu-item[disabled]{cursor:default}[dir=rtl] .mat-menu-item{text-align:right}.mat-menu-item .mat-icon{margin-right:16px;vertical-align:middle}.mat-menu-item .mat-icon svg{vertical-align:top}[dir=rtl] .mat-menu-item .mat-icon{margin-left:16px;margin-right:0}.mat-menu-item[disabled]{pointer-events:none}.cdk-high-contrast-active .mat-menu-item{margin-top:1px}.cdk-high-contrast-active .mat-menu-item.cdk-program-focused,.cdk-high-contrast-active .mat-menu-item.cdk-keyboard-focused,.cdk-high-contrast-active .mat-menu-item-highlighted{outline:dotted 1px}.mat-menu-item-submenu-trigger{padding-right:32px}.mat-menu-item-submenu-trigger::after{width:0;height:0;border-style:solid;border-width:5px 0 5px 5px;border-color:transparent transparent transparent currentColor;content:"";display:inline-block;position:absolute;top:50%;right:16px;transform:translateY(-50%)}[dir=rtl] .mat-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}[dir=rtl] .mat-menu-item-submenu-trigger::after{right:auto;left:16px;transform:rotateY(180deg) translateY(-50%)}button.mat-menu-item{width:100%}.mat-menu-item .mat-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}\n'],encapsulation:2,data:{animation:[P.transformMenu,P.fadeInItems]},changeDetection:0}),t})();const j=new o.s("mat-menu-scroll-strategy"),F={provide:j,deps:[w.c],useFactory:function(t){return()=>t.scrollStrategies.reposition()}},z=Object(x.f)({passive:!0});let V=(()=>{class t{constructor(t,e,n,i,a,r,s,c){this._overlay=t,this._element=e,this._viewContainerRef=n,this._menuItemInstance=r,this._dir=s,this._focusMonitor=c,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=l.a.EMPTY,this._hoverSubscription=l.a.EMPTY,this._menuCloseSubscription=l.a.EMPTY,this._handleTouchStart=()=>this._openedBy="touch",this._openedBy=null,this.restoreFocus=!0,this.menuOpened=new o.o,this.onMenuOpen=this.menuOpened,this.menuClosed=new o.o,this.onMenuClose=this.menuClosed,this._scrollStrategy=i,this._parentMaterialMenu=a instanceof Y?a:void 0,e.nativeElement.addEventListener("touchstart",this._handleTouchStart,z),r&&(r._triggersSubmenu=this.triggersSubmenu())}get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(t){this.menu=t}get menu(){return this._menu}set menu(t){t!==this._menu&&(this._menu=t,this._menuCloseSubscription.unsubscribe(),t&&(this._menuCloseSubscription=t.close.subscribe(t=>{this._destroyMenu(),"click"!==t&&"tab"!==t||!this._parentMaterialMenu||this._parentMaterialMenu.closed.emit(t)})))}ngAfterContentInit(){this._checkMenu(),this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,z),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}triggersSubmenu(){return!(!this._menuItemInstance||!this._parentMaterialMenu)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){if(this._menuOpen)return;this._checkMenu();const t=this._createOverlay(),e=t.getConfig();this._setPosition(e.positionStrategy),e.hasBackdrop=null==this.menu.hasBackdrop?!this.triggersSubmenu():this.menu.hasBackdrop,t.attach(this._getPortal()),this.menu.lazyContent&&this.menu.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(),this.menu instanceof Y&&this.menu._startAnimation()}closeMenu(){this.menu.close.emit()}focus(t,e){this._focusMonitor&&t?this._focusMonitor.focusVia(this._element,t,e):this._element.nativeElement.focus(e)}_destroyMenu(){if(!this._overlayRef||!this.menuOpen)return;const t=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this._restoreFocus(),t instanceof Y?(t._resetAnimation(),t.lazyContent?t._animationDone.pipe(Object(f.a)(t=>"void"===t.toState),Object(p.a)(1),Object(g.a)(t.lazyContent._attached)).subscribe({next:()=>t.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),t.lazyContent&&t.lazyContent.detach())}_initMenu(){this.menu.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,this.menu.direction=this.dir,this._setMenuElevation(),this._setIsMenuOpen(!0),this.menu.focusFirstItem(this._openedBy||"program")}_setMenuElevation(){if(this.menu.setElevation){let t=0,e=this.menu.parentMenu;for(;e;)t++,e=e.parentMenu;this.menu.setElevation(t)}}_restoreFocus(){this.restoreFocus&&(this._openedBy?this.triggersSubmenu()||this.focus(this._openedBy):this.focus()),this._openedBy=null}_setIsMenuOpen(t){this._menuOpen=t,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&(this._menuItemInstance._highlighted=t)}_checkMenu(){}_createOverlay(){if(!this._overlayRef){const t=this._getOverlayConfig();this._subscribeToPositions(t.positionStrategy),this._overlayRef=this._overlay.create(t),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(){return new w.d({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:this.menu.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:this.menu.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(t){this.menu.setPositionClasses&&t.positionChanges.subscribe(t=>{this.menu.setPositionClasses("start"===t.connectionPair.overlayX?"after":"before","top"===t.connectionPair.overlayY?"below":"above")})}_setPosition(t){let[e,n]="before"===this.menu.xPosition?["end","start"]:["start","end"],[i,a]="above"===this.menu.yPosition?["bottom","top"]:["top","bottom"],[r,o]=[i,a],[s,l]=[e,n],c=0;this.triggersSubmenu()?(l=e="before"===this.menu.xPosition?"start":"end",n=s="end"===e?"start":"end",c="bottom"===i?8:-8):this.menu.overlapTrigger||(r="top"===i?"bottom":"top",o="top"===a?"bottom":"top"),t.withPositions([{originX:e,originY:r,overlayX:s,overlayY:i,offsetY:c},{originX:n,originY:r,overlayX:l,overlayY:i,offsetY:c},{originX:e,originY:o,overlayX:s,overlayY:a,offsetY:-c},{originX:n,originY:o,overlayX:l,overlayY:a,offsetY:-c}])}_menuClosingActions(){const t=this._overlayRef.backdropClick(),e=this._overlayRef.detachments(),n=this._parentMaterialMenu?this._parentMaterialMenu.closed:Object(d.a)(),i=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe(Object(f.a)(t=>t!==this._menuItemInstance),Object(f.a)(()=>this._menuOpen)):Object(d.a)();return Object(c.a)(t,n,i,e)}_handleMousedown(t){Object(i.l)(t)||(this._openedBy=0===t.button?"mouse":null,this.triggersSubmenu()&&t.preventDefault())}_handleKeydown(t){const e=t.keyCode;e!==r.e&&e!==r.m||(this._openedBy="keyboard"),this.triggersSubmenu()&&(e===r.l&&"ltr"===this.dir||e===r.h&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(t){this.triggersSubmenu()?(t.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){this.triggersSubmenu()&&this._parentMaterialMenu&&(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe(Object(f.a)(t=>t===this._menuItemInstance&&!t.disabled),Object(b.a)(0,u.a)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof Y&&this.menu._isAnimating?this.menu._animationDone.pipe(Object(p.a)(1),Object(b.a)(0,u.a),Object(g.a)(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(){return this._portal&&this._portal.templateRef===this.menu.templateRef||(this._portal=new y.g(this.menu.templateRef,this._viewContainerRef)),this._portal}}return t.\u0275fac=function(e){return new(e||t)(o.Nb(w.c),o.Nb(o.l),o.Nb(o.R),o.Nb(j),o.Nb(D,8),o.Nb(I,10),o.Nb(O.b,8),o.Nb(i.h))},t.\u0275dir=o.Ib({type:t,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:["aria-haspopup","true",1,"mat-menu-trigger"],hostVars:2,hostBindings:function(t,e){1&t&&o.bc("mousedown",function(t){return e._handleMousedown(t)})("keydown",function(t){return e._handleKeydown(t)})("click",function(t){return e._handleClick(t)}),2&t&&o.Db("aria-expanded",e.menuOpen||null)("aria-controls",e.menuOpen?e.menu.panelId:null)},inputs:{restoreFocus:["matMenuTriggerRestoreFocus","restoreFocus"],_deprecatedMatMenuTriggerFor:["mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:["matMenuTriggerFor","menu"],menuData:["matMenuTriggerData","menuData"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"},exportAs:["matMenuTrigger"]}),t})(),B=(()=>{class t{}return t.\u0275mod=o.Lb({type:t}),t.\u0275inj=o.Kb({factory:function(e){return new(e||t)},providers:[F],imports:[C.j]}),t})(),W=(()=>{class t{}return t.\u0275mod=o.Lb({type:t}),t.\u0275inj=o.Kb({factory:function(e){return new(e||t)},providers:[F],imports:[[v.c,C.j,C.s,w.f,B],M.b,C.j,B]}),t})()},raLr:function(t,e,n){!function(t){"use strict";function e(t,e,n){return"m"===n?e?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443":"h"===n?e?"\u0433\u043e\u0434\u0438\u043d\u0430":"\u0433\u043e\u0434\u0438\u043d\u0443":t+" "+(i=+t,a={ss:e?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u0438_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u0438_\u0441\u0435\u043a\u0443\u043d\u0434",mm:e?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430_\u0445\u0432\u0438\u043b\u0438\u043d\u0438_\u0445\u0432\u0438\u043b\u0438\u043d":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443_\u0445\u0432\u0438\u043b\u0438\u043d\u0438_\u0445\u0432\u0438\u043b\u0438\u043d",hh:e?"\u0433\u043e\u0434\u0438\u043d\u0430_\u0433\u043e\u0434\u0438\u043d\u0438_\u0433\u043e\u0434\u0438\u043d":"\u0433\u043e\u0434\u0438\u043d\u0443_\u0433\u043e\u0434\u0438\u043d\u0438_\u0433\u043e\u0434\u0438\u043d",dd:"\u0434\u0435\u043d\u044c_\u0434\u043d\u0456_\u0434\u043d\u0456\u0432",MM:"\u043c\u0456\u0441\u044f\u0446\u044c_\u043c\u0456\u0441\u044f\u0446\u0456_\u043c\u0456\u0441\u044f\u0446\u0456\u0432",yy:"\u0440\u0456\u043a_\u0440\u043e\u043a\u0438_\u0440\u043e\u043a\u0456\u0432"}[n].split("_"),i%10==1&&i%100!=11?a[0]:i%10>=2&&i%10<=4&&(i%100<10||i%100>=20)?a[1]:a[2]);var i,a}function n(t){return function(){return t+"\u043e"+(11===this.hours()?"\u0431":"")+"] LT"}}t.defineLocale("uk",{months:{format:"\u0441\u0456\u0447\u043d\u044f_\u043b\u044e\u0442\u043e\u0433\u043e_\u0431\u0435\u0440\u0435\u0437\u043d\u044f_\u043a\u0432\u0456\u0442\u043d\u044f_\u0442\u0440\u0430\u0432\u043d\u044f_\u0447\u0435\u0440\u0432\u043d\u044f_\u043b\u0438\u043f\u043d\u044f_\u0441\u0435\u0440\u043f\u043d\u044f_\u0432\u0435\u0440\u0435\u0441\u043d\u044f_\u0436\u043e\u0432\u0442\u043d\u044f_\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434\u0430_\u0433\u0440\u0443\u0434\u043d\u044f".split("_"),standalone:"\u0441\u0456\u0447\u0435\u043d\u044c_\u043b\u044e\u0442\u0438\u0439_\u0431\u0435\u0440\u0435\u0437\u0435\u043d\u044c_\u043a\u0432\u0456\u0442\u0435\u043d\u044c_\u0442\u0440\u0430\u0432\u0435\u043d\u044c_\u0447\u0435\u0440\u0432\u0435\u043d\u044c_\u043b\u0438\u043f\u0435\u043d\u044c_\u0441\u0435\u0440\u043f\u0435\u043d\u044c_\u0432\u0435\u0440\u0435\u0441\u0435\u043d\u044c_\u0436\u043e\u0432\u0442\u0435\u043d\u044c_\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434_\u0433\u0440\u0443\u0434\u0435\u043d\u044c".split("_")},monthsShort:"\u0441\u0456\u0447_\u043b\u044e\u0442_\u0431\u0435\u0440_\u043a\u0432\u0456\u0442_\u0442\u0440\u0430\u0432_\u0447\u0435\u0440\u0432_\u043b\u0438\u043f_\u0441\u0435\u0440\u043f_\u0432\u0435\u0440_\u0436\u043e\u0432\u0442_\u043b\u0438\u0441\u0442_\u0433\u0440\u0443\u0434".split("_"),weekdays:function(t,e){var n={nominative:"\u043d\u0435\u0434\u0456\u043b\u044f_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043e\u043a_\u0432\u0456\u0432\u0442\u043e\u0440\u043e\u043a_\u0441\u0435\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u044f_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),accusative:"\u043d\u0435\u0434\u0456\u043b\u044e_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043e\u043a_\u0432\u0456\u0432\u0442\u043e\u0440\u043e\u043a_\u0441\u0435\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u044e_\u0441\u0443\u0431\u043e\u0442\u0443".split("_"),genitive:"\u043d\u0435\u0434\u0456\u043b\u0456_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043a\u0430_\u0432\u0456\u0432\u0442\u043e\u0440\u043a\u0430_\u0441\u0435\u0440\u0435\u0434\u0438_\u0447\u0435\u0442\u0432\u0435\u0440\u0433\u0430_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u0456_\u0441\u0443\u0431\u043e\u0442\u0438".split("_")};return!0===t?n.nominative.slice(1,7).concat(n.nominative.slice(0,1)):t?n[/(\[[\u0412\u0432\u0423\u0443]\]) ?dddd/.test(e)?"accusative":/\[?(?:\u043c\u0438\u043d\u0443\u043b\u043e\u0457|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u043e\u0457)? ?\] ?dddd/.test(e)?"genitive":"nominative"][t.day()]:n.nominative},weekdaysShort:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0440.",LLL:"D MMMM YYYY \u0440., HH:mm",LLLL:"dddd, D MMMM YYYY \u0440., HH:mm"},calendar:{sameDay:n("[\u0421\u044c\u043e\u0433\u043e\u0434\u043d\u0456 "),nextDay:n("[\u0417\u0430\u0432\u0442\u0440\u0430 "),lastDay:n("[\u0412\u0447\u043e\u0440\u0430 "),nextWeek:n("[\u0423] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return n("[\u041c\u0438\u043d\u0443\u043b\u043e\u0457] dddd [").call(this);case 1:case 2:case 4:return n("[\u041c\u0438\u043d\u0443\u043b\u043e\u0433\u043e] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"%s \u0442\u043e\u043c\u0443",s:"\u0434\u0435\u043a\u0456\u043b\u044c\u043a\u0430 \u0441\u0435\u043a\u0443\u043d\u0434",ss:e,m:e,mm:e,h:"\u0433\u043e\u0434\u0438\u043d\u0443",hh:e,d:"\u0434\u0435\u043d\u044c",dd:e,M:"\u043c\u0456\u0441\u044f\u0446\u044c",MM:e,y:"\u0440\u0456\u043a",yy:e},meridiemParse:/\u043d\u043e\u0447\u0456|\u0440\u0430\u043d\u043a\u0443|\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430/,isPM:function(t){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430)$/.test(t)},meridiem:function(t,e,n){return t<4?"\u043d\u043e\u0447\u0456":t<12?"\u0440\u0430\u043d\u043a\u0443":t<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u043e\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e)/,ordinal:function(t,e){switch(e){case"M":case"d":case"DDD":case"w":case"W":return t+"-\u0439";case"D":return t+"-\u0433\u043e";default:return t}},week:{dow:1,doy:7}})}(n("wd/R"))},ro1A:function(t,e,n){"use strict";n.d(e,"a",function(){return O});var i=n("8Y7J"),a=n("s7LF"),r=n("cYWD"),o=n("TSSN"),s=n("AkaL"),l=n("IheW");let c=(()=>{class t extends s.a{constructor(t){super(t),this.http=t,this.BASE_URL="/api/collectifs/search"}setLabel(t){t.autocomplete=`${t.adresse} ${t.cp} ${t.ville}`}}return t.\u0275fac=function(e){return new(e||t)(i.Xb(l.b))},t.\u0275prov=i.Jb({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();var d=n("WiJD"),u=n("zaPX"),h=n("Q2Ze"),m=n("SVse"),p=n("e6WT"),f=n("vrAh"),g=n("q6Qu"),b=n("UhP/"),_=n("pu8Q");function y(t,e){if(1&t&&(i.Tb(0,"span",8),i.Hc(1),i.Sb()),2&t){const t=i.fc();i.Cc("opacity",t.searchControl.disabled?.7:1),i.Cb(1),i.Ic(t.prefix)}}function v(t,e){1&t&&(i.Tb(0,"mat-option",9),i.Ob(1,"mat-spinner",10),i.Sb())}function C(t,e){if(1&t&&(i.Tb(0,"mat-option",12),i.Hc(1),i.Sb()),2&t){const t=e.$implicit;i.nc("value",t),i.Cb(1),i.Jc(" ",t.autocomplete," ")}}function w(t,e){if(1&t&&i.Fc(0,C,2,2,"mat-option",11),2&t){const t=i.fc();i.nc("ngForOf",t.searchResult)}}const x=[[["mat-error"]],[["mat-icon"]],[["mat-spinner"]],"*"],M=["mat-error","mat-icon","mat-spinner","*"];let O=(()=>{class t extends r.a{constructor(t,e,n,i,a){super(t,e,n,i,a),this.translateService=t,this.searchService=e,this.configurationService=n,this.configSharedService=i,this.changeDetectorRef=a,this.fieldValue="adresse"}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(o.d),i.Nb(c),i.Nb(d.a),i.Nb(u.a),i.Nb(i.h))},t.\u0275cmp=i.Hb({type:t,selectors:[["app-collectif-autocomplete-2"]],features:[i.Bb([{provide:a.m,useExisting:Object(i.V)(()=>t),multi:!0}]),i.zb],ngContentSelectors:M,decls:15,vars:11,consts:[["matPrefix","","class","prefix",3,"opacity",4,"ngIf"],["type","text","matInput","","data-cy","autocomplete",3,"name","appLabel","formControl","matAutocomplete","matAutocompleteDisabled","errorStateMatcher","required","blur"],["searchElt",""],[1,"mat-error","otherMessages"],[3,"displayWith","optionSelected"],["auto","matAutocomplete"],["class","spinner",4,"ngIf","ngIfElse"],["listOptions",""],["matPrefix","",1,"prefix"],[1,"spinner"],["diameter","50"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(t,e){if(1&t&&(i.mc(x),i.Tb(0,"mat-form-field"),i.Fc(1,y,2,3,"span",0),i.Tb(2,"input",1,2),i.bc("blur",function(){return e.onBlur()}),i.Sb(),i.Tb(4,"mat-error"),i.lc(5),i.Sb(),i.lc(6,1),i.lc(7,2),i.Sb(),i.Tb(8,"div",3),i.lc(9,3),i.Sb(),i.Tb(10,"mat-autocomplete",4,5),i.bc("optionSelected",function(t){return e.selectOption(t)}),i.Fc(12,v,2,0,"mat-option",6),i.Fc(13,w,1,1,"ng-template",null,7,i.Gc),i.Sb()),2&t){const t=i.vc(11),n=i.vc(14);i.Cb(1),i.nc("ngIf",e.prefix),i.Cb(1),i.nc("name",e.name)("appLabel",e.inputTitle)("formControl",e.searchControl)("matAutocomplete",t)("matAutocompleteDisabled",e.isAutocompleteDisabled)("errorStateMatcher",e.errorStateMatcher)("required",e.isRequired),i.Cb(8),i.nc("displayWith",e.displayFn),i.Cb(2),i.nc("ngIf",e.isLoading)("ngIfElse",n)}},directives:[h.c,m.l,p.b,a.c,f.c,g.a,a.o,a.f,a.v,h.b,f.a,h.g,b.m,_.b,m.k],styles:["[_nghost-%COMP%]{-ms-flex:1;flex:1}[_nghost-%COMP%] mat-form-field[_ngcontent-%COMP%]{width:100%}[_nghost-%COMP%] .otherMessages[_ngcontent-%COMP%]{font-size:75%}[_nghost-%COMP%] .prefix[_ngcontent-%COMP%]{-ms-flex-item-align:center;align-self:center;margin-right:8px}"]}),t})()},"s+uk":function(t,e,n){!function(t){"use strict";function e(t,e,n,i){var a={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[t+" Tage",t+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[t+" Monate",t+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[t+" Jahre",t+" Jahren"]};return e?a[n][0]:a[n][1]}t.defineLocale("de-at",{months:"J\xe4nner_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"J\xe4n._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:e,mm:"%d Minuten",h:e,hh:"%d Stunden",d:e,dd:e,w:e,ww:"%d Wochen",M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},s7LF:function(t,e,n){"use strict";n.d(e,"a",function(){return At}),n.d(e,"b",function(){return D}),n.d(e,"c",function(){return m}),n.d(e,"d",function(){return Ft}),n.d(e,"e",function(){return mt}),n.d(e,"f",function(){return Ot}),n.d(e,"g",function(){return Pt}),n.d(e,"h",function(){return pt}),n.d(e,"i",function(){return St}),n.d(e,"j",function(){return zt}),n.d(e,"k",function(){return Nt}),n.d(e,"l",function(){return g}),n.d(e,"m",function(){return l}),n.d(e,"n",function(){return A}),n.d(e,"o",function(){return R}),n.d(e,"p",function(){return N}),n.d(e,"q",function(){return _t}),n.d(e,"r",function(){return Ct}),n.d(e,"s",function(){return H}),n.d(e,"t",function(){return Ht}),n.d(e,"u",function(){return Vt}),n.d(e,"v",function(){return Et}),n.d(e,"w",function(){return y}),n.d(e,"x",function(){return wt});var i=n("8Y7J"),a=n("SVse"),r=n("cp0P"),o=n("Cfvw"),s=n("lJxs");const l=new i.s("NgValueAccessor"),c={provide:l,useExisting:Object(i.V)(()=>d),multi:!0};let d=(()=>{class t{constructor(t,e){this._renderer=t,this._elementRef=e,this.onChange=t=>{},this.onTouched=()=>{}}writeValue(t){this._renderer.setProperty(this._elementRef.nativeElement,"checked",t)}registerOnChange(t){this.onChange=t}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.G),i.Nb(i.l))},t.\u0275dir=i.Ib({type:t,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(t,e){1&t&&i.bc("change",function(t){return e.onChange(t.target.checked)})("blur",function(){return e.onTouched()})},features:[i.Bb([c])]}),t})();const u={provide:l,useExisting:Object(i.V)(()=>m),multi:!0},h=new i.s("CompositionEventMode");let m=(()=>{class t{constructor(t,e,n){this._renderer=t,this._elementRef=e,this._compositionMode=n,this.onChange=t=>{},this.onTouched=()=>{},this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function(){const t=Object(a.y)()?Object(a.y)().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}())}writeValue(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==t?"":t)}registerOnChange(t){this.onChange=t}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}_handleInput(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)}_compositionStart(){this._composing=!0}_compositionEnd(t){this._composing=!1,this._compositionMode&&this.onChange(t)}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.G),i.Nb(i.l),i.Nb(h,8))},t.\u0275dir=i.Ib({type:t,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(t,e){1&t&&i.bc("input",function(t){return e._handleInput(t.target.value)})("blur",function(){return e.onTouched()})("compositionstart",function(){return e._compositionStart()})("compositionend",function(t){return e._compositionEnd(t.target.value)})},features:[i.Bb([u])]}),t})();function p(t){return null==t||0===t.length}function f(t){return null!=t&&"number"==typeof t.length}const g=new i.s("NgValidators"),b=new i.s("NgAsyncValidators"),_=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class y{static min(t){return e=>{if(p(e.value)||p(t))return null;const n=parseFloat(e.value);return!isNaN(n)&&n<t?{min:{min:t,actual:e.value}}:null}}static max(t){return e=>{if(p(e.value)||p(t))return null;const n=parseFloat(e.value);return!isNaN(n)&&n>t?{max:{max:t,actual:e.value}}:null}}static required(t){return p(t.value)?{required:!0}:null}static requiredTrue(t){return!0===t.value?null:{required:!0}}static email(t){return p(t.value)||_.test(t.value)?null:{email:!0}}static minLength(t){return e=>p(e.value)||!f(e.value)?null:e.value.length<t?{minlength:{requiredLength:t,actualLength:e.value.length}}:null}static maxLength(t){return e=>f(e.value)&&e.value.length>t?{maxlength:{requiredLength:t,actualLength:e.value.length}}:null}static pattern(t){if(!t)return y.nullValidator;let e,n;return"string"==typeof t?(n="","^"!==t.charAt(0)&&(n+="^"),n+=t,"$"!==t.charAt(t.length-1)&&(n+="$"),e=new RegExp(n)):(n=t.toString(),e=t),t=>{if(p(t.value))return null;const i=t.value;return e.test(i)?null:{pattern:{requiredPattern:n,actualValue:i}}}}static nullValidator(t){return null}static compose(t){if(!t)return null;const e=t.filter(v);return 0==e.length?null:function(t){return w(x(t,e))}}static composeAsync(t){if(!t)return null;const e=t.filter(v);return 0==e.length?null:function(t){const n=x(t,e).map(C);return Object(r.a)(n).pipe(Object(s.a)(w))}}}function v(t){return null!=t}function C(t){const e=Object(i.tb)(t)?Object(o.a)(t):t;return Object(i.sb)(e),e}function w(t){let e={};return t.forEach(t=>{e=null!=t?Object.assign(Object.assign({},e),t):e}),0===Object.keys(e).length?null:e}function x(t,e){return e.map(e=>e(t))}function M(t){return t.map(t=>function(t){return!t.validate}(t)?t:e=>t.validate(e))}function O(t){return null!=t?y.compose(M(t)):null}function k(t){return null!=t?y.composeAsync(M(t)):null}function S(t,e){return null===t?[e]:Array.isArray(t)?[...t,e]:[t,e]}function T(t){return t._rawValidators}function P(t){return t._rawAsyncValidators}let L=(()=>{class t{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(t){this._rawValidators=t||[],this._composedValidatorFn=O(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=k(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(t){this._onDestroyCallbacks.push(t)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(t=>t()),this._onDestroyCallbacks=[]}reset(t){this.control&&this.control.reset(t)}hasError(t,e){return!!this.control&&this.control.hasError(t,e)}getError(t,e){return this.control?this.control.getError(t,e):null}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.Ib({type:t}),t})(),D=(()=>{class t extends L{get formDirective(){return null}get path(){return null}}return t.\u0275fac=function(e){return E(e||t)},t.\u0275dir=i.Ib({type:t,features:[i.zb]}),t})();const E=i.Vb(D);class A extends L{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class I{constructor(t){this._cd=t}get ngClassUntouched(){var t,e,n;return null!==(n=null===(e=null===(t=this._cd)||void 0===t?void 0:t.control)||void 0===e?void 0:e.untouched)&&void 0!==n&&n}get ngClassTouched(){var t,e,n;return null!==(n=null===(e=null===(t=this._cd)||void 0===t?void 0:t.control)||void 0===e?void 0:e.touched)&&void 0!==n&&n}get ngClassPristine(){var t,e,n;return null!==(n=null===(e=null===(t=this._cd)||void 0===t?void 0:t.control)||void 0===e?void 0:e.pristine)&&void 0!==n&&n}get ngClassDirty(){var t,e,n;return null!==(n=null===(e=null===(t=this._cd)||void 0===t?void 0:t.control)||void 0===e?void 0:e.dirty)&&void 0!==n&&n}get ngClassValid(){var t,e,n;return null!==(n=null===(e=null===(t=this._cd)||void 0===t?void 0:t.control)||void 0===e?void 0:e.valid)&&void 0!==n&&n}get ngClassInvalid(){var t,e,n;return null!==(n=null===(e=null===(t=this._cd)||void 0===t?void 0:t.control)||void 0===e?void 0:e.invalid)&&void 0!==n&&n}get ngClassPending(){var t,e,n;return null!==(n=null===(e=null===(t=this._cd)||void 0===t?void 0:t.control)||void 0===e?void 0:e.pending)&&void 0!==n&&n}}let R=(()=>{class t extends I{constructor(t){super(t)}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(A,2))},t.\u0275dir=i.Ib({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(t,e){2&t&&i.Fb("ng-untouched",e.ngClassUntouched)("ng-touched",e.ngClassTouched)("ng-pristine",e.ngClassPristine)("ng-dirty",e.ngClassDirty)("ng-valid",e.ngClassValid)("ng-invalid",e.ngClassInvalid)("ng-pending",e.ngClassPending)},features:[i.zb]}),t})(),N=(()=>{class t extends I{constructor(t){super(t)}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(D,10))},t.\u0275dir=i.Ib({type:t,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:14,hostBindings:function(t,e){2&t&&i.Fb("ng-untouched",e.ngClassUntouched)("ng-touched",e.ngClassTouched)("ng-pristine",e.ngClassPristine)("ng-dirty",e.ngClassDirty)("ng-valid",e.ngClassValid)("ng-invalid",e.ngClassInvalid)("ng-pending",e.ngClassPending)},features:[i.zb]}),t})();const Y={provide:l,useExisting:Object(i.V)(()=>H),multi:!0};let H=(()=>{class t{constructor(t,e){this._renderer=t,this._elementRef=e,this.onChange=t=>{},this.onTouched=()=>{}}writeValue(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==t?"":t)}registerOnChange(t){this.onChange=e=>{t(""==e?null:parseFloat(e))}}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.G),i.Nb(i.l))},t.\u0275dir=i.Ib({type:t,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(t,e){1&t&&i.bc("input",function(t){return e.onChange(t.target.value)})("blur",function(){return e.onTouched()})},features:[i.Bb([Y])]}),t})();const j={provide:l,useExisting:Object(i.V)(()=>z),multi:!0};let F=(()=>{class t{constructor(){this._accessors=[]}add(t,e){this._accessors.push([t,e])}remove(t){for(let e=this._accessors.length-1;e>=0;--e)if(this._accessors[e][1]===t)return void this._accessors.splice(e,1)}select(t){this._accessors.forEach(e=>{this._isSameGroup(e,t)&&e[1]!==t&&e[1].fireUncheck(t.value)})}_isSameGroup(t,e){return!!t[0].control&&t[0]._parent===e._control._parent&&t[1].name===e.name}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=i.Jb({token:t,factory:t.\u0275fac}),t})(),z=(()=>{class t{constructor(t,e,n,i){this._renderer=t,this._elementRef=e,this._registry=n,this._injector=i,this.onChange=()=>{},this.onTouched=()=>{}}ngOnInit(){this._control=this._injector.get(A),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(t){this._state=t===this.value,this._renderer.setProperty(this._elementRef.nativeElement,"checked",this._state)}registerOnChange(t){this._fn=t,this.onChange=()=>{t(this.value),this._registry.select(this)}}fireUncheck(t){this.writeValue(t)}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}_checkName(){!this.name&&this.formControlName&&(this.name=this.formControlName)}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.G),i.Nb(i.l),i.Nb(F),i.Nb(i.t))},t.\u0275dir=i.Ib({type:t,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(t,e){1&t&&i.bc("change",function(){return e.onChange()})("blur",function(){return e.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[i.Bb([j])]}),t})();const V={provide:l,useExisting:Object(i.V)(()=>B),multi:!0};let B=(()=>{class t{constructor(t,e){this._renderer=t,this._elementRef=e,this.onChange=t=>{},this.onTouched=()=>{}}writeValue(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",parseFloat(t))}registerOnChange(t){this.onChange=e=>{t(""==e?null:parseFloat(e))}}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.G),i.Nb(i.l))},t.\u0275dir=i.Ib({type:t,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(t,e){1&t&&i.bc("change",function(t){return e.onChange(t.target.value)})("input",function(t){return e.onChange(t.target.value)})("blur",function(){return e.onTouched()})},features:[i.Bb([V])]}),t})();const W={provide:l,useExisting:Object(i.V)(()=>U),multi:!0};let U=(()=>{class t{constructor(t,e){this._renderer=t,this._elementRef=e,this._optionMap=new Map,this._idCounter=0,this.onChange=t=>{},this.onTouched=()=>{},this._compareWith=Object.is}set compareWith(t){this._compareWith=t}writeValue(t){this.value=t;const e=this._getOptionId(t);null==e&&this._renderer.setProperty(this._elementRef.nativeElement,"selectedIndex",-1);const n=function(t,e){return null==t?`${e}`:(e&&"object"==typeof e&&(e="Object"),`${t}: ${e}`.slice(0,50))}(e,t);this._renderer.setProperty(this._elementRef.nativeElement,"value",n)}registerOnChange(t){this.onChange=e=>{this.value=this._getOptionValue(e),t(this.value)}}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}_registerOption(){return(this._idCounter++).toString()}_getOptionId(t){for(const e of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(e),t))return e;return null}_getOptionValue(t){const e=function(t){return t.split(":")[0]}(t);return this._optionMap.has(e)?this._optionMap.get(e):t}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.G),i.Nb(i.l))},t.\u0275dir=i.Ib({type:t,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(t,e){1&t&&i.bc("change",function(t){return e.onChange(t.target.value)})("blur",function(){return e.onTouched()})},inputs:{compareWith:"compareWith"},features:[i.Bb([W])]}),t})();const q={provide:l,useExisting:Object(i.V)(()=>G),multi:!0};let G=(()=>{class t{constructor(t,e){this._renderer=t,this._elementRef=e,this._optionMap=new Map,this._idCounter=0,this.onChange=t=>{},this.onTouched=()=>{},this._compareWith=Object.is}set compareWith(t){this._compareWith=t}writeValue(t){let e;if(this.value=t,Array.isArray(t)){const n=t.map(t=>this._getOptionId(t));e=(t,e)=>{t._setSelected(n.indexOf(e.toString())>-1)}}else e=(t,e)=>{t._setSelected(!1)};this._optionMap.forEach(e)}registerOnChange(t){this.onChange=e=>{const n=[];if(void 0!==e.selectedOptions){const t=e.selectedOptions;for(let e=0;e<t.length;e++){const i=t.item(e),a=this._getOptionValue(i.value);n.push(a)}}else{const t=e.options;for(let e=0;e<t.length;e++){const i=t.item(e);if(i.selected){const t=this._getOptionValue(i.value);n.push(t)}}}this.value=n,t(n)}}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}_registerOption(t){const e=(this._idCounter++).toString();return this._optionMap.set(e,t),e}_getOptionId(t){for(const e of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(e)._value,t))return e;return null}_getOptionValue(t){const e=function(t){return t.split(":")[0]}(t);return this._optionMap.has(e)?this._optionMap.get(e)._value:t}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.G),i.Nb(i.l))},t.\u0275dir=i.Ib({type:t,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(t,e){1&t&&i.bc("change",function(t){return e.onChange(t.target)})("blur",function(){return e.onTouched()})},inputs:{compareWith:"compareWith"},features:[i.Bb([q])]}),t})();function J(t,e){return[...e.path,t]}function Z(t,e){K(t,e,!0),e.valueAccessor.writeValue(t.value),function(t,e){e.valueAccessor.registerOnChange(n=>{t._pendingValue=n,t._pendingChange=!0,t._pendingDirty=!0,"change"===t.updateOn&&tt(t,e)})}(t,e),function(t,e){const n=(t,n)=>{e.valueAccessor.writeValue(t),n&&e.viewToModelUpdate(t)};t.registerOnChange(n),e._registerOnDestroy(()=>{t._unregisterOnChange(n)})}(t,e),function(t,e){e.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,"blur"===t.updateOn&&t._pendingChange&&tt(t,e),"submit"!==t.updateOn&&t.markAsTouched()})}(t,e),function(t,e){if(e.valueAccessor.setDisabledState){const n=t=>{e.valueAccessor.setDisabledState(t)};t.registerOnDisabledChange(n),e._registerOnDestroy(()=>{t._unregisterOnDisabledChange(n)})}}(t,e)}function $(t,e,n=!0){const i=()=>{};e.valueAccessor&&(e.valueAccessor.registerOnChange(i),e.valueAccessor.registerOnTouched(i)),Q(t,e,!0),t&&(e._invokeOnDestroyCallbacks(),t._registerOnCollectionChange(()=>{}))}function X(t,e){t.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(e)})}function K(t,e,n){const i=T(t);null!==e.validator?t.setValidators(S(i,e.validator)):"function"==typeof i&&t.setValidators([i]);const a=P(t);if(null!==e.asyncValidator?t.setAsyncValidators(S(a,e.asyncValidator)):"function"==typeof a&&t.setAsyncValidators([a]),n){const n=()=>t.updateValueAndValidity();X(e._rawValidators,n),X(e._rawAsyncValidators,n)}}function Q(t,e,n){let i=!1;if(null!==t){if(null!==e.validator){const n=T(t);if(Array.isArray(n)&&n.length>0){const a=n.filter(t=>t!==e.validator);a.length!==n.length&&(i=!0,t.setValidators(a))}}if(null!==e.asyncValidator){const n=P(t);if(Array.isArray(n)&&n.length>0){const a=n.filter(t=>t!==e.asyncValidator);a.length!==n.length&&(i=!0,t.setAsyncValidators(a))}}}if(n){const t=()=>{};X(e._rawValidators,t),X(e._rawAsyncValidators,t)}return i}function tt(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function et(t,e){K(t,e,!1)}function nt(t,e){if(!t.hasOwnProperty("model"))return!1;const n=t.model;return!!n.isFirstChange()||!Object.is(e,n.currentValue)}const it=[d,B,H,U,G,z];function at(t,e){t._syncPendingControls(),e.forEach(t=>{const e=t.control;"submit"===e.updateOn&&e._pendingChange&&(t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1)})}function rt(t,e){if(!e)return null;let n,i,a;return Array.isArray(e),e.forEach(t=>{var e;t.constructor===m?n=t:(e=t,it.some(t=>e.constructor===t)?i=t:a=t)}),a||i||n||null}function ot(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}function st(t){return(ut(t)?t.validators:t)||null}function lt(t){return Array.isArray(t)?O(t):t||null}function ct(t,e){return(ut(e)?e.asyncValidators:t)||null}function dt(t){return Array.isArray(t)?k(t):t||null}function ut(t){return null!=t&&!Array.isArray(t)&&"object"==typeof t}class ht{constructor(t,e){this._hasOwnPendingAsyncValidator=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=t,this._rawAsyncValidators=e,this._composedValidatorFn=lt(this._rawValidators),this._composedAsyncValidatorFn=dt(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(t){this._rawValidators=this._composedValidatorFn=t}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}get parent(){return this._parent}get valid(){return"VALID"===this.status}get invalid(){return"INVALID"===this.status}get pending(){return"PENDING"==this.status}get disabled(){return"DISABLED"===this.status}get enabled(){return"DISABLED"!==this.status}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this._rawValidators=t,this._composedValidatorFn=lt(t)}setAsyncValidators(t){this._rawAsyncValidators=t,this._composedAsyncValidatorFn=dt(t)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(t={}){this.touched=!0,this._parent&&!t.onlySelf&&this._parent.markAsTouched(t)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(t=>t.markAllAsTouched())}markAsUntouched(t={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(t=>{t.markAsUntouched({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}markAsDirty(t={}){this.pristine=!1,this._parent&&!t.onlySelf&&this._parent.markAsDirty(t)}markAsPristine(t={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(t=>{t.markAsPristine({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}markAsPending(t={}){this.status="PENDING",!1!==t.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!t.onlySelf&&this._parent.markAsPending(t)}disable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status="DISABLED",this.errors=null,this._forEachChild(e=>{e.disable(Object.assign(Object.assign({},t),{onlySelf:!0}))}),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},t),{skipPristineCheck:e})),this._onDisabledChange.forEach(t=>t(!0))}enable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status="VALID",this._forEachChild(e=>{e.enable(Object.assign(Object.assign({},t),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},t),{skipPristineCheck:e})),this._onDisabledChange.forEach(t=>t(!1))}_updateAncestors(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(t){this._parent=t}updateValueAndValidity(t={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),"VALID"!==this.status&&"PENDING"!==this.status||this._runAsyncValidator(t.emitEvent)),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(t)}_updateTreeValidity(t={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?"DISABLED":"VALID"}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status="PENDING",this._hasOwnPendingAsyncValidator=!0;const e=C(this.asyncValidator(this));this._asyncValidationSubscription=e.subscribe(e=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(e,{emitEvent:t})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(t,e={}){this.errors=t,this._updateControlsErrors(!1!==e.emitEvent)}get(t){return function(t,e,n){if(null==e)return null;if(Array.isArray(e)||(e=e.split(".")),Array.isArray(e)&&0===e.length)return null;let i=t;return e.forEach(t=>{i=i instanceof pt?i.controls.hasOwnProperty(t)?i.controls[t]:null:i instanceof ft&&i.at(t)||null}),i}(this,t)}getError(t,e){const n=e?this.get(e):this;return n&&n.errors?n.errors[t]:null}hasError(t,e){return!!this.getError(t,e)}get root(){let t=this;for(;t._parent;)t=t._parent;return t}_updateControlsErrors(t){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(t)}_initObservables(){this.valueChanges=new i.o,this.statusChanges=new i.o}_calculateStatus(){return this._allControlsDisabled()?"DISABLED":this.errors?"INVALID":this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus("PENDING")?"PENDING":this._anyControlsHaveStatus("INVALID")?"INVALID":"VALID"}_anyControlsHaveStatus(t){return this._anyControls(e=>e.status===t)}_anyControlsDirty(){return this._anyControls(t=>t.dirty)}_anyControlsTouched(){return this._anyControls(t=>t.touched)}_updatePristine(t={}){this.pristine=!this._anyControlsDirty(),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}_updateTouched(t={}){this.touched=this._anyControlsTouched(),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}_isBoxedValue(t){return"object"==typeof t&&null!==t&&2===Object.keys(t).length&&"value"in t&&"disabled"in t}_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){ut(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){return!t&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}class mt extends ht{constructor(t=null,e,n){super(st(e),ct(n,e)),this._onChange=[],this._applyFormState(t),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!n})}setValue(t,e={}){this.value=this._pendingValue=t,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach(t=>t(this.value,!1!==e.emitViewToModelChange)),this.updateValueAndValidity(e)}patchValue(t,e={}){this.setValue(t,e)}reset(t=null,e={}){this._applyFormState(t),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_unregisterOnChange(t){ot(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){ot(this._onDisabledChange,t)}_forEachChild(t){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(t){this._isBoxedValue(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}}class pt extends ht{constructor(t,e,n){super(st(e),ct(n,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!n})}registerControl(t,e){return this.controls[t]?this.controls[t]:(this.controls[t]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(t,e){this.registerControl(t,e),this.updateValueAndValidity(),this._onCollectionChange()}removeControl(t){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],this.updateValueAndValidity(),this._onCollectionChange()}setControl(t,e){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],e&&this.registerControl(t,e),this.updateValueAndValidity(),this._onCollectionChange()}contains(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}setValue(t,e={}){this._checkAllValuesPresent(t),Object.keys(t).forEach(n=>{this._throwIfControlMissing(n),this.controls[n].setValue(t[n],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){null!=t&&(Object.keys(t).forEach(n=>{this.controls[n]&&this.controls[n].patchValue(t[n],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(t={},e={}){this._forEachChild((n,i)=>{n.reset(t[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(t,e,n)=>(t[n]=e instanceof mt?e.value:e.getRawValue(),t))}_syncPendingControls(){let t=this._reduceChildren(!1,(t,e)=>!!e._syncPendingControls()||t);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_throwIfControlMissing(t){if(!Object.keys(this.controls).length)throw new Error("\n There are no form controls registered with this group yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.controls[t])throw new Error(`Cannot find form control with name: ${t}.`)}_forEachChild(t){Object.keys(this.controls).forEach(e=>{const n=this.controls[e];n&&t(n,e)})}_setUpControls(){this._forEachChild(t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(t){for(const e of Object.keys(this.controls)){const n=this.controls[e];if(this.contains(e)&&t(n))return!0}return!1}_reduceValue(){return this._reduceChildren({},(t,e,n)=>((e.enabled||this.disabled)&&(t[n]=e.value),t))}_reduceChildren(t,e){let n=t;return this._forEachChild((t,i)=>{n=e(n,t,i)}),n}_allControlsDisabled(){for(const t of Object.keys(this.controls))if(this.controls[t].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_checkAllValuesPresent(t){this._forEachChild((e,n)=>{if(void 0===t[n])throw new Error(`Must supply a value for form control with name: '${n}'.`)})}}class ft extends ht{constructor(t,e,n){super(st(e),ct(n,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!n})}at(t){return this.controls[t]}push(t){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity(),this._onCollectionChange()}insert(t,e){this.controls.splice(t,0,e),this._registerControl(e),this.updateValueAndValidity()}removeAt(t){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),this.controls.splice(t,1),this.updateValueAndValidity()}setControl(t,e){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),this.controls.splice(t,1),e&&(this.controls.splice(t,0,e),this._registerControl(e)),this.updateValueAndValidity(),this._onCollectionChange()}get length(){return this.controls.length}setValue(t,e={}){this._checkAllValuesPresent(t),t.forEach((t,n)=>{this._throwIfControlMissing(n),this.at(n).setValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){null!=t&&(t.forEach((t,n)=>{this.at(n)&&this.at(n).patchValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(t=[],e={}){this._forEachChild((n,i)=>{n.reset(t[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this.controls.map(t=>t instanceof mt?t.value:t.getRawValue())}clear(){this.controls.length<1||(this._forEachChild(t=>t._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity())}_syncPendingControls(){let t=this.controls.reduce((t,e)=>!!e._syncPendingControls()||t,!1);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_throwIfControlMissing(t){if(!this.controls.length)throw new Error("\n There are no form controls registered with this array yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.at(t))throw new Error(`Cannot find form control at index ${t}`)}_forEachChild(t){this.controls.forEach((e,n)=>{t(e,n)})}_updateValue(){this.value=this.controls.filter(t=>t.enabled||this.disabled).map(t=>t.value)}_anyControls(t){return this.controls.some(e=>e.enabled&&t(e))}_setUpControls(){this._forEachChild(t=>this._registerControl(t))}_checkAllValuesPresent(t){this._forEachChild((e,n)=>{if(void 0===t[n])throw new Error(`Must supply a value for form control at index: ${n}.`)})}_allControlsDisabled(){for(const t of this.controls)if(t.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(t){t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)}}const gt={provide:D,useExisting:Object(i.V)(()=>_t)},bt=(()=>Promise.resolve(null))();let _t=(()=>{class t extends D{constructor(t,e){super(),this.submitted=!1,this._directives=[],this.ngSubmit=new i.o,this.form=new pt({},O(t),k(e))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(t){bt.then(()=>{const e=this._findContainer(t.path);t.control=e.registerControl(t.name,t.control),Z(t.control,t),t.control.updateValueAndValidity({emitEvent:!1}),this._directives.push(t)})}getControl(t){return this.form.get(t.path)}removeControl(t){bt.then(()=>{const e=this._findContainer(t.path);e&&e.removeControl(t.name),ot(this._directives,t)})}addFormGroup(t){bt.then(()=>{const e=this._findContainer(t.path),n=new pt({});et(n,t),e.registerControl(t.name,n),n.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(t){bt.then(()=>{const e=this._findContainer(t.path);e&&e.removeControl(t.name)})}getFormGroup(t){return this.form.get(t.path)}updateModel(t,e){bt.then(()=>{this.form.get(t.path).setValue(e)})}setValue(t){this.control.setValue(t)}onSubmit(t){return this.submitted=!0,at(this.form,this._directives),this.ngSubmit.emit(t),!1}onReset(){this.resetForm()}resetForm(t){this.form.reset(t),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(t){return t.pop(),t.length?this.form.get(t):this.form}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(g,10),i.Nb(b,10))},t.\u0275dir=i.Ib({type:t,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(t,e){1&t&&i.bc("submit",function(t){return e.onSubmit(t)})("reset",function(){return e.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[i.Bb([gt]),i.zb]}),t})();const yt={provide:A,useExisting:Object(i.V)(()=>Ct)},vt=(()=>Promise.resolve(null))();let Ct=(()=>{class t extends A{constructor(t,e,n,a){super(),this.control=new mt,this._registered=!1,this.update=new i.o,this._parent=t,this._setValidators(e),this._setAsyncValidators(n),this.valueAccessor=rt(0,a)}ngOnChanges(t){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in t&&this._updateDisabled(t),nt(t,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._parent?J(this.name,this._parent):[this.name]}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){Z(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(t){vt.then(()=>{this.control.setValue(t,{emitViewToModelChange:!1})})}_updateDisabled(t){const e=t.isDisabled.currentValue,n=""===e||e&&"false"!==e;vt.then(()=>{n&&!this.control.disabled?this.control.disable():!n&&this.control.disabled&&this.control.enable()})}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(D,9),i.Nb(g,10),i.Nb(b,10),i.Nb(l,10))},t.\u0275dir=i.Ib({type:t,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[i.Bb([yt]),i.zb,i.Ab]}),t})(),wt=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.Ib({type:t,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),t})();const xt=new i.s("NgModelWithFormControlWarning"),Mt={provide:A,useExisting:Object(i.V)(()=>Ot)};let Ot=(()=>{class t extends A{constructor(t,e,n,a){super(),this._ngModelWarningConfig=a,this.update=new i.o,this._ngModelWarningSent=!1,this._setValidators(t),this._setAsyncValidators(e),this.valueAccessor=rt(0,n)}set isDisabled(t){}ngOnChanges(t){if(this._isControlChanged(t)){const e=t.form.previousValue;e&&$(e,this,!1),Z(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})}nt(t,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&$(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}_isControlChanged(t){return t.hasOwnProperty("form")}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(g,10),i.Nb(b,10),i.Nb(l,10),i.Nb(xt,8))},t.\u0275dir=i.Ib({type:t,selectors:[["","formControl",""]],inputs:{isDisabled:["disabled","isDisabled"],form:["formControl","form"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[i.Bb([Mt]),i.zb,i.Ab]}),t._ngModelWarningSentOnce=!1,t})();const kt={provide:D,useExisting:Object(i.V)(()=>St)};let St=(()=>{class t extends D{constructor(t,e){super(),this.validators=t,this.asyncValidators=e,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new i.o,this._setValidators(t),this._setAsyncValidators(e)}ngOnChanges(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Q(this.form,this,!1),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(t){const e=this.form.get(t.path);return Z(e,t),e.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),e}getControl(t){return this.form.get(t.path)}removeControl(t){$(t.control||null,t,!1),ot(this.directives,t)}addFormGroup(t){this._setUpFormContainer(t)}removeFormGroup(t){this._cleanUpFormContainer(t)}getFormGroup(t){return this.form.get(t.path)}addFormArray(t){this._setUpFormContainer(t)}removeFormArray(t){this._cleanUpFormContainer(t)}getFormArray(t){return this.form.get(t.path)}updateModel(t,e){this.form.get(t.path).setValue(e)}onSubmit(t){return this.submitted=!0,at(this.form,this.directives),this.ngSubmit.emit(t),!1}onReset(){this.resetForm()}resetForm(t){this.form.reset(t),this.submitted=!1}_updateDomValue(){this.directives.forEach(t=>{const e=this.form.get(t.path);t.control!==e&&($(t.control||null,t),e&&Z(e,t),t.control=e)}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(t){const e=this.form.get(t.path);et(e,t),e.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(t){if(this.form){const e=this.form.get(t.path);e&&function(t,e){return Q(t,e,!1)}(e,t)&&e.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){K(this.form,this,!1),this._oldForm&&Q(this._oldForm,this,!1)}_checkFormPresent(){}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(g,10),i.Nb(b,10))},t.\u0275dir=i.Ib({type:t,selectors:[["","formGroup",""]],hostBindings:function(t,e){1&t&&i.bc("submit",function(t){return e.onSubmit(t)})("reset",function(){return e.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[i.Bb([kt]),i.zb,i.Ab]}),t})();const Tt={provide:A,useExisting:Object(i.V)(()=>Pt)};let Pt=(()=>{class t extends A{constructor(t,e,n,a,r){super(),this._ngModelWarningConfig=r,this._added=!1,this.update=new i.o,this._ngModelWarningSent=!1,this._parent=t,this._setValidators(e),this._setAsyncValidators(n),this.valueAccessor=rt(0,a)}set isDisabled(t){}ngOnChanges(t){this._added||this._setUpControl(),nt(t,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}get path(){return J(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(D,13),i.Nb(g,10),i.Nb(b,10),i.Nb(l,10),i.Nb(xt,8))},t.\u0275dir=i.Ib({type:t,selectors:[["","formControlName",""]],inputs:{isDisabled:["disabled","isDisabled"],name:["formControlName","name"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[i.Bb([Tt]),i.zb,i.Ab]}),t._ngModelWarningSentOnce=!1,t})();const Lt={provide:g,useExisting:Object(i.V)(()=>Et),multi:!0},Dt={provide:g,useExisting:Object(i.V)(()=>At),multi:!0};let Et=(()=>{class t{constructor(){this._required=!1}get required(){return this._required}set required(t){this._required=null!=t&&!1!==t&&"false"!=`${t}`,this._onChange&&this._onChange()}validate(t){return this.required?y.required(t):null}registerOnValidatorChange(t){this._onChange=t}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.Ib({type:t,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(t,e){2&t&&i.Db("required",e.required?"":null)},inputs:{required:"required"},features:[i.Bb([Lt])]}),t})(),At=(()=>{class t extends Et{validate(t){return this.required?y.requiredTrue(t):null}}return t.\u0275fac=function(e){return It(e||t)},t.\u0275dir=i.Ib({type:t,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(t,e){2&t&&i.Db("required",e.required?"":null)},features:[i.Bb([Dt]),i.zb]}),t})();const It=i.Vb(At),Rt={provide:g,useExisting:Object(i.V)(()=>Nt),multi:!0};let Nt=(()=>{class t{constructor(){this._validator=y.nullValidator}ngOnChanges(t){"maxlength"in t&&(this._createValidator(),this._onChange&&this._onChange())}validate(t){return null!=this.maxlength?this._validator(t):null}registerOnValidatorChange(t){this._onChange=t}_createValidator(){this._validator=y.maxLength("number"==typeof this.maxlength?this.maxlength:parseInt(this.maxlength,10))}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.Ib({type:t,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(t,e){2&t&&i.Db("maxlength",e.maxlength?e.maxlength:null)},inputs:{maxlength:"maxlength"},features:[i.Bb([Rt]),i.Ab]}),t})();const Yt={provide:g,useExisting:Object(i.V)(()=>Ht),multi:!0};let Ht=(()=>{class t{constructor(){this._validator=y.nullValidator}ngOnChanges(t){"pattern"in t&&(this._createValidator(),this._onChange&&this._onChange())}validate(t){return this._validator(t)}registerOnValidatorChange(t){this._onChange=t}_createValidator(){this._validator=y.pattern(this.pattern)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.Ib({type:t,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(t,e){2&t&&i.Db("pattern",e.pattern?e.pattern:null)},inputs:{pattern:"pattern"},features:[i.Bb([Yt]),i.Ab]}),t})(),jt=(()=>{class t{}return t.\u0275mod=i.Lb({type:t}),t.\u0275inj=i.Kb({factory:function(e){return new(e||t)}}),t})(),Ft=(()=>{class t{group(t,e=null){const n=this._reduceControls(t);let i,a=null,r=null;return null!=e&&(function(t){return void 0!==t.asyncValidators||void 0!==t.validators||void 0!==t.updateOn}(e)?(a=null!=e.validators?e.validators:null,r=null!=e.asyncValidators?e.asyncValidators:null,i=null!=e.updateOn?e.updateOn:void 0):(a=null!=e.validator?e.validator:null,r=null!=e.asyncValidator?e.asyncValidator:null)),new pt(n,{asyncValidators:r,updateOn:i,validators:a})}control(t,e,n){return new mt(t,e,n)}array(t,e,n){const i=t.map(t=>this._createControl(t));return new ft(i,e,n)}_reduceControls(t){const e={};return Object.keys(t).forEach(n=>{e[n]=this._createControl(t[n])}),e}_createControl(t){return t instanceof mt||t instanceof pt||t instanceof ft?t:Array.isArray(t)?this.control(t[0],t.length>1?t[1]:null,t.length>2?t[2]:null):this.control(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=i.Jb({token:t,factory:t.\u0275fac}),t})(),zt=(()=>{class t{}return t.\u0275mod=i.Lb({type:t}),t.\u0275inj=i.Kb({factory:function(e){return new(e||t)},providers:[F],imports:[jt]}),t})(),Vt=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:xt,useValue:e.warnOnNgModelWithFormControl}]}}}return t.\u0275mod=i.Lb({type:t}),t.\u0275inj=i.Kb({factory:function(e){return new(e||t)},providers:[Ft,F],imports:[jt]}),t})()},sp3z:function(t,e,n){!function(t){"use strict";t.defineLocale("lo",{months:"\u0ea1\u0eb1\u0e87\u0e81\u0ead\u0e99_\u0e81\u0eb8\u0ea1\u0e9e\u0eb2_\u0ea1\u0eb5\u0e99\u0eb2_\u0ec0\u0ea1\u0eaa\u0eb2_\u0e9e\u0eb6\u0e94\u0eaa\u0eb0\u0e9e\u0eb2_\u0ea1\u0eb4\u0e96\u0eb8\u0e99\u0eb2_\u0e81\u0ecd\u0ea5\u0eb0\u0e81\u0ebb\u0e94_\u0eaa\u0eb4\u0e87\u0eab\u0eb2_\u0e81\u0eb1\u0e99\u0e8d\u0eb2_\u0e95\u0eb8\u0ea5\u0eb2_\u0e9e\u0eb0\u0e88\u0eb4\u0e81_\u0e97\u0eb1\u0e99\u0ea7\u0eb2".split("_"),monthsShort:"\u0ea1\u0eb1\u0e87\u0e81\u0ead\u0e99_\u0e81\u0eb8\u0ea1\u0e9e\u0eb2_\u0ea1\u0eb5\u0e99\u0eb2_\u0ec0\u0ea1\u0eaa\u0eb2_\u0e9e\u0eb6\u0e94\u0eaa\u0eb0\u0e9e\u0eb2_\u0ea1\u0eb4\u0e96\u0eb8\u0e99\u0eb2_\u0e81\u0ecd\u0ea5\u0eb0\u0e81\u0ebb\u0e94_\u0eaa\u0eb4\u0e87\u0eab\u0eb2_\u0e81\u0eb1\u0e99\u0e8d\u0eb2_\u0e95\u0eb8\u0ea5\u0eb2_\u0e9e\u0eb0\u0e88\u0eb4\u0e81_\u0e97\u0eb1\u0e99\u0ea7\u0eb2".split("_"),weekdays:"\u0ead\u0eb2\u0e97\u0eb4\u0e94_\u0e88\u0eb1\u0e99_\u0ead\u0eb1\u0e87\u0e84\u0eb2\u0e99_\u0e9e\u0eb8\u0e94_\u0e9e\u0eb0\u0eab\u0eb1\u0e94_\u0eaa\u0eb8\u0e81_\u0ec0\u0eaa\u0ebb\u0eb2".split("_"),weekdaysShort:"\u0e97\u0eb4\u0e94_\u0e88\u0eb1\u0e99_\u0ead\u0eb1\u0e87\u0e84\u0eb2\u0e99_\u0e9e\u0eb8\u0e94_\u0e9e\u0eb0\u0eab\u0eb1\u0e94_\u0eaa\u0eb8\u0e81_\u0ec0\u0eaa\u0ebb\u0eb2".split("_"),weekdaysMin:"\u0e97_\u0e88_\u0ead\u0e84_\u0e9e_\u0e9e\u0eab_\u0eaa\u0e81_\u0eaa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"\u0ea7\u0eb1\u0e99dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0e95\u0ead\u0e99\u0ec0\u0e8a\u0ebb\u0ec9\u0eb2|\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87/,isPM:function(t){return"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"===t},meridiem:function(t,e,n){return t<12?"\u0e95\u0ead\u0e99\u0ec0\u0e8a\u0ebb\u0ec9\u0eb2":"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"},calendar:{sameDay:"[\u0ea1\u0eb7\u0ec9\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",nextDay:"[\u0ea1\u0eb7\u0ec9\u0ead\u0eb7\u0ec8\u0e99\u0ec0\u0ea7\u0ea5\u0eb2] LT",nextWeek:"[\u0ea7\u0eb1\u0e99]dddd[\u0edc\u0ec9\u0eb2\u0ec0\u0ea7\u0ea5\u0eb2] LT",lastDay:"[\u0ea1\u0eb7\u0ec9\u0ea7\u0eb2\u0e99\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",lastWeek:"[\u0ea7\u0eb1\u0e99]dddd[\u0ec1\u0ea5\u0ec9\u0ea7\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",sameElse:"L"},relativeTime:{future:"\u0ead\u0eb5\u0e81 %s",past:"%s\u0e9c\u0ec8\u0eb2\u0e99\u0ea1\u0eb2",s:"\u0e9a\u0ecd\u0ec8\u0ec0\u0e97\u0ebb\u0ec8\u0eb2\u0ec3\u0e94\u0ea7\u0eb4\u0e99\u0eb2\u0e97\u0eb5",ss:"%d \u0ea7\u0eb4\u0e99\u0eb2\u0e97\u0eb5",m:"1 \u0e99\u0eb2\u0e97\u0eb5",mm:"%d \u0e99\u0eb2\u0e97\u0eb5",h:"1 \u0e8a\u0ebb\u0ec8\u0ea7\u0ec2\u0ea1\u0e87",hh:"%d \u0e8a\u0ebb\u0ec8\u0ea7\u0ec2\u0ea1\u0e87",d:"1 \u0ea1\u0eb7\u0ec9",dd:"%d \u0ea1\u0eb7\u0ec9",M:"1 \u0ec0\u0e94\u0eb7\u0ead\u0e99",MM:"%d \u0ec0\u0e94\u0eb7\u0ead\u0e99",y:"1 \u0e9b\u0eb5",yy:"%d \u0e9b\u0eb5"},dayOfMonthOrdinalParse:/(\u0e97\u0eb5\u0ec8)\d{1,2}/,ordinal:function(t){return"\u0e97\u0eb5\u0ec8"+t}})}(n("wd/R"))},"t+mt":function(t,e,n){!function(t){"use strict";t.defineLocale("en-sg",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})}(n("wd/R"))},tGlX:function(t,e,n){!function(t){"use strict";function e(t,e,n,i){var a={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[t+" Tage",t+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[t+" Monate",t+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[t+" Jahre",t+" Jahren"]};return e?a[n][0]:a[n][1]}t.defineLocale("de",{months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:e,mm:"%d Minuten",h:e,hh:"%d Stunden",d:e,dd:e,w:e,ww:"%d Wochen",M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},tT3J:function(t,e,n){!function(t){"use strict";t.defineLocale("tzm-latn",{months:"innayr_br\u02e4ayr\u02e4_mar\u02e4s\u02e4_ibrir_mayyw_ywnyw_ywlywz_\u0263w\u0161t_\u0161wtanbir_kt\u02e4wbr\u02e4_nwwanbir_dwjnbir".split("_"),monthsShort:"innayr_br\u02e4ayr\u02e4_mar\u02e4s\u02e4_ibrir_mayyw_ywnyw_ywlywz_\u0263w\u0161t_\u0161wtanbir_kt\u02e4wbr\u02e4_nwwanbir_dwjnbir".split("_"),weekdays:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),weekdaysShort:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),weekdaysMin:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[asdkh g] LT",nextDay:"[aska g] LT",nextWeek:"dddd [g] LT",lastDay:"[assant g] LT",lastWeek:"dddd [g] LT",sameElse:"L"},relativeTime:{future:"dadkh s yan %s",past:"yan %s",s:"imik",ss:"%d imik",m:"minu\u1e0d",mm:"%d minu\u1e0d",h:"sa\u025ba",hh:"%d tassa\u025bin",d:"ass",dd:"%d ossan",M:"ayowr",MM:"%d iyyirn",y:"asgas",yy:"%d isgasn"},week:{dow:6,doy:12}})}(n("wd/R"))},tUCv:function(t,e,n){!function(t){"use strict";t.defineLocale("jv",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des".split("_"),weekdays:"Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu".split("_"),weekdaysShort:"Min_Sen_Sel_Reb_Kem_Jem_Sep".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sp".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/enjing|siyang|sonten|ndalu/,meridiemHour:function(t,e){return 12===t&&(t=0),"enjing"===e?t:"siyang"===e?t>=11?t:t+12:"sonten"===e||"ndalu"===e?t+12:void 0},meridiem:function(t,e,n){return t<11?"enjing":t<15?"siyang":t<19?"sonten":"ndalu"},calendar:{sameDay:"[Dinten puniko pukul] LT",nextDay:"[Mbenjang pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kala wingi pukul] LT",lastWeek:"dddd [kepengker pukul] LT",sameElse:"L"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",ss:"%d detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"},week:{dow:1,doy:7}})}(n("wd/R"))},tbfe:function(t,e,n){!function(t){"use strict";var e="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),i=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],a=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;t.defineLocale("es-mx",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(t,i){return t?/-MMM-/.test(i)?n[t.month()]:e[t.month()]:e},monthsRegex:a,monthsShortRegex:a,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:0,doy:4},invalidDate:"Fecha inv\xe1lida"})}(n("wd/R"))},tgYw:function(t,e,n){"use strict";n.d(e,"a",function(){return i});class i{constructor({latitude:t=null,longitude:e=null}){this.latitude=t,this.longitude=e}}},u3GI:function(t,e,n){!function(t){"use strict";function e(t,e,n,i){var a={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[t+" Tage",t+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[t+" Monate",t+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[t+" Jahre",t+" Jahren"]};return e?a[n][0]:a[n][1]}t.defineLocale("de-ch",{months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:e,mm:"%d Minuten",h:e,hh:"%d Stunden",d:e,dd:e,w:e,ww:"%d Wochen",M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},uEye:function(t,e,n){!function(t){"use strict";t.defineLocale("nn",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"sundag_m\xe5ndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"su._m\xe5._ty._on._to._fr._lau.".split("_"),weekdaysMin:"su_m\xe5_ty_on_to_fr_la".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[I dag klokka] LT",nextDay:"[I morgon klokka] LT",nextWeek:"dddd [klokka] LT",lastDay:"[I g\xe5r klokka] LT",lastWeek:"[F\xf8reg\xe5ande] dddd [klokka] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s sidan",s:"nokre sekund",ss:"%d sekund",m:"eit minutt",mm:"%d minutt",h:"ein time",hh:"%d timar",d:"ein dag",dd:"%d dagar",w:"ei veke",ww:"%d veker",M:"ein m\xe5nad",MM:"%d m\xe5nader",y:"eit \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},uXwI:function(t,e,n){!function(t){"use strict";var e={ss:"sekundes_sekund\u0113m_sekunde_sekundes".split("_"),m:"min\u016btes_min\u016bt\u0113m_min\u016bte_min\u016btes".split("_"),mm:"min\u016btes_min\u016bt\u0113m_min\u016bte_min\u016btes".split("_"),h:"stundas_stund\u0101m_stunda_stundas".split("_"),hh:"stundas_stund\u0101m_stunda_stundas".split("_"),d:"dienas_dien\u0101m_diena_dienas".split("_"),dd:"dienas_dien\u0101m_diena_dienas".split("_"),M:"m\u0113ne\u0161a_m\u0113ne\u0161iem_m\u0113nesis_m\u0113ne\u0161i".split("_"),MM:"m\u0113ne\u0161a_m\u0113ne\u0161iem_m\u0113nesis_m\u0113ne\u0161i".split("_"),y:"gada_gadiem_gads_gadi".split("_"),yy:"gada_gadiem_gads_gadi".split("_")};function n(t,e,n){return n?e%10==1&&e%100!=11?t[2]:t[3]:e%10==1&&e%100!=11?t[0]:t[1]}function i(t,i,a){return t+" "+n(e[a],t,i)}function a(t,i,a){return n(e[a],t,i)}t.defineLocale("lv",{months:"janv\u0101ris_febru\u0101ris_marts_apr\u012blis_maijs_j\u016bnijs_j\u016blijs_augusts_septembris_oktobris_novembris_decembris".split("_"),monthsShort:"jan_feb_mar_apr_mai_j\u016bn_j\u016bl_aug_sep_okt_nov_dec".split("_"),weekdays:"sv\u0113tdiena_pirmdiena_otrdiena_tre\u0161diena_ceturtdiena_piektdiena_sestdiena".split("_"),weekdaysShort:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysMin:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"YYYY. [gada] D. MMMM",LLL:"YYYY. [gada] D. MMMM, HH:mm",LLLL:"YYYY. [gada] D. MMMM, dddd, HH:mm"},calendar:{sameDay:"[\u0160odien pulksten] LT",nextDay:"[R\u012bt pulksten] LT",nextWeek:"dddd [pulksten] LT",lastDay:"[Vakar pulksten] LT",lastWeek:"[Pag\u0101ju\u0161\u0101] dddd [pulksten] LT",sameElse:"L"},relativeTime:{future:"p\u0113c %s",past:"pirms %s",s:function(t,e){return e?"da\u017eas sekundes":"da\u017e\u0101m sekund\u0113m"},ss:i,m:a,mm:i,h:a,hh:i,d:a,dd:i,M:a,MM:i,y:a,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},uc2U:function(t,e,n){"use strict";n.d(e,"a",function(){return i});var i=function(t){return t.VALIDATE="search",t.VALID="check",t.INVALID="close",t.ERROR="error_outline",t}({})},uuBd:function(t,e,n){"use strict";n.d(e,"a",function(){return x});var i=n("CtHx"),a=n("y7ui"),r=n("8Y7J"),o=n("s7LF"),s=n("OLiY"),l=n("LRne");class c{constructor(){this.parent=null,this.canCheck=!0,this.canSelect=!0}}var d=n("SVse"),u=n("pMoy"),h=n("Dxy4"),m=n("Q2Ze"),p=n("Tj54"),f=n("TSSN");function g(t,e){if(1&t){const t=r.Ub();r.Tb(0,"mat-checkbox",4),r.bc("change",function(){return r.yc(t),r.fc().toggleAll()}),r.Hc(1),r.gc(2,"translate"),r.Sb()}if(2&t){const t=r.fc();r.nc("checked",t.isFull())("indeterminate",!t.isEmpty()&&!t.isFull()),r.Cb(1),r.Jc(" ",r.hc(2,3,"common.selection.tous"),"\n")}}function b(t,e){if(1&t){const t=r.Ub();r.Tb(0,"mat-checkbox",9),r.bc("change",function(){r.yc(t);const e=r.fc().$implicit;return r.fc().selectionToggle(e)}),r.Hc(1),r.Sb()}if(2&t){const t=r.fc().$implicit,e=r.fc();r.pc("name","node_",t.id,""),r.pc("id","node_",t.id,""),r.nc("checked",e.checklistSelection.isSelected(t)),r.Cb(1),r.Ic(t.value)}}function _(t,e){if(1&t&&(r.Tb(0,"mat-label"),r.Hc(1),r.Sb()),2&t){const t=r.fc().$implicit;r.Cb(1),r.Ic(t.value)}}function y(t,e){if(1&t&&(r.Tb(0,"mat-tree-node",5),r.Ob(1,"button",6),r.Fc(2,b,2,4,"mat-checkbox",7),r.Fc(3,_,2,1,"mat-label",8),r.Sb()),2&t){const t=e.$implicit,n=r.fc();r.Cb(2),r.nc("ngIf",n.canCheck(t)),r.Cb(1),r.nc("ngIf",!n.canCheck(t))}}function v(t,e){if(1&t){const t=r.Ub();r.Tb(0,"mat-checkbox",14),r.bc("change",function(){r.yc(t);const e=r.fc().$implicit;return r.fc().selectionToggle(e)}),r.Hc(1),r.Sb()}if(2&t){const t=r.fc().$implicit,e=r.fc();r.pc("name","node_",t.id,""),r.pc("id","node_",t.id,""),r.nc("checked",e.descendantsAllSelected(t))("indeterminate",e.descendantsPartiallySelected(t)),r.Cb(1),r.Ic(t.value)}}function C(t,e){if(1&t&&(r.Tb(0,"mat-label"),r.Hc(1),r.Sb()),2&t){const t=r.fc().$implicit;r.Cb(1),r.Ic(t.value)}}function w(t,e){if(1&t&&(r.Tb(0,"mat-tree-node",10),r.Tb(1,"button",11),r.Tb(2,"mat-icon",12),r.Hc(3),r.Sb(),r.Sb(),r.Fc(4,v,2,5,"mat-checkbox",13),r.Fc(5,C,2,1,"mat-label",8),r.Sb()),2&t){const t=e.$implicit,n=r.fc();r.Cb(1),r.pc("id","toggle_",t.id,""),r.Cb(2),r.Jc(" ",n.treeControl.isExpanded(t)?"expand_more":"chevron_right"," "),r.Cb(1),r.nc("ngIf",n.canCheck(t)),r.Cb(1),r.nc("ngIf",!n.canCheck(t))}}let x=(()=>{class t{constructor(t){this.changeDetectorRef=t,this.flatNodeMap=new Map,this.nestedNodeMap=new Map,this.checklistSelection=new i.c(!0),this._data=[],this.expand=!1,this.showSelectAll=!0,this.height=400,this.selection=[],this.onChange=t=>{},this.onTouched=()=>{},this.getLevel=t=>t.level,this.isExpandable=t=>t.expandable,this.canCheck=t=>t.canCheck,this.getChildren=t=>Object(l.a)(t.children),this.hasChild=(t,e)=>e.expandable,this.hasNoContent=(t,e)=>""===e.value,this.transformer=(t,e)=>{const n=this.nestedNodeMap.get(t),i=n&&n.value===t.value?n:new c;return i.id=t.id,i.value=t.value,i.level=e,i.expandable=!!t.children,i.canCheck=t.canCheck,i.canSelect=t.canSelect,i.treeNode=t,i.parent=t.parent?this.nestedNodeMap.get(t.parent):null,this.flatNodeMap.set(i,t),this.nestedNodeMap.set(t,i),i},this.treeFlattener=new s.c(this.transformer,this.getLevel,this.isExpandable,this.getChildren),this.treeControl=new a.j(this.getLevel,this.isExpandable),this.dataSource=new s.b(this.treeControl,this.treeFlattener)}get data(){return this._data}set data(t){this._data=t||[],this.reload()}writeValue(t){t&&(this.selection=t)}registerOnChange(t){this.onChange=t}registerOnTouched(t){this.onTouched=t}reload(){this.dataSource.data=this.data,!1!==this.expand&&this.treeControl.expandAll()}descendantsAllSelected(t){return this.treeControl.getDescendants(t).every(t=>this.checklistSelection.isSelected(t))}descendantsPartiallySelected(t){return this.treeControl.getDescendants(t).some(t=>this.checklistSelection.isSelected(t))&&!this.descendantsAllSelected(t)}selectionToggle(t){this.checklistSelection.toggle(t);const e=this.treeControl.getDescendants(t);this.checklistSelection.isSelected(t)?this.checklistSelection.select(...e):this.checklistSelection.deselect(...e);const n=t.parent;n&&(this.descendantsAllSelected(n)?this.checklistSelection.select(n):this.checklistSelection.deselect(n)),this.refresh()}getAllNodes(){return Array.from(this.nestedNodeMap.entries()).map(t=>t[1])}isEmpty(){return this.checklistSelection.isEmpty()}isFull(){return this.getAllNodes().every(t=>!t.canSelect||this.checklistSelection.isSelected(t))}toggleAll(){this.isFull()?this.checklistSelection.clear():this.checklistSelection.select(...this.getAllNodes()),this.refresh()}refresh(){this.selection=this.isEmpty()||this.isFull()?[]:this.checklistSelection.selected.map(t=>t.treeNode).filter(t=>t.canSelect),this.onChange(this.selection),this.changeDetectorRef.markForCheck()}setSelection(t){this.checklistSelection.clear(),t&&t.length>0&&(this.checklistSelection.select(...t.map(t=>this.nestedNodeMap.get(t))),this.dataSource.data.forEach(t=>this.checkDescendants(this.nestedNodeMap.get(t))),this.refresh())}checkDescendants(t){const e=this.treeControl.getDescendants(t);e.length>0&&(e.forEach(t=>this.checkDescendants(t)),this.descendantsAllSelected(t)&&this.checklistSelection.select(t))}}return t.\u0275fac=function(e){return new(e||t)(r.Nb(r.h))},t.\u0275cmp=r.Hb({type:t,selectors:[["app-tree-view"]],inputs:{data:"data",expand:"expand",showSelectAll:"showSelectAll",height:"height"},features:[r.Bb([{provide:o.m,useExisting:Object(r.V)(()=>t),multi:!0}])],decls:4,vars:6,consts:[["color","primary","name","all",3,"checked","indeterminate","change",4,"ngIf"],[3,"dataSource","treeControl"],["matTreeNodeToggle","","matTreeNodePadding","",4,"matTreeNodeDef"],["matTreeNodePadding","",4,"matTreeNodeDef","matTreeNodeDefWhen"],["color","primary","name","all",3,"checked","indeterminate","change"],["matTreeNodeToggle","","matTreeNodePadding",""],["mat-icon-button","","disabled",""],["class","checklist-leaf-node","color","primary",3,"name","id","checked","change",4,"ngIf"],[4,"ngIf"],["color","primary",1,"checklist-leaf-node",3,"name","id","checked","change"],["matTreeNodePadding",""],["mat-icon-button","","matTreeNodeToggle","","aria-label","toggle",3,"id"],[1,"mat-icon-rtl-mirror"],["color","primary",3,"name","id","checked","indeterminate","change",4,"ngIf"],["color","primary",3,"name","id","checked","indeterminate","change"]],template:function(t,e){1&t&&(r.Fc(0,g,3,5,"mat-checkbox",0),r.Tb(1,"mat-tree",1),r.Fc(2,y,4,2,"mat-tree-node",2),r.Fc(3,w,6,4,"mat-tree-node",3),r.Sb()),2&t&&(r.nc("ngIf",e.showSelectAll),r.Cb(1),r.Cc("height",e.height,"px"),r.nc("dataSource",e.dataSource)("treeControl",e.treeControl),r.Cb(2),r.nc("matTreeNodeDefWhen",e.hasChild))},directives:[d.l,s.a,s.f,u.a,s.e,s.h,s.g,h.a,m.f,p.a],pipes:[f.c],styles:["[_nghost-%COMP%] > mat-checkbox[_ngcontent-%COMP%]{padding-left:16px}[_nghost-%COMP%] > mat-tree[_ngcontent-%COMP%]{overflow-x:hidden;overflow-y:auto;position:relative;z-index:5;background:#fff}[_nghost-%COMP%] > mat-tree[_ngcontent-%COMP%] mat-tree-node[_ngcontent-%COMP%]{min-height:0}[_nghost-%COMP%] > mat-tree[_ngcontent-%COMP%] mat-tree-node[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{height:24px;line-height:0}[_nghost-%COMP%] > mat-tree[_ngcontent-%COMP%] mat-tree-node[_ngcontent-%COMP%] button[disabled][_ngcontent-%COMP%]{height:0;width:24px}"],changeDetection:0}),t})()},"v/fa":function(t,e,n){"use strict";n.d(e,"a",function(){return a});var i=n("IGtN");class a extends i.a{constructor(t){super(t),this.translateService=t}doesControlHaveError(t,e){return this.form.get(t).hasError(e)}}},vkgz:function(t,e,n){"use strict";n.d(e,"a",function(){return o});var i=n("7o/Q");function a(){}var r=n("n6bG");function o(t,e,n){return function(i){return i.lift(new s(t,e,n))}}class s{constructor(t,e,n){this.nextOrObserver=t,this.error=e,this.complete=n}call(t,e){return e.subscribe(new l(t,this.nextOrObserver,this.error,this.complete))}}class l extends i.a{constructor(t,e,n,i){super(t),this._tapNext=a,this._tapError=a,this._tapComplete=a,this._tapError=n||a,this._tapComplete=i||a,Object(r.a)(e)?(this._context=this,this._tapNext=e):e&&(this._context=e,this._tapNext=e.next||a,this._tapError=e.error||a,this._tapComplete=e.complete||a)}_next(t){try{this._tapNext.call(this._context,t)}catch(e){return void this.destination.error(e)}this.destination.next(t)}_error(t){try{this._tapError.call(this._context,t)}catch(t){return void this.destination.error(t)}this.destination.error(t)}_complete(){try{this._tapComplete.call(this._context)}catch(t){return void this.destination.error(t)}return this.destination.complete()}}},vrAh:function(t,e,n){"use strict";n.d(e,"a",function(){return Y}),n.d(e,"b",function(){return U}),n.d(e,"c",function(){return B});var i=n("YEUz"),a=n("8LU1"),r=n("SCoL"),o=n("8Y7J"),s=n("UhP/"),l=n("quSY"),c=n("XNiG"),d=n("NXyV"),u=n("VRyK"),h=n("LRne"),m=n("xgIS"),p=n("SVse"),f=n("1O3W"),g=n("7KAL"),b=n("Ht+U"),_=n("1z/I"),y=n("s7LF"),v=n("Q2Ze"),C=n("IzEk"),w=n("eIep"),x=n("pLZG"),M=n("lJxs"),O=n("vkgz"),k=n("3E0/"),S=n("9gLZ");const T=["panel"];function P(t,e){if(1&t&&(o.Tb(0,"div",0,1),o.lc(2),o.Sb()),2&t){const t=e.id,n=o.fc();o.nc("id",n.id)("ngClass",n._classList),o.Db("aria-label",n.ariaLabel||null)("aria-labelledby",n._getPanelAriaLabelledby(t))}}const L=["*"];let D=0;class E{constructor(t,e){this.source=t,this.option=e}}class A{}const I=Object(s.x)(A),R=new o.s("mat-autocomplete-default-options",{providedIn:"root",factory:function(){return{autoActiveFirstOption:!1}}});let N=(()=>{class t extends I{constructor(t,e,n,i){super(),this._changeDetectorRef=t,this._elementRef=e,this._activeOptionChanges=l.a.EMPTY,this.showPanel=!1,this._isOpen=!1,this.displayWith=null,this.optionSelected=new o.o,this.opened=new o.o,this.closed=new o.o,this.optionActivated=new o.o,this._classList={},this.id="mat-autocomplete-"+D++,this.inertGroups=(null==i?void 0:i.SAFARI)||!1,this._autoActiveFirstOption=!!n.autoActiveFirstOption}get isOpen(){return this._isOpen&&this.showPanel}get autoActiveFirstOption(){return this._autoActiveFirstOption}set autoActiveFirstOption(t){this._autoActiveFirstOption=Object(a.c)(t)}set classList(t){this._classList=t&&t.length?Object(a.g)(t).reduce((t,e)=>(t[e]=!0,t),{}):{},this._setVisibilityClasses(this._classList),this._elementRef.nativeElement.className=""}ngAfterContentInit(){this._keyManager=new i.b(this.options).withWrap(),this._activeOptionChanges=this._keyManager.change.subscribe(t=>{this.optionActivated.emit({source:this,option:this.options.toArray()[t]||null})}),this._setVisibility()}ngOnDestroy(){this._activeOptionChanges.unsubscribe()}_setScrollTop(t){this.panel&&(this.panel.nativeElement.scrollTop=t)}_getScrollTop(){return this.panel?this.panel.nativeElement.scrollTop:0}_setVisibility(){this.showPanel=!!this.options.length,this._setVisibilityClasses(this._classList),this._changeDetectorRef.markForCheck()}_emitSelectEvent(t){const e=new E(this,t);this.optionSelected.emit(e)}_getPanelAriaLabelledby(t){return this.ariaLabel?null:this.ariaLabelledby?t+" "+this.ariaLabelledby:t}_setVisibilityClasses(t){t[this._visibleClass]=this.showPanel,t[this._hiddenClass]=!this.showPanel}}return t.\u0275fac=function(e){return new(e||t)(o.Nb(o.h),o.Nb(o.l),o.Nb(R),o.Nb(r.a))},t.\u0275dir=o.Ib({type:t,viewQuery:function(t,e){if(1&t&&(o.Lc(o.N,3),o.Lc(T,1)),2&t){let t;o.uc(t=o.cc())&&(e.template=t.first),o.uc(t=o.cc())&&(e.panel=t.first)}},inputs:{displayWith:"displayWith",autoActiveFirstOption:"autoActiveFirstOption",classList:["class","classList"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],panelWidth:"panelWidth"},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},features:[o.zb]}),t})(),Y=(()=>{class t extends N{constructor(){super(...arguments),this._visibleClass="mat-autocomplete-visible",this._hiddenClass="mat-autocomplete-hidden"}}return t.\u0275fac=function(e){return H(e||t)},t.\u0275cmp=o.Hb({type:t,selectors:[["mat-autocomplete"]],contentQueries:function(t,e,n){if(1&t&&(o.Gb(n,s.g,1),o.Gb(n,s.m,1)),2&t){let t;o.uc(t=o.cc())&&(e.optionGroups=t),o.uc(t=o.cc())&&(e.options=t)}},hostAttrs:[1,"mat-autocomplete"],inputs:{disableRipple:"disableRipple"},exportAs:["matAutocomplete"],features:[o.Bb([{provide:s.h,useExisting:t}]),o.zb],ngContentSelectors:L,decls:1,vars:0,consts:[["role","listbox",1,"mat-autocomplete-panel",3,"id","ngClass"],["panel",""]],template:function(t,e){1&t&&(o.mc(),o.Fc(0,P,3,4,"ng-template"))},directives:[p.j],styles:[".mat-autocomplete-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;visibility:hidden;max-width:none;max-height:256px;position:relative;width:100%;border-bottom-left-radius:4px;border-bottom-right-radius:4px}.mat-autocomplete-panel.mat-autocomplete-visible{visibility:visible}.mat-autocomplete-panel.mat-autocomplete-hidden{visibility:hidden}.mat-autocomplete-panel-above .mat-autocomplete-panel{border-radius:0;border-top-left-radius:4px;border-top-right-radius:4px}.mat-autocomplete-panel .mat-divider-horizontal{margin-top:-1px}.cdk-high-contrast-active .mat-autocomplete-panel{outline:solid 1px}mat-autocomplete{display:none}\n"],encapsulation:2,changeDetection:0}),t})();const H=o.Vb(Y),j=new o.s("mat-autocomplete-scroll-strategy"),F={provide:j,deps:[f.c],useFactory:function(t){return()=>t.scrollStrategies.reposition()}},z={provide:y.m,useExisting:Object(o.V)(()=>B),multi:!0};let V=(()=>{class t{constructor(t,e,n,i,a,r,o,s,h,m,p){this._element=t,this._overlay=e,this._viewContainerRef=n,this._zone=i,this._changeDetectorRef=a,this._dir=o,this._formField=s,this._document=h,this._viewportRuler=m,this._defaults=p,this._componentDestroyed=!1,this._autocompleteDisabled=!1,this._manuallyFloatingLabel=!1,this._viewportSubscription=l.a.EMPTY,this._canOpenOnNextFocus=!0,this._closeKeyEventStream=new c.a,this._windowBlurHandler=()=>{this._canOpenOnNextFocus=this._document.activeElement!==this._element.nativeElement||this.panelOpen},this._onChange=()=>{},this._onTouched=()=>{},this.position="auto",this.autocompleteAttribute="off",this._overlayAttached=!1,this.optionSelections=Object(d.a)(()=>this.autocomplete&&this.autocomplete.options?Object(u.a)(...this.autocomplete.options.map(t=>t.onSelectionChange)):this._zone.onStable.pipe(Object(C.a)(1),Object(w.a)(()=>this.optionSelections))),this._scrollStrategy=r}get autocompleteDisabled(){return this._autocompleteDisabled}set autocompleteDisabled(t){this._autocompleteDisabled=Object(a.c)(t)}ngAfterViewInit(){const t=this._getWindow();void 0!==t&&this._zone.runOutsideAngular(()=>t.addEventListener("blur",this._windowBlurHandler))}ngOnChanges(t){t.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}ngOnDestroy(){const t=this._getWindow();void 0!==t&&t.removeEventListener("blur",this._windowBlurHandler),this._viewportSubscription.unsubscribe(),this._componentDestroyed=!0,this._destroyPanel(),this._closeKeyEventStream.complete()}get panelOpen(){return this._overlayAttached&&this.autocomplete.showPanel}openPanel(){this._attachOverlay(),this._floatLabel()}closePanel(){this._resetLabel(),this._overlayAttached&&(this.panelOpen&&this.autocomplete.closed.emit(),this.autocomplete._isOpen=this._overlayAttached=!1,this._overlayRef&&this._overlayRef.hasAttached()&&(this._overlayRef.detach(),this._closingActionsSubscription.unsubscribe()),this._componentDestroyed||this._changeDetectorRef.detectChanges())}updatePosition(){this._overlayAttached&&this._overlayRef.updatePosition()}get panelClosingActions(){return Object(u.a)(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe(Object(x.a)(()=>this._overlayAttached)),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe(Object(x.a)(()=>this._overlayAttached)):Object(h.a)()).pipe(Object(M.a)(t=>t instanceof s.o?t:null))}get activeOption(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}_getOutsideClickStream(){return Object(u.a)(Object(m.a)(this._document,"click"),Object(m.a)(this._document,"auxclick"),Object(m.a)(this._document,"touchend")).pipe(Object(x.a)(t=>{const e=this._isInsideShadowRoot&&t.composedPath?t.composedPath()[0]:t.target,n=this._formField?this._formField._elementRef.nativeElement:null,i=this.connectedTo?this.connectedTo.elementRef.nativeElement:null;return this._overlayAttached&&e!==this._element.nativeElement&&(!n||!n.contains(e))&&(!i||!i.contains(e))&&!!this._overlayRef&&!this._overlayRef.overlayElement.contains(e)}))}writeValue(t){Promise.resolve(null).then(()=>this._setTriggerValue(t))}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this._element.nativeElement.disabled=t}_handleKeydown(t){const e=t.keyCode;if(e!==b.f||Object(b.r)(t)||t.preventDefault(),this.activeOption&&e===b.e&&this.panelOpen)this.activeOption._selectViaInteraction(),this._resetActiveItem(),t.preventDefault();else if(this.autocomplete){const n=this.autocomplete._keyManager.activeItem,i=e===b.o||e===b.c;this.panelOpen||e===b.n?this.autocomplete._keyManager.onKeydown(t):i&&this._canOpen()&&this.openPanel(),(i||this.autocomplete._keyManager.activeItem!==n)&&this._scrollToOption(this.autocomplete._keyManager.activeItemIndex||0)}}_handleInput(t){let e=t.target,n=e.value;"number"===e.type&&(n=""==n?null:parseFloat(n)),this._previousValue!==n&&(this._previousValue=n,this._onChange(n),this._canOpen()&&this._document.activeElement===t.target&&this.openPanel())}_handleFocus(){this._canOpenOnNextFocus?this._canOpen()&&(this._previousValue=this._element.nativeElement.value,this._attachOverlay(),this._floatLabel(!0)):this._canOpenOnNextFocus=!0}_floatLabel(t=!1){this._formField&&"auto"===this._formField.floatLabel&&(t?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}_resetLabel(){this._manuallyFloatingLabel&&(this._formField.floatLabel="auto",this._manuallyFloatingLabel=!1)}_subscribeToClosingActions(){const t=this._zone.onStable.pipe(Object(C.a)(1)),e=this.autocomplete.options.changes.pipe(Object(O.a)(()=>this._positionStrategy.reapplyLastPosition()),Object(k.a)(0));return Object(u.a)(t,e).pipe(Object(w.a)(()=>{const t=this.panelOpen;return this._resetActiveItem(),this.autocomplete._setVisibility(),this.panelOpen&&(this._overlayRef.updatePosition(),t!==this.panelOpen&&this.autocomplete.opened.emit()),this.panelClosingActions}),Object(C.a)(1)).subscribe(t=>this._setValueAndClose(t))}_destroyPanel(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}_setTriggerValue(t){const e=this.autocomplete&&this.autocomplete.displayWith?this.autocomplete.displayWith(t):t,n=null!=e?e:"";this._formField?this._formField._control.value=n:this._element.nativeElement.value=n,this._previousValue=n}_setValueAndClose(t){t&&t.source&&(this._clearPreviousSelectedOption(t.source),this._setTriggerValue(t.source.value),this._onChange(t.source.value),this._element.nativeElement.focus(),this.autocomplete._emitSelectEvent(t.source)),this.closePanel()}_clearPreviousSelectedOption(t){this.autocomplete.options.forEach(e=>{e!==t&&e.selected&&e.deselect()})}_attachOverlay(){var t;null==this._isInsideShadowRoot&&(this._isInsideShadowRoot=!!Object(r.c)(this._element.nativeElement));let e=this._overlayRef;e?(this._positionStrategy.setOrigin(this._getConnectedElement()),e.updateSize({width:this._getPanelWidth()})):(this._portal=new _.g(this.autocomplete.template,this._viewContainerRef,{id:null===(t=this._formField)||void 0===t?void 0:t._labelId}),e=this._overlay.create(this._getOverlayConfig()),this._overlayRef=e,e.keydownEvents().subscribe(t=>{(t.keyCode===b.f&&!Object(b.r)(t)||t.keyCode===b.o&&Object(b.r)(t,"altKey"))&&(this._resetActiveItem(),this._closeKeyEventStream.next(),t.stopPropagation(),t.preventDefault())}),this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&e&&e.updateSize({width:this._getPanelWidth()})})),e&&!e.hasAttached()&&(e.attach(this._portal),this._closingActionsSubscription=this._subscribeToClosingActions());const n=this.panelOpen;this.autocomplete._setVisibility(),this.autocomplete._isOpen=this._overlayAttached=!0,this.panelOpen&&n!==this.panelOpen&&this.autocomplete.opened.emit()}_getOverlayConfig(){var t;return new f.d({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir,panelClass:null===(t=this._defaults)||void 0===t?void 0:t.overlayPanelClass})}_getOverlayPosition(){const t=this._overlay.position().flexibleConnectedTo(this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(t),this._positionStrategy=t,t}_setStrategyPositions(t){const e=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],n=this._aboveClass,i=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:n},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:n}];let a;a="above"===this.position?i:"below"===this.position?e:[...e,...i],t.withPositions(a)}_getConnectedElement(){return this.connectedTo?this.connectedTo.elementRef:this._formField?this._formField.getConnectedOverlayOrigin():this._element}_getPanelWidth(){return this.autocomplete.panelWidth||this._getHostWidth()}_getHostWidth(){return this._getConnectedElement().nativeElement.getBoundingClientRect().width}_resetActiveItem(){const t=this.autocomplete;t.autoActiveFirstOption?t._keyManager.setFirstItemActive():t._keyManager.setActiveItem(-1)}_canOpen(){const t=this._element.nativeElement;return!t.readOnly&&!t.disabled&&!this._autocompleteDisabled}_getWindow(){var t;return(null===(t=this._document)||void 0===t?void 0:t.defaultView)||window}_scrollToOption(t){const e=this.autocomplete,n=Object(s.u)(t,e.options,e.optionGroups);if(0===t&&1===n)e._setScrollTop(0);else{const n=e.options.toArray()[t];if(n){const t=n._getHostElement(),i=Object(s.v)(t.offsetTop,t.offsetHeight,e._getScrollTop(),e.panel.nativeElement.offsetHeight);e._setScrollTop(i)}}}}return t.\u0275fac=function(e){return new(e||t)(o.Nb(o.l),o.Nb(f.c),o.Nb(o.R),o.Nb(o.B),o.Nb(o.h),o.Nb(j),o.Nb(S.b,8),o.Nb(v.a,9),o.Nb(p.d,8),o.Nb(g.e),o.Nb(R,8))},t.\u0275dir=o.Ib({type:t,inputs:{position:["matAutocompletePosition","position"],autocompleteAttribute:["autocomplete","autocompleteAttribute"],autocompleteDisabled:["matAutocompleteDisabled","autocompleteDisabled"],autocomplete:["matAutocomplete","autocomplete"],connectedTo:["matAutocompleteConnectedTo","connectedTo"]},features:[o.Ab]}),t})(),B=(()=>{class t extends V{constructor(){super(...arguments),this._aboveClass="mat-autocomplete-panel-above"}}return t.\u0275fac=function(e){return W(e||t)},t.\u0275dir=o.Ib({type:t,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-autocomplete-trigger"],hostVars:7,hostBindings:function(t,e){1&t&&o.bc("focusin",function(){return e._handleFocus()})("blur",function(){return e._onTouched()})("input",function(t){return e._handleInput(t)})("keydown",function(t){return e._handleKeydown(t)}),2&t&&o.Db("autocomplete",e.autocompleteAttribute)("role",e.autocompleteDisabled?null:"combobox")("aria-autocomplete",e.autocompleteDisabled?null:"list")("aria-activedescendant",e.panelOpen&&e.activeOption?e.activeOption.id:null)("aria-expanded",e.autocompleteDisabled?null:e.panelOpen.toString())("aria-owns",e.autocompleteDisabled||!e.panelOpen||null==e.autocomplete?null:e.autocomplete.id)("aria-haspopup",!e.autocompleteDisabled)},exportAs:["matAutocompleteTrigger"],features:[o.Bb([z]),o.zb]}),t})();const W=o.Vb(B);let U=(()=>{class t{}return t.\u0275mod=o.Lb({type:t}),t.\u0275inj=o.Kb({factory:function(e){return new(e||t)},providers:[F],imports:[[f.f,s.n,s.j,p.c],g.b,s.n,s.j]}),t})()},vuU3:function(t,e,n){"use strict";n.d(e,"a",function(){return i});class i{constructor(t){this.fb=t}}},vzmS:function(t,e,n){"use strict";n.d(e,"a",function(){return i});class i{constructor({activite1:t=null,activite2:e=null,activite3:n=null,activite4:i=null}){this.activite1=t,this.activite2=e,this.activite3=n,this.activite4=i}}},w1tV:function(t,e,n){"use strict";n.d(e,"a",function(){return s});var i=n("oB13"),a=n("x+ZX"),r=n("XNiG");function o(){return new r.a}function s(){return t=>Object(a.a)()(Object(i.a)(o)(t))}},wPIS:function(t,e,n){"use strict";n.d(e,"c",function(){return c}),n.d(e,"a",function(){return o}),n.d(e,"b",function(){return l});var i=n("8Y7J"),a=n("4R65"),r=function(){function t(){}return t.mapToArray=function(t){var e=[];for(var n in t)t.hasOwnProperty(n)&&e.push(t[n]);return e},t.handleEvent=function(t,e,n){0<e.observers.length&&t.run(function(){e.emit(n)})},t}(),o=function(){function t(t,e){this.element=t,this.zone=e,this.DEFAULT_ZOOM=1,this.DEFAULT_CENTER=Object(a.latLng)(38.907192,-77.036871),this.DEFAULT_FPZ_OPTIONS={},this.fitBoundsOptions=this.DEFAULT_FPZ_OPTIONS,this.panOptions=this.DEFAULT_FPZ_OPTIONS,this.zoomOptions=this.DEFAULT_FPZ_OPTIONS,this.zoomPanOptions=this.DEFAULT_FPZ_OPTIONS,this.options={},this.mapReady=new i.o,this.zoomChange=new i.o,this.centerChange=new i.o,this.onClick=new i.o,this.onDoubleClick=new i.o,this.onMouseDown=new i.o,this.onMouseUp=new i.o,this.onMouseMove=new i.o,this.onMouseOver=new i.o,this.onMouseOut=new i.o,this.onMapMove=new i.o,this.onMapMoveStart=new i.o,this.onMapMoveEnd=new i.o,this.onMapZoom=new i.o,this.onMapZoomStart=new i.o,this.onMapZoomEnd=new i.o,this.mapEventHandlers={}}return t.prototype.ngOnInit=function(){var t=this;this.zone.runOutsideAngular(function(){t.map=Object(a.map)(t.element.nativeElement,t.options),t.addMapEventListeners()}),null!=this.center&&null!=this.zoom&&this.setView(this.center,this.zoom),null!=this.fitBounds&&this.setFitBounds(this.fitBounds),null!=this.maxBounds&&this.setMaxBounds(this.maxBounds),null!=this.minZoom&&this.setMinZoom(this.minZoom),null!=this.maxZoom&&this.setMaxZoom(this.maxZoom),this.doResize(),this.mapReady.emit(this.map)},t.prototype.ngOnChanges=function(t){t.zoom&&t.center&&null!=this.zoom&&null!=this.center?this.setView(t.center.currentValue,t.zoom.currentValue):t.zoom?this.setZoom(t.zoom.currentValue):t.center&&this.setCenter(t.center.currentValue),t.fitBounds&&this.setFitBounds(t.fitBounds.currentValue),t.maxBounds&&this.setMaxBounds(t.maxBounds.currentValue),t.minZoom&&this.setMinZoom(t.minZoom.currentValue),t.maxZoom&&this.setMaxZoom(t.maxZoom.currentValue)},t.prototype.ngOnDestroy=function(){this.map.remove()},t.prototype.getMap=function(){return this.map},t.prototype.onResize=function(){this.delayResize()},t.prototype.addMapEventListeners=function(){var t=this,e=function(e,n){t.mapEventHandlers[e]=n,t.map.on(e,n)};e("click",function(e){return r.handleEvent(t.zone,t.onClick,e)}),e("dblclick",function(e){return r.handleEvent(t.zone,t.onDoubleClick,e)}),e("mousedown",function(e){return r.handleEvent(t.zone,t.onMouseDown,e)}),e("mouseup",function(e){return r.handleEvent(t.zone,t.onMouseUp,e)}),e("mouseover",function(e){return r.handleEvent(t.zone,t.onMouseOver,e)}),e("mouseout",function(e){return r.handleEvent(t.zone,t.onMouseOut,e)}),e("mousemove",function(e){return r.handleEvent(t.zone,t.onMouseMove,e)}),e("zoomstart",function(e){return r.handleEvent(t.zone,t.onMapZoomStart,e)}),e("zoom",function(e){return r.handleEvent(t.zone,t.onMapZoom,e)}),e("zoomend",function(e){return r.handleEvent(t.zone,t.onMapZoomEnd,e)}),e("movestart",function(e){return r.handleEvent(t.zone,t.onMapMoveStart,e)}),e("move",function(e){return r.handleEvent(t.zone,t.onMapMove,e)}),e("moveend",function(e){return r.handleEvent(t.zone,t.onMapMoveEnd,e)});var n=function(){var e=t.map.getZoom();e!==t.zoom&&(t.zoom=e,r.handleEvent(t.zone,t.zoomChange,e));var n=t.map.getCenter();null==n&&null==t.center||(null!=n&&null!=t.center||n===t.center)&&n.lat===t.center.lat&&n.lng===t.center.lng||(t.center=n,r.handleEvent(t.zone,t.centerChange,n))};e("moveend",n),e("zoomend",n)},t.prototype.doResize=function(){var t=this;this.zone.runOutsideAngular(function(){t.map.invalidateSize({})})},t.prototype.delayResize=function(){null!=this.resizeTimer&&clearTimeout(this.resizeTimer),this.resizeTimer=setTimeout(this.doResize.bind(this),200)},t.prototype.setView=function(t,e){this.map&&null!=t&&null!=e&&this.map.setView(t,e,this.zoomPanOptions)},t.prototype.setZoom=function(t){this.map&&null!=t&&this.map.setZoom(t,this.zoomOptions)},t.prototype.setCenter=function(t){this.map&&null!=t&&this.map.panTo(t,this.panOptions)},t.prototype.setFitBounds=function(t){this.map&&null!=t&&this.map.fitBounds(t,this.fitBoundsOptions)},t.prototype.setMaxBounds=function(t){this.map&&null!=t&&this.map.setMaxBounds(t)},t.prototype.setMinZoom=function(t){this.map&&null!=t&&this.map.setMinZoom(t)},t.prototype.setMaxZoom=function(t){this.map&&null!=t&&this.map.setMaxZoom(t)},t.\u0275fac=function(e){return new(e||t)(i.Nb(i.l),i.Nb(i.B))},t.\u0275dir=i.Ib({type:t,selectors:[["","leaflet",""]],hostBindings:function(t,e){1&t&&i.bc("resize",function(){return e.onResize()},!1,i.xc)},inputs:{fitBoundsOptions:["leafletFitBoundsOptions","fitBoundsOptions"],panOptions:["leafletPanOptions","panOptions"],zoomOptions:["leafletZoomOptions","zoomOptions"],zoomPanOptions:["leafletZoomPanOptions","zoomPanOptions"],options:["leafletOptions","options"],zoom:["leafletZoom","zoom"],center:["leafletCenter","center"],fitBounds:["leafletFitBounds","fitBounds"],maxBounds:["leafletMaxBounds","maxBounds"],minZoom:["leafletMinZoom","minZoom"],maxZoom:["leafletMaxZoom","maxZoom"]},outputs:{mapReady:"leafletMapReady",zoomChange:"leafletZoomChange",centerChange:"leafletCenterChange",onClick:"leafletClick",onDoubleClick:"leafletDoubleClick",onMouseDown:"leafletMouseDown",onMouseUp:"leafletMouseUp",onMouseMove:"leafletMouseMove",onMouseOver:"leafletMouseOver",onMouseOut:"leafletMouseOut",onMapMove:"leafletMapMove",onMapMoveStart:"leafletMapMoveStart",onMapMoveEnd:"leafletMapMoveEnd",onMapZoom:"leafletMapZoom",onMapZoomStart:"leafletMapZoomStart",onMapZoomEnd:"leafletMapZoomEnd"},features:[i.Ab]}),t}(),s=function(){function t(t){this.leafletDirective=t}return t.prototype.init=function(){},t.prototype.getMap=function(){return this.leafletDirective.getMap()},t}(),l=function(){function t(t,e,n){this.differs=e,this.zone=n,this.leafletDirective=new s(t),this.layersDiffer=this.differs.find([]).create()}return Object.defineProperty(t.prototype,"layers",{get:function(){return this.layersValue},set:function(t){this.layersValue=t,this.updateLayers()},enumerable:!1,configurable:!0}),t.prototype.ngDoCheck=function(){this.updateLayers()},t.prototype.ngOnInit=function(){this.leafletDirective.init(),this.updateLayers()},t.prototype.ngOnDestroy=function(){this.layers=[]},t.prototype.updateLayers=function(){var t=this.leafletDirective.getMap();if(null!=t&&null!=this.layersDiffer){var e=this.layersDiffer.diff(this.layersValue);null!=e&&this.zone.runOutsideAngular(function(){e.forEachRemovedItem(function(e){t.removeLayer(e.item)}),e.forEachAddedItem(function(e){t.addLayer(e.item)})})}},t.\u0275fac=function(e){return new(e||t)(i.Nb(o),i.Nb(i.u),i.Nb(i.B))},t.\u0275dir=i.Ib({type:t,selectors:[["","leafletLayers",""]],inputs:{layers:["leafletLayers","layers"]}}),t}(),c=function(){function t(){}return t.\u0275mod=i.Lb({type:t}),t.\u0275inj=i.Kb({factory:function(e){return new(e||t)}}),t}()},wQk9:function(t,e,n){!function(t){"use strict";t.defineLocale("tzm",{months:"\u2d49\u2d4f\u2d4f\u2d30\u2d62\u2d54_\u2d31\u2d55\u2d30\u2d62\u2d55_\u2d4e\u2d30\u2d55\u2d5a_\u2d49\u2d31\u2d54\u2d49\u2d54_\u2d4e\u2d30\u2d62\u2d62\u2d53_\u2d62\u2d53\u2d4f\u2d62\u2d53_\u2d62\u2d53\u2d4d\u2d62\u2d53\u2d63_\u2d56\u2d53\u2d5b\u2d5c_\u2d5b\u2d53\u2d5c\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d3d\u2d5f\u2d53\u2d31\u2d55_\u2d4f\u2d53\u2d61\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d37\u2d53\u2d4a\u2d4f\u2d31\u2d49\u2d54".split("_"),monthsShort:"\u2d49\u2d4f\u2d4f\u2d30\u2d62\u2d54_\u2d31\u2d55\u2d30\u2d62\u2d55_\u2d4e\u2d30\u2d55\u2d5a_\u2d49\u2d31\u2d54\u2d49\u2d54_\u2d4e\u2d30\u2d62\u2d62\u2d53_\u2d62\u2d53\u2d4f\u2d62\u2d53_\u2d62\u2d53\u2d4d\u2d62\u2d53\u2d63_\u2d56\u2d53\u2d5b\u2d5c_\u2d5b\u2d53\u2d5c\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d3d\u2d5f\u2d53\u2d31\u2d55_\u2d4f\u2d53\u2d61\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d37\u2d53\u2d4a\u2d4f\u2d31\u2d49\u2d54".split("_"),weekdays:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),weekdaysShort:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),weekdaysMin:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u2d30\u2d59\u2d37\u2d45 \u2d34] LT",nextDay:"[\u2d30\u2d59\u2d3d\u2d30 \u2d34] LT",nextWeek:"dddd [\u2d34] LT",lastDay:"[\u2d30\u2d5a\u2d30\u2d4f\u2d5c \u2d34] LT",lastWeek:"dddd [\u2d34] LT",sameElse:"L"},relativeTime:{future:"\u2d37\u2d30\u2d37\u2d45 \u2d59 \u2d62\u2d30\u2d4f %s",past:"\u2d62\u2d30\u2d4f %s",s:"\u2d49\u2d4e\u2d49\u2d3d",ss:"%d \u2d49\u2d4e\u2d49\u2d3d",m:"\u2d4e\u2d49\u2d4f\u2d53\u2d3a",mm:"%d \u2d4e\u2d49\u2d4f\u2d53\u2d3a",h:"\u2d59\u2d30\u2d44\u2d30",hh:"%d \u2d5c\u2d30\u2d59\u2d59\u2d30\u2d44\u2d49\u2d4f",d:"\u2d30\u2d59\u2d59",dd:"%d o\u2d59\u2d59\u2d30\u2d4f",M:"\u2d30\u2d62o\u2d53\u2d54",MM:"%d \u2d49\u2d62\u2d62\u2d49\u2d54\u2d4f",y:"\u2d30\u2d59\u2d33\u2d30\u2d59",yy:"%d \u2d49\u2d59\u2d33\u2d30\u2d59\u2d4f"},week:{dow:6,doy:12}})}(n("wd/R"))},"wa/n":function(t,e,n){"use strict";n.d(e,"a",function(){return a});var i=n("Qaas");class a{constructor({raisonSociale:t=null,numTVA:e=null,adresse:n={},email:a=null,noTVA:r=!1,codeNaf:o=null}){this.raisonSociale=t,this.numTVA=e,this.adresse=new i.a(n),this.email=a,this.noTVA=r,this.codeNaf=o}getForPost(){return Object.assign(Object.assign({},this),{adresse:this.adresse.getForPost()})}}},"wd/R":function(t,e,n){(function(t){t.exports=function(){"use strict";var e,i;function a(){return e.apply(null,arguments)}function r(t){return t instanceof Array||"[object Array]"===Object.prototype.toString.call(t)}function o(t){return null!=t&&"[object Object]"===Object.prototype.toString.call(t)}function s(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function l(t){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(t).length;var e;for(e in t)if(s(t,e))return!1;return!0}function c(t){return void 0===t}function d(t){return"number"==typeof t||"[object Number]"===Object.prototype.toString.call(t)}function u(t){return t instanceof Date||"[object Date]"===Object.prototype.toString.call(t)}function h(t,e){var n,i=[];for(n=0;n<t.length;++n)i.push(e(t[n],n));return i}function m(t,e){for(var n in e)s(e,n)&&(t[n]=e[n]);return s(e,"toString")&&(t.toString=e.toString),s(e,"valueOf")&&(t.valueOf=e.valueOf),t}function p(t,e,n,i){return Me(t,e,n,i,!0).utc()}function f(t){return null==t._pf&&(t._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}),t._pf}function g(t){if(null==t._isValid){var e=f(t),n=i.call(e.parsedDateParts,function(t){return null!=t}),a=!isNaN(t._d.getTime())&&e.overflow<0&&!e.empty&&!e.invalidEra&&!e.invalidMonth&&!e.invalidWeekday&&!e.weekdayMismatch&&!e.nullInput&&!e.invalidFormat&&!e.userInvalidated&&(!e.meridiem||e.meridiem&&n);if(t._strict&&(a=a&&0===e.charsLeftOver&&0===e.unusedTokens.length&&void 0===e.bigHour),null!=Object.isFrozen&&Object.isFrozen(t))return a;t._isValid=a}return t._isValid}function b(t){var e=p(NaN);return null!=t?m(f(e),t):f(e).userInvalidated=!0,e}i=Array.prototype.some?Array.prototype.some:function(t){var e,n=Object(this),i=n.length>>>0;for(e=0;e<i;e++)if(e in n&&t.call(this,n[e],e,n))return!0;return!1};var _=a.momentProperties=[],y=!1;function v(t,e){var n,i,a;if(c(e._isAMomentObject)||(t._isAMomentObject=e._isAMomentObject),c(e._i)||(t._i=e._i),c(e._f)||(t._f=e._f),c(e._l)||(t._l=e._l),c(e._strict)||(t._strict=e._strict),c(e._tzm)||(t._tzm=e._tzm),c(e._isUTC)||(t._isUTC=e._isUTC),c(e._offset)||(t._offset=e._offset),c(e._pf)||(t._pf=f(e)),c(e._locale)||(t._locale=e._locale),_.length>0)for(n=0;n<_.length;n++)c(a=e[i=_[n]])||(t[i]=a);return t}function C(t){v(this,t),this._d=new Date(null!=t._d?t._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===y&&(y=!0,a.updateOffset(this),y=!1)}function w(t){return t instanceof C||null!=t&&null!=t._isAMomentObject}function x(t){!1===a.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+t)}function M(t,e){var n=!0;return m(function(){if(null!=a.deprecationHandler&&a.deprecationHandler(null,t),n){var i,r,o,l=[];for(r=0;r<arguments.length;r++){if(i="","object"==typeof arguments[r]){for(o in i+="\n["+r+"] ",arguments[0])s(arguments[0],o)&&(i+=o+": "+arguments[0][o]+", ");i=i.slice(0,-2)}else i=arguments[r];l.push(i)}x(t+"\nArguments: "+Array.prototype.slice.call(l).join("")+"\n"+(new Error).stack),n=!1}return e.apply(this,arguments)},e)}var O,k={};function S(t,e){null!=a.deprecationHandler&&a.deprecationHandler(t,e),k[t]||(x(e),k[t]=!0)}function T(t){return"undefined"!=typeof Function&&t instanceof Function||"[object Function]"===Object.prototype.toString.call(t)}function P(t,e){var n,i=m({},t);for(n in e)s(e,n)&&(o(t[n])&&o(e[n])?(i[n]={},m(i[n],t[n]),m(i[n],e[n])):null!=e[n]?i[n]=e[n]:delete i[n]);for(n in t)s(t,n)&&!s(e,n)&&o(t[n])&&(i[n]=m({},i[n]));return i}function L(t){null!=t&&this.set(t)}function D(t,e,n){var i=""+Math.abs(t);return(t>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,e-i.length)).toString().substr(1)+i}a.suppressDeprecationWarnings=!1,a.deprecationHandler=null,O=Object.keys?Object.keys:function(t){var e,n=[];for(e in t)s(t,e)&&n.push(e);return n};var E=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,A=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,I={},R={};function N(t,e,n,i){var a=i;"string"==typeof i&&(a=function(){return this[i]()}),t&&(R[t]=a),e&&(R[e[0]]=function(){return D(a.apply(this,arguments),e[1],e[2])}),n&&(R[n]=function(){return this.localeData().ordinal(a.apply(this,arguments),t)})}function Y(t,e){return t.isValid()?(e=H(e,t.localeData()),I[e]=I[e]||function(t){var e,n,i,a=t.match(E);for(e=0,n=a.length;e<n;e++)a[e]=R[a[e]]?R[a[e]]:(i=a[e]).match(/\[[\s\S]/)?i.replace(/^\[|\]$/g,""):i.replace(/\\/g,"");return function(e){var i,r="";for(i=0;i<n;i++)r+=T(a[i])?a[i].call(e,t):a[i];return r}}(e),I[e](t)):t.localeData().invalidDate()}function H(t,e){var n=5;function i(t){return e.longDateFormat(t)||t}for(A.lastIndex=0;n>=0&&A.test(t);)t=t.replace(A,i),A.lastIndex=0,n-=1;return t}var j={};function F(t,e){var n=t.toLowerCase();j[n]=j[n+"s"]=j[e]=t}function z(t){return"string"==typeof t?j[t]||j[t.toLowerCase()]:void 0}function V(t){var e,n,i={};for(n in t)s(t,n)&&(e=z(n))&&(i[e]=t[n]);return i}var B={};function W(t,e){B[t]=e}function U(t){return t%4==0&&t%100!=0||t%400==0}function q(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function G(t){var e=+t,n=0;return 0!==e&&isFinite(e)&&(n=q(e)),n}function J(t,e){return function(n){return null!=n?($(this,t,n),a.updateOffset(this,e),this):Z(this,t)}}function Z(t,e){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+e]():NaN}function $(t,e,n){t.isValid()&&!isNaN(n)&&("FullYear"===e&&U(t.year())&&1===t.month()&&29===t.date()?(n=G(n),t._d["set"+(t._isUTC?"UTC":"")+e](n,t.month(),wt(n,t.month()))):t._d["set"+(t._isUTC?"UTC":"")+e](n))}var X,K=/\d/,Q=/\d\d/,tt=/\d{3}/,et=/\d{4}/,nt=/[+-]?\d{6}/,it=/\d\d?/,at=/\d\d\d\d?/,rt=/\d\d\d\d\d\d?/,ot=/\d{1,3}/,st=/\d{1,4}/,lt=/[+-]?\d{1,6}/,ct=/\d+/,dt=/[+-]?\d+/,ut=/Z|[+-]\d\d:?\d\d/gi,ht=/Z|[+-]\d\d(?::?\d\d)?/gi,mt=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function pt(t,e,n){X[t]=T(e)?e:function(t,i){return t&&n?n:e}}function ft(t,e){return s(X,t)?X[t](e._strict,e._locale):new RegExp(gt(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,e,n,i,a){return e||n||i||a})))}function gt(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}X={};var bt,_t={};function yt(t,e){var n,i=e;for("string"==typeof t&&(t=[t]),d(e)&&(i=function(t,n){n[e]=G(t)}),n=0;n<t.length;n++)_t[t[n]]=i}function vt(t,e){yt(t,function(t,n,i,a){i._w=i._w||{},e(t,i._w,i,a)})}function Ct(t,e,n){null!=e&&s(_t,t)&&_t[t](e,n._a,n,t)}function wt(t,e){if(isNaN(t)||isNaN(e))return NaN;var n=(e%12+12)%12;return t+=(e-n)/12,1===n?U(t)?29:28:31-n%7%2}bt=Array.prototype.indexOf?Array.prototype.indexOf:function(t){var e;for(e=0;e<this.length;++e)if(this[e]===t)return e;return-1},N("M",["MM",2],"Mo",function(){return this.month()+1}),N("MMM",0,0,function(t){return this.localeData().monthsShort(this,t)}),N("MMMM",0,0,function(t){return this.localeData().months(this,t)}),F("month","M"),W("month",8),pt("M",it),pt("MM",it,Q),pt("MMM",function(t,e){return e.monthsShortRegex(t)}),pt("MMMM",function(t,e){return e.monthsRegex(t)}),yt(["M","MM"],function(t,e){e[1]=G(t)-1}),yt(["MMM","MMMM"],function(t,e,n,i){var a=n._locale.monthsParse(t,i,n._strict);null!=a?e[1]=a:f(n).invalidMonth=t});var xt="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Mt="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Ot=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,kt=mt,St=mt;function Tt(t,e,n){var i,a,r,o=t.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],i=0;i<12;++i)r=p([2e3,i]),this._shortMonthsParse[i]=this.monthsShort(r,"").toLocaleLowerCase(),this._longMonthsParse[i]=this.months(r,"").toLocaleLowerCase();return n?"MMM"===e?-1!==(a=bt.call(this._shortMonthsParse,o))?a:null:-1!==(a=bt.call(this._longMonthsParse,o))?a:null:"MMM"===e?-1!==(a=bt.call(this._shortMonthsParse,o))||-1!==(a=bt.call(this._longMonthsParse,o))?a:null:-1!==(a=bt.call(this._longMonthsParse,o))||-1!==(a=bt.call(this._shortMonthsParse,o))?a:null}function Pt(t,e){var n;if(!t.isValid())return t;if("string"==typeof e)if(/^\d+$/.test(e))e=G(e);else if(!d(e=t.localeData().monthsParse(e)))return t;return n=Math.min(t.date(),wt(t.year(),e)),t._d["set"+(t._isUTC?"UTC":"")+"Month"](e,n),t}function Lt(t){return null!=t?(Pt(this,t),a.updateOffset(this,!0),this):Z(this,"Month")}function Dt(){function t(t,e){return e.length-t.length}var e,n,i=[],a=[],r=[];for(e=0;e<12;e++)n=p([2e3,e]),i.push(this.monthsShort(n,"")),a.push(this.months(n,"")),r.push(this.months(n,"")),r.push(this.monthsShort(n,""));for(i.sort(t),a.sort(t),r.sort(t),e=0;e<12;e++)i[e]=gt(i[e]),a[e]=gt(a[e]);for(e=0;e<24;e++)r[e]=gt(r[e]);this._monthsRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+i.join("|")+")","i")}function Et(t){return U(t)?366:365}N("Y",0,0,function(){var t=this.year();return t<=9999?D(t,4):"+"+t}),N(0,["YY",2],0,function(){return this.year()%100}),N(0,["YYYY",4],0,"year"),N(0,["YYYYY",5],0,"year"),N(0,["YYYYYY",6,!0],0,"year"),F("year","y"),W("year",1),pt("Y",dt),pt("YY",it,Q),pt("YYYY",st,et),pt("YYYYY",lt,nt),pt("YYYYYY",lt,nt),yt(["YYYYY","YYYYYY"],0),yt("YYYY",function(t,e){e[0]=2===t.length?a.parseTwoDigitYear(t):G(t)}),yt("YY",function(t,e){e[0]=a.parseTwoDigitYear(t)}),yt("Y",function(t,e){e[0]=parseInt(t,10)}),a.parseTwoDigitYear=function(t){return G(t)+(G(t)>68?1900:2e3)};var At=J("FullYear",!0);function It(t,e,n,i,a,r,o){var s;return t<100&&t>=0?(s=new Date(t+400,e,n,i,a,r,o),isFinite(s.getFullYear())&&s.setFullYear(t)):s=new Date(t,e,n,i,a,r,o),s}function Rt(t){var e,n;return t<100&&t>=0?((n=Array.prototype.slice.call(arguments))[0]=t+400,e=new Date(Date.UTC.apply(null,n)),isFinite(e.getUTCFullYear())&&e.setUTCFullYear(t)):e=new Date(Date.UTC.apply(null,arguments)),e}function Nt(t,e,n){var i=7+e-n;return-(7+Rt(t,0,i).getUTCDay()-e)%7+i-1}function Yt(t,e,n,i,a){var r,o,s=1+7*(e-1)+(7+n-i)%7+Nt(t,i,a);return s<=0?o=Et(r=t-1)+s:s>Et(t)?(r=t+1,o=s-Et(t)):(r=t,o=s),{year:r,dayOfYear:o}}function Ht(t,e,n){var i,a,r=Nt(t.year(),e,n),o=Math.floor((t.dayOfYear()-r-1)/7)+1;return o<1?i=o+jt(a=t.year()-1,e,n):o>jt(t.year(),e,n)?(i=o-jt(t.year(),e,n),a=t.year()+1):(a=t.year(),i=o),{week:i,year:a}}function jt(t,e,n){var i=Nt(t,e,n),a=Nt(t+1,e,n);return(Et(t)-i+a)/7}function Ft(t,e){return t.slice(e,7).concat(t.slice(0,e))}N("w",["ww",2],"wo","week"),N("W",["WW",2],"Wo","isoWeek"),F("week","w"),F("isoWeek","W"),W("week",5),W("isoWeek",5),pt("w",it),pt("ww",it,Q),pt("W",it),pt("WW",it,Q),vt(["w","ww","W","WW"],function(t,e,n,i){e[i.substr(0,1)]=G(t)}),N("d",0,"do","day"),N("dd",0,0,function(t){return this.localeData().weekdaysMin(this,t)}),N("ddd",0,0,function(t){return this.localeData().weekdaysShort(this,t)}),N("dddd",0,0,function(t){return this.localeData().weekdays(this,t)}),N("e",0,0,"weekday"),N("E",0,0,"isoWeekday"),F("day","d"),F("weekday","e"),F("isoWeekday","E"),W("day",11),W("weekday",11),W("isoWeekday",11),pt("d",it),pt("e",it),pt("E",it),pt("dd",function(t,e){return e.weekdaysMinRegex(t)}),pt("ddd",function(t,e){return e.weekdaysShortRegex(t)}),pt("dddd",function(t,e){return e.weekdaysRegex(t)}),vt(["dd","ddd","dddd"],function(t,e,n,i){var a=n._locale.weekdaysParse(t,i,n._strict);null!=a?e.d=a:f(n).invalidWeekday=t}),vt(["d","e","E"],function(t,e,n,i){e[i]=G(t)});var zt="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Vt="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Bt="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Wt=mt,Ut=mt,qt=mt;function Gt(t,e,n){var i,a,r,o=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],i=0;i<7;++i)r=p([2e3,1]).day(i),this._minWeekdaysParse[i]=this.weekdaysMin(r,"").toLocaleLowerCase(),this._shortWeekdaysParse[i]=this.weekdaysShort(r,"").toLocaleLowerCase(),this._weekdaysParse[i]=this.weekdays(r,"").toLocaleLowerCase();return n?"dddd"===e?-1!==(a=bt.call(this._weekdaysParse,o))?a:null:"ddd"===e?-1!==(a=bt.call(this._shortWeekdaysParse,o))?a:null:-1!==(a=bt.call(this._minWeekdaysParse,o))?a:null:"dddd"===e?-1!==(a=bt.call(this._weekdaysParse,o))||-1!==(a=bt.call(this._shortWeekdaysParse,o))||-1!==(a=bt.call(this._minWeekdaysParse,o))?a:null:"ddd"===e?-1!==(a=bt.call(this._shortWeekdaysParse,o))||-1!==(a=bt.call(this._weekdaysParse,o))||-1!==(a=bt.call(this._minWeekdaysParse,o))?a:null:-1!==(a=bt.call(this._minWeekdaysParse,o))||-1!==(a=bt.call(this._weekdaysParse,o))||-1!==(a=bt.call(this._shortWeekdaysParse,o))?a:null}function Jt(){function t(t,e){return e.length-t.length}var e,n,i,a,r,o=[],s=[],l=[],c=[];for(e=0;e<7;e++)n=p([2e3,1]).day(e),i=gt(this.weekdaysMin(n,"")),a=gt(this.weekdaysShort(n,"")),r=gt(this.weekdays(n,"")),o.push(i),s.push(a),l.push(r),c.push(i),c.push(a),c.push(r);o.sort(t),s.sort(t),l.sort(t),c.sort(t),this._weekdaysRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+o.join("|")+")","i")}function Zt(){return this.hours()%12||12}function $t(t,e){N(t,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)})}function Xt(t,e){return e._meridiemParse}N("H",["HH",2],0,"hour"),N("h",["hh",2],0,Zt),N("k",["kk",2],0,function(){return this.hours()||24}),N("hmm",0,0,function(){return""+Zt.apply(this)+D(this.minutes(),2)}),N("hmmss",0,0,function(){return""+Zt.apply(this)+D(this.minutes(),2)+D(this.seconds(),2)}),N("Hmm",0,0,function(){return""+this.hours()+D(this.minutes(),2)}),N("Hmmss",0,0,function(){return""+this.hours()+D(this.minutes(),2)+D(this.seconds(),2)}),$t("a",!0),$t("A",!1),F("hour","h"),W("hour",13),pt("a",Xt),pt("A",Xt),pt("H",it),pt("h",it),pt("k",it),pt("HH",it,Q),pt("hh",it,Q),pt("kk",it,Q),pt("hmm",at),pt("hmmss",rt),pt("Hmm",at),pt("Hmmss",rt),yt(["H","HH"],3),yt(["k","kk"],function(t,e,n){var i=G(t);e[3]=24===i?0:i}),yt(["a","A"],function(t,e,n){n._isPm=n._locale.isPM(t),n._meridiem=t}),yt(["h","hh"],function(t,e,n){e[3]=G(t),f(n).bigHour=!0}),yt("hmm",function(t,e,n){var i=t.length-2;e[3]=G(t.substr(0,i)),e[4]=G(t.substr(i)),f(n).bigHour=!0}),yt("hmmss",function(t,e,n){var i=t.length-4,a=t.length-2;e[3]=G(t.substr(0,i)),e[4]=G(t.substr(i,2)),e[5]=G(t.substr(a)),f(n).bigHour=!0}),yt("Hmm",function(t,e,n){var i=t.length-2;e[3]=G(t.substr(0,i)),e[4]=G(t.substr(i))}),yt("Hmmss",function(t,e,n){var i=t.length-4,a=t.length-2;e[3]=G(t.substr(0,i)),e[4]=G(t.substr(i,2)),e[5]=G(t.substr(a))});var Kt,Qt=J("Hours",!0),te={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:xt,monthsShort:Mt,week:{dow:0,doy:6},weekdays:zt,weekdaysMin:Bt,weekdaysShort:Vt,meridiemParse:/[ap]\.?m?\.?/i},ee={},ne={};function ie(t,e){var n,i=Math.min(t.length,e.length);for(n=0;n<i;n+=1)if(t[n]!==e[n])return n;return i}function ae(t){return t?t.toLowerCase().replace("_","-"):t}function re(e){var i=null;if(void 0===ee[e]&&void 0!==t&&t&&t.exports)try{i=Kt._abbr,n("RnhZ")("./"+e),oe(i)}catch(a){ee[e]=null}return ee[e]}function oe(t,e){var n;return t&&((n=c(e)?le(t):se(t,e))?Kt=n:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+t+" not found. Did you forget to load it?")),Kt._abbr}function se(t,e){if(null!==e){var n,i=te;if(e.abbr=t,null!=ee[t])S("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),i=ee[t]._config;else if(null!=e.parentLocale)if(null!=ee[e.parentLocale])i=ee[e.parentLocale]._config;else{if(null==(n=re(e.parentLocale)))return ne[e.parentLocale]||(ne[e.parentLocale]=[]),ne[e.parentLocale].push({name:t,config:e}),null;i=n._config}return ee[t]=new L(P(i,e)),ne[t]&&ne[t].forEach(function(t){se(t.name,t.config)}),oe(t),ee[t]}return delete ee[t],null}function le(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return Kt;if(!r(t)){if(e=re(t))return e;t=[t]}return function(t){for(var e,n,i,a,r=0;r<t.length;){for(e=(a=ae(t[r]).split("-")).length,n=(n=ae(t[r+1]))?n.split("-"):null;e>0;){if(i=re(a.slice(0,e).join("-")))return i;if(n&&n.length>=e&&ie(a,n)>=e-1)break;e--}r++}return Kt}(t)}function ce(t){var e,n=t._a;return n&&-2===f(t).overflow&&(e=n[1]<0||n[1]>11?1:n[2]<1||n[2]>wt(n[0],n[1])?2:n[3]<0||n[3]>24||24===n[3]&&(0!==n[4]||0!==n[5]||0!==n[6])?3:n[4]<0||n[4]>59?4:n[5]<0||n[5]>59?5:n[6]<0||n[6]>999?6:-1,f(t)._overflowDayOfYear&&(e<0||e>2)&&(e=2),f(t)._overflowWeeks&&-1===e&&(e=7),f(t)._overflowWeekday&&-1===e&&(e=8),f(t).overflow=e),t}var de=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,ue=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,he=/Z|[+-]\d\d(?::?\d\d)?/,me=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],pe=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],fe=/^\/?Date\((-?\d+)/i,ge=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,be={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function _e(t){var e,n,i,a,r,o,s=t._i,l=de.exec(s)||ue.exec(s);if(l){for(f(t).iso=!0,e=0,n=me.length;e<n;e++)if(me[e][1].exec(l[1])){a=me[e][0],i=!1!==me[e][2];break}if(null==a)return void(t._isValid=!1);if(l[3]){for(e=0,n=pe.length;e<n;e++)if(pe[e][1].exec(l[3])){r=(l[2]||" ")+pe[e][0];break}if(null==r)return void(t._isValid=!1)}if(!i&&null!=r)return void(t._isValid=!1);if(l[4]){if(!he.exec(l[4]))return void(t._isValid=!1);o="Z"}t._f=a+(r||"")+(o||""),we(t)}else t._isValid=!1}function ye(t){var e,n,i,a,r,o,s,l,c,d=ge.exec(t._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));if(d){if(n=d[3],i=d[2],a=d[5],r=d[6],o=d[7],s=[(l=d[4],c=parseInt(l,10),c<=49?2e3+c:c<=999?1900+c:c),Mt.indexOf(n),parseInt(i,10),parseInt(a,10),parseInt(r,10)],o&&s.push(parseInt(o,10)),!function(t,e,n){return!t||Vt.indexOf(t)===new Date(e[0],e[1],e[2]).getDay()||(f(n).weekdayMismatch=!0,n._isValid=!1,!1)}(d[1],e=s,t))return;t._a=e,t._tzm=function(t,e,n){if(t)return be[t];if(e)return 0;var i=parseInt(n,10),a=i%100;return(i-a)/100*60+a}(d[8],d[9],d[10]),t._d=Rt.apply(null,t._a),t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),f(t).rfc2822=!0}else t._isValid=!1}function ve(t,e,n){return null!=t?t:null!=e?e:n}function Ce(t){var e,n,i,r,o,s=[];if(!t._d){for(i=function(t){var e=new Date(a.now());return t._useUTC?[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()]:[e.getFullYear(),e.getMonth(),e.getDate()]}(t),t._w&&null==t._a[2]&&null==t._a[1]&&function(t){var e,n,i,a,r,o,s,l,c;null!=(e=t._w).GG||null!=e.W||null!=e.E?(r=1,o=4,n=ve(e.GG,t._a[0],Ht(Oe(),1,4).year),i=ve(e.W,1),((a=ve(e.E,1))<1||a>7)&&(l=!0)):(r=t._locale._week.dow,o=t._locale._week.doy,c=Ht(Oe(),r,o),n=ve(e.gg,t._a[0],c.year),i=ve(e.w,c.week),null!=e.d?((a=e.d)<0||a>6)&&(l=!0):null!=e.e?(a=e.e+r,(e.e<0||e.e>6)&&(l=!0)):a=r),i<1||i>jt(n,r,o)?f(t)._overflowWeeks=!0:null!=l?f(t)._overflowWeekday=!0:(s=Yt(n,i,a,r,o),t._a[0]=s.year,t._dayOfYear=s.dayOfYear)}(t),null!=t._dayOfYear&&(o=ve(t._a[0],i[0]),(t._dayOfYear>Et(o)||0===t._dayOfYear)&&(f(t)._overflowDayOfYear=!0),n=Rt(o,0,t._dayOfYear),t._a[1]=n.getUTCMonth(),t._a[2]=n.getUTCDate()),e=0;e<3&&null==t._a[e];++e)t._a[e]=s[e]=i[e];for(;e<7;e++)t._a[e]=s[e]=null==t._a[e]?2===e?1:0:t._a[e];24===t._a[3]&&0===t._a[4]&&0===t._a[5]&&0===t._a[6]&&(t._nextDay=!0,t._a[3]=0),t._d=(t._useUTC?Rt:It).apply(null,s),r=t._useUTC?t._d.getUTCDay():t._d.getDay(),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[3]=24),t._w&&void 0!==t._w.d&&t._w.d!==r&&(f(t).weekdayMismatch=!0)}}function we(t){if(t._f!==a.ISO_8601)if(t._f!==a.RFC_2822){t._a=[],f(t).empty=!0;var e,n,i,r,o,s,l=""+t._i,c=l.length,d=0;for(i=H(t._f,t._locale).match(E)||[],e=0;e<i.length;e++)(n=(l.match(ft(r=i[e],t))||[])[0])&&((o=l.substr(0,l.indexOf(n))).length>0&&f(t).unusedInput.push(o),l=l.slice(l.indexOf(n)+n.length),d+=n.length),R[r]?(n?f(t).empty=!1:f(t).unusedTokens.push(r),Ct(r,n,t)):t._strict&&!n&&f(t).unusedTokens.push(r);f(t).charsLeftOver=c-d,l.length>0&&f(t).unusedInput.push(l),t._a[3]<=12&&!0===f(t).bigHour&&t._a[3]>0&&(f(t).bigHour=void 0),f(t).parsedDateParts=t._a.slice(0),f(t).meridiem=t._meridiem,t._a[3]=function(t,e,n){var i;return null==n?e:null!=t.meridiemHour?t.meridiemHour(e,n):null!=t.isPM?((i=t.isPM(n))&&e<12&&(e+=12),i||12!==e||(e=0),e):e}(t._locale,t._a[3],t._meridiem),null!==(s=f(t).era)&&(t._a[0]=t._locale.erasConvertYear(s,t._a[0])),Ce(t),ce(t)}else ye(t);else _e(t)}function xe(t){var e=t._i,n=t._f;return t._locale=t._locale||le(t._l),null===e||void 0===n&&""===e?b({nullInput:!0}):("string"==typeof e&&(t._i=e=t._locale.preparse(e)),w(e)?new C(ce(e)):(u(e)?t._d=e:r(n)?function(t){var e,n,i,a,r,o,s=!1;if(0===t._f.length)return f(t).invalidFormat=!0,void(t._d=new Date(NaN));for(a=0;a<t._f.length;a++)r=0,o=!1,e=v({},t),null!=t._useUTC&&(e._useUTC=t._useUTC),e._f=t._f[a],we(e),g(e)&&(o=!0),r+=f(e).charsLeftOver,r+=10*f(e).unusedTokens.length,f(e).score=r,s?r<i&&(i=r,n=e):(null==i||r<i||o)&&(i=r,n=e,o&&(s=!0));m(t,n||e)}(t):n?we(t):function(t){var e=t._i;c(e)?t._d=new Date(a.now()):u(e)?t._d=new Date(e.valueOf()):"string"==typeof e?function(t){var e=fe.exec(t._i);null===e?(_e(t),!1===t._isValid&&(delete t._isValid,ye(t),!1===t._isValid&&(delete t._isValid,t._strict?t._isValid=!1:a.createFromInputFallback(t)))):t._d=new Date(+e[1])}(t):r(e)?(t._a=h(e.slice(0),function(t){return parseInt(t,10)}),Ce(t)):o(e)?function(t){if(!t._d){var e=V(t._i);t._a=h([e.year,e.month,void 0===e.day?e.date:e.day,e.hour,e.minute,e.second,e.millisecond],function(t){return t&&parseInt(t,10)}),Ce(t)}}(t):d(e)?t._d=new Date(e):a.createFromInputFallback(t)}(t),g(t)||(t._d=null),t))}function Me(t,e,n,i,a){var s,c={};return!0!==e&&!1!==e||(i=e,e=void 0),!0!==n&&!1!==n||(i=n,n=void 0),(o(t)&&l(t)||r(t)&&0===t.length)&&(t=void 0),c._isAMomentObject=!0,c._useUTC=c._isUTC=a,c._l=n,c._i=t,c._f=e,c._strict=i,(s=new C(ce(xe(c))))._nextDay&&(s.add(1,"d"),s._nextDay=void 0),s}function Oe(t,e,n,i){return Me(t,e,n,i,!1)}a.createFromInputFallback=M("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(t){t._d=new Date(t._i+(t._useUTC?" UTC":""))}),a.ISO_8601=function(){},a.RFC_2822=function(){};var ke=M("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=Oe.apply(null,arguments);return this.isValid()&&t.isValid()?t<this?this:t:b()}),Se=M("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=Oe.apply(null,arguments);return this.isValid()&&t.isValid()?t>this?this:t:b()});function Te(t,e){var n,i;if(1===e.length&&r(e[0])&&(e=e[0]),!e.length)return Oe();for(n=e[0],i=1;i<e.length;++i)e[i].isValid()&&!e[i][t](n)||(n=e[i]);return n}var Pe=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Le(t){var e=V(t),n=e.year||0,i=e.quarter||0,a=e.month||0,r=e.week||e.isoWeek||0,o=e.day||0,l=e.hour||0,c=e.minute||0,d=e.second||0,u=e.millisecond||0;this._isValid=function(t){var e,n,i=!1;for(e in t)if(s(t,e)&&(-1===bt.call(Pe,e)||null!=t[e]&&isNaN(t[e])))return!1;for(n=0;n<Pe.length;++n)if(t[Pe[n]]){if(i)return!1;parseFloat(t[Pe[n]])!==G(t[Pe[n]])&&(i=!0)}return!0}(e),this._milliseconds=+u+1e3*d+6e4*c+1e3*l*60*60,this._days=+o+7*r,this._months=+a+3*i+12*n,this._data={},this._locale=le(),this._bubble()}function De(t){return t instanceof Le}function Ee(t){return t<0?-1*Math.round(-1*t):Math.round(t)}function Ae(t,e){N(t,0,0,function(){var t=this.utcOffset(),n="+";return t<0&&(t=-t,n="-"),n+D(~~(t/60),2)+e+D(~~t%60,2)})}Ae("Z",":"),Ae("ZZ",""),pt("Z",ht),pt("ZZ",ht),yt(["Z","ZZ"],function(t,e,n){n._useUTC=!0,n._tzm=Re(ht,t)});var Ie=/([\+\-]|\d\d)/gi;function Re(t,e){var n,i,a=(e||"").match(t);return null===a?null:0===(i=60*(n=((a[a.length-1]||[])+"").match(Ie)||["-",0,0])[1]+G(n[2]))?0:"+"===n[0]?i:-i}function Ne(t,e){var n,i;return e._isUTC?(n=e.clone(),i=(w(t)||u(t)?t.valueOf():Oe(t).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+i),a.updateOffset(n,!1),n):Oe(t).local()}function Ye(t){return-Math.round(t._d.getTimezoneOffset())}function He(){return!!this.isValid()&&this._isUTC&&0===this._offset}a.updateOffset=function(){};var je=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Fe=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function ze(t,e){var n,i,a,r,o,l,c=t,u=null;return De(t)?c={ms:t._milliseconds,d:t._days,M:t._months}:d(t)||!isNaN(+t)?(c={},e?c[e]=+t:c.milliseconds=+t):(u=je.exec(t))?(n="-"===u[1]?-1:1,c={y:0,d:G(u[2])*n,h:G(u[3])*n,m:G(u[4])*n,s:G(u[5])*n,ms:G(Ee(1e3*u[6]))*n}):(u=Fe.exec(t))?c={y:Ve(u[2],n="-"===u[1]?-1:1),M:Ve(u[3],n),w:Ve(u[4],n),d:Ve(u[5],n),h:Ve(u[6],n),m:Ve(u[7],n),s:Ve(u[8],n)}:null==c?c={}:"object"==typeof c&&("from"in c||"to"in c)&&(r=Oe(c.from),o=Oe(c.to),a=r.isValid()&&o.isValid()?(o=Ne(o,r),r.isBefore(o)?l=Be(r,o):((l=Be(o,r)).milliseconds=-l.milliseconds,l.months=-l.months),l):{milliseconds:0,months:0},(c={}).ms=a.milliseconds,c.M=a.months),i=new Le(c),De(t)&&s(t,"_locale")&&(i._locale=t._locale),De(t)&&s(t,"_isValid")&&(i._isValid=t._isValid),i}function Ve(t,e){var n=t&&parseFloat(t.replace(",","."));return(isNaN(n)?0:n)*e}function Be(t,e){var n={};return n.months=e.month()-t.month()+12*(e.year()-t.year()),t.clone().add(n.months,"M").isAfter(e)&&--n.months,n.milliseconds=+e-+t.clone().add(n.months,"M"),n}function We(t,e){return function(n,i){var a;return null===i||isNaN(+i)||(S(e,"moment()."+e+"(period, number) is deprecated. Please use moment()."+e+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),a=n,n=i,i=a),Ue(this,ze(n,i),t),this}}function Ue(t,e,n,i){var r=e._milliseconds,o=Ee(e._days),s=Ee(e._months);t.isValid()&&(i=null==i||i,s&&Pt(t,Z(t,"Month")+s*n),o&&$(t,"Date",Z(t,"Date")+o*n),r&&t._d.setTime(t._d.valueOf()+r*n),i&&a.updateOffset(t,o||s))}ze.fn=Le.prototype,ze.invalid=function(){return ze(NaN)};var qe=We(1,"add"),Ge=We(-1,"subtract");function Je(t){return"string"==typeof t||t instanceof String}function Ze(t){return w(t)||u(t)||Je(t)||d(t)||function(t){var e=r(t),n=!1;return e&&(n=0===t.filter(function(e){return!d(e)&&Je(t)}).length),e&&n}(t)||function(t){var e,n=o(t)&&!l(t),i=!1,a=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"];for(e=0;e<a.length;e+=1)i=i||s(t,a[e]);return n&&i}(t)||null==t}function $e(t){var e,n=o(t)&&!l(t),i=!1,a=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(e=0;e<a.length;e+=1)i=i||s(t,a[e]);return n&&i}function Xe(t,e){if(t.date()<e.date())return-Xe(e,t);var n=12*(e.year()-t.year())+(e.month()-t.month()),i=t.clone().add(n,"months");return-(n+(e-i<0?(e-i)/(i-t.clone().add(n-1,"months")):(e-i)/(t.clone().add(n+1,"months")-i)))||0}function Ke(t){var e;return void 0===t?this._locale._abbr:(null!=(e=le(t))&&(this._locale=e),this)}a.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",a.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var Qe=M("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(t){return void 0===t?this.localeData():this.locale(t)});function tn(){return this._locale}function en(t,e){return(t%e+e)%e}function nn(t,e,n){return t<100&&t>=0?new Date(t+400,e,n)-126227808e5:new Date(t,e,n).valueOf()}function an(t,e,n){return t<100&&t>=0?Date.UTC(t+400,e,n)-126227808e5:Date.UTC(t,e,n)}function rn(t,e){return e.erasAbbrRegex(t)}function on(){var t,e,n=[],i=[],a=[],r=[],o=this.eras();for(t=0,e=o.length;t<e;++t)i.push(gt(o[t].name)),n.push(gt(o[t].abbr)),a.push(gt(o[t].narrow)),r.push(gt(o[t].name)),r.push(gt(o[t].abbr)),r.push(gt(o[t].narrow));this._erasRegex=new RegExp("^("+r.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+i.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+n.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+a.join("|")+")","i")}function sn(t,e){N(0,[t,t.length],0,e)}function ln(t,e,n,i,a){var r;return null==t?Ht(this,i,a).year:(e>(r=jt(t,i,a))&&(e=r),cn.call(this,t,e,n,i,a))}function cn(t,e,n,i,a){var r=Yt(t,e,n,i,a),o=Rt(r.year,0,r.dayOfYear);return this.year(o.getUTCFullYear()),this.month(o.getUTCMonth()),this.date(o.getUTCDate()),this}N("N",0,0,"eraAbbr"),N("NN",0,0,"eraAbbr"),N("NNN",0,0,"eraAbbr"),N("NNNN",0,0,"eraName"),N("NNNNN",0,0,"eraNarrow"),N("y",["y",1],"yo","eraYear"),N("y",["yy",2],0,"eraYear"),N("y",["yyy",3],0,"eraYear"),N("y",["yyyy",4],0,"eraYear"),pt("N",rn),pt("NN",rn),pt("NNN",rn),pt("NNNN",function(t,e){return e.erasNameRegex(t)}),pt("NNNNN",function(t,e){return e.erasNarrowRegex(t)}),yt(["N","NN","NNN","NNNN","NNNNN"],function(t,e,n,i){var a=n._locale.erasParse(t,i,n._strict);a?f(n).era=a:f(n).invalidEra=t}),pt("y",ct),pt("yy",ct),pt("yyy",ct),pt("yyyy",ct),pt("yo",function(t,e){return e._eraYearOrdinalRegex||ct}),yt(["y","yy","yyy","yyyy"],0),yt(["yo"],function(t,e,n,i){var a;n._locale._eraYearOrdinalRegex&&(a=t.match(n._locale._eraYearOrdinalRegex)),e[0]=n._locale.eraYearOrdinalParse?n._locale.eraYearOrdinalParse(t,a):parseInt(t,10)}),N(0,["gg",2],0,function(){return this.weekYear()%100}),N(0,["GG",2],0,function(){return this.isoWeekYear()%100}),sn("gggg","weekYear"),sn("ggggg","weekYear"),sn("GGGG","isoWeekYear"),sn("GGGGG","isoWeekYear"),F("weekYear","gg"),F("isoWeekYear","GG"),W("weekYear",1),W("isoWeekYear",1),pt("G",dt),pt("g",dt),pt("GG",it,Q),pt("gg",it,Q),pt("GGGG",st,et),pt("gggg",st,et),pt("GGGGG",lt,nt),pt("ggggg",lt,nt),vt(["gggg","ggggg","GGGG","GGGGG"],function(t,e,n,i){e[i.substr(0,2)]=G(t)}),vt(["gg","GG"],function(t,e,n,i){e[i]=a.parseTwoDigitYear(t)}),N("Q",0,"Qo","quarter"),F("quarter","Q"),W("quarter",7),pt("Q",K),yt("Q",function(t,e){e[1]=3*(G(t)-1)}),N("D",["DD",2],"Do","date"),F("date","D"),W("date",9),pt("D",it),pt("DD",it,Q),pt("Do",function(t,e){return t?e._dayOfMonthOrdinalParse||e._ordinalParse:e._dayOfMonthOrdinalParseLenient}),yt(["D","DD"],2),yt("Do",function(t,e){e[2]=G(t.match(it)[0])});var dn=J("Date",!0);N("DDD",["DDDD",3],"DDDo","dayOfYear"),F("dayOfYear","DDD"),W("dayOfYear",4),pt("DDD",ot),pt("DDDD",tt),yt(["DDD","DDDD"],function(t,e,n){n._dayOfYear=G(t)}),N("m",["mm",2],0,"minute"),F("minute","m"),W("minute",14),pt("m",it),pt("mm",it,Q),yt(["m","mm"],4);var un=J("Minutes",!1);N("s",["ss",2],0,"second"),F("second","s"),W("second",15),pt("s",it),pt("ss",it,Q),yt(["s","ss"],5);var hn,mn,pn=J("Seconds",!1);for(N("S",0,0,function(){return~~(this.millisecond()/100)}),N(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),N(0,["SSS",3],0,"millisecond"),N(0,["SSSS",4],0,function(){return 10*this.millisecond()}),N(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),N(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),N(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),N(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),N(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),F("millisecond","ms"),W("millisecond",16),pt("S",ot,K),pt("SS",ot,Q),pt("SSS",ot,tt),hn="SSSS";hn.length<=9;hn+="S")pt(hn,ct);function fn(t,e){e[6]=G(1e3*("0."+t))}for(hn="S";hn.length<=9;hn+="S")yt(hn,fn);mn=J("Milliseconds",!1),N("z",0,0,"zoneAbbr"),N("zz",0,0,"zoneName");var gn=C.prototype;function bn(t){return t}gn.add=qe,gn.calendar=function(t,e){1===arguments.length&&(arguments[0]?Ze(arguments[0])?(t=arguments[0],e=void 0):$e(arguments[0])&&(e=arguments[0],t=void 0):(t=void 0,e=void 0));var n=t||Oe(),i=Ne(n,this).startOf("day"),r=a.calendarFormat(this,i)||"sameElse",o=e&&(T(e[r])?e[r].call(this,n):e[r]);return this.format(o||this.localeData().calendar(r,this,Oe(n)))},gn.clone=function(){return new C(this)},gn.diff=function(t,e,n){var i,a,r;if(!this.isValid())return NaN;if(!(i=Ne(t,this)).isValid())return NaN;switch(a=6e4*(i.utcOffset()-this.utcOffset()),e=z(e)){case"year":r=Xe(this,i)/12;break;case"month":r=Xe(this,i);break;case"quarter":r=Xe(this,i)/3;break;case"second":r=(this-i)/1e3;break;case"minute":r=(this-i)/6e4;break;case"hour":r=(this-i)/36e5;break;case"day":r=(this-i-a)/864e5;break;case"week":r=(this-i-a)/6048e5;break;default:r=this-i}return n?r:q(r)},gn.endOf=function(t){var e,n;if(void 0===(t=z(t))||"millisecond"===t||!this.isValid())return this;switch(n=this._isUTC?an:nn,t){case"year":e=n(this.year()+1,0,1)-1;break;case"quarter":e=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":e=n(this.year(),this.month()+1,1)-1;break;case"week":e=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":e=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":e=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":e=this._d.valueOf(),e+=36e5-en(e+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":e=this._d.valueOf(),e+=6e4-en(e,6e4)-1;break;case"second":e=this._d.valueOf(),e+=1e3-en(e,1e3)-1}return this._d.setTime(e),a.updateOffset(this,!0),this},gn.format=function(t){t||(t=this.isUtc()?a.defaultFormatUtc:a.defaultFormat);var e=Y(this,t);return this.localeData().postformat(e)},gn.from=function(t,e){return this.isValid()&&(w(t)&&t.isValid()||Oe(t).isValid())?ze({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},gn.fromNow=function(t){return this.from(Oe(),t)},gn.to=function(t,e){return this.isValid()&&(w(t)&&t.isValid()||Oe(t).isValid())?ze({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},gn.toNow=function(t){return this.to(Oe(),t)},gn.get=function(t){return T(this[t=z(t)])?this[t]():this},gn.invalidAt=function(){return f(this).overflow},gn.isAfter=function(t,e){var n=w(t)?t:Oe(t);return!(!this.isValid()||!n.isValid())&&("millisecond"===(e=z(e)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(e).valueOf())},gn.isBefore=function(t,e){var n=w(t)?t:Oe(t);return!(!this.isValid()||!n.isValid())&&("millisecond"===(e=z(e)||"millisecond")?this.valueOf()<n.valueOf():this.clone().endOf(e).valueOf()<n.valueOf())},gn.isBetween=function(t,e,n,i){var a=w(t)?t:Oe(t),r=w(e)?e:Oe(e);return!!(this.isValid()&&a.isValid()&&r.isValid())&&("("===(i=i||"()")[0]?this.isAfter(a,n):!this.isBefore(a,n))&&(")"===i[1]?this.isBefore(r,n):!this.isAfter(r,n))},gn.isSame=function(t,e){var n,i=w(t)?t:Oe(t);return!(!this.isValid()||!i.isValid())&&("millisecond"===(e=z(e)||"millisecond")?this.valueOf()===i.valueOf():(n=i.valueOf(),this.clone().startOf(e).valueOf()<=n&&n<=this.clone().endOf(e).valueOf()))},gn.isSameOrAfter=function(t,e){return this.isSame(t,e)||this.isAfter(t,e)},gn.isSameOrBefore=function(t,e){return this.isSame(t,e)||this.isBefore(t,e)},gn.isValid=function(){return g(this)},gn.lang=Qe,gn.locale=Ke,gn.localeData=tn,gn.max=Se,gn.min=ke,gn.parsingFlags=function(){return m({},f(this))},gn.set=function(t,e){if("object"==typeof t){var n,i=function(t){var e,n=[];for(e in t)s(t,e)&&n.push({unit:e,priority:B[e]});return n.sort(function(t,e){return t.priority-e.priority}),n}(t=V(t));for(n=0;n<i.length;n++)this[i[n].unit](t[i[n].unit])}else if(T(this[t=z(t)]))return this[t](e);return this},gn.startOf=function(t){var e,n;if(void 0===(t=z(t))||"millisecond"===t||!this.isValid())return this;switch(n=this._isUTC?an:nn,t){case"year":e=n(this.year(),0,1);break;case"quarter":e=n(this.year(),this.month()-this.month()%3,1);break;case"month":e=n(this.year(),this.month(),1);break;case"week":e=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":e=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":e=n(this.year(),this.month(),this.date());break;case"hour":e=this._d.valueOf(),e-=en(e+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":e=this._d.valueOf(),e-=en(e,6e4);break;case"second":e=this._d.valueOf(),e-=en(e,1e3)}return this._d.setTime(e),a.updateOffset(this,!0),this},gn.subtract=Ge,gn.toArray=function(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]},gn.toObject=function(){var t=this;return{years:t.year(),months:t.month(),date:t.date(),hours:t.hours(),minutes:t.minutes(),seconds:t.seconds(),milliseconds:t.milliseconds()}},gn.toDate=function(){return new Date(this.valueOf())},gn.toISOString=function(t){if(!this.isValid())return null;var e=!0!==t,n=e?this.clone().utc():this;return n.year()<0||n.year()>9999?Y(n,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):T(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",Y(n,"Z")):Y(n,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},gn.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var t,e,n="moment",i="";return this.isLocal()||(n=0===this.utcOffset()?"moment.utc":"moment.parseZone",i="Z"),t="["+n+'("]',e=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(t+e+"-MM-DD[T]HH:mm:ss.SSS"+i+'[")]')},"undefined"!=typeof Symbol&&null!=Symbol.for&&(gn[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),gn.toJSON=function(){return this.isValid()?this.toISOString():null},gn.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},gn.unix=function(){return Math.floor(this.valueOf()/1e3)},gn.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},gn.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},gn.eraName=function(){var t,e,n,i=this.localeData().eras();for(t=0,e=i.length;t<e;++t){if(n=this.clone().startOf("day").valueOf(),i[t].since<=n&&n<=i[t].until)return i[t].name;if(i[t].until<=n&&n<=i[t].since)return i[t].name}return""},gn.eraNarrow=function(){var t,e,n,i=this.localeData().eras();for(t=0,e=i.length;t<e;++t){if(n=this.clone().startOf("day").valueOf(),i[t].since<=n&&n<=i[t].until)return i[t].narrow;if(i[t].until<=n&&n<=i[t].since)return i[t].narrow}return""},gn.eraAbbr=function(){var t,e,n,i=this.localeData().eras();for(t=0,e=i.length;t<e;++t){if(n=this.clone().startOf("day").valueOf(),i[t].since<=n&&n<=i[t].until)return i[t].abbr;if(i[t].until<=n&&n<=i[t].since)return i[t].abbr}return""},gn.eraYear=function(){var t,e,n,i,r=this.localeData().eras();for(t=0,e=r.length;t<e;++t)if(n=r[t].since<=r[t].until?1:-1,i=this.clone().startOf("day").valueOf(),r[t].since<=i&&i<=r[t].until||r[t].until<=i&&i<=r[t].since)return(this.year()-a(r[t].since).year())*n+r[t].offset;return this.year()},gn.year=At,gn.isLeapYear=function(){return U(this.year())},gn.weekYear=function(t){return ln.call(this,t,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},gn.isoWeekYear=function(t){return ln.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)},gn.quarter=gn.quarters=function(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)},gn.month=Lt,gn.daysInMonth=function(){return wt(this.year(),this.month())},gn.week=gn.weeks=function(t){var e=this.localeData().week(this);return null==t?e:this.add(7*(t-e),"d")},gn.isoWeek=gn.isoWeeks=function(t){var e=Ht(this,1,4).week;return null==t?e:this.add(7*(t-e),"d")},gn.weeksInYear=function(){var t=this.localeData()._week;return jt(this.year(),t.dow,t.doy)},gn.weeksInWeekYear=function(){var t=this.localeData()._week;return jt(this.weekYear(),t.dow,t.doy)},gn.isoWeeksInYear=function(){return jt(this.year(),1,4)},gn.isoWeeksInISOWeekYear=function(){return jt(this.isoWeekYear(),1,4)},gn.date=dn,gn.day=gn.days=function(t){if(!this.isValid())return null!=t?this:NaN;var e=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=t?(t=function(t,e){return"string"!=typeof t?t:isNaN(t)?"number"==typeof(t=e.weekdaysParse(t))?t:null:parseInt(t,10)}(t,this.localeData()),this.add(t-e,"d")):e},gn.weekday=function(t){if(!this.isValid())return null!=t?this:NaN;var e=(this.day()+7-this.localeData()._week.dow)%7;return null==t?e:this.add(t-e,"d")},gn.isoWeekday=function(t){if(!this.isValid())return null!=t?this:NaN;if(null!=t){var e=function(t,e){return"string"==typeof t?e.weekdaysParse(t)%7||7:isNaN(t)?null:t}(t,this.localeData());return this.day(this.day()%7?e:e-7)}return this.day()||7},gn.dayOfYear=function(t){var e=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==t?e:this.add(t-e,"d")},gn.hour=gn.hours=Qt,gn.minute=gn.minutes=un,gn.second=gn.seconds=pn,gn.millisecond=gn.milliseconds=mn,gn.utcOffset=function(t,e,n){var i,r=this._offset||0;if(!this.isValid())return null!=t?this:NaN;if(null!=t){if("string"==typeof t){if(null===(t=Re(ht,t)))return this}else Math.abs(t)<16&&!n&&(t*=60);return!this._isUTC&&e&&(i=Ye(this)),this._offset=t,this._isUTC=!0,null!=i&&this.add(i,"m"),r!==t&&(!e||this._changeInProgress?Ue(this,ze(t-r,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,a.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?r:Ye(this)},gn.utc=function(t){return this.utcOffset(0,t)},gn.local=function(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(Ye(this),"m")),this},gn.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var t=Re(ut,this._i);null!=t?this.utcOffset(t):this.utcOffset(0,!0)}return this},gn.hasAlignedHourOffset=function(t){return!!this.isValid()&&(t=t?Oe(t).utcOffset():0,(this.utcOffset()-t)%60==0)},gn.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},gn.isLocal=function(){return!!this.isValid()&&!this._isUTC},gn.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},gn.isUtc=He,gn.isUTC=He,gn.zoneAbbr=function(){return this._isUTC?"UTC":""},gn.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},gn.dates=M("dates accessor is deprecated. Use date instead.",dn),gn.months=M("months accessor is deprecated. Use month instead",Lt),gn.years=M("years accessor is deprecated. Use year instead",At),gn.zone=M("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(t,e){return null!=t?("string"!=typeof t&&(t=-t),this.utcOffset(t,e),this):-this.utcOffset()}),gn.isDSTShifted=M("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!c(this._isDSTShifted))return this._isDSTShifted;var t,e={};return v(e,this),(e=xe(e))._a?(t=e._isUTC?p(e._a):Oe(e._a),this._isDSTShifted=this.isValid()&&function(t,e,n){var i,a=Math.min(t.length,e.length),r=Math.abs(t.length-e.length),o=0;for(i=0;i<a;i++)G(t[i])!==G(e[i])&&o++;return o+r}(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted});var _n=L.prototype;function yn(t,e,n,i){var a=le(),r=p().set(i,e);return a[n](r,t)}function vn(t,e,n){if(d(t)&&(e=t,t=void 0),t=t||"",null!=e)return yn(t,e,n,"month");var i,a=[];for(i=0;i<12;i++)a[i]=yn(t,i,n,"month");return a}function Cn(t,e,n,i){"boolean"==typeof t?(d(e)&&(n=e,e=void 0),e=e||""):(n=e=t,t=!1,d(e)&&(n=e,e=void 0),e=e||"");var a,r=le(),o=t?r._week.dow:0,s=[];if(null!=n)return yn(e,(n+o)%7,i,"day");for(a=0;a<7;a++)s[a]=yn(e,(a+o)%7,i,"day");return s}_n.calendar=function(t,e,n){var i=this._calendar[t]||this._calendar.sameElse;return T(i)?i.call(e,n):i},_n.longDateFormat=function(t){var e=this._longDateFormat[t],n=this._longDateFormat[t.toUpperCase()];return e||!n?e:(this._longDateFormat[t]=n.match(E).map(function(t){return"MMMM"===t||"MM"===t||"DD"===t||"dddd"===t?t.slice(1):t}).join(""),this._longDateFormat[t])},_n.invalidDate=function(){return this._invalidDate},_n.ordinal=function(t){return this._ordinal.replace("%d",t)},_n.preparse=bn,_n.postformat=bn,_n.relativeTime=function(t,e,n,i){var a=this._relativeTime[n];return T(a)?a(t,e,n,i):a.replace(/%d/i,t)},_n.pastFuture=function(t,e){var n=this._relativeTime[t>0?"future":"past"];return T(n)?n(e):n.replace(/%s/i,e)},_n.set=function(t){var e,n;for(n in t)s(t,n)&&(T(e=t[n])?this[n]=e:this["_"+n]=e);this._config=t,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},_n.eras=function(t,e){var n,i,r,o=this._eras||le("en")._eras;for(n=0,i=o.length;n<i;++n){switch(typeof o[n].since){case"string":r=a(o[n].since).startOf("day"),o[n].since=r.valueOf()}switch(typeof o[n].until){case"undefined":o[n].until=1/0;break;case"string":r=a(o[n].until).startOf("day").valueOf(),o[n].until=r.valueOf()}}return o},_n.erasParse=function(t,e,n){var i,a,r,o,s,l=this.eras();for(t=t.toUpperCase(),i=0,a=l.length;i<a;++i)if(r=l[i].name.toUpperCase(),o=l[i].abbr.toUpperCase(),s=l[i].narrow.toUpperCase(),n)switch(e){case"N":case"NN":case"NNN":if(o===t)return l[i];break;case"NNNN":if(r===t)return l[i];break;case"NNNNN":if(s===t)return l[i]}else if([r,o,s].indexOf(t)>=0)return l[i]},_n.erasConvertYear=function(t,e){var n=t.since<=t.until?1:-1;return void 0===e?a(t.since).year():a(t.since).year()+(e-t.offset)*n},_n.erasAbbrRegex=function(t){return s(this,"_erasAbbrRegex")||on.call(this),t?this._erasAbbrRegex:this._erasRegex},_n.erasNameRegex=function(t){return s(this,"_erasNameRegex")||on.call(this),t?this._erasNameRegex:this._erasRegex},_n.erasNarrowRegex=function(t){return s(this,"_erasNarrowRegex")||on.call(this),t?this._erasNarrowRegex:this._erasRegex},_n.months=function(t,e){return t?r(this._months)?this._months[t.month()]:this._months[(this._months.isFormat||Ot).test(e)?"format":"standalone"][t.month()]:r(this._months)?this._months:this._months.standalone},_n.monthsShort=function(t,e){return t?r(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[Ot.test(e)?"format":"standalone"][t.month()]:r(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},_n.monthsParse=function(t,e,n){var i,a,r;if(this._monthsParseExact)return Tt.call(this,t,e,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),i=0;i<12;i++){if(a=p([2e3,i]),n&&!this._longMonthsParse[i]&&(this._longMonthsParse[i]=new RegExp("^"+this.months(a,"").replace(".","")+"$","i"),this._shortMonthsParse[i]=new RegExp("^"+this.monthsShort(a,"").replace(".","")+"$","i")),n||this._monthsParse[i]||(r="^"+this.months(a,"")+"|^"+this.monthsShort(a,""),this._monthsParse[i]=new RegExp(r.replace(".",""),"i")),n&&"MMMM"===e&&this._longMonthsParse[i].test(t))return i;if(n&&"MMM"===e&&this._shortMonthsParse[i].test(t))return i;if(!n&&this._monthsParse[i].test(t))return i}},_n.monthsRegex=function(t){return this._monthsParseExact?(s(this,"_monthsRegex")||Dt.call(this),t?this._monthsStrictRegex:this._monthsRegex):(s(this,"_monthsRegex")||(this._monthsRegex=St),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)},_n.monthsShortRegex=function(t){return this._monthsParseExact?(s(this,"_monthsRegex")||Dt.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(s(this,"_monthsShortRegex")||(this._monthsShortRegex=kt),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)},_n.week=function(t){return Ht(t,this._week.dow,this._week.doy).week},_n.firstDayOfYear=function(){return this._week.doy},_n.firstDayOfWeek=function(){return this._week.dow},_n.weekdays=function(t,e){var n=r(this._weekdays)?this._weekdays:this._weekdays[t&&!0!==t&&this._weekdays.isFormat.test(e)?"format":"standalone"];return!0===t?Ft(n,this._week.dow):t?n[t.day()]:n},_n.weekdaysMin=function(t){return!0===t?Ft(this._weekdaysMin,this._week.dow):t?this._weekdaysMin[t.day()]:this._weekdaysMin},_n.weekdaysShort=function(t){return!0===t?Ft(this._weekdaysShort,this._week.dow):t?this._weekdaysShort[t.day()]:this._weekdaysShort},_n.weekdaysParse=function(t,e,n){var i,a,r;if(this._weekdaysParseExact)return Gt.call(this,t,e,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),i=0;i<7;i++){if(a=p([2e3,1]).day(i),n&&!this._fullWeekdaysParse[i]&&(this._fullWeekdaysParse[i]=new RegExp("^"+this.weekdays(a,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[i]=new RegExp("^"+this.weekdaysShort(a,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[i]=new RegExp("^"+this.weekdaysMin(a,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[i]||(r="^"+this.weekdays(a,"")+"|^"+this.weekdaysShort(a,"")+"|^"+this.weekdaysMin(a,""),this._weekdaysParse[i]=new RegExp(r.replace(".",""),"i")),n&&"dddd"===e&&this._fullWeekdaysParse[i].test(t))return i;if(n&&"ddd"===e&&this._shortWeekdaysParse[i].test(t))return i;if(n&&"dd"===e&&this._minWeekdaysParse[i].test(t))return i;if(!n&&this._weekdaysParse[i].test(t))return i}},_n.weekdaysRegex=function(t){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||Jt.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(s(this,"_weekdaysRegex")||(this._weekdaysRegex=Wt),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)},_n.weekdaysShortRegex=function(t){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||Jt.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(s(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Ut),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},_n.weekdaysMinRegex=function(t){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||Jt.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(s(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=qt),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},_n.isPM=function(t){return"p"===(t+"").toLowerCase().charAt(0)},_n.meridiem=function(t,e,n){return t>11?n?"pm":"PM":n?"am":"AM"},oe("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10;return t+(1===G(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")}}),a.lang=M("moment.lang is deprecated. Use moment.locale instead.",oe),a.langData=M("moment.langData is deprecated. Use moment.localeData instead.",le);var wn=Math.abs;function xn(t,e,n,i){var a=ze(e,n);return t._milliseconds+=i*a._milliseconds,t._days+=i*a._days,t._months+=i*a._months,t._bubble()}function Mn(t){return t<0?Math.floor(t):Math.ceil(t)}function On(t){return 4800*t/146097}function kn(t){return 146097*t/4800}function Sn(t){return function(){return this.as(t)}}var Tn=Sn("ms"),Pn=Sn("s"),Ln=Sn("m"),Dn=Sn("h"),En=Sn("d"),An=Sn("w"),In=Sn("M"),Rn=Sn("Q"),Nn=Sn("y");function Yn(t){return function(){return this.isValid()?this._data[t]:NaN}}var Hn=Yn("milliseconds"),jn=Yn("seconds"),Fn=Yn("minutes"),zn=Yn("hours"),Vn=Yn("days"),Bn=Yn("months"),Wn=Yn("years"),Un=Math.round,qn={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Gn(t,e,n,i,a){return a.relativeTime(e||1,!!n,t,i)}var Jn=Math.abs;function Zn(t){return(t>0)-(t<0)||+t}function $n(){if(!this.isValid())return this.localeData().invalidDate();var t,e,n,i,a,r,o,s,l=Jn(this._milliseconds)/1e3,c=Jn(this._days),d=Jn(this._months),u=this.asSeconds();return u?(t=q(l/60),e=q(t/60),l%=60,t%=60,n=q(d/12),d%=12,i=l?l.toFixed(3).replace(/\.?0+$/,""):"",a=u<0?"-":"",r=Zn(this._months)!==Zn(u)?"-":"",o=Zn(this._days)!==Zn(u)?"-":"",s=Zn(this._milliseconds)!==Zn(u)?"-":"",a+"P"+(n?r+n+"Y":"")+(d?r+d+"M":"")+(c?o+c+"D":"")+(e||t||l?"T":"")+(e?s+e+"H":"")+(t?s+t+"M":"")+(l?s+i+"S":"")):"P0D"}var Xn=Le.prototype;return Xn.isValid=function(){return this._isValid},Xn.abs=function(){var t=this._data;return this._milliseconds=wn(this._milliseconds),this._days=wn(this._days),this._months=wn(this._months),t.milliseconds=wn(t.milliseconds),t.seconds=wn(t.seconds),t.minutes=wn(t.minutes),t.hours=wn(t.hours),t.months=wn(t.months),t.years=wn(t.years),this},Xn.add=function(t,e){return xn(this,t,e,1)},Xn.subtract=function(t,e){return xn(this,t,e,-1)},Xn.as=function(t){if(!this.isValid())return NaN;var e,n,i=this._milliseconds;if("month"===(t=z(t))||"quarter"===t||"year"===t)switch(n=this._months+On(e=this._days+i/864e5),t){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(e=this._days+Math.round(kn(this._months)),t){case"week":return e/7+i/6048e5;case"day":return e+i/864e5;case"hour":return 24*e+i/36e5;case"minute":return 1440*e+i/6e4;case"second":return 86400*e+i/1e3;case"millisecond":return Math.floor(864e5*e)+i;default:throw new Error("Unknown unit "+t)}},Xn.asMilliseconds=Tn,Xn.asSeconds=Pn,Xn.asMinutes=Ln,Xn.asHours=Dn,Xn.asDays=En,Xn.asWeeks=An,Xn.asMonths=In,Xn.asQuarters=Rn,Xn.asYears=Nn,Xn.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*G(this._months/12):NaN},Xn._bubble=function(){var t,e,n,i,a,r=this._milliseconds,o=this._days,s=this._months,l=this._data;return r>=0&&o>=0&&s>=0||r<=0&&o<=0&&s<=0||(r+=864e5*Mn(kn(s)+o),o=0,s=0),l.milliseconds=r%1e3,t=q(r/1e3),l.seconds=t%60,e=q(t/60),l.minutes=e%60,n=q(e/60),l.hours=n%24,o+=q(n/24),s+=a=q(On(o)),o-=Mn(kn(a)),i=q(s/12),s%=12,l.days=o,l.months=s,l.years=i,this},Xn.clone=function(){return ze(this)},Xn.get=function(t){return t=z(t),this.isValid()?this[t+"s"]():NaN},Xn.milliseconds=Hn,Xn.seconds=jn,Xn.minutes=Fn,Xn.hours=zn,Xn.days=Vn,Xn.weeks=function(){return q(this.days()/7)},Xn.months=Bn,Xn.years=Wn,Xn.humanize=function(t,e){if(!this.isValid())return this.localeData().invalidDate();var n,i,a=!1,r=qn;return"object"==typeof t&&(e=t,t=!1),"boolean"==typeof t&&(a=t),"object"==typeof e&&(r=Object.assign({},qn,e),null!=e.s&&null==e.ss&&(r.ss=e.s-1)),i=function(t,e,n,i){var a=ze(t).abs(),r=Un(a.as("s")),o=Un(a.as("m")),s=Un(a.as("h")),l=Un(a.as("d")),c=Un(a.as("M")),d=Un(a.as("w")),u=Un(a.as("y")),h=r<=n.ss&&["s",r]||r<n.s&&["ss",r]||o<=1&&["m"]||o<n.m&&["mm",o]||s<=1&&["h"]||s<n.h&&["hh",s]||l<=1&&["d"]||l<n.d&&["dd",l];return null!=n.w&&(h=h||d<=1&&["w"]||d<n.w&&["ww",d]),(h=h||c<=1&&["M"]||c<n.M&&["MM",c]||u<=1&&["y"]||["yy",u])[2]=e,h[3]=+t>0,h[4]=i,Gn.apply(null,h)}(this,!a,r,n=this.localeData()),a&&(i=n.pastFuture(+this,i)),n.postformat(i)},Xn.toISOString=$n,Xn.toString=$n,Xn.toJSON=$n,Xn.locale=Ke,Xn.localeData=tn,Xn.toIsoString=M("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",$n),Xn.lang=Qe,N("X",0,0,"unix"),N("x",0,0,"valueOf"),pt("x",dt),pt("X",/[+-]?\d+(\.\d{1,3})?/),yt("X",function(t,e,n){n._d=new Date(1e3*parseFloat(t))}),yt("x",function(t,e,n){n._d=new Date(G(t))}),a.version="2.29.1",e=Oe,a.fn=gn,a.min=function(){return Te("isBefore",[].slice.call(arguments,0))},a.max=function(){return Te("isAfter",[].slice.call(arguments,0))},a.now=function(){return Date.now?Date.now():+new Date},a.utc=p,a.unix=function(t){return Oe(1e3*t)},a.months=function(t,e){return vn(t,e,"months")},a.isDate=u,a.locale=oe,a.invalid=b,a.duration=ze,a.isMoment=w,a.weekdays=function(t,e,n){return Cn(t,e,n,"weekdays")},a.parseZone=function(){return Oe.apply(null,arguments).parseZone()},a.localeData=le,a.isDuration=De,a.monthsShort=function(t,e){return vn(t,e,"monthsShort")},a.weekdaysMin=function(t,e,n){return Cn(t,e,n,"weekdaysMin")},a.defineLocale=se,a.updateLocale=function(t,e){if(null!=e){var n,i,a=te;null!=ee[t]&&null!=ee[t].parentLocale?ee[t].set(P(ee[t]._config,e)):(null!=(i=re(t))&&(a=i._config),e=P(a,e),null==i&&(e.abbr=t),(n=new L(e)).parentLocale=ee[t],ee[t]=n),oe(t)}else null!=ee[t]&&(null!=ee[t].parentLocale?(ee[t]=ee[t].parentLocale,t===oe()&&oe(t)):null!=ee[t]&&delete ee[t]);return ee[t]},a.locales=function(){return O(ee)},a.weekdaysShort=function(t,e,n){return Cn(t,e,n,"weekdaysShort")},a.normalizeUnits=z,a.relativeTimeRounding=function(t){return void 0===t?Un:"function"==typeof t&&(Un=t,!0)},a.relativeTimeThreshold=function(t,e){return void 0!==qn[t]&&(void 0===e?qn[t]:(qn[t]=e,"s"===t&&(qn.ss=e-1),!0))},a.calendarFormat=function(t,e){var n=t.diff(e,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"},a.prototype=gn,a.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},a}()}).call(this,n("YuTi")(t))},"x+ZX":function(t,e,n){"use strict";n.d(e,"a",function(){return a});var i=n("7o/Q");function a(){return function(t){return t.lift(new r(t))}}class r{constructor(t){this.connectable=t}call(t,e){const{connectable:n}=this;n._refCount++;const i=new o(t,n),a=e.subscribe(i);return i.closed||(i.connection=n.connect()),a}}class o extends i.a{constructor(t,e){super(t),this.connectable=e}_unsubscribe(){const{connectable:t}=this;if(!t)return void(this.connection=null);this.connectable=null;const e=t._refCount;if(e<=0)return void(this.connection=null);if(t._refCount=e-1,e>1)return void(this.connection=null);const{connection:n}=this,i=t._connection;this.connection=null,!i||n&&i!==n||i.unsubscribe()}}},x6pH:function(t,e,n){!function(t){"use strict";t.defineLocale("he",{months:"\u05d9\u05e0\u05d5\u05d0\u05e8_\u05e4\u05d1\u05e8\u05d5\u05d0\u05e8_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u05d9\u05dc_\u05de\u05d0\u05d9_\u05d9\u05d5\u05e0\u05d9_\u05d9\u05d5\u05dc\u05d9_\u05d0\u05d5\u05d2\u05d5\u05e1\u05d8_\u05e1\u05e4\u05d8\u05de\u05d1\u05e8_\u05d0\u05d5\u05e7\u05d8\u05d5\u05d1\u05e8_\u05e0\u05d5\u05d1\u05de\u05d1\u05e8_\u05d3\u05e6\u05de\u05d1\u05e8".split("_"),monthsShort:"\u05d9\u05e0\u05d5\u05f3_\u05e4\u05d1\u05e8\u05f3_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u05f3_\u05de\u05d0\u05d9_\u05d9\u05d5\u05e0\u05d9_\u05d9\u05d5\u05dc\u05d9_\u05d0\u05d5\u05d2\u05f3_\u05e1\u05e4\u05d8\u05f3_\u05d0\u05d5\u05e7\u05f3_\u05e0\u05d5\u05d1\u05f3_\u05d3\u05e6\u05de\u05f3".split("_"),weekdays:"\u05e8\u05d0\u05e9\u05d5\u05df_\u05e9\u05e0\u05d9_\u05e9\u05dc\u05d9\u05e9\u05d9_\u05e8\u05d1\u05d9\u05e2\u05d9_\u05d7\u05de\u05d9\u05e9\u05d9_\u05e9\u05d9\u05e9\u05d9_\u05e9\u05d1\u05ea".split("_"),weekdaysShort:"\u05d0\u05f3_\u05d1\u05f3_\u05d2\u05f3_\u05d3\u05f3_\u05d4\u05f3_\u05d5\u05f3_\u05e9\u05f3".split("_"),weekdaysMin:"\u05d0_\u05d1_\u05d2_\u05d3_\u05d4_\u05d5_\u05e9".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [\u05d1]MMMM YYYY",LLL:"D [\u05d1]MMMM YYYY HH:mm",LLLL:"dddd, D [\u05d1]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[\u05d4\u05d9\u05d5\u05dd \u05d1\u05be]LT",nextDay:"[\u05de\u05d7\u05e8 \u05d1\u05be]LT",nextWeek:"dddd [\u05d1\u05e9\u05e2\u05d4] LT",lastDay:"[\u05d0\u05ea\u05de\u05d5\u05dc \u05d1\u05be]LT",lastWeek:"[\u05d1\u05d9\u05d5\u05dd] dddd [\u05d4\u05d0\u05d7\u05e8\u05d5\u05df \u05d1\u05e9\u05e2\u05d4] LT",sameElse:"L"},relativeTime:{future:"\u05d1\u05e2\u05d5\u05d3 %s",past:"\u05dc\u05e4\u05e0\u05d9 %s",s:"\u05de\u05e1\u05e4\u05e8 \u05e9\u05e0\u05d9\u05d5\u05ea",ss:"%d \u05e9\u05e0\u05d9\u05d5\u05ea",m:"\u05d3\u05e7\u05d4",mm:"%d \u05d3\u05e7\u05d5\u05ea",h:"\u05e9\u05e2\u05d4",hh:function(t){return 2===t?"\u05e9\u05e2\u05ea\u05d9\u05d9\u05dd":t+" \u05e9\u05e2\u05d5\u05ea"},d:"\u05d9\u05d5\u05dd",dd:function(t){return 2===t?"\u05d9\u05d5\u05de\u05d9\u05d9\u05dd":t+" \u05d9\u05de\u05d9\u05dd"},M:"\u05d7\u05d5\u05d3\u05e9",MM:function(t){return 2===t?"\u05d7\u05d5\u05d3\u05e9\u05d9\u05d9\u05dd":t+" \u05d7\u05d5\u05d3\u05e9\u05d9\u05dd"},y:"\u05e9\u05e0\u05d4",yy:function(t){return 2===t?"\u05e9\u05e0\u05ea\u05d9\u05d9\u05dd":t%10==0&&10!==t?t+" \u05e9\u05e0\u05d4":t+" \u05e9\u05e0\u05d9\u05dd"}},meridiemParse:/\u05d0\u05d7\u05d4"\u05e6|\u05dc\u05e4\u05e0\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8|\u05d1\u05d1\u05d5\u05e7\u05e8|\u05d1\u05e2\u05e8\u05d1/i,isPM:function(t){return/^(\u05d0\u05d7\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05d1\u05e2\u05e8\u05d1)$/.test(t)},meridiem:function(t,e,n){return t<5?"\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8":t<10?"\u05d1\u05d1\u05d5\u05e7\u05e8":t<12?n?'\u05dc\u05e4\u05e0\u05d4"\u05e6':"\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":t<18?n?'\u05d0\u05d7\u05d4"\u05e6':"\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":"\u05d1\u05e2\u05e8\u05d1"}})}(n("wd/R"))},xgIS:function(t,e,n){"use strict";n.d(e,"a",function(){return s});var i=n("HDdC"),a=n("DH7j"),r=n("n6bG"),o=n("lJxs");function s(t,e,n,c){return Object(r.a)(n)&&(c=n,n=void 0),c?s(t,e,n).pipe(Object(o.a)(t=>Object(a.a)(t)?c(...t):c(t))):new i.a(i=>{l(t,e,function(t){i.next(arguments.length>1?Array.prototype.slice.call(arguments):t)},i,n)})}function l(t,e,n,i,a){let r;if(function(t){return t&&"function"==typeof t.addEventListener&&"function"==typeof t.removeEventListener}(t)){const i=t;t.addEventListener(e,n,a),r=()=>i.removeEventListener(e,n,a)}else if(function(t){return t&&"function"==typeof t.on&&"function"==typeof t.off}(t)){const i=t;t.on(e,n),r=()=>i.off(e,n)}else if(function(t){return t&&"function"==typeof t.addListener&&"function"==typeof t.removeListener}(t)){const i=t;t.addListener(e,n),r=()=>i.removeListener(e,n)}else{if(!t||!t.length)throw new TypeError("Invalid event target");for(let r=0,o=t.length;r<o;r++)l(t[r],e,n,i,a)}i.add(r)}},xuwl:function(t,e,n){"use strict";n.d(e,"a",function(){return i});var i=function(t){return t.INTERNAL="INTERNAL",t.BAD_CREDENTIALS="BAD_CREDENTIALS",t.EXPIRED_PASSWORD="EXPIRED_PASSWORD",t.USER_DELETED="USER_DELETED",t.BLOCKED_ACCOUNT="BLOCKED_ACCOUNT",t.RESET_PASSWORD="RESET_PASSWORD",t}({})},y5Tt:function(t,e,n){"use strict";n.d(e,"a",function(){return c});var i=n("cXaA"),a=n("lJxs"),r=n("05l1"),o=n("x+ZX"),s=n("8Y7J"),l=n("IheW");let c=(()=>{class t{constructor(t){this.http=t,this.log=i.a.create("DeclarationService"),this.END_POINT_DEPART="/api/departements",this.END_POINT_REGION="/api/regions"}searchCommunesByCPCommune(t={codePostal:"",commune:"",limit:1}){const e=this.END_POINT_DEPART+"/communes/search";return this.log.data(`[HTTP] (POST) -> ${e}`),this.http.post(e,t).pipe(Object(a.a)(t=>t.length?t:[{error:"Aucun Enregistrement Trouv\xe9"}]))}getDepartements(){return this.log.data(`[HTTP] (GET) -> ${this.END_POINT_DEPART}`),this.http.get(this.END_POINT_DEPART).pipe(Object(r.a)(),Object(o.a)())}getRegions(){return this.log.data(`[HTTP] (GET) -> ${this.END_POINT_REGION}`),this.http.get(this.END_POINT_REGION).pipe(Object(r.a)(),Object(o.a)())}}return t.\u0275fac=function(e){return new(e||t)(s.Xb(l.b))},t.\u0275prov=s.Jb({token:t,factory:t.\u0275fac,providedIn:"root"}),t})()},y7ui:function(t,e,n){"use strict";n.d(e,"a",function(){return m}),n.d(e,"b",function(){return v}),n.d(e,"c",function(){return b}),n.d(e,"d",function(){return M}),n.d(e,"e",function(){return _}),n.d(e,"f",function(){return g}),n.d(e,"g",function(){return p}),n.d(e,"h",function(){return w}),n.d(e,"i",function(){return x}),n.d(e,"j",function(){return h});var i=n("CtHx"),a=n("7+OI"),r=n("XNiG"),o=n("2Vo4"),s=n("LRne"),l=(n("IzEk"),n("pLZG"),n("1G5W")),c=n("8Y7J"),d=n("8LU1"),u=n("9gLZ");class h extends class{constructor(){this.expansionModel=new i.c(!0)}toggle(t){this.expansionModel.toggle(this._trackByValue(t))}expand(t){this.expansionModel.select(this._trackByValue(t))}collapse(t){this.expansionModel.deselect(this._trackByValue(t))}isExpanded(t){return this.expansionModel.isSelected(this._trackByValue(t))}toggleDescendants(t){this.expansionModel.isSelected(this._trackByValue(t))?this.collapseDescendants(t):this.expandDescendants(t)}collapseAll(){this.expansionModel.clear()}expandDescendants(t){let e=[t];e.push(...this.getDescendants(t)),this.expansionModel.select(...e.map(t=>this._trackByValue(t)))}collapseDescendants(t){let e=[t];e.push(...this.getDescendants(t)),this.expansionModel.deselect(...e.map(t=>this._trackByValue(t)))}_trackByValue(t){return this.trackBy?this.trackBy(t):t}}{constructor(t,e,n){super(),this.getLevel=t,this.isExpandable=e,this.options=n,this.options&&(this.trackBy=this.options.trackBy)}getDescendants(t){const e=[];for(let n=this.dataNodes.indexOf(t)+1;n<this.dataNodes.length&&this.getLevel(t)<this.getLevel(this.dataNodes[n]);n++)e.push(this.dataNodes[n]);return e}expandAll(){this.expansionModel.select(...this.dataNodes.map(t=>this._trackByValue(t)))}}const m=new c.s("CDK_TREE_NODE_OUTLET_NODE");let p=(()=>{class t{constructor(t,e){this.viewContainer=t,this._node=e}}return t.\u0275fac=function(e){return new(e||t)(c.Nb(c.R),c.Nb(m,8))},t.\u0275dir=c.Ib({type:t,selectors:[["","cdkTreeNodeOutlet",""]]}),t})();class f{constructor(t){this.$implicit=t}}let g=(()=>{class t{constructor(t){this.template=t}}return t.\u0275fac=function(e){return new(e||t)(c.Nb(c.N))},t.\u0275dir=c.Ib({type:t,selectors:[["","cdkTreeNodeDef",""]],inputs:{when:["cdkTreeNodeDefWhen","when"]}}),t})(),b=(()=>{class t{constructor(t,e){this._differs=t,this._changeDetectorRef=e,this._onDestroy=new r.a,this._levels=new Map,this.viewChange=new o.a({start:0,end:Number.MAX_VALUE})}get dataSource(){return this._dataSource}set dataSource(t){this._dataSource!==t&&this._switchDataSource(t)}ngOnInit(){this._dataDiffer=this._differs.find([]).create(this.trackBy)}ngOnDestroy(){this._nodeOutlet.viewContainer.clear(),this.viewChange.complete(),this._onDestroy.next(),this._onDestroy.complete(),this._dataSource&&"function"==typeof this._dataSource.disconnect&&this.dataSource.disconnect(this),this._dataSubscription&&(this._dataSubscription.unsubscribe(),this._dataSubscription=null)}ngAfterContentChecked(){const t=this._nodeDefs.filter(t=>!t.when);this._defaultNodeDef=t[0],this.dataSource&&this._nodeDefs&&!this._dataSubscription&&this._observeRenderChanges()}_switchDataSource(t){this._dataSource&&"function"==typeof this._dataSource.disconnect&&this.dataSource.disconnect(this),this._dataSubscription&&(this._dataSubscription.unsubscribe(),this._dataSubscription=null),t||this._nodeOutlet.viewContainer.clear(),this._dataSource=t,this._nodeDefs&&this._observeRenderChanges()}_observeRenderChanges(){let t;Object(i.h)(this._dataSource)?t=this._dataSource.connect(this):Object(a.a)(this._dataSource)?t=this._dataSource:Array.isArray(this._dataSource)&&(t=Object(s.a)(this._dataSource)),t&&(this._dataSubscription=t.pipe(Object(l.a)(this._onDestroy)).subscribe(t=>this.renderNodeChanges(t)))}renderNodeChanges(t,e=this._dataDiffer,n=this._nodeOutlet.viewContainer,i){const a=e.diff(t);a&&(a.forEachOperation((e,a,r)=>{if(null==e.previousIndex)this.insertNode(t[r],r,n,i);else if(null==r)n.remove(a),this._levels.delete(e.item);else{const t=n.get(a);n.move(t,r)}}),this._changeDetectorRef.detectChanges())}_getNodeDef(t,e){return 1===this._nodeDefs.length?this._nodeDefs.first:this._nodeDefs.find(n=>n.when&&n.when(e,t))||this._defaultNodeDef}insertNode(t,e,n,i){const a=this._getNodeDef(t,e),r=new f(t);r.level=this.treeControl.getLevel?this.treeControl.getLevel(t):void 0!==i&&this._levels.has(i)?this._levels.get(i)+1:0,this._levels.set(t,r.level),(n||this._nodeOutlet.viewContainer).createEmbeddedView(a.template,r,e),_.mostRecentTreeNode&&(_.mostRecentTreeNode.data=t)}}return t.\u0275fac=function(e){return new(e||t)(c.Nb(c.u),c.Nb(c.h))},t.\u0275cmp=c.Hb({type:t,selectors:[["cdk-tree"]],contentQueries:function(t,e,n){if(1&t&&c.Gb(n,g,1),2&t){let t;c.uc(t=c.cc())&&(e._nodeDefs=t)}},viewQuery:function(t,e){if(1&t&&c.Lc(p,3),2&t){let t;c.uc(t=c.cc())&&(e._nodeOutlet=t.first)}},hostAttrs:["role","tree",1,"cdk-tree"],inputs:{dataSource:"dataSource",treeControl:"treeControl",trackBy:"trackBy"},exportAs:["cdkTree"],decls:1,vars:0,consts:[["cdkTreeNodeOutlet",""]],template:function(t,e){1&t&&c.Pb(0,0)},directives:[p],encapsulation:2}),t})(),_=(()=>{class t{constructor(e,n){this._elementRef=e,this._tree=n,this._destroyed=new r.a,this._dataChanges=new r.a,t.mostRecentTreeNode=this,this._elementRef.nativeElement.classList.add("cdk-tree-node"),this.role="treeitem"}get role(){return"treeitem"}set role(t){this._elementRef.nativeElement.setAttribute("role",t)}get data(){return this._data}set data(t){t!==this._data&&(this._data=t,this._setRoleFromData(),this._dataChanges.next())}get isExpanded(){return this._tree.treeControl.isExpanded(this._data)}_setExpanded(t){this._isAriaExpanded=t,this._elementRef.nativeElement.setAttribute("aria-expanded",`${t}`)}get level(){return this._tree.treeControl.getLevel?this._tree.treeControl.getLevel(this._data):this._parentNodeAriaLevel}ngOnInit(){this._parentNodeAriaLevel=function(t){let e=t.parentElement;for(;e&&!y(e);)e=e.parentElement;return e?e.classList.contains("cdk-nested-tree-node")?Object(d.f)(e.getAttribute("aria-level")):0:-1}(this._elementRef.nativeElement),this._elementRef.nativeElement.setAttribute("aria-level",`${this.level+1}`)}ngDoCheck(){this.isExpanded!=this._isAriaExpanded&&this._setExpanded(this.isExpanded)}ngOnDestroy(){t.mostRecentTreeNode===this&&(t.mostRecentTreeNode=null),this._dataChanges.complete(),this._destroyed.next(),this._destroyed.complete()}focus(){this._elementRef.nativeElement.focus()}_setRoleFromData(){this.role="treeitem"}}return t.\u0275fac=function(e){return new(e||t)(c.Nb(c.l),c.Nb(b))},t.\u0275dir=c.Ib({type:t,selectors:[["cdk-tree-node"]],inputs:{role:"role"},exportAs:["cdkTreeNode"]}),t.mostRecentTreeNode=null,t})();function y(t){const e=t.classList;return!(!(null==e?void 0:e.contains("cdk-nested-tree-node"))&&!(null==e?void 0:e.contains("cdk-tree")))}let v=(()=>{class t extends _{constructor(t,e,n){super(t,e),this._elementRef=t,this._tree=e,this._differs=n,this._elementRef.nativeElement.classList.add("cdk-nested-tree-node")}ngAfterContentInit(){this._dataDiffer=this._differs.find([]).create(this._tree.trackBy);const t=this._tree.treeControl.getChildren(this.data);Array.isArray(t)?this.updateChildrenNodes(t):Object(a.a)(t)&&t.pipe(Object(l.a)(this._destroyed)).subscribe(t=>this.updateChildrenNodes(t)),this.nodeOutlet.changes.pipe(Object(l.a)(this._destroyed)).subscribe(()=>this.updateChildrenNodes())}ngOnInit(){super.ngOnInit()}ngDoCheck(){super.ngDoCheck()}ngOnDestroy(){this._clear(),super.ngOnDestroy()}updateChildrenNodes(t){const e=this._getNodeOutlet();t&&(this._children=t),e&&this._children?this._tree.renderNodeChanges(this._children,this._dataDiffer,e.viewContainer,this._data):this._dataDiffer.diff([])}_clear(){const t=this._getNodeOutlet();t&&(t.viewContainer.clear(),this._dataDiffer.diff([]))}_getNodeOutlet(){const t=this.nodeOutlet;return t&&t.find(t=>!t._node||t._node===this)}}return t.\u0275fac=function(e){return new(e||t)(c.Nb(c.l),c.Nb(b),c.Nb(c.u))},t.\u0275dir=c.Ib({type:t,selectors:[["cdk-nested-tree-node"]],contentQueries:function(t,e,n){if(1&t&&c.Gb(n,p,1),2&t){let t;c.uc(t=c.cc())&&(e.nodeOutlet=t)}},inputs:{role:"role",disabled:"disabled",tabIndex:"tabIndex"},exportAs:["cdkNestedTreeNode"],features:[c.Bb([{provide:_,useExisting:t},{provide:m,useExisting:t}]),c.zb]}),t})();const C=/([A-Za-z%]+)$/;let w=(()=>{class t{constructor(t,e,n,i){this._treeNode=t,this._tree=e,this._element=n,this._dir=i,this._destroyed=new r.a,this.indentUnits="px",this._indent=40,this._setPadding(),i&&i.change.pipe(Object(l.a)(this._destroyed)).subscribe(()=>this._setPadding(!0)),t._dataChanges.subscribe(()=>this._setPadding())}get level(){return this._level}set level(t){this._setLevelInput(t)}get indent(){return this._indent}set indent(t){this._setIndentInput(t)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_paddingIndent(){const t=this._treeNode.data&&this._tree.treeControl.getLevel?this._tree.treeControl.getLevel(this._treeNode.data):null,e=null==this._level?t:this._level;return"number"==typeof e?`${e*this._indent}${this.indentUnits}`:null}_setPadding(t=!1){const e=this._paddingIndent();if(e!==this._currentPadding||t){const t=this._element.nativeElement,n=this._dir&&"rtl"===this._dir.value?"paddingRight":"paddingLeft",i="paddingLeft"===n?"paddingRight":"paddingLeft";t.style[n]=e||"",t.style[i]="",this._currentPadding=e}}_setLevelInput(t){this._level=Object(d.f)(t,null),this._setPadding()}_setIndentInput(t){let e=t,n="px";if("string"==typeof t){const i=t.split(C);e=i[0],n=i[1]||n}this.indentUnits=n,this._indent=Object(d.f)(e),this._setPadding()}}return t.\u0275fac=function(e){return new(e||t)(c.Nb(_),c.Nb(b),c.Nb(c.l),c.Nb(u.b,8))},t.\u0275dir=c.Ib({type:t,selectors:[["","cdkTreeNodePadding",""]],inputs:{level:["cdkTreeNodePadding","level"],indent:["cdkTreeNodePaddingIndent","indent"]}}),t})(),x=(()=>{class t{constructor(t,e){this._tree=t,this._treeNode=e,this._recursive=!1}get recursive(){return this._recursive}set recursive(t){this._recursive=Object(d.c)(t)}_toggle(t){this.recursive?this._tree.treeControl.toggleDescendants(this._treeNode.data):this._tree.treeControl.toggle(this._treeNode.data),t.stopPropagation()}}return t.\u0275fac=function(e){return new(e||t)(c.Nb(b),c.Nb(_))},t.\u0275dir=c.Ib({type:t,selectors:[["","cdkTreeNodeToggle",""]],hostBindings:function(t,e){1&t&&c.bc("click",function(t){return e._toggle(t)})},inputs:{recursive:["cdkTreeNodeToggleRecursive","recursive"]}}),t})(),M=(()=>{class t{}return t.\u0275mod=c.Lb({type:t}),t.\u0275inj=c.Kb({factory:function(e){return new(e||t)}}),t})()},yCtX:function(t,e,n){"use strict";n.d(e,"a",function(){return o});var i=n("HDdC"),a=n("ngJS"),r=n("jZKg");function o(t,e){return e?Object(r.a)(t,e):new i.a(Object(a.a)(t))}},yPMs:function(t,e,n){!function(t){"use strict";t.defineLocale("sq",{months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_N\xebntor_Dhjetor".split("_"),monthsShort:"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_N\xebn_Dhj".split("_"),weekdays:"E Diel_E H\xebn\xeb_E Mart\xeb_E M\xebrkur\xeb_E Enjte_E Premte_E Shtun\xeb".split("_"),weekdaysShort:"Die_H\xebn_Mar_M\xebr_Enj_Pre_Sht".split("_"),weekdaysMin:"D_H_Ma_M\xeb_E_P_Sh".split("_"),weekdaysParseExact:!0,meridiemParse:/PD|MD/,isPM:function(t){return"M"===t.charAt(0)},meridiem:function(t,e,n){return t<12?"PD":"MD"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Sot n\xeb] LT",nextDay:"[Nes\xebr n\xeb] LT",nextWeek:"dddd [n\xeb] LT",lastDay:"[Dje n\xeb] LT",lastWeek:"dddd [e kaluar n\xeb] LT",sameElse:"L"},relativeTime:{future:"n\xeb %s",past:"%s m\xeb par\xeb",s:"disa sekonda",ss:"%d sekonda",m:"nj\xeb minut\xeb",mm:"%d minuta",h:"nj\xeb or\xeb",hh:"%d or\xeb",d:"nj\xeb dit\xeb",dd:"%d dit\xeb",M:"nj\xeb muaj",MM:"%d muaj",y:"nj\xeb vit",yy:"%d vite"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},"z+Ro":function(t,e,n){"use strict";function i(t){return t&&"function"==typeof t.schedule}n.d(e,"a",function(){return i})},z1FC:function(t,e,n){!function(t){"use strict";function e(t,e,n,i){var a={s:["viensas secunds","'iensas secunds"],ss:[t+" secunds",t+" secunds"],m:["'n m\xedut","'iens m\xedut"],mm:[t+" m\xeduts",t+" m\xeduts"],h:["'n \xfeora","'iensa \xfeora"],hh:[t+" \xfeoras",t+" \xfeoras"],d:["'n ziua","'iensa ziua"],dd:[t+" ziuas",t+" ziuas"],M:["'n mes","'iens mes"],MM:[t+" mesen",t+" mesen"],y:["'n ar","'iens ar"],yy:[t+" ars",t+" ars"]};return i||e?a[n][0]:a[n][1]}t.defineLocale("tzl",{months:"Januar_Fevraglh_Mar\xe7_Avr\xefu_Mai_G\xfcn_Julia_Guscht_Setemvar_Listop\xe4ts_Noemvar_Zecemvar".split("_"),monthsShort:"Jan_Fev_Mar_Avr_Mai_G\xfcn_Jul_Gus_Set_Lis_Noe_Zec".split("_"),weekdays:"S\xfaladi_L\xfane\xe7i_Maitzi_M\xe1rcuri_Xh\xfaadi_Vi\xe9ner\xe7i_S\xe1turi".split("_"),weekdaysShort:"S\xfal_L\xfan_Mai_M\xe1r_Xh\xfa_Vi\xe9_S\xe1t".split("_"),weekdaysMin:"S\xfa_L\xfa_Ma_M\xe1_Xh_Vi_S\xe1".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM [dallas] YYYY",LLL:"D. MMMM [dallas] YYYY HH.mm",LLLL:"dddd, [li] D. MMMM [dallas] YYYY HH.mm"},meridiemParse:/d\'o|d\'a/i,isPM:function(t){return"d'o"===t.toLowerCase()},meridiem:function(t,e,n){return t>11?n?"d'o":"D'O":n?"d'a":"D'A"},calendar:{sameDay:"[oxhi \xe0] LT",nextDay:"[dem\xe0 \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[ieiri \xe0] LT",lastWeek:"[s\xfcr el] dddd [lasteu \xe0] LT",sameElse:"L"},relativeTime:{future:"osprei %s",past:"ja%s",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},z3Vd:function(t,e,n){!function(t){"use strict";var e="pagh_wa\u2019_cha\u2019_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function n(t,n,i,a){var r=function(t){var n=Math.floor(t%1e3/100),i=Math.floor(t%100/10),a=t%10,r="";return n>0&&(r+=e[n]+"vatlh"),i>0&&(r+=(""!==r?" ":"")+e[i]+"maH"),a>0&&(r+=(""!==r?" ":"")+e[a]),""===r?"pagh":r}(t);switch(i){case"ss":return r+" lup";case"mm":return r+" tup";case"hh":return r+" rep";case"dd":return r+" jaj";case"MM":return r+" jar";case"yy":return r+" DIS"}}t.defineLocale("tlh",{months:"tera\u2019 jar wa\u2019_tera\u2019 jar cha\u2019_tera\u2019 jar wej_tera\u2019 jar loS_tera\u2019 jar vagh_tera\u2019 jar jav_tera\u2019 jar Soch_tera\u2019 jar chorgh_tera\u2019 jar Hut_tera\u2019 jar wa\u2019maH_tera\u2019 jar wa\u2019maH wa\u2019_tera\u2019 jar wa\u2019maH cha\u2019".split("_"),monthsShort:"jar wa\u2019_jar cha\u2019_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa\u2019maH_jar wa\u2019maH wa\u2019_jar wa\u2019maH cha\u2019".split("_"),monthsParseExact:!0,weekdays:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysShort:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysMin:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[DaHjaj] LT",nextDay:"[wa\u2019leS] LT",nextWeek:"LLL",lastDay:"[wa\u2019Hu\u2019] LT",lastWeek:"LLL",sameElse:"L"},relativeTime:{future:function(t){var e=t;return-1!==t.indexOf("jaj")?e.slice(0,-3)+"leS":-1!==t.indexOf("jar")?e.slice(0,-3)+"waQ":-1!==t.indexOf("DIS")?e.slice(0,-3)+"nem":e+" pIq"},past:function(t){var e=t;return-1!==t.indexOf("jaj")?e.slice(0,-3)+"Hu\u2019":-1!==t.indexOf("jar")?e.slice(0,-3)+"wen":-1!==t.indexOf("DIS")?e.slice(0,-3)+"ben":e+" ret"},s:"puS lup",ss:n,m:"wa\u2019 tup",mm:n,h:"wa\u2019 rep",hh:n,d:"wa\u2019 jaj",dd:n,M:"wa\u2019 jar",MM:n,y:"wa\u2019 DIS",yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},z6cu:function(t,e,n){"use strict";n.d(e,"a",function(){return a});var i=n("HDdC");function a(t,e){return new i.a(e?n=>e.schedule(r,0,{error:t,subscriber:n}):e=>e.error(t))}function r({error:t,subscriber:e}){e.error(t)}},zHaW:function(t,e,n){"use strict";n.d(e,"a",function(){return _}),n.d(e,"b",function(){return S}),n.d(e,"c",function(){return O});var i=n("1O3W"),a=n("1z/I"),r=n("SVse"),o=n("8Y7J"),s=n("UhP/"),l=n("Dxy4"),c=n("XNiG"),d=n("IzEk"),u=n("1G5W"),h=n("GS7A"),m=n("YEUz"),p=n("HeVh"),f=n("SCoL");function g(t,e){if(1&t){const t=o.Ub();o.Tb(0,"div",1),o.Tb(1,"button",2),o.bc("click",function(){return o.yc(t),o.fc().action()}),o.Hc(2),o.Sb(),o.Sb()}if(2&t){const t=o.fc();o.Cb(2),o.Ic(t.data.action)}}function b(t,e){}const _=new o.s("MatSnackBarData");class y{constructor(){this.politeness="assertive",this.announcementMessage="",this.duration=0,this.data=null,this.horizontalPosition="center",this.verticalPosition="bottom"}}const v=Math.pow(2,31)-1;class C{constructor(t,e){this._overlayRef=e,this._afterDismissed=new c.a,this._afterOpened=new c.a,this._onAction=new c.a,this._dismissedByAction=!1,this.containerInstance=t,this.onAction().subscribe(()=>this.dismiss()),t._onExit.subscribe(()=>this._finishDismiss())}dismiss(){this._afterDismissed.closed||this.containerInstance.exit(),clearTimeout(this._durationTimeoutId)}dismissWithAction(){this._onAction.closed||(this._dismissedByAction=!0,this._onAction.next(),this._onAction.complete())}closeWithAction(){this.dismissWithAction()}_dismissAfter(t){this._durationTimeoutId=setTimeout(()=>this.dismiss(),Math.min(t,v))}_open(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())}_finishDismiss(){this._overlayRef.dispose(),this._onAction.closed||this._onAction.complete(),this._afterDismissed.next({dismissedByAction:this._dismissedByAction}),this._afterDismissed.complete(),this._dismissedByAction=!1}afterDismissed(){return this._afterDismissed}afterOpened(){return this.containerInstance._onEnter}onAction(){return this._onAction}}let w=(()=>{class t{constructor(t,e){this.snackBarRef=t,this.data=e}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}}return t.\u0275fac=function(e){return new(e||t)(o.Nb(C),o.Nb(_))},t.\u0275cmp=o.Hb({type:t,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-simple-snackbar"],decls:3,vars:2,consts:[["class","mat-simple-snackbar-action",4,"ngIf"],[1,"mat-simple-snackbar-action"],["mat-button","",3,"click"]],template:function(t,e){1&t&&(o.Tb(0,"span"),o.Hc(1),o.Sb(),o.Fc(2,g,3,1,"div",0)),2&t&&(o.Cb(1),o.Ic(e.data.message),o.Cb(1),o.nc("ngIf",e.hasAction))},directives:[r.l,l.a],styles:[".mat-simple-snackbar{display:flex;justify-content:space-between;align-items:center;line-height:20px;opacity:1}.mat-simple-snackbar-action{flex-shrink:0;margin:-8px -8px -8px 8px}.mat-simple-snackbar-action button{max-height:36px;min-width:0}[dir=rtl] .mat-simple-snackbar-action{margin-left:-8px;margin-right:8px}\n"],encapsulation:2,changeDetection:0}),t})();const x={snackBarState:Object(h.n)("state",[Object(h.k)("void, hidden",Object(h.l)({transform:"scale(0.8)",opacity:0})),Object(h.k)("visible",Object(h.l)({transform:"scale(1)",opacity:1})),Object(h.m)("* => visible",Object(h.e)("150ms cubic-bezier(0, 0, 0.2, 1)")),Object(h.m)("* => void, * => hidden",Object(h.e)("75ms cubic-bezier(0.4, 0.0, 1, 1)",Object(h.l)({opacity:0})))])};let M=(()=>{class t extends a.a{constructor(t,e,n,i,a){super(),this._ngZone=t,this._elementRef=e,this._changeDetectorRef=n,this._platform=i,this.snackBarConfig=a,this._announceDelay=150,this._destroyed=!1,this._onAnnounce=new c.a,this._onExit=new c.a,this._onEnter=new c.a,this._animationState="void",this.attachDomPortal=t=>(this._assertNotAttached(),this._applySnackBarClasses(),this._portalOutlet.attachDomPortal(t)),this._live="assertive"!==a.politeness||a.announcementMessage?"off"===a.politeness?"off":"polite":"assertive",this._platform.FIREFOX&&("polite"===this._live&&(this._role="status"),"assertive"===this._live&&(this._role="alert"))}attachComponentPortal(t){return this._assertNotAttached(),this._applySnackBarClasses(),this._portalOutlet.attachComponentPortal(t)}attachTemplatePortal(t){return this._assertNotAttached(),this._applySnackBarClasses(),this._portalOutlet.attachTemplatePortal(t)}onAnimationEnd(t){const{fromState:e,toState:n}=t;if(("void"===n&&"void"!==e||"hidden"===n)&&this._completeExit(),"visible"===n){const t=this._onEnter;this._ngZone.run(()=>{t.next(),t.complete()})}}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce())}exit(){return this._animationState="hidden",this._elementRef.nativeElement.setAttribute("mat-exit",""),clearTimeout(this._announceTimeoutId),this._onExit}ngOnDestroy(){this._destroyed=!0,this._completeExit()}_completeExit(){this._ngZone.onMicrotaskEmpty.pipe(Object(d.a)(1)).subscribe(()=>{this._onExit.next(),this._onExit.complete()})}_applySnackBarClasses(){const t=this._elementRef.nativeElement,e=this.snackBarConfig.panelClass;e&&(Array.isArray(e)?e.forEach(e=>t.classList.add(e)):t.classList.add(e)),"center"===this.snackBarConfig.horizontalPosition&&t.classList.add("mat-snack-bar-center"),"top"===this.snackBarConfig.verticalPosition&&t.classList.add("mat-snack-bar-top")}_assertNotAttached(){this._portalOutlet.hasAttached()}_screenReaderAnnounce(){this._announceTimeoutId||this._ngZone.runOutsideAngular(()=>{this._announceTimeoutId=setTimeout(()=>{const t=this._elementRef.nativeElement.querySelector("[aria-hidden]"),e=this._elementRef.nativeElement.querySelector("[aria-live]");if(t&&e){let n=null;this._platform.isBrowser&&document.activeElement instanceof HTMLElement&&t.contains(document.activeElement)&&(n=document.activeElement),t.removeAttribute("aria-hidden"),e.appendChild(t),null==n||n.focus(),this._onAnnounce.next(),this._onAnnounce.complete()}},this._announceDelay)})}}return t.\u0275fac=function(e){return new(e||t)(o.Nb(o.B),o.Nb(o.l),o.Nb(o.h),o.Nb(f.a),o.Nb(y))},t.\u0275cmp=o.Hb({type:t,selectors:[["snack-bar-container"]],viewQuery:function(t,e){if(1&t&&o.Lc(a.c,3),2&t){let t;o.uc(t=o.cc())&&(e._portalOutlet=t.first)}},hostAttrs:[1,"mat-snack-bar-container"],hostVars:1,hostBindings:function(t,e){1&t&&o.Dc("@state.done",function(t){return e.onAnimationEnd(t)}),2&t&&o.Ec("@state",e._animationState)},features:[o.zb],decls:3,vars:2,consts:[["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(t,e){1&t&&(o.Tb(0,"div",0),o.Fc(1,b,0,0,"ng-template",1),o.Sb(),o.Ob(2,"div")),2&t&&(o.Cb(2),o.Db("aria-live",e._live)("role",e._role))},directives:[a.c],styles:[".mat-snack-bar-container{border-radius:4px;box-sizing:border-box;display:block;margin:24px;max-width:33vw;min-width:344px;padding:14px 16px;min-height:48px;transform-origin:center}.cdk-high-contrast-active .mat-snack-bar-container{border:solid 1px}.mat-snack-bar-handset{width:100%}.mat-snack-bar-handset .mat-snack-bar-container{margin:8px;max-width:100%;min-width:0;width:100%}\n"],encapsulation:2,data:{animation:[x.snackBarState]}}),t})(),O=(()=>{class t{}return t.\u0275mod=o.Lb({type:t}),t.\u0275inj=o.Kb({factory:function(e){return new(e||t)},imports:[[i.f,a.f,r.c,l.b,s.j],s.j]}),t})();const k=new o.s("mat-snack-bar-default-options",{providedIn:"root",factory:function(){return new y}});let S=(()=>{class t{constructor(t,e,n,i,a,r){this._overlay=t,this._live=e,this._injector=n,this._breakpointObserver=i,this._parentSnackBar=a,this._defaultConfig=r,this._snackBarRefAtThisLevel=null,this.simpleSnackBarComponent=w,this.snackBarContainerComponent=M,this.handsetCssClass="mat-snack-bar-handset"}get _openedSnackBarRef(){const t=this._parentSnackBar;return t?t._openedSnackBarRef:this._snackBarRefAtThisLevel}set _openedSnackBarRef(t){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=t:this._snackBarRefAtThisLevel=t}openFromComponent(t,e){return this._attach(t,e)}openFromTemplate(t,e){return this._attach(t,e)}open(t,e="",n){const i=Object.assign(Object.assign({},this._defaultConfig),n);return i.data={message:t,action:e},i.announcementMessage===t&&(i.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,i)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(t,e){const n=o.t.create({parent:e&&e.viewContainerRef&&e.viewContainerRef.injector||this._injector,providers:[{provide:y,useValue:e}]}),i=new a.d(this.snackBarContainerComponent,e.viewContainerRef,n),r=t.attach(i);return r.instance.snackBarConfig=e,r.instance}_attach(t,e){const n=Object.assign(Object.assign(Object.assign({},new y),this._defaultConfig),e),i=this._createOverlay(n),r=this._attachSnackBarContainer(i,n),s=new C(r,i);if(t instanceof o.N){const e=new a.g(t,null,{$implicit:n.data,snackBarRef:s});s.instance=r.attachTemplatePortal(e)}else{const e=this._createInjector(n,s),i=new a.d(t,void 0,e),o=r.attachComponentPortal(i);s.instance=o.instance}return this._breakpointObserver.observe(p.b.HandsetPortrait).pipe(Object(u.a)(i.detachments())).subscribe(t=>{const e=i.overlayElement.classList;t.matches?e.add(this.handsetCssClass):e.remove(this.handsetCssClass)}),n.announcementMessage&&r._onAnnounce.subscribe(()=>{this._live.announce(n.announcementMessage,n.politeness)}),this._animateSnackBar(s,n),this._openedSnackBarRef=s,this._openedSnackBarRef}_animateSnackBar(t,e){t.afterDismissed().subscribe(()=>{this._openedSnackBarRef==t&&(this._openedSnackBarRef=null),e.announcementMessage&&this._live.clear()}),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{t.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):t.containerInstance.enter(),e.duration&&e.duration>0&&t.afterOpened().subscribe(()=>t._dismissAfter(e.duration))}_createOverlay(t){const e=new i.d;e.direction=t.direction;let n=this._overlay.position().global();const a="rtl"===t.direction,r="left"===t.horizontalPosition||"start"===t.horizontalPosition&&!a||"end"===t.horizontalPosition&&a,o=!r&&"center"!==t.horizontalPosition;return r?n.left("0"):o?n.right("0"):n.centerHorizontally(),"top"===t.verticalPosition?n.top("0"):n.bottom("0"),e.positionStrategy=n,this._overlay.create(e)}_createInjector(t,e){return o.t.create({parent:t&&t.viewContainerRef&&t.viewContainerRef.injector||this._injector,providers:[{provide:C,useValue:e},{provide:_,useValue:t.data}]})}}return t.\u0275fac=function(e){return new(e||t)(o.Xb(i.c),o.Xb(m.k),o.Xb(o.t),o.Xb(p.a),o.Xb(t,12),o.Xb(k))},t.\u0275prov=Object(o.Jb)({factory:function(){return new t(Object(o.Xb)(i.c),Object(o.Xb)(m.k),Object(o.Xb)(o.p),Object(o.Xb)(p.a),Object(o.Xb)(t,12),Object(o.Xb)(k))},token:t,providedIn:O}),t})()},zQhy:function(t,e,n){"use strict";n.d(e,"a",function(){return M}),n.d(e,"b",function(){return y}),n.d(e,"c",function(){return O});var i=n("8Y7J"),a=n("UhP/"),r=n("8LU1"),o=n("s7LF"),s=n("omvX"),l=n("YEUz"),c=n("CtHx");const d=["input"],u=function(){return{enterDuration:150}},h=["*"],m=new i.s("mat-radio-default-options",{providedIn:"root",factory:function(){return{color:"accent"}}});let p=0;const f={provide:o.m,useExisting:Object(i.V)(()=>y),multi:!0};class g{constructor(t,e){this.source=t,this.value=e}}const b=new i.s("MatRadioGroup");let _=(()=>{class t{constructor(t){this._changeDetector=t,this._value=null,this._name="mat-radio-group-"+p++,this._selected=null,this._isInitialized=!1,this._labelPosition="after",this._disabled=!1,this._required=!1,this._controlValueAccessorChangeFn=()=>{},this.onTouched=()=>{},this.change=new i.o}get name(){return this._name}set name(t){this._name=t,this._updateRadioButtonNames()}get labelPosition(){return this._labelPosition}set labelPosition(t){this._labelPosition="before"===t?"before":"after",this._markRadiosForCheck()}get value(){return this._value}set value(t){this._value!==t&&(this._value=t,this._updateSelectedRadioFromValue(),this._checkSelectedRadioButton())}_checkSelectedRadioButton(){this._selected&&!this._selected.checked&&(this._selected.checked=!0)}get selected(){return this._selected}set selected(t){this._selected=t,this.value=t?t.value:null,this._checkSelectedRadioButton()}get disabled(){return this._disabled}set disabled(t){this._disabled=Object(r.c)(t),this._markRadiosForCheck()}get required(){return this._required}set required(t){this._required=Object(r.c)(t),this._markRadiosForCheck()}ngAfterContentInit(){this._isInitialized=!0}_touch(){this.onTouched&&this.onTouched()}_updateRadioButtonNames(){this._radios&&this._radios.forEach(t=>{t.name=this.name,t._markForCheck()})}_updateSelectedRadioFromValue(){this._radios&&(null===this._selected||this._selected.value!==this._value)&&(this._selected=null,this._radios.forEach(t=>{t.checked=this.value===t.value,t.checked&&(this._selected=t)}))}_emitChangeEvent(){this._isInitialized&&this.change.emit(new g(this._selected,this._value))}_markRadiosForCheck(){this._radios&&this._radios.forEach(t=>t._markForCheck())}writeValue(t){this.value=t,this._changeDetector.markForCheck()}registerOnChange(t){this._controlValueAccessorChangeFn=t}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this.disabled=t,this._changeDetector.markForCheck()}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.h))},t.\u0275dir=i.Ib({type:t,inputs:{name:"name",labelPosition:"labelPosition",value:"value",selected:"selected",disabled:"disabled",required:"required",color:"color"},outputs:{change:"change"}}),t})(),y=(()=>{class t extends _{}return t.\u0275fac=function(e){return v(e||t)},t.\u0275dir=i.Ib({type:t,selectors:[["mat-radio-group"]],contentQueries:function(t,e,n){if(1&t&&i.Gb(n,M,1),2&t){let t;i.uc(t=i.cc())&&(e._radios=t)}},hostAttrs:["role","radiogroup",1,"mat-radio-group"],exportAs:["matRadioGroup"],features:[i.Bb([f,{provide:b,useExisting:t}]),i.zb]}),t})();const v=i.Vb(y);class C{constructor(t){this._elementRef=t}}const w=Object(a.x)(Object(a.B)(C));let x=(()=>{class t extends w{constructor(t,e,n,a,o,s,l,c){super(e),this._changeDetector=n,this._focusMonitor=a,this._radioDispatcher=o,this._animationMode=s,this._providerOverride=l,this._uniqueId="mat-radio-"+ ++p,this.id=this._uniqueId,this.change=new i.o,this._checked=!1,this._value=null,this._removeUniqueSelectionListener=()=>{},this.radioGroup=t,c&&(this.tabIndex=Object(r.f)(c,0)),this._removeUniqueSelectionListener=o.listen((t,e)=>{t!==this.id&&e===this.name&&(this.checked=!1)})}get checked(){return this._checked}set checked(t){const e=Object(r.c)(t);this._checked!==e&&(this._checked=e,e&&this.radioGroup&&this.radioGroup.value!==this.value?this.radioGroup.selected=this:!e&&this.radioGroup&&this.radioGroup.value===this.value&&(this.radioGroup.selected=null),e&&this._radioDispatcher.notify(this.id,this.name),this._changeDetector.markForCheck())}get value(){return this._value}set value(t){this._value!==t&&(this._value=t,null!==this.radioGroup&&(this.checked||(this.checked=this.radioGroup.value===t),this.checked&&(this.radioGroup.selected=this)))}get labelPosition(){return this._labelPosition||this.radioGroup&&this.radioGroup.labelPosition||"after"}set labelPosition(t){this._labelPosition=t}get disabled(){return this._disabled||null!==this.radioGroup&&this.radioGroup.disabled}set disabled(t){this._setDisabled(Object(r.c)(t))}get required(){return this._required||this.radioGroup&&this.radioGroup.required}set required(t){this._required=Object(r.c)(t)}get color(){return this._color||this.radioGroup&&this.radioGroup.color||this._providerOverride&&this._providerOverride.color||"accent"}set color(t){this._color=t}get inputId(){return`${this.id||this._uniqueId}-input`}focus(t,e){e?this._focusMonitor.focusVia(this._inputElement,e,t):this._inputElement.nativeElement.focus(t)}_markForCheck(){this._changeDetector.markForCheck()}ngOnInit(){this.radioGroup&&(this.checked=this.radioGroup.value===this._value,this.checked&&(this.radioGroup.selected=this),this.name=this.radioGroup.name)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(t=>{!t&&this.radioGroup&&this.radioGroup._touch()})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._removeUniqueSelectionListener()}_emitChangeEvent(){this.change.emit(new g(this,this._value))}_isRippleDisabled(){return this.disableRipple||this.disabled}_onInputClick(t){t.stopPropagation()}_onInputChange(t){t.stopPropagation();const e=this.radioGroup&&this.value!==this.radioGroup.value;this.checked=!0,this._emitChangeEvent(),this.radioGroup&&(this.radioGroup._controlValueAccessorChangeFn(this.value),e&&this.radioGroup._emitChangeEvent())}_setDisabled(t){this._disabled!==t&&(this._disabled=t,this._changeDetector.markForCheck())}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(_),i.Nb(i.l),i.Nb(i.h),i.Nb(l.h),i.Nb(c.d),i.Nb(String),i.Nb(void 0),i.Nb(String))},t.\u0275dir=i.Ib({type:t,viewQuery:function(t,e){if(1&t&&i.Lc(d,1),2&t){let t;i.uc(t=i.cc())&&(e._inputElement=t.first)}},inputs:{id:"id",checked:"checked",value:"value",labelPosition:"labelPosition",disabled:"disabled",required:"required",color:"color",name:"name",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"]},outputs:{change:"change"},features:[i.zb]}),t})(),M=(()=>{class t extends x{constructor(t,e,n,i,a,r,o,s){super(t,e,n,i,a,r,o,s)}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(b,8),i.Nb(i.l),i.Nb(i.h),i.Nb(l.h),i.Nb(c.d),i.Nb(s.a,8),i.Nb(m,8),i.Yb("tabindex"))},t.\u0275cmp=i.Hb({type:t,selectors:[["mat-radio-button"]],hostAttrs:[1,"mat-radio-button"],hostVars:17,hostBindings:function(t,e){1&t&&i.bc("focus",function(){return e._inputElement.nativeElement.focus()}),2&t&&(i.Db("tabindex",null)("id",e.id)("aria-label",null)("aria-labelledby",null)("aria-describedby",null),i.Fb("mat-radio-checked",e.checked)("mat-radio-disabled",e.disabled)("_mat-animation-noopable","NoopAnimations"===e._animationMode)("mat-primary","primary"===e.color)("mat-accent","accent"===e.color)("mat-warn","warn"===e.color))},inputs:{disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matRadioButton"],features:[i.zb],ngContentSelectors:h,decls:13,vars:19,consts:[[1,"mat-radio-label"],["label",""],[1,"mat-radio-container"],[1,"mat-radio-outer-circle"],[1,"mat-radio-inner-circle"],["type","radio",1,"mat-radio-input","cdk-visually-hidden",3,"id","checked","disabled","tabIndex","required","change","click"],["input",""],["mat-ripple","",1,"mat-radio-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered","matRippleRadius","matRippleAnimation"],[1,"mat-ripple-element","mat-radio-persistent-ripple"],[1,"mat-radio-label-content"],[2,"display","none"]],template:function(t,e){if(1&t&&(i.mc(),i.Tb(0,"label",0,1),i.Tb(2,"span",2),i.Ob(3,"span",3),i.Ob(4,"span",4),i.Tb(5,"input",5,6),i.bc("change",function(t){return e._onInputChange(t)})("click",function(t){return e._onInputClick(t)}),i.Sb(),i.Tb(7,"span",7),i.Ob(8,"span",8),i.Sb(),i.Sb(),i.Tb(9,"span",9),i.Tb(10,"span",10),i.Hc(11,"\xa0"),i.Sb(),i.lc(12),i.Sb(),i.Sb()),2&t){const t=i.vc(1);i.Db("for",e.inputId),i.Cb(5),i.nc("id",e.inputId)("checked",e.checked)("disabled",e.disabled)("tabIndex",e.tabIndex)("required",e.required),i.Db("name",e.name)("value",e.value)("aria-label",e.ariaLabel)("aria-labelledby",e.ariaLabelledby)("aria-describedby",e.ariaDescribedby),i.Cb(2),i.nc("matRippleTrigger",t)("matRippleDisabled",e._isRippleDisabled())("matRippleCentered",!0)("matRippleRadius",20)("matRippleAnimation",i.rc(18,u)),i.Cb(2),i.Fb("mat-radio-label-before","before"==e.labelPosition)}},directives:[a.r],styles:[".mat-radio-button{display:inline-block;-webkit-tap-highlight-color:transparent;outline:0}.mat-radio-label{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;display:inline-flex;align-items:center;white-space:nowrap;vertical-align:middle;width:100%}.mat-radio-container{box-sizing:border-box;display:inline-block;position:relative;width:20px;height:20px;flex-shrink:0}.mat-radio-outer-circle{box-sizing:border-box;display:block;height:20px;left:0;position:absolute;top:0;transition:border-color ease 280ms;width:20px;border-width:2px;border-style:solid;border-radius:50%}._mat-animation-noopable .mat-radio-outer-circle{transition:none}.mat-radio-inner-circle{border-radius:50%;box-sizing:border-box;display:block;height:20px;left:0;position:absolute;top:0;transition:transform ease 280ms,background-color ease 280ms;width:20px;transform:scale(0.001)}._mat-animation-noopable .mat-radio-inner-circle{transition:none}.mat-radio-checked .mat-radio-inner-circle{transform:scale(0.5)}.cdk-high-contrast-active .mat-radio-checked .mat-radio-inner-circle{border:solid 10px}.mat-radio-label-content{-webkit-user-select:auto;-moz-user-select:auto;-ms-user-select:auto;user-select:auto;display:inline-block;order:0;line-height:inherit;padding-left:8px;padding-right:0}[dir=rtl] .mat-radio-label-content{padding-right:8px;padding-left:0}.mat-radio-label-content.mat-radio-label-before{order:-1;padding-left:0;padding-right:8px}[dir=rtl] .mat-radio-label-content.mat-radio-label-before{padding-right:0;padding-left:8px}.mat-radio-disabled,.mat-radio-disabled .mat-radio-label{cursor:default}.mat-radio-button .mat-radio-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-radio-button .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple){opacity:.16}.mat-radio-persistent-ripple{width:100%;height:100%;transform:none}.mat-radio-container:hover .mat-radio-persistent-ripple{opacity:.04}.mat-radio-button:not(.mat-radio-disabled).cdk-keyboard-focused .mat-radio-persistent-ripple,.mat-radio-button:not(.mat-radio-disabled).cdk-program-focused .mat-radio-persistent-ripple{opacity:.12}.mat-radio-persistent-ripple,.mat-radio-disabled .mat-radio-container:hover .mat-radio-persistent-ripple{opacity:0}@media(hover: none){.mat-radio-container:hover .mat-radio-persistent-ripple{display:none}}.mat-radio-input{bottom:0;left:50%}.cdk-high-contrast-active .mat-radio-disabled{opacity:.5}\n"],encapsulation:2,changeDetection:0}),t})(),O=(()=>{class t{}return t.\u0275mod=i.Lb({type:t}),t.\u0275inj=i.Kb({factory:function(e){return new(e||t)},imports:[[a.s,a.j],a.j]}),t})()},zR8O:function(t,e,n){"use strict";n.d(e,"a",function(){return A}),n.d(e,"b",function(){return D}),n.d(e,"c",function(){return R}),n.d(e,"d",function(){return P}),n.d(e,"e",function(){return L}),n.d(e,"f",function(){return I});var i=n("SVse"),a=n("8Y7J"),r=n("XNiG"),o=n("HDdC"),s=n("LRne"),l=n("xgIS"),c=n("D0XW"),d=n("Y7HM");function u(t){const{subscriber:e,counter:n,period:i}=t;e.next(n),this.schedule({subscriber:e,counter:n+1,period:i},i)}var h=n("VRyK"),m=n("EY2u"),p=n("1G5W"),f=n("CqXF"),g=n("JX91"),b=n("eIep");const _=["ngucarousel"],y=["nguItemsContainer"],v=["touchContainer"],C=[[["","NguCarouselPrev",""]],[["","NguCarouselNext",""]],[["","NguCarouselPoint",""]]],w=["[NguCarouselPrev]","[NguCarouselNext]","[NguCarouselPoint]"],x=["*"];class M{}class O{}class k{constructor(t=0,e=0,n=0,i=0,a=0){this.xs=t,this.sm=e,this.md=n,this.lg=i,this.all=a,this.xl=0}}class S{constructor(t=768,e=992,n=1200,i=1200){this.sm=t,this.md=e,this.lg=n,this.xl=i}}class T{constructor(t){this.$implicit=t}}let P=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=a.Ib({type:t,selectors:[["","NguCarouselNext",""]]}),t})(),L=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=a.Ib({type:t,selectors:[["","NguCarouselPrev",""]]}),t})(),D=(()=>{class t{constructor(t){this.template=t}}return t.\u0275fac=function(e){return new(e||t)(a.Nb(a.N))},t.\u0275dir=a.Ib({type:t,selectors:[["","nguCarouselDef",""]]}),t})(),E=(()=>{class t{constructor(t){this.viewContainer=t}}return t.\u0275fac=function(e){return new(e||t)(a.Nb(a.R))},t.\u0275dir=a.Ib({type:t,selectors:[["","nguCarouselOutlet",""]]}),t})(),A=(()=>{class t extends class{constructor(t=new O,e=new M,n,i=new k,a,r,o,s="fixed",l="",c=0,d=0,u=0,h=0,m=0,p=0,f=0,g=0,b=0,_="cubic-bezier(0, 0, 0.2, 1)",y=200,v=!1,C=0,w=0,x=!1,S=!0,T=!1,P=!1,L=!0,D=1){this.touch=t,this.vertical=e,this.interval=n,this.transform=i,this.button=a,this.visibleItems=r,this.deviceType=o,this.type=s,this.token=l,this.items=c,this.load=d,this.deviceWidth=u,this.carouselWidth=h,this.itemWidth=m,this.slideItems=p,this.itemWidthPer=f,this.itemLength=g,this.currentSlide=b,this.easing=_,this.speed=y,this.loop=v,this.dexVal=C,this.touchTransform=w,this.isEnd=x,this.isFirst=S,this.isLast=T,this.RTL=P,this.point=L,this.velocity=D}}{constructor(t,e,n,i,o){super(),this._el=t,this._renderer=e,this._differs=n,this.platformId=i,this.cdr=o,this.withAnim=!0,this.isHovered=!1,this.carouselLoad=new a.o,this.onMove=new a.o,this._intervalController$=new r.a,this.pointNumbers=[]}get dataSource(){return this._dataSource}set dataSource(t){t&&this._switchDataSource(t)}set nextBtn(t){this.listener2&&this.listener2(),t&&(this.listener2=this._renderer.listen(t.nativeElement,"click",()=>this._carouselScrollOne(1)))}set prevBtn(t){this.listener1&&this.listener1(),t&&(this.listener1=this._renderer.listen(t.nativeElement,"click",()=>this._carouselScrollOne(0)))}get trackBy(){return this._trackByFn}set trackBy(t){Object(a.X)()&&null!=t&&"function"!=typeof t&&console&&console.warn&&console.warn(`trackBy must be a function, but received ${JSON.stringify(t)}.`),this._trackByFn=t}ngOnInit(){this._dataDiffer=this._differs.find([]).create((t,e)=>this.trackBy?this.trackBy(t,e):e)}ngDoCheck(){this.arrayChanges=this._dataDiffer.diff(this.dataSource),this.arrayChanges&&this._defDirec&&this._observeRenderChanges()}_switchDataSource(t){this._dataSource=t,this._defDirec&&this._observeRenderChanges()}_observeRenderChanges(){let t;this._dataSource instanceof o.a?t=this._dataSource:Array.isArray(this._dataSource)&&(t=Object(s.a)(this._dataSource)),t&&(this._dataSubscription=t.pipe(Object(p.a)(this._intervalController$)).subscribe(t=>{this.renderNodeChanges(t),this.isLast=!1}))}renderNodeChanges(t,e=this._nodeOutlet.viewContainer){this.arrayChanges&&(this.arrayChanges.forEachOperation((n,i,a)=>{const r=this._getNodeDef(t[a],a);if(null==n.previousIndex){const n=new T(t[a]);n.index=a,e.createEmbeddedView(r.template,n,a)}else if(null==a)e.remove(i);else{const t=e.get(i);e.move(t,a)}}),this._updateItemIndexContext(),this.carousel&&this._storeCarouselData())}_updateItemIndexContext(){const t=this._nodeOutlet.viewContainer;for(let e=0,n=t.length;e<n;e++){const i=t.get(e).context;i.count=n,i.first=0===e,i.last=e===n-1,i.even=e%2==0,i.odd=!i.even,i.index=e}}_getNodeDef(t,e){return 1===this._defDirec.length?this._defDirec.first:this._defDirec.find(n=>n.when&&n.when(e,t))||this._defaultNodeDef}ngAfterViewInit(){this.carousel=this._el.nativeElement,this._inputValidation(),this.carouselCssNode=this._createStyleElem(),Object(i.v)(this.platformId)&&(this._carouselInterval(),this.vertical.enabled||this._touch(),this.listener3=this._renderer.listen("window","resize",t=>{this._onResizing(t)}),this._onWindowScrolling())}ngAfterContentInit(){this._observeRenderChanges(),this.cdr.markForCheck()}_inputValidation(){this.inputs.gridBreakpoints=this.inputs.gridBreakpoints?this.inputs.gridBreakpoints:new S,void 0===this.inputs.grid.xl&&(this.inputs.grid.xl=this.inputs.grid.lg),this.type=0!==this.inputs.grid.all?"fixed":"responsive",this.loop=this.inputs.loop||!1,this.inputs.easing=this.inputs.easing||"cubic-bezier(0, 0, 0.2, 1)",this.touch.active=this.inputs.touch||!1,this.RTL=!!this.inputs.RTL,this.interval=this.inputs.interval||null,this.velocity="number"==typeof this.inputs.velocity?this.inputs.velocity:this.velocity,this.inputs.vertical&&this.inputs.vertical.enabled&&(this.vertical.enabled=this.inputs.vertical.enabled,this.vertical.height=this.inputs.vertical.height),this.directionSym=this.RTL?"":"-",this.point=!this.inputs.point||void 0===this.inputs.point.visible||this.inputs.point.visible,this._carouselSize()}ngOnDestroy(){this.carouselInt&&this.carouselInt.unsubscribe(),this._intervalController$.unsubscribe(),this.carouselLoad.complete(),this.onMove.complete(),clearTimeout(this.onScrolling);for(let t=1;t<=4;t++){const e=`listener${t}`;this[e]&&this[e]()}}_onResizing(t){clearTimeout(this.onResize),this.onResize=setTimeout(()=>{this.deviceWidth!==t.target.outerWidth&&(this._setStyle(this.nguItemsContainer.nativeElement,"transition",""),this._storeCarouselData())},500)}_touch(){this.inputs.touch&&n.e(5).then(n.t.bind(null,"yLV6",7)).then(()=>{const t=new Hammer(this.touchContainer.nativeElement);t.get("pan").set({direction:Hammer.DIRECTION_HORIZONTAL}),t.on("panstart",t=>{this.carouselWidth=this.nguItemsContainer.nativeElement.offsetWidth,this.touchTransform=this.transform[this.deviceType],this.dexVal=0,this._setStyle(this.nguItemsContainer.nativeElement,"transition","")}),this.vertical.enabled?(t.on("panup",t=>{this._touchHandling("panleft",t)}),t.on("pandown",t=>{this._touchHandling("panright",t)})):(t.on("panleft",t=>{this._touchHandling("panleft",t)}),t.on("panright",t=>{this._touchHandling("panright",t)})),t.on("panend pancancel",t=>{if(Math.abs(t.velocity)>=this.velocity){this.touch.velocity=t.velocity;let e=0;e=this.RTL?"panright"===this.touch.swipe?1:0:"panright"===this.touch.swipe?0:1,this._carouselScrollOne(e)}else this.dexVal=0,this._setStyle(this.nguItemsContainer.nativeElement,"transition","transform 324ms cubic-bezier(0, 0, 0.2, 1)"),this._setStyle(this.nguItemsContainer.nativeElement,"transform","")}),t.on("hammer.input",t=>{t.srcEvent.stopPropagation()})})}_touchHandling(t,e){if(0===e.center.x)return;let n=(e=Math.abs(this.vertical.enabled?e.deltaY:e.deltaX))-this.dexVal;n="responsive"===this.type?Math.abs(e-this.dexVal)/(this.vertical.enabled?this.vertical.height:this.carouselWidth)*100:n,this.dexVal=e,this.touch.swipe=t,this._setTouchTransfrom(t,n),this._setTransformFromTouch()}_setTouchTransfrom(t,e){this.touchTransform=t===(this.RTL?"panright":"panleft")?e+this.touchTransform:this.touchTransform-e}_setTransformFromTouch(){this.touchTransform<0&&(this.touchTransform=0);const t="responsive"===this.type?"%":"px";this._setStyle(this.nguItemsContainer.nativeElement,"transform",this.vertical.enabled?`translate3d(0, ${this.directionSym}${this.touchTransform}${t}, 0)`:`translate3d(${this.directionSym}${this.touchTransform}${t}, 0, 0)`)}_onWindowScrolling(){const t=this.carousel.offsetTop,e=window.scrollY,n=window.innerHeight,i=this.carousel.offsetHeight;this._intervalController$.next(t<=e+n-i/4&&t+i/2>=e?1:0)}_storeCarouselData(){const t=this.inputs.gridBreakpoints;this.deviceWidth=Object(i.v)(this.platformId)?window.innerWidth:t.xl,this.carouselWidth=this.carouselMain1.nativeElement.offsetWidth,"responsive"===this.type?(this.deviceType=this.deviceWidth>=t.xl?"xl":this.deviceWidth>=t.lg?"lg":this.deviceWidth>=t.md?"md":this.deviceWidth>=t.sm?"sm":"xs",this.items=this.inputs.grid[this.deviceType],this.itemWidth=this.carouselWidth/this.items):(this.items=Math.trunc(this.carouselWidth/this.inputs.grid.all),this.itemWidth=this.inputs.grid.all,this.deviceType="all"),this.slideItems=+(this.inputs.slide<this.items?this.inputs.slide:this.items),this.load=this.inputs.load>=this.slideItems?this.inputs.load:this.slideItems,this.speed=this.inputs.speed&&this.inputs.speed>-1?this.inputs.speed:400,this._carouselPoint()}reset(t){t&&(this.withAnim=!1),this.carouselCssNode.innerHTML="",this.moveTo(0),this._carouselPoint()}_carouselPoint(){this.pointIndex=Math.ceil((this.dataSource.length-(this.items-this.slideItems))/this.slideItems);const t=[];if(this.pointIndex>1||!this.inputs.point.hideOnSingleSlide)for(let e=0;e<this.pointIndex;e++)t.push(e);this.pointNumbers=t,this._carouselPointActiver(),this.pointIndex<=1?this._btnBoolean(1,1):this._btnBoolean(0!==this.currentSlide||this.loop?0:1,0)}_carouselPointActiver(){const t=Math.ceil(this.currentSlide/this.slideItems);this.activePoint=t,this.cdr.markForCheck()}moveTo(t,e){if(e&&(this.withAnim=!1),this.activePoint!==t&&t<this.pointIndex){let e;const n=this.currentSlide<t?1:0;switch(t){case 0:this._btnBoolean(1,0),e=t*this.slideItems;break;case this.pointIndex-1:this._btnBoolean(0,1),e=this.dataSource.length-this.items;break;default:this._btnBoolean(0,0),e=t*this.slideItems}this._carouselScrollTwo(n,e,this.speed)}}_carouselSize(){this.token=this._generateID();let t="";this.styleid=`.${this.token} > .ngucarousel > .ngu-touch-container > .ngucarousel-items`,"banner"===this.inputs.custom&&this._renderer.addClass(this.carousel,"banner"),"lazy"===this.inputs.animation&&(t+=`${this.styleid} > .item {transition: transform .6s ease;}`);const e=this.inputs.gridBreakpoints;let n="";n=this.vertical.enabled?`@media (max-width:${e.sm-1}px){${this.styleid} > .item {height: ${this.vertical.height/+this.inputs.grid.xs}px}}\n @media (max-width:${e.sm}px){${this.styleid} > .item {height: ${this.vertical.height/+this.inputs.grid.sm}px}}\n @media (min-width:${e.md}px){${this.styleid} > .item {height: ${this.vertical.height/+this.inputs.grid.md}px}}\n @media (min-width:${e.lg}px){${this.styleid} > .item {height: ${this.vertical.height/+this.inputs.grid.lg}px}}\n @media (min-width:${e.xl}px){${this.styleid} > .item {height: ${this.vertical.height/+this.inputs.grid.xl}px}}`:"responsive"===this.type?`@media (max-width:${e.sm-1}px){${"mobile"===this.inputs.type?`${this.styleid} .item {flex: 0 0 ${95/+this.inputs.grid.xs}%; width: ${95/+this.inputs.grid.xs}%;}`:`${this.styleid} .item {flex: 0 0 ${100/+this.inputs.grid.xs}%; width: ${100/+this.inputs.grid.xs}%;}`}}\n @media (min-width:${e.sm}px){${this.styleid} > .item {flex: 0 0 ${100/+this.inputs.grid.sm}%; width: ${100/+this.inputs.grid.sm}%}}\n @media (min-width:${e.md}px){${this.styleid} > .item {flex: 0 0 ${100/+this.inputs.grid.md}%; width: ${100/+this.inputs.grid.md}%}}\n @media (min-width:${e.lg}px){${this.styleid} > .item {flex: 0 0 ${100/+this.inputs.grid.lg}%; width: ${100/+this.inputs.grid.lg}%}}\n @media (min-width:${e.xl}px){${this.styleid} > .item {flex: 0 0 ${100/+this.inputs.grid.xl}%; width: ${100/+this.inputs.grid.xl}%}}`:`${this.styleid} .item {flex: 0 0 ${this.inputs.grid.all}px; width: ${this.inputs.grid.all}px;}`,this._renderer.addClass(this.carousel,this.token),this.vertical.enabled&&(this._renderer.addClass(this.nguItemsContainer.nativeElement,"nguvertical"),this._renderer.setStyle(this.carouselMain1.nativeElement,"height",`${this.vertical.height}px`)),this.RTL&&!this.vertical.enabled&&this._renderer.addClass(this.carousel,"ngurtl"),this._createStyleElem(`${t} ${n}`),this._storeCarouselData()}_carouselScrollOne(t){let e=this.speed,n=0,i=0;const a=Math.ceil(this.dexVal/this.itemWidth);if(this._setStyle(this.nguItemsContainer.nativeElement,"transform",""),1!==this.pointIndex)if(0!==t||(this.loop||this.isFirst)&&!this.loop)1!==t||(this.loop||this.isLast)&&!this.loop||(this.dataSource.length<=this.currentSlide+this.items+this.slideItems&&!this.isLast?(i=this.dataSource.length-this.items,this._btnBoolean(0,1)):this.isLast?(i=n=0,e=400,this._btnBoolean(1,0)):(this._btnBoolean(0,0),a>this.slideItems?(i=this.currentSlide+this.slideItems+(a-this.slideItems),e=200):i=this.currentSlide+this.slideItems),this._carouselScrollTwo(t,i,e));else{const r=this.currentSlide-this.slideItems+this.slideItems;this._btnBoolean(0,1),0===this.currentSlide?(i=this.dataSource.length-this.items,e=400,this._btnBoolean(0,1)):this.slideItems>=r?(i=n=0,this._btnBoolean(1,0)):(this._btnBoolean(0,0),a>this.slideItems?(i=this.currentSlide-a,e=200):i=this.currentSlide-this.slideItems),this._carouselScrollTwo(t,i,e)}}_carouselScrollTwo(t,e,n){if(0!==this.dexVal){const t=Math.abs(this.touch.velocity);let e=Math.floor(this.dexVal/t/this.dexVal*(this.deviceWidth-this.dexVal));e=e>n?n:e,n=e<200?200:e,this.dexVal=0}this.withAnim?(this._setStyle(this.nguItemsContainer.nativeElement,"transition",`transform ${n}ms ${this.inputs.easing}`),this.inputs.animation&&this._carouselAnimator(t,e+1,e+this.items,n,Math.abs(this.currentSlide-e))):this._setStyle(this.nguItemsContainer.nativeElement,"transition",""),this.itemLength=this.dataSource.length,this._transformStyle(e),this.currentSlide=e,this.onMove.emit(this),this._carouselPointActiver(),this._carouselLoadTrigger(),this.withAnim=!0}_btnBoolean(t,e){this.isFirst=!!t,this.isLast=!!e}_transformString(t,e){let n="";return n+=`${this.styleid} { transform: translate3d(`,this.vertical.enabled?(this.transform[t]=this.vertical.height/this.inputs.grid[t]*e,n+=`0, -${this.transform[t]}px, 0`):(this.transform[t]=100/this.inputs.grid[t]*e,n+=`${this.directionSym}${this.transform[t]}%, 0, 0`),n+="); }",n}_transformStyle(t){let e="";if("responsive"===this.type){const n=this.inputs.gridBreakpoints;e=`@media (max-width: ${n.sm-1}px) {${this._transformString("xs",t)}}\n @media (min-width: ${n.sm}px) {${this._transformString("sm",t)} }\n @media (min-width: ${n.md}px) {${this._transformString("md",t)} }\n @media (min-width: ${n.lg}px) {${this._transformString("lg",t)} }\n @media (min-width: ${n.xl}px) {${this._transformString("xl",t)} }`}else this.transform.all=this.inputs.grid.all*t,e=`${this.styleid} { transform: translate3d(${this.directionSym}${this.transform.all}px, 0, 0);`;this.carouselCssNode.textContent=e}_carouselLoadTrigger(){"number"==typeof this.inputs.load&&this.dataSource.length-this.load<=this.currentSlide+this.items&&this.carouselLoad.emit(this.currentSlide)}_generateID(){let t="";const e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";for(let n=0;n<6;n++)t+=e.charAt(Math.floor(Math.random()*e.length));return`ngucarousel${t}`}_carouselInterval(){const t=this.carouselMain1.nativeElement;if(this.interval&&this.loop){this.listener4=this._renderer.listen("window","scroll",()=>{clearTimeout(this.onScrolling),this.onScrolling=setTimeout(()=>{this._onWindowScrolling()},600)});const e=Object(l.a)(t,"mouseleave").pipe(Object(f.a)(1)),n=Object(l.a)(t,"mouseenter").pipe(Object(f.a)(0)),i=Object(l.a)(t,"touchstart").pipe(Object(f.a)(1)),a=Object(l.a)(t,"touchend").pipe(Object(f.a)(0)),r=function(t=0,e=c.a){return(!Object(d.a)(t)||t<0)&&(t=0),e&&"function"==typeof e.schedule||(e=c.a),new o.a(n=>(n.add(e.schedule(u,t,{subscriber:n,counter:0,period:t})),n))}(this.inputs.interval.timing).pipe(Object(f.a)(1));setTimeout(()=>{this.carouselInt=Object(h.a)(e,i,n,a,this._intervalController$).pipe(Object(g.a)(1),Object(b.a)(t=>(this.isHovered=!t,this.cdr.markForCheck(),t?r:m.a))).subscribe(t=>{this._carouselScrollOne(1)})},this.interval.initialDelay)}}_updateItemIndexContextAni(){const t=this._nodeOutlet.viewContainer;for(let e=0,n=t.length;e<n;e++){const i=t.get(e).context;i.count=n,i.first=0===e,i.last=e===n-1,i.even=e%2==0,i.odd=!i.even,i.index=e}}_carouselAnimator(t,e,n,i,a,r=this._nodeOutlet.viewContainer){let o=a<5?a:5;o=1===o?3:o;const s=[];if(1===t)for(let l=e-1;l<n;l++)s.push(l),o*=2,r.get(l).context.animate={value:!0,params:{distance:o}};else for(let l=n-1;l>=e-1;l--)s.push(l),o*=2,r.get(l).context.animate={value:!0,params:{distance:-o}};this.cdr.markForCheck(),setTimeout(()=>{this._removeAnimations(s)},.7*i)}_removeAnimations(t){const e=this._nodeOutlet.viewContainer;t.forEach(t=>{e.get(t).context.animate={value:!1,params:{distance:0}}}),this.cdr.markForCheck()}_setStyle(t,e,n){this._renderer.setStyle(t,e,n)}_createStyleElem(t){const e=this._renderer.createElement("style");if(t){const n=this._renderer.createText(t);this._renderer.appendChild(e,n)}return this._renderer.appendChild(this.carousel,e),e}}return t.\u0275fac=function(e){return new(e||t)(a.Nb(a.l),a.Nb(a.G),a.Nb(a.u),a.Nb(a.D),a.Nb(a.h))},t.\u0275cmp=a.Hb({type:t,selectors:[["ngu-carousel"]],contentQueries:function(t,e,n){if(1&t&&(a.Gb(n,P,1,a.l),a.Gb(n,L,1,a.l),a.Gb(n,D,0)),2&t){let t;a.uc(t=a.cc())&&(e.nextBtn=t.first),a.uc(t=a.cc())&&(e.prevBtn=t.first),a.uc(t=a.cc())&&(e._defDirec=t)}},viewQuery:function(t,e){if(1&t&&(a.Lc(E,3),a.Lc(_,3,a.l),a.Lc(y,3,a.l),a.Lc(v,3,a.l)),2&t){let t;a.uc(t=a.cc())&&(e._nodeOutlet=t.first),a.uc(t=a.cc())&&(e.carouselMain1=t.first),a.uc(t=a.cc())&&(e.nguItemsContainer=t.first),a.uc(t=a.cc())&&(e.touchContainer=t.first)}},inputs:{dataSource:"dataSource",trackBy:"trackBy",inputs:"inputs"},outputs:{carouselLoad:"carouselLoad",onMove:"onMove"},features:[a.zb],ngContentSelectors:w,decls:11,vars:0,consts:[[1,"ngucarousel"],["ngucarousel",""],[1,"ngu-touch-container"],["touchContainer",""],[1,"ngucarousel-items"],["nguItemsContainer",""],["nguCarouselOutlet",""],[1,"nguclearFix"]],template:function(t,e){1&t&&(a.mc(C),a.Tb(0,"div",0,1),a.lc(2),a.Tb(3,"div",2,3),a.Tb(5,"div",4,5),a.Pb(7,6),a.Sb(),a.Sb(),a.Ob(8,"div",7),a.lc(9,1),a.Sb(),a.lc(10,2))},directives:[E],styles:["[_nghost-%COMP%]{display:block;position:relative}.ngurtl[_nghost-%COMP%]{direction:rtl}.ngucarousel[_ngcontent-%COMP%]{height:100%;overflow:hidden;position:relative}.ngucarousel[_ngcontent-%COMP%] .ngucarousel-items[_ngcontent-%COMP%]{display:flex;height:100%;position:relative}.nguvertical[_ngcontent-%COMP%]{flex-direction:column}.banner[_ngcontent-%COMP%] .ngucarouselPointDefault[_ngcontent-%COMP%] .ngucarouselPoint[_ngcontent-%COMP%]{bottom:20px;position:absolute;width:100%}.banner[_ngcontent-%COMP%] .ngucarouselPointDefault[_ngcontent-%COMP%] .ngucarouselPoint[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{background:hsla(0,0%,100%,.55)}.banner[_ngcontent-%COMP%] .ngucarouselPointDefault[_ngcontent-%COMP%] .ngucarouselPoint[_ngcontent-%COMP%] li.active[_ngcontent-%COMP%]{background:#fff}.banner[_ngcontent-%COMP%] .ngucarouselPointDefault[_ngcontent-%COMP%] .ngucarouselPoint[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:hover{cursor:pointer}.ngucarouselPointDefault[_ngcontent-%COMP%] .ngucarouselPoint[_ngcontent-%COMP%]{box-sizing:border-box;list-style-type:none;margin:0;overflow:auto;padding:12px;text-align:center;white-space:nowrap}.ngucarouselPointDefault[_ngcontent-%COMP%] .ngucarouselPoint[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{background:rgba(0,0,0,.55);border-radius:50%;display:inline-block;margin:0 4px;padding:4px;transition:.4s;transition-timing-function:cubic-bezier(.17,.67,.83,.67)}.ngucarouselPointDefault[_ngcontent-%COMP%] .ngucarouselPoint[_ngcontent-%COMP%] li.active[_ngcontent-%COMP%]{background:#6b6b6b;transform:scale(1.8)}.ngucarouselPointDefault[_ngcontent-%COMP%] .ngucarouselPoint[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:hover{cursor:pointer}.nguclearFix[_ngcontent-%COMP%]{clear:both}"],changeDetection:0}),t})(),I=(()=>{class t{constructor(){this.classes=!0}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=a.Hb({type:t,selectors:[["ngu-tile"]],hostVars:2,hostBindings:function(t,e){2&t&&a.Fb("item",e.classes)},ngContentSelectors:x,decls:2,vars:0,consts:[[1,"tile"]],template:function(t,e){1&t&&(a.mc(),a.Tb(0,"div",0),a.lc(1),a.Sb())},styles:["[_nghost-%COMP%]{box-sizing:border-box;padding:10px}.tile[_ngcontent-%COMP%]{box-shadow:0 2px 5px 0 rgba(0,0,0,.16),0 2px 10px 0 rgba(0,0,0,.12)}"]}),t})(),R=(()=>{class t{}return t.\u0275mod=a.Lb({type:t}),t.\u0275inj=a.Kb({factory:function(e){return new(e||t)},imports:[[i.c]]}),t})()},zUnb:function(t,e,n){"use strict";n.r(e);var i=n("cUpR"),a=n("8Y7J"),r=n("omvX"),o=n("TSSN"),s=n("Lyw/"),l=n("iInd"),c=n("zfSa"),d=n("qh/L"),u=n("f4AX");let h=(()=>{class t{constructor(t,e,n){this.sessionService=t,this.userService=e,this.router=n}canActivate(t,e){if(this.sessionService.isLogged){const e=t.data.roles;return!e||0===e.length||!!e.includes(this.userService.role)||(this.router.navigate(["/home"]),!1)}return this.router.navigate(["/auth/login"]),!1}canActivateChild(t,e){return this.canActivate(t,e)}}return t.\u0275fac=function(e){return new(e||t)(a.Xb(d.a),a.Xb(u.a),a.Xb(l.f))},t.\u0275prov=a.Jb({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const m=[{path:"",redirectTo:"home",pathMatch:"full"},{path:"home",loadChildren:()=>Promise.resolve().then(n.bind(null,"99Un")).then(t=>t.HomeModule),canActivate:[h]},{path:"auth",loadChildren:()=>Promise.resolve().then(n.bind(null,"lBUW")).then(t=>t.AuthModule)},{path:"inscription",loadChildren:()=>Promise.resolve().then(n.bind(null,"4Smk")).then(t=>t.InscriptionModule)},{path:"compte",loadChildren:()=>Promise.resolve().then(n.bind(null,"3+fm")).then(t=>t.CompteModule),canActivate:[h]},{path:"declaration-access",loadChildren:()=>Promise.resolve().then(n.bind(null,"0j+H")).then(t=>t.DeclarationAccessModule),canActivate:[h],data:{roles:[c.a.DONNEUR_ORDRE]}},{path:"demande-acces",loadChildren:()=>Promise.resolve().then(n.bind(null,"NTaR")).then(t=>t.DemandeAccesModule),canActivate:[h],data:{roles:[c.a.ENTREPRISE,c.a.MANDATAIRE]}},{path:"dpd",loadChildren:()=>Promise.resolve().then(n.bind(null,"ZIcu")).then(t=>t.DpdModule),canActivate:[h]},{path:"faq",loadChildren:()=>Promise.resolve().then(n.bind(null,"BhQr")).then(t=>t.FaqModule)},{path:"legals",loadChildren:()=>Promise.resolve().then(n.bind(null,"TGtj")).then(t=>t.LegalsModule)},{path:"contact",loadChildren:()=>Promise.resolve().then(n.bind(null,"14/Y")).then(t=>t.ContactModule)},{path:"news/:id",loadChildren:()=>Promise.resolve().then(n.bind(null,"qUUn")).then(t=>t.NewsModule),canActivate:[h]},{path:"**",redirectTo:"home",pathMatch:"full"}];let p=(()=>{class t{}return t.\u0275mod=a.Lb({type:t}),t.\u0275inj=a.Kb({factory:function(e){return new(e||t)},imports:[[l.j.forRoot(m,{enableTracing:!1,onSameUrlNavigation:"reload",useHash:!0,scrollPositionRestoration:"enabled",anchorScrolling:"enabled",scrollOffset:[0,100],relativeLinkResolution:"legacy"})],l.j]}),t})();var f=n("cXaA"),g=n("1uah"),b=n("LRne"),_=n("JIr8"),y=n("IGtN"),v=n("lxpx"),C=n("WiJD"),w=n("SVse"),x=n("g1kL"),M=n("aZ8m"),O=n("aF9I");function k(t,e){1&t&&a.Ob(0,"app-header",6)}function S(t,e){1&t&&(a.Ob(0,"div",7),a.gc(1,"translate")),2&t&&a.nc("innerHtml",a.hc(1,1,"common.alert.browser"),a.zc)}function T(t,e){1&t&&(a.Rb(0),a.Ob(1,"router-outlet"),a.Qb())}function P(t,e){1&t&&(a.Tb(0,"h1"),a.Hc(1,"Une erreur est survenue lors du chargement des donn\xe9es du serveur"),a.Sb())}function L(t,e){1&t&&a.Ob(0,"app-footer",8)}let D=(()=>{class t extends y.a{constructor(t,e,n){super(t),this.translateService=t,this.translationService=e,this.configurationService=n,this.log=f.a.create("AppComponent"),this.title="Sipsi",this.constructorDone=!1,this.errorLoading=!1,null===localStorage.getItem("lang")&&localStorage.setItem("lang",this.translateService.getBrowserLang())}load(){Object(g.a)(this.translationService.init(),this.configurationService.getData(),this.configurationService.getVersion()).pipe(Object(_.a)(t=>(this.log.error(t),this.constructorDone=!0,this.errorLoading=!0,this.postLoading(),Object(b.a)(t)))).subscribe(t=>{this.constructorDone=!0,this.postLoading()})}postLoading(){if(this.constructorDone){const t=document.getElementById("app-root"),e=document.getElementById("loading");t.style.display="flex",e.style.display="none"}}checkBrowserIsIE(){const t=window.navigator.userAgent;return t.indexOf("MSIE ")>-1||t.indexOf("Trident/")>-1}}return t.\u0275fac=function(e){return new(e||t)(a.Nb(o.d),a.Nb(v.a),a.Nb(C.a))},t.\u0275cmp=a.Hb({type:t,selectors:[["app-root"]],features:[a.zb],decls:8,vars:5,consts:[["role","banner",4,"ngIf"],["role","main",1,"wrapper"],["class","alert",3,"innerHtml",4,"ngIf"],[4,"ngIf","ngIfElse"],["errorLoadLanguage",""],["role","contentinfo",4,"ngIf"],["role","banner"],[1,"alert",3,"innerHtml"],["role","contentinfo"]],template:function(t,e){if(1&t&&(a.Fc(0,k,1,0,"app-header",0),a.Tb(1,"main",1),a.Ob(2,"app-progress-bar"),a.Fc(3,S,2,3,"div",2),a.Fc(4,T,2,0,"ng-container",3),a.Fc(5,P,2,0,"ng-template",null,4,a.Gc),a.Sb(),a.Fc(7,L,1,0,"app-footer",5)),2&t){const t=a.vc(6);a.nc("ngIf",e.constructorDone&&!e.errorLoading),a.Cb(3),a.nc("ngIf",e.checkBrowserIsIE()),a.Cb(1),a.nc("ngIf",e.constructorDone&&!e.errorLoading)("ngIfElse",t),a.Cb(3),a.nc("ngIf",e.constructorDone&&!e.errorLoading)}},directives:[w.l,x.a,M.a,l.k,O.a],pipes:[o.c],styles:[".wrapper[_ngcontent-%COMP%]{-ms-flex:1 0 auto;flex:1 0 auto;-ms-flex-direction:column;flex-direction:column;display:-ms-flexbox;display:flex;margin-top:7rem} .infobulle_sipsi{background-color:#deb887!important;color:#000!important}.alert[_ngcontent-%COMP%]{background-color:#8b0000;text-align:center;color:#fff;font-size:x-large;font-weight:700}"]}),t})();var E=n("IheW"),A=n("z6cu"),I=n("DGrs"),R=n("iELJ"),N=n("ROBU");let Y=(()=>{class t{constructor(t,e){this.dialog=t,this.sharedErrorService=e,this.whiteList=[400,401,403,404,410,502]}handleError(t){console.error(t),-1!==this.whiteList.indexOf(t.status)||t.url&&(-1!==t.url.indexOf("api/tva")||-1!==t.url.indexOf("api/sirets"))||(this.dialogRef||(this.dialogRef=this.dialog.open(I.a),this.sub&&this.sub.unsubscribe(),this.sub=this.dialogRef.afterClosed().subscribe(()=>{this.dialogRef=null})),this.sharedErrorService.onErrors.next(t))}}return t.\u0275fac=function(e){return new(e||t)(a.Xb(R.b),a.Xb(N.a))},t.\u0275prov=a.Jb({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),H=(()=>{class t{constructor(t){this.errorHandler=t,this.log=f.a.create("HttpErrorInterceptor")}intercept(t,e){return e.handle(t).pipe(Object(_.a)(t=>(this.log.error("Handler error intercepted"),t instanceof E.d&&this.errorHandler.handleError(t),Object(A.a)(t))))}}return t.\u0275fac=function(e){return new(e||t)(a.Xb(Y))},t.\u0275prov=a.Jb({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),j=(()=>{class t{constructor(t){this.sessionService=t,this.log=f.a.create("JWTInterceptor")}intercept(t,e){return t.headers&&null==t.headers.get("Accept-Language")&&(t=t.clone({headers:t.headers.set("Accept-Language",localStorage.getItem("lang"))})),this.sessionService.isLogged&&(t=t.clone({headers:t.headers.set("Authorization",`Bearer ${this.sessionService.securityToken}`)})),e.handle(t).pipe(Object(_.a)(t=>(this.log.error("JWTInterceptor error intercepted"),t instanceof E.d&&401===t.status&&(this.log.data("Auth JWT Token interceptor, 401 error status catched so redirect to /login"),this.sessionService.logout()),Object(A.a)(t))))}}return t.\u0275fac=function(e){return new(e||t)(a.Xb(d.a))},t.\u0275prov=a.Jb({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();var F=n("PCNd");let z=(()=>{class t{}return t.\u0275mod=a.Lb({type:t}),t.\u0275inj=a.Kb({factory:function(e){return new(e||t)},providers:[{provide:E.a,useClass:j,multi:!0},{provide:E.a,useClass:H,multi:!0},h],imports:[[w.c,E.c,F.a]]}),t})();var V=n("Cwn8"),B=n("lJxs");let W=(()=>{class t{constructor(t){this.http=t,this.log=f.a.create("LibelleService"),this.END_POINT="/api/libelles"}getLibelles(t){return this.log.data(`[HTTP] (GET) -> ${this.END_POINT}`),this.http.get(this.END_POINT,{headers:new E.e({"Content-Type":"application/json","Accept-Language":t})})}}return t.\u0275fac=function(e){return new(e||t)(a.Xb(E.b))},t.\u0275prov=a.Jb({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),U=(()=>{class t{constructor(t){this.libelleService=t}getTranslation(t){return this.libelleService.getLibelles(t).pipe(Object(B.a)((t=[])=>{const e={};return t.forEach(t=>{e[t.cle]=t.valeur,e[`${t.cle}._info`]=t.info}),e}))}}return t.\u0275fac=function(e){return new(e||t)(a.Xb(W))},t.\u0275prov=a.Jb({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();var q=n("lBUW"),G=n("3+fm"),J=n("14/Y"),Z=n("0j+H"),$=n("NTaR"),X=n("ZIcu"),K=n("BhQr"),Q=n("99Un"),tt=n("4Smk"),et=n("TGtj"),nt=n("qUUn");let it=(()=>{class t{}return t.\u0275mod=a.Lb({type:t}),t.\u0275inj=a.Kb({factory:function(e){return new(e||t)},imports:[[w.c,F.a,q.AuthModule,G.CompteModule,J.ContactModule,Z.DeclarationAccessModule,X.DpdModule,K.FaqModule,Q.HomeModule,tt.InscriptionModule,et.LegalsModule,nt.NewsModule,$.DemandeAccesModule]]}),t})(),at=(()=>{class t{constructor(t){}}return t.\u0275mod=a.Lb({type:t,bootstrap:[D]}),t.\u0275inj=a.Kb({factory:function(e){return new(e||t)(a.Xb(o.d))},providers:[{provide:s.c,useClass:V.a}],imports:[[p,z,it,F.a,s.d,r.b,o.b.forRoot({loader:{provide:o.a,useClass:U}})],o.b]}),t})();Object(a.U)(),i.c().bootstrapModule(at).catch(t=>console.log(t))},zaPX:function(t,e,n){"use strict";n.d(e,"a",function(){return a});var i=n("8Y7J");let a=(()=>{class t{constructor(){}get form(){return this._form}get numeroModele(){return this._dpd.numeroModele}get countries(){return this._countries}get mode(){return this._mode}get dpd(){return this._dpd}get user(){return this._user}get activities(){return this._activities}get preventLeave(){return this._preventLeave}get autocompleteCommuneTimeLimit(){return this._autocompleteCommuneTimeLimit}get autocompleteCommuneNbMax(){return this._autocompleteCommuneNbMax}get autocompleteDpdTimeLimit(){return this._autocompleteDpdTimeLimit}get autocompleteDpdNbMax(){return this._autocompleteDpdNbMax}get siteKey(){return this._siteKey}get qualifications(){return this._qualifications}get langues(){return this._langues}get lastSavedLocationsArrayRawValue(){return this._lastSavedLocationsArrayRawValue}get lastSavedWorkersArrayRawValue(){return this._lastSavedWorkersArrayRawValue}get workerIndex(){return this._workerIndex}get locationIndex(){return this._locationIndex}setForm(t){this._form=t}setUser(t){this._user=t}setDPD(t){this._dpd=t}setCountries(t){this._countries=t}setMode(t){this._mode=t}setActivities(t){this._activities=t}setPreventLeave(t){this._preventLeave=t}setAutocompleteCommuneTimeLimit(t){this._autocompleteCommuneTimeLimit=t}setAutocompleteCommuneNbMax(t){this._autocompleteCommuneNbMax=t}setAutocompleteDpdTimeLimit(t){this._autocompleteDpdTimeLimit=t}setAutocompleteDpdNbMax(t){this._autocompleteDpdNbMax=t}setSiteKey(t){this._siteKey=t}setQualifications(t){this._qualifications=t}setlangues(t){this._langues=t}setLastSavedLocationsArrayRawValue(t){this._lastSavedLocationsArrayRawValue=t}setlastSavedWorkersArrayRawValue(t){this._lastSavedWorkersArrayRawValue=t}setWorkerIndex(t){return this._workerIndex=t}setLocationIndex(t){return this._locationIndex=t}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=i.Jb({token:t,factory:t.\u0275fac,providedIn:"root"}),t})()},zfSa:function(t,e,n){"use strict";n.d(e,"a",function(){return i});var i=function(t){return t.MANDATAIRE="MANDATAIRE",t.ENTREPRISE="ENTREPRISE",t.DONNEUR_ORDRE="DONNEUR_ORDRE",t}({})},zn8P:function(t,e){function n(t){return Promise.resolve().then(function(){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e})}n.keys=function(){return[]},n.resolve=n,t.exports=n,n.id="zn8P"},zx2A:function(t,e,n){"use strict";n.d(e,"a",function(){return o}),n.d(e,"b",function(){return s}),n.d(e,"c",function(){return l});var i=n("7o/Q"),a=n("HDdC"),r=n("SeVD");class o extends i.a{constructor(t){super(),this.parent=t}_next(t){this.parent.notifyNext(t)}_error(t){this.parent.notifyError(t),this.unsubscribe()}_complete(){this.parent.notifyComplete(),this.unsubscribe()}}class s extends i.a{notifyNext(t){this.destination.next(t)}notifyError(t){this.destination.error(t)}notifyComplete(){this.destination.complete()}}function l(t,e){if(!e.closed)return t instanceof a.a?t.subscribe(e):Object(r.a)(t)(e)}},zx6S:function(t,e,n){!function(t){"use strict";var e={words:{ss:["sekunda","sekunde","sekundi"],m:["jedan minut","jedne minute"],mm:["minut","minute","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mesec","meseca","meseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(t,e){return 1===t?e[0]:t>=2&&t<=4?e[1]:e[2]},translate:function(t,n,i){var a=e.words[i];return 1===i.length?n?a[0]:a[1]:t+" "+e.correctGrammaticalCase(t,a)}};t.defineLocale("sr",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljak_utorak_sreda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sre._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedelju] [u] LT";case 3:return"[u] [sredu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010de u] LT",lastWeek:function(){return["[pro\u0161le] [nedelje] [u] LT","[pro\u0161log] [ponedeljka] [u] LT","[pro\u0161log] [utorka] [u] LT","[pro\u0161le] [srede] [u] LT","[pro\u0161log] [\u010detvrtka] [u] LT","[pro\u0161log] [petka] [u] LT","[pro\u0161le] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",ss:e.translate,m:e.translate,mm:e.translate,h:e.translate,hh:e.translate,d:"dan",dd:e.translate,M:"mesec",MM:e.translate,y:"godinu",yy:e.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("wd/R"))}}
URLhttps://www.sipsi.travail.gouv.fr/polyfills-es2015.1764998744653a3e1a7d.js
MethodGET
Evidenceclass s{constructor(t,e){this._parent=t,this._name=e?e.name||"unnamed":"<root>",this._properties=e&&e.properties||{},this._zoneDelegate=new u(this,this._parent&&this._parent._zoneDelegate,e)}static assertZonePatched(){if(t.Promise!==C.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}static get root(){let t=s.current;for(;t.parent;)t=t.parent;return t}static get current(){return I.zone}static get currentTask(){return D}static __load_patch(e,o){if(C.hasOwnProperty(e)){if(a)throw Error("Already loaded patch: "+e)}else if(!t["__Zone_disable_"+e]){const i="Zone:"+e;n(i),C[e]=o(t,s,R),r(i,i)}}get parent(){return this._parent}get name(){return this._name}get(t){const e=this.getZoneWith(t);if(e)return e._properties[t]}getZoneWith(t){let e=this;for(;e;){if(e._properties.hasOwnProperty(t))return e;e=e._parent}return null}fork(t){if(!t)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,t)}wrap(t,e){if("function"!=typeof t)throw new Error("Expecting function got: "+t);const n=this._zoneDelegate.intercept(this,t,e),r=this;return function(){return r.runGuarded(n,this,arguments,e)}}run(t,e,n,r){I={parent:I,zone:this};try{return this._zoneDelegate.invoke(this,t,e,n,r)}finally{I=I.parent}}runGuarded(t,e=null,n,r){I={parent:I,zone:this};try{try{return this._zoneDelegate.invoke(this,t,e,n,r)}catch(o){if(this._zoneDelegate.handleError(this,o))throw o}}finally{I=I.parent}}runTask(t,e,n){if(t.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(t.zone||k).name+"; Execution: "+this.name+")");if(t.state===b&&(t.type===O||t.type===x))return;const r=t.state!=_;r&&t._transitionTo(_,w),t.runCount++;const o=D;D=t,I={parent:I,zone:this};try{t.type==x&&t.data&&!t.data.isPeriodic&&(t.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,t,e,n)}catch(i){if(this._zoneDelegate.handleError(this,i))throw i}}finally{t.state!==b&&t.state!==S&&(t.type==O||t.data&&t.data.isPeriodic?r&&t._transitionTo(w,_):(t.runCount=0,this._updateTaskCount(t,-1),r&&t._transitionTo(b,_,b))),I=I.parent,D=o}}scheduleTask(t){if(t.zone&&t.zone!==this){let e=this;for(;e;){if(e===t.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${t.zone.name}`);e=e.parent}}t._transitionTo(T,b);const e=[];t._zoneDelegates=e,t._zone=this;try{t=this._zoneDelegate.scheduleTask(this,t)}catch(n){throw t._transitionTo(S,T,b),this._zoneDelegate.handleError(this,n),n}return t._zoneDelegates===e&&this._updateTaskCount(t,1),t.state==T&&t._transitionTo(w,T),t}scheduleMicroTask(t,e,n,r){return this.scheduleTask(new f(A,t,e,n,r,void 0))}scheduleMacroTask(t,e,n,r,o){return this.scheduleTask(new f(x,t,e,n,r,o))}scheduleEventTask(t,e,n,r,o){return this.scheduleTask(new f(O,t,e,n,r,o))}cancelTask(t){if(t.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(t.zone||k).name+"; Execution: "+this.name+")");t._transitionTo(E,w,_);try{this._zoneDelegate.cancelTask(this,t)}catch(e){throw t._transitionTo(S,E),this._zoneDelegate.handleError(this,e),e}return this._updateTaskCount(t,-1),t._transitionTo(b,E),t.runCount=0,t}_updateTaskCount(t,e){const n=t._zoneDelegates;-1==e&&(t._zoneDelegates=null);for(let r=0;r<n.length;r++)n[r]._updateTaskCount(t.type,e)}}s.__symbol__=i;const c={name:"",onHasTask:(t,e,n,r)=>t.hasTask(n,r),onScheduleTask:(t,e,n,r)=>t.scheduleTask(n,r),onInvokeTask:(t,e,n,r,o,i)=>t.invokeTask(n,r,o,i),onCancelTask:(t,e,n,r)=>t.cancelTask(n,r)};class u{constructor(t,e,n){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=t,this._parentDelegate=e,this._forkZS=n&&(n&&n.onFork?n:e._forkZS),this._forkDlgt=n&&(n.onFork?e:e._forkDlgt),this._forkCurrZone=n&&(n.onFork?this.zone:e._forkCurrZone),this._interceptZS=n&&(n.onIntercept?n:e._interceptZS),this._interceptDlgt=n&&(n.onIntercept?e:e._interceptDlgt),this._interceptCurrZone=n&&(n.onIntercept?this.zone:e._interceptCurrZone),this._invokeZS=n&&(n.onInvoke?n:e._invokeZS),this._invokeDlgt=n&&(n.onInvoke?e:e._invokeDlgt),this._invokeCurrZone=n&&(n.onInvoke?this.zone:e._invokeCurrZone),this._handleErrorZS=n&&(n.onHandleError?n:e._handleErrorZS),this._handleErrorDlgt=n&&(n.onHandleError?e:e._handleErrorDlgt),this._handleErrorCurrZone=n&&(n.onHandleError?this.zone:e._handleErrorCurrZone),this._scheduleTaskZS=n&&(n.onScheduleTask?n:e._scheduleTaskZS),this._scheduleTaskDlgt=n&&(n.onScheduleTask?e:e._scheduleTaskDlgt),this._scheduleTaskCurrZone=n&&(n.onScheduleTask?this.zone:e._scheduleTaskCurrZone),this._invokeTaskZS=n&&(n.onInvokeTask?n:e._invokeTaskZS),this._invokeTaskDlgt=n&&(n.onInvokeTask?e:e._invokeTaskDlgt),this._invokeTaskCurrZone=n&&(n.onInvokeTask?this.zone:e._invokeTaskCurrZone),this._cancelTaskZS=n&&(n.onCancelTask?n:e._cancelTaskZS),this._cancelTaskDlgt=n&&(n.onCancelTask?e:e._cancelTaskDlgt),this._cancelTaskCurrZone=n&&(n.onCancelTask?this.zone:e._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const r=n&&n.onHasTask;(r||e&&e._hasTaskZS)&&(this._hasTaskZS=r?n:c,this._hasTaskDlgt=e,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=t,n.onScheduleTask||(this._scheduleTaskZS=c,this._scheduleTaskDlgt=e,this._scheduleTaskCurrZone=this.zone),n.onInvokeTask||(this._invokeTaskZS=c,this._invokeTaskDlgt=e,this._invokeTaskCurrZone=this.zone),n.onCancelTask||(this._cancelTaskZS=c,this._cancelTaskDlgt=e,this._cancelTaskCurrZone=this.zone))}fork(t,e){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,t,e):new s(t,e)}intercept(t,e,n){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,t,e,n):e}invoke(t,e,n,r,o){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,t,e,n,r,o):e.apply(n,r)}handleError(t,e){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,t,e)}scheduleTask(t,e){let n=e;if(this._scheduleTaskZS)this._hasTaskZS&&n._zoneDelegates.push(this._hasTaskDlgtOwner),n=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,t,e),n||(n=e);else if(e.scheduleFn)e.scheduleFn(e);else{if(e.type!=A)throw new Error("Task is missing scheduleFn.");g(e)}return n}invokeTask(t,e,n,r){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,t,e,n,r):e.callback.apply(n,r)}cancelTask(t,e){let n;if(this._cancelTaskZS)n=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,t,e);else{if(!e.cancelFn)throw Error("Task is not cancelable");n=e.cancelFn(e)}return n}hasTask(t,e){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,t,e)}catch(n){this.handleError(t,n)}}_updateTaskCount(t,e){const n=this._taskCounts,r=n[t],o=n[t]=r+e;if(o<0)throw new Error("More tasks executed then were scheduled.");0!=r&&0!=o||this.hasTask(this.zone,{microTask:n.microTask>0,macroTask:n.macroTask>0,eventTask:n.eventTask>0,change:t})}}class f{constructor(e,n,r,o,i,a){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=e,this.source=n,this.data=o,this.scheduleFn=i,this.cancelFn=a,!r)throw new Error("callback is not defined");this.callback=r;const s=this;this.invoke=e===O&&o&&o.useG?f.invokeTask:function(){return f.invokeTask.call(t,s,this,arguments)}}static invokeTask(t,e,n){t||(t=this),M++;try{return t.runCount++,t.zone.runTask(t,e,n)}finally{1==M&&m(),M--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(b,T)}_transitionTo(t,e,n){if(this._state!==e&&this._state!==n)throw new Error(`${this.type} '${this.source}': can not transition to '${t}', expecting state '${e}'${n?" or '"+n+"'":""}, was '${this._state}'.`);this._state=t,t==b&&(this._zoneDelegates=null)}toString(){return this.data&&void 0!==this.data.handleId?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}const l=i("setTimeout"),p=i("Promise"),h=i("then");let d,y=[],v=!1;function g(e){if(0===M&&0===y.length)if(d||t[p]&&(d=t[p].resolve(0)),d){let t=d[h];t||(t=d.then),t.call(d,m)}else t[l](m,0);e&&y.push(e)}function m(){if(!v){for(v=!0;y.length;){const e=y;y=[];for(let n=0;n<e.length;n++){const r=e[n];try{r.zone.runTask(r,null,null)}catch(t){R.onUnhandledError(t)}}}R.microtaskDrainDone(),v=!1}}const k={name:"NO ZONE"},b="notScheduled",T="scheduling",w="scheduled",_="running",E="canceling",S="unknown",A="microTask",x="macroTask",O="eventTask",C={},R={symbol:i,currentZoneFrame:()=>I,onUnhandledError:j,microtaskDrainDone:j,scheduleMicroTask:g,showUncaughtError:()=>!s[i("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:j,patchMethod:()=>j,bindArguments:()=>[],patchThen:()=>j,patchMacroTask:()=>j,patchEventPrototype:()=>j,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>j,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>j,wrapWithCurrentZone:()=>j,filterProperties:()=>[],attachOriginToPatched:()=>j,_redefineProperty:()=>j,patchCallbacks:()=>j};let I={parent:null,zone:new s(null,null)},D=null,M=0;function j(){}r("Zone","Zone"),t.Zone=s}("undefined"!=typeof window&&window||"undefined"!=typeof self&&self||global);const n=Object.getOwnPropertyDescriptor,r=Object.defineProperty,o=Object.getPrototypeOf,i=Object.create,a=Array.prototype.slice,s=Zone.__symbol__("addEventListener"),c=Zone.__symbol__("removeEventListener"),u=Zone.__symbol__("");function f(t,e){return Zone.current.wrap(t,e)}function l(t,e,n,r,o){return Zone.current.scheduleMacroTask(t,e,n,r,o)}const p=Zone.__symbol__,h="undefined"!=typeof window,d=h?window:void 0,y=h&&d||"object"==typeof self&&self||global,v=[null];function g(t,e){for(let n=t.length-1;n>=0;n--)"function"==typeof t[n]&&(t[n]=f(t[n],e+"_"+n));return t}function m(t){return!t||!1!==t.writable&&!("function"==typeof t.get&&void 0===t.set)}const k="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope,b=!("nw"in y)&&void 0!==y.process&&"[object process]"==={}.toString.call(y.process),T=!b&&!k&&!(!h||!d.HTMLElement),w=void 0!==y.process&&"[object process]"==={}.toString.call(y.process)&&!k&&!(!h||!d.HTMLElement),_={},E=function(t){if(!(t=t||y.event))return;let e=_[t.type];e||(e=_[t.type]=p("ON_PROPERTY"+t.type));const n=this||t.target||y,r=n[e];let o;if(T&&n===d&&"error"===t.type){const e=t;o=r&&r.call(this,e.message,e.filename,e.lineno,e.colno,e.error),!0===o&&t.preventDefault()}else o=r&&r.apply(this,arguments),null==o||o||t.preventDefault();return o};function S(t,e,o){let i=n(t,e);if(!i&&o&&n(o,e)&&(i={enumerable:!0,configurable:!0}),!i||!i.configurable)return;const a=p("on"+e+"patched");if(t.hasOwnProperty(a)&&t[a])return;delete i.writable,delete i.value;const s=i.get,c=i.set,u=e.substr(2);let f=_[u];f||(f=_[u]=p("ON_PROPERTY"+u)),i.set=function(e){let n=this;n||t!==y||(n=y),n&&(n[f]&&n.removeEventListener(u,E),c&&c.apply(n,v),"function"==typeof e?(n[f]=e,n.addEventListener(u,E,!1)):n[f]=null)},i.get=function(){let n=this;if(n||t!==y||(n=y),!n)return null;const r=n[f];if(r)return r;if(s){let t=s&&s.call(this);if(t)return i.set.call(this,t),"function"==typeof n.removeAttribute&&n.removeAttribute(e),t}return null},r(t,e,i),t[a]=!0}function A(t,e,n){if(e)for(let r=0;r<e.length;r++)S(t,"on"+e[r],n);else{const e=[];for(const n in t)"on"==n.substr(0,2)&&e.push(n);for(let r=0;r<e.length;r++)S(t,e[r],n)}}const x=p("originalInstance");function O(t){const e=y[t];if(!e)return;y[p(t)]=e,y[t]=function(){const n=g(arguments,t);switch(n.length){case 0:this[x]=new e;break;case 1:this[x]=new e(n[0]);break;case 2:this[x]=new e(n[0],n[1]);break;case 3:this[x]=new e(n[0],n[1],n[2]);break;case 4:this[x]=new e(n[0],n[1],n[2],n[3]);break;default:throw new Error("Arg list too long.")}},I(y[t],e);const n=new e(function(){});let o;for(o in n)"XMLHttpRequest"===t&&"responseBlob"===o||function(e){"function"==typeof n[e]?y[t].prototype[e]=function(){return this[x][e].apply(this[x],arguments)}:r(y[t].prototype,e,{set:function(n){"function"==typeof n?(this[x][e]=f(n,t+"."+e),I(this[x][e],n)):this[x][e]=n},get:function(){return this[x][e]}})}(o);for(o in e)"prototype"!==o&&e.hasOwnProperty(o)&&(y[t][o]=e[o])}function C(t,e,r){let i=t;for(;i&&!i.hasOwnProperty(e);)i=o(i);!i&&t[e]&&(i=t);const a=p(e);let s=null;if(i&&!(s=i[a])&&(s=i[a]=i[e],m(i&&n(i,e)))){const t=r(s,a,e);i[e]=function(){return t(this,arguments)},I(i[e],s)}return s}function R(t,e,n){let r=null;function o(t){const e=t.data;return e.args[e.cbIdx]=function(){t.invoke.apply(this,arguments)},r.apply(e.target,e.args),t}r=C(t,e,t=>function(e,r){const i=n(e,r);return i.cbIdx>=0&&"function"==typeof r[i.cbIdx]?l(i.name,r[i.cbIdx],i,o):t.apply(e,r)})}function I(t,e){t[p("OriginalDelegate")]=e}let D=!1,M=!1;function j(){try{const t=d.navigator.userAgent;if(-1!==t.indexOf("MSIE ")||-1!==t.indexOf("Trident/"))return!0}catch(t){}return!1}function P(){if(D)return M;D=!0;try{const t=d.navigator.userAgent;-1===t.indexOf("MSIE ")&&-1===t.indexOf("Trident/")&&-1===t.indexOf("Edge/")||(M=!0)}catch(t){}return M}Zone.__load_patch("ZoneAwarePromise",(t,e,n)=>{const r=Object.getOwnPropertyDescriptor,o=Object.defineProperty,i=n.symbol,a=[],s=!0===t[i("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],c=i("Promise"),u=i("then");n.onUnhandledError=t=>{if(n.showUncaughtError()){const e=t&&t.rejection;e?console.error("Unhandled Promise rejection:",e instanceof Error?e.message:e,"; Zone:",t.zone.name,"; Task:",t.task&&t.task.source,"; Value:",e,e instanceof Error?e.stack:void 0):console.error(t)}},n.microtaskDrainDone=()=>{for(;a.length;){const e=a.shift();try{e.zone.runGuarded(()=>{if(e.throwOriginal)throw e.rejection;throw e})}catch(t){l(t)}}};const f=i("unhandledPromiseRejectionHandler");function l(t){n.onUnhandledError(t);try{const n=e[f];"function"==typeof n&&n.call(this,t)}catch(r){}}function p(t){return t&&t.then}function h(t){return t}function d(t){return x.reject(t)}const y=i("state"),v=i("value"),g=i("finally"),m=i("parentPromiseValue"),k=i("parentPromiseState");function b(t,e){return n=>{try{w(t,e,n)}catch(r){w(t,!1,r)}}}const T=i("currentTaskTrace");function w(t,r,i){const c=function(){let t=!1;return function(e){return function(){t||(t=!0,e.apply(null,arguments))}}}();if(t===i)throw new TypeError("Promise resolved with itself");if(null===t[y]){let l=null;try{"object"!=typeof i&&"function"!=typeof i||(l=i&&i.then)}catch(f){return c(()=>{w(t,!1,f)})(),t}if(!1!==r&&i instanceof x&&i.hasOwnProperty(y)&&i.hasOwnProperty(v)&&null!==i[y])E(i),w(t,i[y],i[v]);else if(!1!==r&&"function"==typeof l)try{l.call(i,c(b(t,r)),c(b(t,!1)))}catch(f){c(()=>{w(t,!1,f)})()}else{t[y]=r;const c=t[v];if(t[v]=i,t[g]===g&&!0===r&&(t[y]=t[k],t[v]=t[m]),!1===r&&i instanceof Error){const t=e.currentTask&&e.currentTask.data&&e.currentTask.data.__creationTrace__;t&&o(i,T,{configurable:!0,enumerable:!1,writable:!0,value:t})}for(let e=0;e<c.length;)S(t,c[e++],c[e++],c[e++],c[e++]);if(0==c.length&&0==r){t[y]=0;let r=i;try{throw new Error("Uncaught (in promise): "+((u=i)&&u.toString===Object.prototype.toString?(u.constructor&&u.constructor.name||"")+": "+JSON.stringify(u):u?u.toString():Object.prototype.toString.call(u))+(i&&i.stack?"\n"+i.stack:""))}catch(f){r=f}s&&(r.throwOriginal=!0),r.rejection=i,r.promise=t,r.zone=e.current,r.task=e.currentTask,a.push(r),n.scheduleMicroTask()}}}var u;return t}const _=i("rejectionHandledHandler");function E(t){if(0===t[y]){try{const n=e[_];n&&"function"==typeof n&&n.call(this,{rejection:t[v],promise:t})}catch(n){}t[y]=!1;for(let e=0;e<a.length;e++)t===a[e].promise&&a.splice(e,1)}}function S(t,e,n,r,o){E(t);const i=t[y],a=i?"function"==typeof r?r:h:"function"==typeof o?o:d;e.scheduleMicroTask("Promise.then",()=>{try{const r=t[v],o=!!n&&g===n[g];o&&(n[m]=r,n[k]=i);const s=e.run(a,void 0,o&&a!==d&&a!==h?[]:[r]);w(n,!0,s)}catch(r){w(n,!1,r)}},n)}const A=function(){};class x{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(t){return w(new this(null),!0,t)}static reject(t){return w(new this(null),!1,t)}static race(t){let e,n,r=new this((t,r)=>{e=t,n=r});function o(t){e(t)}function i(t){n(t)}for(let a of t)p(a)||(a=this.resolve(a)),a.then(o,i);return r}static all(t){return x.allWithCallback(t)}static allSettled(t){return(this&&this.prototype instanceof x?this:x).allWithCallback(t,{thenCallback:t=>({status:"fulfilled",value:t}),errorCallback:t=>({status:"rejected",reason:t})})}static allWithCallback(t,e){let n,r,o=new this((t,e)=>{n=t,r=e}),i=2,a=0;const s=[];for(let u of t){p(u)||(u=this.resolve(u));const t=a;try{u.then(r=>{s[t]=e?e.thenCallback(r):r,i--,0===i&&n(s)},o=>{e?(s[t]=e.errorCallback(o),i--,0===i&&n(s)):r(o)})}catch(c){r(c)}i++,a++}return i-=2,0===i&&n(s),o}constructor(t){const e=this;if(!(e instanceof x))throw new Error("Must be an instanceof Promise.");e[y]=null,e[v]=[];try{t&&t(b(e,!0),b(e,!1))}catch(n){w(e,!1,n)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return x}then(t,n){let r=this.constructor[Symbol.species];r&&"function"==typeof r||(r=this.constructor||x);const o=new r(A),i=e.current;return null==this[y]?this[v].push(i,o,t,n):S(this,i,o,t,n),o}catch(t){return this.then(null,t)}finally(t){let n=this.constructor[Symbol.species];n&&"function"==typeof n||(n=x);const r=new n(A);r[g]=g;const o=e.current;return null==this[y]?this[v].push(o,r,t,t):S(this,o,r,t,t),r}}x.resolve=x.resolve,x.reject=x.reject,x.race=x.race,x.all=x.all;const O=t[c]=t.Promise;t.Promise=x;const R=i("thenPatched");function I(t){const e=t.prototype,n=r(e,"then");if(n&&(!1===n.writable||!n.configurable))return;const o=e.then;e[u]=o,t.prototype.then=function(t,e){return new x((t,e)=>{o.call(this,t,e)}).then(t,e)},t[R]=!0}return n.patchThen=I,O&&(I(O),C(t,"fetch",t=>{return e=t,function(t,n){let r=e.apply(t,n);if(r instanceof x)return r;let o=r.constructor;return o[R]||I(o),r};var e})),Promise[e.__symbol__("uncaughtPromiseErrors")]=a,x}),Zone.__load_patch("toString",t=>{const e=Function.prototype.toString,n=p("OriginalDelegate"),r=p("Promise"),o=p("Error"),i=function(){if("function"==typeof this){const i=this[n];if(i)return"function"==typeof i?e.call(i):Object.prototype.toString.call(i);if(this===Promise){const n=t[r];if(n)return e.call(n)}if(this===Error){const n=t[o];if(n)return e.call(n)}}return e.call(this)};i[n]=e,Function.prototype.toString=i;const a=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":a.call(this)}});let Z=!1;if("undefined"!=typeof window)try{const t=Object.defineProperty({},"passive",{get:function(){Z=!0}});window.addEventListener("test",t,t),window.removeEventListener("test",t,t)}catch(ut){Z=!1}const L={useG:!0},F={},z={},B=new RegExp("^"+u+"(\\w+)(true|false)$"),N=p("propagationStopped");function W(t,e){const n=(e?e(t):t)+"false",r=(e?e(t):t)+"true",o=u+n,i=u+r;F[t]={},F[t].false=o,F[t].true=i}function U(t,e,n){const r=n&&n.add||"addEventListener",i=n&&n.rm||"removeEventListener",a=n&&n.listeners||"eventListeners",s=n&&n.rmAll||"removeAllListeners",c=p(r),f="."+r+":",l=function(t,e,n){if(t.isRemoved)return;const r=t.callback;"object"==typeof r&&r.handleEvent&&(t.callback=t=>r.handleEvent(t),t.originalDelegate=r),t.invoke(t,e,[n]);const o=t.options;o&&"object"==typeof o&&o.once&&e[i].call(e,n.type,t.originalDelegate?t.originalDelegate:t.callback,o)},h=function(e){if(!(e=e||t.event))return;const n=this||e.target||t,r=n[F[e.type].false];if(r)if(1===r.length)l(r[0],n,e);else{const t=r.slice();for(let r=0;r<t.length&&(!e||!0!==e[N]);r++)l(t[r],n,e)}},d=function(e){if(!(e=e||t.event))return;const n=this||e.target||t,r=n[F[e.type].true];if(r)if(1===r.length)l(r[0],n,e);else{const t=r.slice();for(let r=0;r<t.length&&(!e||!0!==e[N]);r++)l(t[r],n,e)}};function y(e,n){if(!e)return!1;let l=!0;n&&void 0!==n.useG&&(l=n.useG);const y=n&&n.vh;let v=!0;n&&void 0!==n.chkDup&&(v=n.chkDup);let g=!1;n&&void 0!==n.rt&&(g=n.rt);let m=e;for(;m&&!m.hasOwnProperty(r);)m=o(m);if(!m&&e[r]&&(m=e),!m)return!1;if(m[c])return!1;const k=n&&n.eventNameToString,T={},w=m[c]=m[r],_=m[p(i)]=m[i],E=m[p(a)]=m[a],S=m[p(s)]=m[s];let A;function x(t,e){return!Z&&"object"==typeof t&&t?!!t.capture:Z&&e?"boolean"==typeof t?{capture:t,passive:!0}:t?"object"==typeof t&&!1!==t.passive?Object.assign(Object.assign({},t),{passive:!0}):t:{passive:!0}:t}n&&n.prepend&&(A=m[p(n.prepend)]=m[n.prepend]);const O=l?function(t){if(!T.isExisting)return w.call(T.target,T.eventName,T.capture?d:h,T.options)}:function(t){return w.call(T.target,T.eventName,t.invoke,T.options)},C=l?function(t){if(!t.isRemoved){const e=F[t.eventName];let n;e&&(n=e[t.capture?"true":"false"]);const r=n&&t.target[n];if(r)for(let o=0;o<r.length;o++)if(r[o]===t){r.splice(o,1),t.isRemoved=!0,0===r.length&&(t.allRemoved=!0,t.target[n]=null);break}}if(t.allRemoved)return _.call(t.target,t.eventName,t.capture?d:h,t.options)}:function(t){return _.call(t.target,t.eventName,t.invoke,t.options)},R=n&&n.diff?n.diff:function(t,e){const n=typeof e;return"function"===n&&t.callback===e||"object"===n&&t.originalDelegate===e},D=Zone[p("UNPATCHED_EVENTS")],M=t[p("PASSIVE_EVENTS")],j=function(e,r,o,i,a=!1,s=!1){return function(){const c=this||t;let u=arguments[0];n&&n.transferEventName&&(u=n.transferEventName(u));let f=arguments[1];if(!f)return e.apply(this,arguments);if(b&&"uncaughtException"===u)return e.apply(this,arguments);let p=!1;if("function"!=typeof f){if(!f.handleEvent)return e.apply(this,arguments);p=!0}if(y&&!y(e,f,c,arguments))return;const h=Z&&!!M&&-1!==M.indexOf(u),d=x(arguments[2],h);if(D)for(let t=0;t<D.length;t++)if(u===D[t])return h?e.call(c,u,f,d):e.apply(this,arguments);const g=!!d&&("boolean"==typeof d||d.capture),m=!(!d||"object"!=typeof d)&&d.once,w=Zone.current;let _=F[u];_||(W(u,k),_=F[u]);const E=_[g?"true":"false"];let S,A=c[E],O=!1;if(A){if(O=!0,v)for(let t=0;t<A.length;t++)if(R(A[t],f))return}else A=c[E]=[];const C=c.constructor.name,I=z[C];I&&(S=I[u]),S||(S=C+r+(k?k(u):u)),T.options=d,m&&(T.options.once=!1),T.target=c,T.capture=g,T.eventName=u,T.isExisting=O;const j=l?L:void 0;j&&(j.taskData=T);const P=w.scheduleEventTask(S,f,j,o,i);return T.target=null,j&&(j.taskData=null),m&&(d.once=!0),(Z||"boolean"!=typeof P.options)&&(P.options=d),P.target=c,P.capture=g,P.eventName=u,p&&(P.originalDelegate=f),s?A.unshift(P):A.push(P),a?c:void 0}};return m[r]=j(w,f,O,C,g),A&&(m.prependListener=j(A,".prependListener:",function(t){return A.call(T.target,T.eventName,t.invoke,T.options)},C,g,!0)),m[i]=function(){const e=this||t;let r=arguments[0];n&&n.transferEventName&&(r=n.transferEventName(r));const o=arguments[2],i=!!o&&("boolean"==typeof o||o.capture),a=arguments[1];if(!a)return _.apply(this,arguments);if(y&&!y(_,a,e,arguments))return;const s=F[r];let c;s&&(c=s[i?"true":"false"]);const f=c&&e[c];if(f)for(let t=0;t<f.length;t++){const n=f[t];if(R(n,a))return f.splice(t,1),n.isRemoved=!0,0===f.length&&(n.allRemoved=!0,e[c]=null,"string"==typeof r)&&(e[u+"ON_PROPERTY"+r]=null),n.zone.cancelTask(n),g?e:void 0}return _.apply(this,arguments)},m[a]=function(){const e=this||t;let r=arguments[0];n&&n.transferEventName&&(r=n.transferEventName(r));const o=[],i=V(e,k?k(r):r);for(let t=0;t<i.length;t++){const e=i[t];o.push(e.originalDelegate?e.originalDelegate:e.callback)}return o},m[s]=function(){const e=this||t;let r=arguments[0];if(r){n&&n.transferEventName&&(r=n.transferEventName(r));const t=F[r];if(t){const n=e[t.false],o=e[t.true];if(n){const t=n.slice();for(let e=0;e<t.length;e++){const n=t[e];this[i].call(this,r,n.originalDelegate?n.originalDelegate:n.callback,n.options)}}if(o){const t=o.slice();for(let e=0;e<t.length;e++){const n=t[e];this[i].call(this,r,n.originalDelegate?n.originalDelegate:n.callback,n.options)}}}}else{const t=Object.keys(e);for(let e=0;e<t.length;e++){const n=B.exec(t[e]);let r=n&&n[1];r&&"removeListener"!==r&&this[s].call(this,r)}this[s].call(this,"removeListener")}if(g)return this},I(m[r],w),I(m[i],_),S&&I(m[s],S),E&&I(m[a],E),!0}let v=[];for(let o=0;o<e.length;o++)v[o]=y(e[o],n);return v}function V(t,e){if(!e){const n=[];for(let r in t){const o=B.exec(r);let i=o&&o[1];if(i&&(!e||i===e)){const e=t[r];if(e)for(let t=0;t<e.length;t++)n.push(e[t])}}return n}let n=F[e];n||(W(e),n=F[e]);const r=t[n.false],o=t[n.true];return r?o?r.concat(o):r.slice():o?o.slice():[]}function G(t,e){const n=t.Event;n&&n.prototype&&e.patchMethod(n.prototype,"stopImmediatePropagation",t=>function(e,n){e[N]=!0,t&&t.apply(e,n)})}function H(t,e,n,r,o){const i=Zone.__symbol__(r);if(e[i])return;const a=e[i]=e[r];e[r]=function(i,s,c){return s&&s.prototype&&o.forEach(function(e){const o=`${n}.${r}::`+e,i=s.prototype;if(i.hasOwnProperty(e)){const n=t.ObjectGetOwnPropertyDescriptor(i,e);n&&n.value?(n.value=t.wrapWithCurrentZone(n.value,o),t._redefineProperty(s.prototype,e,n)):i[e]&&(i[e]=t.wrapWithCurrentZone(i[e],o))}else i[e]&&(i[e]=t.wrapWithCurrentZone(i[e],o))}),a.call(e,i,s,c)},t.attachOriginToPatched(e[r],a)}const Y=["absolutedeviceorientation","afterinput","afterprint","appinstalled","beforeinstallprompt","beforeprint","beforeunload","devicelight","devicemotion","deviceorientation","deviceorientationabsolute","deviceproximity","hashchange","languagechange","message","mozbeforepaint","offline","online","paint","pageshow","pagehide","popstate","rejectionhandled","storage","unhandledrejection","unload","userproximity","vrdisplayconnected","vrdisplaydisconnected","vrdisplaypresentchange"],K=["encrypted","waitingforkey","msneedkey","mozinterruptbegin","mozinterruptend"],q=["load"],X=["blur","error","focus","load","resize","scroll","messageerror"],Q=["bounce","finish","start"],J=["loadstart","progress","abort","error","load","progress","timeout","loadend","readystatechange"],$=["upgradeneeded","complete","abort","success","error","blocked","versionchange","close"],tt=["close","error","open","message"],et=["error","message"],nt=["abort","animationcancel","animationend","animationiteration","auxclick","beforeinput","blur","cancel","canplay","canplaythrough","change","compositionstart","compositionupdate","compositionend","cuechange","click","close","contextmenu","curechange","dblclick","drag","dragend","dragenter","dragexit","dragleave","dragover","drop","durationchange","emptied","ended","error","focus","focusin","focusout","gotpointercapture","input","invalid","keydown","keypress","keyup","load","loadstart","loadeddata","loadedmetadata","lostpointercapture","mousedown","mouseenter","mouseleave","mousemove","mouseout","mouseover","mouseup","mousewheel","orientationchange","pause","play","playing","pointercancel","pointerdown","pointerenter","pointerleave","pointerlockchange","mozpointerlockchange","webkitpointerlockerchange","pointerlockerror","mozpointerlockerror","webkitpointerlockerror","pointermove","pointout","pointerover","pointerup","progress","ratechange","reset","resize","scroll","seeked","seeking","select","selectionchange","selectstart","show","sort","stalled","submit","suspend","timeupdate","volumechange","touchcancel","touchmove","touchstart","touchend","transitioncancel","transitionend","waiting","wheel"].concat(["webglcontextrestored","webglcontextlost","webglcontextcreationerror"],["autocomplete","autocompleteerror"],["toggle"],["afterscriptexecute","beforescriptexecute","DOMContentLoaded","freeze","fullscreenchange","mozfullscreenchange","webkitfullscreenchange","msfullscreenchange","fullscreenerror","mozfullscreenerror","webkitfullscreenerror","msfullscreenerror","readystatechange","visibilitychange","resume"],Y,["beforecopy","beforecut","beforepaste","copy","cut","paste","dragstart","loadend","animationstart","search","transitionrun","transitionstart","webkitanimationend","webkitanimationiteration","webkitanimationstart","webkittransitionend"],["activate","afterupdate","ariarequest","beforeactivate","beforedeactivate","beforeeditfocus","beforeupdate","cellchange","controlselect","dataavailable","datasetchanged","datasetcomplete","errorupdate","filterchange","layoutcomplete","losecapture","move","moveend","movestart","propertychange","resizeend","resizestart","rowenter","rowexit","rowsdelete","rowsinserted","command","compassneedscalibration","deactivate","help","mscontentzoom","msmanipulationstatechanged","msgesturechange","msgesturedoubletap","msgestureend","msgesturehold","msgesturestart","msgesturetap","msgotpointercapture","msinertiastart","mslostpointercapture","mspointercancel","mspointerdown","mspointerenter","mspointerhover","mspointerleave","mspointermove","mspointerout","mspointerover","mspointerup","pointerout","mssitemodejumplistitemremoved","msthumbnailclick","stop","storagecommit"]);function rt(t,e,n){if(!n||0===n.length)return e;const r=n.filter(e=>e.target===t);if(!r||0===r.length)return e;const o=r[0].ignoreProperties;return e.filter(t=>-1===o.indexOf(t))}function ot(t,e,n,r){t&&A(t,rt(t,e,n),r)}function it(t,e){if(b&&!w)return;if(Zone[t.symbol("patchEvents")])return;const n="undefined"!=typeof WebSocket,r=e.__Zone_ignore_on_properties;if(T){const t=window,e=j()?[{target:t,ignoreProperties:["error"]}]:[];ot(t,nt.concat(["messageerror"]),r?r.concat(e):r,o(t)),ot(Document.prototype,nt,r),void 0!==t.SVGElement&&ot(t.SVGElement.prototype,nt,r),ot(Element.prototype,nt,r),ot(HTMLElement.prototype,nt,r),ot(HTMLMediaElement.prototype,K,r),ot(HTMLFrameSetElement.prototype,Y.concat(X),r),ot(HTMLBodyElement.prototype,Y.concat(X),r),ot(HTMLFrameElement.prototype,q,r),ot(HTMLIFrameElement.prototype,q,r);const n=t.HTMLMarqueeElement;n&&ot(n.prototype,Q,r);const i=t.Worker;i&&ot(i.prototype,et,r)}const i=e.XMLHttpRequest;i&&ot(i.prototype,J,r);const a=e.XMLHttpRequestEventTarget;a&&ot(a&&a.prototype,J,r),"undefined"!=typeof IDBIndex&&(ot(IDBIndex.prototype,$,r),ot(IDBRequest.prototype,$,r),ot(IDBOpenDBRequest.prototype,$,r),ot(IDBDatabase.prototype,$,r),ot(IDBTransaction.prototype,$,r),ot(IDBCursor.prototype,$,r)),n&&ot(WebSocket.prototype,tt,r)}Zone.__load_patch("util",(t,e,o)=>{o.patchOnProperties=A,o.patchMethod=C,o.bindArguments=g,o.patchMacroTask=R;const s=e.__symbol__("BLACK_LISTED_EVENTS"),c=e.__symbol__("UNPATCHED_EVENTS");t[c]&&(t[s]=t[c]),t[s]&&(e[s]=e[c]=t[s]),o.patchEventPrototype=G,o.patchEventTarget=U,o.isIEOrEdge=P,o.ObjectDefineProperty=r,o.ObjectGetOwnPropertyDescriptor=n,o.ObjectCreate=i,o.ArraySlice=a,o.patchClass=O,o.wrapWithCurrentZone=f,o.filterProperties=rt,o.attachOriginToPatched=I,o._redefineProperty=Object.defineProperty,o.patchCallbacks=H,o.getGlobalObjects=()=>({globalSources:z,zoneSymbolEventNames:F,eventNames:nt,isBrowser:T,isMix:w,isNode:b,TRUE_STR:"true",FALSE_STR:"false",ZONE_SYMBOL_PREFIX:u,ADD_EVENT_LISTENER_STR:"addEventListener",REMOVE_EVENT_LISTENER_STR:"removeEventListener"})});const at=p("zoneTask");function st(t,e,n,r){let o=null,i=null;n+=r;const a={};function s(e){const n=e.data;return n.args[0]=function(){try{e.invoke.apply(this,arguments)}finally{e.data&&e.data.isPeriodic||("number"==typeof n.handleId?delete a[n.handleId]:n.handleId&&(n.handleId[at]=null))}},n.handleId=o.apply(t,n.args),e}function c(e){return i.call(t,e.data.handleId)}o=C(t,e+=r,n=>function(o,i){if("function"==typeof i[0]){const t=l(e,i[0],{isPeriodic:"Interval"===r,delay:"Timeout"===r||"Interval"===r?i[1]||0:void 0,args:i},s,c);if(!t)return t;const n=t.data.handleId;return"number"==typeof n?a[n]=t:n&&(n[at]=t),n&&n.ref&&n.unref&&"function"==typeof n.ref&&"function"==typeof n.unref&&(t.ref=n.ref.bind(n),t.unref=n.unref.bind(n)),"number"==typeof n||n?n:t}return n.apply(t,i)}),i=C(t,n,e=>function(n,r){const o=r[0];let i;"number"==typeof o?i=a[o]:(i=o&&o[at],i||(i=o)),i&&"string"==typeof i.type?"notScheduled"!==i.state&&(i.cancelFn&&i.data.isPeriodic||0===i.runCount)&&("number"==typeof o?delete a[o]:o&&(o[at]=null),i.zone.cancelTask(i)):e.apply(t,r)})}function ct(t,e){if(Zone[e.symbol("patchEventTarget")])return;const{eventNames:n,zoneSymbolEventNames:r,TRUE_STR:o,FALSE_STR:i,ZONE_SYMBOL_PREFIX:a}=e.getGlobalObjects();for(let c=0;c<n.length;c++){const t=n[c],e=a+(t+i),s=a+(t+o);r[t]={},r[t][i]=e,r[t][o]=s}const s=t.EventTarget;return s&&s.prototype?(e.patchEventTarget(t,[s&&s.prototype]),!0):void 0}Zone.__load_patch("legacy",t=>{const e=t[Zone.__symbol__("legacyPatch")];e&&e()}),Zone.__load_patch("timers",t=>{st(t,"set","clear","Timeout"),st(t,"set","clear","Interval"),st(t,"set","clear","Immediate")}),Zone.__load_patch("requestAnimationFrame",t=>{st(t,"request","cancel","AnimationFrame"),st(t,"mozRequest","mozCancel","AnimationFrame"),st(t,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",(t,e)=>{const n=["alert","prompt","confirm"];for(let r=0;r<n.length;r++)C(t,n[r],(n,r,o)=>function(r,i){return e.current.run(n,t,i,o)})}),Zone.__load_patch("EventTarget",(t,e,n)=>{!function(t,e){e.patchEventPrototype(t,e)}(t,n),ct(t,n);const r=t.XMLHttpRequestEventTarget;r&&r.prototype&&n.patchEventTarget(t,[r.prototype])}),Zone.__load_patch("MutationObserver",(t,e,n)=>{O("MutationObserver"),O("WebKitMutationObserver")}),Zone.__load_patch("IntersectionObserver",(t,e,n)=>{O("IntersectionObserver")}),Zone.__load_patch("FileReader",(t,e,n)=>{O("FileReader")}),Zone.__load_patch("on_property",(t,e,n)=>{it(n,t)}),Zone.__load_patch("customElements",(t,e,n)=>{!function(t,e){const{isBrowser:n,isMix:r}=e.getGlobalObjects();(n||r)&&t.customElements&&"customElements"in t&&e.patchCallbacks(e,t.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(t,n)}),Zone.__load_patch("XHR",(t,e)=>{!function(t){const f=t.XMLHttpRequest;if(!f)return;const h=f.prototype;let d=h[s],y=h[c];if(!d){const e=t.XMLHttpRequestEventTarget;if(e){const t=e.prototype;d=t[s],y=t[c]}}function v(t){const r=t.data,a=r.target;a[i]=!1,a[u]=!1;const f=a[o];d||(d=a[s],y=a[c]),f&&y.call(a,"readystatechange",f);const l=a[o]=()=>{if(a.readyState===a.DONE)if(!r.aborted&&a[i]&&"scheduled"===t.state){const n=a[e.__symbol__("loadfalse")];if(0!==a.status&&n&&n.length>0){const o=t.invoke;t.invoke=function(){const n=a[e.__symbol__("loadfalse")];for(let e=0;e<n.length;e++)n[e]===t&&n.splice(e,1);r.aborted||"scheduled"!==t.state||o.call(t)},n.push(t)}else t.invoke()}else r.aborted||!1!==a[i]||(a[u]=!0)};return d.call(a,"readystatechange",l),a[n]||(a[n]=t),w.apply(a,r.args),a[i]=!0,t}function g(){}function m(t){const e=t.data;return e.aborted=!0,_.apply(e.target,e.args)}const k=C(h,"open",()=>function(t,e){return t[r]=0==e[2],t[a]=e[1],k.apply(t,e)}),b=p("fetchTaskAborting"),T=p("fetchTaskScheduling"),w=C(h,"send",()=>function(t,n){if(!0===e.current[T])return w.apply(t,n);if(t[r])return w.apply(t,n);{const e={target:t,url:t[a],isPeriodic:!1,args:n,aborted:!1},r=l("XMLHttpRequest.send",g,e,v,m);t&&!0===t[u]&&!e.aborted&&"scheduled"===r.state&&r.invoke()}}),_=C(h,"abort",()=>function(t,r){const o=t[n];if(o&&"string"==typeof o.type){if(null==o.cancelFn||o.data&&o.data.aborted)return;o.zone.cancelTask(o)}else if(!0===e.current[b])return _.apply(t,r)})}(t);const n=p("xhrTask"),r=p("xhrSync"),o=p("xhrListener"),i=p("xhrScheduled"),a=p("xhrURL"),u=p("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",t=>{t.navigator&&t.navigator.geolocation&&function(t,e){const r=t.constructor.name;for(let o=0;o<e.length;o++){const i=e[o],a=t[i];if(a){if(!m(n(t,i)))continue;t[i]=(t=>{const e=function(){return t.apply(this,g(arguments,r+"."+i))};return I(e,t),e})(a)}}}(t.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",(t,e)=>{function n(e){return function(n){V(t,e).forEach(r=>{const o=t.PromiseRejectionEvent;if(o){const t=new o(e,{promise:n.promise,reason:n.rejection});r.invoke(t)}})}}t.PromiseRejectionEvent&&(e[p("unhandledPromiseRejectionHandler")]=n("unhandledrejection"),e[p("rejectionHandledHandler")]=n("rejectionhandled"))})},piMb:function(t,e,n){"use strict";var r=n("I+eb"),o=n("tycR").every,i=n("pkCn"),a=n("rkAj"),s=i("every"),c=a("every");r({target:"Array",proto:!0,forced:!s||!c},{every:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},pjDv:function(t,e,n){var r=n("I+eb"),o=n("TfTi");r({target:"Array",stat:!0,forced:!n("HH4o")(function(t){Array.from(t)})},{from:o})},pkCn:function(t,e,n){"use strict";var r=n("0Dky");t.exports=function(t,e){var n=[][t];return!!n&&r(function(){n.call(null,e||function(){throw 1},1)})}},ppGB:function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},pv2x:function(t,e,n){var r=n("I+eb"),o=n("0GbY"),i=n("HAuM"),a=n("glrk"),s=n("0Dky"),c=o("Reflect","apply"),u=Function.apply;r({target:"Reflect",stat:!0,forced:!s(function(){c(function(){})})},{apply:function(t,e,n){return i(t),a(n),c?c(t,e,n):u.call(t,e,n)}})},"qHT+":function(t,e,n){var r=n("I+eb"),o=n("FF6l"),i=n("RNIs");r({target:"Array",proto:!0},{copyWithin:o}),i("copyWithin")},qXVe:function(t,e,n){"use strict";var r=n("67WC"),o=n("tycR").every,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("every",function(t){return o(i(this),t,arguments.length>1?arguments[1]:void 0)})},qYE9:function(t,e){t.exports="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView},rBZX:function(t,e,n){var r=n("I+eb"),o=n("glrk"),i=n("Bs8V").f;r({target:"Reflect",stat:!0},{deleteProperty:function(t,e){var n=i(o(t),e);return!(n&&!n.configurable)&&delete t[e]}})},rKzb:function(t,e,n){"use strict";var r=n("4syw"),o=n("8YOa").getWeakData,i=n("glrk"),a=n("hh1v"),s=n("GarU"),c=n("ImZN"),u=n("tycR"),f=n("UTVS"),l=n("afO8"),p=l.set,h=l.getterFor,d=u.find,y=u.findIndex,v=0,g=function(t){return t.frozen||(t.frozen=new m)},m=function(){this.entries=[]},k=function(t,e){return d(t.entries,function(t){return t[0]===e})};m.prototype={get:function(t){var e=k(this,t);if(e)return e[1]},has:function(t){return!!k(this,t)},set:function(t,e){var n=k(this,t);n?n[1]=e:this.entries.push([t,e])},delete:function(t){var e=y(this.entries,function(e){return e[0]===t});return~e&&this.entries.splice(e,1),!!~e}},t.exports={getConstructor:function(t,e,n,u){var l=t(function(t,r){s(t,l,e),p(t,{type:e,id:v++,frozen:void 0}),null!=r&&c(r,t[u],{that:t,AS_ENTRIES:n})}),d=h(e),y=function(t,e,n){var r=d(t),a=o(i(e),!0);return!0===a?g(r).set(e,n):a[r.id]=n,t};return r(l.prototype,{delete:function(t){var e=d(this);if(!a(t))return!1;var n=o(t);return!0===n?g(e).delete(t):n&&f(n,e.id)&&delete n[e.id]},has:function(t){var e=d(this);if(!a(t))return!1;var n=o(t);return!0===n?g(e).has(t):n&&f(n,e.id)}}),r(l.prototype,n?{get:function(t){var e=d(this);if(a(t)){var n=o(t);return!0===n?g(e).get(t):n?n[e.id]:void 0}},set:function(t,e){return y(this,t,e)}}:{add:function(t){return y(this,t,!0)}}),l}}},rkAj:function(t,e,n){var r=n("g6v/"),o=n("0Dky"),i=n("UTVS"),a=Object.defineProperty,s={},c=function(t){throw t};t.exports=function(t,e){if(i(s,t))return s[t];e||(e={});var n=[][t],u=!!i(e,"ACCESSORS")&&e.ACCESSORS,f=i(e,0)?e[0]:c,l=i(e,1)?e[1]:void 0;return s[t]=!!n&&!o(function(){if(u&&!r)return!0;var t={length:-1};u?a(t,1,{enumerable:!0,get:c}):t[1]=1,n.call(t,f,l)})}},rpNk:function(t,e,n){"use strict";var r,o,i,a=n("0Dky"),s=n("4WOD"),c=n("kRJp"),u=n("UTVS"),f=n("tiKp"),l=n("xDBR"),p=f("iterator"),h=!1;[].keys&&("next"in(i=[].keys())?(o=s(s(i)))!==Object.prototype&&(r=o):h=!0);var d=null==r||a(function(){var t={};return r[p].call(t)!==t});d&&(r={}),l&&!d||u(r,p)||c(r,p,function(){return this}),t.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:h}},s5qe:function(t,e,n){"use strict";var r=n("2oRo"),o=n("67WC"),i=n("0Dky"),a=r.Int8Array,s=o.aTypedArray,c=o.exportTypedArrayMethod,u=[].toLocaleString,f=[].slice,l=!!a&&i(function(){u.call(new a(1))});c("toLocaleString",function(){return u.apply(l?f.call(s(this)):s(this),arguments)},i(function(){return[1,2].toLocaleString()!=new a([1,2]).toLocaleString()})||!i(function(){a.prototype.toLocaleString.call([1,2])}))},sEFX:function(t,e,n){"use strict";var r=n("AO7/"),o=n("9d/t");t.exports=r?{}.toString:function(){return"[object "+o(this)+"]"}},tiKp:function(t,e,n){var r=n("2oRo"),o=n("VpIT"),i=n("UTVS"),a=n("kOOl"),s=n("STAE"),c=n("/b8u"),u=o("wks"),f=r.Symbol,l=c?f:f&&f.withoutSetter||a;t.exports=function(t){return i(u,t)||(u[t]=s&&i(f,t)?f[t]:l("Symbol."+t)),u[t]}},tycR:function(t,e,n){var r=n("A2ZE"),o=n("RK3t"),i=n("ewvW"),a=n("UMSQ"),s=n("ZfDv"),c=[].push,u=function(t){var e=1==t,n=2==t,u=3==t,f=4==t,l=6==t,p=7==t,h=5==t||l;return function(d,y,v,g){for(var m,k,b=i(d),T=o(b),w=r(y,v,3),_=a(T.length),E=0,S=g||s,A=e?S(d,_):n||p?S(d,0):void 0;_>E;E++)if((h||E in T)&&(k=w(m=T[E],E,b),t))if(e)A[E]=k;else if(k)switch(t){case 3:return!0;case 5:return m;case 6:return E;case 2:c.call(A,m)}else switch(t){case 4:return!1;case 7:c.call(A,m)}return l?-1:u||f?f:A}};t.exports={forEach:u(0),map:u(1),filter:u(2),some:u(3),every:u(4),find:u(5),findIndex:u(6),filterOut:u(7)}},uqXc:function(t,e,n){var r=n("I+eb"),o=n("5Yz+");r({target:"Array",proto:!0,forced:o!==[].lastIndexOf},{lastIndexOf:o})},uy83:function(t,e,n){var r=n("0Dky");t.exports=!r(function(){return Object.isExtensible(Object.preventExtensions({}))})},wE6v:function(t,e,n){var r=n("hh1v");t.exports=function(t,e){if(!r(t))return t;var n,o;if(e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if(!e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},waxf:function(t,e,n){"use strict";var r=n("67WC"),o=n("tycR").filter,i=n("SEBh"),a=r.aTypedArray,s=r.aTypedArrayConstructor;(0,r.exportTypedArrayMethod)("filter",function(t){for(var e=o(a(this),t,arguments.length>1?arguments[1]:void 0),n=i(this,this.constructor),r=0,c=e.length,u=new(s(n))(c);c>r;)u[r]=e[r++];return u})},x0AG:function(t,e,n){"use strict";var r=n("I+eb"),o=n("tycR").findIndex,i=n("RNIs"),a=n("rkAj"),s=!0,c=a("findIndex");"findIndex"in[]&&Array(1).findIndex(function(){s=!1}),r({target:"Array",proto:!0,forced:s||!c},{findIndex:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),i("findIndex")},x2An:function(t,e,n){n("I+eb")({target:"Reflect",stat:!0},{has:function(t,e){return e in t}})},xDBR:function(t,e){t.exports=!1},xrYK:function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},xs3f:function(t,e,n){var r=n("2oRo"),o=n("zk60"),i=r["__core-js_shared__"]||o("__core-js_shared__",{});t.exports=i},yXV3:function(t,e,n){"use strict";var r=n("I+eb"),o=n("TWQb").indexOf,i=n("pkCn"),a=n("rkAj"),s=[].indexOf,c=!!s&&1/[1].indexOf(1,-0)<0,u=i("indexOf"),f=a("indexOf",{ACCESSORS:!0,1:0});r({target:"Array",proto:!0,forced:c||!u||!f},{indexOf:function(t){return c?s.apply(this,arguments)||0:o(this,t,arguments.length>1?arguments[1]:void 0)}})},yoRg:function(t,e,n){var r=n("UTVS"),o=n("/GqU"),i=n("TWQb").indexOf,a=n("0BK2");t.exports=function(t,e){var n,s=o(t),c=0,u=[];for(n in s)!r(a,n)&&r(s,n)&&u.push(n);for(;e.length>c;)r(s,n=e[c++])&&(~i(u,n)||u.push(n));return u}},ypFw:function(t,e,n){"use strict";var r=n("67WC"),o=n("1Y/n").left,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("reduce",function(t){return o(i(this),t,arguments.length,arguments.length>1?arguments[1]:void 0)})},yq1k:function(t,e,n){"use strict";var r=n("I+eb"),o=n("TWQb").includes,i=n("RNIs");r({target:"Array",proto:!0,forced:!n("rkAj")("indexOf",{ACCESSORS:!0,1:0})},{includes:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),i("includes")},yyme:function(t,e,n){var r=n("I+eb"),o=n("gdVl"),i=n("RNIs");r({target:"Array",proto:!0},{fill:o}),i("fill")},z8NH:function(t,e,n){n("dOgj")("Float32",function(t){return function(e,n,r){return t(this,e,n,r)}})},zBJ4:function(t,e,n){var r=n("2oRo"),o=n("hh1v"),i=r.document,a=o(i)&&o(i.createElement);t.exports=function(t){return a?i.createElement(t):{}}},zSZm:function(t,e,n){"use strict";var r=n("67WC"),o=r.aTypedArray,i=Math.floor;(0,r.exportTypedArrayMethod)("reverse",function(){for(var t,e=o(this).length,n=i(e/2),r=0;r<n;)t=this[r],this[r++]=this[--e],this[e]=t;return this})},zk60:function(t,e,n){var r=n("2oRo"),o=n("kRJp");t.exports=function(t,e){try{o(r,t,e)}catch(n){r[t]=e}return e}}}
Instances2
Solution

Ensure that application Source Code is not available with alternative extensions, and ensure that source code is not present within other files or data deployed to the web server, or served by the web server.

Other information

class t{constructor(){this.NUMERIC=/^\d+$/,this.DECIMAL=/^\d+\.?\d{0,2}$/,this.validPattern=this.NUMERIC}get appNumber(){return this._appNumber}set appNumber(t){this._appNumber=t,"int"===this._appNumber?this.validPattern=this.NUMERIC:"float"===this._appNumber&&(this.validPattern=this.DECIMAL)}get min(){return this._min}set min(t){this._min=+t}getTextAfterInsertNewValue(t,e,n){return t.substring(0,e)+n+t.substring(e,t.length)}isValid(t,e,n){return this.validPattern.test(this.getTextAfterInsertNewValue(t,e,n))}onKeydown(t){if(1!==t.key.length)t.preventDefault();else if(!t.ctrlKey&&t.key){const e=t.target;this.isValid(e.value,e.selectionStart,t.key)&&(!this._min||+this.getTextAfterInsertNewValue(e.value,e.selectionStart,t.key)>=this._min)||t.preventDefault()}}onblur(t){const e=t.target.value;e&&"."===e.charAt(e.length-1)&&(t.currentTarget.value=e.trim()),t.currentTarget.value=+t.currentTarget.value}onChange(t){const e=t.clipboardData.getData("text/plain");this.isValid(t.target.value,t.target.selectionStart,e)||t.preventDefault()}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.Ib({type:t,selectors:[["","appNumber",""]],hostBindings:function(t,e){1&t&&i.bc("keydown",function(t){return e.onKeydown(t)})("blur",function(t){return e.onblur(t)})("paste",function(t){return e.onChange(t)})},inputs:{appNumber:"appNumber",min:"min"}}),t})()},"/uUt":function(t,e,n){"use strict";n.d(e,"a",function(){return a});var i=n("7o/Q");function a(t,e){return n=>n.lift(new r(t,e))}class r{constructor(t,e){this.compare=t,this.keySelector=e}call(t,e){return e.subscribe(new o(t,this.compare,this.keySelector))}}class o extends i.a{constructor(t,e,n){super(t),this.keySelector=n,this.hasKey=!1,"function"==typeof e&&(this.compare=e)}compare(t,e){return t===e}_next(t){let e;try{const{keySelector:n}=this;e=n?n(t):t}catch(i){return this.destination.error(i)}let n=!1;if(this.hasKey)try{const{compare:t}=this;n=t(this.key,e)}catch(i){return this.destination.error(i)}else this.hasKey=!0;n||(this.key=e,this.destination.next(t))}}},0:function(t,e,n){t.exports=n("zUnb")},"0/Se":function(t,e,n){"use strict";n.d(e,"a",function(){return g});var i=n("xgIS"),a=n("LRne"),r=n("Kj3r"),o=n("/uUt"),s=n("vkgz"),l=n("JIr8"),c=n("nYR2"),d=n("IGtN");class u{constructor(){this.canCheck=!0,this.canSelect=!0}filter(t){if(this.value&&-1!==this.value.toLowerCase().indexOf(t.toLowerCase()))return this;let e=null;if(this.children&&this.children.length&&(e=this.children.map(e=>e.filter(t)).filter(t=>!!t)),e&&e.length){const t=new u;return t.id=this.id,t.value=this.value,t.canCheck=this.canCheck,t.children=e,t.originalData=this.originalData,t.canSelect=this.canSelect,t}return null}}var h=n("uuBd"),m=n("8Y7J"),p=n("TSSN");const f=["searchInput"];let g=(()=>{class t extends d.a{constructor(t,e){super(t),this.translateService=t,this.changeDetectorRef=e,this.label="",this.placeholder="",this.required=!1,this.disabled=!1,this.filter="",this.data=[],this.selection=[],this.allData=[],this.loading=!1,this.onChange=t=>{},this.onTouched=()=>{}}get selectedNodes(){return this._selectedNodes}set selectedNodes(t){t&&(this._selectedNodes=t,this.selection=t.map(t=>this.getId(t.originalData)),this.onChange(this.selection),this.changeDetectorRef.markForCheck())}ngAfterViewInit(){Object(i.a)(this.searchInput.nativeElement,"keyup").pipe(Object(r.a)(250),Object(o.a)(),Object(s.a)(()=>this.filterChange())).subscribe()}load(){this.loading=!0,this.getData().pipe(Object(l.a)(()=>Object(a.a)([])),Object(c.a)(()=>this.loading=!1)).subscribe(t=>{this.allData=[],t&&t.length&&t.forEach(t=>this.buildTree(t,this.allData,!0)),this.data=this.allData,this.changeDetectorRef.markForCheck()})}buildTree(t,e,n){const i=this.getChildren(t),a=i&&i.length>0,r=new u;r.value=this.getLabel(t),r.id=this.getId(t),r.canCheck=!0,r.canSelect=!a,r.originalData=t,a?(r.children=[],i.forEach(t=>this.buildTree(t,r.children,!1)),e.push(r)):n||e.push(r)}validate(t){return!1===this.required||t.value?null:{required:!0}}filterChange(){this.data=this.allData.map(t=>t.filter(this.filter)).filter(t=>!!t),this.changeDetectorRef.markForCheck()}writeValue(t){this.selection=t||[],this._selectedNodes=[],t&&(this.allData.forEach(t=>this._selectedNodes.push(...this.checkSelection(t,this.selection))),this.treeView&&this.treeView.setSelection(this._selectedNodes)),this.changeDetectorRef.markForCheck()}registerOnChange(t){this.onChange=t}registerOnTouched(t){this.onTouched=t}checkSelection(t,e){const n=[];return-1!==e.indexOf(this.getId(t.originalData))&&n.push(t),t.children&&t.children.forEach(t=>n.push(...this.checkSelection(t,e))),n}}return t.\u0275fac=function(e){return new(e||t)(m.Nb(p.d),m.Nb(m.h))},t.\u0275cmp=m.Hb({type:t,selectors:[["ng-component"]],viewQuery:function(t,e){if(1&t&&(m.Lc(h.a,1),m.Lc(f,3)),2&t){let t;m.uc(t=m.cc())&&(e.treeView=t.first),m.uc(t=m.cc())&&(e.searchInput=t.first)}},inputs:{label:"label",placeholder:"placeholder",name:"name",required:"required",disabled:"disabled"},features:[m.zb],decls:0,vars:0,template:function(t,e){},encapsulation:2}),t})()},"05l1":function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("jtHE"),a=n("oB13");function r(t,e,n,r){n&&"function"!=typeof n&&(r=n);const o="function"==typeof n?n:void 0,s=new i.a(t,e,r);return t=>Object(a.a)(()=>s,o)(t)}},"06/9":function(t,e,n){"use strict";n.d(e,"a",function(){return m});var i=n("IGtN"),a=n("8Y7J"),r=n("TSSN"),o=n("CRH9"),s=n("zR8O"),l=n("SVse"),c=n("iInd");function d(t,e){1&t&&(a.Tb(0,"button",5),a.Ob(1,"div"),a.Sb())}function u(t,e){1&t&&(a.Tb(0,"button",6),a.Ob(1,"div"),a.Sb())}function h(t,e){if(1&t&&(a.Tb(0,"ngu-tile"),a.Tb(1,"a",7),a.Tb(2,"div",8),a.Hc(3),a.Sb(),a.Tb(4,"span"),a.Hc(5),a.gc(6,"date"),a.Sb(),a.Sb(),a.Sb()),2&t){const t=e.$implicit;a.Cb(1),a.pc("routerLink","/news/",t.id,""),a.Cb(2),a.Ic(t.title),a.Cb(2),a.Ic(a.ic(6,3,t.date,"dd/MM/yy"))}}let m=(()=>{class t extends i.a{constructor(t,e,n){super(t),this.translateService=t,this.newsService=e,this.changeDetectorRef=n,this.carouselConfig={grid:{xs:1,sm:2,md:3,lg:3,all:0},slide:1,animation:"lazy",speed:100,interval:{timing:4e3,initialDelay:1e3},point:{visible:!1},load:2,loop:!1,touch:!1,easing:"ease"},this.news=new Array}load(){this.subscriptions.push(this.newsService.getNewsList().subscribe(t=>{this.news=t,setTimeout(()=>this.changeDetectorRef.markForCheck())}))}}return t.\u0275fac=function(e){return new(e||t)(a.Nb(r.d),a.Nb(o.a),a.Nb(a.h))},t.\u0275cmp=a.Hb({type:t,selectors:[["app-news-carrousel"]],features:[a.zb],decls:5,vars:4,consts:[[3,"inputs","dataSource"],["myCarousel",""],["NguCarouselPrev","","aria-label","previous","class","nav leftRs",4,"ngIf"],["NguCarouselNext","","aria-label","next","class","nav rightRs",4,"ngIf"],[4,"nguCarouselDef"],["NguCarouselPrev","","aria-label","previous",1,"nav","leftRs"],["NguCarouselNext","","aria-label","next",1,"nav","rightRs"],["routerLinkActive","active",3,"routerLink"],[1,"title"]],template:function(t,e){if(1&t&&(a.Tb(0,"ngu-carousel",0,1),a.Fc(2,d,2,0,"button",2),a.Fc(3,u,2,0,"button",3),a.Fc(4,h,7,6,"ngu-tile",4),a.Sb()),2&t){const t=a.vc(1);a.nc("inputs",e.carouselConfig)("dataSource",e.news),a.Cb(2),a.nc("ngIf",!t.isFirst),a.Cb(1),a.nc("ngIf",!t.isLast)}},directives:[s.a,l.l,s.b,s.e,s.d,s.f,c.i,c.h],pipes:[l.e],styles:[".mat-badge-content[_ngcontent-%COMP%]{font-weight:600;font-size:12px;font-family:Roboto,Helvetica Neue,sans-serif}.mat-badge-small[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{font-size:9px}.mat-badge-large[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{font-size:24px}.mat-h1[_ngcontent-%COMP%], .mat-headline[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font:400 24px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h2[_ngcontent-%COMP%], .mat-title[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font:500 20px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h3[_ngcontent-%COMP%], .mat-subheading-2[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font:400 16px/28px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h4[_ngcontent-%COMP%], .mat-subheading-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{font:400 15px/24px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h5[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{font:400 calc(14px * .83)/20px Roboto,Helvetica Neue,sans-serif;margin:0 0 12px}.mat-h6[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font:400 calc(14px * .67)/20px Roboto,Helvetica Neue,sans-serif;margin:0 0 12px}.mat-body-2[_ngcontent-%COMP%], .mat-body-strong[_ngcontent-%COMP%]{font:500 14px/24px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-body[_ngcontent-%COMP%], .mat-body-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%]{font:400 14px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-body-1[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .mat-body[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0 0 12px}.mat-caption[_ngcontent-%COMP%], .mat-small[_ngcontent-%COMP%]{font:400 12px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-display-4[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-4[_ngcontent-%COMP%]{font:300 112px/112px Roboto,Helvetica Neue,sans-serif;letter-spacing:-.05em;margin:0 0 56px}.mat-display-3[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-3[_ngcontent-%COMP%]{font:400 56px/56px Roboto,Helvetica Neue,sans-serif;letter-spacing:-.02em;margin:0 0 64px}.mat-display-2[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-2[_ngcontent-%COMP%]{font:400 45px/48px Roboto,Helvetica Neue,sans-serif;letter-spacing:-.005em;margin:0 0 64px}.mat-display-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-1[_ngcontent-%COMP%]{font:400 34px/40px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 64px}.mat-bottom-sheet-container[_ngcontent-%COMP%]{font:400 14px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-button[_ngcontent-%COMP%], .mat-fab[_ngcontent-%COMP%], .mat-flat-button[_ngcontent-%COMP%], .mat-icon-button[_ngcontent-%COMP%], .mat-mini-fab[_ngcontent-%COMP%], .mat-raised-button[_ngcontent-%COMP%], .mat-stroked-button[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:500}.mat-button-toggle[_ngcontent-%COMP%], .mat-card[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-card-title[_ngcontent-%COMP%]{font-size:24px;font-weight:500}.mat-card-header[_ngcontent-%COMP%] .mat-card-title[_ngcontent-%COMP%]{font-size:20px}.mat-card-content[_ngcontent-%COMP%], .mat-card-subtitle[_ngcontent-%COMP%]{font-size:14px}.mat-checkbox[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-checkbox-layout[_ngcontent-%COMP%] .mat-checkbox-label[_ngcontent-%COMP%]{line-height:24px}.mat-chip[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.mat-chip[_ngcontent-%COMP%] .mat-chip-remove.mat-icon[_ngcontent-%COMP%], .mat-chip[_ngcontent-%COMP%] .mat-chip-trailing-icon.mat-icon[_ngcontent-%COMP%]{font-size:18px}.mat-table[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-header-cell[_ngcontent-%COMP%]{font-size:12px;font-weight:500}.mat-cell[_ngcontent-%COMP%], .mat-footer-cell[_ngcontent-%COMP%]{font-size:14px}.mat-calendar[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-calendar-body[_ngcontent-%COMP%]{font-size:13px}.mat-calendar-body-label[_ngcontent-%COMP%], .mat-calendar-period-button[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.mat-calendar-table-header[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{font-size:11px;font-weight:400}.mat-dialog-title[_ngcontent-%COMP%]{font:500 20px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-expansion-panel-header[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:15px;font-weight:400}.mat-expansion-panel-content[_ngcontent-%COMP%]{font:400 14px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-form-field[_ngcontent-%COMP%]{font-size:inherit;font-weight:400;line-height:1.125;font-family:Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-form-field-wrapper[_ngcontent-%COMP%]{padding-bottom:1.34375em}.mat-form-field-prefix[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%], .mat-form-field-suffix[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{font-size:150%;line-height:1.125}.mat-form-field-prefix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%], .mat-form-field-suffix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%]{height:1.5em;width:1.5em}.mat-form-field-prefix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%], .mat-form-field-suffix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{height:1.125em;line-height:1.125}.mat-form-field-infix[_ngcontent-%COMP%]{padding:.5em 0;border-top:.84375em solid rgba(0,0,0,0)}.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-1.34375em) scale(.75);transform:translateY(-1.34375em) scale(.75);width:133.3333333333%}.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-1.34374em) scale(.75);transform:translateY(-1.34374em) scale(.75);width:133.3333433333%}.mat-form-field-label-wrapper[_ngcontent-%COMP%]{top:-.84375em;padding-top:.84375em}.mat-form-field-label[_ngcontent-%COMP%]{top:1.34375em}.mat-form-field-underline[_ngcontent-%COMP%]{bottom:1.34375em}.mat-form-field-subscript-wrapper[_ngcontent-%COMP%]{font-size:75%;margin-top:.6666666667em;top:calc(100% - 1.7916666667em)}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-wrapper[_ngcontent-%COMP%]{padding-bottom:1.25em}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]{padding:.4375em 0}.mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.001px);-ms-transform:translateY(-1.28125em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-form-field-autofill-control[_ngcontent-%COMP%]:-webkit-autofill + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00101px);-ms-transform:translateY(-1.28124em) scale(.75);width:133.3333433333%}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00102px);-ms-transform:translateY(-1.28123em) scale(.75);width:133.3333533333%}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{top:1.28125em}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]{bottom:1.25em}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-subscript-wrapper[_ngcontent-%COMP%]{margin-top:.5416666667em;top:calc(100% - 1.6666666667em)}@media print{.mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-1.28122em) scale(.75);transform:translateY(-1.28122em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-form-field-autofill-control[_ngcontent-%COMP%]:-webkit-autofill + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{transform:translateY(-1.28121em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-1.2812em) scale(.75);transform:translateY(-1.2812em) scale(.75)}}.mat-form-field-appearance-fill[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]{padding:.25em 0 .75em}.mat-form-field-appearance-fill[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{top:1.09375em;margin-top:-.5em}.mat-form-field-appearance-fill.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-fill.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-.59375em) scale(.75);transform:translateY(-.59375em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-fill.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-.59374em) scale(.75);transform:translateY(-.59374em) scale(.75);width:133.3333433333%}.mat-form-field-appearance-outline[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]{padding:1em 0}.mat-form-field-appearance-outline[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{top:1.84375em;margin-top:-.25em}.mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-outline.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-1.59375em) scale(.75);transform:translateY(-1.59375em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-outline.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-1.59374em) scale(.75);transform:translateY(-1.59374em) scale(.75);width:133.3333433333%}.mat-grid-tile-footer[_ngcontent-%COMP%], .mat-grid-tile-header[_ngcontent-%COMP%]{font-size:14px}.mat-grid-tile-footer[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%], .mat-grid-tile-header[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-grid-tile-footer[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2), .mat-grid-tile-header[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:12px}input.mat-input-element[_ngcontent-%COMP%]{margin-top:-.0625em}.mat-menu-item[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:400}.mat-paginator[_ngcontent-%COMP%], .mat-paginator-page-size[_ngcontent-%COMP%] .mat-select-trigger[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:12px}.mat-radio-button[_ngcontent-%COMP%], .mat-select[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-select-trigger[_ngcontent-%COMP%]{height:1.125em}.mat-slide-toggle-content[_ngcontent-%COMP%], .mat-slider-thumb-label-text[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-slider-thumb-label-text[_ngcontent-%COMP%]{font-size:12px;font-weight:500}.mat-stepper-horizontal[_ngcontent-%COMP%], .mat-stepper-vertical[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-step-label[_ngcontent-%COMP%]{font-size:14px;font-weight:400}.mat-step-sub-label-error[_ngcontent-%COMP%]{font-weight:400}.mat-step-label-error[_ngcontent-%COMP%]{font-size:14px}.mat-step-label-selected[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.mat-tab-group[_ngcontent-%COMP%], .mat-tab-label[_ngcontent-%COMP%], .mat-tab-link[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-tab-label[_ngcontent-%COMP%], .mat-tab-link[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.mat-toolbar[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font:500 20px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0}.mat-tooltip[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:10px;padding-top:6px;padding-bottom:6px}.mat-tooltip-handset[_ngcontent-%COMP%]{font-size:14px;padding-top:8px;padding-bottom:8px}.mat-list-item[_ngcontent-%COMP%], .mat-list-option[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]{font-size:16px}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:14px}.mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%]{font-size:16px}.mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:14px}.mat-list-base[_ngcontent-%COMP%] .mat-subheader[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:500}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]{font-size:12px}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2), .mat-list-base[dense][_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%]{font-size:12px}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:12px}.mat-list-base[dense][_ngcontent-%COMP%] .mat-subheader[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:12px;font-weight:500}.mat-option[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:16px}.mat-optgroup-label[_ngcontent-%COMP%]{font:500 14px/24px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-simple-snackbar[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px}.mat-simple-snackbar-action[_ngcontent-%COMP%]{line-height:1;font-family:inherit;font-size:inherit;font-weight:500}.mat-tree[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-nested-tree-node[_ngcontent-%COMP%], .mat-tree-node[_ngcontent-%COMP%]{font-weight:400;font-size:14px}.mat-ripple[_ngcontent-%COMP%]{overflow:hidden;position:relative}.mat-ripple[_ngcontent-%COMP%]:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded[_ngcontent-%COMP%]{overflow:visible}.mat-ripple-element[_ngcontent-%COMP%]{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0,0,.2,1);-ms-transform:scale(0);transform:scale(0)}.cdk-high-contrast-active[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{display:none}.cdk-visually-hidden[_ngcontent-%COMP%]{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;outline:0;-webkit-appearance:none;-moz-appearance:none}.cdk-global-overlay-wrapper[_ngcontent-%COMP%], .cdk-overlay-container[_ngcontent-%COMP%]{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container[_ngcontent-%COMP%]{position:fixed;z-index:1000}.cdk-overlay-container[_ngcontent-%COMP%]:empty{display:none}.cdk-global-overlay-wrapper[_ngcontent-%COMP%], .cdk-overlay-pane[_ngcontent-%COMP%]{display:-ms-flexbox;display:flex;position:absolute;z-index:1000}.cdk-overlay-pane[_ngcontent-%COMP%]{pointer-events:auto;box-sizing:border-box;max-width:100%;max-height:100%}.cdk-overlay-backdrop[_ngcontent-%COMP%]{position:absolute;top:0;bottom:0;left:0;right:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:transparent;transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:1}@media screen and (-ms-high-contrast:active){.cdk-overlay-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:.6}}.cdk-overlay-dark-backdrop[_ngcontent-%COMP%]{background:rgba(0,0,0,.32)}.cdk-overlay-transparent-backdrop[_ngcontent-%COMP%], .cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:0}.cdk-overlay-connected-position-bounding-box[_ngcontent-%COMP%]{position:absolute;z-index:1000;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock[_ngcontent-%COMP%]{position:fixed;width:100%;overflow-y:scroll}@-webkit-keyframes cdk-text-field-autofill-start{\n }@keyframes cdk-text-field-autofill-start{\n }@-webkit-keyframes cdk-text-field-autofill-end{\n }@keyframes cdk-text-field-autofill-end{\n }.cdk-text-field-autofill-monitored[_ngcontent-%COMP%]:-webkit-autofill{-webkit-animation:cdk-text-field-autofill-start 0s 1ms;animation:cdk-text-field-autofill-start 0s 1ms}.cdk-text-field-autofill-monitored[_ngcontent-%COMP%]:not(:-webkit-autofill){-webkit-animation:cdk-text-field-autofill-end 0s 1ms;animation:cdk-text-field-autofill-end 0s 1ms}textarea.cdk-textarea-autosize[_ngcontent-%COMP%]{resize:none}textarea.cdk-textarea-autosize-measuring[_ngcontent-%COMP%]{padding:2px 0!important;box-sizing:content-box!important;height:auto!important;overflow:hidden!important}textarea.cdk-textarea-autosize-measuring-firefox[_ngcontent-%COMP%]{padding:2px 0!important;box-sizing:content-box!important;height:0!important}.mat-focus-indicator[_ngcontent-%COMP%], .mat-mdc-focus-indicator[_ngcontent-%COMP%]{position:relative} .home-news{padding-top:24px} .home-news ngu-carousel{-ms-flex:1 1 100%;flex:1 1 100%} .home-news ngu-carousel .item{padding:10px} .home-news ngu-carousel .item .tile{height:120px;background:linear-gradient(135deg,#468dcd,#2770c2);margin:0 5px;line-height:28px} .home-news ngu-carousel .item .tile div{padding:0 20px;text-align:center;width:100%} .home-news ngu-carousel .item .tile span{font-size:.8em;font-weight:400} .home-news ngu-carousel .item .tile a{height:100%;width:100%;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;color:#fff;font-size:1.2rem;font-weight:700} .home-news ngu-carousel .item .tile a:-webkit-any-link{text-decoration:none} .home-news ngu-carousel .item .tile a:-moz-any-link{text-decoration:none} .home-news ngu-carousel .item .tile a:any-link{text-decoration:none} .home-news ngu-carousel .item .tile a:hover{cursor:pointer;background:linear-gradient(135deg,#2770c2,#468dcd)} .home-news ngu-carousel .nav{position:absolute;margin:auto;top:0;bottom:0;width:50px;height:100px;border:0;background-color:hsla(0,0%,100%,.6);outline:0} .home-news ngu-carousel .nav:hover{cursor:pointer;background-color:hsla(0,0%,100%,.8)} .home-news ngu-carousel .nav div{width:20px;height:20px;border-top:3px solid #2661a1} .home-news ngu-carousel .nav.leftRs{left:0;border-bottom-right-radius:100px;border-top-right-radius:100px} .home-news ngu-carousel .nav.leftRs div{border-left:3px solid #2661a1;-ms-transform:rotate(-45deg);transform:rotate(-45deg);margin:6px 0 6px 6px} .home-news ngu-carousel .nav.rightRs{right:0;border-bottom-left-radius:100px;border-top-left-radius:100px} .home-news ngu-carousel .nav.rightRs div{border-right:3px solid #2661a1;-ms-transform:rotate(45deg);transform:rotate(45deg);margin:6px 6px 6px 0} .home-news ngu-carousel .title{display:inline-table} .home-news h2{text-align:center}"],changeDetection:0}),t})()},"0MyW":function(t,e,n){"use strict";n.d(e,"a",function(){return N});var i=n("s7LF"),a=n("EY2u"),r=n("nYR2"),o=n("JIr8"),s=n("v/fa"),l=n("Rqom"),c=n("p/g4"),d=n("zfSa"),u=n("hGT6"),h=n("uc2U"),m=n("VIK+"),p=n("8Y7J"),f=n("TSSN"),g=n("zaPX"),b=n("keau"),_=n("iELJ"),y=n("iInd"),v=n("WTUP"),C=n("pSGz"),w=n("SVse"),x=n("Q2Ze"),M=n("e6WT"),O=n("q6Qu"),k=n("48lP"),S=n("pMoy"),T=n("Mkv7"),P=n("Tj54");function L(t,e){if(1&t){const t=p.Ub();p.Tb(0,"mat-checkbox",9),p.bc("change",function(e){return p.yc(t),p.fc().onNoTVAChange(e)}),p.Hc(1),p.gc(2,"translate"),p.Sb()}if(2&t){const t=p.fc();p.nc("indeterminate",t.country&&t.country.hasTVA),p.Cb(1),p.Jc(" ",p.hc(2,2,"common.tva.no")," ")}}function D(t,e){if(1&t){const t=p.Ub();p.Tb(0,"div",2),p.Tb(1,"app-tva-check-2",10),p.bc("stateChangeEvent",function(e){return p.yc(t),p.fc().onStateChange(e)})("tvaCheckEvent",function(e){return p.yc(t),p.fc().onTvaChange(e)}),p.Sb(),p.Sb()}if(2&t){const t=p.fc();p.Cb(1),p.nc("preventDoubleCheck",t.preventDoubleCheck)("state",t.state)("displayErrorMessageIndisponible",t.displayErrorMessageIndisponible)("formCtrl",t.numTVACtrl)("countryCode",null==t.country?null:t.country.codeTVA)("isAutocompleteDisabled",t.isAutocompleteDisabled)}}function E(t,e){1&t&&(p.Tb(0,"mat-error",11),p.Tb(1,"mat-icon",12),p.Hc(2,"close"),p.Sb(),p.Hc(3),p.gc(4,"translate"),p.Sb()),2&t&&(p.Cb(1),p.nc("color","warn"),p.Cb(2),p.Jc(" ",p.hc(4,2,"tva.error.ineligible")," "))}function A(t,e){1&t&&(p.Tb(0,"mat-error"),p.Hc(1),p.gc(2,"translate"),p.Sb()),2&t&&(p.Cb(1),p.Jc(" ",p.hc(2,1,"common.error.requis")," "))}function I(t,e){1&t&&(p.Tb(0,"mat-error"),p.Hc(1),p.gc(2,"translate"),p.Sb()),2&t&&(p.Cb(1),p.Jc(" ",p.hc(2,1,"common.error.length")," "))}function R(t,e){1&t&&(p.Tb(0,"mat-form-field",2),p.Ob(1,"input",13),p.Sb())}let N=(()=>{class t extends s.a{constructor(t,e,n,i,a,r){super(t),this.translateService=t,this.configSharedService=e,this.sireneService=n,this.dialog=i,this.route=a,this.loadingService=r,this.completion=!1,this.eligible=!0}load(){this.form=this.formGp,this.countries=this.configSharedService.countries,this.donneurOrdre=this.configSharedService.user&&this.configSharedService.user.role===d.a.DONNEUR_ORDRE;const t=this.route.snapshot.data.resolvedData;t&&(this.state=t.state,this.eligible=t.eligible),this.state===h.a.VALID&&this.countryCtrl.value&&"FR"===this.countryCtrl.value.code&&this.disableClientInfos(),this.numTVACtrl.setValidators([i.w.required,i.w.pattern("^\\w+$"),()=>l.a.numTVAInClient(this.eligible,this.state)])}get country(){return this.countryCtrl.value}get countryCtrl(){return this.addressFg.get("pays")}get showCheckboxSelectNoTVA(){return!this.donneurOrdre&&!this.completion}get isCodeNafDisplayed(){return!!this.form.get("codeNaf").value}get noTVACtrl(){return this.form.get("noTVA")}get isTvaDisplayed(){return!this.noTVACtrl.value&&this.country&&this.country.hasTVA}get addressFg(){return this.form.get("adresse")}get numTVACtrl(){return this.form.get("numTVA")}get raisonSocialeCtrl(){return this.form.get("raisonSociale")}onTvaChange(t){(this.modeDpd&&!this.donneurOrdre||!this.modeDpd)&&(t.isValid&&"FR"===this.country.code?this.checkSiren(t.numTVA,t.clientSelection,!0):t.clientSelection?(this.form.patchValue({raisonSociale:t.clientSelection.raisonSociale,adresse:{adresse:t.clientSelection.adresse,cp:t.clientSelection.cp,ville:t.clientSelection.ville,complementAdresse:t.clientSelection.complementAdresse},codeNaf:null,email:t.clientSelection.email}),this.enableClientInfos()):(this.eligible=!0,this.numTVACtrl.updateValueAndValidity()),this.updateLocationsAndRepresentativeValidity())}updateLocationsAndRepresentativeValidity(){this.modeDpd&&(this.configSharedService.form.get(u.a.LOCATIONS).updateValueAndValidity(),this.configSharedService.form.get(u.a.REPRESENTATIVE).updateValueAndValidity())}onCountryChange(t){t&&t.hasTVA?(this.noTVACtrl.enable(),this.numTVACtrl.enable()):(this.noTVACtrl.disable(),this.numTVACtrl.disable()),this.enableClientInfos(),this.reset(t),this.updateLocationsAndRepresentativeValidity()}checkSiren(t,e,n){if(!this.noTVACtrl.value&&t){const i=[{field:"siren",values:[t.slice(-9)],operand:c.a.EQUAL}];this.loadingService.setLoading(!0),this.subscriptions.push(this.sireneService.getSirets(i).pipe(Object(r.a)(()=>this.loadingService.setLoading(!1)),Object(o.a)(t=>(404===t.status?(this.eligible=!1,this.numTVACtrl.updateValueAndValidity(),this.disableClientInfos()):500===t.status&&(this.displayErrorMessageIndisponible=!0),a.a))).subscribe(t=>{this.eligible=!0,this.displayErrorMessageIndisponible=!1,this.numTVACtrl.updateValueAndValidity(),n&&t.total>0&&this.onSiretsFound(t,e)}))}}onSiretsFound(t,e){const n=t.items.find(t=>!!t.etablissementSiege);let i;n&&n.adresseSiren&&"FR"===n.adresseSiren.pays?(i={raisonSociale:n.rs,adresse:{adresse:n.adresseSiren.adresse,cp:n.adresseSiren.cp,ville:n.adresseSiren.ville,complementAdresse:n.adresseSiren.complementAdresse},codeNaf:n.codeNaf},e&&(i=Object.assign(Object.assign({},i),{email:e.email,numTVA:e.numTVA})),this.form.patchValue(i),this.disableClientInfos()):t.items&&t.items.length>0&&this.showSIRENPopup(t.items)}reset(t){let e={numTVA:null,raisonSociale:null,adresse:{adresse:null,complementAdresse:null,cp:null,ville:null},stateTVA:h.a.VALIDATE,codeNaf:null};void 0!==t&&(e=Object.assign(Object.assign({},e),{noTVA:!!t&&!t.hasTVA,adresse:Object.assign(Object.assign({},e.adresse),{pays:t})})),this.eligible=!0,this.form.patchValue(e)}showSIRENPopup(t){this.dialog.open(m.a,{data:{sirens:t},width:"90%",maxWidth:"90%"}).beforeClosed().subscribe(t=>{this.preventDoubleCheck=!1,t&&t.address&&(this.form.patchValue({raisonSociale:t.rs,adresse:{adresse:t.address.adresse,complementAdresse:t.address.complementAdresse,cp:t.address.cp,ville:t.address.ville,pays:this.countries.find(e=>e.code===t.address.pays),latitude:t.address.coordonnees.latitude,longitude:t.address.coordonnees.longitude},codeNaf:t.codeNaf}),this.disableClientInfos())})}onNoTVAChange(t){const e=t.checked;this.reset(),e?(this.numTVACtrl.disable(),this.enableClientInfos()):this.numTVACtrl.enable()}enableClientInfos(){this.raisonSocialeCtrl.enable(),this.addressFg.enable()}disableClientInfos(){this.raisonSocialeCtrl.disable(),this.addressFg.disable(),(this.completion||this.donneurOrdre)&&this.modeDpd||this.addressFg.get("pays").enable()}onStateChange(t){this.state=t,this.numTVACtrl.updateValueAndValidity()}}return t.\u0275fac=function(e){return new(e||t)(p.Nb(f.d),p.Nb(g.a),p.Nb(b.a),p.Nb(_.b),p.Nb(y.a),p.Nb(v.a))},t.\u0275cmp=p.Hb({type:t,selectors:[["app-client-form-2"]],inputs:{formGp:"formGp",modeDpd:"modeDpd",isAutocompleteDisabled:"isAutocompleteDisabled",completion:"completion"},features:[p.zb],decls:12,vars:15,consts:[[1,"client_container",3,"formGroup"],[1,"item",3,"countryCtrl","inputTitle","isRequired","showFR","selectionChanged"],[1,"item"],["data-cy","noTVA","color","primary","name","noTVA","formControlName","noTVA",3,"indeterminate","change",4,"ngIf"],["class","item",4,"ngIf"],["class","row",4,"ngIf"],["matInput","","data-cy","raison-sociale","type","text","name","raisonSociale","appLabel","compte.raisonsociale","formControlName","raisonSociale","required",""],[4,"ngIf"],["data-cy","client-adresse","name","entreprise",1,"item",3,"formGp","showCountry","isAutocompleteDisabled","isRequired"],["data-cy","noTVA","color","primary","name","noTVA","formControlName","noTVA",3,"indeterminate","change"],["data-cy","numTVA",3,"preventDoubleCheck","state","displayErrorMessageIndisponible","formCtrl","countryCode","isAutocompleteDisabled","stateChangeEvent","tvaCheckEvent"],[1,"row"],[3,"color"],["matInput","","data-cy","code-naf","type","text","name","codeNaf","appLabel","client.codeNaf","formControlName","codeNaf"]],template:function(t,e){1&t&&(p.Tb(0,"form",0),p.Tb(1,"app-country-autocomplete-2",1),p.bc("selectionChanged",function(t){return e.onCountryChange(t)}),p.Sb(),p.Tb(2,"div",2),p.Fc(3,L,3,4,"mat-checkbox",3),p.Sb(),p.Fc(4,D,2,6,"div",4),p.Fc(5,E,5,4,"mat-error",5),p.Tb(6,"mat-form-field",2),p.Ob(7,"input",6),p.Fc(8,A,3,3,"mat-error",7),p.Fc(9,I,3,3,"mat-error",7),p.Sb(),p.Ob(10,"app-address-form-2",8),p.Fc(11,R,2,0,"mat-form-field",4),p.Sb()),2&t&&(p.nc("formGroup",e.form),p.Cb(1),p.nc("countryCtrl",e.countryCtrl)("inputTitle","common.pays")("isRequired",!0)("showFR",!0),p.Cb(2),p.nc("ngIf",e.showCheckboxSelectNoTVA),p.Cb(1),p.nc("ngIf",e.isTvaDisplayed),p.Cb(1),p.nc("ngIf",!e.eligible),p.Cb(3),p.nc("ngIf",e.doesControlHaveError("raisonSociale","required")),p.Cb(1),p.nc("ngIf",e.doesControlHaveError("raisonSociale","maxlength")),p.Cb(1),p.nc("formGp",e.addressFg)("showCountry",!1)("isAutocompleteDisabled",e.isAutocompleteDisabled)("isRequired",!0),p.Cb(1),p.nc("ngIf",e.isCodeNafDisplayed))},directives:[i.x,i.p,i.i,C.a,w.l,x.c,M.b,i.c,O.a,i.o,i.g,i.v,k.a,S.a,T.a,x.b,P.a],pipes:[f.c],styles:[".client_container[_ngcontent-%COMP%]{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.client_container[_ngcontent-%COMP%] .item[_ngcontent-%COMP%]{width:100%}"]}),t})()},"0h1T":function(t,e,n){"use strict";n.d(e,"a",function(){return i});var i=function(t){return t[t.EMAIL=256]="EMAIL",t[t.COMMON=70]="COMMON",t[t.NUMBER=50]="NUMBER",t[t.ADDRESS=256]="ADDRESS",t[t.LONG_PERIOD_MOTIVE=256]="LONG_PERIOD_MOTIVE",t}({})},"0j+H":function(t,e,n){"use strict";n.r(e),n.d(e,"DeclarationAccessModule",function(){return Q});var i=n("SVse"),a=n("PCNd"),r=n("iInd"),o=n("nYR2"),s=n("IGtN"),l=function(t){return t.POSSIBLE="possible",t.ENCOURS="encours",t.VALIDE="valide",t.REFUSE="refuse",t}({}),c=n("8Y7J"),d=n("TSSN"),u=n("eaIg"),h=n("PDjf"),m=n("mbGh"),p=n("s7LF"),f=n("Dxy4"),g=n("M9ds"),b=n("jKJn"),_=n("o4Yh"),y=n("LUZP"),v=n("OaSA"),C=n("GH2U"),w=n("Tj54"),x=n("lawv");function M(t,e){1&t&&(c.Tb(0,"th",11),c.Hc(1),c.gc(2,"translate"),c.Sb()),2&t&&(c.Cb(1),c.Ic(c.hc(2,1,"declaration.access.table.code")))}function O(t,e){if(1&t&&(c.Tb(0,"td",12),c.Hc(1),c.Sb()),2&t){const t=e.$implicit;c.Cb(1),c.Ic(null==t?null:t.code)}}function k(t,e){1&t&&(c.Tb(0,"th",11),c.Hc(1),c.gc(2,"translate"),c.Sb()),2&t&&(c.Cb(1),c.Ic(c.hc(2,1,"declaration.access.table.version")))}function S(t,e){if(1&t&&(c.Tb(0,"td",12),c.Hc(1),c.Sb()),2&t){const t=e.$implicit;c.Cb(1),c.Ic(null==t?null:t.version)}}function T(t,e){1&t&&(c.Tb(0,"th",11),c.Hc(1),c.gc(2,"translate"),c.Sb()),2&t&&(c.Cb(1),c.Ic(c.hc(2,1,"declaration.access.table.date.debut")))}function P(t,e){if(1&t&&(c.Tb(0,"td",12),c.Hc(1),c.gc(2,"amDateFormat"),c.Sb()),2&t){const t=e.$implicit;c.Cb(1),c.Ic(c.ic(2,1,null==t?null:t.dateDebut,"DD/MM/YYYY"))}}function L(t,e){1&t&&(c.Tb(0,"th",11),c.Hc(1),c.gc(2,"translate"),c.Sb()),2&t&&(c.Cb(1),c.Ic(c.hc(2,1,"declaration.access.table.date.fin")))}function D(t,e){if(1&t&&(c.Tb(0,"td",12),c.Hc(1),c.gc(2,"amDateFormat"),c.Sb()),2&t){const t=e.$implicit;c.Cb(1),c.Ic(c.ic(2,1,null==t?null:t.dateFin,"DD/MM/YYYY"))}}function E(t,e){1&t&&c.Ob(0,"th",11)}function A(t,e){if(1&t){const t=c.Ub();c.Tb(0,"button",14),c.bc("click",function(){c.yc(t);const e=c.fc().$implicit;return c.fc().download(e.code)}),c.Tb(1,"mat-icon",15),c.Hc(2,"cloud_download"),c.Sb(),c.Sb()}}function I(t,e){if(1&t&&(c.Tb(0,"td",12),c.Fc(1,A,3,0,"button",13),c.Sb()),2&t){const t=c.fc();c.Cb(1),c.nc("ngIf",t.canDownload)}}function R(t,e){1&t&&c.Ob(0,"tr",16)}function N(t,e){1&t&&c.Ob(0,"tr",17)}let Y=(()=>{class t extends s.a{constructor(t,e,n,i){super(t),this.translateService=t,this.changeDetectorRef=e,this.userDeclarationPrestataireService=n,this.declarationService=i,this.dataSource=new v.k([]),this.displayedColumns=["code","version","dateDebut","dateFin","download"],this.canDownload=!1}get type(){return this._type}set type(t){this._type=t,this.canDownload=this.type===l.VALIDE}ngOnInit(){super.ngOnInit(),this.dataSource.sort=this.sort}load(){this.subscriptions.push(this.raisonSociale?this.userDeclarationPrestataireService.getDeclarationsValide(this.hash,this.departements,this.type,this.raisonSociale).subscribe(t=>{this.dataSource.data=t,setTimeout(()=>this.changeDetectorRef.markForCheck())}):this.userDeclarationPrestataireService.getDeclarations(this.hash,this.departements,this.type).subscribe(t=>{this.dataSource.data=t,setTimeout(()=>this.changeDetectorRef.markForCheck())}))}download(t){this.declarationService.getAccuseReception(t).subscribe(t=>{if(window.navigator.msSaveBlob){const e=atob(t.file),n=new ArrayBuffer(e.length),i=new Uint8Array(n);for(let t=0;t<e.length;t++)i[t]=e.charCodeAt(t);const a=new Blob([n],{type:"application/pdf"});window.navigator.msSaveOrOpenBlob(a,t.nom)}else{const e=document.getElementById("dwnldLnk");e.href="data:application/octet-stream;base64,"+t.file,e.setAttribute("download",t.nom),e.click()}})}}return t.\u0275fac=function(e){return new(e||t)(c.Nb(d.d),c.Nb(c.h),c.Nb(u.a),c.Nb(C.a))},t.\u0275cmp=c.Hb({type:t,selectors:[["app-declaration-list"]],viewQuery:function(t,e){if(1&t&&c.Lc(y.a,3),2&t){let t;c.uc(t=c.cc())&&(e.sort=t.first)}},inputs:{hash:"hash",raisonSociale:"raisonSociale",departements:"departements",type:"type"},features:[c.zb],decls:19,vars:3,consts:[["mat-table","","matSort","",1,"declaration-list",3,"dataSource"],["matColumnDef","code"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","version"],["matColumnDef","dateDebut"],["matColumnDef","dateFin"],["matColumnDef","download"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["id","dwnldLnk",2,"display","none"],["mat-header-cell","","mat-sort-header",""],["mat-cell",""],["mat-icon-button","","aria-label","download",3,"click",4,"ngIf"],["mat-icon-button","","aria-label","download",3,"click"],["color","primary","aria-label","Download"],["mat-header-row",""],["mat-row",""]],template:function(t,e){1&t&&(c.Tb(0,"table",0),c.Rb(1,1),c.Fc(2,M,3,3,"th",2),c.Fc(3,O,2,1,"td",3),c.Qb(),c.Rb(4,4),c.Fc(5,k,3,3,"th",2),c.Fc(6,S,2,1,"td",3),c.Qb(),c.Rb(7,5),c.Fc(8,T,3,3,"th",2),c.Fc(9,P,3,4,"td",3),c.Qb(),c.Rb(10,6),c.Fc(11,L,3,3,"th",2),c.Fc(12,D,3,4,"td",3),c.Qb(),c.Rb(13,7),c.Fc(14,E,1,0,"th",2),c.Fc(15,I,2,1,"td",3),c.Qb(),c.Fc(16,R,1,0,"tr",8),c.Fc(17,N,1,0,"tr",9),c.Sb(),c.Ob(18,"a",10)),2&t&&(c.nc("dataSource",e.dataSource),c.Cb(16),c.nc("matHeaderRowDef",e.displayedColumns),c.Cb(1),c.nc("matRowDefColumns",e.displayedColumns))},directives:[v.j,y.a,v.c,v.e,v.b,v.g,v.i,v.d,y.b,v.a,i.l,f.a,w.a,v.f,v.h],pipes:[d.c,x.a],styles:[".declaration-list[_ngcontent-%COMP%]{width:100%}"],changeDetection:0}),t})();function H(t,e){1&t&&(c.Tb(0,"div",2),c.Hc(1),c.gc(2,"translate"),c.Sb()),2&t&&(c.Cb(1),c.Jc(" ",c.hc(2,1,"declaration.access.list.empty")," "))}function j(t,e){if(1&t){const t=c.Ub();c.Tb(0,"button",11),c.bc("click",function(e){c.yc(t);const n=c.fc().$implicit;return c.fc(2).requestAccess(e,n)}),c.Hc(1),c.gc(2,"translate"),c.Sb()}if(2&t){const t=c.fc().$implicit,e=c.fc(2);c.pc("id","request_access_",t.hash,""),c.nc("disabled",e.requesting),c.Cb(1),c.Jc(" ",c.hc(2,3,"declaration.access.request.access")," ")}}function F(t,e){if(1&t&&(c.Tb(0,"span"),c.Hc(1),c.Sb()),2&t){const t=c.fc(2).$implicit;c.Cb(1),c.Jc(" - ",t.numTVA,"")}}function z(t,e){if(1&t&&(c.Tb(0,"span"),c.Hc(1),c.Fc(2,F,2,1,"span",12),c.Sb()),2&t){const t=c.fc().$implicit;c.Cb(1),c.Jc(" ",t.raisonSociale,""),c.Cb(1),c.nc("ngIf",!!t.numTVA)}}function V(t,e){1&t&&(c.Hc(0),c.gc(1,"translate")),2&t&&c.Ic(c.hc(1,1,"declaration.access.generic.name"))}function B(t,e){if(1&t&&c.Ob(0,"app-declaration-list",13),2&t){const t=c.fc().$implicit,e=c.fc(2);c.nc("hash",t.hash)("raisonSociale",t.raisonSociale)("type",e.type)("departements",e.departements)}}function W(t,e){if(1&t&&(c.Tb(0,"div"),c.Tb(1,"mat-expansion-panel"),c.Tb(2,"mat-expansion-panel-header"),c.Tb(3,"mat-panel-title",4),c.Tb(4,"div"),c.Fc(5,j,3,5,"button",5),c.Sb(),c.Tb(6,"div",6),c.Fc(7,z,3,2,"span",7),c.Fc(8,V,2,3,"ng-template",null,8,c.Gc),c.Sb(),c.Tb(10,"div",9),c.Hc(11),c.gc(12,"translate"),c.Sb(),c.Sb(),c.Sb(),c.Fc(13,B,1,4,"ng-template",10),c.Sb(),c.Sb()),2&t){const t=e.$implicit,n=c.vc(9),i=c.fc(2);c.Cb(3),c.pc("id","prestataire_",t.hash,""),c.Cb(2),c.nc("ngIf",i.canRequestAccess),c.Cb(2),c.nc("ngIf",!!t.raisonSociale)("ngIfElse",n),c.Cb(4),c.Kc("",t.count," ",c.hc(12,6,t.count>1?"declaration.access.count.declarations":"declaration.access.count.declaration"),"")}}function U(t,e){if(1&t&&c.Fc(0,W,14,8,"div",3),2&t){const t=c.fc();c.nc("ngForOf",t.prestataires)}}let q=(()=>{class t extends s.a{constructor(t,e,n,i){super(t),this.translateService=t,this.changeDetectorRef=e,this.userDeclarationPrestataireService=n,this.alertService=i,this.reload=new c.o,this.canRequestAccess=!1,this.requesting=!1,this._prestataires=[]}get type(){return this._type}set type(t){this._type=t,this.canRequestAccess=this.type===l.POSSIBLE}get prestataires(){return this._prestataires}set prestataires(t){this._prestataires=t,setTimeout(()=>this.changeDetectorRef.markForCheck())}requestAccess(t,e){return this.requesting||(t.preventDefault(),t.stopImmediatePropagation(),this.requesting=!0,this.userDeclarationPrestataireService.requestAccess(e.hash).pipe(Object(o.a)(()=>{this.requesting=!1,this.changeDetectorRef.markForCheck()})).subscribe(()=>this.reload.emit(this.type),()=>this.alertService.notifyByKey("declaration.access.request.access.failed"))),!1}}return t.\u0275fac=function(e){return new(e||t)(c.Nb(d.d),c.Nb(c.h),c.Nb(u.a),c.Nb(b.a))},t.\u0275cmp=c.Hb({type:t,selectors:[["app-prestataire-list"]],inputs:{departements:"departements",type:"type",prestataires:"prestataires"},outputs:{reload:"reload"},features:[c.zb],decls:4,vars:2,consts:[["class","emptyPrestataire",4,"ngIf","ngIfElse"],["list",""],[1,"emptyPrestataire"],[4,"ngFor","ngForOf"],[1,"prestataire-list-header",3,"id"],["mat-raised-button","","aria-label","requestAccess","color","primary",3,"id","disabled","click",4,"ngIf"],[1,"raisonSociale"],[4,"ngIf","ngIfElse"],["generic",""],[1,"prestataire-count"],["matExpansionPanelContent",""],["mat-raised-button","","aria-label","requestAccess","color","primary",3,"id","disabled","click"],[4,"ngIf"],[3,"hash","raisonSociale","type","departements"]],template:function(t,e){if(1&t&&(c.Tb(0,"mat-accordion"),c.Fc(1,H,3,3,"div",0),c.Fc(2,U,1,1,"ng-template",null,1,c.Gc),c.Sb()),2&t){const t=c.vc(3);c.Cb(1),c.nc("ngIf",!e.prestataires||0==(null==e.prestataires?null:e.prestataires.length))("ngIfElse",t)}},directives:[_.a,i.l,i.k,_.c,_.e,_.f,_.d,f.a,Y],pipes:[d.c],styles:[".prestataire-list-header[_ngcontent-%COMP%]{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-align:center;align-items:center}.prestataire-list-header[_ngcontent-%COMP%] .raisonSociale[_ngcontent-%COMP%]{font-weight:700}.prestataire-list-header[_ngcontent-%COMP%] .prestataire-count[_ngcontent-%COMP%]{margin-right:10px;width:120px;text-align:right}.emptyPrestataire[_ngcontent-%COMP%]{padding:16px}mat-expansion-panel[_ngcontent-%COMP%]{margin:8px!important}"],changeDetection:0}),t})();function G(t,e){if(1&t){const t=c.Ub();c.Tb(0,"app-prestataire-list",10),c.bc("reload",function(){return c.yc(t),c.fc().load()}),c.Sb()}if(2&t){const t=c.fc();c.nc("prestataires",null==t.prestataires?null:t.prestataires.possible)("type",t.DeclarationAccess.POSSIBLE)("departements",t.departements)}}function J(t,e){if(1&t&&c.Ob(0,"app-prestataire-list",11),2&t){const t=c.fc();c.nc("prestataires",null==t.prestataires?null:t.prestataires.encours)("type",t.DeclarationAccess.ENCOURS)("departements",t.departements)}}function Z(t,e){if(1&t&&c.Ob(0,"app-prestataire-list",11),2&t){const t=c.fc();c.nc("prestataires",null==t.prestataires?null:t.prestataires.valide)("type",t.DeclarationAccess.VALIDE)("departements",t.departements)}}function $(t,e){if(1&t&&c.Ob(0,"app-prestataire-list",11),2&t){const t=c.fc();c.nc("prestataires",null==t.prestataires?null:t.prestataires.refuse)("type",t.DeclarationAccess.REFUSE)("departements",t.departements)}}let X=(()=>{class t extends s.a{constructor(t,e,n){super(t),this.translateService=t,this.changeDetectorRef=e,this.userDeclarationPrestataireService=n,this.departements=[],this.DeclarationAccess=l,this.loading=!1}load(){this.loading=!0,this.subscriptions.push(this.userDeclarationPrestataireService.getPrestataires(this.departements).pipe(Object(o.a)(()=>{this.loading=!1,this.changeDetectorRef.markForCheck()})).subscribe(t=>this.prestataires=t))}}return t.\u0275fac=function(e){return new(e||t)(c.Nb(d.d),c.Nb(c.h),c.Nb(u.a))},t.\u0275cmp=c.Hb({type:t,selectors:[["app-declaration-access"]],features:[c.zb],decls:29,vars:26,consts:[[1,"main-block"],[1,"side-header"],[1,"main-title"],[1,"declaration-explication","alert-green"],[1,"declaration-departements"],[1,"input-departements",3,"placeholder","ngModel","ngModelChange","changed"],[2,"margin-left","8px"],["aria-label","search","mat-raised-button","","color","primary",1,"filter-button",3,"disabled","click"],[3,"label"],["matTabContent",""],[3,"prestataires","type","departements","reload"],[3,"prestataires","type","departements"]],template:function(t,e){1&t&&(c.Tb(0,"div",0),c.Tb(1,"mat-card"),c.Tb(2,"mat-card-title",1),c.Tb(3,"h1",2),c.Hc(4),c.gc(5,"translate"),c.Sb(),c.Sb(),c.Tb(6,"div",3),c.Hc(7),c.gc(8,"translate"),c.Sb(),c.Tb(9,"div",4),c.Tb(10,"app-region-form",5),c.bc("ngModelChange",function(t){return e.departements=t})("changed",function(){return e.load()}),c.gc(11,"translate"),c.Sb(),c.Tb(12,"div",6),c.Tb(13,"button",7),c.bc("click",function(){return e.load()}),c.Hc(14),c.gc(15,"translate"),c.Sb(),c.Sb(),c.Sb(),c.Tb(16,"mat-tab-group"),c.Tb(17,"mat-tab",8),c.gc(18,"translate"),c.Fc(19,G,1,3,"ng-template",9),c.Sb(),c.Tb(20,"mat-tab",8),c.gc(21,"translate"),c.Fc(22,J,1,3,"ng-template",9),c.Sb(),c.Tb(23,"mat-tab",8),c.gc(24,"translate"),c.Fc(25,Z,1,3,"ng-template",9),c.Sb(),c.Tb(26,"mat-tab",8),c.gc(27,"translate"),c.Fc(28,$,1,3,"ng-template",9),c.Sb(),c.Sb(),c.Sb(),c.Sb()),2&t&&(c.Cb(4),c.Ic(c.hc(5,10,"declaration.access.title")),c.Cb(3),c.Jc(" ",c.hc(8,12,"declaration.access.explication")," "),c.Cb(3),c.oc("placeholder",c.hc(11,14,"declaration.access.departements")),c.nc("ngModel",e.departements),c.Cb(3),c.nc("disabled",e.loading),c.Cb(1),c.Ic(c.hc(15,16,"common.rechercher")),c.Cb(3),c.oc("label",c.hc(18,18,"declaration.access.type.possible")),c.Cb(3),c.oc("label",c.hc(21,20,"declaration.access.type.encours")),c.Cb(3),c.oc("label",c.hc(24,22,"declaration.access.type.valide")),c.Cb(3),c.oc("label",c.hc(27,24,"declaration.access.type.refuse")))},directives:[h.a,h.d,m.a,p.o,p.r,f.a,g.c,g.a,g.b,q],pipes:[d.c],styles:[".main-block .declaration-explication{text-align:justify;font-size:14px;white-space:pre-line}.main-block span.label{padding-right:8px}.main-block .declaration-departements{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;width:50%;min-width:400px}.main-block .declaration-departements .mat-form-field{width:100%}.main-block .declaration-departements .mat-select-value-text{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;display:block}"],encapsulation:2,changeDetection:0}),t})(),K=(()=>{class t{}return t.\u0275mod=c.Lb({type:t}),t.\u0275inj=c.Kb({factory:function(e){return new(e||t)},imports:[[r.j.forChild([{path:"",component:X}])],r.j]}),t})(),Q=(()=>{class t{}return t.\u0275mod=c.Lb({type:t}),t.\u0275inj=c.Kb({factory:function(e){return new(e||t)},imports:[[i.c,a.a,K]]}),t})()},"0mo+":function(t,e,n){!function(t){"use strict";var e={1:"\u0f21",2:"\u0f22",3:"\u0f23",4:"\u0f24",5:"\u0f25",6:"\u0f26",7:"\u0f27",8:"\u0f28",9:"\u0f29",0:"\u0f20"},n={"\u0f21":"1","\u0f22":"2","\u0f23":"3","\u0f24":"4","\u0f25":"5","\u0f26":"6","\u0f27":"7","\u0f28":"8","\u0f29":"9","\u0f20":"0"};t.defineLocale("bo",{months:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f44\u0f0b\u0f54\u0f7c_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f66\u0f74\u0f58\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f5e\u0f72\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f63\u0f94\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0fb2\u0f74\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f62\u0f92\u0fb1\u0f51\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f42\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f45\u0f72\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54".split("_"),monthsShort:"\u0f5f\u0fb3\u0f0b1_\u0f5f\u0fb3\u0f0b2_\u0f5f\u0fb3\u0f0b3_\u0f5f\u0fb3\u0f0b4_\u0f5f\u0fb3\u0f0b5_\u0f5f\u0fb3\u0f0b6_\u0f5f\u0fb3\u0f0b7_\u0f5f\u0fb3\u0f0b8_\u0f5f\u0fb3\u0f0b9_\u0f5f\u0fb3\u0f0b10_\u0f5f\u0fb3\u0f0b11_\u0f5f\u0fb3\u0f0b12".split("_"),monthsShortRegex:/^(\u0f5f\u0fb3\u0f0b\d{1,2})/,monthsParseExact:!0,weekdays:"\u0f42\u0f5f\u0f60\u0f0b\u0f49\u0f72\u0f0b\u0f58\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f5f\u0fb3\u0f0b\u0f56\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74_\u0f42\u0f5f\u0f60\u0f0b\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b".split("_"),weekdaysShort:"\u0f49\u0f72\u0f0b\u0f58\u0f0b_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b_\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b_\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b_\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74_\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b_\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b".split("_"),weekdaysMin:"\u0f49\u0f72_\u0f5f\u0fb3_\u0f58\u0f72\u0f42_\u0f63\u0fb7\u0f42_\u0f55\u0f74\u0f62_\u0f66\u0f44\u0f66_\u0f66\u0fa4\u0f7a\u0f53".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0f51\u0f72\u0f0b\u0f62\u0f72\u0f44] LT",nextDay:"[\u0f66\u0f44\u0f0b\u0f49\u0f72\u0f53] LT",nextWeek:"[\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f55\u0fb2\u0f42\u0f0b\u0f62\u0f97\u0f7a\u0f66\u0f0b\u0f58], LT",lastDay:"[\u0f41\u0f0b\u0f66\u0f44] LT",lastWeek:"[\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f55\u0fb2\u0f42\u0f0b\u0f58\u0f50\u0f60\u0f0b\u0f58] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0f63\u0f0b",past:"%s \u0f66\u0f94\u0f53\u0f0b\u0f63",s:"\u0f63\u0f58\u0f0b\u0f66\u0f44",ss:"%d \u0f66\u0f90\u0f62\u0f0b\u0f46\u0f0d",m:"\u0f66\u0f90\u0f62\u0f0b\u0f58\u0f0b\u0f42\u0f45\u0f72\u0f42",mm:"%d \u0f66\u0f90\u0f62\u0f0b\u0f58",h:"\u0f46\u0f74\u0f0b\u0f5a\u0f7c\u0f51\u0f0b\u0f42\u0f45\u0f72\u0f42",hh:"%d \u0f46\u0f74\u0f0b\u0f5a\u0f7c\u0f51",d:"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f45\u0f72\u0f42",dd:"%d \u0f49\u0f72\u0f53\u0f0b",M:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f45\u0f72\u0f42",MM:"%d \u0f5f\u0fb3\u0f0b\u0f56",y:"\u0f63\u0f7c\u0f0b\u0f42\u0f45\u0f72\u0f42",yy:"%d \u0f63\u0f7c"},preparse:function(t){return t.replace(/[\u0f21\u0f22\u0f23\u0f24\u0f25\u0f26\u0f27\u0f28\u0f29\u0f20]/g,function(t){return n[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},meridiemParse:/\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c|\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66|\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44|\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42|\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"===e&&t>=4||"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44"===e&&t<5||"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42"===e?t+12:t},meridiem:function(t,e,n){return t<4?"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c":t<10?"\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66":t<17?"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44":t<20?"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42":"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"},week:{dow:0,doy:6}})}(n("wd/R"))},"0tRk":function(t,e,n){!function(t){"use strict";t.defineLocale("pt-br",{months:"janeiro_fevereiro_mar\xe7o_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"domingo_segunda-feira_ter\xe7a-feira_quarta-feira_quinta-feira_sexta-feira_s\xe1bado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_s\xe1b".split("_"),weekdaysMin:"do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [\xe0s] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [\xe0s] HH:mm"},calendar:{sameDay:"[Hoje \xe0s] LT",nextDay:"[Amanh\xe3 \xe0s] LT",nextWeek:"dddd [\xe0s] LT",lastDay:"[Ontem \xe0s] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[\xdaltimo] dddd [\xe0s] LT":"[\xdaltima] dddd [\xe0s] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"h\xe1 %s",s:"poucos segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",invalidDate:"Data inv\xe1lida"})}(n("wd/R"))},"0zE1":function(t,e,n){"use strict";n.d(e,"a",function(){return a});var i=n("8Y7J");let a=(()=>{class t{onKeydown(t){if(!t.ctrlKey&&t.key&&1===t.key.length&&/\s/.test(t.key))return t.preventDefault(),!1}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.Ib({type:t,selectors:[["","appNoSpace",""]],hostBindings:function(t,e){1&t&&i.bc("keydown",function(t){return e.onKeydown(t)})}}),t})()},"14/Y":function(t,e,n){"use strict";n.r(e),n.d(e,"ContactModule",function(){return g});var i=n("SVse"),a=n("PCNd"),r=n("iInd"),o=n("IGtN"),s=n("8Y7J"),l=n("TSSN"),c=n("cXaA"),d=n("IheW");let u=(()=>{class t{constructor(t){this.http=t,this.log=c.a.create("ContactService"),this.END_POINT="/api/contact"}getContact(){const t=this.END_POINT;return this.log.data(`[HTTP] (GET) -> ${t}`),this.http.get(t)}}return t.\u0275fac=function(e){return new(e||t)(s.Xb(d.b))},t.\u0275prov=s.Jb({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();var h=n("KSFr");function m(t,e){if(1&t&&(s.Tb(0,"div",1),s.Tb(1,"h1"),s.Hc(2),s.Sb(),s.Ob(3,"div",2),s.gc(4,"safeHtml"),s.Sb()),2&t){const t=s.fc();s.Cb(2),s.Ic(t.contact.titre),s.Cb(1),s.nc("innerHTML",s.hc(4,2,t.contact.contenu),s.zc)}}let p=(()=>{class t extends o.a{constructor(t,e){super(t),this.translateService=t,this.contactService=e,this.contact={id:"",contenu:"",titre:""}}load(){this.contactService.getContact().subscribe(t=>this.contact=t)}}return t.\u0275fac=function(e){return new(e||t)(s.Nb(l.d),s.Nb(u))},t.\u0275cmp=s.Hb({type:t,selectors:[["app-contact"]],features:[s.zb],decls:1,vars:1,consts:[["id","contact","class","content",4,"ngIf"],["id","contact",1,"content"],[1,"contact-content","ql-editor",3,"innerHTML"]],template:function(t,e){1&t&&s.Fc(0,m,5,4,"div",0),2&t&&s.nc("ngIf",e.contact)},directives:[i.l],pipes:[h.a],styles:["#contact a{text-decoration:underline}#contact .contact-content img{max-width:100%;max-width:-webkit-fill-available;max-width:-moz-available;max-width:stretch}"],encapsulation:2}),t})(),f=(()=>{class t{}return t.\u0275mod=s.Lb({type:t}),t.\u0275inj=s.Kb({factory:function(e){return new(e||t)},imports:[[r.j.forChild([{path:"",component:p}])],r.j]}),t})(),g=(()=>{class t{}return t.\u0275mod=s.Lb({type:t}),t.\u0275inj=s.Kb({factory:function(e){return new(e||t)},imports:[[i.c,a.a,f]]}),t})()},"1G5W":function(t,e,n){"use strict";n.d(e,"a",function(){return a});var i=n("zx2A");function a(t){return e=>e.lift(new r(t))}class r{constructor(t){this.notifier=t}call(t,e){const n=new o(t),a=Object(i.c)(this.notifier,new i.a(n));return a&&!n.seenValue?(n.add(a),e.subscribe(n)):n}}class o extends i.b{constructor(t){super(t),this.seenValue=!1}notifyNext(){this.seenValue=!0,this.complete()}notifyComplete(){}}},"1O3W":function(t,e,n){"use strict";n.d(e,"a",function(){return Z}),n.d(e,"b",function(){return J}),n.d(e,"c",function(){return U}),n.d(e,"d",function(){return S}),n.d(e,"e",function(){return I}),n.d(e,"f",function(){return X});var i=n("7KAL"),a=n("8Y7J"),r=n("SCoL"),o=n("9gLZ"),s=n("SVse"),l=n("8LU1"),c=n("1z/I"),d=n("XNiG"),u=n("quSY"),h=n("VRyK"),m=n("IzEk"),p=n("1G5W"),f=n("7o/Q");class g{constructor(t,e){this.predicate=t,this.inclusive=e}call(t,e){return e.subscribe(new b(t,this.predicate,this.inclusive))}}class b extends f.a{constructor(t,e,n){super(t),this.predicate=e,this.inclusive=n,this.index=0}_next(t){const e=this.destination;let n;try{n=this.predicate(t,this.index++)}catch(i){return void e.error(i)}this.nextOrComplete(t,n)}nextOrComplete(t,e){const n=this.destination;Boolean(e)?n.next(t):(this.inclusive&&n.next(t),n.complete())}}var _=n("Ht+U");const y=Object(r.g)();class v{constructor(t,e){this._viewportRuler=t,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=e}attach(){}enable(){if(this._canBeEnabled()){const t=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=t.style.left||"",this._previousHTMLStyles.top=t.style.top||"",t.style.left=Object(l.d)(-this._previousScrollPosition.left),t.style.top=Object(l.d)(-this._previousScrollPosition.top),t.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const t=this._document.documentElement,e=t.style,n=this._document.body.style,i=e.scrollBehavior||"",a=n.scrollBehavior||"";this._isEnabled=!1,e.left=this._previousHTMLStyles.left,e.top=this._previousHTMLStyles.top,t.classList.remove("cdk-global-scrollblock"),y&&(e.scrollBehavior=n.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),y&&(e.scrollBehavior=i,n.scrollBehavior=a)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const t=this._document.body,e=this._viewportRuler.getViewportSize();return t.scrollHeight>e.height||t.scrollWidth>e.width}}class C{constructor(t,e,n,i){this._scrollDispatcher=t,this._ngZone=e,this._viewportRuler=n,this._config=i,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(t){this._overlayRef=t}enable(){if(this._scrollSubscription)return;const t=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=t.subscribe(()=>{const t=this._viewportRuler.getViewportScrollPosition().top;Math.abs(t-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=t.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class w{enable(){}disable(){}attach(){}}function x(t,e){return e.some(e=>t.bottom<e.top||t.top>e.bottom||t.right<e.left||t.left>e.right)}function M(t,e){return e.some(e=>t.top<e.top||t.bottom>e.bottom||t.left<e.left||t.right>e.right)}class O{constructor(t,e,n,i){this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=n,this._config=i,this._scrollSubscription=null}attach(t){this._overlayRef=t}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const t=this._overlayRef.overlayElement.getBoundingClientRect(),{width:e,height:n}=this._viewportRuler.getViewportSize();x(t,[{width:e,height:n,bottom:n,right:e,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let k=(()=>{class t{constructor(t,e,n,i){this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=n,this.noop=()=>new w,this.close=t=>new C(this._scrollDispatcher,this._ngZone,this._viewportRuler,t),this.block=()=>new v(this._viewportRuler,this._document),this.reposition=t=>new O(this._scrollDispatcher,this._viewportRuler,this._ngZone,t),this._document=i}}return t.\u0275fac=function(e){return new(e||t)(a.Xb(i.c),a.Xb(i.e),a.Xb(a.B),a.Xb(s.d))},t.\u0275prov=Object(a.Jb)({factory:function(){return new t(Object(a.Xb)(i.c),Object(a.Xb)(i.e),Object(a.Xb)(a.B),Object(a.Xb)(s.d))},token:t,providedIn:"root"}),t})();class S{constructor(t){if(this.scrollStrategy=new w,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,t){const e=Object.keys(t);for(const n of e)void 0!==t[n]&&(this[n]=t[n])}}}class T{constructor(t,e,n,i,a){this.offsetX=n,this.offsetY=i,this.panelClass=a,this.originX=t.originX,this.originY=t.originY,this.overlayX=e.overlayX,this.overlayY=e.overlayY}}class P{constructor(t,e){this.connectionPair=t,this.scrollableViewProperties=e}}let L=(()=>{class t{constructor(t){this._attachedOverlays=[],this._document=t}ngOnDestroy(){this.detach()}add(t){this.remove(t),this._attachedOverlays.push(t)}remove(t){const e=this._attachedOverlays.indexOf(t);e>-1&&this._attachedOverlays.splice(e,1),0===this._attachedOverlays.length&&this.detach()}}return t.\u0275fac=function(e){return new(e||t)(a.Xb(s.d))},t.\u0275prov=Object(a.Jb)({factory:function(){return new t(Object(a.Xb)(s.d))},token:t,providedIn:"root"}),t})(),D=(()=>{class t extends L{constructor(t){super(t),this._keydownListener=t=>{const e=this._attachedOverlays;for(let n=e.length-1;n>-1;n--)if(e[n]._keydownEvents.observers.length>0){e[n]._keydownEvents.next(t);break}}}add(t){super.add(t),this._isAttached||(this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return t.\u0275fac=function(e){return new(e||t)(a.Xb(s.d))},t.\u0275prov=Object(a.Jb)({factory:function(){return new t(Object(a.Xb)(s.d))},token:t,providedIn:"root"}),t})(),E=(()=>{class t extends L{constructor(t,e){super(t),this._platform=e,this._cursorStyleIsSet=!1,this._clickListener=t=>{const e=t.composedPath?t.composedPath()[0]:t.target,n=this._attachedOverlays.slice();for(let i=n.length-1;i>-1;i--){const a=n[i];if(!(a._outsidePointerEvents.observers.length<1)&&a.hasAttached()){if(a.overlayElement.contains(e))break;a._outsidePointerEvents.next(t)}}}}add(t){super.add(t),this._isAttached||(this._document.body.addEventListener("click",this._clickListener,!0),this._document.body.addEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=this._document.body.style.cursor,this._document.body.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("click",this._clickListener,!0),this._document.body.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(this._document.body.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1)}}return t.\u0275fac=function(e){return new(e||t)(a.Xb(s.d),a.Xb(r.a))},t.\u0275prov=Object(a.Jb)({factory:function(){return new t(Object(a.Xb)(s.d),Object(a.Xb)(r.a))},token:t,providedIn:"root"}),t})();const A=!("undefined"==typeof window||!window||!window.__karma__&&!window.jasmine);let I=(()=>{class t{constructor(t,e){this._platform=e,this._document=t}ngOnDestroy(){const t=this._containerElement;t&&t.parentNode&&t.parentNode.removeChild(t)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){if(this._platform.isBrowser||A){const t=this._document.querySelectorAll('.cdk-overlay-container[platform="server"], .cdk-overlay-container[platform="test"]');for(let e=0;e<t.length;e++)t[e].parentNode.removeChild(t[e])}const t=this._document.createElement("div");t.classList.add("cdk-overlay-container"),A?t.setAttribute("platform","test"):this._platform.isBrowser||t.setAttribute("platform","server"),this._document.body.appendChild(t),this._containerElement=t}}return t.\u0275fac=function(e){return new(e||t)(a.Xb(s.d),a.Xb(r.a))},t.\u0275prov=Object(a.Jb)({factory:function(){return new t(Object(a.Xb)(s.d),Object(a.Xb)(r.a))},token:t,providedIn:"root"}),t})();class R{constructor(t,e,n,i,a,r,o,s,l){this._portalOutlet=t,this._host=e,this._pane=n,this._config=i,this._ngZone=a,this._keyboardDispatcher=r,this._document=o,this._location=s,this._outsideClickDispatcher=l,this._backdropElement=null,this._backdropClick=new d.a,this._attachments=new d.a,this._detachments=new d.a,this._locationChanges=u.a.EMPTY,this._backdropClickHandler=t=>this._backdropClick.next(t),this._keydownEvents=new d.a,this._outsidePointerEvents=new d.a,i.scrollStrategy&&(this._scrollStrategy=i.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=i.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(t){let e=this._portalOutlet.attach(t);return!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host),this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe(Object(m.a)(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),e}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const t=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),t}dispose(){const t=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this.detachBackdrop(),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host&&this._host.parentNode&&(this._host.parentNode.removeChild(this._host),this._host=null),this._previousHostParent=this._pane=null,t&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(t){t!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=t,this.hasAttached()&&(t.attach(this),this.updatePosition()))}updateSize(t){this._config=Object.assign(Object.assign({},this._config),t),this._updateElementSize()}setDirection(t){this._config=Object.assign(Object.assign({},this._config),{direction:t}),this._updateElementDirection()}addPanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!0)}removePanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!1)}getDirection(){const t=this._config.direction;return t?"string"==typeof t?t:t.value:"ltr"}updateScrollStrategy(t){t!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=t,this.hasAttached()&&(t.attach(this),t.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const t=this._pane.style;t.width=Object(l.d)(this._config.width),t.height=Object(l.d)(this._config.height),t.minWidth=Object(l.d)(this._config.minWidth),t.minHeight=Object(l.d)(this._config.minHeight),t.maxWidth=Object(l.d)(this._config.maxWidth),t.maxHeight=Object(l.d)(this._config.maxHeight)}_togglePointerEvents(t){this._pane.style.pointerEvents=t?"":"none"}_attachBackdrop(){this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add("cdk-overlay-backdrop-showing")})}):this._backdropElement.classList.add("cdk-overlay-backdrop-showing")}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){let t,e=this._backdropElement;if(!e)return;let n=()=>{e&&(e.removeEventListener("click",this._backdropClickHandler),e.removeEventListener("transitionend",n),e.parentNode&&e.parentNode.removeChild(e)),this._backdropElement==e&&(this._backdropElement=null),this._config.backdropClass&&this._toggleClasses(e,this._config.backdropClass,!1),clearTimeout(t)};e.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{e.addEventListener("transitionend",n)}),e.style.pointerEvents="none",t=this._ngZone.runOutsideAngular(()=>setTimeout(n,500))}_toggleClasses(t,e,n){const i=t.classList;Object(l.b)(e).forEach(t=>{t&&(n?i.add(t):i.remove(t))})}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const t=this._ngZone.onStable.pipe(Object(p.a)(Object(h.a)(this._attachments,this._detachments))).subscribe(()=>{this._pane&&this._host&&0!==this._pane.children.length||(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._previousHostParent.removeChild(this._host)),t.unsubscribe())})})}_disposeScrollStrategy(){const t=this._scrollStrategy;t&&(t.disable(),t.detach&&t.detach())}}const N=/([A-Za-z%]+)$/;class Y{constructor(t,e,n,i,a){this._viewportRuler=e,this._document=n,this._platform=i,this._overlayContainer=a,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new d.a,this._resizeSubscription=u.a.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(t)}get positions(){return this._preferredPositions}attach(t){this._validatePositions(),t.hostElement.classList.add("cdk-overlay-connected-position-bounding-box"),this._overlayRef=t,this._boundingBox=t.hostElement,this._pane=t.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect();const t=this._originRect,e=this._overlayRect,n=this._viewportRect,i=[];let a;for(let r of this._preferredPositions){let o=this._getOriginPoint(t,r),s=this._getOverlayPoint(o,e,r),l=this._getOverlayFit(s,e,n,r);if(l.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(r,o);this._canFitWithFlexibleDimensions(l,s,n)?i.push({position:r,origin:o,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(o,r)}):(!a||a.overlayFit.visibleArea<l.visibleArea)&&(a={overlayFit:l,overlayPoint:s,originPoint:o,position:r,overlayRect:e})}if(i.length){let t=null,e=-1;for(const n of i){const i=n.boundingBoxRect.width*n.boundingBoxRect.height*(n.position.weight||1);i>e&&(e=i,t=n)}return this._isPushed=!1,void this._applyPosition(t.position,t.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(a.position,a.originPoint);this._applyPosition(a.position,a.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&H(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove("cdk-overlay-connected-position-bounding-box"),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(!this._isDisposed&&(!this._platform||this._platform.isBrowser)){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect();const t=this._lastPosition||this._preferredPositions[0],e=this._getOriginPoint(this._originRect,t);this._applyPosition(t,e)}}withScrollableContainers(t){return this._scrollables=t,this}withPositions(t){return this._preferredPositions=t,-1===t.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(t){return this._viewportMargin=t,this}withFlexibleDimensions(t=!0){return this._hasFlexibleDimensions=t,this}withGrowAfterOpen(t=!0){return this._growAfterOpen=t,this}withPush(t=!0){return this._canPush=t,this}withLockedPosition(t=!0){return this._positionLocked=t,this}setOrigin(t){return this._origin=t,this}withDefaultOffsetX(t){return this._offsetX=t,this}withDefaultOffsetY(t){return this._offsetY=t,this}withTransformOriginOn(t){return this._transformOriginSelector=t,this}_getOriginPoint(t,e){let n,i;if("center"==e.originX)n=t.left+t.width/2;else{const i=this._isRtl()?t.right:t.left,a=this._isRtl()?t.left:t.right;n="start"==e.originX?i:a}return i="center"==e.originY?t.top+t.height/2:"top"==e.originY?t.top:t.bottom,{x:n,y:i}}_getOverlayPoint(t,e,n){let i,a;return i="center"==n.overlayX?-e.width/2:"start"===n.overlayX?this._isRtl()?-e.width:0:this._isRtl()?0:-e.width,a="center"==n.overlayY?-e.height/2:"top"==n.overlayY?0:-e.height,{x:t.x+i,y:t.y+a}}_getOverlayFit(t,e,n,i){const a=F(e);let{x:r,y:o}=t,s=this._getOffset(i,"x"),l=this._getOffset(i,"y");s&&(r+=s),l&&(o+=l);let c=0-o,d=o+a.height-n.height,u=this._subtractOverflows(a.width,0-r,r+a.width-n.width),h=this._subtractOverflows(a.height,c,d),m=u*h;return{visibleArea:m,isCompletelyWithinViewport:a.width*a.height===m,fitsInViewportVertically:h===a.height,fitsInViewportHorizontally:u==a.width}}_canFitWithFlexibleDimensions(t,e,n){if(this._hasFlexibleDimensions){const i=n.bottom-e.y,a=n.right-e.x,r=j(this._overlayRef.getConfig().minHeight),o=j(this._overlayRef.getConfig().minWidth),s=t.fitsInViewportHorizontally||null!=o&&o<=a;return(t.fitsInViewportVertically||null!=r&&r<=i)&&s}return!1}_pushOverlayOnScreen(t,e,n){if(this._previousPushAmount&&this._positionLocked)return{x:t.x+this._previousPushAmount.x,y:t.y+this._previousPushAmount.y};const i=F(e),a=this._viewportRect,r=Math.max(t.x+i.width-a.width,0),o=Math.max(t.y+i.height-a.height,0),s=Math.max(a.top-n.top-t.y,0),l=Math.max(a.left-n.left-t.x,0);let c=0,d=0;return c=i.width<=a.width?l||-r:t.x<this._viewportMargin?a.left-n.left-t.x:0,d=i.height<=a.height?s||-o:t.y<this._viewportMargin?a.top-n.top-t.y:0,this._previousPushAmount={x:c,y:d},{x:t.x+c,y:t.y+d}}_applyPosition(t,e){if(this._setTransformOrigin(t),this._setOverlayElementStyles(e,t),this._setBoundingBoxStyles(e,t),t.panelClass&&this._addPanelClasses(t.panelClass),this._lastPosition=t,this._positionChanges.observers.length){const e=this._getScrollVisibility(),n=new P(t,e);this._positionChanges.next(n)}this._isInitialRender=!1}_setTransformOrigin(t){if(!this._transformOriginSelector)return;const e=this._boundingBox.querySelectorAll(this._transformOriginSelector);let n,i=t.overlayY;n="center"===t.overlayX?"center":this._isRtl()?"start"===t.overlayX?"right":"left":"start"===t.overlayX?"left":"right";for(let a=0;a<e.length;a++)e[a].style.transformOrigin=`${n} ${i}`}_calculateBoundingBoxRect(t,e){const n=this._viewportRect,i=this._isRtl();let a,r,o,s,l,c;if("top"===e.overlayY)r=t.y,a=n.height-r+this._viewportMargin;else if("bottom"===e.overlayY)o=n.height-t.y+2*this._viewportMargin,a=n.height-o+this._viewportMargin;else{const e=Math.min(n.bottom-t.y+n.top,t.y),i=this._lastBoundingBoxSize.height;a=2*e,r=t.y-e,a>i&&!this._isInitialRender&&!this._growAfterOpen&&(r=t.y-i/2)}if("end"===e.overlayX&&!i||"start"===e.overlayX&&i)c=n.width-t.x+this._viewportMargin,s=t.x-this._viewportMargin;else if("start"===e.overlayX&&!i||"end"===e.overlayX&&i)l=t.x,s=n.right-t.x;else{const e=Math.min(n.right-t.x+n.left,t.x),i=this._lastBoundingBoxSize.width;s=2*e,l=t.x-e,s>i&&!this._isInitialRender&&!this._growAfterOpen&&(l=t.x-i/2)}return{top:r,left:l,bottom:o,right:c,width:s,height:a}}_setBoundingBoxStyles(t,e){const n=this._calculateBoundingBoxRect(t,e);this._isInitialRender||this._growAfterOpen||(n.height=Math.min(n.height,this._lastBoundingBoxSize.height),n.width=Math.min(n.width,this._lastBoundingBoxSize.width));const i={};if(this._hasExactPosition())i.top=i.left="0",i.bottom=i.right=i.maxHeight=i.maxWidth="",i.width=i.height="100%";else{const t=this._overlayRef.getConfig().maxHeight,a=this._overlayRef.getConfig().maxWidth;i.height=Object(l.d)(n.height),i.top=Object(l.d)(n.top),i.bottom=Object(l.d)(n.bottom),i.width=Object(l.d)(n.width),i.left=Object(l.d)(n.left),i.right=Object(l.d)(n.right),i.alignItems="center"===e.overlayX?"center":"end"===e.overlayX?"flex-end":"flex-start",i.justifyContent="center"===e.overlayY?"center":"bottom"===e.overlayY?"flex-end":"flex-start",t&&(i.maxHeight=Object(l.d)(t)),a&&(i.maxWidth=Object(l.d)(a))}this._lastBoundingBoxSize=n,H(this._boundingBox.style,i)}_resetBoundingBoxStyles(){H(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){H(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(t,e){const n={},i=this._hasExactPosition(),a=this._hasFlexibleDimensions,r=this._overlayRef.getConfig();if(i){const i=this._viewportRuler.getViewportScrollPosition();H(n,this._getExactOverlayY(e,t,i)),H(n,this._getExactOverlayX(e,t,i))}else n.position="static";let o="",s=this._getOffset(e,"x"),c=this._getOffset(e,"y");s&&(o+=`translateX(${s}px) `),c&&(o+=`translateY(${c}px)`),n.transform=o.trim(),r.maxHeight&&(i?n.maxHeight=Object(l.d)(r.maxHeight):a&&(n.maxHeight="")),r.maxWidth&&(i?n.maxWidth=Object(l.d)(r.maxWidth):a&&(n.maxWidth="")),H(this._pane.style,n)}_getExactOverlayY(t,e,n){let i={top:"",bottom:""},a=this._getOverlayPoint(e,this._overlayRect,t);this._isPushed&&(a=this._pushOverlayOnScreen(a,this._overlayRect,n));let r=this._overlayContainer.getContainerElement().getBoundingClientRect().top;return a.y-=r,"bottom"===t.overlayY?i.bottom=this._document.documentElement.clientHeight-(a.y+this._overlayRect.height)+"px":i.top=Object(l.d)(a.y),i}_getExactOverlayX(t,e,n){let i,a={left:"",right:""},r=this._getOverlayPoint(e,this._overlayRect,t);return this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,n)),i=this._isRtl()?"end"===t.overlayX?"left":"right":"end"===t.overlayX?"right":"left","right"===i?a.right=this._document.documentElement.clientWidth-(r.x+this._overlayRect.width)+"px":a.left=Object(l.d)(r.x),a}_getScrollVisibility(){const t=this._getOriginRect(),e=this._pane.getBoundingClientRect(),n=this._scrollables.map(t=>t.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:M(t,n),isOriginOutsideView:x(t,n),isOverlayClipped:M(e,n),isOverlayOutsideView:x(e,n)}}_subtractOverflows(t,...e){return e.reduce((t,e)=>t-Math.max(e,0),t)}_getNarrowedViewportRect(){const t=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,n=this._viewportRuler.getViewportScrollPosition();return{top:n.top+this._viewportMargin,left:n.left+this._viewportMargin,right:n.left+t-this._viewportMargin,bottom:n.top+e-this._viewportMargin,width:t-2*this._viewportMargin,height:e-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(t,e){return"x"===e?null==t.offsetX?this._offsetX:t.offsetX:null==t.offsetY?this._offsetY:t.offsetY}_validatePositions(){}_addPanelClasses(t){this._pane&&Object(l.b)(t).forEach(t=>{""!==t&&-1===this._appliedPanelClasses.indexOf(t)&&(this._appliedPanelClasses.push(t),this._pane.classList.add(t))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(t=>{this._pane.classList.remove(t)}),this._appliedPanelClasses=[])}_getOriginRect(){const t=this._origin;if(t instanceof a.l)return t.nativeElement.getBoundingClientRect();if(t instanceof Element)return t.getBoundingClientRect();const e=t.width||0,n=t.height||0;return{top:t.y,bottom:t.y+n,left:t.x,right:t.x+e,height:n,width:e}}}function H(t,e){for(let n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}function j(t){if("number"!=typeof t&&null!=t){const[e,n]=t.split(N);return n&&"px"!==n?null:parseFloat(e)}return t||null}function F(t){return{top:Math.floor(t.top),right:Math.floor(t.right),bottom:Math.floor(t.bottom),left:Math.floor(t.left),width:Math.floor(t.width),height:Math.floor(t.height)}}class z{constructor(t,e,n,i,a,r,o){this._preferredPositions=[],this._positionStrategy=new Y(n,i,a,r,o).withFlexibleDimensions(!1).withPush(!1).withViewportMargin(0),this.withFallbackPosition(t,e),this.onPositionChange=this._positionStrategy.positionChanges}get positions(){return this._preferredPositions}attach(t){this._overlayRef=t,this._positionStrategy.attach(t),this._direction&&(t.setDirection(this._direction),this._direction=null)}dispose(){this._positionStrategy.dispose()}detach(){this._positionStrategy.detach()}apply(){this._positionStrategy.apply()}recalculateLastPosition(){this._positionStrategy.reapplyLastPosition()}withScrollableContainers(t){this._positionStrategy.withScrollableContainers(t)}withFallbackPosition(t,e,n,i){const a=new T(t,e,n,i);return this._preferredPositions.push(a),this._positionStrategy.withPositions(this._preferredPositions),this}withDirection(t){return this._overlayRef?this._overlayRef.setDirection(t):this._direction=t,this}withOffsetX(t){return this._positionStrategy.withDefaultOffsetX(t),this}withOffsetY(t){return this._positionStrategy.withDefaultOffsetY(t),this}withLockedPosition(t){return this._positionStrategy.withLockedPosition(t),this}withPositions(t){return this._preferredPositions=t.slice(),this._positionStrategy.withPositions(this._preferredPositions),this}setOrigin(t){return this._positionStrategy.setOrigin(t),this}}class V{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._leftOffset="",this._rightOffset="",this._alignItems="",this._justifyContent="",this._width="",this._height=""}attach(t){const e=t.getConfig();this._overlayRef=t,this._width&&!e.width&&t.updateSize({width:this._width}),this._height&&!e.height&&t.updateSize({height:this._height}),t.hostElement.classList.add("cdk-global-overlay-wrapper"),this._isDisposed=!1}top(t=""){return this._bottomOffset="",this._topOffset=t,this._alignItems="flex-start",this}left(t=""){return this._rightOffset="",this._leftOffset=t,this._justifyContent="flex-start",this}bottom(t=""){return this._topOffset="",this._bottomOffset=t,this._alignItems="flex-end",this}right(t=""){return this._leftOffset="",this._rightOffset=t,this._justifyContent="flex-end",this}width(t=""){return this._overlayRef?this._overlayRef.updateSize({width:t}):this._width=t,this}height(t=""){return this._overlayRef?this._overlayRef.updateSize({height:t}):this._height=t,this}centerHorizontally(t=""){return this.left(t),this._justifyContent="center",this}centerVertically(t=""){return this.top(t),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,n=this._overlayRef.getConfig(),{width:i,height:a,maxWidth:r,maxHeight:o}=n,s=!("100%"!==i&&"100vw"!==i||r&&"100%"!==r&&"100vw"!==r),l=!("100%"!==a&&"100vh"!==a||o&&"100%"!==o&&"100vh"!==o);t.position=this._cssPosition,t.marginLeft=s?"0":this._leftOffset,t.marginTop=l?"0":this._topOffset,t.marginBottom=this._bottomOffset,t.marginRight=this._rightOffset,s?e.justifyContent="flex-start":"center"===this._justifyContent?e.justifyContent="center":"rtl"===this._overlayRef.getConfig().direction?"flex-start"===this._justifyContent?e.justifyContent="flex-end":"flex-end"===this._justifyContent&&(e.justifyContent="flex-start"):e.justifyContent=this._justifyContent,e.alignItems=l?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,n=e.style;e.classList.remove("cdk-global-overlay-wrapper"),n.justifyContent=n.alignItems=t.marginTop=t.marginBottom=t.marginLeft=t.marginRight=t.position="",this._overlayRef=null,this._isDisposed=!0}}let B=(()=>{class t{constructor(t,e,n,i){this._viewportRuler=t,this._document=e,this._platform=n,this._overlayContainer=i}global(){return new V}connectedTo(t,e,n){return new z(e,n,t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}flexibleConnectedTo(t){return new Y(t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return t.\u0275fac=function(e){return new(e||t)(a.Xb(i.e),a.Xb(s.d),a.Xb(r.a),a.Xb(I))},t.\u0275prov=Object(a.Jb)({factory:function(){return new t(Object(a.Xb)(i.e),Object(a.Xb)(s.d),Object(a.Xb)(r.a),Object(a.Xb)(I))},token:t,providedIn:"root"}),t})(),W=0,U=(()=>{class t{constructor(t,e,n,i,a,r,o,s,l,c,d){this.scrollStrategies=t,this._overlayContainer=e,this._componentFactoryResolver=n,this._positionBuilder=i,this._keyboardDispatcher=a,this._injector=r,this._ngZone=o,this._document=s,this._directionality=l,this._location=c,this._outsideClickDispatcher=d}create(t){const e=this._createHostElement(),n=this._createPaneElement(e),i=this._createPortalOutlet(n),a=new S(t);return a.direction=a.direction||this._directionality.value,new R(i,e,n,a,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher)}position(){return this._positionBuilder}_createPaneElement(t){const e=this._document.createElement("div");return e.id="cdk-overlay-"+W++,e.classList.add("cdk-overlay-pane"),t.appendChild(e),e}_createHostElement(){const t=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(t),t}_createPortalOutlet(t){return this._appRef||(this._appRef=this._injector.get(a.g)),new c.e(t,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return t.\u0275fac=function(e){return new(e||t)(a.Xb(k),a.Xb(I),a.Xb(a.j),a.Xb(B),a.Xb(D),a.Xb(a.t),a.Xb(a.B),a.Xb(s.d),a.Xb(o.b),a.Xb(s.h),a.Xb(E))},t.\u0275prov=a.Jb({token:t,factory:t.\u0275fac}),t})();const q=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],G=new a.s("cdk-connected-overlay-scroll-strategy");let J=(()=>{class t{constructor(t){this.elementRef=t}}return t.\u0275fac=function(e){return new(e||t)(a.Nb(a.l))},t.\u0275dir=a.Ib({type:t,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]}),t})(),Z=(()=>{class t{constructor(t,e,n,i,r){this._overlay=t,this._dir=r,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=u.a.EMPTY,this._attachSubscription=u.a.EMPTY,this._detachSubscription=u.a.EMPTY,this._positionSubscription=u.a.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new a.o,this.positionChange=new a.o,this.attach=new a.o,this.detach=new a.o,this.overlayKeydown=new a.o,this.overlayOutsideClick=new a.o,this._templatePortal=new c.g(e,n),this._scrollStrategyFactory=i,this.scrollStrategy=this._scrollStrategyFactory()}get offsetX(){return this._offsetX}set offsetX(t){this._offsetX=t,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(t){this._offsetY=t,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(t){this._hasBackdrop=Object(l.c)(t)}get lockPosition(){return this._lockPosition}set lockPosition(t){this._lockPosition=Object(l.c)(t)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(t){this._flexibleDimensions=Object(l.c)(t)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(t){this._growAfterOpen=Object(l.c)(t)}get push(){return this._push}set push(t){this._push=Object(l.c)(t)}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(t){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),t.origin&&this.open&&this._position.apply()),t.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){this.positions&&this.positions.length||(this.positions=q);const t=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=t.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=t.detachments().subscribe(()=>this.detach.emit()),t.keydownEvents().subscribe(t=>{this.overlayKeydown.next(t),t.keyCode!==_.f||this.disableClose||Object(_.r)(t)||(t.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(t=>{this.overlayOutsideClick.next(t)})}_buildConfig(){const t=this._position=this.positionStrategy||this._createPositionStrategy(),e=new S({direction:this._dir,positionStrategy:t,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(e.width=this.width),(this.height||0===this.height)&&(e.height=this.height),(this.minWidth||0===this.minWidth)&&(e.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(e.minHeight=this.minHeight),this.backdropClass&&(e.backdropClass=this.backdropClass),this.panelClass&&(e.panelClass=this.panelClass),e}_updatePositionStrategy(t){const e=this.positions.map(t=>({originX:t.originX,originY:t.originY,overlayX:t.overlayX,overlayY:t.overlayY,offsetX:t.offsetX||this.offsetX,offsetY:t.offsetY||this.offsetY,panelClass:t.panelClass||void 0}));return t.setOrigin(this.origin.elementRef).withPositions(e).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const t=this._overlay.position().flexibleConnectedTo(this.origin.elementRef);return this._updatePositionStrategy(t),t}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(t=>{this.backdropClick.emit(t)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(function(t,e=!1){return n=>n.lift(new g(t,e))}(()=>this.positionChange.observers.length>0)).subscribe(t=>{this.positionChange.emit(t),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(a.Nb(U),a.Nb(a.N),a.Nb(a.R),a.Nb(G),a.Nb(o.b,8))},t.\u0275dir=a.Ib({type:t,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"],positions:["cdkConnectedOverlayPositions","positions"],origin:["cdkConnectedOverlayOrigin","origin"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[a.Ab]}),t})();const $={provide:G,deps:[U],useFactory:function(t){return()=>t.scrollStrategies.reposition()}};let X=(()=>{class t{}return t.\u0275mod=a.Lb({type:t}),t.\u0275inj=a.Kb({factory:function(e){return new(e||t)},providers:[U,$],imports:[[o.a,c.f,i.d],i.d]}),t})()},"1ppg":function(t,e,n){!function(t){"use strict";t.defineLocale("fil",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(t){return t},week:{dow:1,doy:4}})}(n("wd/R"))},"1rYy":function(t,e,n){!function(t){"use strict";t.defineLocale("hy-am",{months:{format:"\u0570\u0578\u0582\u0576\u057e\u0561\u0580\u056b_\u0583\u0565\u057f\u0580\u057e\u0561\u0580\u056b_\u0574\u0561\u0580\u057f\u056b_\u0561\u057a\u0580\u056b\u056c\u056b_\u0574\u0561\u0575\u056b\u057d\u056b_\u0570\u0578\u0582\u0576\u056b\u057d\u056b_\u0570\u0578\u0582\u056c\u056b\u057d\u056b_\u0585\u0563\u0578\u057d\u057f\u0578\u057d\u056b_\u057d\u0565\u057a\u057f\u0565\u0574\u0562\u0565\u0580\u056b_\u0570\u0578\u056f\u057f\u0565\u0574\u0562\u0565\u0580\u056b_\u0576\u0578\u0575\u0565\u0574\u0562\u0565\u0580\u056b_\u0564\u0565\u056f\u057f\u0565\u0574\u0562\u0565\u0580\u056b".split("_"),standalone:"\u0570\u0578\u0582\u0576\u057e\u0561\u0580_\u0583\u0565\u057f\u0580\u057e\u0561\u0580_\u0574\u0561\u0580\u057f_\u0561\u057a\u0580\u056b\u056c_\u0574\u0561\u0575\u056b\u057d_\u0570\u0578\u0582\u0576\u056b\u057d_\u0570\u0578\u0582\u056c\u056b\u057d_\u0585\u0563\u0578\u057d\u057f\u0578\u057d_\u057d\u0565\u057a\u057f\u0565\u0574\u0562\u0565\u0580_\u0570\u0578\u056f\u057f\u0565\u0574\u0562\u0565\u0580_\u0576\u0578\u0575\u0565\u0574\u0562\u0565\u0580_\u0564\u0565\u056f\u057f\u0565\u0574\u0562\u0565\u0580".split("_")},monthsShort:"\u0570\u0576\u057e_\u0583\u057f\u0580_\u0574\u0580\u057f_\u0561\u057a\u0580_\u0574\u0575\u057d_\u0570\u0576\u057d_\u0570\u056c\u057d_\u0585\u0563\u057d_\u057d\u057a\u057f_\u0570\u056f\u057f_\u0576\u0574\u0562_\u0564\u056f\u057f".split("_"),weekdays:"\u056f\u056b\u0580\u0561\u056f\u056b_\u0565\u0580\u056f\u0578\u0582\u0577\u0561\u0562\u0569\u056b_\u0565\u0580\u0565\u0584\u0577\u0561\u0562\u0569\u056b_\u0579\u0578\u0580\u0565\u0584\u0577\u0561\u0562\u0569\u056b_\u0570\u056b\u0576\u0563\u0577\u0561\u0562\u0569\u056b_\u0578\u0582\u0580\u0562\u0561\u0569_\u0577\u0561\u0562\u0561\u0569".split("_"),weekdaysShort:"\u056f\u0580\u056f_\u0565\u0580\u056f_\u0565\u0580\u0584_\u0579\u0580\u0584_\u0570\u0576\u0563_\u0578\u0582\u0580\u0562_\u0577\u0562\u0569".split("_"),weekdaysMin:"\u056f\u0580\u056f_\u0565\u0580\u056f_\u0565\u0580\u0584_\u0579\u0580\u0584_\u0570\u0576\u0563_\u0578\u0582\u0580\u0562_\u0577\u0562\u0569".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0569.",LLL:"D MMMM YYYY \u0569., HH:mm",LLLL:"dddd, D MMMM YYYY \u0569., HH:mm"},calendar:{sameDay:"[\u0561\u0575\u057d\u0585\u0580] LT",nextDay:"[\u057e\u0561\u0572\u0568] LT",lastDay:"[\u0565\u0580\u0565\u056f] LT",nextWeek:function(){return"dddd [\u0585\u0580\u0568 \u056a\u0561\u0574\u0568] LT"},lastWeek:function(){return"[\u0561\u0576\u0581\u0561\u056e] dddd [\u0585\u0580\u0568 \u056a\u0561\u0574\u0568] LT"},sameElse:"L"},relativeTime:{future:"%s \u0570\u0565\u057f\u0578",past:"%s \u0561\u057c\u0561\u057b",s:"\u0574\u056b \u0584\u0561\u0576\u056b \u057e\u0561\u0575\u0580\u056f\u0575\u0561\u0576",ss:"%d \u057e\u0561\u0575\u0580\u056f\u0575\u0561\u0576",m:"\u0580\u0578\u057a\u0565",mm:"%d \u0580\u0578\u057a\u0565",h:"\u056a\u0561\u0574",hh:"%d \u056a\u0561\u0574",d:"\u0585\u0580",dd:"%d \u0585\u0580",M:"\u0561\u0574\u056b\u057d",MM:"%d \u0561\u0574\u056b\u057d",y:"\u057f\u0561\u0580\u056b",yy:"%d \u057f\u0561\u0580\u056b"},meridiemParse:/\u0563\u056b\u0577\u0565\u0580\u057e\u0561|\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561|\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576/,isPM:function(t){return/^(\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576)$/.test(t)},meridiem:function(t){return t<4?"\u0563\u056b\u0577\u0565\u0580\u057e\u0561":t<12?"\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561":t<17?"\u0581\u0565\u0580\u0565\u056f\u057e\u0561":"\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576"},dayOfMonthOrdinalParse:/\d{1,2}|\d{1,2}-(\u056b\u0576|\u0580\u0564)/,ordinal:function(t,e){switch(e){case"DDD":case"w":case"W":case"DDDo":return 1===t?t+"-\u056b\u0576":t+"-\u0580\u0564";default:return t}},week:{dow:1,doy:7}})}(n("wd/R"))},"1uah":function(t,e,n){"use strict";n.d(e,"a",function(){return l});var i=n("yCtX"),a=n("DH7j"),r=n("7o/Q"),o=n("Lhse"),s=n("zx2A");function l(...t){const e=t[t.length-1];return"function"==typeof e&&t.pop(),Object(i.a)(t,void 0).lift(new c(e))}class c{constructor(t){this.resultSelector=t}call(t,e){return e.subscribe(new d(t,this.resultSelector))}}class d extends r.a{constructor(t,e,n=Object.create(null)){super(t),this.resultSelector=e,this.iterators=[],this.active=0,this.resultSelector="function"==typeof e?e:void 0}_next(t){const e=this.iterators;Object(a.a)(t)?e.push(new h(t)):e.push("function"==typeof t[o.a]?new u(t[o.a]()):new m(this.destination,this,t))}_complete(){const t=this.iterators,e=t.length;if(this.unsubscribe(),0!==e){this.active=e;for(let n=0;n<e;n++){let e=t[n];e.stillUnsubscribed?this.destination.add(e.subscribe()):this.active--}}else this.destination.complete()}notifyInactive(){this.active--,0===this.active&&this.destination.complete()}checkIterators(){const t=this.iterators,e=t.length,n=this.destination;for(let r=0;r<e;r++){let e=t[r];if("function"==typeof e.hasValue&&!e.hasValue())return}let i=!1;const a=[];for(let r=0;r<e;r++){let e=t[r],o=e.next();if(e.hasCompleted()&&(i=!0),o.done)return void n.complete();a.push(o.value)}this.resultSelector?this._tryresultSelector(a):n.next(a),i&&n.complete()}_tryresultSelector(t){let e;try{e=this.resultSelector.apply(this,t)}catch(n){return void this.destination.error(n)}this.destination.next(e)}}class u{constructor(t){this.iterator=t,this.nextResult=t.next()}hasValue(){return!0}next(){const t=this.nextResult;return this.nextResult=this.iterator.next(),t}hasCompleted(){const t=this.nextResult;return Boolean(t&&t.done)}}class h{constructor(t){this.array=t,this.index=0,this.length=0,this.length=t.length}[o.a](){return this}next(t){const e=this.index++;return e<this.length?{value:this.array[e],done:!1}:{value:null,done:!0}}hasValue(){return this.array.length>this.index}hasCompleted(){return this.array.length===this.index}}class m extends s.b{constructor(t,e,n){super(t),this.parent=e,this.observable=n,this.stillUnsubscribed=!0,this.buffer=[],this.isComplete=!1}[o.a](){return this}next(){const t=this.buffer;return 0===t.length&&this.isComplete?{value:null,done:!0}:{value:t.shift(),done:!1}}hasValue(){return this.buffer.length>0}hasCompleted(){return 0===this.buffer.length&&this.isComplete}notifyComplete(){this.buffer.length>0?(this.isComplete=!0,this.parent.notifyInactive()):this.destination.complete()}notifyNext(t){this.buffer.push(t),this.parent.checkIterators()}subscribe(){return Object(s.c)(this.observable,new s.a(this))}}},"1xZ4":function(t,e,n){!function(t){"use strict";t.defineLocale("ca",{months:{standalone:"gener_febrer_mar\xe7_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),format:"de gener_de febrer_de mar\xe7_d'abril_de maig_de juny_de juliol_d'agost_de setembre_d'octubre_de novembre_de desembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._mar\xe7_abr._maig_juny_jul._ag._set._oct._nov._des.".split("_"),monthsParseExact:!0,weekdays:"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dt._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dt_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a les] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a les] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:function(){return"[avui a "+(1!==this.hours()?"les":"la")+"] LT"},nextDay:function(){return"[dem\xe0 a "+(1!==this.hours()?"les":"la")+"] LT"},nextWeek:function(){return"dddd [a "+(1!==this.hours()?"les":"la")+"] LT"},lastDay:function(){return"[ahir a "+(1!==this.hours()?"les":"la")+"] LT"},lastWeek:function(){return"[el] dddd [passat a "+(1!==this.hours()?"les":"la")+"] LT"},sameElse:"L"},relativeTime:{future:"d'aqu\xed %s",past:"fa %s",s:"uns segons",ss:"%d segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|\xe8|a)/,ordinal:function(t,e){var n=1===t?"r":2===t?"n":3===t?"r":4===t?"t":"\xe8";return"w"!==e&&"W"!==e||(n="a"),t+n},week:{dow:1,doy:4}})}(n("wd/R"))},"1z/I":function(t,e,n){"use strict";n.d(e,"a",function(){return c}),n.d(e,"b",function(){return u}),n.d(e,"c",function(){return h}),n.d(e,"d",function(){return o}),n.d(e,"e",function(){return d}),n.d(e,"f",function(){return m}),n.d(e,"g",function(){return s});var i=n("8Y7J"),a=n("SVse");class r{attach(t){return this._attachedHost=t,t.attach(this)}detach(){let t=this._attachedHost;null!=t&&(this._attachedHost=null,t.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(t){this._attachedHost=t}}class o extends r{constructor(t,e,n,i){super(),this.component=t,this.viewContainerRef=e,this.injector=n,this.componentFactoryResolver=i}}class s extends r{constructor(t,e,n){super(),this.templateRef=t,this.viewContainerRef=e,this.context=n}get origin(){return this.templateRef.elementRef}attach(t,e=this.context){return this.context=e,super.attach(t)}detach(){return this.context=void 0,super.detach()}}class l extends r{constructor(t){super(),this.element=t instanceof i.l?t.nativeElement:t}}class c{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(t){return t instanceof o?(this._attachedPortal=t,this.attachComponentPortal(t)):t instanceof s?(this._attachedPortal=t,this.attachTemplatePortal(t)):this.attachDomPortal&&t instanceof l?(this._attachedPortal=t,this.attachDomPortal(t)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(t){this._disposeFn=t}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class d extends c{constructor(t,e,n,i,a){super(),this.outletElement=t,this._componentFactoryResolver=e,this._appRef=n,this._defaultInjector=i,this.attachDomPortal=t=>{const e=t.element,n=this._document.createComment("dom-portal");e.parentNode.insertBefore(n,e),this.outletElement.appendChild(e),super.setDisposeFn(()=>{n.parentNode&&n.parentNode.replaceChild(e,n)})},this._document=a}attachComponentPortal(t){const e=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component);let n;return t.viewContainerRef?(n=t.viewContainerRef.createComponent(e,t.viewContainerRef.length,t.injector||t.viewContainerRef.injector),this.setDisposeFn(()=>n.destroy())):(n=e.create(t.injector||this._defaultInjector),this._appRef.attachView(n.hostView),this.setDisposeFn(()=>{this._appRef.detachView(n.hostView),n.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(n)),n}attachTemplatePortal(t){let e=t.viewContainerRef,n=e.createEmbeddedView(t.templateRef,t.context);return n.rootNodes.forEach(t=>this.outletElement.appendChild(t)),n.detectChanges(),this.setDisposeFn(()=>{let t=e.indexOf(n);-1!==t&&e.remove(t)}),n}dispose(){super.dispose(),null!=this.outletElement.parentNode&&this.outletElement.parentNode.removeChild(this.outletElement)}_getComponentRootNode(t){return t.hostView.rootNodes[0]}}let u=(()=>{class t extends s{constructor(t,e){super(t,e)}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.N),i.Nb(i.R))},t.\u0275dir=i.Ib({type:t,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[i.zb]}),t})(),h=(()=>{class t extends c{constructor(t,e,n){super(),this._componentFactoryResolver=t,this._viewContainerRef=e,this._isInitialized=!1,this.attached=new i.o,this.attachDomPortal=t=>{const e=t.element,n=this._document.createComment("dom-portal");t.setAttachedHost(this),e.parentNode.insertBefore(n,e),this._getRootNode().appendChild(e),super.setDisposeFn(()=>{n.parentNode&&n.parentNode.replaceChild(e,n)})},this._document=n}get portal(){return this._attachedPortal}set portal(t){(!this.hasAttached()||t||this._isInitialized)&&(this.hasAttached()&&super.detach(),t&&super.attach(t),this._attachedPortal=t)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedPortal=null,this._attachedRef=null}attachComponentPortal(t){t.setAttachedHost(this);const e=null!=t.viewContainerRef?t.viewContainerRef:this._viewContainerRef,n=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component),i=e.createComponent(n,e.length,t.injector||e.injector);return e!==this._viewContainerRef&&this._getRootNode().appendChild(i.hostView.rootNodes[0]),super.setDisposeFn(()=>i.destroy()),this._attachedPortal=t,this._attachedRef=i,this.attached.emit(i),i}attachTemplatePortal(t){t.setAttachedHost(this);const e=this._viewContainerRef.createEmbeddedView(t.templateRef,t.context);return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=t,this._attachedRef=e,this.attached.emit(e),e}_getRootNode(){const t=this._viewContainerRef.element.nativeElement;return t.nodeType===t.ELEMENT_NODE?t:t.parentNode}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.j),i.Nb(i.R),i.Nb(a.d))},t.\u0275dir=i.Ib({type:t,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[i.zb]}),t})(),m=(()=>{class t{}return t.\u0275mod=i.Lb({type:t}),t.\u0275inj=i.Kb({factory:function(e){return new(e||t)}}),t})()},"2QA8":function(t,e,n){"use strict";n.d(e,"a",function(){return i});const i=(()=>"function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random())()},"2Vo4":function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("XNiG"),a=n("9ppp");class r extends i.a{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){const e=super._subscribe(t);return e&&!e.closed&&t.next(this._value),e}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new a.a;return this._value}next(t){super.next(this._value=t)}}},"2XGR":function(t,e,n){"use strict";n.d(e,"a",function(){return i});var i=function(t){return t.EN_COURS="EN_COURS",t.VALIDE="VALIDE",t.REFUSE="REFUSE",t}({})},"2axB":function(t,e,n){"use strict";n.d(e,"a",function(){return y});var i=n("v/fa"),a=n("8Y7J"),r=n("TSSN"),o=n("zaPX"),s=n("s7LF"),l=n("SVse"),c=n("Q2Ze"),d=n("e6WT"),u=n("q6Qu"),h=n("Z0nv");function m(t,e){1&t&&(a.Tb(0,"mat-error"),a.Hc(1),a.gc(2,"translate"),a.Sb()),2&t&&(a.Cb(1),a.Jc(" ",a.hc(2,1,"common.error.requis")," "))}function p(t,e){1&t&&(a.Tb(0,"mat-error"),a.Hc(1),a.gc(2,"translate"),a.Sb()),2&t&&(a.Cb(1),a.Jc(" ",a.hc(2,1,"common.error.length")," "))}function f(t,e){if(1&t&&(a.Rb(0),a.Tb(1,"mat-form-field",3),a.Ob(2,"input",4),a.Fc(3,m,3,3,"mat-error",5),a.Fc(4,p,3,3,"mat-error",5),a.Sb(),a.Qb()),2&t){const t=a.fc();a.Cb(2),a.nc("required",t.isRequired),a.Cb(1),a.nc("ngIf",t.doesControlHaveError("nom","required")),a.Cb(1),a.nc("ngIf",t.doesControlHaveError("nom","maxlength"))}}function g(t,e){1&t&&(a.Tb(0,"mat-error"),a.Hc(1),a.gc(2,"translate"),a.Sb()),2&t&&(a.Cb(1),a.Jc(" ",a.hc(2,1,"common.error.requis")," "))}function b(t,e){1&t&&(a.Tb(0,"mat-error"),a.Hc(1),a.gc(2,"translate"),a.Sb()),2&t&&(a.Cb(1),a.Jc(" ",a.hc(2,1,"common.error.length")," "))}function _(t,e){if(1&t){const t=a.Ub();a.Tb(0,"app-salarie-autocomplete-2",6),a.bc("selectionChanged",function(e){return a.yc(t),a.fc().onPersonChange(e)}),a.Fc(1,g,3,3,"mat-error",5),a.Fc(2,b,3,3,"mat-error",5),a.Sb()}if(2&t){const t=a.fc();a.nc("name","salarie")("inputTitle","common.nom")("isRequired",t.isRequired)("formControl",t.nomCtrl),a.Cb(1),a.nc("ngIf",t.doesControlHaveError("nom","required")),a.Cb(1),a.nc("ngIf",t.doesControlHaveError("nom","maxlength"))}}let y=(()=>{class t extends i.a{constructor(t,e){super(t),this.translateService=t,this.configSharedService=e,this.countries=[]}set parentForm(t){this.form=t}load(){this.countries=this.configSharedService.countries}onPersonChange(t){t&&(this.form.parent.patchValue({sexe:t.sexe,nationalite:this.getCountry(t.nationalite),adresse:{adresse:t.adresse,pays:this.getCountry(t.pays),cp:t.cp,ville:t.ville,complementAdresse:t.complementAdresse},paysSecu:this.getCountry(t.paysSecu),emploi:t.emploi,qualification:t.qualification,salaire:t.salaire,salaireSpecifique:t.salaireSpecifique,dateContrat:t.dateContrat,identite:{nom:t.nom,prenom:t.prenom,dateNaissance:t.dateNaissance,villeNaissance:t.villeNaissance,paysNaissance:this.getCountry(t.paysNaissance)}}),t.salaireSpecifique?this.form.parent.get("salaire").disable():this.form.parent.get("salaire").enable())}getCountry(t){return this.countries.find(e=>e.code===t)}get nomCtrl(){return this.form.get("nom")}}return t.\u0275fac=function(e){return new(e||t)(a.Nb(r.d),a.Nb(o.a))},t.\u0275cmp=a.Hb({type:t,selectors:[["app-salarie-2"]],inputs:{isAutocompleteDisabled:"isAutocompleteDisabled",parentForm:"parentForm",isRequired:"isRequired"},features:[a.zb],decls:4,vars:3,consts:[[3,"formGroup"],[4,"ngIf","ngIfElse"],["autocompleteComponent",""],[1,"full-width"],["matInput","","data-cy","nom","type","text","appLabel","common.nom","name","'salarie'","formControlName","nom",3,"required"],[4,"ngIf"],["formControlName","nom",1,"inline-item",3,"name","inputTitle","isRequired","formControl","selectionChanged"]],template:function(t,e){if(1&t&&(a.Tb(0,"form",0),a.Fc(1,f,5,3,"ng-container",1),a.Fc(2,_,3,6,"ng-template",null,2,a.Gc),a.Sb()),2&t){const t=a.vc(3);a.nc("formGroup",e.form),a.Cb(1),a.nc("ngIf",e.isAutocompleteDisabled)("ngIfElse",t)}},directives:[s.x,s.p,s.i,l.l,c.c,d.b,s.c,u.a,s.o,s.g,s.v,c.b,h.a,s.f],pipes:[r.c],styles:[".full-width[_ngcontent-%COMP%]{width:100%}"]}),t})()},"2fFW":function(t,e,n){"use strict";n.d(e,"a",function(){return a});let i=!1;const a={Promise:void 0,set useDeprecatedSynchronousErrorHandling(t){if(t){const t=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+t.stack)}else i&&console.log("RxJS: Back to a better error behavior. Thank you. <3");i=t},get useDeprecatedSynchronousErrorHandling(){return i}}},"2fjn":function(t,e,n){!function(t){"use strict";t.defineLocale("fr-ca",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(t,e){switch(e){default:case"M":case"Q":case"D":case"DDD":case"d":return t+(1===t?"er":"e");case"w":case"W":return t+(1===t?"re":"e")}}})}(n("wd/R"))},"2ykv":function(t,e,n){!function(t){"use strict";var e="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),n="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),i=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],a=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;t.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(t,i){return t?/-MMM-/.test(i)?n[t.month()]:e[t.month()]:e},monthsRegex:a,monthsShortRegex:a,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"\xe9\xe9n minuut",mm:"%d minuten",h:"\xe9\xe9n uur",hh:"%d uur",d:"\xe9\xe9n dag",dd:"%d dagen",M:"\xe9\xe9n maand",MM:"%d maanden",y:"\xe9\xe9n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(t){return t+(1===t||8===t||t>=20?"ste":"de")},week:{dow:1,doy:4}})}(n("wd/R"))},"3+fm":function(t,e,n){"use strict";n.r(e),n.d(e,"CompteModule",function(){return D});var i=n("SVse"),a=n("PCNd"),r=n("iInd"),o=n("cp0P"),s=n("lJxs"),l=n("fqiG"),c=n("8Y7J"),d=n("f4AX"),u=n("cv7C"),h=n("bKjt"),m=n("zaPX"),p=n("s7LF");let f=(()=>{class t{constructor(t,e,n,i,a){this.userService=t,this.langueService=e,this.countryService=n,this.configSharedService=i,this.fb=a}resolve(){return Object(o.a)([this.userService.getUser(),this.langueService.getLangues(),this.countryService.getCountries()]).pipe(Object(s.a)(([t,e,n])=>(this.configSharedService.setlangues(e),this.configSharedService.setCountries(n),this.configSharedService.setForm(new l.a(this.fb,t,n,!0,!0).build()),t)))}}return t.\u0275fac=function(e){return new(e||t)(c.Xb(d.a),c.Xb(u.a),c.Xb(h.a),c.Xb(m.a),c.Xb(p.d))},t.\u0275prov=c.Jb({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();var g=n("IGtN"),b=n("zfSa"),_=n("NlNA"),y=n("TSSN"),v=n("qh/L"),C=n("jKJn"),w=n("M9ds"),x=n("PDjf"),M=n("4dBv"),O=n("Dxy4"),k=n("q6Qu"),S=n("RQKg"),T=n("Dwoe");let P=(()=>{class t extends g.a{constructor(t,e,n,i,a,r,o){super(t),this.translateService=t,this.router=e,this.route=n,this.userService=i,this.sessionService=a,this.alertService=r,this.configSharedService=o,this.editCompteForm=new p.h({})}get roleLabel(){const t=this.currentUser.role;if(!t)return"";switch(t){case b.a.MANDATAIRE:return"compte.type.mandataire";case b.a.ENTREPRISE:return"compte.type.entreprise";case b.a.DONNEUR_ORDRE:return"compte.type.ordre";default:return""}}load(){this.currentUser=this.route.snapshot.data.currentUser,this.editCompteForm=this.configSharedService.form}submitUser(){this.subscriptions.push(this.userService.updateUser(this.userMapper()).subscribe(t=>{this.sessionService.sendRefreshToken().subscribe(t=>{this.alertService.notifyByKey("compte.edit.done")})}))}getSubmitPasswordFn(){return(t="",e="")=>{this.currentUser&&this.subscriptions.push(this.userService.editPassword(e,t).subscribe(t=>{this.alertService.notifyByKey(t&&t.errorCode&&t.errorCode.length>0?"BAD_CREDENTIALS"===t.errorCode?"password.error.mauvais.identifiants":"common.error.interne":"password.edit.done")}))}}back(){this.router.navigate(["/"])}userMapper(){const t=new _.a(this.editCompteForm.getRawValue());t.role=this.currentUser.role,t.entreprise.adresse.pays=this.editCompteForm.get("entreprise").get("adresse").get("pays").value.code;const e=this.editCompteForm.get("entreprise").get("dirigeant").get("paysNaissance").value;return e&&(t.entreprise.dirigeant.paysNaissance=e.code),t}}return t.\u0275fac=function(e){return new(e||t)(c.Nb(y.d),c.Nb(r.f),c.Nb(r.a),c.Nb(d.a),c.Nb(v.a),c.Nb(C.a),c.Nb(m.a))},t.\u0275cmp=c.Hb({type:t,selectors:[["app-compte-tabs"]],features:[c.zb],decls:22,vars:20,consts:[["id","compte"],[3,"label"],[1,"content"],["name","editCompte",3,"userRole","compteForm"],[1,"actions"],["mat-raised-button","","color","primary","type","button","aria-label","submit","appLabel","compte.edit.submit",3,"disabled","click"],[1,"separator"],["mat-raised-button","","color","warn","type","button","aria-label","cancel","appLabel","common.annuler",3,"click"],["titre","password.edit.titre",3,"onSubmit"],[3,"roleLabel"]],template:function(t,e){1&t&&(c.Tb(0,"div",0),c.Tb(1,"mat-tab-group"),c.Tb(2,"mat-tab",1),c.gc(3,"translate"),c.Tb(4,"div",2),c.Tb(5,"h1"),c.Hc(6),c.gc(7,"translate"),c.gc(8,"translate"),c.Sb(),c.Tb(9,"mat-card"),c.Tb(10,"mat-card-content"),c.Ob(11,"app-edit-compte",3),c.Tb(12,"div",4),c.Tb(13,"button",5),c.bc("click",function(){return e.submitUser()}),c.Sb(),c.Ob(14,"div",6),c.Tb(15,"button",7),c.bc("click",function(){return e.back()}),c.Sb(),c.Sb(),c.Sb(),c.Sb(),c.Sb(),c.Sb(),c.Tb(16,"mat-tab",1),c.gc(17,"translate"),c.Ob(18,"app-edit-password",8),c.Sb(),c.Tb(19,"mat-tab",1),c.gc(20,"translate"),c.Ob(21,"app-delete-compte",9),c.Sb(),c.Sb(),c.Sb()),2&t&&(c.Cb(2),c.oc("label",c.hc(3,10,"compte.update.titre")),c.Cb(4),c.Kc(" ",c.hc(7,12,"compte.edit.titre")," ",c.hc(8,14,e.roleLabel)," "),c.Cb(5),c.nc("userRole",e.currentUser.role)("compteForm",e.editCompteForm),c.Cb(2),c.nc("disabled",e.editCompteForm.invalid),c.Cb(3),c.oc("label",c.hc(17,16,"password.edit.titre")),c.Cb(2),c.nc("onSubmit",e.getSubmitPasswordFn()),c.Cb(1),c.oc("label",c.hc(20,18,"compte.delete.titre")),c.Cb(2),c.nc("roleLabel",e.roleLabel))},directives:[w.c,w.a,x.a,x.b,M.a,O.a,k.a,S.a,T.a],pipes:[y.c],styles:["#compte[_ngcontent-%COMP%] div.mat-tab-label{width:50%}#compte[_ngcontent-%COMP%] .actions[_ngcontent-%COMP%]{display:-ms-flexbox;display:flex;padding-top:16px}#compte[_ngcontent-%COMP%] .actions[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{-ms-flex:1;flex:1}#compte[_ngcontent-%COMP%] .actions[_ngcontent-%COMP%] .separator[_ngcontent-%COMP%]{width:50px}"]}),t})(),L=(()=>{class t{}return t.\u0275mod=c.Lb({type:t}),t.\u0275inj=c.Kb({factory:function(e){return new(e||t)},imports:[[r.j.forChild([{path:"",component:P,resolve:{currentUser:f}}])],r.j]}),t})(),D=(()=>{class t{}return t.\u0275mod=c.Lb({type:t}),t.\u0275inj=c.Kb({factory:function(e){return new(e||t)},imports:[[i.c,a.a,L]]}),t})()},"3E0/":function(t,e,n){"use strict";n.d(e,"a",function(){return o});var i=n("D0XW"),a=n("7o/Q"),r=n("WMd4");function o(t,e=i.a){var n;const a=(n=t)instanceof Date&&!isNaN(+n)?+t-e.now():Math.abs(t);return t=>t.lift(new s(a,e))}class s{constructor(t,e){this.delay=t,this.scheduler=e}call(t,e){return e.subscribe(new l(t,this.delay,this.scheduler))}}class l extends a.a{constructor(t,e,n){super(t),this.delay=e,this.scheduler=n,this.queue=[],this.active=!1,this.errored=!1}static dispatch(t){const e=t.source,n=e.queue,i=t.scheduler,a=t.destination;for(;n.length>0&&n[0].time-i.now()<=0;)n.shift().notification.observe(a);if(n.length>0){const e=Math.max(0,n[0].time-i.now());this.schedule(t,e)}else this.unsubscribe(),e.active=!1}_schedule(t){this.active=!0,this.destination.add(t.schedule(l.dispatch,this.delay,{source:this,destination:this.destination,scheduler:t}))}scheduleNotification(t){if(!0===this.errored)return;const e=this.scheduler,n=new c(e.now()+this.delay,t);this.queue.push(n),!1===this.active&&this._schedule(e)}_next(t){this.scheduleNotification(r.a.createNext(t))}_error(t){this.errored=!0,this.queue=[],this.destination.error(t),this.unsubscribe()}_complete(){this.scheduleNotification(r.a.createComplete()),this.unsubscribe()}}class c{constructor(t,e){this.time=t,this.notification=e}}},"3E1r":function(t,e,n){!function(t){"use strict";var e={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},n={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"},i=[/^\u091c\u0928/i,/^\u092b\u093c\u0930|\u092b\u0930/i,/^\u092e\u093e\u0930\u094d\u091a/i,/^\u0905\u092a\u094d\u0930\u0948/i,/^\u092e\u0908/i,/^\u091c\u0942\u0928/i,/^\u091c\u0941\u0932/i,/^\u0905\u0917/i,/^\u0938\u093f\u0924\u0902|\u0938\u093f\u0924/i,/^\u0905\u0915\u094d\u091f\u0942/i,/^\u0928\u0935|\u0928\u0935\u0902/i,/^\u0926\u093f\u0938\u0902|\u0926\u093f\u0938/i];t.defineLocale("hi",{months:{format:"\u091c\u0928\u0935\u0930\u0940_\u092b\u093c\u0930\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948\u0932_\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0938\u094d\u0924_\u0938\u093f\u0924\u092e\u094d\u092c\u0930_\u0905\u0915\u094d\u091f\u0942\u092c\u0930_\u0928\u0935\u092e\u094d\u092c\u0930_\u0926\u093f\u0938\u092e\u094d\u092c\u0930".split("_"),standalone:"\u091c\u0928\u0935\u0930\u0940_\u092b\u0930\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948\u0932_\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0938\u094d\u0924_\u0938\u093f\u0924\u0902\u092c\u0930_\u0905\u0915\u094d\u091f\u0942\u092c\u0930_\u0928\u0935\u0902\u092c\u0930_\u0926\u093f\u0938\u0902\u092c\u0930".split("_")},monthsShort:"\u091c\u0928._\u092b\u093c\u0930._\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948._\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932._\u0905\u0917._\u0938\u093f\u0924._\u0905\u0915\u094d\u091f\u0942._\u0928\u0935._\u0926\u093f\u0938.".split("_"),weekdays:"\u0930\u0935\u093f\u0935\u093e\u0930_\u0938\u094b\u092e\u0935\u093e\u0930_\u092e\u0902\u0917\u0932\u0935\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u0917\u0941\u0930\u0942\u0935\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u0935\u093e\u0930_\u0936\u0928\u093f\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0930\u0935\u093f_\u0938\u094b\u092e_\u092e\u0902\u0917\u0932_\u092c\u0941\u0927_\u0917\u0941\u0930\u0942_\u0936\u0941\u0915\u094d\u0930_\u0936\u0928\u093f".split("_"),weekdaysMin:"\u0930_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u0917\u0941_\u0936\u0941_\u0936".split("_"),longDateFormat:{LT:"A h:mm \u092c\u091c\u0947",LTS:"A h:mm:ss \u092c\u091c\u0947",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u092c\u091c\u0947",LLLL:"dddd, D MMMM YYYY, A h:mm \u092c\u091c\u0947"},monthsParse:i,longMonthsParse:i,shortMonthsParse:[/^\u091c\u0928/i,/^\u092b\u093c\u0930/i,/^\u092e\u093e\u0930\u094d\u091a/i,/^\u0905\u092a\u094d\u0930\u0948/i,/^\u092e\u0908/i,/^\u091c\u0942\u0928/i,/^\u091c\u0941\u0932/i,/^\u0905\u0917/i,/^\u0938\u093f\u0924/i,/^\u0905\u0915\u094d\u091f\u0942/i,/^\u0928\u0935/i,/^\u0926\u093f\u0938/i],monthsRegex:/^(\u091c\u0928\u0935\u0930\u0940|\u091c\u0928\.?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908|\u091c\u0941\u0932\.?|\u0905\u0917\u0938\u094d\u0924|\u0905\u0917\.?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930|\u0928\u0935\.?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930|\u0926\u093f\u0938\.?)/i,monthsShortRegex:/^(\u091c\u0928\u0935\u0930\u0940|\u091c\u0928\.?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908|\u091c\u0941\u0932\.?|\u0905\u0917\u0938\u094d\u0924|\u0905\u0917\.?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930|\u0928\u0935\.?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930|\u0926\u093f\u0938\.?)/i,monthsStrictRegex:/^(\u091c\u0928\u0935\u0930\u0940?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908?|\u0905\u0917\u0938\u094d\u0924?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924?\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930?)/i,monthsShortStrictRegex:/^(\u091c\u0928\.?|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\.?|\u0905\u0917\.?|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\.?|\u0926\u093f\u0938\.?)/i,calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u0915\u0932] LT",nextWeek:"dddd, LT",lastDay:"[\u0915\u0932] LT",lastWeek:"[\u092a\u093f\u091b\u0932\u0947] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u092e\u0947\u0902",past:"%s \u092a\u0939\u0932\u0947",s:"\u0915\u0941\u091b \u0939\u0940 \u0915\u094d\u0937\u0923",ss:"%d \u0938\u0947\u0915\u0902\u0921",m:"\u090f\u0915 \u092e\u093f\u0928\u091f",mm:"%d \u092e\u093f\u0928\u091f",h:"\u090f\u0915 \u0918\u0902\u091f\u093e",hh:"%d \u0918\u0902\u091f\u0947",d:"\u090f\u0915 \u0926\u093f\u0928",dd:"%d \u0926\u093f\u0928",M:"\u090f\u0915 \u092e\u0939\u0940\u0928\u0947",MM:"%d \u092e\u0939\u0940\u0928\u0947",y:"\u090f\u0915 \u0935\u0930\u094d\u0937",yy:"%d \u0935\u0930\u094d\u0937"},preparse:function(t){return t.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(t){return n[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},meridiemParse:/\u0930\u093e\u0924|\u0938\u0941\u092c\u0939|\u0926\u094b\u092a\u0939\u0930|\u0936\u093e\u092e/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u0930\u093e\u0924"===e?t<4?t:t+12:"\u0938\u0941\u092c\u0939"===e?t:"\u0926\u094b\u092a\u0939\u0930"===e?t>=10?t:t+12:"\u0936\u093e\u092e"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"\u0930\u093e\u0924":t<10?"\u0938\u0941\u092c\u0939":t<17?"\u0926\u094b\u092a\u0939\u0930":t<20?"\u0936\u093e\u092e":"\u0930\u093e\u0924"},week:{dow:0,doy:6}})}(n("wd/R"))},"3EFq":function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("Qaas"),a=n("j9Ql");class r{constructor({siret:t=null,raisonSociale:e=null,adresse:n={},telephone:r=null,email:o=null,status:s=null,numTVA:l=null,registre:c=null,reference:d=null,dirigeant:u={},noTVA:h=!1,organisme:m=null,transporteur:p=null,codeNaf:f=null}){this.siret=t,this.raisonSociale=e,this.adresse=new i.a(n),this.telephone=r,this.email=o,this.status=s,this.numTVA=l,this.registre=c,this.reference=d,this.dirigeant=new a.a(u),this.noTVA=h,this.organisme=m,this.transporteur=p,this.codeNaf=f}getForPost(){return Object.assign(Object.assign({},this),{address:this.adresse.getForPost(),manager:this.dirigeant.getForPost()})}}},"3N8a":function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("quSY");class a extends i.a{constructor(t,e){super()}schedule(t,e=0){return this}}class r extends a{constructor(t,e){super(t,e),this.scheduler=t,this.work=e,this.pending=!1}schedule(t,e=0){if(this.closed)return this;this.state=t;const n=this.id,i=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(i,n,e)),this.pending=!0,this.delay=e,this.id=this.id||this.requestAsyncId(i,this.id,e),this}requestAsyncId(t,e,n=0){return setInterval(t.flush.bind(t,this),n)}recycleAsyncId(t,e,n=0){if(null!==n&&this.delay===n&&!1===this.pending)return e;clearInterval(e)}execute(t,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const n=this._execute(t,e);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,e){let n,i=!1;try{this.work(t)}catch(a){i=!0,n=!!a&&a||new Error(a)}if(i)return this.unsubscribe(),n}_unsubscribe(){const t=this.id,e=this.scheduler,n=e.actions,i=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==i&&n.splice(i,1),null!=t&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null}}},"3UWI":function(t,e,n){"use strict";n.d(e,"a",function(){return l});var i=n("D0XW"),a=n("zx2A");class r{constructor(t){this.durationSelector=t}call(t,e){return e.subscribe(new o(t,this.durationSelector))}}class o extends a.b{constructor(t,e){super(t),this.durationSelector=e,this.hasValue=!1}_next(t){if(this.value=t,this.hasValue=!0,!this.throttled){let n;try{const{durationSelector:e}=this;n=e(t)}catch(e){return this.destination.error(e)}const i=Object(a.c)(n,new a.a(this));!i||i.closed?this.clearThrottle():this.add(this.throttled=i)}}clearThrottle(){const{value:t,hasValue:e,throttled:n}=this;n&&(this.remove(n),this.throttled=void 0,n.unsubscribe()),e&&(this.value=void 0,this.hasValue=!1,this.destination.next(t))}notifyNext(){this.clearThrottle()}notifyComplete(){this.clearThrottle()}}var s=n("PqYM");function l(t,e=i.a){return n=()=>Object(s.a)(t,e),function(t){return t.lift(new r(n))};var n}},"3wrD":function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("8Y7J"),a=n("ZFy/");let r=(()=>{class t{constructor(t){this.changeDetectorRef=t}set label(t){this._label=t,this.changeDetectorRef.markForCheck()}get label(){return this._label}set info(t){this._info=t,this.changeDetectorRef.markForCheck()}get info(){return this._info}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.h))},t.\u0275cmp=i.Hb({type:t,selectors:[["app-button-info"]],inputs:{label:"label",info:"info"},decls:2,vars:2,consts:[["matTooltipClass","app-infobulle-tooltip",3,"matTooltip"]],template:function(t,e){1&t&&(i.Tb(0,"div",0),i.Hc(1),i.Sb()),2&t&&(i.nc("matTooltip",e.info),i.Cb(1),i.Ic(e.label))},directives:[a.c],styles:["\n .app-infobulle-tooltip {\n font-size: 0.75em;\n text-align: center;\n }"],encapsulation:2,changeDetection:0}),t})()},"48lP":function(t,e,n){"use strict";n.d(e,"a",function(){return T});var i=n("8Y7J"),a=n("v/fa"),r=n("ePOw"),o=n("Qaas"),s=n("TSSN"),l=n("zaPX"),c=n("s7LF"),d=n("SVse"),u=n("VjMq"),h=n("VM/L"),m=n("pSGz"),p=n("Q2Ze"),f=n("e6WT"),g=n("q6Qu"),b=n("mSn9");function _(t,e){if(1&t&&i.Ob(0,"app-collectif-2",8),2&t){const t=i.fc();i.nc("formGp",t.form)("isAutocompleteDisabled",t.isAutocompleteDisabled)("isRequired",t.isRequired)}}function y(t,e){1&t&&(i.Tb(0,"mat-error"),i.Hc(1),i.gc(2,"translate"),i.Sb()),2&t&&(i.Cb(1),i.Jc(" ",i.hc(2,1,"common.error.requis")," "))}function v(t,e){if(1&t){const t=i.Ub();i.Tb(0,"app-country-autocomplete-2",9),i.bc("selectionChanged",function(e){return i.yc(t),i.fc().onCountryChange(e)}),i.Fc(1,y,3,3,"mat-error",6),i.Sb()}if(2&t){const t=i.fc();i.nc("countryCtrl",t.countryCtrl)("inputTitle","common.pays")("isRequired",t.isRequired)("showFR",t.showFR),i.Cb(1),i.nc("ngIf",t.doesControlHaveError("pays","required"))}}function C(t,e){1&t&&i.Ob(0,"div",10)}function w(t,e){1&t&&(i.Tb(0,"mat-error"),i.Hc(1),i.gc(2,"translate"),i.Sb()),2&t&&(i.Cb(1),i.Jc(" ",i.hc(2,1,"common.error.length")," "))}function x(t,e){if(1&t&&(i.Tb(0,"mat-form-field"),i.Tb(1,"textarea",11),i.Hc(2," "),i.Sb(),i.Fc(3,w,3,3,"mat-error",6),i.Sb()),2&t){const t=i.fc();i.Cb(3),i.nc("ngIf",t.doesControlHaveError("complementAdresse","maxlength"))}}function M(t,e){1&t&&(i.Tb(0,"mat-error"),i.Hc(1),i.gc(2,"translate"),i.Sb()),2&t&&(i.Cb(1),i.Ic(i.hc(2,1,"common.error.requis")))}function O(t,e){1&t&&(i.Tb(0,"mat-error"),i.Hc(1),i.gc(2,"translate"),i.Sb()),2&t&&(i.Cb(1),i.Jc(" ",i.hc(2,1,"common.error.requis")," "))}function k(t,e){if(1&t&&(i.Tb(0,"div",2),i.Tb(1,"mat-form-field"),i.Ob(2,"input",12),i.Fc(3,M,3,3,"mat-error",6),i.Sb(),i.Ob(4,"div",10),i.Tb(5,"mat-form-field"),i.Ob(6,"input",13),i.Fc(7,O,3,3,"mat-error",6),i.Sb(),i.Sb()),2&t){const t=i.fc();i.Cb(3),i.nc("ngIf",t.doesControlHaveError("latitude","required")),i.Cb(4),i.nc("ngIf",t.doesControlHaveError("longitude","required"))}}function S(t,e){if(1&t){const t=i.Ub();i.Tb(0,"div"),i.Tb(1,"p"),i.Tb(2,"i"),i.Hc(3),i.gc(4,"translate"),i.Sb(),i.Sb(),i.Tb(5,"app-map",14),i.bc("fetchAddress",function(e){return i.yc(t),i.fc().onMapChangeAddress(e)}),i.Sb(),i.Sb()}if(2&t){const t=i.fc();i.Cb(3),i.Ic(i.hc(4,3,"common.info.map")),i.Cb(2),i.nc("address",t.addressForMap)("readonly",t.isCompletionMode)}}let T=(()=>{class t extends a.a{constructor(t,e){super(t),this.translateService=t,this.configSharedService=e,this.showCoords=!1,this.showCountry=!0,this.showAddress=!0,this.showFR=!0,this.isCompletionMode=!1,this.countryChangeEvent=new i.o}set formGp(t){this.form=t}load(){this.countries=this.configSharedService.countries}get cp(){return this.form.get("cp").value}get city(){return this.form.get("ville").value}get isCountryFrance(){return!!this.countryCtrl.value&&"FR"===this.countryCtrl.value.code}get countryCtrl(){return this.form.get("pays")}get latitude(){return this.form.get("latitude").value}get longitude(){return this.form.get("longitude").value}get addressForMap(){return new o.a({cp:this.cp,ville:this.city,coordonnees:{latitude:this.latitude,longitude:this.longitude},type:r.a.COORDONNEES})}onCountryChange(t){let e={pays:t};t&&"FR"===t.code&&(e=Object.assign(Object.assign({},e),{cp:null,city:null})),this.form.patchValue(e),this.countryChangeEvent.emit(t)}onMapChangeAddress(t){this.form.patchValue(Object.assign(Object.assign({},t),{pays:this.countries.find(t=>"FR"===t.code),latitude:t.coordonnees.latitude,longitude:t.coordonnees.longitude}))}get areCoordinatesDisplayed(){return this.showCoords&&!!this.cp&&!!this.city}get isCollectifAutocompleteDisabled(){return this._isCollectifAutocompleteDisabled}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(s.d),i.Nb(l.a))},t.\u0275cmp=i.Hb({type:t,selectors:[["app-address-form-2"]],inputs:{showCoords:"showCoords",showCountry:"showCountry",showAddress:"showAddress",isRequired:"isRequired",isAutocompleteDisabled:"isAutocompleteDisabled",showFR:"showFR",isCompletionMode:"isCompletionMode",formGp:"formGp"},outputs:{countryChangeEvent:"countryChangeEvent"},features:[i.zb],decls:9,vars:11,consts:[[1,"container",3,"formGroup"],[3,"formGp","isAutocompleteDisabled","isRequired",4,"ngIf"],[1,"inline-form"],["class","inline-item",3,"countryCtrl","inputTitle","isRequired","showFR","selectionChanged",4,"ngIf"],["class","spacer",4,"ngIf"],[1,"inline-item",3,"formGp","isRequired","showCoords","isCountryFrance"],[4,"ngIf"],["class","inline-form",4,"ngIf"],[3,"formGp","isAutocompleteDisabled","isRequired"],[1,"inline-item",3,"countryCtrl","inputTitle","isRequired","showFR","selectionChanged"],[1,"spacer"],["data-cy","complement-adresse","matInput","","type","text","rows","3","appLabel","common.adresse.complement","formControlName","complementAdresse"],["matInput","","data-cy","latitude","type","text","appLabel","common.latitude","formControlName","latitude"],["matInput","","data-cy","longitude","type","text","appLabel","common.longitude","formControlName","longitude"],["name","map",3,"address","readonly","fetchAddress"]],template:function(t,e){1&t&&(i.Tb(0,"form",0),i.Fc(1,_,1,3,"app-collectif-2",1),i.Tb(2,"div",2),i.Fc(3,v,2,5,"app-country-autocomplete-2",3),i.Fc(4,C,1,0,"div",4),i.Ob(5,"app-communes-2",5),i.Sb(),i.Fc(6,x,4,1,"mat-form-field",6),i.Fc(7,k,8,2,"div",7),i.Fc(8,S,6,5,"div",6),i.Sb()),2&t&&(i.nc("formGroup",e.form),i.Cb(1),i.nc("ngIf",e.showAddress),i.Cb(2),i.nc("ngIf",e.showCountry),i.Cb(1),i.nc("ngIf",e.showCountry),i.Cb(1),i.nc("formGp",e.form)("isRequired",e.isRequired)("showCoords",e.showCoords)("isCountryFrance",e.isCountryFrance),i.Cb(1),i.nc("ngIf",e.showAddress),i.Cb(1),i.nc("ngIf",e.areCoordinatesDisplayed),i.Cb(1),i.nc("ngIf",e.areCoordinatesDisplayed))},directives:[c.x,c.p,c.i,d.l,u.a,h.a,m.a,p.b,p.c,f.b,c.c,g.a,c.o,c.g,b.a],pipes:[s.c],styles:[".container[_ngcontent-%COMP%]{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.container[_ngcontent-%COMP%] .inline-form[_ngcontent-%COMP%]{display:-ms-flexbox;display:flex;-ms-flex-flow:row;flex-flow:row}.container[_ngcontent-%COMP%] .inline-form[_ngcontent-%COMP%] .spacer[_ngcontent-%COMP%]{width:50px}.container[_ngcontent-%COMP%] .inline-form[_ngcontent-%COMP%] .inline-item[_ngcontent-%COMP%]{-ms-flex:1;flex:1}"]}),t})()},"4I5i":function(t,e,n){"use strict";n.d(e,"a",function(){return i});const i=(()=>{function t(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return t.prototype=Object.create(Error.prototype),t})()},"4MV3":function(t,e,n){!function(t){"use strict";var e={1:"\u0ae7",2:"\u0ae8",3:"\u0ae9",4:"\u0aea",5:"\u0aeb",6:"\u0aec",7:"\u0aed",8:"\u0aee",9:"\u0aef",0:"\u0ae6"},n={"\u0ae7":"1","\u0ae8":"2","\u0ae9":"3","\u0aea":"4","\u0aeb":"5","\u0aec":"6","\u0aed":"7","\u0aee":"8","\u0aef":"9","\u0ae6":"0"};t.defineLocale("gu",{months:"\u0a9c\u0abe\u0aa8\u0acd\u0aaf\u0ac1\u0a86\u0ab0\u0ac0_\u0aab\u0ac7\u0aac\u0acd\u0ab0\u0ac1\u0a86\u0ab0\u0ac0_\u0aae\u0abe\u0ab0\u0acd\u0a9a_\u0a8f\u0aaa\u0acd\u0ab0\u0abf\u0ab2_\u0aae\u0ac7_\u0a9c\u0ac2\u0aa8_\u0a9c\u0ac1\u0ab2\u0abe\u0a88_\u0a91\u0a97\u0ab8\u0acd\u0a9f_\u0ab8\u0aaa\u0acd\u0a9f\u0ac7\u0aae\u0acd\u0aac\u0ab0_\u0a91\u0a95\u0acd\u0a9f\u0acd\u0aac\u0ab0_\u0aa8\u0ab5\u0ac7\u0aae\u0acd\u0aac\u0ab0_\u0aa1\u0abf\u0ab8\u0ac7\u0aae\u0acd\u0aac\u0ab0".split("_"),monthsShort:"\u0a9c\u0abe\u0aa8\u0acd\u0aaf\u0ac1._\u0aab\u0ac7\u0aac\u0acd\u0ab0\u0ac1._\u0aae\u0abe\u0ab0\u0acd\u0a9a_\u0a8f\u0aaa\u0acd\u0ab0\u0abf._\u0aae\u0ac7_\u0a9c\u0ac2\u0aa8_\u0a9c\u0ac1\u0ab2\u0abe._\u0a91\u0a97._\u0ab8\u0aaa\u0acd\u0a9f\u0ac7._\u0a91\u0a95\u0acd\u0a9f\u0acd._\u0aa8\u0ab5\u0ac7._\u0aa1\u0abf\u0ab8\u0ac7.".split("_"),monthsParseExact:!0,weekdays:"\u0ab0\u0ab5\u0abf\u0ab5\u0abe\u0ab0_\u0ab8\u0acb\u0aae\u0ab5\u0abe\u0ab0_\u0aae\u0a82\u0a97\u0ab3\u0ab5\u0abe\u0ab0_\u0aac\u0ac1\u0aa7\u0acd\u0ab5\u0abe\u0ab0_\u0a97\u0ac1\u0ab0\u0ac1\u0ab5\u0abe\u0ab0_\u0ab6\u0ac1\u0a95\u0acd\u0ab0\u0ab5\u0abe\u0ab0_\u0ab6\u0aa8\u0abf\u0ab5\u0abe\u0ab0".split("_"),weekdaysShort:"\u0ab0\u0ab5\u0abf_\u0ab8\u0acb\u0aae_\u0aae\u0a82\u0a97\u0ab3_\u0aac\u0ac1\u0aa7\u0acd_\u0a97\u0ac1\u0ab0\u0ac1_\u0ab6\u0ac1\u0a95\u0acd\u0ab0_\u0ab6\u0aa8\u0abf".split("_"),weekdaysMin:"\u0ab0_\u0ab8\u0acb_\u0aae\u0a82_\u0aac\u0ac1_\u0a97\u0ac1_\u0ab6\u0ac1_\u0ab6".split("_"),longDateFormat:{LT:"A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",LTS:"A h:mm:ss \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",LLLL:"dddd, D MMMM YYYY, A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7"},calendar:{sameDay:"[\u0a86\u0a9c] LT",nextDay:"[\u0a95\u0abe\u0ab2\u0ac7] LT",nextWeek:"dddd, LT",lastDay:"[\u0a97\u0a87\u0a95\u0abe\u0ab2\u0ac7] LT",lastWeek:"[\u0aaa\u0abe\u0a9b\u0ab2\u0abe] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0aae\u0abe",past:"%s \u0aaa\u0ab9\u0ac7\u0ab2\u0abe",s:"\u0a85\u0aae\u0ac1\u0a95 \u0aaa\u0ab3\u0acb",ss:"%d \u0ab8\u0ac7\u0a95\u0a82\u0aa1",m:"\u0a8f\u0a95 \u0aae\u0abf\u0aa8\u0abf\u0a9f",mm:"%d \u0aae\u0abf\u0aa8\u0abf\u0a9f",h:"\u0a8f\u0a95 \u0a95\u0ab2\u0abe\u0a95",hh:"%d \u0a95\u0ab2\u0abe\u0a95",d:"\u0a8f\u0a95 \u0aa6\u0abf\u0ab5\u0ab8",dd:"%d \u0aa6\u0abf\u0ab5\u0ab8",M:"\u0a8f\u0a95 \u0aae\u0ab9\u0abf\u0aa8\u0acb",MM:"%d \u0aae\u0ab9\u0abf\u0aa8\u0acb",y:"\u0a8f\u0a95 \u0ab5\u0ab0\u0acd\u0ab7",yy:"%d \u0ab5\u0ab0\u0acd\u0ab7"},preparse:function(t){return t.replace(/[\u0ae7\u0ae8\u0ae9\u0aea\u0aeb\u0aec\u0aed\u0aee\u0aef\u0ae6]/g,function(t){return n[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},meridiemParse:/\u0ab0\u0abe\u0aa4|\u0aac\u0aaa\u0acb\u0ab0|\u0ab8\u0ab5\u0abe\u0ab0|\u0ab8\u0abe\u0a82\u0a9c/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u0ab0\u0abe\u0aa4"===e?t<4?t:t+12:"\u0ab8\u0ab5\u0abe\u0ab0"===e?t:"\u0aac\u0aaa\u0acb\u0ab0"===e?t>=10?t:t+12:"\u0ab8\u0abe\u0a82\u0a9c"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"\u0ab0\u0abe\u0aa4":t<10?"\u0ab8\u0ab5\u0abe\u0ab0":t<17?"\u0aac\u0aaa\u0acb\u0ab0":t<20?"\u0ab8\u0abe\u0a82\u0a9c":"\u0ab0\u0abe\u0aa4"},week:{dow:0,doy:6}})}(n("wd/R"))},"4R65":function(t,e,n){!function(t){"use strict";function e(t){var e,n,i,a;for(n=1,i=arguments.length;n<i;n++)for(e in a=arguments[n])t[e]=a[e];return t}var n=Object.create||function(){function t(){}return function(e){return t.prototype=e,new t}}();function i(t,e){var n=Array.prototype.slice;if(t.bind)return t.bind.apply(t,n.call(arguments,1));var i=n.call(arguments,2);return function(){return t.apply(e,i.length?i.concat(n.call(arguments)):arguments)}}var a=0;function r(t){return t._leaflet_id=t._leaflet_id||++a,t._leaflet_id}function o(t,e,n){var i,a,r,o;return o=function(){i=!1,a&&(r.apply(n,a),a=!1)},r=function(){i?a=arguments:(t.apply(n,arguments),setTimeout(o,e),i=!0)}}function s(t,e,n){var i=e[1],a=e[0],r=i-a;return t===i&&n?t:((t-a)%r+r)%r+a}function l(){return!1}function c(t,e){var n=Math.pow(10,void 0===e?6:e);return Math.round(t*n)/n}function d(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function u(t){return d(t).split(/\s+/)}function h(t,e){for(var i in Object.prototype.hasOwnProperty.call(t,"options")||(t.options=t.options?n(t.options):{}),e)t.options[i]=e[i];return t.options}function m(t,e,n){var i=[];for(var a in t)i.push(encodeURIComponent(n?a.toUpperCase():a)+"="+encodeURIComponent(t[a]));return(e&&-1!==e.indexOf("?")?"&":"?")+i.join("&")}var p=/\{ *([\w_-]+) *\}/g;function f(t,e){return t.replace(p,function(t,n){var i=e[n];if(void 0===i)throw new Error("No value provided for variable "+t);return"function"==typeof i&&(i=i(e)),i})}var g=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)};function b(t,e){for(var n=0;n<t.length;n++)if(t[n]===e)return n;return-1}var _="data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=";function y(t){return window["webkit"+t]||window["moz"+t]||window["ms"+t]}var v=0;function C(t){var e=+new Date,n=Math.max(0,16-(e-v));return v=e+n,window.setTimeout(t,n)}var w=window.requestAnimationFrame||y("RequestAnimationFrame")||C,x=window.cancelAnimationFrame||y("CancelAnimationFrame")||y("CancelRequestAnimationFrame")||function(t){window.clearTimeout(t)};function M(t,e,n){if(!n||w!==C)return w.call(window,i(t,e));t.call(e)}function O(t){t&&x.call(window,t)}var k={extend:e,create:n,bind:i,lastId:a,stamp:r,throttle:o,wrapNum:s,falseFn:l,formatNum:c,trim:d,splitWords:u,setOptions:h,getParamString:m,template:f,isArray:g,indexOf:b,emptyImageUrl:_,requestFn:w,cancelFn:x,requestAnimFrame:M,cancelAnimFrame:O};function S(){}S.extend=function(t){var i=function(){this.initialize&&this.initialize.apply(this,arguments),this.callInitHooks()},a=i.__super__=this.prototype,r=n(a);for(var o in r.constructor=i,i.prototype=r,this)Object.prototype.hasOwnProperty.call(this,o)&&"prototype"!==o&&"__super__"!==o&&(i[o]=this[o]);return t.statics&&(e(i,t.statics),delete t.statics),t.includes&&(function(t){if("undefined"!=typeof L&&L&&L.Mixin){t=g(t)?t:[t];for(var e=0;e<t.length;e++)t[e]===L.Mixin.Events&&console.warn("Deprecated include of L.Mixin.Events: this property will be removed in future releases, please inherit from L.Evented instead.",(new Error).stack)}}(t.includes),e.apply(null,[r].concat(t.includes)),delete t.includes),r.options&&(t.options=e(n(r.options),t.options)),e(r,t),r._initHooks=[],r.callInitHooks=function(){if(!this._initHooksCalled){a.callInitHooks&&a.callInitHooks.call(this),this._initHooksCalled=!0;for(var t=0,e=r._initHooks.length;t<e;t++)r._initHooks[t].call(this)}},i},S.include=function(t){return e(this.prototype,t),this},S.mergeOptions=function(t){return e(this.prototype.options,t),this},S.addInitHook=function(t){var e=Array.prototype.slice.call(arguments,1),n="function"==typeof t?t:function(){this[t].apply(this,e)};return this.prototype._initHooks=this.prototype._initHooks||[],this.prototype._initHooks.push(n),this};var T={on:function(t,e,n){if("object"==typeof t)for(var i in t)this._on(i,t[i],e);else for(var a=0,r=(t=u(t)).length;a<r;a++)this._on(t[a],e,n);return this},off:function(t,e,n){if(t)if("object"==typeof t)for(var i in t)this._off(i,t[i],e);else for(var a=0,r=(t=u(t)).length;a<r;a++)this._off(t[a],e,n);else delete this._events;return this},_on:function(t,e,n){this._events=this._events||{};var i=this._events[t];i||(this._events[t]=i=[]),n===this&&(n=void 0);for(var a={fn:e,ctx:n},r=i,o=0,s=r.length;o<s;o++)if(r[o].fn===e&&r[o].ctx===n)return;r.push(a)},_off:function(t,e,n){var i,a,r;if(this._events&&(i=this._events[t]))if(e){if(n===this&&(n=void 0),i)for(a=0,r=i.length;a<r;a++){var o=i[a];if(o.ctx===n&&o.fn===e)return o.fn=l,this._firingCount&&(this._events[t]=i=i.slice()),void i.splice(a,1)}}else{for(a=0,r=i.length;a<r;a++)i[a].fn=l;delete this._events[t]}},fire:function(t,n,i){if(!this.listens(t,i))return this;var a=e({},n,{type:t,target:this,sourceTarget:n&&n.sourceTarget||this});if(this._events){var r=this._events[t];if(r){this._firingCount=this._firingCount+1||1;for(var o=0,s=r.length;o<s;o++){var l=r[o];l.fn.call(l.ctx||this,a)}this._firingCount--}}return i&&this._propagateEvent(a),this},listens:function(t,e){var n=this._events&&this._events[t];if(n&&n.length)return!0;if(e)for(var i in this._eventParents)if(this._eventParents[i].listens(t,e))return!0;return!1},once:function(t,e,n){if("object"==typeof t){for(var a in t)this.once(a,t[a],e);return this}var r=i(function(){this.off(t,e,n).off(t,r,n)},this);return this.on(t,e,n).on(t,r,n)},addEventParent:function(t){return this._eventParents=this._eventParents||{},this._eventParents[r(t)]=t,this},removeEventParent:function(t){return this._eventParents&&delete this._eventParents[r(t)],this},_propagateEvent:function(t){for(var n in this._eventParents)this._eventParents[n].fire(t.type,e({layer:t.target,propagatedFrom:t.target},t),!0)}};T.addEventListener=T.on,T.removeEventListener=T.clearAllEventListeners=T.off,T.addOneTimeEventListener=T.once,T.fireEvent=T.fire,T.hasEventListeners=T.listens;var P=S.extend(T);function D(t,e,n){this.x=n?Math.round(t):t,this.y=n?Math.round(e):e}var E=Math.trunc||function(t){return t>0?Math.floor(t):Math.ceil(t)};function A(t,e,n){return t instanceof D?t:g(t)?new D(t[0],t[1]):null==t?t:"object"==typeof t&&"x"in t&&"y"in t?new D(t.x,t.y):new D(t,e,n)}function I(t,e){if(t)for(var n=e?[t,e]:t,i=0,a=n.length;i<a;i++)this.extend(n[i])}function R(t,e){return!t||t instanceof I?t:new I(t,e)}function N(t,e){if(t)for(var n=e?[t,e]:t,i=0,a=n.length;i<a;i++)this.extend(n[i])}function Y(t,e){return t instanceof N?t:new N(t,e)}function H(t,e,n){if(isNaN(t)||isNaN(e))throw new Error("Invalid LatLng object: ("+t+", "+e+")");this.lat=+t,this.lng=+e,void 0!==n&&(this.alt=+n)}function j(t,e,n){return t instanceof H?t:g(t)&&"object"!=typeof t[0]?3===t.length?new H(t[0],t[1],t[2]):2===t.length?new H(t[0],t[1]):null:null==t?t:"object"==typeof t&&"lat"in t?new H(t.lat,"lng"in t?t.lng:t.lon,t.alt):void 0===e?null:new H(t,e,n)}D.prototype={clone:function(){return new D(this.x,this.y)},add:function(t){return this.clone()._add(A(t))},_add:function(t){return this.x+=t.x,this.y+=t.y,this},subtract:function(t){return this.clone()._subtract(A(t))},_subtract:function(t){return this.x-=t.x,this.y-=t.y,this},divideBy:function(t){return this.clone()._divideBy(t)},_divideBy:function(t){return this.x/=t,this.y/=t,this},multiplyBy:function(t){return this.clone()._multiplyBy(t)},_multiplyBy:function(t){return this.x*=t,this.y*=t,this},scaleBy:function(t){return new D(this.x*t.x,this.y*t.y)},unscaleBy:function(t){return new D(this.x/t.x,this.y/t.y)},round:function(){return this.clone()._round()},_round:function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this},floor:function(){return this.clone()._floor()},_floor:function(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this},ceil:function(){return this.clone()._ceil()},_ceil:function(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this},trunc:function(){return this.clone()._trunc()},_trunc:function(){return this.x=E(this.x),this.y=E(this.y),this},distanceTo:function(t){var e=(t=A(t)).x-this.x,n=t.y-this.y;return Math.sqrt(e*e+n*n)},equals:function(t){return(t=A(t)).x===this.x&&t.y===this.y},contains:function(t){return t=A(t),Math.abs(t.x)<=Math.abs(this.x)&&Math.abs(t.y)<=Math.abs(this.y)},toString:function(){return"Point("+c(this.x)+", "+c(this.y)+")"}},I.prototype={extend:function(t){return t=A(t),this.min||this.max?(this.min.x=Math.min(t.x,this.min.x),this.max.x=Math.max(t.x,this.max.x),this.min.y=Math.min(t.y,this.min.y),this.max.y=Math.max(t.y,this.max.y)):(this.min=t.clone(),this.max=t.clone()),this},getCenter:function(t){return new D((this.min.x+this.max.x)/2,(this.min.y+this.max.y)/2,t)},getBottomLeft:function(){return new D(this.min.x,this.max.y)},getTopRight:function(){return new D(this.max.x,this.min.y)},getTopLeft:function(){return this.min},getBottomRight:function(){return this.max},getSize:function(){return this.max.subtract(this.min)},contains:function(t){var e,n;return(t="number"==typeof t[0]||t instanceof D?A(t):R(t))instanceof I?(e=t.min,n=t.max):e=n=t,e.x>=this.min.x&&n.x<=this.max.x&&e.y>=this.min.y&&n.y<=this.max.y},intersects:function(t){t=R(t);var e=this.min,n=this.max,i=t.min,a=t.max;return a.x>=e.x&&i.x<=n.x&&a.y>=e.y&&i.y<=n.y},overlaps:function(t){t=R(t);var e=this.min,n=this.max,i=t.min,a=t.max;return a.x>e.x&&i.x<n.x&&a.y>e.y&&i.y<n.y},isValid:function(){return!(!this.min||!this.max)}},N.prototype={extend:function(t){var e,n,i=this._southWest,a=this._northEast;if(t instanceof H)e=t,n=t;else{if(!(t instanceof N))return t?this.extend(j(t)||Y(t)):this;if(n=t._northEast,!(e=t._southWest)||!n)return this}return i||a?(i.lat=Math.min(e.lat,i.lat),i.lng=Math.min(e.lng,i.lng),a.lat=Math.max(n.lat,a.lat),a.lng=Math.max(n.lng,a.lng)):(this._southWest=new H(e.lat,e.lng),this._northEast=new H(n.lat,n.lng)),this},pad:function(t){var e=this._southWest,n=this._northEast,i=Math.abs(e.lat-n.lat)*t,a=Math.abs(e.lng-n.lng)*t;return new N(new H(e.lat-i,e.lng-a),new H(n.lat+i,n.lng+a))},getCenter:function(){return new H((this._southWest.lat+this._northEast.lat)/2,(this._southWest.lng+this._northEast.lng)/2)},getSouthWest:function(){return this._southWest},getNorthEast:function(){return this._northEast},getNorthWest:function(){return new H(this.getNorth(),this.getWest())},getSouthEast:function(){return new H(this.getSouth(),this.getEast())},getWest:function(){return this._southWest.lng},getSouth:function(){return this._southWest.lat},getEast:function(){return this._northEast.lng},getNorth:function(){return this._northEast.lat},contains:function(t){t="number"==typeof t[0]||t instanceof H||"lat"in t?j(t):Y(t);var e,n,i=this._southWest,a=this._northEast;return t instanceof N?(e=t.getSouthWest(),n=t.getNorthEast()):e=n=t,e.lat>=i.lat&&n.lat<=a.lat&&e.lng>=i.lng&&n.lng<=a.lng},intersects:function(t){t=Y(t);var e=this._southWest,n=this._northEast,i=t.getSouthWest(),a=t.getNorthEast();return a.lat>=e.lat&&i.lat<=n.lat&&a.lng>=e.lng&&i.lng<=n.lng},overlaps:function(t){t=Y(t);var e=this._southWest,n=this._northEast,i=t.getSouthWest(),a=t.getNorthEast();return a.lat>e.lat&&i.lat<n.lat&&a.lng>e.lng&&i.lng<n.lng},toBBoxString:function(){return[this.getWest(),this.getSouth(),this.getEast(),this.getNorth()].join(",")},equals:function(t,e){return!!t&&(t=Y(t),this._southWest.equals(t.getSouthWest(),e)&&this._northEast.equals(t.getNorthEast(),e))},isValid:function(){return!(!this._southWest||!this._northEast)}},H.prototype={equals:function(t,e){return!!t&&(t=j(t),Math.max(Math.abs(this.lat-t.lat),Math.abs(this.lng-t.lng))<=(void 0===e?1e-9:e))},toString:function(t){return"LatLng("+c(this.lat,t)+", "+c(this.lng,t)+")"},distanceTo:function(t){return V.distance(this,j(t))},wrap:function(){return V.wrapLatLng(this)},toBounds:function(t){var e=180*t/40075017,n=e/Math.cos(Math.PI/180*this.lat);return Y([this.lat-e,this.lng-n],[this.lat+e,this.lng+n])},clone:function(){return new H(this.lat,this.lng,this.alt)}};var F,z={latLngToPoint:function(t,e){var n=this.projection.project(t),i=this.scale(e);return this.transformation._transform(n,i)},pointToLatLng:function(t,e){var n=this.scale(e),i=this.transformation.untransform(t,n);return this.projection.unproject(i)},project:function(t){return this.projection.project(t)},unproject:function(t){return this.projection.unproject(t)},scale:function(t){return 256*Math.pow(2,t)},zoom:function(t){return Math.log(t/256)/Math.LN2},getProjectedBounds:function(t){if(this.infinite)return null;var e=this.projection.bounds,n=this.scale(t);return new I(this.transformation.transform(e.min,n),this.transformation.transform(e.max,n))},infinite:!1,wrapLatLng:function(t){var e=this.wrapLng?s(t.lng,this.wrapLng,!0):t.lng;return new H(this.wrapLat?s(t.lat,this.wrapLat,!0):t.lat,e,t.alt)},wrapLatLngBounds:function(t){var e=t.getCenter(),n=this.wrapLatLng(e),i=e.lat-n.lat,a=e.lng-n.lng;if(0===i&&0===a)return t;var r=t.getSouthWest(),o=t.getNorthEast();return new N(new H(r.lat-i,r.lng-a),new H(o.lat-i,o.lng-a))}},V=e({},z,{wrapLng:[-180,180],R:6371e3,distance:function(t,e){var n=Math.PI/180,i=t.lat*n,a=e.lat*n,r=Math.sin((e.lat-t.lat)*n/2),o=Math.sin((e.lng-t.lng)*n/2),s=r*r+Math.cos(i)*Math.cos(a)*o*o,l=2*Math.atan2(Math.sqrt(s),Math.sqrt(1-s));return this.R*l}}),B={R:6378137,MAX_LATITUDE:85.0511287798,project:function(t){var e=Math.PI/180,n=this.MAX_LATITUDE,i=Math.max(Math.min(n,t.lat),-n),a=Math.sin(i*e);return new D(this.R*t.lng*e,this.R*Math.log((1+a)/(1-a))/2)},unproject:function(t){var e=180/Math.PI;return new H((2*Math.atan(Math.exp(t.y/this.R))-Math.PI/2)*e,t.x*e/this.R)},bounds:(F=6378137*Math.PI,new I([-F,-F],[F,F]))};function W(t,e,n,i){if(g(t))return this._a=t[0],this._b=t[1],this._c=t[2],void(this._d=t[3]);this._a=t,this._b=e,this._c=n,this._d=i}function U(t,e,n,i){return new W(t,e,n,i)}W.prototype={transform:function(t,e){return this._transform(t.clone(),e)},_transform:function(t,e){return t.x=(e=e||1)*(this._a*t.x+this._b),t.y=e*(this._c*t.y+this._d),t},untransform:function(t,e){return new D((t.x/(e=e||1)-this._b)/this._a,(t.y/e-this._d)/this._c)}};var q,G=e({},V,{code:"EPSG:3857",projection:B,transformation:(q=.5/(Math.PI*B.R),U(q,.5,-q,.5))}),J=e({},G,{code:"EPSG:900913"});function Z(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function $(t,e){var n,i,a,r,o,s,l="";for(n=0,a=t.length;n<a;n++){for(i=0,r=(o=t[n]).length;i<r;i++)l+=(i?"L":"M")+(s=o[i]).x+" "+s.y;l+=e?Tt?"z":"x":""}return l||"M0 0"}var X=document.documentElement.style,K="ActiveXObject"in window,Q=K&&!document.addEventListener,tt="msLaunchUri"in navigator&&!("documentMode"in document),et=Lt("webkit"),nt=Lt("android"),it=Lt("android 2")||Lt("android 3"),at=parseInt(/WebKit\/([0-9]+)|$/.exec(navigator.userAgent)[1],10),rt=nt&&Lt("Google")&&at<537&&!("AudioNode"in window),ot=!!window.opera,st=!tt&&Lt("chrome"),lt=Lt("gecko")&&!et&&!ot&&!K,ct=!st&&Lt("safari"),dt=Lt("phantom"),ut="OTransition"in X,ht=0===navigator.platform.indexOf("Win"),mt=K&&"transition"in X,pt="WebKitCSSMatrix"in window&&"m11"in new window.WebKitCSSMatrix&&!it,ft="MozPerspective"in X,gt=!window.L_DISABLE_3D&&(mt||pt||ft)&&!ut&&!dt,bt="undefined"!=typeof orientation||Lt("mobile"),_t=bt&&et,yt=bt&&pt,vt=!window.PointerEvent&&window.MSPointerEvent,Ct=!(!window.PointerEvent&&!vt),wt=!window.L_NO_TOUCH&&(Ct||"ontouchstart"in window||window.DocumentTouch&&document instanceof window.DocumentTouch),xt=bt&&ot,Mt=bt&&lt,Ot=(window.devicePixelRatio||window.screen.deviceXDPI/window.screen.logicalXDPI)>1,kt=function(){var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("testPassiveEventSupport",l,e),window.removeEventListener("testPassiveEventSupport",l,e)}catch(n){}return t}(),St=!!document.createElement("canvas").getContext,Tt=!(!document.createElementNS||!Z("svg").createSVGRect),Pt=!Tt&&function(){try{var t=document.createElement("div");t.innerHTML='<v:shape adj="1"/>';var e=t.firstChild;return e.style.behavior="url(#default#VML)",e&&"object"==typeof e.adj}catch(n){return!1}}();function Lt(t){return navigator.userAgent.toLowerCase().indexOf(t)>=0}var Dt={ie:K,ielt9:Q,edge:tt,webkit:et,android:nt,android23:it,androidStock:rt,opera:ot,chrome:st,gecko:lt,safari:ct,phantom:dt,opera12:ut,win:ht,ie3d:mt,webkit3d:pt,gecko3d:ft,any3d:gt,mobile:bt,mobileWebkit:_t,mobileWebkit3d:yt,msPointer:vt,pointer:Ct,touch:wt,mobileOpera:xt,mobileGecko:Mt,retina:Ot,passiveEvents:kt,canvas:St,svg:Tt,vml:Pt},Et=vt?"MSPointerDown":"pointerdown",At=vt?"MSPointerMove":"pointermove",It=vt?"MSPointerUp":"pointerup",Rt=vt?"MSPointerCancel":"pointercancel",Nt={},Yt=!1;function Ht(t){Nt[t.pointerId]=t}function jt(t){Nt[t.pointerId]&&(Nt[t.pointerId]=t)}function Ft(t){delete Nt[t.pointerId]}function zt(t,e){for(var n in t.touches=[],Nt)t.touches.push(Nt[n]);t.changedTouches=[t],e(t)}var Vt,Bt,Wt,Ut,qt,Gt=vt?"MSPointerDown":Ct?"pointerdown":"touchstart",Jt=vt?"MSPointerUp":Ct?"pointerup":"touchend",Zt="_leaflet_",$t=he(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),Xt=he(["webkitTransition","transition","OTransition","MozTransition","msTransition"]),Kt="webkitTransition"===Xt||"OTransition"===Xt?Xt+"End":"transitionend";function Qt(t){return"string"==typeof t?document.getElementById(t):t}function te(t,e){var n=t.style[e]||t.currentStyle&&t.currentStyle[e];if((!n||"auto"===n)&&document.defaultView){var i=document.defaultView.getComputedStyle(t,null);n=i?i[e]:null}return"auto"===n?null:n}function ee(t,e,n){var i=document.createElement(t);return i.className=e||"",n&&n.appendChild(i),i}function ne(t){var e=t.parentNode;e&&e.removeChild(t)}function ie(t){for(;t.firstChild;)t.removeChild(t.firstChild)}function ae(t){var e=t.parentNode;e&&e.lastChild!==t&&e.appendChild(t)}function re(t){var e=t.parentNode;e&&e.firstChild!==t&&e.insertBefore(t,e.firstChild)}function oe(t,e){if(void 0!==t.classList)return t.classList.contains(e);var n=de(t);return n.length>0&&new RegExp("(^|\\s)"+e+"(\\s|$)").test(n)}function se(t,e){if(void 0!==t.classList)for(var n=u(e),i=0,a=n.length;i<a;i++)t.classList.add(n[i]);else if(!oe(t,e)){var r=de(t);ce(t,(r?r+" ":"")+e)}}function le(t,e){void 0!==t.classList?t.classList.remove(e):ce(t,d((" "+de(t)+" ").replace(" "+e+" "," ")))}function ce(t,e){void 0===t.className.baseVal?t.className=e:t.className.baseVal=e}function de(t){return t.correspondingElement&&(t=t.correspondingElement),void 0===t.className.baseVal?t.className:t.className.baseVal}function ue(t,e){"opacity"in t.style?t.style.opacity=e:"filter"in t.style&&function(t,e){var n=!1,i="DXImageTransform.Microsoft.Alpha";try{n=t.filters.item(i)}catch(a){if(1===e)return}e=Math.round(100*e),n?(n.Enabled=100!==e,n.Opacity=e):t.style.filter+=" progid:"+i+"(opacity="+e+")"}(t,e)}function he(t){for(var e=document.documentElement.style,n=0;n<t.length;n++)if(t[n]in e)return t[n];return!1}function me(t,e,n){var i=e||new D(0,0);t.style[$t]=(mt?"translate("+i.x+"px,"+i.y+"px)":"translate3d("+i.x+"px,"+i.y+"px,0)")+(n?" scale("+n+")":"")}function pe(t,e){t._leaflet_pos=e,gt?me(t,e):(t.style.left=e.x+"px",t.style.top=e.y+"px")}function fe(t){return t._leaflet_pos||new D(0,0)}if("onselectstart"in document)Vt=function(){Me(window,"selectstart",Ie)},Bt=function(){ke(window,"selectstart",Ie)};else{var ge=he(["userSelect","WebkitUserSelect","OUserSelect","MozUserSelect","msUserSelect"]);Vt=function(){if(ge){var t=document.documentElement.style;Wt=t[ge],t[ge]="none"}},Bt=function(){ge&&(document.documentElement.style[ge]=Wt,Wt=void 0)}}function be(){Me(window,"dragstart",Ie)}function _e(){ke(window,"dragstart",Ie)}function ye(t){for(;-1===t.tabIndex;)t=t.parentNode;t.style&&(ve(),Ut=t,qt=t.style.outline,t.style.outline="none",Me(window,"keydown",ve))}function ve(){Ut&&(Ut.style.outline=qt,Ut=void 0,qt=void 0,ke(window,"keydown",ve))}function Ce(t){do{t=t.parentNode}while(!(t.offsetWidth&&t.offsetHeight||t===document.body));return t}function we(t){var e=t.getBoundingClientRect();return{x:e.width/t.offsetWidth||1,y:e.height/t.offsetHeight||1,boundingClientRect:e}}var xe={TRANSFORM:$t,TRANSITION:Xt,TRANSITION_END:Kt,get:Qt,getStyle:te,create:ee,remove:ne,empty:ie,toFront:ae,toBack:re,hasClass:oe,addClass:se,removeClass:le,setClass:ce,getClass:de,setOpacity:ue,testProp:he,setTransform:me,setPosition:pe,getPosition:fe,disableTextSelection:Vt,enableTextSelection:Bt,disableImageDrag:be,enableImageDrag:_e,preventOutline:ye,restoreOutline:ve,getSizedParentNode:Ce,getScale:we};function Me(t,e,n,i){if("object"==typeof e)for(var a in e)Pe(t,a,e[a],n);else for(var r=0,o=(e=u(e)).length;r<o;r++)Pe(t,e[r],n,i);return this}var Oe="_leaflet_events";function ke(t,e,n,i){if("object"==typeof e)for(var a in e)Le(t,a,e[a],n);else if(e)for(var r=0,o=(e=u(e)).length;r<o;r++)Le(t,e[r],n,i);else{for(var s in t[Oe])Le(t,s,t[Oe][s]);delete t[Oe]}return this}function Se(){if(Ct)return!(tt||ct)}var Te={mouseenter:"mouseover",mouseleave:"mouseout",wheel:!("onwheel"in window)&&"mousewheel"};function Pe(t,e,n,a){var o=e+r(n)+(a?"_"+r(a):"");if(t[Oe]&&t[Oe][o])return this;var s=function(e){return n.call(a||t,e||window.event)},l=s;Ct&&0===e.indexOf("touch")?function(t,e,n,a){"touchstart"===e?function(t,e,n){var a=i(function(t){t.MSPOINTER_TYPE_TOUCH&&t.pointerType===t.MSPOINTER_TYPE_TOUCH&&Ie(t),zt(t,e)});t["_leaflet_touchstart"+n]=a,t.addEventListener(Et,a,!1),Yt||(document.addEventListener(Et,Ht,!0),document.addEventListener(At,jt,!0),document.addEventListener(It,Ft,!0),document.addEventListener(Rt,Ft,!0),Yt=!0)}(t,n,a):"touchmove"===e?function(t,e,n){var i=function(t){t.pointerType===(t.MSPOINTER_TYPE_MOUSE||"mouse")&&0===t.buttons||zt(t,e)};t["_leaflet_touchmove"+n]=i,t.addEventListener(At,i,!1)}(t,n,a):"touchend"===e&&function(t,e,n){var i=function(t){zt(t,e)};t["_leaflet_touchend"+n]=i,t.addEventListener(It,i,!1),t.addEventListener(Rt,i,!1)}(t,n,a)}(t,e,s,o):wt&&"dblclick"===e&&!Se()?function(t,e,n){var i,a,r=!1;function o(t){if(Ct){if(!t.isPrimary)return;if("mouse"===t.pointerType)return}else if(t.touches.length>1)return;var e=Date.now(),n=e-(i||e);a=t.touches?t.touches[0]:t,r=n>0&&n<=250,i=e}function s(t){if(r&&!a.cancelBubble){if(Ct){if("mouse"===t.pointerType)return;var n,o,s={};for(o in a)s[o]=(n=a[o])&&n.bind?n.bind(a):n;a=s}a.type="dblclick",a.button=0,e(a),i=null}}t[Zt+Gt+n]=o,t[Zt+Jt+n]=s,t[Zt+"dblclick"+n]=e,t.addEventListener(Gt,o,!!kt&&{passive:!1}),t.addEventListener(Jt,s,!!kt&&{passive:!1}),t.addEventListener("dblclick",e,!1)}(t,s,o):"addEventListener"in t?"touchstart"===e||"touchmove"===e||"wheel"===e||"mousewheel"===e?t.addEventListener(Te[e]||e,s,!!kt&&{passive:!1}):"mouseenter"===e||"mouseleave"===e?t.addEventListener(Te[e],s=function(e){e=e||window.event,Ve(t,e)&&l(e)},!1):t.addEventListener(e,l,!1):"attachEvent"in t&&t.attachEvent("on"+e,s),t[Oe]=t[Oe]||{},t[Oe][o]=s}function Le(t,e,n,i){var a=e+r(n)+(i?"_"+r(i):""),o=t[Oe]&&t[Oe][a];if(!o)return this;Ct&&0===e.indexOf("touch")?function(t,e,n){var i=t["_leaflet_"+e+n];"touchstart"===e?t.removeEventListener(Et,i,!1):"touchmove"===e?t.removeEventListener(At,i,!1):"touchend"===e&&(t.removeEventListener(It,i,!1),t.removeEventListener(Rt,i,!1))}(t,e,a):wt&&"dblclick"===e&&!Se()?function(t,e){var n=t[Zt+Jt+e],i=t[Zt+"dblclick"+e];t.removeEventListener(Gt,t[Zt+Gt+e],!!kt&&{passive:!1}),t.removeEventListener(Jt,n,!!kt&&{passive:!1}),t.removeEventListener("dblclick",i,!1)}(t,a):"removeEventListener"in t?t.removeEventListener(Te[e]||e,o,!1):"detachEvent"in t&&t.detachEvent("on"+e,o),t[Oe][a]=null}function De(t){return t.stopPropagation?t.stopPropagation():t.originalEvent?t.originalEvent._stopped=!0:t.cancelBubble=!0,ze(t),this}function Ee(t){return Pe(t,"wheel",De),this}function Ae(t){return Me(t,"mousedown touchstart dblclick",De),Pe(t,"click",Fe),this}function Ie(t){return t.preventDefault?t.preventDefault():t.returnValue=!1,this}function Re(t){return Ie(t),De(t),this}function Ne(t,e){if(!e)return new D(t.clientX,t.clientY);var n=we(e),i=n.boundingClientRect;return new D((t.clientX-i.left)/n.x-e.clientLeft,(t.clientY-i.top)/n.y-e.clientTop)}var Ye=ht&&st?2*window.devicePixelRatio:lt?window.devicePixelRatio:1;function He(t){return tt?t.wheelDeltaY/2:t.deltaY&&0===t.deltaMode?-t.deltaY/Ye:t.deltaY&&1===t.deltaMode?20*-t.deltaY:t.deltaY&&2===t.deltaMode?60*-t.deltaY:t.deltaX||t.deltaZ?0:t.wheelDelta?(t.wheelDeltaY||t.wheelDelta)/2:t.detail&&Math.abs(t.detail)<32765?20*-t.detail:t.detail?t.detail/-32765*60:0}var je={};function Fe(t){je[t.type]=!0}function ze(t){var e=je[t.type];return je[t.type]=!1,e}function Ve(t,e){var n=e.relatedTarget;if(!n)return!0;try{for(;n&&n!==t;)n=n.parentNode}catch(i){return!1}return n!==t}var Be={on:Me,off:ke,stopPropagation:De,disableScrollPropagation:Ee,disableClickPropagation:Ae,preventDefault:Ie,stop:Re,getMousePosition:Ne,getWheelDelta:He,fakeStop:Fe,skipped:ze,isExternalTarget:Ve,addListener:Me,removeListener:ke},We=P.extend({run:function(t,e,n,i){this.stop(),this._el=t,this._inProgress=!0,this._duration=n||.25,this._easeOutPower=1/Math.max(i||.5,.2),this._startPos=fe(t),this._offset=e.subtract(this._startPos),this._startTime=+new Date,this.fire("start"),this._animate()},stop:function(){this._inProgress&&(this._step(!0),this._complete())},_animate:function(){this._animId=M(this._animate,this),this._step()},_step:function(t){var e=+new Date-this._startTime,n=1e3*this._duration;e<n?this._runFrame(this._easeOut(e/n),t):(this._runFrame(1),this._complete())},_runFrame:function(t,e){var n=this._startPos.add(this._offset.multiplyBy(t));e&&n._round(),pe(this._el,n),this.fire("step")},_complete:function(){O(this._animId),this._inProgress=!1,this.fire("end")},_easeOut:function(t){return 1-Math.pow(1-t,this._easeOutPower)}}),Ue=P.extend({options:{crs:G,center:void 0,zoom:void 0,minZoom:void 0,maxZoom:void 0,layers:[],maxBounds:void 0,renderer:void 0,zoomAnimation:!0,zoomAnimationThreshold:4,fadeAnimation:!0,markerZoomAnimation:!0,transform3DLimit:8388608,zoomSnap:1,zoomDelta:1,trackResize:!0},initialize:function(t,e){e=h(this,e),this._handlers=[],this._layers={},this._zoomBoundLayers={},this._sizeChanged=!0,this._initContainer(t),this._initLayout(),this._onResize=i(this._onResize,this),this._initEvents(),e.maxBounds&&this.setMaxBounds(e.maxBounds),void 0!==e.zoom&&(this._zoom=this._limitZoom(e.zoom)),e.center&&void 0!==e.zoom&&this.setView(j(e.center),e.zoom,{reset:!0}),this.callInitHooks(),this._zoomAnimated=Xt&&gt&&!xt&&this.options.zoomAnimation,this._zoomAnimated&&(this._createAnimProxy(),Me(this._proxy,Kt,this._catchTransitionEnd,this)),this._addLayers(this.options.layers)},setView:function(t,n,i){return n=void 0===n?this._zoom:this._limitZoom(n),t=this._limitCenter(j(t),n,this.options.maxBounds),i=i||{},this._stop(),this._loaded&&!i.reset&&!0!==i&&(void 0!==i.animate&&(i.zoom=e({animate:i.animate},i.zoom),i.pan=e({animate:i.animate,duration:i.duration},i.pan)),this._zoom!==n?this._tryAnimatedZoom&&this._tryAnimatedZoom(t,n,i.zoom):this._tryAnimatedPan(t,i.pan))?(clearTimeout(this._sizeTimer),this):(this._resetView(t,n),this)},setZoom:function(t,e){return this._loaded?this.setView(this.getCenter(),t,{zoom:e}):(this._zoom=t,this)},zoomIn:function(t,e){return this.setZoom(this._zoom+(t=t||(gt?this.options.zoomDelta:1)),e)},zoomOut:function(t,e){return this.setZoom(this._zoom-(t=t||(gt?this.options.zoomDelta:1)),e)},setZoomAround:function(t,e,n){var i=this.getZoomScale(e),a=this.getSize().divideBy(2),r=(t instanceof D?t:this.latLngToContainerPoint(t)).subtract(a).multiplyBy(1-1/i),o=this.containerPointToLatLng(a.add(r));return this.setView(o,e,{zoom:n})},_getBoundsCenterZoom:function(t,e){e=e||{},t=t.getBounds?t.getBounds():Y(t);var n=A(e.paddingTopLeft||e.padding||[0,0]),i=A(e.paddingBottomRight||e.padding||[0,0]),a=this.getBoundsZoom(t,!1,n.add(i));if((a="number"==typeof e.maxZoom?Math.min(e.maxZoom,a):a)===1/0)return{center:t.getCenter(),zoom:a};var r=i.subtract(n).divideBy(2),o=this.project(t.getSouthWest(),a),s=this.project(t.getNorthEast(),a);return{center:this.unproject(o.add(s).divideBy(2).add(r),a),zoom:a}},fitBounds:function(t,e){if(!(t=Y(t)).isValid())throw new Error("Bounds are not valid.");var n=this._getBoundsCenterZoom(t,e);return this.setView(n.center,n.zoom,e)},fitWorld:function(t){return this.fitBounds([[-90,-180],[90,180]],t)},panTo:function(t,e){return this.setView(t,this._zoom,{pan:e})},panBy:function(t,e){if(e=e||{},!(t=A(t).round()).x&&!t.y)return this.fire("moveend");if(!0!==e.animate&&!this.getSize().contains(t))return this._resetView(this.unproject(this.project(this.getCenter()).add(t)),this.getZoom()),this;if(this._panAnim||(this._panAnim=new We,this._panAnim.on({step:this._onPanTransitionStep,end:this._onPanTransitionEnd},this)),e.noMoveStart||this.fire("movestart"),!1!==e.animate){se(this._mapPane,"leaflet-pan-anim");var n=this._getMapPanePos().subtract(t).round();this._panAnim.run(this._mapPane,n,e.duration||.25,e.easeLinearity)}else this._rawPanBy(t),this.fire("move").fire("moveend");return this},flyTo:function(t,e,n){if(!1===(n=n||{}).animate||!gt)return this.setView(t,e,n);this._stop();var i=this.project(this.getCenter()),a=this.project(t),r=this.getSize(),o=this._zoom;t=j(t),e=void 0===e?o:e;var s=Math.max(r.x,r.y),l=s*this.getZoomScale(o,e),c=a.distanceTo(i)||1;function d(t){var e=(l*l-s*s+2.0164*(t?-1:1)*2.0164*c*c)/(2*(t?l:s)*2.0164*c),n=Math.sqrt(e*e+1)-e;return n<1e-9?-18:Math.log(n)}function u(t){return(Math.exp(t)-Math.exp(-t))/2}function h(t){return(Math.exp(t)+Math.exp(-t))/2}var m=d(0);var p=Date.now(),f=(d(1)-m)/1.42,g=n.duration?1e3*n.duration:1e3*f*.8;return this._moveStart(!0,n.noMoveStart),(function n(){var r=(Date.now()-p)/g,l=function(t){return 1-Math.pow(1-t,1.5)}(r)*f;r<=1?(this._flyToFrame=M(n,this),this._move(this.unproject(i.add(a.subtract(i).multiplyBy(function(t){return s*(h(m)*(u(e=m+1.42*t)/h(e))-u(m))/2.0164;var e}(l)/c)),o),this.getScaleZoom(s/function(t){return s*(h(m)/h(m+1.42*t))}(l),o),{flyTo:!0})):this._move(t,e)._moveEnd(!0)}).call(this),this},flyToBounds:function(t,e){var n=this._getBoundsCenterZoom(t,e);return this.flyTo(n.center,n.zoom,e)},setMaxBounds:function(t){return(t=Y(t)).isValid()?(this.options.maxBounds&&this.off("moveend",this._panInsideMaxBounds),this.options.maxBounds=t,this._loaded&&this._panInsideMaxBounds(),this.on("moveend",this._panInsideMaxBounds)):(this.options.maxBounds=null,this.off("moveend",this._panInsideMaxBounds))},setMinZoom:function(t){var e=this.options.minZoom;return this.options.minZoom=t,this._loaded&&e!==t&&(this.fire("zoomlevelschange"),this.getZoom()<this.options.minZoom)?this.setZoom(t):this},setMaxZoom:function(t){var e=this.options.maxZoom;return this.options.maxZoom=t,this._loaded&&e!==t&&(this.fire("zoomlevelschange"),this.getZoom()>this.options.maxZoom)?this.setZoom(t):this},panInsideBounds:function(t,e){this._enforcingBounds=!0;var n=this.getCenter(),i=this._limitCenter(n,this._zoom,Y(t));return n.equals(i)||this.panTo(i,e),this._enforcingBounds=!1,this},panInside:function(t,e){var n=A((e=e||{}).paddingTopLeft||e.padding||[0,0]),i=A(e.paddingBottomRight||e.padding||[0,0]),a=this.getCenter(),r=this.project(a),o=this.project(t),s=this.getPixelBounds(),l=s.getSize().divideBy(2),c=R([s.min.add(n),s.max.subtract(i)]);if(!c.contains(o)){this._enforcingBounds=!0;var d=r.subtract(o),u=A(o.x+d.x,o.y+d.y);(o.x<c.min.x||o.x>c.max.x)&&(u.x=r.x-d.x,d.x>0?u.x+=l.x-n.x:u.x-=l.x-i.x),(o.y<c.min.y||o.y>c.max.y)&&(u.y=r.y-d.y,d.y>0?u.y+=l.y-n.y:u.y-=l.y-i.y),this.panTo(this.unproject(u),e),this._enforcingBounds=!1}return this},invalidateSize:function(t){if(!this._loaded)return this;t=e({animate:!1,pan:!0},!0===t?{animate:!0}:t);var n=this.getSize();this._sizeChanged=!0,this._lastCenter=null;var a=this.getSize(),r=n.divideBy(2).round(),o=a.divideBy(2).round(),s=r.subtract(o);return s.x||s.y?(t.animate&&t.pan?this.panBy(s):(t.pan&&this._rawPanBy(s),this.fire("move"),t.debounceMoveend?(clearTimeout(this._sizeTimer),this._sizeTimer=setTimeout(i(this.fire,this,"moveend"),200)):this.fire("moveend")),this.fire("resize",{oldSize:n,newSize:a})):this},stop:function(){return this.setZoom(this._limitZoom(this._zoom)),this.options.zoomSnap||this.fire("viewreset"),this._stop()},locate:function(t){if(t=this._locateOptions=e({timeout:1e4,watch:!1},t),!("geolocation"in navigator))return this._handleGeolocationError({code:0,message:"Geolocation not supported."}),this;var n=i(this._handleGeolocationResponse,this),a=i(this._handleGeolocationError,this);return t.watch?this._locationWatchId=navigator.geolocation.watchPosition(n,a,t):navigator.geolocation.getCurrentPosition(n,a,t),this},stopLocate:function(){return navigator.geolocation&&navigator.geolocation.clearWatch&&navigator.geolocation.clearWatch(this._locationWatchId),this._locateOptions&&(this._locateOptions.setView=!1),this},_handleGeolocationError:function(t){var e=t.code,n=t.message||(1===e?"permission denied":2===e?"position unavailable":"timeout");this._locateOptions.setView&&!this._loaded&&this.fitWorld(),this.fire("locationerror",{code:e,message:"Geolocation error: "+n+"."})},_handleGeolocationResponse:function(t){var e=new H(t.coords.latitude,t.coords.longitude),n=e.toBounds(2*t.coords.accuracy),i=this._locateOptions;if(i.setView){var a=this.getBoundsZoom(n);this.setView(e,i.maxZoom?Math.min(a,i.maxZoom):a)}var r={latlng:e,bounds:n,timestamp:t.timestamp};for(var o in t.coords)"number"==typeof t.coords[o]&&(r[o]=t.coords[o]);this.fire("locationfound",r)},addHandler:function(t,e){if(!e)return this;var n=this[t]=new e(this);return this._handlers.push(n),this.options[t]&&n.enable(),this},remove:function(){if(this._initEvents(!0),this.off("moveend",this._panInsideMaxBounds),this._containerId!==this._container._leaflet_id)throw new Error("Map container is being reused by another instance");try{delete this._container._leaflet_id,delete this._containerId}catch(e){this._container._leaflet_id=void 0,this._containerId=void 0}var t;for(t in void 0!==this._locationWatchId&&this.stopLocate(),this._stop(),ne(this._mapPane),this._clearControlPos&&this._clearControlPos(),this._resizeRequest&&(O(this._resizeRequest),this._resizeRequest=null),this._clearHandlers(),this._loaded&&this.fire("unload"),this._layers)this._layers[t].remove();for(t in this._panes)ne(this._panes[t]);return this._layers=[],this._panes=[],delete this._mapPane,delete this._renderer,this},createPane:function(t,e){var n=ee("div","leaflet-pane"+(t?" leaflet-"+t.replace("Pane","")+"-pane":""),e||this._mapPane);return t&&(this._panes[t]=n),n},getCenter:function(){return this._checkIfLoaded(),this._lastCenter&&!this._moved()?this._lastCenter:this.layerPointToLatLng(this._getCenterLayerPoint())},getZoom:function(){return this._zoom},getBounds:function(){var t=this.getPixelBounds();return new N(this.unproject(t.getBottomLeft()),this.unproject(t.getTopRight()))},getMinZoom:function(){return void 0===this.options.minZoom?this._layersMinZoom||0:this.options.minZoom},getMaxZoom:function(){return void 0===this.options.maxZoom?void 0===this._layersMaxZoom?1/0:this._layersMaxZoom:this.options.maxZoom},getBoundsZoom:function(t,e,n){t=Y(t),n=A(n||[0,0]);var i=this.getZoom()||0,a=this.getMinZoom(),r=this.getMaxZoom(),o=t.getNorthWest(),s=t.getSouthEast(),l=this.getSize().subtract(n),c=R(this.project(s,i),this.project(o,i)).getSize(),d=gt?this.options.zoomSnap:1,u=l.x/c.x,h=l.y/c.y,m=e?Math.max(u,h):Math.min(u,h);return i=this.getScaleZoom(m,i),d&&(i=Math.round(i/(d/100))*(d/100),i=e?Math.ceil(i/d)*d:Math.floor(i/d)*d),Math.max(a,Math.min(r,i))},getSize:function(){return this._size&&!this._sizeChanged||(this._size=new D(this._container.clientWidth||0,this._container.clientHeight||0),this._sizeChanged=!1),this._size.clone()},getPixelBounds:function(t,e){var n=this._getTopLeftPoint(t,e);return new I(n,n.add(this.getSize()))},getPixelOrigin:function(){return this._checkIfLoaded(),this._pixelOrigin},getPixelWorldBounds:function(t){return this.options.crs.getProjectedBounds(void 0===t?this.getZoom():t)},getPane:function(t){return"string"==typeof t?this._panes[t]:t},getPanes:function(){return this._panes},getContainer:function(){return this._container},getZoomScale:function(t,e){var n=this.options.crs;return e=void 0===e?this._zoom:e,n.scale(t)/n.scale(e)},getScaleZoom:function(t,e){var n=this.options.crs,i=n.zoom(t*n.scale(e=void 0===e?this._zoom:e));return isNaN(i)?1/0:i},project:function(t,e){return e=void 0===e?this._zoom:e,this.options.crs.latLngToPoint(j(t),e)},unproject:function(t,e){return e=void 0===e?this._zoom:e,this.options.crs.pointToLatLng(A(t),e)},layerPointToLatLng:function(t){var e=A(t).add(this.getPixelOrigin());return this.unproject(e)},latLngToLayerPoint:function(t){return this.project(j(t))._round()._subtract(this.getPixelOrigin())},wrapLatLng:function(t){return this.options.crs.wrapLatLng(j(t))},wrapLatLngBounds:function(t){return this.options.crs.wrapLatLngBounds(Y(t))},distance:function(t,e){return this.options.crs.distance(j(t),j(e))},containerPointToLayerPoint:function(t){return A(t).subtract(this._getMapPanePos())},layerPointToContainerPoint:function(t){return A(t).add(this._getMapPanePos())},containerPointToLatLng:function(t){var e=this.containerPointToLayerPoint(A(t));return this.layerPointToLatLng(e)},latLngToContainerPoint:function(t){return this.layerPointToContainerPoint(this.latLngToLayerPoint(j(t)))},mouseEventToContainerPoint:function(t){return Ne(t,this._container)},mouseEventToLayerPoint:function(t){return this.containerPointToLayerPoint(this.mouseEventToContainerPoint(t))},mouseEventToLatLng:function(t){return this.layerPointToLatLng(this.mouseEventToLayerPoint(t))},_initContainer:function(t){var e=this._container=Qt(t);if(!e)throw new Error("Map container not found.");if(e._leaflet_id)throw new Error("Map container is already initialized.");Me(e,"scroll",this._onScroll,this),this._containerId=r(e)},_initLayout:function(){var t=this._container;this._fadeAnimated=this.options.fadeAnimation&&gt,se(t,"leaflet-container"+(wt?" leaflet-touch":"")+(Ot?" leaflet-retina":"")+(Q?" leaflet-oldie":"")+(ct?" leaflet-safari":"")+(this._fadeAnimated?" leaflet-fade-anim":""));var e=te(t,"position");"absolute"!==e&&"relative"!==e&&"fixed"!==e&&(t.style.position="relative"),this._initPanes(),this._initControlPos&&this._initControlPos()},_initPanes:function(){var t=this._panes={};this._paneRenderers={},this._mapPane=this.createPane("mapPane",this._container),pe(this._mapPane,new D(0,0)),this.createPane("tilePane"),this.createPane("shadowPane"),this.createPane("overlayPane"),this.createPane("markerPane"),this.createPane("tooltipPane"),this.createPane("popupPane"),this.options.markerZoomAnimation||(se(t.markerPane,"leaflet-zoom-hide"),se(t.shadowPane,"leaflet-zoom-hide"))},_resetView:function(t,e){pe(this._mapPane,new D(0,0));var n=!this._loaded;this._loaded=!0,e=this._limitZoom(e),this.fire("viewprereset");var i=this._zoom!==e;this._moveStart(i,!1)._move(t,e)._moveEnd(i),this.fire("viewreset"),n&&this.fire("load")},_moveStart:function(t,e){return t&&this.fire("zoomstart"),e||this.fire("movestart"),this},_move:function(t,e,n){void 0===e&&(e=this._zoom);var i=this._zoom!==e;return this._zoom=e,this._lastCenter=t,this._pixelOrigin=this._getNewPixelOrigin(t),(i||n&&n.pinch)&&this.fire("zoom",n),this.fire("move",n)},_moveEnd:function(t){return t&&this.fire("zoomend"),this.fire("moveend")},_stop:function(){return O(this._flyToFrame),this._panAnim&&this._panAnim.stop(),this},_rawPanBy:function(t){pe(this._mapPane,this._getMapPanePos().subtract(t))},_getZoomSpan:function(){return this.getMaxZoom()-this.getMinZoom()},_panInsideMaxBounds:function(){this._enforcingBounds||this.panInsideBounds(this.options.maxBounds)},_checkIfLoaded:function(){if(!this._loaded)throw new Error("Set map center and zoom first.")},_initEvents:function(t){this._targets={},this._targets[r(this._container)]=this;var e=t?ke:Me;e(this._container,"click dblclick mousedown mouseup mouseover mouseout mousemove contextmenu keypress keydown keyup",this._handleDOMEvent,this),this.options.trackResize&&e(window,"resize",this._onResize,this),gt&&this.options.transform3DLimit&&(t?this.off:this.on).call(this,"moveend",this._onMoveEnd)},_onResize:function(){O(this._resizeRequest),this._resizeRequest=M(function(){this.invalidateSize({debounceMoveend:!0})},this)},_onScroll:function(){this._container.scrollTop=0,this._container.scrollLeft=0},_onMoveEnd:function(){var t=this._getMapPanePos();Math.max(Math.abs(t.x),Math.abs(t.y))>=this.options.transform3DLimit&&this._resetView(this.getCenter(),this.getZoom())},_findEventTargets:function(t,e){for(var n,i=[],a="mouseout"===e||"mouseover"===e,o=t.target||t.srcElement,s=!1;o;){if((n=this._targets[r(o)])&&("click"===e||"preclick"===e)&&!t._simulated&&this._draggableMoved(n)){s=!0;break}if(n&&n.listens(e,!0)){if(a&&!Ve(o,t))break;if(i.push(n),a)break}if(o===this._container)break;o=o.parentNode}return i.length||s||a||!Ve(o,t)||(i=[this]),i},_handleDOMEvent:function(t){if(this._loaded&&!ze(t)){var e=t.type;"mousedown"!==e&&"keypress"!==e&&"keyup"!==e&&"keydown"!==e||ye(t.target||t.srcElement),this._fireDOMEvent(t,e)}},_mouseEvents:["click","dblclick","mouseover","mouseout","contextmenu"],_fireDOMEvent:function(t,n,i){if("click"===t.type){var a=e({},t);a.type="preclick",this._fireDOMEvent(a,a.type,i)}if(!t._stopped&&(i=(i||[]).concat(this._findEventTargets(t,n))).length){var r=i[0];"contextmenu"===n&&r.listens(n,!0)&&Ie(t);var o={originalEvent:t};if("keypress"!==t.type&&"keydown"!==t.type&&"keyup"!==t.type){var s=r.getLatLng&&(!r._radius||r._radius<=10);o.containerPoint=s?this.latLngToContainerPoint(r.getLatLng()):this.mouseEventToContainerPoint(t),o.layerPoint=this.containerPointToLayerPoint(o.containerPoint),o.latlng=s?r.getLatLng():this.layerPointToLatLng(o.layerPoint)}for(var l=0;l<i.length;l++)if(i[l].fire(n,o,!0),o.originalEvent._stopped||!1===i[l].options.bubblingMouseEvents&&-1!==b(this._mouseEvents,n))return}},_draggableMoved:function(t){return(t=t.dragging&&t.dragging.enabled()?t:this).dragging&&t.dragging.moved()||this.boxZoom&&this.boxZoom.moved()},_clearHandlers:function(){for(var t=0,e=this._handlers.length;t<e;t++)this._handlers[t].disable()},whenReady:function(t,e){return this._loaded?t.call(e||this,{target:this}):this.on("load",t,e),this},_getMapPanePos:function(){return fe(this._mapPane)||new D(0,0)},_moved:function(){var t=this._getMapPanePos();return t&&!t.equals([0,0])},_getTopLeftPoint:function(t,e){return(t&&void 0!==e?this._getNewPixelOrigin(t,e):this.getPixelOrigin()).subtract(this._getMapPanePos())},_getNewPixelOrigin:function(t,e){var n=this.getSize()._divideBy(2);return this.project(t,e)._subtract(n)._add(this._getMapPanePos())._round()},_latLngToNewLayerPoint:function(t,e,n){var i=this._getNewPixelOrigin(n,e);return this.project(t,e)._subtract(i)},_latLngBoundsToNewLayerBounds:function(t,e,n){var i=this._getNewPixelOrigin(n,e);return R([this.project(t.getSouthWest(),e)._subtract(i),this.project(t.getNorthWest(),e)._subtract(i),this.project(t.getSouthEast(),e)._subtract(i),this.project(t.getNorthEast(),e)._subtract(i)])},_getCenterLayerPoint:function(){return this.containerPointToLayerPoint(this.getSize()._divideBy(2))},_getCenterOffset:function(t){return this.latLngToLayerPoint(t).subtract(this._getCenterLayerPoint())},_limitCenter:function(t,e,n){if(!n)return t;var i=this.project(t,e),a=this.getSize().divideBy(2),r=new I(i.subtract(a),i.add(a)),o=this._getBoundsOffset(r,n,e);return o.round().equals([0,0])?t:this.unproject(i.add(o),e)},_limitOffset:function(t,e){if(!e)return t;var n=this.getPixelBounds(),i=new I(n.min.add(t),n.max.add(t));return t.add(this._getBoundsOffset(i,e))},_getBoundsOffset:function(t,e,n){var i=R(this.project(e.getNorthEast(),n),this.project(e.getSouthWest(),n)),a=i.min.subtract(t.min),r=i.max.subtract(t.max);return new D(this._rebound(a.x,-r.x),this._rebound(a.y,-r.y))},_rebound:function(t,e){return t+e>0?Math.round(t-e)/2:Math.max(0,Math.ceil(t))-Math.max(0,Math.floor(e))},_limitZoom:function(t){var e=this.getMinZoom(),n=this.getMaxZoom(),i=gt?this.options.zoomSnap:1;return i&&(t=Math.round(t/i)*i),Math.max(e,Math.min(n,t))},_onPanTransitionStep:function(){this.fire("move")},_onPanTransitionEnd:function(){le(this._mapPane,"leaflet-pan-anim"),this.fire("moveend")},_tryAnimatedPan:function(t,e){var n=this._getCenterOffset(t)._trunc();return!(!0!==(e&&e.animate)&&!this.getSize().contains(n)||(this.panBy(n,e),0))},_createAnimProxy:function(){var t=this._proxy=ee("div","leaflet-proxy leaflet-zoom-animated");this._panes.mapPane.appendChild(t),this.on("zoomanim",function(t){var e=$t,n=this._proxy.style[e];me(this._proxy,this.project(t.center,t.zoom),this.getZoomScale(t.zoom,1)),n===this._proxy.style[e]&&this._animatingZoom&&this._onZoomTransitionEnd()},this),this.on("load moveend",this._animMoveEnd,this),this._on("unload",this._destroyAnimProxy,this)},_destroyAnimProxy:function(){ne(this._proxy),this.off("load moveend",this._animMoveEnd,this),delete this._proxy},_animMoveEnd:function(){var t=this.getCenter(),e=this.getZoom();me(this._proxy,this.project(t,e),this.getZoomScale(e,1))},_catchTransitionEnd:function(t){this._animatingZoom&&t.propertyName.indexOf("transform")>=0&&this._onZoomTransitionEnd()},_nothingToAnimate:function(){return!this._container.getElementsByClassName("leaflet-zoom-animated").length},_tryAnimatedZoom:function(t,e,n){if(this._animatingZoom)return!0;if(n=n||{},!this._zoomAnimated||!1===n.animate||this._nothingToAnimate()||Math.abs(e-this._zoom)>this.options.zoomAnimationThreshold)return!1;var i=this.getZoomScale(e),a=this._getCenterOffset(t)._divideBy(1-1/i);return!(!0!==n.animate&&!this.getSize().contains(a)||(M(function(){this._moveStart(!0,!1)._animateZoom(t,e,!0)},this),0))},_animateZoom:function(t,e,n,a){this._mapPane&&(n&&(this._animatingZoom=!0,this._animateToCenter=t,this._animateToZoom=e,se(this._mapPane,"leaflet-zoom-anim")),this.fire("zoomanim",{center:t,zoom:e,noUpdate:a}),setTimeout(i(this._onZoomTransitionEnd,this),250))},_onZoomTransitionEnd:function(){this._animatingZoom&&(this._mapPane&&le(this._mapPane,"leaflet-zoom-anim"),this._animatingZoom=!1,this._move(this._animateToCenter,this._animateToZoom),M(function(){this._moveEnd(!0)},this))}}),qe=S.extend({options:{position:"topright"},initialize:function(t){h(this,t)},getPosition:function(){return this.options.position},setPosition:function(t){var e=this._map;return e&&e.removeControl(this),this.options.position=t,e&&e.addControl(this),this},getContainer:function(){return this._container},addTo:function(t){this.remove(),this._map=t;var e=this._container=this.onAdd(t),n=this.getPosition(),i=t._controlCorners[n];return se(e,"leaflet-control"),-1!==n.indexOf("bottom")?i.insertBefore(e,i.firstChild):i.appendChild(e),this._map.on("unload",this.remove,this),this},remove:function(){return this._map?(ne(this._container),this.onRemove&&this.onRemove(this._map),this._map.off("unload",this.remove,this),this._map=null,this):this},_refocusOnMap:function(t){this._map&&t&&t.screenX>0&&t.screenY>0&&this._map.getContainer().focus()}}),Ge=function(t){return new qe(t)};Ue.include({addControl:function(t){return t.addTo(this),this},removeControl:function(t){return t.remove(),this},_initControlPos:function(){var t=this._controlCorners={},e="leaflet-",n=this._controlContainer=ee("div",e+"control-container",this._container);function i(i,a){t[i+a]=ee("div",e+i+" "+e+a,n)}i("top","left"),i("top","right"),i("bottom","left"),i("bottom","right")},_clearControlPos:function(){for(var t in this._controlCorners)ne(this._controlCorners[t]);ne(this._controlContainer),delete this._controlCorners,delete this._controlContainer}});var Je=qe.extend({options:{collapsed:!0,position:"topright",autoZIndex:!0,hideSingleBase:!1,sortLayers:!1,sortFunction:function(t,e,n,i){return n<i?-1:i<n?1:0}},initialize:function(t,e,n){for(var i in h(this,n),this._layerControlInputs=[],this._layers=[],this._lastZIndex=0,this._handlingClick=!1,t)this._addLayer(t[i],i);for(i in e)this._addLayer(e[i],i,!0)},onAdd:function(t){this._initLayout(),this._update(),this._map=t,t.on("zoomend",this._checkDisabledLayers,this);for(var e=0;e<this._layers.length;e++)this._layers[e].layer.on("add remove",this._onLayerChange,this);return this._container},addTo:function(t){return qe.prototype.addTo.call(this,t),this._expandIfNotCollapsed()},onRemove:function(){this._map.off("zoomend",this._checkDisabledLayers,this);for(var t=0;t<this._layers.length;t++)this._layers[t].layer.off("add remove",this._onLayerChange,this)},addBaseLayer:function(t,e){return this._addLayer(t,e),this._map?this._update():this},addOverlay:function(t,e){return this._addLayer(t,e,!0),this._map?this._update():this},removeLayer:function(t){t.off("add remove",this._onLayerChange,this);var e=this._getLayer(r(t));return e&&this._layers.splice(this._layers.indexOf(e),1),this._map?this._update():this},expand:function(){se(this._container,"leaflet-control-layers-expanded"),this._section.style.height=null;var t=this._map.getSize().y-(this._container.offsetTop+50);return t<this._section.clientHeight?(se(this._section,"leaflet-control-layers-scrollbar"),this._section.style.height=t+"px"):le(this._section,"leaflet-control-layers-scrollbar"),this._checkDisabledLayers(),this},collapse:function(){return le(this._container,"leaflet-control-layers-expanded"),this},_initLayout:function(){var t="leaflet-control-layers",e=this._container=ee("div",t),n=this.options.collapsed;e.setAttribute("aria-haspopup",!0),Ae(e),Ee(e);var i=this._section=ee("section",t+"-list");n&&(this._map.on("click",this.collapse,this),nt||Me(e,{mouseenter:this.expand,mouseleave:this.collapse},this));var a=this._layersLink=ee("a",t+"-toggle",e);a.href="#",a.title="Layers",wt?(Me(a,"click",Re),Me(a,"click",this.expand,this)):Me(a,"focus",this.expand,this),n||this.expand(),this._baseLayersList=ee("div",t+"-base",i),this._separator=ee("div",t+"-separator",i),this._overlaysList=ee("div",t+"-overlays",i),e.appendChild(i)},_getLayer:function(t){for(var e=0;e<this._layers.length;e++)if(this._layers[e]&&r(this._layers[e].layer)===t)return this._layers[e]},_addLayer:function(t,e,n){this._map&&t.on("add remove",this._onLayerChange,this),this._layers.push({layer:t,name:e,overlay:n}),this.options.sortLayers&&this._layers.sort(i(function(t,e){return this.options.sortFunction(t.layer,e.layer,t.name,e.name)},this)),this.options.autoZIndex&&t.setZIndex&&(this._lastZIndex++,t.setZIndex(this._lastZIndex)),this._expandIfNotCollapsed()},_update:function(){if(!this._container)return this;ie(this._baseLayersList),ie(this._overlaysList),this._layerControlInputs=[];var t,e,n,i,a=0;for(n=0;n<this._layers.length;n++)this._addItem(i=this._layers[n]),e=e||i.overlay,t=t||!i.overlay,a+=i.overlay?0:1;return this.options.hideSingleBase&&(this._baseLayersList.style.display=(t=t&&a>1)?"":"none"),this._separator.style.display=e&&t?"":"none",this},_onLayerChange:function(t){this._handlingClick||this._update();var e=this._getLayer(r(t.target)),n=e.overlay?"add"===t.type?"overlayadd":"overlayremove":"add"===t.type?"baselayerchange":null;n&&this._map.fire(n,e)},_createRadioElement:function(t,e){var n='<input type="radio" class="leaflet-control-layers-selector" name="'+t+'"'+(e?' checked="checked"':"")+"/>",i=document.createElement("div");return i.innerHTML=n,i.firstChild},_addItem:function(t){var e,n=document.createElement("label"),i=this._map.hasLayer(t.layer);t.overlay?((e=document.createElement("input")).type="checkbox",e.className="leaflet-control-layers-selector",e.defaultChecked=i):e=this._createRadioElement("leaflet-base-layers_"+r(this),i),this._layerControlInputs.push(e),e.layerId=r(t.layer),Me(e,"click",this._onInputClick,this);var a=document.createElement("span");a.innerHTML=" "+t.name;var o=document.createElement("div");return n.appendChild(o),o.appendChild(e),o.appendChild(a),(t.overlay?this._overlaysList:this._baseLayersList).appendChild(n),this._checkDisabledLayers(),n},_onInputClick:function(){var t,e,n=this._layerControlInputs,i=[],a=[];this._handlingClick=!0;for(var r=n.length-1;r>=0;r--)e=this._getLayer((t=n[r]).layerId).layer,t.checked?i.push(e):t.checked||a.push(e);for(r=0;r<a.length;r++)this._map.hasLayer(a[r])&&this._map.removeLayer(a[r]);for(r=0;r<i.length;r++)this._map.hasLayer(i[r])||this._map.addLayer(i[r]);this._handlingClick=!1,this._refocusOnMap()},_checkDisabledLayers:function(){for(var t,e,n=this._layerControlInputs,i=this._map.getZoom(),a=n.length-1;a>=0;a--)e=this._getLayer((t=n[a]).layerId).layer,t.disabled=void 0!==e.options.minZoom&&i<e.options.minZoom||void 0!==e.options.maxZoom&&i>e.options.maxZoom},_expandIfNotCollapsed:function(){return this._map&&!this.options.collapsed&&this.expand(),this},_expand:function(){return this.expand()},_collapse:function(){return this.collapse()}}),Ze=qe.extend({options:{position:"topleft",zoomInText:"+",zoomInTitle:"Zoom in",zoomOutText:"&#x2212;",zoomOutTitle:"Zoom out"},onAdd:function(t){var e="leaflet-control-zoom",n=ee("div",e+" leaflet-bar"),i=this.options;return this._zoomInButton=this._createButton(i.zoomInText,i.zoomInTitle,e+"-in",n,this._zoomIn),this._zoomOutButton=this._createButton(i.zoomOutText,i.zoomOutTitle,e+"-out",n,this._zoomOut),this._updateDisabled(),t.on("zoomend zoomlevelschange",this._updateDisabled,this),n},onRemove:function(t){t.off("zoomend zoomlevelschange",this._updateDisabled,this)},disable:function(){return this._disabled=!0,this._updateDisabled(),this},enable:function(){return this._disabled=!1,this._updateDisabled(),this},_zoomIn:function(t){!this._disabled&&this._map._zoom<this._map.getMaxZoom()&&this._map.zoomIn(this._map.options.zoomDelta*(t.shiftKey?3:1))},_zoomOut:function(t){!this._disabled&&this._map._zoom>this._map.getMinZoom()&&this._map.zoomOut(this._map.options.zoomDelta*(t.shiftKey?3:1))},_createButton:function(t,e,n,i,a){var r=ee("a",n,i);return r.innerHTML=t,r.href="#",r.title=e,r.setAttribute("role","button"),r.setAttribute("aria-label",e),Ae(r),Me(r,"click",Re),Me(r,"click",a,this),Me(r,"click",this._refocusOnMap,this),r},_updateDisabled:function(){var t=this._map,e="leaflet-disabled";le(this._zoomInButton,e),le(this._zoomOutButton,e),(this._disabled||t._zoom===t.getMinZoom())&&se(this._zoomOutButton,e),(this._disabled||t._zoom===t.getMaxZoom())&&se(this._zoomInButton,e)}});Ue.mergeOptions({zoomControl:!0}),Ue.addInitHook(function(){this.options.zoomControl&&(this.zoomControl=new Ze,this.addControl(this.zoomControl))});var $e=qe.extend({options:{position:"bottomleft",maxWidth:100,metric:!0,imperial:!0},onAdd:function(t){var e=ee("div","leaflet-control-scale"),n=this.options;return this._addScales(n,"leaflet-control-scale-line",e),t.on(n.updateWhenIdle?"moveend":"move",this._update,this),t.whenReady(this._update,this),e},onRemove:function(t){t.off(this.options.updateWhenIdle?"moveend":"move",this._update,this)},_addScales:function(t,e,n){t.metric&&(this._mScale=ee("div",e,n)),t.imperial&&(this._iScale=ee("div",e,n))},_update:function(){var t=this._map,e=t.getSize().y/2,n=t.distance(t.containerPointToLatLng([0,e]),t.containerPointToLatLng([this.options.maxWidth,e]));this._updateScales(n)},_updateScales:function(t){this.options.metric&&t&&this._updateMetric(t),this.options.imperial&&t&&this._updateImperial(t)},_updateMetric:function(t){var e=this._getRoundNum(t);this._updateScale(this._mScale,e<1e3?e+" m":e/1e3+" km",e/t)},_updateImperial:function(t){var e,n,i,a=3.2808399*t;a>5280?(n=this._getRoundNum(e=a/5280),this._updateScale(this._iScale,n+" mi",n/e)):(i=this._getRoundNum(a),this._updateScale(this._iScale,i+" ft",i/a))},_updateScale:function(t,e,n){t.style.width=Math.round(this.options.maxWidth*n)+"px",t.innerHTML=e},_getRoundNum:function(t){var e=Math.pow(10,(Math.floor(t)+"").length-1),n=t/e;return e*(n>=10?10:n>=5?5:n>=3?3:n>=2?2:1)}}),Xe=qe.extend({options:{position:"bottomright",prefix:'<a href="https://leafletjs.com" title="A JS library for interactive maps">Leaflet</a>'},initialize:function(t){h(this,t),this._attributions={}},onAdd:function(t){for(var e in t.attributionControl=this,this._container=ee("div","leaflet-control-attribution"),Ae(this._container),t._layers)t._layers[e].getAttribution&&this.addAttribution(t._layers[e].getAttribution());return this._update(),this._container},setPrefix:function(t){return this.options.prefix=t,this._update(),this},addAttribution:function(t){return t?(this._attributions[t]||(this._attributions[t]=0),this._attributions[t]++,this._update(),this):this},removeAttribution:function(t){return t?(this._attributions[t]&&(this._attributions[t]--,this._update()),this):this},_update:function(){if(this._map){var t=[];for(var e in this._attributions)this._attributions[e]&&t.push(e);var n=[];this.options.prefix&&n.push(this.options.prefix),t.length&&n.push(t.join(", ")),this._container.innerHTML=n.join(" | ")}}});Ue.mergeOptions({attributionControl:!0}),Ue.addInitHook(function(){this.options.attributionControl&&(new Xe).addTo(this)}),qe.Layers=Je,qe.Zoom=Ze,qe.Scale=$e,qe.Attribution=Xe,Ge.layers=function(t,e,n){return new Je(t,e,n)},Ge.zoom=function(t){return new Ze(t)},Ge.scale=function(t){return new $e(t)},Ge.attribution=function(t){return new Xe(t)};var Ke=S.extend({initialize:function(t){this._map=t},enable:function(){return this._enabled||(this._enabled=!0,this.addHooks()),this},disable:function(){return this._enabled?(this._enabled=!1,this.removeHooks(),this):this},enabled:function(){return!!this._enabled}});Ke.addTo=function(t,e){return t.addHandler(e,this),this};var Qe,tn={Events:T},en=wt?"touchstart mousedown":"mousedown",nn={mousedown:"mouseup",touchstart:"touchend",pointerdown:"touchend",MSPointerDown:"touchend"},an={mousedown:"mousemove",touchstart:"touchmove",pointerdown:"touchmove",MSPointerDown:"touchmove"},rn=P.extend({options:{clickTolerance:3},initialize:function(t,e,n,i){h(this,i),this._element=t,this._dragStartTarget=e||t,this._preventOutline=n},enable:function(){this._enabled||(Me(this._dragStartTarget,en,this._onDown,this),this._enabled=!0)},disable:function(){this._enabled&&(rn._dragging===this&&this.finishDrag(),ke(this._dragStartTarget,en,this._onDown,this),this._enabled=!1,this._moved=!1)},_onDown:function(t){if(!t._simulated&&this._enabled&&(this._moved=!1,!oe(this._element,"leaflet-zoom-anim")&&!(rn._dragging||t.shiftKey||1!==t.which&&1!==t.button&&!t.touches||(rn._dragging=this,this._preventOutline&&ye(this._element),be(),Vt(),this._moving)))){this.fire("down");var e=t.touches?t.touches[0]:t,n=Ce(this._element);this._startPoint=new D(e.clientX,e.clientY),this._parentScale=we(n),Me(document,an[t.type],this._onMove,this),Me(document,nn[t.type],this._onUp,this)}},_onMove:function(t){if(!t._simulated&&this._enabled)if(t.touches&&t.touches.length>1)this._moved=!0;else{var e=t.touches&&1===t.touches.length?t.touches[0]:t,n=new D(e.clientX,e.clientY)._subtract(this._startPoint);(n.x||n.y)&&(Math.abs(n.x)+Math.abs(n.y)<this.options.clickTolerance||(n.x/=this._parentScale.x,n.y/=this._parentScale.y,Ie(t),this._moved||(this.fire("dragstart"),this._moved=!0,this._startPos=fe(this._element).subtract(n),se(document.body,"leaflet-dragging"),this._lastTarget=t.target||t.srcElement,window.SVGElementInstance&&this._lastTarget instanceof window.SVGElementInstance&&(this._lastTarget=this._lastTarget.correspondingUseElement),se(this._lastTarget,"leaflet-drag-target")),this._newPos=this._startPos.add(n),this._moving=!0,O(this._animRequest),this._lastEvent=t,this._animRequest=M(this._updatePosition,this,!0)))}},_updatePosition:function(){var t={originalEvent:this._lastEvent};this.fire("predrag",t),pe(this._element,this._newPos),this.fire("drag",t)},_onUp:function(t){!t._simulated&&this._enabled&&this.finishDrag()},finishDrag:function(){for(var t in le(document.body,"leaflet-dragging"),this._lastTarget&&(le(this._lastTarget,"leaflet-drag-target"),this._lastTarget=null),an)ke(document,an[t],this._onMove,this),ke(document,nn[t],this._onUp,this);_e(),Bt(),this._moved&&this._moving&&(O(this._animRequest),this.fire("dragend",{distance:this._newPos.distanceTo(this._startPos)})),this._moving=!1,rn._dragging=!1}});function on(t,e){if(!e||!t.length)return t.slice();var n=e*e;return function(t,e){var n=t.length,i=new(typeof Uint8Array!=void 0+""?Uint8Array:Array)(n);i[0]=i[n-1]=1,ln(t,i,e,0,n-1);var a,r=[];for(a=0;a<n;a++)i[a]&&r.push(t[a]);return r}(t=function(t,e){for(var n=[t[0]],i=1,a=0,r=t.length;i<r;i++)l=void 0,c=void 0,(l=(s=t[a]).x-(o=t[i]).x)*l+(c=s.y-o.y)*c>e&&(n.push(t[i]),a=i);var o,s,l,c;return a<r-1&&n.push(t[r-1]),n}(t,n),n)}function sn(t,e,n){return Math.sqrt(hn(t,e,n,!0))}function ln(t,e,n,i,a){var r,o,s,l=0;for(o=i+1;o<=a-1;o++)(s=hn(t[o],t[i],t[a],!0))>l&&(r=o,l=s);l>n&&(e[r]=1,ln(t,e,n,i,r),ln(t,e,n,r,a))}function cn(t,e,n,i,a){var r,o,s,l=i?Qe:un(t,n),c=un(e,n);for(Qe=c;;){if(!(l|c))return[t,e];if(l&c)return!1;s=un(o=dn(t,e,r=l||c,n,a),n),r===l?(t=o,l=s):(e=o,c=s)}}function dn(t,e,n,i,a){var r,o,s=e.x-t.x,l=e.y-t.y,c=i.min,d=i.max;return 8&n?(r=t.x+s*(d.y-t.y)/l,o=d.y):4&n?(r=t.x+s*(c.y-t.y)/l,o=c.y):2&n?(r=d.x,o=t.y+l*(d.x-t.x)/s):1&n&&(r=c.x,o=t.y+l*(c.x-t.x)/s),new D(r,o,a)}function un(t,e){var n=0;return t.x<e.min.x?n|=1:t.x>e.max.x&&(n|=2),t.y<e.min.y?n|=4:t.y>e.max.y&&(n|=8),n}function hn(t,e,n,i){var a,r=e.x,o=e.y,s=n.x-r,l=n.y-o,c=s*s+l*l;return c>0&&((a=((t.x-r)*s+(t.y-o)*l)/c)>1?(r=n.x,o=n.y):a>0&&(r+=s*a,o+=l*a)),s=t.x-r,l=t.y-o,i?s*s+l*l:new D(r,o)}function mn(t){return!g(t[0])||"object"!=typeof t[0][0]&&void 0!==t[0][0]}function pn(t){return console.warn("Deprecated use of _flat, please use L.LineUtil.isFlat instead."),mn(t)}var fn={simplify:on,pointToSegmentDistance:sn,closestPointOnSegment:function(t,e,n){return hn(t,e,n)},clipSegment:cn,_getEdgeIntersection:dn,_getBitCode:un,_sqClosestPointOnSegment:hn,isFlat:mn,_flat:pn};function gn(t,e,n){var i,a,r,o,s,l,c,d,u,h=[1,4,2,8];for(a=0,c=t.length;a<c;a++)t[a]._code=un(t[a],e);for(o=0;o<4;o++){for(d=h[o],i=[],a=0,r=(c=t.length)-1;a<c;r=a++)l=t[r],(s=t[a])._code&d?l._code&d||((u=dn(l,s,d,e,n))._code=un(u,e),i.push(u)):(l._code&d&&((u=dn(l,s,d,e,n))._code=un(u,e),i.push(u)),i.push(s));t=i}return t}var bn={clipPolygon:gn},_n={project:function(t){return new D(t.lng,t.lat)},unproject:function(t){return new H(t.y,t.x)},bounds:new I([-180,-90],[180,90])},yn={R:6378137,R_MINOR:6356752.314245179,bounds:new I([-20037508.34279,-15496570.73972],[20037508.34279,18764656.23138]),project:function(t){var e=Math.PI/180,n=this.R,i=t.lat*e,a=this.R_MINOR/n,r=Math.sqrt(1-a*a),o=r*Math.sin(i),s=Math.tan(Math.PI/4-i/2)/Math.pow((1-o)/(1+o),r/2);return i=-n*Math.log(Math.max(s,1e-10)),new D(t.lng*e*n,i)},unproject:function(t){for(var e,n=180/Math.PI,i=this.R,a=this.R_MINOR/i,r=Math.sqrt(1-a*a),o=Math.exp(-t.y/i),s=Math.PI/2-2*Math.atan(o),l=0,c=.1;l<15&&Math.abs(c)>1e-7;l++)e=r*Math.sin(s),e=Math.pow((1-e)/(1+e),r/2),s+=c=Math.PI/2-2*Math.atan(o*e)-s;return new H(s*n,t.x*n/i)}},vn={LonLat:_n,Mercator:yn,SphericalMercator:B},Cn=e({},V,{code:"EPSG:3395",projection:yn,transformation:function(){var t=.5/(Math.PI*yn.R);return U(t,.5,-t,.5)}()}),wn=e({},V,{code:"EPSG:4326",projection:_n,transformation:U(1/180,1,-1/180,.5)}),xn=e({},z,{projection:_n,transformation:U(1,0,-1,0),scale:function(t){return Math.pow(2,t)},zoom:function(t){return Math.log(t)/Math.LN2},distance:function(t,e){var n=e.lng-t.lng,i=e.lat-t.lat;return Math.sqrt(n*n+i*i)},infinite:!0});z.Earth=V,z.EPSG3395=Cn,z.EPSG3857=G,z.EPSG900913=J,z.EPSG4326=wn,z.Simple=xn;var Mn=P.extend({options:{pane:"overlayPane",attribution:null,bubblingMouseEvents:!0},addTo:function(t){return t.addLayer(this),this},remove:function(){return this.removeFrom(this._map||this._mapToAdd)},removeFrom:function(t){return t&&t.removeLayer(this),this},getPane:function(t){return this._map.getPane(t?this.options[t]||t:this.options.pane)},addInteractiveTarget:function(t){return this._map._targets[r(t)]=this,this},removeInteractiveTarget:function(t){return delete this._map._targets[r(t)],this},getAttribution:function(){return this.options.attribution},_layerAdd:function(t){var e=t.target;if(e.hasLayer(this)){if(this._map=e,this._zoomAnimated=e._zoomAnimated,this.getEvents){var n=this.getEvents();e.on(n,this),this.once("remove",function(){e.off(n,this)},this)}this.onAdd(e),this.getAttribution&&e.attributionControl&&e.attributionControl.addAttribution(this.getAttribution()),this.fire("add"),e.fire("layeradd",{layer:this})}}});Ue.include({addLayer:function(t){if(!t._layerAdd)throw new Error("The provided object is not a Layer.");var e=r(t);return this._layers[e]||(this._layers[e]=t,t._mapToAdd=this,t.beforeAdd&&t.beforeAdd(this),this.whenReady(t._layerAdd,t)),this},removeLayer:function(t){var e=r(t);return this._layers[e]?(this._loaded&&t.onRemove(this),t.getAttribution&&this.attributionControl&&this.attributionControl.removeAttribution(t.getAttribution()),delete this._layers[e],this._loaded&&(this.fire("layerremove",{layer:t}),t.fire("remove")),t._map=t._mapToAdd=null,this):this},hasLayer:function(t){return!!t&&r(t)in this._layers},eachLayer:function(t,e){for(var n in this._layers)t.call(e,this._layers[n]);return this},_addLayers:function(t){for(var e=0,n=(t=t?g(t)?t:[t]:[]).length;e<n;e++)this.addLayer(t[e])},_addZoomLimit:function(t){!isNaN(t.options.maxZoom)&&isNaN(t.options.minZoom)||(this._zoomBoundLayers[r(t)]=t,this._updateZoomLevels())},_removeZoomLimit:function(t){var e=r(t);this._zoomBoundLayers[e]&&(delete this._zoomBoundLayers[e],this._updateZoomLevels())},_updateZoomLevels:function(){var t=1/0,e=-1/0,n=this._getZoomSpan();for(var i in this._zoomBoundLayers){var a=this._zoomBoundLayers[i].options;t=void 0===a.minZoom?t:Math.min(t,a.minZoom),e=void 0===a.maxZoom?e:Math.max(e,a.maxZoom)}this._layersMaxZoom=e===-1/0?void 0:e,this._layersMinZoom=t===1/0?void 0:t,n!==this._getZoomSpan()&&this.fire("zoomlevelschange"),void 0===this.options.maxZoom&&this._layersMaxZoom&&this.getZoom()>this._layersMaxZoom&&this.setZoom(this._layersMaxZoom),void 0===this.options.minZoom&&this._layersMinZoom&&this.getZoom()<this._layersMinZoom&&this.setZoom(this._layersMinZoom)}});var On=Mn.extend({initialize:function(t,e){var n,i;if(h(this,e),this._layers={},t)for(n=0,i=t.length;n<i;n++)this.addLayer(t[n])},addLayer:function(t){var e=this.getLayerId(t);return this._layers[e]=t,this._map&&this._map.addLayer(t),this},removeLayer:function(t){var e=t in this._layers?t:this.getLayerId(t);return this._map&&this._layers[e]&&this._map.removeLayer(this._layers[e]),delete this._layers[e],this},hasLayer:function(t){return!!t&&("number"==typeof t?t:this.getLayerId(t))in this._layers},clearLayers:function(){return this.eachLayer(this.removeLayer,this)},invoke:function(t){var e,n,i=Array.prototype.slice.call(arguments,1);for(e in this._layers)(n=this._layers[e])[t]&&n[t].apply(n,i);return this},onAdd:function(t){this.eachLayer(t.addLayer,t)},onRemove:function(t){this.eachLayer(t.removeLayer,t)},eachLayer:function(t,e){for(var n in this._layers)t.call(e,this._layers[n]);return this},getLayer:function(t){return this._layers[t]},getLayers:function(){var t=[];return this.eachLayer(t.push,t),t},setZIndex:function(t){return this.invoke("setZIndex",t)},getLayerId:function(t){return r(t)}}),kn=On.extend({addLayer:function(t){return this.hasLayer(t)?this:(t.addEventParent(this),On.prototype.addLayer.call(this,t),this.fire("layeradd",{layer:t}))},removeLayer:function(t){return this.hasLayer(t)?(t in this._layers&&(t=this._layers[t]),t.removeEventParent(this),On.prototype.removeLayer.call(this,t),this.fire("layerremove",{layer:t})):this},setStyle:function(t){return this.invoke("setStyle",t)},bringToFront:function(){return this.invoke("bringToFront")},bringToBack:function(){return this.invoke("bringToBack")},getBounds:function(){var t=new N;for(var e in this._layers){var n=this._layers[e];t.extend(n.getBounds?n.getBounds():n.getLatLng())}return t}}),Sn=S.extend({options:{popupAnchor:[0,0],tooltipAnchor:[0,0]},initialize:function(t){h(this,t)},createIcon:function(t){return this._createIcon("icon",t)},createShadow:function(t){return this._createIcon("shadow",t)},_createIcon:function(t,e){var n=this._getIconUrl(t);if(!n){if("icon"===t)throw new Error("iconUrl not set in Icon options (see the docs).");return null}var i=this._createImg(n,e&&"IMG"===e.tagName?e:null);return this._setIconStyles(i,t),i},_setIconStyles:function(t,e){var n=this.options,i=n[e+"Size"];"number"==typeof i&&(i=[i,i]);var a=A(i),r=A("shadow"===e&&n.shadowAnchor||n.iconAnchor||a&&a.divideBy(2,!0));t.className="leaflet-marker-"+e+" "+(n.className||""),r&&(t.style.marginLeft=-r.x+"px",t.style.marginTop=-r.y+"px"),a&&(t.style.width=a.x+"px",t.style.height=a.y+"px")},_createImg:function(t,e){return(e=e||document.createElement("img")).src=t,e},_getIconUrl:function(t){return Ot&&this.options[t+"RetinaUrl"]||this.options[t+"Url"]}}),Tn=Sn.extend({options:{iconUrl:"marker-icon.png",iconRetinaUrl:"marker-icon-2x.png",shadowUrl:"marker-shadow.png",iconSize:[25,41],iconAnchor:[12,41],popupAnchor:[1,-34],tooltipAnchor:[16,-28],shadowSize:[41,41]},_getIconUrl:function(t){return Tn.imagePath||(Tn.imagePath=this._detectIconPath()),(this.options.imagePath||Tn.imagePath)+Sn.prototype._getIconUrl.call(this,t)},_detectIconPath:function(){var t=ee("div","leaflet-default-icon-path",document.body),e=te(t,"background-image")||te(t,"backgroundImage");return document.body.removeChild(t),null===e||0!==e.indexOf("url")?"":e.replace(/^url\(["']?/,"").replace(/marker-icon\.png["']?\)$/,"")}}),Pn=Ke.extend({initialize:function(t){this._marker=t},addHooks:function(){var t=this._marker._icon;this._draggable||(this._draggable=new rn(t,t,!0)),this._draggable.on({dragstart:this._onDragStart,predrag:this._onPreDrag,drag:this._onDrag,dragend:this._onDragEnd},this).enable(),se(t,"leaflet-marker-draggable")},removeHooks:function(){this._draggable.off({dragstart:this._onDragStart,predrag:this._onPreDrag,drag:this._onDrag,dragend:this._onDragEnd},this).disable(),this._marker._icon&&le(this._marker._icon,"leaflet-marker-draggable")},moved:function(){return this._draggable&&this._draggable._moved},_adjustPan:function(t){var e=this._marker,n=e._map,i=this._marker.options.autoPanSpeed,a=this._marker.options.autoPanPadding,r=fe(e._icon),o=n.getPixelBounds(),s=n.getPixelOrigin(),l=R(o.min._subtract(s).add(a),o.max._subtract(s).subtract(a));if(!l.contains(r)){var c=A((Math.max(l.max.x,r.x)-l.max.x)/(o.max.x-l.max.x)-(Math.min(l.min.x,r.x)-l.min.x)/(o.min.x-l.min.x),(Math.max(l.max.y,r.y)-l.max.y)/(o.max.y-l.max.y)-(Math.min(l.min.y,r.y)-l.min.y)/(o.min.y-l.min.y)).multiplyBy(i);n.panBy(c,{animate:!1}),this._draggable._newPos._add(c),this._draggable._startPos._add(c),pe(e._icon,this._draggable._newPos),this._onDrag(t),this._panRequest=M(this._adjustPan.bind(this,t))}},_onDragStart:function(){this._oldLatLng=this._marker.getLatLng(),this._marker.closePopup&&this._marker.closePopup(),this._marker.fire("movestart").fire("dragstart")},_onPreDrag:function(t){this._marker.options.autoPan&&(O(this._panRequest),this._panRequest=M(this._adjustPan.bind(this,t)))},_onDrag:function(t){var e=this._marker,n=e._shadow,i=fe(e._icon),a=e._map.layerPointToLatLng(i);n&&pe(n,i),e._latlng=a,t.latlng=a,t.oldLatLng=this._oldLatLng,e.fire("move",t).fire("drag",t)},_onDragEnd:function(t){O(this._panRequest),delete this._oldLatLng,this._marker.fire("moveend").fire("dragend",t)}}),Ln=Mn.extend({options:{icon:new Tn,interactive:!0,keyboard:!0,title:"",alt:"",zIndexOffset:0,opacity:1,riseOnHover:!1,riseOffset:250,pane:"markerPane",shadowPane:"shadowPane",bubblingMouseEvents:!1,draggable:!1,autoPan:!1,autoPanPadding:[50,50],autoPanSpeed:10},initialize:function(t,e){h(this,e),this._latlng=j(t)},onAdd:function(t){this._zoomAnimated=this._zoomAnimated&&t.options.markerZoomAnimation,this._zoomAnimated&&t.on("zoomanim",this._animateZoom,this),this._initIcon(),this.update()},onRemove:function(t){this.dragging&&this.dragging.enabled()&&(this.options.draggable=!0,this.dragging.removeHooks()),delete this.dragging,this._zoomAnimated&&t.off("zoomanim",this._animateZoom,this),this._removeIcon(),this._removeShadow()},getEvents:function(){return{zoom:this.update,viewreset:this.update}},getLatLng:function(){return this._latlng},setLatLng:function(t){var e=this._latlng;return this._latlng=j(t),this.update(),this.fire("move",{oldLatLng:e,latlng:this._latlng})},setZIndexOffset:function(t){return this.options.zIndexOffset=t,this.update()},getIcon:function(){return this.options.icon},setIcon:function(t){return this.options.icon=t,this._map&&(this._initIcon(),this.update()),this._popup&&this.bindPopup(this._popup,this._popup.options),this},getElement:function(){return this._icon},update:function(){if(this._icon&&this._map){var t=this._map.latLngToLayerPoint(this._latlng).round();this._setPos(t)}return this},_initIcon:function(){var t=this.options,e="leaflet-zoom-"+(this._zoomAnimated?"animated":"hide"),n=t.icon.createIcon(this._icon),i=!1;n!==this._icon&&(this._icon&&this._removeIcon(),i=!0,t.title&&(n.title=t.title),"IMG"===n.tagName&&(n.alt=t.alt||"")),se(n,e),t.keyboard&&(n.tabIndex="0"),this._icon=n,t.riseOnHover&&this.on({mouseover:this._bringToFront,mouseout:this._resetZIndex});var a=t.icon.createShadow(this._shadow),r=!1;a!==this._shadow&&(this._removeShadow(),r=!0),a&&(se(a,e),a.alt=""),this._shadow=a,t.opacity<1&&this._updateOpacity(),i&&this.getPane().appendChild(this._icon),this._initInteraction(),a&&r&&this.getPane(t.shadowPane).appendChild(this._shadow)},_removeIcon:function(){this.options.riseOnHover&&this.off({mouseover:this._bringToFront,mouseout:this._resetZIndex}),ne(this._icon),this.removeInteractiveTarget(this._icon),this._icon=null},_removeShadow:function(){this._shadow&&ne(this._shadow),this._shadow=null},_setPos:function(t){this._icon&&pe(this._icon,t),this._shadow&&pe(this._shadow,t),this._zIndex=t.y+this.options.zIndexOffset,this._resetZIndex()},_updateZIndex:function(t){this._icon&&(this._icon.style.zIndex=this._zIndex+t)},_animateZoom:function(t){var e=this._map._latLngToNewLayerPoint(this._latlng,t.zoom,t.center).round();this._setPos(e)},_initInteraction:function(){if(this.options.interactive&&(se(this._icon,"leaflet-interactive"),this.addInteractiveTarget(this._icon),Pn)){var t=this.options.draggable;this.dragging&&(t=this.dragging.enabled(),this.dragging.disable()),this.dragging=new Pn(this),t&&this.dragging.enable()}},setOpacity:function(t){return this.options.opacity=t,this._map&&this._updateOpacity(),this},_updateOpacity:function(){var t=this.options.opacity;this._icon&&ue(this._icon,t),this._shadow&&ue(this._shadow,t)},_bringToFront:function(){this._updateZIndex(this.options.riseOffset)},_resetZIndex:function(){this._updateZIndex(0)},_getPopupAnchor:function(){return this.options.icon.options.popupAnchor},_getTooltipAnchor:function(){return this.options.icon.options.tooltipAnchor}}),Dn=Mn.extend({options:{stroke:!0,color:"#3388ff",weight:3,opacity:1,lineCap:"round",lineJoin:"round",dashArray:null,dashOffset:null,fill:!1,fillColor:null,fillOpacity:.2,fillRule:"evenodd",interactive:!0,bubblingMouseEvents:!0},beforeAdd:function(t){this._renderer=t.getRenderer(this)},onAdd:function(){this._renderer._initPath(this),this._reset(),this._renderer._addPath(this)},onRemove:function(){this._renderer._removePath(this)},redraw:function(){return this._map&&this._renderer._updatePath(this),this},setStyle:function(t){return h(this,t),this._renderer&&(this._renderer._updateStyle(this),this.options.stroke&&t&&Object.prototype.hasOwnProperty.call(t,"weight")&&this._updateBounds()),this},bringToFront:function(){return this._renderer&&this._renderer._bringToFront(this),this},bringToBack:function(){return this._renderer&&this._renderer._bringToBack(this),this},getElement:function(){return this._path},_reset:function(){this._project(),this._update()},_clickTolerance:function(){return(this.options.stroke?this.options.weight/2:0)+this._renderer.options.tolerance}}),En=Dn.extend({options:{fill:!0,radius:10},initialize:function(t,e){h(this,e),this._latlng=j(t),this._radius=this.options.radius},setLatLng:function(t){var e=this._latlng;return this._latlng=j(t),this.redraw(),this.fire("move",{oldLatLng:e,latlng:this._latlng})},getLatLng:function(){return this._latlng},setRadius:function(t){return this.options.radius=this._radius=t,this.redraw()},getRadius:function(){return this._radius},setStyle:function(t){var e=t&&t.radius||this._radius;return Dn.prototype.setStyle.call(this,t),this.setRadius(e),this},_project:function(){this._point=this._map.latLngToLayerPoint(this._latlng),this._updateBounds()},_updateBounds:function(){var t=this._radius,e=this._radiusY||t,n=this._clickTolerance(),i=[t+n,e+n];this._pxBounds=new I(this._point.subtract(i),this._point.add(i))},_update:function(){this._map&&this._updatePath()},_updatePath:function(){this._renderer._updateCircle(this)},_empty:function(){return this._radius&&!this._renderer._bounds.intersects(this._pxBounds)},_containsPoint:function(t){return t.distanceTo(this._point)<=this._radius+this._clickTolerance()}}),An=En.extend({initialize:function(t,n,i){if("number"==typeof n&&(n=e({},i,{radius:n})),h(this,n),this._latlng=j(t),isNaN(this.options.radius))throw new Error("Circle radius cannot be NaN");this._mRadius=this.options.radius},setRadius:function(t){return this._mRadius=t,this.redraw()},getRadius:function(){return this._mRadius},getBounds:function(){var t=[this._radius,this._radiusY||this._radius];return new N(this._map.layerPointToLatLng(this._point.subtract(t)),this._map.layerPointToLatLng(this._point.add(t)))},setStyle:Dn.prototype.setStyle,_project:function(){var t=this._latlng.lng,e=this._latlng.lat,n=this._map,i=n.options.crs;if(i.distance===V.distance){var a=Math.PI/180,r=this._mRadius/V.R/a,o=n.project([e+r,t]),s=n.project([e-r,t]),l=o.add(s).divideBy(2),c=n.unproject(l).lat,d=Math.acos((Math.cos(r*a)-Math.sin(e*a)*Math.sin(c*a))/(Math.cos(e*a)*Math.cos(c*a)))/a;(isNaN(d)||0===d)&&(d=r/Math.cos(Math.PI/180*e)),this._point=l.subtract(n.getPixelOrigin()),this._radius=isNaN(d)?0:l.x-n.project([c,t-d]).x,this._radiusY=l.y-o.y}else{var u=i.unproject(i.project(this._latlng).subtract([this._mRadius,0]));this._point=n.latLngToLayerPoint(this._latlng),this._radius=this._point.x-n.latLngToLayerPoint(u).x}this._updateBounds()}}),In=Dn.extend({options:{smoothFactor:1,noClip:!1},initialize:function(t,e){h(this,e),this._setLatLngs(t)},getLatLngs:function(){return this._latlngs},setLatLngs:function(t){return this._setLatLngs(t),this.redraw()},isEmpty:function(){return!this._latlngs.length},closestLayerPoint:function(t){for(var e,n,i=1/0,a=null,r=hn,o=0,s=this._parts.length;o<s;o++)for(var l=this._parts[o],c=1,d=l.length;c<d;c++){var u=r(t,e=l[c-1],n=l[c],!0);u<i&&(i=u,a=r(t,e,n))}return a&&(a.distance=Math.sqrt(i)),a},getCenter:function(){if(!this._map)throw new Error("Must add layer to map before using getCenter()");var t,e,n,i,a,r,o,s=this._rings[0],l=s.length;if(!l)return null;for(t=0,e=0;t<l-1;t++)e+=s[t].distanceTo(s[t+1])/2;if(0===e)return this._map.layerPointToLatLng(s[0]);for(t=0,i=0;t<l-1;t++)if((i+=n=(a=s[t]).distanceTo(r=s[t+1]))>e)return this._map.layerPointToLatLng([r.x-(o=(i-e)/n)*(r.x-a.x),r.y-o*(r.y-a.y)])},getBounds:function(){return this._bounds},addLatLng:function(t,e){return e=e||this._defaultShape(),t=j(t),e.push(t),this._bounds.extend(t),this.redraw()},_setLatLngs:function(t){this._bounds=new N,this._latlngs=this._convertLatLngs(t)},_defaultShape:function(){return mn(this._latlngs)?this._latlngs:this._latlngs[0]},_convertLatLngs:function(t){for(var e=[],n=mn(t),i=0,a=t.length;i<a;i++)n?(e[i]=j(t[i]),this._bounds.extend(e[i])):e[i]=this._convertLatLngs(t[i]);return e},_project:function(){var t=new I;this._rings=[],this._projectLatlngs(this._latlngs,this._rings,t),this._bounds.isValid()&&t.isValid()&&(this._rawPxBounds=t,this._updateBounds())},_updateBounds:function(){var t=this._clickTolerance(),e=new D(t,t);this._pxBounds=new I([this._rawPxBounds.min.subtract(e),this._rawPxBounds.max.add(e)])},_projectLatlngs:function(t,e,n){var i,a,r=t.length;if(t[0]instanceof H){for(a=[],i=0;i<r;i++)a[i]=this._map.latLngToLayerPoint(t[i]),n.extend(a[i]);e.push(a)}else for(i=0;i<r;i++)this._projectLatlngs(t[i],e,n)},_clipPoints:function(){var t=this._renderer._bounds;if(this._parts=[],this._pxBounds&&this._pxBounds.intersects(t))if(this.options.noClip)this._parts=this._rings;else{var e,n,i,a,r,o,s,l=this._parts;for(e=0,i=0,a=this._rings.length;e<a;e++)for(n=0,r=(s=this._rings[e]).length;n<r-1;n++)(o=cn(s[n],s[n+1],t,n,!0))&&(l[i]=l[i]||[],l[i].push(o[0]),o[1]===s[n+1]&&n!==r-2||(l[i].push(o[1]),i++))}},_simplifyPoints:function(){for(var t=this._parts,e=this.options.smoothFactor,n=0,i=t.length;n<i;n++)t[n]=on(t[n],e)},_update:function(){this._map&&(this._clipPoints(),this._simplifyPoints(),this._updatePath())},_updatePath:function(){this._renderer._updatePoly(this)},_containsPoint:function(t,e){var n,i,a,r,o,s,l=this._clickTolerance();if(!this._pxBounds||!this._pxBounds.contains(t))return!1;for(n=0,r=this._parts.length;n<r;n++)for(i=0,a=(o=(s=this._parts[n]).length)-1;i<o;a=i++)if((e||0!==i)&&sn(t,s[a],s[i])<=l)return!0;return!1}});In._flat=pn;var Rn=In.extend({options:{fill:!0},isEmpty:function(){return!this._latlngs.length||!this._latlngs[0].length},getCenter:function(){if(!this._map)throw new Error("Must add layer to map before using getCenter()");var t,e,n,i,a,r,o,s,l=this._rings[0],c=l.length;if(!c)return null;for(r=o=s=0,t=0,e=c-1;t<c;e=t++)o+=((n=l[t]).x+(i=l[e]).x)*(a=n.y*i.x-i.y*n.x),s+=(n.y+i.y)*a,r+=3*a;return this._map.layerPointToLatLng(0===r?l[0]:[o/r,s/r])},_convertLatLngs:function(t){var e=In.prototype._convertLatLngs.call(this,t),n=e.length;return n>=2&&e[0]instanceof H&&e[0].equals(e[n-1])&&e.pop(),e},_setLatLngs:function(t){In.prototype._setLatLngs.call(this,t),mn(this._latlngs)&&(this._latlngs=[this._latlngs])},_defaultShape:function(){return mn(this._latlngs[0])?this._latlngs[0]:this._latlngs[0][0]},_clipPoints:function(){var t=this._renderer._bounds,e=this.options.weight,n=new D(e,e);if(t=new I(t.min.subtract(n),t.max.add(n)),this._parts=[],this._pxBounds&&this._pxBounds.intersects(t))if(this.options.noClip)this._parts=this._rings;else for(var i,a=0,r=this._rings.length;a<r;a++)(i=gn(this._rings[a],t,!0)).length&&this._parts.push(i)},_updatePath:function(){this._renderer._updatePoly(this,!0)},_containsPoint:function(t){var e,n,i,a,r,o,s,l,c=!1;if(!this._pxBounds||!this._pxBounds.contains(t))return!1;for(a=0,s=this._parts.length;a<s;a++)for(r=0,o=(l=(e=this._parts[a]).length)-1;r<l;o=r++)(n=e[r]).y>t.y!=(i=e[o]).y>t.y&&t.x<(i.x-n.x)*(t.y-n.y)/(i.y-n.y)+n.x&&(c=!c);return c||In.prototype._containsPoint.call(this,t,!0)}}),Nn=kn.extend({initialize:function(t,e){h(this,e),this._layers={},t&&this.addData(t)},addData:function(t){var e,n,i,a=g(t)?t:t.features;if(a){for(e=0,n=a.length;e<n;e++)((i=a[e]).geometries||i.geometry||i.features||i.coordinates)&&this.addData(i);return this}var r=this.options;if(r.filter&&!r.filter(t))return this;var o=Yn(t,r);return o?(o.feature=Wn(t),o.defaultOptions=o.options,this.resetStyle(o),r.onEachFeature&&r.onEachFeature(t,o),this.addLayer(o)):this},resetStyle:function(t){return void 0===t?this.eachLayer(this.resetStyle,this):(t.options=e({},t.defaultOptions),this._setLayerStyle(t,this.options.style),this)},setStyle:function(t){return this.eachLayer(function(e){this._setLayerStyle(e,t)},this)},_setLayerStyle:function(t,e){t.setStyle&&("function"==typeof e&&(e=e(t.feature)),t.setStyle(e))}});function Yn(t,e){var n,i,a,r,o="Feature"===t.type?t.geometry:t,s=o?o.coordinates:null,l=[],c=e&&e.pointToLayer,d=e&&e.coordsToLatLng||jn;if(!s&&!o)return null;switch(o.type){case"Point":return Hn(c,t,n=d(s),e);case"MultiPoint":for(a=0,r=s.length;a<r;a++)n=d(s[a]),l.push(Hn(c,t,n,e));return new kn(l);case"LineString":case"MultiLineString":return i=Fn(s,"LineString"===o.type?0:1,d),new In(i,e);case"Polygon":case"MultiPolygon":return i=Fn(s,"Polygon"===o.type?1:2,d),new Rn(i,e);case"GeometryCollection":for(a=0,r=o.geometries.length;a<r;a++){var u=Yn({geometry:o.geometries[a],type:"Feature",properties:t.properties},e);u&&l.push(u)}return new kn(l);default:throw new Error("Invalid GeoJSON object.")}}function Hn(t,e,n,i){return t?t(e,n):new Ln(n,i&&i.markersInheritOptions&&i)}function jn(t){return new H(t[1],t[0],t[2])}function Fn(t,e,n){for(var i,a=[],r=0,o=t.length;r<o;r++)i=e?Fn(t[r],e-1,n):(n||jn)(t[r]),a.push(i);return a}function zn(t,e){return e="number"==typeof e?e:6,void 0!==t.alt?[c(t.lng,e),c(t.lat,e),c(t.alt,e)]:[c(t.lng,e),c(t.lat,e)]}function Vn(t,e,n,i){for(var a=[],r=0,o=t.length;r<o;r++)a.push(e?Vn(t[r],e-1,n,i):zn(t[r],i));return!e&&n&&a.push(a[0]),a}function Bn(t,n){return t.feature?e({},t.feature,{geometry:n}):Wn(n)}function Wn(t){return"Feature"===t.type||"FeatureCollection"===t.type?t:{type:"Feature",properties:{},geometry:t}}var Un={toGeoJSON:function(t){return Bn(this,{type:"Point",coordinates:zn(this.getLatLng(),t)})}};function qn(t,e){return new Nn(t,e)}Ln.include(Un),An.include(Un),En.include(Un),In.include({toGeoJSON:function(t){var e=!mn(this._latlngs);return Bn(this,{type:(e?"Multi":"")+"LineString",coordinates:Vn(this._latlngs,e?1:0,!1,t)})}}),Rn.include({toGeoJSON:function(t){var e=!mn(this._latlngs),n=e&&!mn(this._latlngs[0]),i=Vn(this._latlngs,n?2:e?1:0,!0,t);return e||(i=[i]),Bn(this,{type:(n?"Multi":"")+"Polygon",coordinates:i})}}),On.include({toMultiPoint:function(t){var e=[];return this.eachLayer(function(n){e.push(n.toGeoJSON(t).geometry.coordinates)}),Bn(this,{type:"MultiPoint",coordinates:e})},toGeoJSON:function(t){var e=this.feature&&this.feature.geometry&&this.feature.geometry.type;if("MultiPoint"===e)return this.toMultiPoint(t);var n="GeometryCollection"===e,i=[];return this.eachLayer(function(e){if(e.toGeoJSON){var a=e.toGeoJSON(t);if(n)i.push(a.geometry);else{var r=Wn(a);"FeatureCollection"===r.type?i.push.apply(i,r.features):i.push(r)}}}),n?Bn(this,{geometries:i,type:"GeometryCollection"}):{type:"FeatureCollection",features:i}}});var Gn=qn,Jn=Mn.extend({options:{opacity:1,alt:"",interactive:!1,crossOrigin:!1,errorOverlayUrl:"",zIndex:1,className:""},initialize:function(t,e,n){this._url=t,this._bounds=Y(e),h(this,n)},onAdd:function(){this._image||(this._initImage(),this.options.opacity<1&&this._updateOpacity()),this.options.interactive&&(se(this._image,"leaflet-interactive"),this.addInteractiveTarget(this._image)),this.getPane().appendChild(this._image),this._reset()},onRemove:function(){ne(this._image),this.options.interactive&&this.removeInteractiveTarget(this._image)},setOpacity:function(t){return this.options.opacity=t,this._image&&this._updateOpacity(),this},setStyle:function(t){return t.opacity&&this.setOpacity(t.opacity),this},bringToFront:function(){return this._map&&ae(this._image),this},bringToBack:function(){return this._map&&re(this._image),this},setUrl:function(t){return this._url=t,this._image&&(this._image.src=t),this},setBounds:function(t){return this._bounds=Y(t),this._map&&this._reset(),this},getEvents:function(){var t={zoom:this._reset,viewreset:this._reset};return this._zoomAnimated&&(t.zoomanim=this._animateZoom),t},setZIndex:function(t){return this.options.zIndex=t,this._updateZIndex(),this},getBounds:function(){return this._bounds},getElement:function(){return this._image},_initImage:function(){var t="IMG"===this._url.tagName,e=this._image=t?this._url:ee("img");se(e,"leaflet-image-layer"),this._zoomAnimated&&se(e,"leaflet-zoom-animated"),this.options.className&&se(e,this.options.className),e.onselectstart=l,e.onmousemove=l,e.onload=i(this.fire,this,"load"),e.onerror=i(this._overlayOnError,this,"error"),(this.options.crossOrigin||""===this.options.crossOrigin)&&(e.crossOrigin=!0===this.options.crossOrigin?"":this.options.crossOrigin),this.options.zIndex&&this._updateZIndex(),t?this._url=e.src:(e.src=this._url,e.alt=this.options.alt)},_animateZoom:function(t){var e=this._map.getZoomScale(t.zoom),n=this._map._latLngBoundsToNewLayerBounds(this._bounds,t.zoom,t.center).min;me(this._image,n,e)},_reset:function(){var t=this._image,e=new I(this._map.latLngToLayerPoint(this._bounds.getNorthWest()),this._map.latLngToLayerPoint(this._bounds.getSouthEast())),n=e.getSize();pe(t,e.min),t.style.width=n.x+"px",t.style.height=n.y+"px"},_updateOpacity:function(){ue(this._image,this.options.opacity)},_updateZIndex:function(){this._image&&null!=this.options.zIndex&&(this._image.style.zIndex=this.options.zIndex)},_overlayOnError:function(){this.fire("error");var t=this.options.errorOverlayUrl;t&&this._url!==t&&(this._url=t,this._image.src=t)}}),Zn=Jn.extend({options:{autoplay:!0,loop:!0,keepAspectRatio:!0,muted:!1},_initImage:function(){var t="VIDEO"===this._url.tagName,e=this._image=t?this._url:ee("video");if(se(e,"leaflet-image-layer"),this._zoomAnimated&&se(e,"leaflet-zoom-animated"),this.options.className&&se(e,this.options.className),e.onselectstart=l,e.onmousemove=l,e.onloadeddata=i(this.fire,this,"load"),t){for(var n=e.getElementsByTagName("source"),a=[],r=0;r<n.length;r++)a.push(n[r].src);this._url=n.length>0?a:[e.src]}else{g(this._url)||(this._url=[this._url]),!this.options.keepAspectRatio&&Object.prototype.hasOwnProperty.call(e.style,"objectFit")&&(e.style.objectFit="fill"),e.autoplay=!!this.options.autoplay,e.loop=!!this.options.loop,e.muted=!!this.options.muted;for(var o=0;o<this._url.length;o++){var s=ee("source");s.src=this._url[o],e.appendChild(s)}}}}),$n=Jn.extend({_initImage:function(){var t=this._image=this._url;se(t,"leaflet-image-layer"),this._zoomAnimated&&se(t,"leaflet-zoom-animated"),this.options.className&&se(t,this.options.className),t.onselectstart=l,t.onmousemove=l}}),Xn=Mn.extend({options:{offset:[0,7],className:"",pane:"popupPane"},initialize:function(t,e){h(this,t),this._source=e},onAdd:function(t){this._zoomAnimated=t._zoomAnimated,this._container||this._initLayout(),t._fadeAnimated&&ue(this._container,0),clearTimeout(this._removeTimeout),this.getPane().appendChild(this._container),this.update(),t._fadeAnimated&&ue(this._container,1),this.bringToFront()},onRemove:function(t){t._fadeAnimated?(ue(this._container,0),this._removeTimeout=setTimeout(i(ne,void 0,this._container),200)):ne(this._container)},getLatLng:function(){return this._latlng},setLatLng:function(t){return this._latlng=j(t),this._map&&(this._updatePosition(),this._adjustPan()),this},getContent:function(){return this._content},setContent:function(t){return this._content=t,this.update(),this},getElement:function(){return this._container},update:function(){this._map&&(this._container.style.visibility="hidden",this._updateContent(),this._updateLayout(),this._updatePosition(),this._container.style.visibility="",this._adjustPan())},getEvents:function(){var t={zoom:this._updatePosition,viewreset:this._updatePosition};return this._zoomAnimated&&(t.zoomanim=this._animateZoom),t},isOpen:function(){return!!this._map&&this._map.hasLayer(this)},bringToFront:function(){return this._map&&ae(this._container),this},bringToBack:function(){return this._map&&re(this._container),this},_prepareOpen:function(t,e,n){if(e instanceof Mn||(n=e,e=t),e instanceof kn)for(var i in t._layers){e=t._layers[i];break}if(!n)if(e.getCenter)n=e.getCenter();else{if(!e.getLatLng)throw new Error("Unable to get source layer LatLng.");n=e.getLatLng()}return this._source=e,this.update(),n},_updateContent:function(){if(this._content){var t=this._contentNode,e="function"==typeof this._content?this._content(this._source||this):this._content;if("string"==typeof e)t.innerHTML=e;else{for(;t.hasChildNodes();)t.removeChild(t.firstChild);t.appendChild(e)}this.fire("contentupdate")}},_updatePosition:function(){if(this._map){var t=this._map.latLngToLayerPoint(this._latlng),e=A(this.options.offset),n=this._getAnchor();this._zoomAnimated?pe(this._container,t.add(n)):e=e.add(t).add(n);var i=this._containerBottom=-e.y,a=this._containerLeft=-Math.round(this._containerWidth/2)+e.x;this._container.style.bottom=i+"px",this._container.style.left=a+"px"}},_getAnchor:function(){return[0,0]}}),Kn=Xn.extend({options:{maxWidth:300,minWidth:50,maxHeight:null,autoPan:!0,autoPanPaddingTopLeft:null,autoPanPaddingBottomRight:null,autoPanPadding:[5,5],keepInView:!1,closeButton:!0,autoClose:!0,closeOnEscapeKey:!0,className:""},openOn:function(t){return t.openPopup(this),this},onAdd:function(t){Xn.prototype.onAdd.call(this,t),t.fire("popupopen",{popup:this}),this._source&&(this._source.fire("popupopen",{popup:this},!0),this._source instanceof Dn||this._source.on("preclick",De))},onRemove:function(t){Xn.prototype.onRemove.call(this,t),t.fire("popupclose",{popup:this}),this._source&&(this._source.fire("popupclose",{popup:this},!0),this._source instanceof Dn||this._source.off("preclick",De))},getEvents:function(){var t=Xn.prototype.getEvents.call(this);return(void 0!==this.options.closeOnClick?this.options.closeOnClick:this._map.options.closePopupOnClick)&&(t.preclick=this._close),this.options.keepInView&&(t.moveend=this._adjustPan),t},_close:function(){this._map&&this._map.closePopup(this)},_initLayout:function(){var t="leaflet-popup",e=this._container=ee("div",t+" "+(this.options.className||"")+" leaflet-zoom-animated"),n=this._wrapper=ee("div",t+"-content-wrapper",e);if(this._contentNode=ee("div",t+"-content",n),Ae(e),Ee(this._contentNode),Me(e,"contextmenu",De),this._tipContainer=ee("div",t+"-tip-container",e),this._tip=ee("div",t+"-tip",this._tipContainer),this.options.closeButton){var i=this._closeButton=ee("a",t+"-close-button",e);i.href="#close",i.innerHTML="&#215;",Me(i,"click",this._onCloseButtonClick,this)}},_updateLayout:function(){var t=this._contentNode,e=t.style;e.width="",e.whiteSpace="nowrap";var n=t.offsetWidth;n=Math.min(n,this.options.maxWidth),n=Math.max(n,this.options.minWidth),e.width=n+1+"px",e.whiteSpace="",e.height="";var i=this.options.maxHeight;i&&t.offsetHeight>i?(e.height=i+"px",se(t,"leaflet-popup-scrolled")):le(t,"leaflet-popup-scrolled"),this._containerWidth=this._container.offsetWidth},_animateZoom:function(t){var e=this._map._latLngToNewLayerPoint(this._latlng,t.zoom,t.center),n=this._getAnchor();pe(this._container,e.add(n))},_adjustPan:function(){if(this.options.autoPan){this._map._panAnim&&this._map._panAnim.stop();var t=this._map,e=parseInt(te(this._container,"marginBottom"),10)||0,n=this._container.offsetHeight+e,i=this._containerWidth,a=new D(this._containerLeft,-n-this._containerBottom);a._add(fe(this._container));var r=t.layerPointToContainerPoint(a),o=A(this.options.autoPanPadding),s=A(this.options.autoPanPaddingTopLeft||o),l=A(this.options.autoPanPaddingBottomRight||o),c=t.getSize(),d=0,u=0;r.x+i+l.x>c.x&&(d=r.x+i-c.x+l.x),r.x-d-s.x<0&&(d=r.x-s.x),r.y+n+l.y>c.y&&(u=r.y+n-c.y+l.y),r.y-u-s.y<0&&(u=r.y-s.y),(d||u)&&t.fire("autopanstart").panBy([d,u])}},_onCloseButtonClick:function(t){this._close(),Re(t)},_getAnchor:function(){return A(this._source&&this._source._getPopupAnchor?this._source._getPopupAnchor():[0,0])}});Ue.mergeOptions({closePopupOnClick:!0}),Ue.include({openPopup:function(t,e,n){return t instanceof Kn||(t=new Kn(n).setContent(t)),e&&t.setLatLng(e),this.hasLayer(t)?this:(this._popup&&this._popup.options.autoClose&&this.closePopup(),this._popup=t,this.addLayer(t))},closePopup:function(t){return t&&t!==this._popup||(t=this._popup,this._popup=null),t&&this.removeLayer(t),this}}),Mn.include({bindPopup:function(t,e){return t instanceof Kn?(h(t,e),this._popup=t,t._source=this):(this._popup&&!e||(this._popup=new Kn(e,this)),this._popup.setContent(t)),this._popupHandlersAdded||(this.on({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!0),this},unbindPopup:function(){return this._popup&&(this.off({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!1,this._popup=null),this},openPopup:function(t,e){return this._popup&&this._map&&(e=this._popup._prepareOpen(this,t,e),this._map.openPopup(this._popup,e)),this},closePopup:function(){return this._popup&&this._popup._close(),this},togglePopup:function(t){return this._popup&&(this._popup._map?this.closePopup():this.openPopup(t)),this},isPopupOpen:function(){return!!this._popup&&this._popup.isOpen()},setPopupContent:function(t){return this._popup&&this._popup.setContent(t),this},getPopup:function(){return this._popup},_openPopup:function(t){var e=t.layer||t.target;this._popup&&this._map&&(Re(t),e instanceof Dn?this.openPopup(t.layer||t.target,t.latlng):this._map.hasLayer(this._popup)&&this._popup._source===e?this.closePopup():this.openPopup(e,t.latlng))},_movePopup:function(t){this._popup.setLatLng(t.latlng)},_onKeyPress:function(t){13===t.originalEvent.keyCode&&this._openPopup(t)}});var Qn=Xn.extend({options:{pane:"tooltipPane",offset:[0,0],direction:"auto",permanent:!1,sticky:!1,interactive:!1,opacity:.9},onAdd:function(t){Xn.prototype.onAdd.call(this,t),this.setOpacity(this.options.opacity),t.fire("tooltipopen",{tooltip:this}),this._source&&this._source.fire("tooltipopen",{tooltip:this},!0)},onRemove:function(t){Xn.prototype.onRemove.call(this,t),t.fire("tooltipclose",{tooltip:this}),this._source&&this._source.fire("tooltipclose",{tooltip:this},!0)},getEvents:function(){var t=Xn.prototype.getEvents.call(this);return wt&&!this.options.permanent&&(t.preclick=this._close),t},_close:function(){this._map&&this._map.closeTooltip(this)},_initLayout:function(){this._contentNode=this._container=ee("div","leaflet-tooltip "+(this.options.className||"")+" leaflet-zoom-"+(this._zoomAnimated?"animated":"hide"))},_updateLayout:function(){},_adjustPan:function(){},_setPosition:function(t){var e,n,i=this._map,a=this._container,r=i.latLngToContainerPoint(i.getCenter()),o=i.layerPointToContainerPoint(t),s=this.options.direction,l=a.offsetWidth,c=a.offsetHeight,d=A(this.options.offset),u=this._getAnchor();"top"===s?(e=l/2,n=c):"bottom"===s?(e=l/2,n=0):"center"===s?(e=l/2,n=c/2):"right"===s?(e=0,n=c/2):"left"===s?(e=l,n=c/2):o.x<r.x?(s="right",e=0,n=c/2):(s="left",e=l+2*(d.x+u.x),n=c/2),t=t.subtract(A(e,n,!0)).add(d).add(u),le(a,"leaflet-tooltip-right"),le(a,"leaflet-tooltip-left"),le(a,"leaflet-tooltip-top"),le(a,"leaflet-tooltip-bottom"),se(a,"leaflet-tooltip-"+s),pe(a,t)},_updatePosition:function(){var t=this._map.latLngToLayerPoint(this._latlng);this._setPosition(t)},setOpacity:function(t){this.options.opacity=t,this._container&&ue(this._container,t)},_animateZoom:function(t){var e=this._map._latLngToNewLayerPoint(this._latlng,t.zoom,t.center);this._setPosition(e)},_getAnchor:function(){return A(this._source&&this._source._getTooltipAnchor&&!this.options.sticky?this._source._getTooltipAnchor():[0,0])}});Ue.include({openTooltip:function(t,e,n){return t instanceof Qn||(t=new Qn(n).setContent(t)),e&&t.setLatLng(e),this.hasLayer(t)?this:this.addLayer(t)},closeTooltip:function(t){return t&&this.removeLayer(t),this}}),Mn.include({bindTooltip:function(t,e){return t instanceof Qn?(h(t,e),this._tooltip=t,t._source=this):(this._tooltip&&!e||(this._tooltip=new Qn(e,this)),this._tooltip.setContent(t)),this._initTooltipInteractions(),this._tooltip.options.permanent&&this._map&&this._map.hasLayer(this)&&this.openTooltip(),this},unbindTooltip:function(){return this._tooltip&&(this._initTooltipInteractions(!0),this.closeTooltip(),this._tooltip=null),this},_initTooltipInteractions:function(t){if(t||!this._tooltipHandlersAdded){var e=t?"off":"on",n={remove:this.closeTooltip,move:this._moveTooltip};this._tooltip.options.permanent?n.add=this._openTooltip:(n.mouseover=this._openTooltip,n.mouseout=this.closeTooltip,this._tooltip.options.sticky&&(n.mousemove=this._moveTooltip),wt&&(n.click=this._openTooltip)),this[e](n),this._tooltipHandlersAdded=!t}},openTooltip:function(t,e){return this._tooltip&&this._map&&(e=this._tooltip._prepareOpen(this,t,e),this._map.openTooltip(this._tooltip,e),this._tooltip.options.interactive&&this._tooltip._container&&(se(this._tooltip._container,"leaflet-clickable"),this.addInteractiveTarget(this._tooltip._container))),this},closeTooltip:function(){return this._tooltip&&(this._tooltip._close(),this._tooltip.options.interactive&&this._tooltip._container&&(le(this._tooltip._container,"leaflet-clickable"),this.removeInteractiveTarget(this._tooltip._container))),this},toggleTooltip:function(t){return this._tooltip&&(this._tooltip._map?this.closeTooltip():this.openTooltip(t)),this},isTooltipOpen:function(){return this._tooltip.isOpen()},setTooltipContent:function(t){return this._tooltip&&this._tooltip.setContent(t),this},getTooltip:function(){return this._tooltip},_openTooltip:function(t){this._tooltip&&this._map&&this.openTooltip(t.layer||t.target,this._tooltip.options.sticky?t.latlng:void 0)},_moveTooltip:function(t){var e,n,i=t.latlng;this._tooltip.options.sticky&&t.originalEvent&&(e=this._map.mouseEventToContainerPoint(t.originalEvent),n=this._map.containerPointToLayerPoint(e),i=this._map.layerPointToLatLng(n)),this._tooltip.setLatLng(i)}});var ti=Sn.extend({options:{iconSize:[12,12],html:!1,bgPos:null,className:"leaflet-div-icon"},createIcon:function(t){var e=t&&"DIV"===t.tagName?t:document.createElement("div"),n=this.options;if(n.html instanceof Element?(ie(e),e.appendChild(n.html)):e.innerHTML=!1!==n.html?n.html:"",n.bgPos){var i=A(n.bgPos);e.style.backgroundPosition=-i.x+"px "+-i.y+"px"}return this._setIconStyles(e,"icon"),e},createShadow:function(){return null}});Sn.Default=Tn;var ei=Mn.extend({options:{tileSize:256,opacity:1,updateWhenIdle:bt,updateWhenZooming:!0,updateInterval:200,zIndex:1,bounds:null,minZoom:0,maxZoom:void 0,maxNativeZoom:void 0,minNativeZoom:void 0,noWrap:!1,pane:"tilePane",className:"",keepBuffer:2},initialize:function(t){h(this,t)},onAdd:function(){this._initContainer(),this._levels={},this._tiles={},this._resetView(),this._update()},beforeAdd:function(t){t._addZoomLimit(this)},onRemove:function(t){this._removeAllTiles(),ne(this._container),t._removeZoomLimit(this),this._container=null,this._tileZoom=void 0},bringToFront:function(){return this._map&&(ae(this._container),this._setAutoZIndex(Math.max)),this},bringToBack:function(){return this._map&&(re(this._container),this._setAutoZIndex(Math.min)),this},getContainer:function(){return this._container},setOpacity:function(t){return this.options.opacity=t,this._updateOpacity(),this},setZIndex:function(t){return this.options.zIndex=t,this._updateZIndex(),this},isLoading:function(){return this._loading},redraw:function(){return this._map&&(this._removeAllTiles(),this._update()),this},getEvents:function(){var t={viewprereset:this._invalidateAll,viewreset:this._resetView,zoom:this._resetView,moveend:this._onMoveEnd};return this.options.updateWhenIdle||(this._onMove||(this._onMove=o(this._onMoveEnd,this.options.updateInterval,this)),t.move=this._onMove),this._zoomAnimated&&(t.zoomanim=this._animateZoom),t},createTile:function(){return document.createElement("div")},getTileSize:function(){var t=this.options.tileSize;return t instanceof D?t:new D(t,t)},_updateZIndex:function(){this._container&&null!=this.options.zIndex&&(this._container.style.zIndex=this.options.zIndex)},_setAutoZIndex:function(t){for(var e,n=this.getPane().children,i=-t(-1/0,1/0),a=0,r=n.length;a<r;a++)e=n[a].style.zIndex,n[a]!==this._container&&e&&(i=t(i,+e));isFinite(i)&&(this.options.zIndex=i+t(-1,1),this._updateZIndex())},_updateOpacity:function(){if(this._map&&!Q){ue(this._container,this.options.opacity);var t=+new Date,e=!1,n=!1;for(var i in this._tiles){var a=this._tiles[i];if(a.current&&a.loaded){var r=Math.min(1,(t-a.loaded)/200);ue(a.el,r),r<1?e=!0:(a.active?n=!0:this._onOpaqueTile(a),a.active=!0)}}n&&!this._noPrune&&this._pruneTiles(),e&&(O(this._fadeFrame),this._fadeFrame=M(this._updateOpacity,this))}},_onOpaqueTile:l,_initContainer:function(){this._container||(this._container=ee("div","leaflet-layer "+(this.options.className||"")),this._updateZIndex(),this.options.opacity<1&&this._updateOpacity(),this.getPane().appendChild(this._container))},_updateLevels:function(){var t=this._tileZoom,e=this.options.maxZoom;if(void 0!==t){for(var n in this._levels)n=Number(n),this._levels[n].el.children.length||n===t?(this._levels[n].el.style.zIndex=e-Math.abs(t-n),this._onUpdateLevel(n)):(ne(this._levels[n].el),this._removeTilesAtZoom(n),this._onRemoveLevel(n),delete this._levels[n]);var i=this._levels[t],a=this._map;return i||((i=this._levels[t]={}).el=ee("div","leaflet-tile-container leaflet-zoom-animated",this._container),i.el.style.zIndex=e,i.origin=a.project(a.unproject(a.getPixelOrigin()),t).round(),i.zoom=t,this._setZoomTransform(i,a.getCenter(),a.getZoom()),this._onCreateLevel(i)),this._level=i,i}},_onUpdateLevel:l,_onRemoveLevel:l,_onCreateLevel:l,_pruneTiles:function(){if(this._map){var t,e,n=this._map.getZoom();if(n>this.options.maxZoom||n<this.options.minZoom)this._removeAllTiles();else{for(t in this._tiles)(e=this._tiles[t]).retain=e.current;for(t in this._tiles)if((e=this._tiles[t]).current&&!e.active){var i=e.coords;this._retainParent(i.x,i.y,i.z,i.z-5)||this._retainChildren(i.x,i.y,i.z,i.z+2)}for(t in this._tiles)this._tiles[t].retain||this._removeTile(t)}}},_removeTilesAtZoom:function(t){for(var e in this._tiles)this._tiles[e].coords.z===t&&this._removeTile(e)},_removeAllTiles:function(){for(var t in this._tiles)this._removeTile(t)},_invalidateAll:function(){for(var t in this._levels)ne(this._levels[t].el),this._onRemoveLevel(Number(t)),delete this._levels[t];this._removeAllTiles(),this._tileZoom=void 0},_retainParent:function(t,e,n,i){var a=Math.floor(t/2),r=Math.floor(e/2),o=n-1,s=new D(+a,+r);s.z=+o;var l=this._tileCoordsToKey(s),c=this._tiles[l];return c&&c.active?(c.retain=!0,!0):(c&&c.loaded&&(c.retain=!0),o>i&&this._retainParent(a,r,o,i))},_retainChildren:function(t,e,n,i){for(var a=2*t;a<2*t+2;a++)for(var r=2*e;r<2*e+2;r++){var o=new D(a,r);o.z=n+1;var s=this._tileCoordsToKey(o),l=this._tiles[s];l&&l.active?l.retain=!0:(l&&l.loaded&&(l.retain=!0),n+1<i&&this._retainChildren(a,r,n+1,i))}},_resetView:function(t){var e=t&&(t.pinch||t.flyTo);this._setView(this._map.getCenter(),this._map.getZoom(),e,e)},_animateZoom:function(t){this._setView(t.center,t.zoom,!0,t.noUpdate)},_clampZoom:function(t){var e=this.options;return void 0!==e.minNativeZoom&&t<e.minNativeZoom?e.minNativeZoom:void 0!==e.maxNativeZoom&&e.maxNativeZoom<t?e.maxNativeZoom:t},_setView:function(t,e,n,i){var a=Math.round(e);a=void 0!==this.options.maxZoom&&a>this.options.maxZoom||void 0!==this.options.minZoom&&a<this.options.minZoom?void 0:this._clampZoom(a),i&&!(this.options.updateWhenZooming&&a!==this._tileZoom)||(this._tileZoom=a,this._abortLoading&&this._abortLoading(),this._updateLevels(),this._resetGrid(),void 0!==a&&this._update(t),n||this._pruneTiles(),this._noPrune=!!n),this._setZoomTransforms(t,e)},_setZoomTransforms:function(t,e){for(var n in this._levels)this._setZoomTransform(this._levels[n],t,e)},_setZoomTransform:function(t,e,n){var i=this._map.getZoomScale(n,t.zoom),a=t.origin.multiplyBy(i).subtract(this._map._getNewPixelOrigin(e,n)).round();gt?me(t.el,a,i):pe(t.el,a)},_resetGrid:function(){var t=this._map,e=t.options.crs,n=this._tileSize=this.getTileSize(),i=this._tileZoom,a=this._map.getPixelWorldBounds(this._tileZoom);a&&(this._globalTileRange=this._pxBoundsToTileRange(a)),this._wrapX=e.wrapLng&&!this.options.noWrap&&[Math.floor(t.project([0,e.wrapLng[0]],i).x/n.x),Math.ceil(t.project([0,e.wrapLng[1]],i).x/n.y)],this._wrapY=e.wrapLat&&!this.options.noWrap&&[Math.floor(t.project([e.wrapLat[0],0],i).y/n.x),Math.ceil(t.project([e.wrapLat[1],0],i).y/n.y)]},_onMoveEnd:function(){this._map&&!this._map._animatingZoom&&this._update()},_getTiledPixelBounds:function(t){var e=this._map,n=e._animatingZoom?Math.max(e._animateToZoom,e.getZoom()):e.getZoom(),i=e.getZoomScale(n,this._tileZoom),a=e.project(t,this._tileZoom).floor(),r=e.getSize().divideBy(2*i);return new I(a.subtract(r),a.add(r))},_update:function(t){var e=this._map;if(e){var n=this._clampZoom(e.getZoom());if(void 0===t&&(t=e.getCenter()),void 0!==this._tileZoom){var i=this._getTiledPixelBounds(t),a=this._pxBoundsToTileRange(i),r=a.getCenter(),o=[],s=this.options.keepBuffer,l=new I(a.getBottomLeft().subtract([s,-s]),a.getTopRight().add([s,-s]));if(!(isFinite(a.min.x)&&isFinite(a.min.y)&&isFinite(a.max.x)&&isFinite(a.max.y)))throw new Error("Attempted to load an infinite number of tiles");for(var c in this._tiles){var d=this._tiles[c].coords;d.z===this._tileZoom&&l.contains(new D(d.x,d.y))||(this._tiles[c].current=!1)}if(Math.abs(n-this._tileZoom)>1)this._setView(t,n);else{for(var u=a.min.y;u<=a.max.y;u++)for(var h=a.min.x;h<=a.max.x;h++){var m=new D(h,u);if(m.z=this._tileZoom,this._isValidTile(m)){var p=this._tiles[this._tileCoordsToKey(m)];p?p.current=!0:o.push(m)}}if(o.sort(function(t,e){return t.distanceTo(r)-e.distanceTo(r)}),0!==o.length){this._loading||(this._loading=!0,this.fire("loading"));var f=document.createDocumentFragment();for(h=0;h<o.length;h++)this._addTile(o[h],f);this._level.el.appendChild(f)}}}}},_isValidTile:function(t){var e=this._map.options.crs;if(!e.infinite){var n=this._globalTileRange;if(!e.wrapLng&&(t.x<n.min.x||t.x>n.max.x)||!e.wrapLat&&(t.y<n.min.y||t.y>n.max.y))return!1}if(!this.options.bounds)return!0;var i=this._tileCoordsToBounds(t);return Y(this.options.bounds).overlaps(i)},_keyToBounds:function(t){return this._tileCoordsToBounds(this._keyToTileCoords(t))},_tileCoordsToNwSe:function(t){var e=this._map,n=this.getTileSize(),i=t.scaleBy(n),a=i.add(n);return[e.unproject(i,t.z),e.unproject(a,t.z)]},_tileCoordsToBounds:function(t){var e=this._tileCoordsToNwSe(t),n=new N(e[0],e[1]);return this.options.noWrap||(n=this._map.wrapLatLngBounds(n)),n},_tileCoordsToKey:function(t){return t.x+":"+t.y+":"+t.z},_keyToTileCoords:function(t){var e=t.split(":"),n=new D(+e[0],+e[1]);return n.z=+e[2],n},_removeTile:function(t){var e=this._tiles[t];e&&(ne(e.el),delete this._tiles[t],this.fire("tileunload",{tile:e.el,coords:this._keyToTileCoords(t)}))},_initTile:function(t){se(t,"leaflet-tile");var e=this.getTileSize();t.style.width=e.x+"px",t.style.height=e.y+"px",t.onselectstart=l,t.onmousemove=l,Q&&this.options.opacity<1&&ue(t,this.options.opacity),nt&&!it&&(t.style.WebkitBackfaceVisibility="hidden")},_addTile:function(t,e){var n=this._getTilePos(t),a=this._tileCoordsToKey(t),r=this.createTile(this._wrapCoords(t),i(this._tileReady,this,t));this._initTile(r),this.createTile.length<2&&M(i(this._tileReady,this,t,null,r)),pe(r,n),this._tiles[a]={el:r,coords:t,current:!0},e.appendChild(r),this.fire("tileloadstart",{tile:r,coords:t})},_tileReady:function(t,e,n){e&&this.fire("tileerror",{error:e,tile:n,coords:t});var a=this._tileCoordsToKey(t);(n=this._tiles[a])&&(n.loaded=+new Date,this._map._fadeAnimated?(ue(n.el,0),O(this._fadeFrame),this._fadeFrame=M(this._updateOpacity,this)):(n.active=!0,this._pruneTiles()),e||(se(n.el,"leaflet-tile-loaded"),this.fire("tileload",{tile:n.el,coords:t})),this._noTilesToLoad()&&(this._loading=!1,this.fire("load"),Q||!this._map._fadeAnimated?M(this._pruneTiles,this):setTimeout(i(this._pruneTiles,this),250)))},_getTilePos:function(t){return t.scaleBy(this.getTileSize()).subtract(this._level.origin)},_wrapCoords:function(t){var e=new D(this._wrapX?s(t.x,this._wrapX):t.x,this._wrapY?s(t.y,this._wrapY):t.y);return e.z=t.z,e},_pxBoundsToTileRange:function(t){var e=this.getTileSize();return new I(t.min.unscaleBy(e).floor(),t.max.unscaleBy(e).ceil().subtract([1,1]))},_noTilesToLoad:function(){for(var t in this._tiles)if(!this._tiles[t].loaded)return!1;return!0}}),ni=ei.extend({options:{minZoom:0,maxZoom:18,subdomains:"abc",errorTileUrl:"",zoomOffset:0,tms:!1,zoomReverse:!1,detectRetina:!1,crossOrigin:!1},initialize:function(t,e){this._url=t,(e=h(this,e)).detectRetina&&Ot&&e.maxZoom>0&&(e.tileSize=Math.floor(e.tileSize/2),e.zoomReverse?(e.zoomOffset--,e.minZoom++):(e.zoomOffset++,e.maxZoom--),e.minZoom=Math.max(0,e.minZoom)),"string"==typeof e.subdomains&&(e.subdomains=e.subdomains.split("")),nt||this.on("tileunload",this._onTileRemove)},setUrl:function(t,e){return this._url===t&&void 0===e&&(e=!0),this._url=t,e||this.redraw(),this},createTile:function(t,e){var n=document.createElement("img");return Me(n,"load",i(this._tileOnLoad,this,e,n)),Me(n,"error",i(this._tileOnError,this,e,n)),(this.options.crossOrigin||""===this.options.crossOrigin)&&(n.crossOrigin=!0===this.options.crossOrigin?"":this.options.crossOrigin),n.alt="",n.setAttribute("role","presentation"),n.src=this.getTileUrl(t),n},getTileUrl:function(t){var n={r:Ot?"@2x":"",s:this._getSubdomain(t),x:t.x,y:t.y,z:this._getZoomForUrl()};if(this._map&&!this._map.options.crs.infinite){var i=this._globalTileRange.max.y-t.y;this.options.tms&&(n.y=i),n["-y"]=i}return f(this._url,e(n,this.options))},_tileOnLoad:function(t,e){Q?setTimeout(i(t,this,null,e),0):t(null,e)},_tileOnError:function(t,e,n){var i=this.options.errorTileUrl;i&&e.getAttribute("src")!==i&&(e.src=i),t(n,e)},_onTileRemove:function(t){t.tile.onload=null},_getZoomForUrl:function(){var t=this._tileZoom;return this.options.zoomReverse&&(t=this.options.maxZoom-t),t+this.options.zoomOffset},_getSubdomain:function(t){var e=Math.abs(t.x+t.y)%this.options.subdomains.length;return this.options.subdomains[e]},_abortLoading:function(){var t,e;for(t in this._tiles)this._tiles[t].coords.z!==this._tileZoom&&((e=this._tiles[t].el).onload=l,e.onerror=l,e.complete||(e.src=_,ne(e),delete this._tiles[t]))},_removeTile:function(t){var e=this._tiles[t];if(e)return rt||e.el.setAttribute("src",_),ei.prototype._removeTile.call(this,t)},_tileReady:function(t,e,n){if(this._map&&(!n||n.getAttribute("src")!==_))return ei.prototype._tileReady.call(this,t,e,n)}});function ii(t,e){return new ni(t,e)}var ai=ni.extend({defaultWmsParams:{service:"WMS",request:"GetMap",layers:"",styles:"",format:"image/jpeg",transparent:!1,version:"1.1.1"},options:{crs:null,uppercase:!1},initialize:function(t,n){this._url=t;var i=e({},this.defaultWmsParams);for(var a in n)a in this.options||(i[a]=n[a]);var r=(n=h(this,n)).detectRetina&&Ot?2:1,o=this.getTileSize();i.width=o.x*r,i.height=o.y*r,this.wmsParams=i},onAdd:function(t){this._crs=this.options.crs||t.options.crs,this._wmsVersion=parseFloat(this.wmsParams.version),this.wmsParams[this._wmsVersion>=1.3?"crs":"srs"]=this._crs.code,ni.prototype.onAdd.call(this,t)},getTileUrl:function(t){var e=this._tileCoordsToNwSe(t),n=this._crs,i=R(n.project(e[0]),n.project(e[1])),a=i.min,r=i.max,o=(this._wmsVersion>=1.3&&this._crs===wn?[a.y,a.x,r.y,r.x]:[a.x,a.y,r.x,r.y]).join(","),s=ni.prototype.getTileUrl.call(this,t);return s+m(this.wmsParams,s,this.options.uppercase)+(this.options.uppercase?"&BBOX=":"&bbox=")+o},setParams:function(t,n){return e(this.wmsParams,t),n||this.redraw(),this}});ni.WMS=ai,ii.wms=function(t,e){return new ai(t,e)};var ri=Mn.extend({options:{padding:.1,tolerance:0},initialize:function(t){h(this,t),r(this),this._layers=this._layers||{}},onAdd:function(){this._container||(this._initContainer(),this._zoomAnimated&&se(this._container,"leaflet-zoom-animated")),this.getPane().appendChild(this._container),this._update(),this.on("update",this._updatePaths,this)},onRemove:function(){this.off("update",this._updatePaths,this),this._destroyContainer()},getEvents:function(){var t={viewreset:this._reset,zoom:this._onZoom,moveend:this._update,zoomend:this._onZoomEnd};return this._zoomAnimated&&(t.zoomanim=this._onAnimZoom),t},_onAnimZoom:function(t){this._updateTransform(t.center,t.zoom)},_onZoom:function(){this._updateTransform(this._map.getCenter(),this._map.getZoom())},_updateTransform:function(t,e){var n=this._map.getZoomScale(e,this._zoom),i=fe(this._container),a=this._map.getSize().multiplyBy(.5+this.options.padding),r=this._map.project(this._center,e),o=this._map.project(t,e).subtract(r),s=a.multiplyBy(-n).add(i).add(a).subtract(o);gt?me(this._container,s,n):pe(this._container,s)},_reset:function(){for(var t in this._update(),this._updateTransform(this._center,this._zoom),this._layers)this._layers[t]._reset()},_onZoomEnd:function(){for(var t in this._layers)this._layers[t]._project()},_updatePaths:function(){for(var t in this._layers)this._layers[t]._update()},_update:function(){var t=this.options.padding,e=this._map.getSize(),n=this._map.containerPointToLayerPoint(e.multiplyBy(-t)).round();this._bounds=new I(n,n.add(e.multiplyBy(1+2*t)).round()),this._center=this._map.getCenter(),this._zoom=this._map.getZoom()}}),oi=ri.extend({getEvents:function(){var t=ri.prototype.getEvents.call(this);return t.viewprereset=this._onViewPreReset,t},_onViewPreReset:function(){this._postponeUpdatePaths=!0},onAdd:function(){ri.prototype.onAdd.call(this),this._draw()},_initContainer:function(){var t=this._container=document.createElement("canvas");Me(t,"mousemove",this._onMouseMove,this),Me(t,"click dblclick mousedown mouseup contextmenu",this._onClick,this),Me(t,"mouseout",this._handleMouseOut,this),this._ctx=t.getContext("2d")},_destroyContainer:function(){O(this._redrawRequest),delete this._ctx,ne(this._container),ke(this._container),delete this._container},_updatePaths:function(){if(!this._postponeUpdatePaths){for(var t in this._redrawBounds=null,this._layers)this._layers[t]._update();this._redraw()}},_update:function(){if(!this._map._animatingZoom||!this._bounds){ri.prototype._update.call(this);var t=this._bounds,e=this._container,n=t.getSize(),i=Ot?2:1;pe(e,t.min),e.width=i*n.x,e.height=i*n.y,e.style.width=n.x+"px",e.style.height=n.y+"px",Ot&&this._ctx.scale(2,2),this._ctx.translate(-t.min.x,-t.min.y),this.fire("update")}},_reset:function(){ri.prototype._reset.call(this),this._postponeUpdatePaths&&(this._postponeUpdatePaths=!1,this._updatePaths())},_initPath:function(t){this._updateDashArray(t),this._layers[r(t)]=t;var e=t._order={layer:t,prev:this._drawLast,next:null};this._drawLast&&(this._drawLast.next=e),this._drawLast=e,this._drawFirst=this._drawFirst||this._drawLast},_addPath:function(t){this._requestRedraw(t)},_removePath:function(t){var e=t._order,n=e.next,i=e.prev;n?n.prev=i:this._drawLast=i,i?i.next=n:this._drawFirst=n,delete t._order,delete this._layers[r(t)],this._requestRedraw(t)},_updatePath:function(t){this._extendRedrawBounds(t),t._project(),t._update(),this._requestRedraw(t)},_updateStyle:function(t){this._updateDashArray(t),this._requestRedraw(t)},_updateDashArray:function(t){if("string"==typeof t.options.dashArray){var e,n,i=t.options.dashArray.split(/[, ]+/),a=[];for(n=0;n<i.length;n++){if(e=Number(i[n]),isNaN(e))return;a.push(e)}t.options._dashArray=a}else t.options._dashArray=t.options.dashArray},_requestRedraw:function(t){this._map&&(this._extendRedrawBounds(t),this._redrawRequest=this._redrawRequest||M(this._redraw,this))},_extendRedrawBounds:function(t){if(t._pxBounds){var e=(t.options.weight||0)+1;this._redrawBounds=this._redrawBounds||new I,this._redrawBounds.extend(t._pxBounds.min.subtract([e,e])),this._redrawBounds.extend(t._pxBounds.max.add([e,e]))}},_redraw:function(){this._redrawRequest=null,this._redrawBounds&&(this._redrawBounds.min._floor(),this._redrawBounds.max._ceil()),this._clear(),this._draw(),this._redrawBounds=null},_clear:function(){var t=this._redrawBounds;if(t){var e=t.getSize();this._ctx.clearRect(t.min.x,t.min.y,e.x,e.y)}else this._ctx.save(),this._ctx.setTransform(1,0,0,1,0,0),this._ctx.clearRect(0,0,this._container.width,this._container.height),this._ctx.restore()},_draw:function(){var t,e=this._redrawBounds;if(this._ctx.save(),e){var n=e.getSize();this._ctx.beginPath(),this._ctx.rect(e.min.x,e.min.y,n.x,n.y),this._ctx.clip()}this._drawing=!0;for(var i=this._drawFirst;i;i=i.next)t=i.layer,(!e||t._pxBounds&&t._pxBounds.intersects(e))&&t._updatePath();this._drawing=!1,this._ctx.restore()},_updatePoly:function(t,e){if(this._drawing){var n,i,a,r,o=t._parts,s=o.length,l=this._ctx;if(s){for(l.beginPath(),n=0;n<s;n++){for(i=0,a=o[n].length;i<a;i++)l[i?"lineTo":"moveTo"]((r=o[n][i]).x,r.y);e&&l.closePath()}this._fillStroke(l,t)}}},_updateCircle:function(t){if(this._drawing&&!t._empty()){var e=t._point,n=this._ctx,i=Math.max(Math.round(t._radius),1),a=(Math.max(Math.round(t._radiusY),1)||i)/i;1!==a&&(n.save(),n.scale(1,a)),n.beginPath(),n.arc(e.x,e.y/a,i,0,2*Math.PI,!1),1!==a&&n.restore(),this._fillStroke(n,t)}},_fillStroke:function(t,e){var n=e.options;n.fill&&(t.globalAlpha=n.fillOpacity,t.fillStyle=n.fillColor||n.color,t.fill(n.fillRule||"evenodd")),n.stroke&&0!==n.weight&&(t.setLineDash&&t.setLineDash(e.options&&e.options._dashArray||[]),t.globalAlpha=n.opacity,t.lineWidth=n.weight,t.strokeStyle=n.color,t.lineCap=n.lineCap,t.lineJoin=n.lineJoin,t.stroke())},_onClick:function(t){for(var e,n,i=this._map.mouseEventToLayerPoint(t),a=this._drawFirst;a;a=a.next)(e=a.layer).options.interactive&&e._containsPoint(i)&&("click"!==t.type&&"preclick"===t.type||!this._map._draggableMoved(e))&&(n=e);n&&(Fe(t),this._fireEvent([n],t))},_onMouseMove:function(t){if(this._map&&!this._map.dragging.moving()&&!this._map._animatingZoom){var e=this._map.mouseEventToLayerPoint(t);this._handleMouseHover(t,e)}},_handleMouseOut:function(t){var e=this._hoveredLayer;e&&(le(this._container,"leaflet-interactive"),this._fireEvent([e],t,"mouseout"),this._hoveredLayer=null,this._mouseHoverThrottled=!1)},_handleMouseHover:function(t,e){if(!this._mouseHoverThrottled){for(var n,a,r=this._drawFirst;r;r=r.next)(n=r.layer).options.interactive&&n._containsPoint(e)&&(a=n);a!==this._hoveredLayer&&(this._handleMouseOut(t),a&&(se(this._container,"leaflet-interactive"),this._fireEvent([a],t,"mouseover"),this._hoveredLayer=a)),this._hoveredLayer&&this._fireEvent([this._hoveredLayer],t),this._mouseHoverThrottled=!0,setTimeout(i(function(){this._mouseHoverThrottled=!1},this),32)}},_fireEvent:function(t,e,n){this._map._fireDOMEvent(e,n||e.type,t)},_bringToFront:function(t){var e=t._order;if(e){var n=e.next,i=e.prev;n&&(n.prev=i,i?i.next=n:n&&(this._drawFirst=n),e.prev=this._drawLast,this._drawLast.next=e,e.next=null,this._drawLast=e,this._requestRedraw(t))}},_bringToBack:function(t){var e=t._order;if(e){var n=e.next,i=e.prev;i&&(i.next=n,n?n.prev=i:i&&(this._drawLast=i),e.prev=null,e.next=this._drawFirst,this._drawFirst.prev=e,this._drawFirst=e,this._requestRedraw(t))}}});function si(t){return St?new oi(t):null}var li=function(){try{return document.namespaces.add("lvml","urn:schemas-microsoft-com:vml"),function(t){return document.createElement("<lvml:"+t+' class="lvml">')}}catch(t){return function(t){return document.createElement("<"+t+' xmlns="urn:schemas-microsoft.com:vml" class="lvml">')}}}(),ci={_initContainer:function(){this._container=ee("div","leaflet-vml-container")},_update:function(){this._map._animatingZoom||(ri.prototype._update.call(this),this.fire("update"))},_initPath:function(t){var e=t._container=li("shape");se(e,"leaflet-vml-shape "+(this.options.className||"")),e.coordsize="1 1",t._path=li("path"),e.appendChild(t._path),this._updateStyle(t),this._layers[r(t)]=t},_addPath:function(t){var e=t._container;this._container.appendChild(e),t.options.interactive&&t.addInteractiveTarget(e)},_removePath:function(t){var e=t._container;ne(e),t.removeInteractiveTarget(e),delete this._layers[r(t)]},_updateStyle:function(t){var e=t._stroke,n=t._fill,i=t.options,a=t._container;a.stroked=!!i.stroke,a.filled=!!i.fill,i.stroke?(e||(e=t._stroke=li("stroke")),a.appendChild(e),e.weight=i.weight+"px",e.color=i.color,e.opacity=i.opacity,e.dashStyle=i.dashArray?g(i.dashArray)?i.dashArray.join(" "):i.dashArray.replace(/( *, *)/g," "):"",e.endcap=i.lineCap.replace("butt","flat"),e.joinstyle=i.lineJoin):e&&(a.removeChild(e),t._stroke=null),i.fill?(n||(n=t._fill=li("fill")),a.appendChild(n),n.color=i.fillColor||i.color,n.opacity=i.fillOpacity):n&&(a.removeChild(n),t._fill=null)},_updateCircle:function(t){var e=t._point.round(),n=Math.round(t._radius),i=Math.round(t._radiusY||n);this._setPath(t,t._empty()?"M0 0":"AL "+e.x+","+e.y+" "+n+","+i+" 0,23592600")},_setPath:function(t,e){t._path.v=e},_bringToFront:function(t){ae(t._container)},_bringToBack:function(t){re(t._container)}},di=Pt?li:Z,ui=ri.extend({getEvents:function(){var t=ri.prototype.getEvents.call(this);return t.zoomstart=this._onZoomStart,t},_initContainer:function(){this._container=di("svg"),this._container.setAttribute("pointer-events","none"),this._rootGroup=di("g"),this._container.appendChild(this._rootGroup)},_destroyContainer:function(){ne(this._container),ke(this._container),delete this._container,delete this._rootGroup,delete this._svgSize},_onZoomStart:function(){this._update()},_update:function(){if(!this._map._animatingZoom||!this._bounds){ri.prototype._update.call(this);var t=this._bounds,e=t.getSize(),n=this._container;this._svgSize&&this._svgSize.equals(e)||(this._svgSize=e,n.setAttribute("width",e.x),n.setAttribute("height",e.y)),pe(n,t.min),n.setAttribute("viewBox",[t.min.x,t.min.y,e.x,e.y].join(" ")),this.fire("update")}},_initPath:function(t){var e=t._path=di("path");t.options.className&&se(e,t.options.className),t.options.interactive&&se(e,"leaflet-interactive"),this._updateStyle(t),this._layers[r(t)]=t},_addPath:function(t){this._rootGroup||this._initContainer(),this._rootGroup.appendChild(t._path),t.addInteractiveTarget(t._path)},_removePath:function(t){ne(t._path),t.removeInteractiveTarget(t._path),delete this._layers[r(t)]},_updatePath:function(t){t._project(),t._update()},_updateStyle:function(t){var e=t._path,n=t.options;e&&(n.stroke?(e.setAttribute("stroke",n.color),e.setAttribute("stroke-opacity",n.opacity),e.setAttribute("stroke-width",n.weight),e.setAttribute("stroke-linecap",n.lineCap),e.setAttribute("stroke-linejoin",n.lineJoin),n.dashArray?e.setAttribute("stroke-dasharray",n.dashArray):e.removeAttribute("stroke-dasharray"),n.dashOffset?e.setAttribute("stroke-dashoffset",n.dashOffset):e.removeAttribute("stroke-dashoffset")):e.setAttribute("stroke","none"),n.fill?(e.setAttribute("fill",n.fillColor||n.color),e.setAttribute("fill-opacity",n.fillOpacity),e.setAttribute("fill-rule",n.fillRule||"evenodd")):e.setAttribute("fill","none"))},_updatePoly:function(t,e){this._setPath(t,$(t._parts,e))},_updateCircle:function(t){var e=t._point,n=Math.max(Math.round(t._radius),1),i="a"+n+","+(Math.max(Math.round(t._radiusY),1)||n)+" 0 1,0 ",a=t._empty()?"M0 0":"M"+(e.x-n)+","+e.y+i+2*n+",0 "+i+2*-n+",0 ";this._setPath(t,a)},_setPath:function(t,e){t._path.setAttribute("d",e)},_bringToFront:function(t){ae(t._path)},_bringToBack:function(t){re(t._path)}});function hi(t){return Tt||Pt?new ui(t):null}Pt&&ui.include(ci),Ue.include({getRenderer:function(t){var e=t.options.renderer||this._getPaneRenderer(t.options.pane)||this.options.renderer||this._renderer;return e||(e=this._renderer=this._createRenderer()),this.hasLayer(e)||this.addLayer(e),e},_getPaneRenderer:function(t){if("overlayPane"===t||void 0===t)return!1;var e=this._paneRenderers[t];return void 0===e&&(e=this._createRenderer({pane:t}),this._paneRenderers[t]=e),e},_createRenderer:function(t){return this.options.preferCanvas&&si(t)||hi(t)}});var mi=Rn.extend({initialize:function(t,e){Rn.prototype.initialize.call(this,this._boundsToLatLngs(t),e)},setBounds:function(t){return this.setLatLngs(this._boundsToLatLngs(t))},_boundsToLatLngs:function(t){return[(t=Y(t)).getSouthWest(),t.getNorthWest(),t.getNorthEast(),t.getSouthEast()]}});ui.create=di,ui.pointsToPath=$,Nn.geometryToLayer=Yn,Nn.coordsToLatLng=jn,Nn.coordsToLatLngs=Fn,Nn.latLngToCoords=zn,Nn.latLngsToCoords=Vn,Nn.getFeature=Bn,Nn.asFeature=Wn,Ue.mergeOptions({boxZoom:!0});var pi=Ke.extend({initialize:function(t){this._map=t,this._container=t._container,this._pane=t._panes.overlayPane,this._resetStateTimeout=0,t.on("unload",this._destroy,this)},addHooks:function(){Me(this._container,"mousedown",this._onMouseDown,this)},removeHooks:function(){ke(this._container,"mousedown",this._onMouseDown,this)},moved:function(){return this._moved},_destroy:function(){ne(this._pane),delete this._pane},_resetState:function(){this._resetStateTimeout=0,this._moved=!1},_clearDeferredResetState:function(){0!==this._resetStateTimeout&&(clearTimeout(this._resetStateTimeout),this._resetStateTimeout=0)},_onMouseDown:function(t){if(!t.shiftKey||1!==t.which&&1!==t.button)return!1;this._clearDeferredResetState(),this._resetState(),Vt(),be(),this._startPoint=this._map.mouseEventToContainerPoint(t),Me(document,{contextmenu:Re,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseMove:function(t){this._moved||(this._moved=!0,this._box=ee("div","leaflet-zoom-box",this._container),se(this._container,"leaflet-crosshair"),this._map.fire("boxzoomstart")),this._point=this._map.mouseEventToContainerPoint(t);var e=new I(this._point,this._startPoint),n=e.getSize();pe(this._box,e.min),this._box.style.width=n.x+"px",this._box.style.height=n.y+"px"},_finish:function(){this._moved&&(ne(this._box),le(this._container,"leaflet-crosshair")),Bt(),_e(),ke(document,{contextmenu:Re,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseUp:function(t){if((1===t.which||1===t.button)&&(this._finish(),this._moved)){this._clearDeferredResetState(),this._resetStateTimeout=setTimeout(i(this._resetState,this),0);var e=new N(this._map.containerPointToLatLng(this._startPoint),this._map.containerPointToLatLng(this._point));this._map.fitBounds(e).fire("boxzoomend",{boxZoomBounds:e})}},_onKeyDown:function(t){27===t.keyCode&&this._finish()}});Ue.addInitHook("addHandler","boxZoom",pi),Ue.mergeOptions({doubleClickZoom:!0});var fi=Ke.extend({addHooks:function(){this._map.on("dblclick",this._onDoubleClick,this)},removeHooks:function(){this._map.off("dblclick",this._onDoubleClick,this)},_onDoubleClick:function(t){var e=this._map,n=e.getZoom(),i=e.options.zoomDelta,a=t.originalEvent.shiftKey?n-i:n+i;"center"===e.options.doubleClickZoom?e.setZoom(a):e.setZoomAround(t.containerPoint,a)}});Ue.addInitHook("addHandler","doubleClickZoom",fi),Ue.mergeOptions({dragging:!0,inertia:!it,inertiaDeceleration:3400,inertiaMaxSpeed:1/0,easeLinearity:.2,worldCopyJump:!1,maxBoundsViscosity:0});var gi=Ke.extend({addHooks:function(){if(!this._draggable){var t=this._map;this._draggable=new rn(t._mapPane,t._container),this._draggable.on({dragstart:this._onDragStart,drag:this._onDrag,dragend:this._onDragEnd},this),this._draggable.on("predrag",this._onPreDragLimit,this),t.options.worldCopyJump&&(this._draggable.on("predrag",this._onPreDragWrap,this),t.on("zoomend",this._onZoomEnd,this),t.whenReady(this._onZoomEnd,this))}se(this._map._container,"leaflet-grab leaflet-touch-drag"),this._draggable.enable(),this._positions=[],this._times=[]},removeHooks:function(){le(this._map._container,"leaflet-grab"),le(this._map._container,"leaflet-touch-drag"),this._draggable.disable()},moved:function(){return this._draggable&&this._draggable._moved},moving:function(){return this._draggable&&this._draggable._moving},_onDragStart:function(){var t=this._map;if(t._stop(),this._map.options.maxBounds&&this._map.options.maxBoundsViscosity){var e=Y(this._map.options.maxBounds);this._offsetLimit=R(this._map.latLngToContainerPoint(e.getNorthWest()).multiplyBy(-1),this._map.latLngToContainerPoint(e.getSouthEast()).multiplyBy(-1).add(this._map.getSize())),this._viscosity=Math.min(1,Math.max(0,this._map.options.maxBoundsViscosity))}else this._offsetLimit=null;t.fire("movestart").fire("dragstart"),t.options.inertia&&(this._positions=[],this._times=[])},_onDrag:function(t){if(this._map.options.inertia){var e=this._lastTime=+new Date,n=this._lastPos=this._draggable._absPos||this._draggable._newPos;this._positions.push(n),this._times.push(e),this._prunePositions(e)}this._map.fire("move",t).fire("drag",t)},_prunePositions:function(t){for(;this._positions.length>1&&t-this._times[0]>50;)this._positions.shift(),this._times.shift()},_onZoomEnd:function(){var t=this._map.getSize().divideBy(2),e=this._map.latLngToLayerPoint([0,0]);this._initialWorldOffset=e.subtract(t).x,this._worldWidth=this._map.getPixelWorldBounds().getSize().x},_viscousLimit:function(t,e){return t-(t-e)*this._viscosity},_onPreDragLimit:function(){if(this._viscosity&&this._offsetLimit){var t=this._draggable._newPos.subtract(this._draggable._startPos),e=this._offsetLimit;t.x<e.min.x&&(t.x=this._viscousLimit(t.x,e.min.x)),t.y<e.min.y&&(t.y=this._viscousLimit(t.y,e.min.y)),t.x>e.max.x&&(t.x=this._viscousLimit(t.x,e.max.x)),t.y>e.max.y&&(t.y=this._viscousLimit(t.y,e.max.y)),this._draggable._newPos=this._draggable._startPos.add(t)}},_onPreDragWrap:function(){var t=this._worldWidth,e=Math.round(t/2),n=this._initialWorldOffset,i=this._draggable._newPos.x,a=(i-e+n)%t+e-n,r=(i+e+n)%t-e-n,o=Math.abs(a+n)<Math.abs(r+n)?a:r;this._draggable._absPos=this._draggable._newPos.clone(),this._draggable._newPos.x=o},_onDragEnd:function(t){var e=this._map,n=e.options,i=!n.inertia||this._times.length<2;if(e.fire("dragend",t),i)e.fire("moveend");else{this._prunePositions(+new Date);var a=this._lastPos.subtract(this._positions[0]),r=n.easeLinearity,o=a.multiplyBy(r/((this._lastTime-this._times[0])/1e3)),s=o.distanceTo([0,0]),l=Math.min(n.inertiaMaxSpeed,s),c=o.multiplyBy(l/s),d=l/(n.inertiaDeceleration*r),u=c.multiplyBy(-d/2).round();u.x||u.y?(u=e._limitOffset(u,e.options.maxBounds),M(function(){e.panBy(u,{duration:d,easeLinearity:r,noMoveStart:!0,animate:!0})})):e.fire("moveend")}}});Ue.addInitHook("addHandler","dragging",gi),Ue.mergeOptions({keyboard:!0,keyboardPanDelta:80});var bi=Ke.extend({keyCodes:{left:[37],right:[39],down:[40],up:[38],zoomIn:[187,107,61,171],zoomOut:[189,109,54,173]},initialize:function(t){this._map=t,this._setPanDelta(t.options.keyboardPanDelta),this._setZoomDelta(t.options.zoomDelta)},addHooks:function(){var t=this._map._container;t.tabIndex<=0&&(t.tabIndex="0"),Me(t,{focus:this._onFocus,blur:this._onBlur,mousedown:this._onMouseDown},this),this._map.on({focus:this._addHooks,blur:this._removeHooks},this)},removeHooks:function(){this._removeHooks(),ke(this._map._container,{focus:this._onFocus,blur:this._onBlur,mousedown:this._onMouseDown},this),this._map.off({focus:this._addHooks,blur:this._removeHooks},this)},_onMouseDown:function(){if(!this._focused){var t=document.body,e=document.documentElement,n=t.scrollTop||e.scrollTop,i=t.scrollLeft||e.scrollLeft;this._map._container.focus(),window.scrollTo(i,n)}},_onFocus:function(){this._focused=!0,this._map.fire("focus")},_onBlur:function(){this._focused=!1,this._map.fire("blur")},_setPanDelta:function(t){var e,n,i=this._panKeys={},a=this.keyCodes;for(e=0,n=a.left.length;e<n;e++)i[a.left[e]]=[-1*t,0];for(e=0,n=a.right.length;e<n;e++)i[a.right[e]]=[t,0];for(e=0,n=a.down.length;e<n;e++)i[a.down[e]]=[0,t];for(e=0,n=a.up.length;e<n;e++)i[a.up[e]]=[0,-1*t]},_setZoomDelta:function(t){var e,n,i=this._zoomKeys={},a=this.keyCodes;for(e=0,n=a.zoomIn.length;e<n;e++)i[a.zoomIn[e]]=t;for(e=0,n=a.zoomOut.length;e<n;e++)i[a.zoomOut[e]]=-t},_addHooks:function(){Me(document,"keydown",this._onKeyDown,this)},_removeHooks:function(){ke(document,"keydown",this._onKeyDown,this)},_onKeyDown:function(t){if(!(t.altKey||t.ctrlKey||t.metaKey)){var e,n=t.keyCode,i=this._map;if(n in this._panKeys)i._panAnim&&i._panAnim._inProgress||(e=this._panKeys[n],t.shiftKey&&(e=A(e).multiplyBy(3)),i.panBy(e),i.options.maxBounds&&i.panInsideBounds(i.options.maxBounds));else if(n in this._zoomKeys)i.setZoom(i.getZoom()+(t.shiftKey?3:1)*this._zoomKeys[n]);else{if(27!==n||!i._popup||!i._popup.options.closeOnEscapeKey)return;i.closePopup()}Re(t)}}});Ue.addInitHook("addHandler","keyboard",bi),Ue.mergeOptions({scrollWheelZoom:!0,wheelDebounceTime:40,wheelPxPerZoomLevel:60});var _i=Ke.extend({addHooks:function(){Me(this._map._container,"wheel",this._onWheelScroll,this),this._delta=0},removeHooks:function(){ke(this._map._container,"wheel",this._onWheelScroll,this)},_onWheelScroll:function(t){var e=He(t),n=this._map.options.wheelDebounceTime;this._delta+=e,this._lastMousePos=this._map.mouseEventToContainerPoint(t),this._startTime||(this._startTime=+new Date);var a=Math.max(n-(+new Date-this._startTime),0);clearTimeout(this._timer),this._timer=setTimeout(i(this._performZoom,this),a),Re(t)},_performZoom:function(){var t=this._map,e=t.getZoom(),n=this._map.options.zoomSnap||0;t._stop();var i=4*Math.log(2/(1+Math.exp(-Math.abs(this._delta/(4*this._map.options.wheelPxPerZoomLevel)))))/Math.LN2,a=n?Math.ceil(i/n)*n:i,r=t._limitZoom(e+(this._delta>0?a:-a))-e;this._delta=0,this._startTime=null,r&&("center"===t.options.scrollWheelZoom?t.setZoom(e+r):t.setZoomAround(this._lastMousePos,e+r))}});Ue.addInitHook("addHandler","scrollWheelZoom",_i),Ue.mergeOptions({tap:!0,tapTolerance:15});var yi=Ke.extend({addHooks:function(){Me(this._map._container,"touchstart",this._onDown,this)},removeHooks:function(){ke(this._map._container,"touchstart",this._onDown,this)},_onDown:function(t){if(t.touches){if(Ie(t),this._fireClick=!0,t.touches.length>1)return this._fireClick=!1,void clearTimeout(this._holdTimeout);var e=t.touches[0],n=e.target;this._startPos=this._newPos=new D(e.clientX,e.clientY),n.tagName&&"a"===n.tagName.toLowerCase()&&se(n,"leaflet-active"),this._holdTimeout=setTimeout(i(function(){this._isTapValid()&&(this._fireClick=!1,this._onUp(),this._simulateEvent("contextmenu",e))},this),1e3),this._simulateEvent("mousedown",e),Me(document,{touchmove:this._onMove,touchend:this._onUp},this)}},_onUp:function(t){if(clearTimeout(this._holdTimeout),ke(document,{touchmove:this._onMove,touchend:this._onUp},this),this._fireClick&&t&&t.changedTouches){var e=t.changedTouches[0],n=e.target;n&&n.tagName&&"a"===n.tagName.toLowerCase()&&le(n,"leaflet-active"),this._simulateEvent("mouseup",e),this._isTapValid()&&this._simulateEvent("click",e)}},_isTapValid:function(){return this._newPos.distanceTo(this._startPos)<=this._map.options.tapTolerance},_onMove:function(t){var e=t.touches[0];this._newPos=new D(e.clientX,e.clientY),this._simulateEvent("mousemove",e)},_simulateEvent:function(t,e){var n=document.createEvent("MouseEvents");n._simulated=!0,e.target._simulatedClick=!0,n.initMouseEvent(t,!0,!0,window,1,e.screenX,e.screenY,e.clientX,e.clientY,!1,!1,!1,!1,0,null),e.target.dispatchEvent(n)}});!wt||Ct&&!ct||Ue.addInitHook("addHandler","tap",yi),Ue.mergeOptions({touchZoom:wt&&!it,bounceAtZoomLimits:!0});var vi=Ke.extend({addHooks:function(){se(this._map._container,"leaflet-touch-zoom"),Me(this._map._container,"touchstart",this._onTouchStart,this)},removeHooks:function(){le(this._map._container,"leaflet-touch-zoom"),ke(this._map._container,"touchstart",this._onTouchStart,this)},_onTouchStart:function(t){var e=this._map;if(t.touches&&2===t.touches.length&&!e._animatingZoom&&!this._zooming){var n=e.mouseEventToContainerPoint(t.touches[0]),i=e.mouseEventToContainerPoint(t.touches[1]);this._centerPoint=e.getSize()._divideBy(2),this._startLatLng=e.containerPointToLatLng(this._centerPoint),"center"!==e.options.touchZoom&&(this._pinchStartLatLng=e.containerPointToLatLng(n.add(i)._divideBy(2))),this._startDist=n.distanceTo(i),this._startZoom=e.getZoom(),this._moved=!1,this._zooming=!0,e._stop(),Me(document,"touchmove",this._onTouchMove,this),Me(document,"touchend",this._onTouchEnd,this),Ie(t)}},_onTouchMove:function(t){if(t.touches&&2===t.touches.length&&this._zooming){var e=this._map,n=e.mouseEventToContainerPoint(t.touches[0]),a=e.mouseEventToContainerPoint(t.touches[1]),r=n.distanceTo(a)/this._startDist;if(this._zoom=e.getScaleZoom(r,this._startZoom),!e.options.bounceAtZoomLimits&&(this._zoom<e.getMinZoom()&&r<1||this._zoom>e.getMaxZoom()&&r>1)&&(this._zoom=e._limitZoom(this._zoom)),"center"===e.options.touchZoom){if(this._center=this._startLatLng,1===r)return}else{var o=n._add(a)._divideBy(2)._subtract(this._centerPoint);if(1===r&&0===o.x&&0===o.y)return;this._center=e.unproject(e.project(this._pinchStartLatLng,this._zoom).subtract(o),this._zoom)}this._moved||(e._moveStart(!0,!1),this._moved=!0),O(this._animRequest);var s=i(e._move,e,this._center,this._zoom,{pinch:!0,round:!1});this._animRequest=M(s,this,!0),Ie(t)}},_onTouchEnd:function(){this._moved&&this._zooming?(this._zooming=!1,O(this._animRequest),ke(document,"touchmove",this._onTouchMove,this),ke(document,"touchend",this._onTouchEnd,this),this._map.options.zoomAnimation?this._map._animateZoom(this._center,this._map._limitZoom(this._zoom),!0,this._map.options.zoomSnap):this._map._resetView(this._center,this._map._limitZoom(this._zoom))):this._zooming=!1}});Ue.addInitHook("addHandler","touchZoom",vi),Ue.BoxZoom=pi,Ue.DoubleClickZoom=fi,Ue.Drag=gi,Ue.Keyboard=bi,Ue.ScrollWheelZoom=_i,Ue.Tap=yi,Ue.TouchZoom=vi,t.version="1.7.1",t.Control=qe,t.control=Ge,t.Browser=Dt,t.Evented=P,t.Mixin=tn,t.Util=k,t.Class=S,t.Handler=Ke,t.extend=e,t.bind=i,t.stamp=r,t.setOptions=h,t.DomEvent=Be,t.DomUtil=xe,t.PosAnimation=We,t.Draggable=rn,t.LineUtil=fn,t.PolyUtil=bn,t.Point=D,t.point=A,t.Bounds=I,t.bounds=R,t.Transformation=W,t.transformation=U,t.Projection=vn,t.LatLng=H,t.latLng=j,t.LatLngBounds=N,t.latLngBounds=Y,t.CRS=z,t.GeoJSON=Nn,t.geoJSON=qn,t.geoJson=Gn,t.Layer=Mn,t.LayerGroup=On,t.layerGroup=function(t,e){return new On(t,e)},t.FeatureGroup=kn,t.featureGroup=function(t,e){return new kn(t,e)},t.ImageOverlay=Jn,t.imageOverlay=function(t,e,n){return new Jn(t,e,n)},t.VideoOverlay=Zn,t.videoOverlay=function(t,e,n){return new Zn(t,e,n)},t.SVGOverlay=$n,t.svgOverlay=function(t,e,n){return new $n(t,e,n)},t.DivOverlay=Xn,t.Popup=Kn,t.popup=function(t,e){return new Kn(t,e)},t.Tooltip=Qn,t.tooltip=function(t,e){return new Qn(t,e)},t.Icon=Sn,t.icon=function(t){return new Sn(t)},t.DivIcon=ti,t.divIcon=function(t){return new ti(t)},t.Marker=Ln,t.marker=function(t,e){return new Ln(t,e)},t.TileLayer=ni,t.tileLayer=ii,t.GridLayer=ei,t.gridLayer=function(t){return new ei(t)},t.SVG=ui,t.svg=hi,t.Renderer=ri,t.Canvas=oi,t.canvas=si,t.Path=Dn,t.CircleMarker=En,t.circleMarker=function(t,e){return new En(t,e)},t.Circle=An,t.circle=function(t,e,n){return new An(t,e,n)},t.Polyline=In,t.polyline=function(t,e){return new In(t,e)},t.Polygon=Rn,t.polygon=function(t,e){return new Rn(t,e)},t.Rectangle=mi,t.rectangle=function(t,e){return new mi(t,e)},t.Map=Ue,t.map=function(t,e){return new Ue(t,e)};var Ci=window.L;t.noConflict=function(){return window.L=Ci,this},window.L=t}(e)},"4Smk":function(t,e,n){"use strict";n.r(e),n.d(e,"InscriptionModule",function(){return R});var i=n("SVse"),a=n("PCNd"),r=n("iInd"),o=n("AFtR"),s=n("cp0P"),l=n("lJxs"),c=n("fqiG"),d=n("zfSa"),u=n("NlNA"),h=n("8Y7J"),m=n("cv7C"),p=n("bKjt"),f=n("zaPX"),g=n("TSSN"),b=n("s7LF");let _=(()=>{class t{constructor(t,e,n,i,a){this.langueService=t,this.countryService=e,this.configSharedService=n,this.translateService=i,this.fb=a}resolve(t){return Object(s.a)([this.langueService.getLangues(),this.countryService.getCountries()]).pipe(Object(l.a)(([e,n])=>{const i=new u.a({});return i.role=this.getRoleFromKey(t.params.type),i.compte.langue=this.translateService.currentLang,this.configSharedService.setlangues(e),this.configSharedService.setCountries(n),this.configSharedService.setForm(new c.a(this.fb,i,n,!1,!1).build()),i}))}getRoleFromKey(t){switch(t){case"mandataire":return d.a.MANDATAIRE;case"ordre":return d.a.DONNEUR_ORDRE;default:return d.a.ENTREPRISE}}}return t.\u0275fac=function(e){return new(e||t)(h.Xb(m.a),h.Xb(p.a),h.Xb(f.a),h.Xb(g.d),h.Xb(b.d))},t.\u0275prov=h.Jb({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();var y=n("IGtN"),v=n("f4AX"),C=n("jKJn"),w=n("PDjf"),x=n("4dBv"),M=n("Dxy4"),O=n("q6Qu"),k=n("Q2Ze"),S=n("Tj54");function T(t,e){1&t&&(h.Tb(0,"span"),h.Hc(1),h.gc(2,"translate"),h.Sb()),2&t&&(h.Cb(1),h.Ic(h.hc(2,1,"compte.error.validation")))}function P(t,e){1&t&&(h.Tb(0,"span"),h.Hc(1),h.gc(2,"translate"),h.Sb()),2&t&&(h.Cb(1),h.Ic(h.hc(2,1,"compte.error.email.utilise")))}function L(t,e){1&t&&(h.Tb(0,"span"),h.Hc(1),h.gc(2,"translate"),h.Sb()),2&t&&(h.Cb(1),h.Ic(h.hc(2,1,"compte.delete.message")))}function D(t,e){1&t&&(h.Tb(0,"span"),h.Hc(1),h.gc(2,"translate"),h.Sb()),2&t&&(h.Cb(1),h.Ic(h.hc(2,1,"common.error.interne")))}function E(t,e){if(1&t&&(h.Tb(0,"div",7),h.Tb(1,"mat-error"),h.Tb(2,"mat-icon"),h.Hc(3,"warning"),h.Sb(),h.Fc(4,T,3,3,"span",8),h.Fc(5,P,3,3,"span",8),h.Fc(6,L,3,3,"span",8),h.Fc(7,D,3,3,"span",8),h.Sb(),h.Sb()),2&t){const t=h.fc();h.Cb(4),h.nc("ngIf","VALIDITY"===t.errorKey),h.Cb(1),h.nc("ngIf","UNICITY"===t.errorKey),h.Cb(1),h.nc("ngIf","USER_DELETED"===t.errorKey),h.Cb(1),h.nc("ngIf",t.error&&"VALIDITY"!==t.errorKey&&"UNICITY"!==t.errorKey&&"USER_DELETED"!==t.errorKey)}}let A=(()=>{class t extends y.a{constructor(t,e,n,i,a,r){super(t),this.translateService=t,this.userService=e,this.alertService=n,this.router=i,this.route=a,this.configSharedService=r,this.loaderReady=!1,this.error=!1,this.errorKey=null}get roleLabel(){switch(this.userRole){case d.a.MANDATAIRE:return"compte.type.mandataire";case d.a.ENTREPRISE:return"compte.type.entreprise";case d.a.DONNEUR_ORDRE:return"compte.type.ordre";default:return""}}load(){this.countries=this.configSharedService.countries,this.subscriptions.push(this.route.params.subscribe(t=>{this.createCompteForm=this.configSharedService.form,this.userRole=this.getRoleFromKey(t.type)}))}resetDirigeantForm(){this.userRole===d.a.DONNEUR_ORDRE||this.userRole===d.a.MANDATAIRE?this.createCompteForm.get("entreprise").get("dirigeant").disable():this.createCompteForm.get("entreprise").get("dirigeant").enable()}getRoleFromKey(t){switch(t){case"mandataire":return d.a.MANDATAIRE;case"ordre":return d.a.DONNEUR_ORDRE;default:return d.a.ENTREPRISE}}onSubmit(){this.createCompteForm&&!this.createCompteForm.valid||this.userService.createUser(this.userMapper()).subscribe(t=>{t.errorCode?(this.errorKey=t.errorCode,this.error=!0):this.translateService.get("compte.inscription.done").subscribe(t=>{this.alertService.notify(t),this.router.navigate(["/auth/login"])})})}back(){this.router.navigate(["/"])}userMapper(){const t=new u.a(this.createCompteForm.getRawValue());t.role=this.userRole,t.entreprise.adresse.pays=this.createCompteForm.get("entreprise").get("adresse").get("pays").value.code;const e=this.createCompteForm.get("entreprise").get("dirigeant").get("paysNaissance").value;return e&&(t.entreprise.dirigeant.paysNaissance=e.code),t}}return t.\u0275fac=function(e){return new(e||t)(h.Nb(g.d),h.Nb(v.a),h.Nb(C.a),h.Nb(r.f),h.Nb(r.a),h.Nb(f.a))},t.\u0275cmp=h.Hb({type:t,selectors:[["app-inscription"]],features:[h.zb],decls:13,vars:11,consts:[[1,"content"],["name","editCompte",3,"showCaptcha","userRole","compteForm"],["class","error",4,"ngIf"],[1,"actions"],["mat-raised-button","","color","primary","name","submitBtn","type","button","aria-label","submit","appLabel","compte.inscription.submit",3,"disabled","click"],[1,"separator"],["mat-raised-button","","color","warn","type","button","aria-label","cancel","appLabel","common.annuler",3,"click"],[1,"error"],[4,"ngIf"]],template:function(t,e){1&t&&(h.Tb(0,"div",0),h.Tb(1,"h1"),h.Hc(2),h.gc(3,"translate"),h.gc(4,"translate"),h.Sb(),h.Tb(5,"mat-card"),h.Tb(6,"mat-card-content"),h.Ob(7,"app-edit-compte",1),h.Fc(8,E,8,4,"div",2),h.Tb(9,"div",3),h.Tb(10,"button",4),h.bc("click",function(){return e.onSubmit()}),h.Sb(),h.Ob(11,"div",5),h.Tb(12,"button",6),h.bc("click",function(){return e.back()}),h.Sb(),h.Sb(),h.Sb(),h.Sb(),h.Sb()),2&t&&(h.Cb(2),h.Kc(" ",h.hc(3,7,"compte.inscription.titre")," ",h.hc(4,9,e.roleLabel)," "),h.Cb(5),h.nc("showCaptcha",!0)("userRole",e.userRole)("compteForm",e.createCompteForm),h.Cb(1),h.nc("ngIf",e.error),h.Cb(2),h.nc("disabled",e.createCompteForm.invalid))},directives:[w.a,w.b,x.a,i.l,M.a,O.a,k.b,S.a],pipes:[g.c],styles:[".actions[_ngcontent-%COMP%]{display:-ms-flexbox;display:flex;padding-top:16px}.actions[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{-ms-flex:1;flex:1}.actions[_ngcontent-%COMP%] .separator[_ngcontent-%COMP%]{width:50px}"]}),t})(),I=(()=>{class t{}return t.\u0275mod=h.Lb({type:t}),t.\u0275inj=h.Kb({factory:function(e){return new(e||t)},imports:[[r.j.forChild([{path:":type",component:A,resolve:{configurationData:o.a,newUser:_},runGuardsAndResolvers:"always"}])],r.j]}),t})(),R=(()=>{class t{}return t.\u0275mod=h.Lb({type:t}),t.\u0275inj=h.Kb({factory:function(e){return new(e||t)},imports:[[i.c,a.a,I]]}),t})()},"4dBv":function(t,e,n){"use strict";n.d(e,"a",function(){return tt});var i=n("s7LF"),a=n("Lyw/"),r=n("Rqom"),o=n("IGtN"),s=n("zfSa"),l=n("8Y7J"),c=n("TSSN"),d=n("lxpx"),u=n("iInd"),h=n("zaPX"),m=(n("Cwn8"),n("q6Qu")),p=n("Q2Ze"),f=n("e6WT"),g=n("ZTz/"),b=n("SVse"),_=n("UhP/"),y=n("48lP"),v=n("Y7XA"),C=n("pMoy"),w=n("Mkv7"),x=n("0MyW"),M=n("7pfu");function O(t,e){if(1&t&&(l.Tb(0,"mat-option",18),l.Hc(1),l.Sb()),2&t){const t=e.$implicit;l.nc("value",t.code)("ngClass",t.code),l.Cb(1),l.Jc(" ",t.nom," ")}}function k(t,e){if(1&t&&(l.Tb(0,"mat-form-field"),l.Tb(1,"mat-select",19),l.Tb(2,"mat-option",20),l.Hc(3),l.gc(4,"translate"),l.Sb(),l.Tb(5,"mat-option",21),l.Hc(6),l.gc(7,"translate"),l.Sb(),l.Tb(8,"mat-option",22),l.Hc(9),l.gc(10,"translate"),l.Sb(),l.Sb(),l.Sb()),2&t){const t=l.fc();l.Cb(1),l.nc("formControl",t.dpdDefault),l.Cb(2),l.Jc(" ",l.hc(4,4,"compte.dpd.choix.prestation")," "),l.Cb(3),l.Jc(" ",l.hc(7,6,"compte.dpd.choix.mobilite")," "),l.Cb(3),l.Jc(" ",l.hc(10,8,"compte.dpd.choix.disposition")," ")}}function S(t,e){1&t&&l.Ob(0,"div",23)}function T(t,e){1&t&&l.Ob(0,"div",24)}function P(t,e){1&t&&l.Ob(0,"div",25)}function L(t,e){if(1&t&&(l.Tb(0,"div",34),l.Ob(1,"app-siret-check-2",35),l.Sb()),2&t){const t=l.fc(2);l.Cb(1),l.nc("formGp",t.entrepriseFg)("isAutocompleteDisabled",!0)("isRequired",!0)}}function D(t,e){1&t&&(l.Tb(0,"mat-error"),l.Hc(1),l.gc(2,"translate"),l.Sb()),2&t&&(l.Cb(1),l.Jc(" ",l.hc(2,1,"common.error.requis")," "))}function E(t,e){1&t&&(l.Tb(0,"mat-error"),l.Hc(1),l.gc(2,"translate"),l.Sb()),2&t&&(l.Cb(1),l.Jc(" ",l.hc(2,1,"common.error.length")," "))}function A(t,e){1&t&&(l.Tb(0,"mat-error"),l.Hc(1),l.gc(2,"translate"),l.Sb()),2&t&&(l.Cb(1),l.Jc(" ",l.hc(2,1,"common.error.requis")," "))}function I(t,e){1&t&&(l.Tb(0,"mat-error"),l.Hc(1),l.gc(2,"translate"),l.Sb()),2&t&&(l.Cb(1),l.Jc(" ",l.hc(2,1,"common.error.length")," "))}function R(t,e){1&t&&(l.Tb(0,"mat-error"),l.Hc(1),l.gc(2,"translate"),l.Sb()),2&t&&(l.Cb(1),l.Jc(" ",l.hc(2,1,"common.error.requis")," "))}function N(t,e){1&t&&(l.Tb(0,"mat-error"),l.Hc(1),l.gc(2,"translate"),l.Sb()),2&t&&(l.Cb(1),l.Jc(" ",l.hc(2,1,"common.error.email")," "))}function Y(t,e){1&t&&(l.Tb(0,"mat-error"),l.Hc(1),l.gc(2,"translate"),l.Sb()),2&t&&(l.Cb(1),l.Jc(" ",l.hc(2,1,"common.error.length")," "))}function H(t,e){1&t&&(l.Tb(0,"mat-error"),l.Hc(1),l.gc(2,"translate"),l.Sb()),2&t&&(l.Cb(1),l.Jc(" ",l.hc(2,1,"common.error.requis")," "))}function j(t,e){1&t&&(l.Tb(0,"mat-error"),l.Hc(1),l.gc(2,"translate"),l.Sb()),2&t&&(l.Cb(1),l.Jc(" ",l.hc(2,1,"common.error.length")," "))}function F(t,e){if(1&t&&(l.Tb(0,"mat-form-field",27),l.Ob(1,"input",36),l.Fc(2,H,3,3,"mat-error",11),l.Fc(3,j,3,3,"mat-error",11),l.Sb()),2&t){const t=l.fc(2);l.Cb(2),l.nc("ngIf",t.doesEntrepriseHaveError("status","required")),l.Cb(1),l.nc("ngIf",t.doesEntrepriseHaveError("status","maxlength"))}}function z(t,e){if(1&t){const t=l.Ub();l.Tb(0,"div",37),l.Tb(1,"mat-checkbox",38),l.bc("change",function(e){return l.yc(t),l.fc(2).onNoTVACheckboxChange(e.checked)}),l.Hc(2),l.gc(3,"translate"),l.Sb(),l.Sb()}if(2&t){const t=l.fc(2);l.Cb(1),l.nc("indeterminate",!t.doesCountryHaveTVA),l.Cb(1),l.Jc(" ",l.hc(3,2,"common.tva.no")," ")}}function V(t,e){if(1&t){const t=l.Ub();l.Tb(0,"div",27),l.Tb(1,"app-tva-check-2",39),l.bc("stateChangeEvent",function(e){return l.yc(t),l.fc(2).onStateChange(e)}),l.Sb(),l.Sb()}if(2&t){const t=l.fc(2);l.Cb(1),l.nc("state",t.state)("formCtrl",t.numTVACtrl)("countryCode",t.countryCodeTVA)("isAutocompleteDisabled",!0)}}function B(t,e){1&t&&(l.Tb(0,"mat-error"),l.Hc(1),l.gc(2,"translate"),l.Sb()),2&t&&(l.Cb(1),l.Jc(" ",l.hc(2,1,"common.error.requis")," "))}function W(t,e){1&t&&(l.Tb(0,"mat-error"),l.Hc(1),l.gc(2,"translate"),l.Sb()),2&t&&(l.Cb(1),l.Jc(" ",l.hc(2,1,"common.error.length")," "))}function U(t,e){if(1&t&&(l.Tb(0,"mat-form-field"),l.Ob(1,"input",40),l.Fc(2,B,3,3,"mat-error",11),l.Fc(3,W,3,3,"mat-error",11),l.Sb()),2&t){const t=l.fc(2);l.Cb(2),l.nc("ngIf",t.doesEntrepriseHaveError("registre","required")),l.Cb(1),l.nc("ngIf",t.doesEntrepriseHaveError("registre","maxlength"))}}function q(t,e){1&t&&(l.Tb(0,"mat-error"),l.Hc(1),l.gc(2,"translate"),l.Sb()),2&t&&(l.Cb(1),l.Jc(" ",l.hc(2,1,"common.error.requis")," "))}function G(t,e){1&t&&(l.Tb(0,"mat-error"),l.Hc(1),l.gc(2,"translate"),l.Sb()),2&t&&(l.Cb(1),l.Jc(" ",l.hc(2,1,"common.error.length")," "))}function J(t,e){if(1&t&&(l.Tb(0,"mat-form-field"),l.Ob(1,"input",41),l.Fc(2,q,3,3,"mat-error",11),l.Fc(3,G,3,3,"mat-error",11),l.Sb()),2&t){const t=l.fc(2);l.Cb(2),l.nc("ngIf",t.doesEntrepriseHaveError("reference","required")),l.Cb(1),l.nc("ngIf",t.doesEntrepriseHaveError("reference","maxlength"))}}function Z(t,e){if(1&t){const t=l.Ub();l.Tb(0,"div"),l.Fc(1,L,2,3,"div",26),l.Tb(2,"mat-form-field",27),l.Ob(3,"input",28),l.Fc(4,D,3,3,"mat-error",11),l.Fc(5,E,3,3,"mat-error",11),l.Sb(),l.Tb(6,"app-address-form-2",29),l.bc("countryChangeEvent",function(e){return l.yc(t),l.fc().onCountryChange(e)}),l.Sb(),l.Tb(7,"div",3),l.Tb(8,"mat-form-field"),l.Ob(9,"input",30),l.Fc(10,A,3,3,"mat-error",11),l.Fc(11,I,3,3,"mat-error",11),l.Sb(),l.Ob(12,"div",5),l.Tb(13,"mat-form-field"),l.Ob(14,"input",31),l.Fc(15,R,3,3,"mat-error",11),l.Fc(16,N,3,3,"mat-error",11),l.Fc(17,Y,3,3,"mat-error",11),l.Sb(),l.Sb(),l.Fc(18,F,4,2,"mat-form-field",32),l.Fc(19,z,4,4,"div",33),l.Fc(20,V,2,4,"div",32),l.Tb(21,"div",3),l.Fc(22,U,4,2,"mat-form-field",11),l.Ob(23,"div",5),l.Fc(24,J,4,2,"mat-form-field",11),l.Sb(),l.Sb()}if(2&t){const t=l.fc();l.Cb(1),l.nc("ngIf",t.isUserMandataire),l.Cb(3),l.nc("ngIf",t.doesEntrepriseHaveError("raisonSociale","required")),l.Cb(1),l.nc("ngIf",t.doesEntrepriseHaveError("raisonSociale","maxlength")),l.Cb(1),l.nc("formGp",t.adresseFg)("showCountry",!t.isUserMandataire)("isAutocompleteDisabled",!0)("isRequired",!0)("showFR",t.showFR),l.Cb(4),l.nc("ngIf",t.doesEntrepriseHaveError("telephone","required")),l.Cb(1),l.nc("ngIf",t.doesEntrepriseHaveError("telephone","maxlength")),l.Cb(4),l.nc("ngIf",t.doesEntrepriseHaveError("email","required")),l.Cb(1),l.nc("ngIf",t.doesEntrepriseHaveError("email","email")),l.Cb(1),l.nc("ngIf",t.doesEntrepriseHaveError("email","maxlength")),l.Cb(1),l.nc("ngIf",t.isUserEntreprise),l.Cb(1),l.nc("ngIf",!t.isUserMandataire),l.Cb(1),l.nc("ngIf",t.isTVANumberDisplayed),l.Cb(2),l.nc("ngIf",t.isRegisterOrReferenceDisplayed),l.Cb(2),l.nc("ngIf",t.isRegisterOrReferenceDisplayed)}}const $=function(){return{"full-width":!0}};function X(t,e){if(1&t&&(l.Tb(0,"div"),l.Ob(1,"app-client-form-2",42),l.Tb(2,"mat-form-field",43),l.Ob(3,"input",44),l.Sb(),l.Sb()),2&t){const t=l.fc();l.Cb(1),l.nc("formGp",t.entrepriseFg)("modeDpd",!1)("isAutocompleteDisabled",!0),l.Cb(1),l.nc("ngClass",l.rc(4,$))}}function K(t,e){if(1&t&&(l.Tb(0,"div",45),l.Ob(1,"div",46),l.Ob(2,"app-person-form-2",47),l.Sb()),2&t){const t=l.fc();l.Cb(2),l.nc("formGp",t.dirigeantFg)("isAutocompleteDisabled",!0)}}function Q(t,e){if(1&t&&l.Ob(0,"re-captcha",48),2&t){const t=l.fc();l.nc("siteKey",t.siteKey)("required",!0)}}let tt=(()=>{class t extends o.a{constructor(t,e,n,i,a,r,o){super(t),this.translateService=t,this.translationService=e,this.loader=n,this.zone=i,this.changeDetectorRef=a,this.route=r,this.configSharedService=o,this.showCaptcha=!1,this.langues=new Array,this.showFR=!0,this.siteKey=null,this.loaderReady=!1,this.eligible=!0;const s=this.route.snapshot.data.configurationData;s&&(this.siteKey=s.siteKey)}load(){this.langues=this.configSharedService.langues,this.checkShowFR(),this.numTVACtrl.setValidators([i.w.required,i.w.pattern("^\\w+$"),()=>r.a.numTVAInClient(this.eligible,this.state)]),this.showCaptcha&&this.subscriptions.push(this.loader.ready.subscribe(t=>{this.zone.run(()=>{this.loaderReady=!!t,this.changeDetectorRef.markForCheck()})})),this.subscriptions.push(this.langue.valueChanges.subscribe(t=>{this.translationService.use(t)}),this.login.valueChanges.subscribe(t=>{this.login.patchValue(t.toLowerCase(),{emitEvent:!1})}))}get login(){return this.compteForm.get("login")}get entrepriseFg(){return this.compteForm.get("entreprise")}get adresseFg(){return this.entrepriseFg.get("adresse")}get dirigeantFg(){return this.entrepriseFg.get("dirigeant")}get langue(){return this.compteForm.get("compte").get("langue")}get dpdDefault(){return this.compteForm.get("compte").get("dpdDefault")}get dpdDefaultSelected(){return this.compteForm.get("compte").get("dpdDefaultSelected")}get isDpdDefaultSelected(){return this.dpdDefaultSelected.value}get country(){return this.entrepriseFg.get("adresse").get("pays").value}get countryCodeTVA(){return this.country?this.country.codeTVA:null}get numTVACtrl(){return this.entrepriseFg.get("numTVA")}get referenceCtrl(){return this.entrepriseFg.get("reference")}get registreCtrl(){return this.entrepriseFg.get("registre")}get doesCountryHaveTVA(){return!!this.country&&this.country.hasTVA}get doesEntrpriseHaveTVA(){return!this.entrepriseFg.get("noTVA").value}get isRegisterOrReferenceDisplayed(){return!(this.userRole!==s.a.ENTREPRISE||this.doesEntrpriseHaveTVA&&this.doesCountryHaveTVA)}get isTVANumberDisplayed(){return this.userRole!==s.a.MANDATAIRE&&this.doesEntrpriseHaveTVA&&this.doesCountryHaveTVA}get isUserEntreprise(){return this.userRole===s.a.ENTREPRISE}get isUserMandataire(){return this.userRole===s.a.MANDATAIRE}get isUserDonneur(){return this.userRole===s.a.DONNEUR_ORDRE}doesEntrepriseHaveError(t,e){return this.entrepriseFg.get(t).hasError(e)}checkShowFR(){this.showFR=this.userRole!==s.a.ENTREPRISE}selectDpdDefault(t){t?this.dpdDefault.enable():(this.dpdDefault.setValue(null),this.dpdDefault.disable())}onNoTVACheckboxChange(t){this.cleanTvaRegistreReference(),t?(this.referenceCtrl.enable(),this.registreCtrl.enable(),this.entrepriseFg.get("numTVA").disable()):(this.referenceCtrl.disable(),this.registreCtrl.disable(),this.entrepriseFg.get("numTVA").enable())}onCountryChange(t){this.cleanTvaRegistreReference(),t&&t.hasTVA?(this.entrepriseFg.get("noTVA").setValue(!1),this.entrepriseFg.get("noTVA").enable(),this.entrepriseFg.get("numTVA").enable(),this.referenceCtrl.disable(),this.registreCtrl.disable()):(this.entrepriseFg.get("noTVA").disable(),this.entrepriseFg.get("numTVA").disable(),this.referenceCtrl.enable(),this.registreCtrl.enable())}onStateChange(t){this.state=t,this.numTVACtrl.updateValueAndValidity()}cleanTvaRegistreReference(){this.entrepriseFg.patchValue({numTVA:null,reference:null,registre:null})}}return t.\u0275fac=function(e){return new(e||t)(l.Nb(c.d),l.Nb(d.a),l.Nb(a.c),l.Nb(l.B),l.Nb(l.h),l.Nb(u.a),l.Nb(h.a))},t.\u0275cmp=l.Hb({type:t,selectors:[["app-edit-compte"]],inputs:{showCaptcha:"showCaptcha",userRole:"userRole",compteForm:"compteForm"},features:[l.zb],decls:27,vars:21,consts:[["id","form-edit-compte",3,"formGroup"],["id","compte"],["appLabel","compte.section.compte",1,"form-section"],[1,"form-2-column"],["matInput","","type","text","name","login","appLabel","compte.identifiant","formControlName","login","required",""],[1,"form-2-column-separator"],["name","langue","appLabel","common.langue","required","",3,"formControl"],[3,"value","ngClass",4,"ngFor","ngForOf"],["name","dpdDefaultSelected","appLabel","compte.dpd.default",3,"formControl","selectionChange"],["ngClass","defautTrue",3,"value"],["ngClass","defautFalse",3,"value"],[4,"ngIf"],["id","entreprise",3,"formGroup"],["class","form-section","appLabel","compte.section.entreprise",4,"ngIf"],["class","form-section","appLabel","compte.section.mandataire",4,"ngIf"],["class","form-section","appLabel","compte.section.ordre",4,"ngIf"],["id","dirigeant",4,"ngIf"],["id","captcha","name","captcha","formControlName","captcha",3,"siteKey","required",4,"ngIf"],[3,"value","ngClass"],["name","dpd","appLabel","compte.dpd.choix",3,"formControl"],["value","psi"],["value","mobil"],["value","dispo"],["appLabel","compte.section.entreprise",1,"form-section"],["appLabel","compte.section.mandataire",1,"form-section"],["appLabel","compte.section.ordre",1,"form-section"],["class","siret",4,"ngIf"],[1,"full-width"],["matInput","","type","text","name","raisonSociale","appLabel","compte.raisonsociale","formControlName","raisonSociale","required",""],["name","entreprise",3,"formGp","showCountry","isAutocompleteDisabled","isRequired","showFR","countryChangeEvent"],["matInput","","type","text","name","tel","appLabel","common.tel","formControlName","telephone","required",""],["matInput","","name","email","appLabel","common.email","formControlName","email","required",""],["class","full-width",4,"ngIf"],["class","checkbox",4,"ngIf"],[1,"siret"],["name","siret",3,"formGp","isAutocompleteDisabled","isRequired"],["matInput","","type","text","name","status","appLabel","common.forme.juridique","formControlName","status","required",""],[1,"checkbox"],["color","primary","name","noTVA","formControlName","noTVA",3,"indeterminate","change"],[3,"state","formCtrl","countryCode","isAutocompleteDisabled","stateChangeEvent"],["matInput","","type","text","name","registre","appLabel","common.registre","formControlName","registre","required",""],["matInput","","type","text","name","reference","appLabel","common.reference","formControlName","reference","required",""],[3,"formGp","modeDpd","isAutocompleteDisabled"],[3,"ngClass"],["matInput","","name","email","formControlName","email","appLabel","common.email"],["id","dirigeant"],["appLabel","compte.section.dirigeant",1,"form-section"],["name","dirigeant",3,"formGp","isAutocompleteDisabled"],["id","captcha","name","captcha","formControlName","captcha",3,"siteKey","required"]],template:function(t,e){1&t&&(l.Tb(0,"form",0),l.Tb(1,"div",1),l.Ob(2,"div",2),l.Tb(3,"div",3),l.Tb(4,"mat-form-field"),l.Ob(5,"input",4),l.Sb(),l.Ob(6,"div",5),l.Tb(7,"mat-form-field"),l.Tb(8,"mat-select",6),l.Fc(9,O,2,3,"mat-option",7),l.Sb(),l.Sb(),l.Sb(),l.Tb(10,"mat-form-field"),l.Tb(11,"mat-select",8),l.bc("selectionChange",function(t){return e.selectDpdDefault(t.value)}),l.Tb(12,"mat-option",9),l.Hc(13),l.gc(14,"translate"),l.Sb(),l.Tb(15,"mat-option",10),l.Hc(16),l.gc(17,"translate"),l.Sb(),l.Sb(),l.Sb(),l.Fc(18,k,11,10,"mat-form-field",11),l.Sb(),l.Tb(19,"div",12),l.Fc(20,S,1,0,"div",13),l.Fc(21,T,1,0,"div",14),l.Fc(22,P,1,0,"div",15),l.Fc(23,Z,25,18,"div",11),l.Fc(24,X,4,5,"div",11),l.Sb(),l.Fc(25,K,3,2,"div",16),l.Fc(26,Q,1,2,"re-captcha",17),l.Sb()),2&t&&(l.nc("formGroup",e.compteForm),l.Cb(8),l.nc("formControl",e.langue),l.Cb(1),l.nc("ngForOf",e.langues),l.Cb(2),l.nc("formControl",e.dpdDefaultSelected),l.Cb(1),l.nc("value",!0),l.Cb(1),l.Jc(" ",l.hc(14,17,"common.oui")," "),l.Cb(2),l.nc("value",!1),l.Cb(1),l.Jc(" ",l.hc(17,19,"common.non")," "),l.Cb(2),l.nc("ngIf",e.isDpdDefaultSelected),l.Cb(1),l.nc("formGroup",e.entrepriseFg),l.Cb(1),l.nc("ngIf",e.isUserEntreprise),l.Cb(1),l.nc("ngIf",e.isUserMandataire),l.Cb(1),l.nc("ngIf",e.isUserDonneur),l.Cb(1),l.nc("ngIf",!e.isUserDonneur),l.Cb(1),l.nc("ngIf",e.isUserDonneur),l.Cb(1),l.nc("ngIf",e.isUserEntreprise),l.Cb(1),l.nc("ngIf",!1!==e.showCaptcha&&e.loaderReady))},directives:[i.x,i.p,i.i,m.a,p.c,f.b,i.c,i.o,i.g,i.v,g.a,i.f,b.k,_.m,b.j,b.l,y.a,v.a,p.b,C.a,w.a,x.a,M.a,a.a,a.e],pipes:[c.c],styles:["#form-edit-compte[_ngcontent-%COMP%]{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}#form-edit-compte[_ngcontent-%COMP%] .form-section[_ngcontent-%COMP%]{font-size:1.125rem;font-weight:600;margin:30px 0 15px}#form-edit-compte[_ngcontent-%COMP%] #withTva[_ngcontent-%COMP%]{margin-bottom:15px}#form-edit-compte[_ngcontent-%COMP%] .form-2-column[_ngcontent-%COMP%]{display:-ms-flexbox;display:flex}#form-edit-compte[_ngcontent-%COMP%] .form-2-column[_ngcontent-%COMP%] mat-form-field[_ngcontent-%COMP%]{-ms-flex-positive:1;flex-grow:1}#form-edit-compte[_ngcontent-%COMP%] .form-2-column[_ngcontent-%COMP%] .form-2-column-separator[_ngcontent-%COMP%]{width:50px}#form-edit-compte[_ngcontent-%COMP%] .form-2-column[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]{margin-right:-16px}#form-edit-compte[_ngcontent-%COMP%] .form-2-column[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{-ms-flex-positive:1;flex-grow:1}#form-edit-compte[_ngcontent-%COMP%] .form-2-column[_ngcontent-%COMP%] #country-code[_ngcontent-%COMP%]{-ms-flex-item-align:center;align-self:center;margin-right:8px}#form-edit-compte[_ngcontent-%COMP%] re-captcha[_ngcontent-%COMP%]{padding-top:16px;padding-bottom:1.25em}#form-edit-compte[_ngcontent-%COMP%] .error[_ngcontent-%COMP%] mat-error[_ngcontent-%COMP%]{display:-ms-flexbox;display:flex;padding:10px;-ms-flex-align:center;align-items:center}#form-edit-compte[_ngcontent-%COMP%] .error[_ngcontent-%COMP%] mat-error[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{margin-right:12px}#form-edit-compte[_ngcontent-%COMP%] .full-width[_ngcontent-%COMP%]{width:100%}#compte[_ngcontent-%COMP%], #dirigeant[_ngcontent-%COMP%], #entreprise[_ngcontent-%COMP%]{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}"],changeDetection:0}),t})()},"4dOw":function(t,e,n){!function(t){"use strict";t.defineLocale("en-ie",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})}(n("wd/R"))},"5+tZ":function(t,e,n){"use strict";n.d(e,"a",function(){return o});var i=n("lJxs"),a=n("Cfvw"),r=n("zx2A");function o(t,e,n=Number.POSITIVE_INFINITY){return"function"==typeof e?r=>r.pipe(o((n,r)=>Object(a.a)(t(n,r)).pipe(Object(i.a)((t,i)=>e(n,t,r,i))),n)):("number"==typeof e&&(n=e),e=>e.lift(new s(t,n)))}class s{constructor(t,e=Number.POSITIVE_INFINITY){this.project=t,this.concurrent=e}call(t,e){return e.subscribe(new l(t,this.project,this.concurrent))}}class l extends r.b{constructor(t,e,n=Number.POSITIVE_INFINITY){super(t),this.project=e,this.concurrent=n,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(t){this.active<this.concurrent?this._tryNext(t):this.buffer.push(t)}_tryNext(t){let e;const n=this.index++;try{e=this.project(t,n)}catch(i){return void this.destination.error(i)}this.active++,this._innerSub(e)}_innerSub(t){const e=new r.a(this),n=this.destination;n.add(e);const i=Object(r.c)(t,e);i!==e&&n.add(i)}_complete(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}notifyNext(t){this.destination.next(t)}notifyComplete(){const t=this.buffer;this.active--,t.length>0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}},"5Gnb":function(t,e,n){"use strict";n.d(e,"a",function(){return i});var i=function(t){return t.CLIENT="CLIENT",t.CHANTIER="CHANTIER",t.AUTRE="AUTRE",t}({})},"5QHs":function(t,e,n){"use strict";n.d(e,"a",function(){return M}),n.d(e,"b",function(){return _}),n.d(e,"c",function(){return O});var i=n("SVse"),a=n("8Y7J"),r=n("UhP/"),o=n("Dxy4"),s=n("ZTz/"),l=n("ZFy/"),c=n("8LU1"),d=n("XNiG"),u=n("Q2Ze");function h(t,e){if(1&t&&(a.Tb(0,"mat-option",19),a.Hc(1),a.Sb()),2&t){const t=e.$implicit;a.nc("value",t),a.Cb(1),a.Jc(" ",t," ")}}function m(t,e){if(1&t){const t=a.Ub();a.Tb(0,"mat-form-field",16),a.Tb(1,"mat-select",17),a.bc("selectionChange",function(e){return a.yc(t),a.fc(2)._changePageSize(e.value)}),a.Fc(2,h,2,2,"mat-option",18),a.Sb(),a.Sb()}if(2&t){const t=a.fc(2);a.nc("appearance",t._formFieldAppearance)("color",t.color),a.Cb(1),a.nc("value",t.pageSize)("disabled",t.disabled)("aria-label",t._intl.itemsPerPageLabel),a.Cb(1),a.nc("ngForOf",t._displayedPageSizeOptions)}}function p(t,e){if(1&t&&(a.Tb(0,"div",20),a.Hc(1),a.Sb()),2&t){const t=a.fc(2);a.Cb(1),a.Ic(t.pageSize)}}function f(t,e){if(1&t&&(a.Tb(0,"div",12),a.Tb(1,"div",13),a.Hc(2),a.Sb(),a.Fc(3,m,3,6,"mat-form-field",14),a.Fc(4,p,2,1,"div",15),a.Sb()),2&t){const t=a.fc();a.Cb(2),a.Jc(" ",t._intl.itemsPerPageLabel," "),a.Cb(1),a.nc("ngIf",t._displayedPageSizeOptions.length>1),a.Cb(1),a.nc("ngIf",t._displayedPageSizeOptions.length<=1)}}function g(t,e){if(1&t){const t=a.Ub();a.Tb(0,"button",21),a.bc("click",function(){return a.yc(t),a.fc().firstPage()}),a.ec(),a.Tb(1,"svg",7),a.Ob(2,"path",22),a.Sb(),a.Sb()}if(2&t){const t=a.fc();a.nc("matTooltip",t._intl.firstPageLabel)("matTooltipDisabled",t._previousButtonsDisabled())("matTooltipPosition","above")("disabled",t._previousButtonsDisabled()),a.Db("aria-label",t._intl.firstPageLabel)}}function b(t,e){if(1&t){const t=a.Ub();a.ec(),a.dc(),a.Tb(0,"button",23),a.bc("click",function(){return a.yc(t),a.fc().lastPage()}),a.ec(),a.Tb(1,"svg",7),a.Ob(2,"path",24),a.Sb(),a.Sb()}if(2&t){const t=a.fc();a.nc("matTooltip",t._intl.lastPageLabel)("matTooltipDisabled",t._nextButtonsDisabled())("matTooltipPosition","above")("disabled",t._nextButtonsDisabled()),a.Db("aria-label",t._intl.lastPageLabel)}}let _=(()=>{class t{constructor(){this.changes=new d.a,this.itemsPerPageLabel="Items per page:",this.nextPageLabel="Next page",this.previousPageLabel="Previous page",this.firstPageLabel="First page",this.lastPageLabel="Last page",this.getRangeLabel=(t,e,n)=>{if(0==n||0==e)return`0 of ${n}`;const i=t*e;return`${i+1} \u2013 ${i<(n=Math.max(n,0))?Math.min(i+e,n):i+e} of ${n}`}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Object(a.Jb)({factory:function(){return new t},token:t,providedIn:"root"}),t})();const y={provide:_,deps:[[new a.C,new a.L,_]],useFactory:function(t){return t||new _}},v=new a.s("MAT_PAGINATOR_DEFAULT_OPTIONS");class C{}const w=Object(r.y)(Object(r.A)(C));let x=(()=>{class t extends w{constructor(t,e,n){if(super(),this._intl=t,this._changeDetectorRef=e,this._pageIndex=0,this._length=0,this._pageSizeOptions=[],this._hidePageSize=!1,this._showFirstLastButtons=!1,this.page=new a.o,this._intlChanges=t.changes.subscribe(()=>this._changeDetectorRef.markForCheck()),n){const{pageSize:t,pageSizeOptions:e,hidePageSize:i,showFirstLastButtons:a}=n;null!=t&&(this._pageSize=t),null!=e&&(this._pageSizeOptions=e),null!=i&&(this._hidePageSize=i),null!=a&&(this._showFirstLastButtons=a)}}get pageIndex(){return this._pageIndex}set pageIndex(t){this._pageIndex=Math.max(Object(c.f)(t),0),this._changeDetectorRef.markForCheck()}get length(){return this._length}set length(t){this._length=Object(c.f)(t),this._changeDetectorRef.markForCheck()}get pageSize(){return this._pageSize}set pageSize(t){this._pageSize=Math.max(Object(c.f)(t),0),this._updateDisplayedPageSizeOptions()}get pageSizeOptions(){return this._pageSizeOptions}set pageSizeOptions(t){this._pageSizeOptions=(t||[]).map(t=>Object(c.f)(t)),this._updateDisplayedPageSizeOptions()}get hidePageSize(){return this._hidePageSize}set hidePageSize(t){this._hidePageSize=Object(c.c)(t)}get showFirstLastButtons(){return this._showFirstLastButtons}set showFirstLastButtons(t){this._showFirstLastButtons=Object(c.c)(t)}ngOnInit(){this._initialized=!0,this._updateDisplayedPageSizeOptions(),this._markInitialized()}ngOnDestroy(){this._intlChanges.unsubscribe()}nextPage(){if(!this.hasNextPage())return;const t=this.pageIndex;this.pageIndex++,this._emitPageEvent(t)}previousPage(){if(!this.hasPreviousPage())return;const t=this.pageIndex;this.pageIndex--,this._emitPageEvent(t)}firstPage(){if(!this.hasPreviousPage())return;const t=this.pageIndex;this.pageIndex=0,this._emitPageEvent(t)}lastPage(){if(!this.hasNextPage())return;const t=this.pageIndex;this.pageIndex=this.getNumberOfPages()-1,this._emitPageEvent(t)}hasPreviousPage(){return this.pageIndex>=1&&0!=this.pageSize}hasNextPage(){const t=this.getNumberOfPages()-1;return this.pageIndex<t&&0!=this.pageSize}getNumberOfPages(){return this.pageSize?Math.ceil(this.length/this.pageSize):0}_changePageSize(t){const e=this.pageIndex;this.pageIndex=Math.floor(this.pageIndex*this.pageSize/t)||0,this.pageSize=t,this._emitPageEvent(e)}_nextButtonsDisabled(){return this.disabled||!this.hasNextPage()}_previousButtonsDisabled(){return this.disabled||!this.hasPreviousPage()}_updateDisplayedPageSizeOptions(){this._initialized&&(this.pageSize||(this._pageSize=0!=this.pageSizeOptions.length?this.pageSizeOptions[0]:50),this._displayedPageSizeOptions=this.pageSizeOptions.slice(),-1===this._displayedPageSizeOptions.indexOf(this.pageSize)&&this._displayedPageSizeOptions.push(this.pageSize),this._displayedPageSizeOptions.sort((t,e)=>t-e),this._changeDetectorRef.markForCheck())}_emitPageEvent(t){this.page.emit({previousPageIndex:t,pageIndex:this.pageIndex,pageSize:this.pageSize,length:this.length})}}return t.\u0275fac=function(e){return new(e||t)(a.Nb(_),a.Nb(a.h),a.Nb(void 0))},t.\u0275dir=a.Ib({type:t,inputs:{pageIndex:"pageIndex",length:"length",pageSize:"pageSize",pageSizeOptions:"pageSizeOptions",hidePageSize:"hidePageSize",showFirstLastButtons:"showFirstLastButtons",color:"color"},outputs:{page:"page"},features:[a.zb]}),t})(),M=(()=>{class t extends x{constructor(t,e,n){super(t,e,n),n&&null!=n.formFieldAppearance&&(this._formFieldAppearance=n.formFieldAppearance)}}return t.\u0275fac=function(e){return new(e||t)(a.Nb(_),a.Nb(a.h),a.Nb(v,8))},t.\u0275cmp=a.Hb({type:t,selectors:[["mat-paginator"]],hostAttrs:[1,"mat-paginator"],inputs:{disabled:"disabled"},exportAs:["matPaginator"],features:[a.zb],decls:14,vars:14,consts:[[1,"mat-paginator-outer-container"],[1,"mat-paginator-container"],["class","mat-paginator-page-size",4,"ngIf"],[1,"mat-paginator-range-actions"],[1,"mat-paginator-range-label"],["mat-icon-button","","type","button","class","mat-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click",4,"ngIf"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-previous",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["viewBox","0 0 24 24","focusable","false",1,"mat-paginator-icon"],["d","M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-next",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"],["mat-icon-button","","type","button","class","mat-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click",4,"ngIf"],[1,"mat-paginator-page-size"],[1,"mat-paginator-page-size-label"],["class","mat-paginator-page-size-select",3,"appearance","color",4,"ngIf"],["class","mat-paginator-page-size-value",4,"ngIf"],[1,"mat-paginator-page-size-select",3,"appearance","color"],[3,"value","disabled","aria-label","selectionChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],[1,"mat-paginator-page-size-value"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"]],template:function(t,e){1&t&&(a.Tb(0,"div",0),a.Tb(1,"div",1),a.Fc(2,f,5,3,"div",2),a.Tb(3,"div",3),a.Tb(4,"div",4),a.Hc(5),a.Sb(),a.Fc(6,g,3,5,"button",5),a.Tb(7,"button",6),a.bc("click",function(){return e.previousPage()}),a.ec(),a.Tb(8,"svg",7),a.Ob(9,"path",8),a.Sb(),a.Sb(),a.dc(),a.Tb(10,"button",9),a.bc("click",function(){return e.nextPage()}),a.ec(),a.Tb(11,"svg",7),a.Ob(12,"path",10),a.Sb(),a.Sb(),a.Fc(13,b,3,5,"button",11),a.Sb(),a.Sb(),a.Sb()),2&t&&(a.Cb(2),a.nc("ngIf",!e.hidePageSize),a.Cb(3),a.Jc(" ",e._intl.getRangeLabel(e.pageIndex,e.pageSize,e.length)," "),a.Cb(1),a.nc("ngIf",e.showFirstLastButtons),a.Cb(1),a.nc("matTooltip",e._intl.previousPageLabel)("matTooltipDisabled",e._previousButtonsDisabled())("matTooltipPosition","above")("disabled",e._previousButtonsDisabled()),a.Db("aria-label",e._intl.previousPageLabel),a.Cb(3),a.nc("matTooltip",e._intl.nextPageLabel)("matTooltipDisabled",e._nextButtonsDisabled())("matTooltipPosition","above")("disabled",e._nextButtonsDisabled()),a.Db("aria-label",e._intl.nextPageLabel),a.Cb(3),a.nc("ngIf",e.showFirstLastButtons))},directives:[i.l,o.a,l.c,u.c,s.a,i.k,r.m],styles:[".mat-paginator{display:block}.mat-paginator-outer-container{display:flex}.mat-paginator-container{display:flex;align-items:center;justify-content:flex-end;padding:0 8px;flex-wrap:wrap-reverse;width:100%}.mat-paginator-page-size{display:flex;align-items:baseline;margin-right:8px}[dir=rtl] .mat-paginator-page-size{margin-right:0;margin-left:8px}.mat-paginator-page-size-label{margin:0 4px}.mat-paginator-page-size-select{margin:6px 4px 0 4px;width:56px}.mat-paginator-page-size-select.mat-form-field-appearance-outline{width:64px}.mat-paginator-page-size-select.mat-form-field-appearance-fill{width:64px}.mat-paginator-range-label{margin:0 32px 0 24px}.mat-paginator-range-actions{display:flex;align-items:center}.mat-paginator-icon{width:28px;fill:currentColor}[dir=rtl] .mat-paginator-icon{transform:rotate(180deg)}\n"],encapsulation:2,changeDetection:0}),t})(),O=(()=>{class t{}return t.\u0275mod=a.Lb({type:t}),t.\u0275inj=a.Kb({factory:function(e){return new(e||t)},providers:[y],imports:[[i.c,o.b,s.b,l.d,r.j]]}),t})()},"6+QB":function(t,e,n){!function(t){"use strict";t.defineLocale("ms",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(t,e){return 12===t&&(t=0),"pagi"===e?t:"tengahari"===e?t>=11?t:t+12:"petang"===e||"malam"===e?t+12:void 0},meridiem:function(t,e,n){return t<11?"pagi":t<15?"tengahari":t<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(n("wd/R"))},"6B0Y":function(t,e,n){!function(t){"use strict";var e={1:"\u17e1",2:"\u17e2",3:"\u17e3",4:"\u17e4",5:"\u17e5",6:"\u17e6",7:"\u17e7",8:"\u17e8",9:"\u17e9",0:"\u17e0"},n={"\u17e1":"1","\u17e2":"2","\u17e3":"3","\u17e4":"4","\u17e5":"5","\u17e6":"6","\u17e7":"7","\u17e8":"8","\u17e9":"9","\u17e0":"0"};t.defineLocale("km",{months:"\u1798\u1780\u179a\u17b6_\u1780\u17bb\u1798\u17d2\u1797\u17c8_\u1798\u17b8\u1793\u17b6_\u1798\u17c1\u179f\u17b6_\u17a7\u179f\u1797\u17b6_\u1798\u17b7\u1790\u17bb\u1793\u17b6_\u1780\u1780\u17d2\u1780\u178a\u17b6_\u179f\u17b8\u17a0\u17b6_\u1780\u1789\u17d2\u1789\u17b6_\u178f\u17bb\u179b\u17b6_\u179c\u17b7\u1785\u17d2\u1786\u17b7\u1780\u17b6_\u1792\u17d2\u1793\u17bc".split("_"),monthsShort:"\u1798\u1780\u179a\u17b6_\u1780\u17bb\u1798\u17d2\u1797\u17c8_\u1798\u17b8\u1793\u17b6_\u1798\u17c1\u179f\u17b6_\u17a7\u179f\u1797\u17b6_\u1798\u17b7\u1790\u17bb\u1793\u17b6_\u1780\u1780\u17d2\u1780\u178a\u17b6_\u179f\u17b8\u17a0\u17b6_\u1780\u1789\u17d2\u1789\u17b6_\u178f\u17bb\u179b\u17b6_\u179c\u17b7\u1785\u17d2\u1786\u17b7\u1780\u17b6_\u1792\u17d2\u1793\u17bc".split("_"),weekdays:"\u17a2\u17b6\u1791\u17b7\u178f\u17d2\u1799_\u1785\u17d0\u1793\u17d2\u1791_\u17a2\u1784\u17d2\u1782\u17b6\u179a_\u1796\u17bb\u1792_\u1796\u17d2\u179a\u17a0\u179f\u17d2\u1794\u178f\u17b7\u17cd_\u179f\u17bb\u1780\u17d2\u179a_\u179f\u17c5\u179a\u17cd".split("_"),weekdaysShort:"\u17a2\u17b6_\u1785_\u17a2_\u1796_\u1796\u17d2\u179a_\u179f\u17bb_\u179f".split("_"),weekdaysMin:"\u17a2\u17b6_\u1785_\u17a2_\u1796_\u1796\u17d2\u179a_\u179f\u17bb_\u179f".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u1796\u17d2\u179a\u17b9\u1780|\u179b\u17d2\u1784\u17b6\u1785/,isPM:function(t){return"\u179b\u17d2\u1784\u17b6\u1785"===t},meridiem:function(t,e,n){return t<12?"\u1796\u17d2\u179a\u17b9\u1780":"\u179b\u17d2\u1784\u17b6\u1785"},calendar:{sameDay:"[\u1790\u17d2\u1784\u17c3\u1793\u17c1\u17c7 \u1798\u17c9\u17c4\u1784] LT",nextDay:"[\u179f\u17d2\u17a2\u17c2\u1780 \u1798\u17c9\u17c4\u1784] LT",nextWeek:"dddd [\u1798\u17c9\u17c4\u1784] LT",lastDay:"[\u1798\u17d2\u179f\u17b7\u179b\u1798\u17b7\u1789 \u1798\u17c9\u17c4\u1784] LT",lastWeek:"dddd [\u179f\u1794\u17d2\u178f\u17b6\u17a0\u17cd\u1798\u17bb\u1793] [\u1798\u17c9\u17c4\u1784] LT",sameElse:"L"},relativeTime:{future:"%s\u1791\u17c0\u178f",past:"%s\u1798\u17bb\u1793",s:"\u1794\u17c9\u17bb\u1793\u17d2\u1798\u17b6\u1793\u179c\u17b7\u1793\u17b6\u1791\u17b8",ss:"%d \u179c\u17b7\u1793\u17b6\u1791\u17b8",m:"\u1798\u17bd\u1799\u1793\u17b6\u1791\u17b8",mm:"%d \u1793\u17b6\u1791\u17b8",h:"\u1798\u17bd\u1799\u1798\u17c9\u17c4\u1784",hh:"%d \u1798\u17c9\u17c4\u1784",d:"\u1798\u17bd\u1799\u1790\u17d2\u1784\u17c3",dd:"%d \u1790\u17d2\u1784\u17c3",M:"\u1798\u17bd\u1799\u1781\u17c2",MM:"%d \u1781\u17c2",y:"\u1798\u17bd\u1799\u1786\u17d2\u1793\u17b6\u17c6",yy:"%d \u1786\u17d2\u1793\u17b6\u17c6"},dayOfMonthOrdinalParse:/\u1791\u17b8\d{1,2}/,ordinal:"\u1791\u17b8%d",preparse:function(t){return t.replace(/[\u17e1\u17e2\u17e3\u17e4\u17e5\u17e6\u17e7\u17e8\u17e9\u17e0]/g,function(t){return n[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},week:{dow:1,doy:4}})}(n("wd/R"))},"7+OI":function(t,e,n){"use strict";n.d(e,"a",function(){return a});var i=n("HDdC");function a(t){return!!t&&(t instanceof i.a||"function"==typeof t.lift&&"function"==typeof t.subscribe)}},"71J3":function(t,e,n){"use strict";n.d(e,"a",function(){return u});var i=n("wa/n"),a=n("3EFq"),r=n("J+ds"),o=n("j9Ql"),s=n("Zd/F"),l=n("ji8I"),c=n("TMPf"),d=n("K2tM");class u{constructor({id:t=null,numeroModele:e=null,code:n=null,etat:o=null,dateEtat:d=null,titre:u=null,entrepriseEtrangere:h={},client:m={},prestation:p={},frais:f={},salaries:g=[],representant:b={},version:_=null,typeDeclarant:y=null,raisonSocialeDeclarant:v=null}){this.id=t,this.titre=u,this.numeroModele=e,this.code=n,this.etat=o,this.dateEtat=d,this.version=_,this.typeDeclarant=y,this.raisonSocialeDeclarant=v,this.entrepriseEtrangere=new a.a(h),this.client=new i.a(m),this.prestation=new l.a(p),this.frais=new r.a(f),this.salaries=g.map(t=>new c.a(t)),this.representant=new s.a(b)}getRepresentativeFromType(){const t=this.representant.getForPost();switch(this.representant.type){case d.a.DIRIGEANT:return Object.assign(Object.assign({},t),{personne:this.entrepriseEtrangere.dirigeant.getForPost()});case d.a.SALARIE:const e=this.salaries.find(t=>t.id===this.representant.idSalarie),n=new o.a(e||{});return Object.assign(Object.assign({},t),{personne:n.getForPost()});case d.a.CLIENT:const i=this.client.getForPost();return Object.assign(Object.assign({},t),{raisonSociale:i.raisonSociale,numTVA:i.numTVA,adresse:i.adresse});default:return t}}getForPost(){return{id:this.id,numeroModele:this.numeroModele,code:this.code,etat:this.etat,dateEtat:this.dateEtat,titre:this.titre,entrepriseEtrangere:this.entrepriseEtrangere.getForPost(),client:4!==this.numeroModele?this.client.getForPost():null,representant:7!==this.numeroModele?this.getRepresentativeFromType():null,prestation:this.prestation.getForPost(),frais:this.frais.getForPost(),salaries:this.salaries.map(t=>t.getForPost())}}}},"7BjC":function(t,e,n){!function(t){"use strict";function e(t,e,n,i){var a={s:["m\xf5ne sekundi","m\xf5ni sekund","paar sekundit"],ss:[t+"sekundi",t+"sekundit"],m:["\xfche minuti","\xfcks minut"],mm:[t+" minuti",t+" minutit"],h:["\xfche tunni","tund aega","\xfcks tund"],hh:[t+" tunni",t+" tundi"],d:["\xfche p\xe4eva","\xfcks p\xe4ev"],M:["kuu aja","kuu aega","\xfcks kuu"],MM:[t+" kuu",t+" kuud"],y:["\xfche aasta","aasta","\xfcks aasta"],yy:[t+" aasta",t+" aastat"]};return e?a[n][2]?a[n][2]:a[n][1]:i?a[n][0]:a[n][1]}t.defineLocale("et",{months:"jaanuar_veebruar_m\xe4rts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_m\xe4rts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"p\xfchap\xe4ev_esmasp\xe4ev_teisip\xe4ev_kolmap\xe4ev_neljap\xe4ev_reede_laup\xe4ev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[T\xe4na,] LT",nextDay:"[Homme,] LT",nextWeek:"[J\xe4rgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",sameElse:"L"},relativeTime:{future:"%s p\xe4rast",past:"%s tagasi",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:"%d p\xe4eva",M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},"7C5Q":function(t,e,n){!function(t){"use strict";t.defineLocale("en-in",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:0,doy:6}})}(n("wd/R"))},"7Hc7":function(t,e,n){"use strict";n.d(e,"a",function(){return h});let i=1;const a=(()=>Promise.resolve())(),r={};function o(t){return t in r&&(delete r[t],!0)}const s={setImmediate(t){const e=i++;return r[e]=!0,a.then(()=>o(e)&&t()),e},clearImmediate(t){o(t)}};var l=n("3N8a");class c extends l.a{constructor(t,e){super(t,e),this.scheduler=t,this.work=e}requestAsyncId(t,e,n=0){return null!==n&&n>0?super.requestAsyncId(t,e,n):(t.actions.push(this),t.scheduled||(t.scheduled=s.setImmediate(t.flush.bind(t,null))))}recycleAsyncId(t,e,n=0){if(null!==n&&n>0||null===n&&this.delay>0)return super.recycleAsyncId(t,e,n);0===t.actions.length&&(s.clearImmediate(e),t.scheduled=void 0)}}var d=n("IjjT");class u extends d.a{flush(t){this.active=!0,this.scheduled=void 0;const{actions:e}=this;let n,i=-1,a=e.length;t=t||e.shift();do{if(n=t.execute(t.state,t.delay))break}while(++i<a&&(t=e.shift()));if(this.active=!1,n){for(;++i<a&&(t=e.shift());)t.unsubscribe();throw n}}}const h=new u(c)},"7KAL":function(t,e,n){"use strict";n.d(e,"a",function(){return g}),n.d(e,"b",function(){return _}),n.d(e,"c",function(){return f}),n.d(e,"d",function(){return y}),n.d(e,"e",function(){return b});var i=n("8LU1"),a=n("8Y7J"),r=n("XNiG"),o=n("LRne"),s=n("HDdC"),l=n("xgIS");n("3N8a"),n("IjjT"),n("7Hc7");var c=(n("quSY"),n("7+OI"),n("/uUt"),n("3UWI")),d=n("pLZG"),u=n("1G5W");n("JX91"),n("7o/Q"),n("eIep"),n("UXun");var h=n("SCoL"),m=n("SVse"),p=n("9gLZ");n("CtHx");let f=(()=>{class t{constructor(t,e,n){this._ngZone=t,this._platform=e,this._scrolled=new r.a,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=n}register(t){this.scrollContainers.has(t)||this.scrollContainers.set(t,t.elementScrolled().subscribe(()=>this._scrolled.next(t)))}deregister(t){const e=this.scrollContainers.get(t);e&&(e.unsubscribe(),this.scrollContainers.delete(t))}scrolled(t=20){return this._platform.isBrowser?new s.a(e=>{this._globalSubscription||this._addGlobalListener();const n=t>0?this._scrolled.pipe(Object(c.a)(t)).subscribe(e):this._scrolled.subscribe(e);return this._scrolledCount++,()=>{n.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):Object(o.a)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((t,e)=>this.deregister(e)),this._scrolled.complete()}ancestorScrolled(t,e){const n=this.getAncestorScrollContainers(t);return this.scrolled(e).pipe(Object(d.a)(t=>!t||n.indexOf(t)>-1))}getAncestorScrollContainers(t){const e=[];return this.scrollContainers.forEach((n,i)=>{this._scrollableContainsElement(i,t)&&e.push(i)}),e}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(t,e){let n=Object(i.e)(e),a=t.getElementRef().nativeElement;do{if(n==a)return!0}while(n=n.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const t=this._getWindow();return Object(l.a)(t.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return t.\u0275fac=function(e){return new(e||t)(a.Xb(a.B),a.Xb(h.a),a.Xb(m.d,8))},t.\u0275prov=Object(a.Jb)({factory:function(){return new t(Object(a.Xb)(a.B),Object(a.Xb)(h.a),Object(a.Xb)(m.d,8))},token:t,providedIn:"root"}),t})(),g=(()=>{class t{constructor(t,e,n,i){this.elementRef=t,this.scrollDispatcher=e,this.ngZone=n,this.dir=i,this._destroyed=new r.a,this._elementScrolled=new s.a(t=>this.ngZone.runOutsideAngular(()=>Object(l.a)(this.elementRef.nativeElement,"scroll").pipe(Object(u.a)(this._destroyed)).subscribe(t)))}ngOnInit(){this.scrollDispatcher.register(this)}ngOnDestroy(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(t){const e=this.elementRef.nativeElement,n=this.dir&&"rtl"==this.dir.value;null==t.left&&(t.left=n?t.end:t.start),null==t.right&&(t.right=n?t.start:t.end),null!=t.bottom&&(t.top=e.scrollHeight-e.clientHeight-t.bottom),n&&0!=Object(h.d)()?(null!=t.left&&(t.right=e.scrollWidth-e.clientWidth-t.left),2==Object(h.d)()?t.left=t.right:1==Object(h.d)()&&(t.left=t.right?-t.right:t.right)):null!=t.right&&(t.left=e.scrollWidth-e.clientWidth-t.right),this._applyScrollToOptions(t)}_applyScrollToOptions(t){const e=this.elementRef.nativeElement;Object(h.g)()?e.scrollTo(t):(null!=t.top&&(e.scrollTop=t.top),null!=t.left&&(e.scrollLeft=t.left))}measureScrollOffset(t){const e=this.elementRef.nativeElement;if("top"==t)return e.scrollTop;if("bottom"==t)return e.scrollHeight-e.clientHeight-e.scrollTop;const n=this.dir&&"rtl"==this.dir.value;return"start"==t?t=n?"right":"left":"end"==t&&(t=n?"left":"right"),n&&2==Object(h.d)()?"left"==t?e.scrollWidth-e.clientWidth-e.scrollLeft:e.scrollLeft:n&&1==Object(h.d)()?"left"==t?e.scrollLeft+e.scrollWidth-e.clientWidth:-e.scrollLeft:"left"==t?e.scrollLeft:e.scrollWidth-e.clientWidth-e.scrollLeft}}return t.\u0275fac=function(e){return new(e||t)(a.Nb(a.l),a.Nb(f),a.Nb(a.B),a.Nb(p.b,8))},t.\u0275dir=a.Ib({type:t,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]}),t})(),b=(()=>{class t{constructor(t,e,n){this._platform=t,this._change=new r.a,this._changeListener=t=>{this._change.next(t)},this._document=n,e.runOutsideAngular(()=>{if(t.isBrowser){const t=this._getWindow();t.addEventListener("resize",this._changeListener),t.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._updateViewportSize())})}ngOnDestroy(){if(this._platform.isBrowser){const t=this._getWindow();t.removeEventListener("resize",this._changeListener),t.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const t={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),t}getViewportRect(){const t=this.getViewportScrollPosition(),{width:e,height:n}=this.getViewportSize();return{top:t.top,left:t.left,bottom:t.top+n,right:t.left+e,height:n,width:e}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const t=this._document,e=this._getWindow(),n=t.documentElement,i=n.getBoundingClientRect();return{top:-i.top||t.body.scrollTop||e.scrollY||n.scrollTop||0,left:-i.left||t.body.scrollLeft||e.scrollX||n.scrollLeft||0}}change(t=20){return t>0?this._change.pipe(Object(c.a)(t)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const t=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:t.innerWidth,height:t.innerHeight}:{width:0,height:0}}}return t.\u0275fac=function(e){return new(e||t)(a.Xb(h.a),a.Xb(a.B),a.Xb(m.d,8))},t.\u0275prov=Object(a.Jb)({factory:function(){return new t(Object(a.Xb)(h.a),Object(a.Xb)(a.B),Object(a.Xb)(m.d,8))},token:t,providedIn:"root"}),t})(),_=(()=>{class t{}return t.\u0275mod=a.Lb({type:t}),t.\u0275inj=a.Kb({factory:function(e){return new(e||t)}}),t})(),y=(()=>{class t{}return t.\u0275mod=a.Lb({type:t}),t.\u0275inj=a.Kb({factory:function(e){return new(e||t)},imports:[[p.a,h.b,_],p.a,_]}),t})()},"7aV9":function(t,e,n){!function(t){"use strict";t.defineLocale("si",{months:"\u0da2\u0db1\u0dc0\u0dcf\u0dbb\u0dd2_\u0db4\u0dd9\u0db6\u0dbb\u0dc0\u0dcf\u0dbb\u0dd2_\u0db8\u0dcf\u0dbb\u0dca\u0dad\u0dd4_\u0d85\u0db4\u0dca\u200d\u0dbb\u0dda\u0dbd\u0dca_\u0db8\u0dd0\u0dba\u0dd2_\u0da2\u0dd6\u0db1\u0dd2_\u0da2\u0dd6\u0dbd\u0dd2_\u0d85\u0d9c\u0ddd\u0dc3\u0dca\u0dad\u0dd4_\u0dc3\u0dd0\u0db4\u0dca\u0dad\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca_\u0d94\u0d9a\u0dca\u0dad\u0ddd\u0db6\u0dbb\u0dca_\u0db1\u0ddc\u0dc0\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca_\u0daf\u0dd9\u0dc3\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca".split("_"),monthsShort:"\u0da2\u0db1_\u0db4\u0dd9\u0db6_\u0db8\u0dcf\u0dbb\u0dca_\u0d85\u0db4\u0dca_\u0db8\u0dd0\u0dba\u0dd2_\u0da2\u0dd6\u0db1\u0dd2_\u0da2\u0dd6\u0dbd\u0dd2_\u0d85\u0d9c\u0ddd_\u0dc3\u0dd0\u0db4\u0dca_\u0d94\u0d9a\u0dca_\u0db1\u0ddc\u0dc0\u0dd0_\u0daf\u0dd9\u0dc3\u0dd0".split("_"),weekdays:"\u0d89\u0dbb\u0dd2\u0daf\u0dcf_\u0dc3\u0db3\u0dd4\u0daf\u0dcf_\u0d85\u0d9f\u0dc4\u0dbb\u0dd4\u0dc0\u0dcf\u0daf\u0dcf_\u0db6\u0daf\u0dcf\u0daf\u0dcf_\u0db6\u0dca\u200d\u0dbb\u0dc4\u0dc3\u0dca\u0db4\u0dad\u0dd2\u0db1\u0dca\u0daf\u0dcf_\u0dc3\u0dd2\u0d9a\u0dd4\u0dbb\u0dcf\u0daf\u0dcf_\u0dc3\u0dd9\u0db1\u0dc3\u0dd4\u0dbb\u0dcf\u0daf\u0dcf".split("_"),weekdaysShort:"\u0d89\u0dbb\u0dd2_\u0dc3\u0db3\u0dd4_\u0d85\u0d9f_\u0db6\u0daf\u0dcf_\u0db6\u0dca\u200d\u0dbb\u0dc4_\u0dc3\u0dd2\u0d9a\u0dd4_\u0dc3\u0dd9\u0db1".split("_"),weekdaysMin:"\u0d89_\u0dc3_\u0d85_\u0db6_\u0db6\u0dca\u200d\u0dbb_\u0dc3\u0dd2_\u0dc3\u0dd9".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"a h:mm",LTS:"a h:mm:ss",L:"YYYY/MM/DD",LL:"YYYY MMMM D",LLL:"YYYY MMMM D, a h:mm",LLLL:"YYYY MMMM D [\u0dc0\u0dd0\u0db1\u0dd2] dddd, a h:mm:ss"},calendar:{sameDay:"[\u0d85\u0daf] LT[\u0da7]",nextDay:"[\u0dc4\u0dd9\u0da7] LT[\u0da7]",nextWeek:"dddd LT[\u0da7]",lastDay:"[\u0d8a\u0dba\u0dda] LT[\u0da7]",lastWeek:"[\u0db4\u0dc3\u0dd4\u0d9c\u0dd2\u0dba] dddd LT[\u0da7]",sameElse:"L"},relativeTime:{future:"%s\u0d9a\u0dd2\u0db1\u0dca",past:"%s\u0d9a\u0da7 \u0db4\u0dd9\u0dbb",s:"\u0dad\u0dad\u0dca\u0db4\u0dbb \u0d9a\u0dd2\u0dc4\u0dd2\u0db4\u0dba",ss:"\u0dad\u0dad\u0dca\u0db4\u0dbb %d",m:"\u0db8\u0dd2\u0db1\u0dd2\u0dad\u0dca\u0dad\u0dd4\u0dc0",mm:"\u0db8\u0dd2\u0db1\u0dd2\u0dad\u0dca\u0dad\u0dd4 %d",h:"\u0db4\u0dd0\u0dba",hh:"\u0db4\u0dd0\u0dba %d",d:"\u0daf\u0dd2\u0db1\u0dba",dd:"\u0daf\u0dd2\u0db1 %d",M:"\u0db8\u0dcf\u0dc3\u0dba",MM:"\u0db8\u0dcf\u0dc3 %d",y:"\u0dc0\u0dc3\u0dbb",yy:"\u0dc0\u0dc3\u0dbb %d"},dayOfMonthOrdinalParse:/\d{1,2} \u0dc0\u0dd0\u0db1\u0dd2/,ordinal:function(t){return t+" \u0dc0\u0dd0\u0db1\u0dd2"},meridiemParse:/\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4|\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4|\u0db4\u0dd9.\u0dc0|\u0db4.\u0dc0./,isPM:function(t){return"\u0db4.\u0dc0."===t||"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4"===t},meridiem:function(t,e,n){return t>11?n?"\u0db4.\u0dc0.":"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4":n?"\u0db4\u0dd9.\u0dc0.":"\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4"}})}(n("wd/R"))},"7duk":function(t,e,n){"use strict";n.d(e,"a",function(){return v});var i=n("8LU1"),a=n("1O3W"),r=n("Q2Ze"),o=n("XNiG"),s=n("/uUt"),l=n("1G5W"),c=n("IzEk"),d=n("GS7A");const u={transformPanel:Object(d.n)("transformPanel",[Object(d.k)("void",Object(d.l)({transform:"scaleY(0.8)",minWidth:"100%",opacity:0})),Object(d.k)("showing",Object(d.l)({opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"})),Object(d.k)("showing-multiple",Object(d.l)({opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"})),Object(d.m)("void => *",Object(d.g)([Object(d.e)("150ms cubic-bezier(0.25, 0.8, 0.25, 1)")])),Object(d.m)("* => void",[Object(d.e)("250ms 100ms linear",Object(d.l)({opacity:0}))])]),fadeInContent:Object(d.n)("fadeInContent",[Object(d.k)("showing",Object(d.l)({opacity:1})),Object(d.m)("void => showing",[Object(d.l)({opacity:0}),Object(d.e)("150ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};var h=n("8Y7J"),m=n("SVse");const p=["trigger"],f=["panel"];function g(t,e){if(1&t&&(h.Tb(0,"span",8),h.Hc(1),h.Sb()),2&t){const t=h.fc();h.Cb(1),h.Ic(t.placeholder||"\xa0")}}function b(t,e){if(1&t&&(h.Tb(0,"span",9),h.Hc(1),h.Sb()),2&t){const t=h.fc();h.Cb(1),h.Ic(t.label||"\xa0")}}function _(t,e){if(1&t){const t=h.Ub();h.Tb(0,"div",10,11),h.bc("@transformPanel.done",function(e){return h.yc(t),h.fc()._panelDoneAnimatingStream.next(e.toState)}),h.lc(2),h.Sb()}if(2&t){const t=h.fc();h.Cc("transform-origin",t._transformOrigin),h.nc("@transformPanel","showing-multiple")}}const y=["*"];let v=(()=>{class t{constructor(e,n){this._changeDetectorRef=e,this.elementRef=n,this.id="app-dropdown-select-"+t.nextId++,this.describedBy="",this.stateChanges=new o.a,this.ngControl=null,this.errorState=!1,this.controlType="dropdown-select-input",this._panelDoneAnimatingStream=new o.a,this._transformOrigin="top",this._offsetY=0,this._positions=[{originX:"start",originY:"top",overlayX:"start",overlayY:"top"},{originX:"start",originY:"bottom",overlayX:"start",overlayY:"bottom"}],this.value=null,this._panelOpen=!1,this._focused=!1,this._scrollTop=0,this._destroy=new o.a}get label(){return this._label}set label(t){this._label=t,this.stateChanges.next()}get placeholder(){return this._placeholder}set placeholder(t){this._placeholder=t,this.stateChanges.next()}get disabled(){return this._disabled}set disabled(t){this._disabled=Object(i.c)(t),this.stateChanges.next()}get required(){return this._required}set required(t){this._required=Object(i.c)(t),this.stateChanges.next()}get empty(){return!this.label}get panelOpen(){return this._panelOpen}get focused(){return this._focused||this._panelOpen}get shouldLabelFloat(){return this.focused||!this.empty}ngOnInit(){this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(Object(s.a)(),Object(l.a)(this._destroy)).subscribe(()=>{this.panelOpen?this._scrollTop=0:(this.overlayDir.offsetX=0,this._changeDetectorRef.markForCheck())})}ngOnDestroy(){this._destroy.next(),this._destroy.complete(),this.stateChanges.complete()}toggle(){this.panelOpen?this.close():this.open()}focus(){this.elementRef.nativeElement.focus()}open(){this.disabled||this._panelOpen||(this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._panelOpen=!0,this._changeDetectorRef.markForCheck())}close(){this._panelOpen&&(this._panelOpen=!1,this._changeDetectorRef.markForCheck())}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,this.disabled||this.panelOpen||(this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this.overlayDir.positionChange.pipe(Object(c.a)(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.panel.nativeElement.scrollTop=this._scrollTop})}setDescribedByIds(t){this.describedBy=t.join(" ")}onContainerClick(){this.focus(),this.open()}}return t.nextId=0,t.\u0275fac=function(e){return new(e||t)(h.Nb(h.h),h.Nb(h.l))},t.\u0275cmp=h.Hb({type:t,selectors:[["app-dropdown-select"]],viewQuery:function(t,e){if(1&t&&(h.Lc(p,3),h.Lc(f,1),h.Lc(a.a,3)),2&t){let t;h.uc(t=h.cc())&&(e.trigger=t.first),h.uc(t=h.cc())&&(e.panel=t.first),h.uc(t=h.cc())&&(e.overlayDir=t.first)}},hostVars:4,hostBindings:function(t,e){2&t&&(h.Wb("id",e.id),h.Db("aria-describedby",e.describedBy),h.Fb("floating",e.shouldLabelFloat))},inputs:{label:"label",placeholder:"placeholder",disabled:"disabled",required:"required"},exportAs:["appDropdownSelect"],features:[h.Bb([{provide:r.d,useExisting:t}])],ngContentSelectors:y,decls:9,vars:8,consts:[["cdk-overlay-origin","","aria-hidden","true",1,"mat-select-trigger"],["origin","cdkOverlayOrigin","trigger",""],[1,"mat-select-value",3,"ngSwitch"],["class","mat-select-placeholder",4,"ngSwitchCase"],["class","mat-select-value-text",4,"ngSwitchCase"],[1,"mat-select-arrow-wrapper"],[1,"mat-select-arrow"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayMinWidth","cdkConnectedOverlayOffsetY","backdropClick","attach","detach"],[1,"mat-select-placeholder"],[1,"mat-select-value-text"],[1,"mat-select-panel","dropdown-select"],["panel",""]],template:function(t,e){if(1&t&&(h.mc(),h.Tb(0,"div",0,1),h.Tb(3,"div",2),h.Fc(4,g,2,1,"span",3),h.Fc(5,b,2,1,"span",4),h.Sb(),h.Tb(6,"div",5),h.Ob(7,"div",6),h.Sb(),h.Sb(),h.Fc(8,_,3,3,"ng-template",7),h.bc("backdropClick",function(){return e.close()})("attach",function(){return e._onAttached()})("detach",function(){return e.close()})),2&t){const t=h.vc(1);h.Cb(3),h.nc("ngSwitch",e.empty),h.Cb(1),h.nc("ngSwitchCase",!0),h.Cb(1),h.nc("ngSwitchCase",!1),h.Cb(3),h.nc("cdkConnectedOverlayOrigin",t)("cdkConnectedOverlayOpen",e.panelOpen)("cdkConnectedOverlayPositions",e._positions)("cdkConnectedOverlayMinWidth",null==e._triggerRect?null:e._triggerRect.width)("cdkConnectedOverlayOffsetY",e._offsetY)}},directives:[a.b,m.n,m.o,a.a],styles:["span[_ngcontent-%COMP%]{opacity:0;transition:opacity .2s}.floating[_nghost-%COMP%] span[_ngcontent-%COMP%]{opacity:1}.dropdown-select[_ngcontent-%COMP%]{background:#fff;max-width:750px;max-height:400px}"],data:{animation:[u.transformPanel]},changeDetection:0}),t})()},"7o/Q":function(t,e,n){"use strict";n.d(e,"a",function(){return c});var i=n("n6bG"),a=n("gRHU"),r=n("quSY"),o=n("2QA8"),s=n("2fFW"),l=n("NJ4a");class c extends r.a{constructor(t,e,n){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=a.a;break;case 1:if(!t){this.destination=a.a;break}if("object"==typeof t){t instanceof c?(this.syncErrorThrowable=t.syncErrorThrowable,this.destination=t,t.add(this)):(this.syncErrorThrowable=!0,this.destination=new d(this,t));break}default:this.syncErrorThrowable=!0,this.destination=new d(this,t,e,n)}}[o.a](){return this}static create(t,e,n){const i=new c(t,e,n);return i.syncErrorThrowable=!1,i}next(t){this.isStopped||this._next(t)}error(t){this.isStopped||(this.isStopped=!0,this._error(t))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(t){this.destination.next(t)}_error(t){this.destination.error(t),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:t}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=t,this}}class d extends c{constructor(t,e,n,r){let o;super(),this._parentSubscriber=t;let s=this;Object(i.a)(e)?o=e:e&&(o=e.next,n=e.error,r=e.complete,e!==a.a&&(s=Object.create(e),Object(i.a)(s.unsubscribe)&&this.add(s.unsubscribe.bind(s)),s.unsubscribe=this.unsubscribe.bind(this))),this._context=s,this._next=o,this._error=n,this._complete=r}next(t){if(!this.isStopped&&this._next){const{_parentSubscriber:e}=this;s.a.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?this.__tryOrSetError(e,this._next,t)&&this.unsubscribe():this.__tryOrUnsub(this._next,t)}}error(t){if(!this.isStopped){const{_parentSubscriber:e}=this,{useDeprecatedSynchronousErrorHandling:n}=s.a;if(this._error)n&&e.syncErrorThrowable?(this.__tryOrSetError(e,this._error,t),this.unsubscribe()):(this.__tryOrUnsub(this._error,t),this.unsubscribe());else if(e.syncErrorThrowable)n?(e.syncErrorValue=t,e.syncErrorThrown=!0):Object(l.a)(t),this.unsubscribe();else{if(this.unsubscribe(),n)throw t;Object(l.a)(t)}}}complete(){if(!this.isStopped){const{_parentSubscriber:t}=this;if(this._complete){const e=()=>this._complete.call(this._context);s.a.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?(this.__tryOrSetError(t,e),this.unsubscribe()):(this.__tryOrUnsub(e),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(t,e){try{t.call(this._context,e)}catch(n){if(this.unsubscribe(),s.a.useDeprecatedSynchronousErrorHandling)throw n;Object(l.a)(n)}}__tryOrSetError(t,e,n){if(!s.a.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{e.call(this._context,n)}catch(i){return s.a.useDeprecatedSynchronousErrorHandling?(t.syncErrorValue=i,t.syncErrorThrown=!0,!0):(Object(l.a)(i),!0)}return!1}_unsubscribe(){const{_parentSubscriber:t}=this;this._context=null,this._parentSubscriber=null,t.unsubscribe()}}},"7pfu":function(t,e,n){"use strict";n.d(e,"a",function(){return y});var i=n("v/fa"),a=n("8Y7J"),r=n("TSSN"),o=n("s7LF"),s=n("2axB"),l=n("f3LI"),c=n("Q2Ze"),d=n("e6WT"),u=n("q6Qu"),h=n("SVse"),m=n("UPR3"),p=n("pSGz");function f(t,e){1&t&&(a.Tb(0,"mat-error"),a.Hc(1),a.gc(2,"translate"),a.Sb()),2&t&&(a.Cb(1),a.Jc(" ",a.hc(2,1,"common.error.requis")," "))}function g(t,e){1&t&&(a.Tb(0,"mat-error"),a.Hc(1),a.gc(2,"translate"),a.Sb()),2&t&&(a.Cb(1),a.Jc(" ",a.hc(2,1,"common.error.length")," "))}function b(t,e){1&t&&(a.Tb(0,"mat-error"),a.Hc(1),a.gc(2,"translate"),a.Sb()),2&t&&(a.Cb(1),a.Jc(" ",a.hc(2,1,"common.error.requis")," "))}function _(t,e){1&t&&(a.Tb(0,"mat-error"),a.Hc(1),a.gc(2,"translate"),a.Sb()),2&t&&(a.Cb(1),a.Jc(" ",a.hc(2,1,"common.error.length")," "))}let y=(()=>{class t extends i.a{constructor(t){super(t),this.translateService=t}set formGp(t){this.form=t}get birthdayCtrl(){return this.form.get("dateNaissance")}get countryCtrl(){return this.form.get("paysNaissance")}get isNameDisabled(){return!1}get isCityDisabled(){return!1}get isCountryDisabled(){return!1}onCountryChange(t){this.countryCtrl.setValue(t)}}return t.\u0275fac=function(e){return new(e||t)(a.Nb(r.d))},t.\u0275cmp=a.Hb({type:t,selectors:[["app-person-form-2"]],inputs:{isAutocompleteDisabled:"isAutocompleteDisabled",formGp:"formGp"},features:[a.zb],decls:17,vars:13,consts:[[1,"form-container",3,"formGroup"],[1,"inline-form"],["appTextField","latin",1,"inline-item",3,"parentForm","isAutocompleteDisabled","isRequired"],[1,"spacer"],[1,"inline-item"],["matInput","","appTextField","latin","data-cy","prenom","type","text","name","firstname","appLabel","common.prenom","formControlName","prenom","required",""],[4,"ngIf"],["data-cy","birthday","formControlName","dateNaissance",1,"inline-item","birthday",3,"inputTitle","isRequired"],["matInput","","data-cy","ville-naissance","type","text","name","city-of-birth","appLabel","common.ville.naissance","formControlName","villeNaissance","required",""],["data-cy","pays-naissance","name","country-of-birth",1,"inline-item",3,"countryCtrl","inputTitle","isRequired","selectionChanged"]],template:function(t,e){1&t&&(a.Tb(0,"form",0),a.Tb(1,"div",1),a.Ob(2,"app-salarie-2",2),a.Ob(3,"div",3),a.Tb(4,"mat-form-field",4),a.Ob(5,"input",5),a.Fc(6,f,3,3,"mat-error",6),a.Fc(7,g,3,3,"mat-error",6),a.Sb(),a.Sb(),a.Tb(8,"div",1),a.Ob(9,"app-date-form-2",7),a.Ob(10,"div",3),a.Tb(11,"mat-form-field",4),a.Ob(12,"input",8),a.Fc(13,b,3,3,"mat-error",6),a.Fc(14,_,3,3,"mat-error",6),a.Sb(),a.Ob(15,"div",3),a.Tb(16,"app-country-autocomplete-2",9),a.bc("selectionChanged",function(t){return e.onCountryChange(t)}),a.Sb(),a.Sb(),a.Sb()),2&t&&(a.nc("formGroup",e.form),a.Cb(2),a.nc("parentForm",e.form)("isAutocompleteDisabled",e.isAutocompleteDisabled)("isRequired",!0),a.Cb(4),a.nc("ngIf",e.doesControlHaveError("prenom","required")),a.Cb(1),a.nc("ngIf",e.doesControlHaveError("prenom","maxlength")),a.Cb(2),a.nc("inputTitle","common.date.naissance")("isRequired",!0),a.Cb(4),a.nc("ngIf",e.doesControlHaveError("villeNaissance","required")),a.Cb(1),a.nc("ngIf",e.doesControlHaveError("villeNaissance","maxlength")),a.Cb(2),a.nc("countryCtrl",e.countryCtrl)("inputTitle","common.pays.naissance")("isRequired",!0))},directives:[o.x,o.p,o.i,s.a,l.a,c.c,d.b,o.c,u.a,o.o,o.g,o.v,h.l,m.a,p.a,c.b],pipes:[r.c],styles:[".form-container[_ngcontent-%COMP%]{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.form-container[_ngcontent-%COMP%] .inline-form[_ngcontent-%COMP%]{display:-ms-flexbox;display:flex;-ms-flex-flow:row;flex-flow:row}.form-container[_ngcontent-%COMP%] .inline-form[_ngcontent-%COMP%] .spacer[_ngcontent-%COMP%]{width:50px}.form-container[_ngcontent-%COMP%] .inline-form[_ngcontent-%COMP%] .inline-item[_ngcontent-%COMP%]{-ms-flex:1;flex:1}.form-container[_ngcontent-%COMP%] .inline-form[_ngcontent-%COMP%] .inline-item.birthday[_ngcontent-%COMP%]{max-width:250px}"]}),t})()},"8/+R":function(t,e,n){!function(t){"use strict";var e={1:"\u0a67",2:"\u0a68",3:"\u0a69",4:"\u0a6a",5:"\u0a6b",6:"\u0a6c",7:"\u0a6d",8:"\u0a6e",9:"\u0a6f",0:"\u0a66"},n={"\u0a67":"1","\u0a68":"2","\u0a69":"3","\u0a6a":"4","\u0a6b":"5","\u0a6c":"6","\u0a6d":"7","\u0a6e":"8","\u0a6f":"9","\u0a66":"0"};t.defineLocale("pa-in",{months:"\u0a1c\u0a28\u0a35\u0a30\u0a40_\u0a2b\u0a3c\u0a30\u0a35\u0a30\u0a40_\u0a2e\u0a3e\u0a30\u0a1a_\u0a05\u0a2a\u0a4d\u0a30\u0a48\u0a32_\u0a2e\u0a08_\u0a1c\u0a42\u0a28_\u0a1c\u0a41\u0a32\u0a3e\u0a08_\u0a05\u0a17\u0a38\u0a24_\u0a38\u0a24\u0a70\u0a2c\u0a30_\u0a05\u0a15\u0a24\u0a42\u0a2c\u0a30_\u0a28\u0a35\u0a70\u0a2c\u0a30_\u0a26\u0a38\u0a70\u0a2c\u0a30".split("_"),monthsShort:"\u0a1c\u0a28\u0a35\u0a30\u0a40_\u0a2b\u0a3c\u0a30\u0a35\u0a30\u0a40_\u0a2e\u0a3e\u0a30\u0a1a_\u0a05\u0a2a\u0a4d\u0a30\u0a48\u0a32_\u0a2e\u0a08_\u0a1c\u0a42\u0a28_\u0a1c\u0a41\u0a32\u0a3e\u0a08_\u0a05\u0a17\u0a38\u0a24_\u0a38\u0a24\u0a70\u0a2c\u0a30_\u0a05\u0a15\u0a24\u0a42\u0a2c\u0a30_\u0a28\u0a35\u0a70\u0a2c\u0a30_\u0a26\u0a38\u0a70\u0a2c\u0a30".split("_"),weekdays:"\u0a10\u0a24\u0a35\u0a3e\u0a30_\u0a38\u0a4b\u0a2e\u0a35\u0a3e\u0a30_\u0a2e\u0a70\u0a17\u0a32\u0a35\u0a3e\u0a30_\u0a2c\u0a41\u0a27\u0a35\u0a3e\u0a30_\u0a35\u0a40\u0a30\u0a35\u0a3e\u0a30_\u0a38\u0a3c\u0a41\u0a71\u0a15\u0a30\u0a35\u0a3e\u0a30_\u0a38\u0a3c\u0a28\u0a40\u0a1a\u0a30\u0a35\u0a3e\u0a30".split("_"),weekdaysShort:"\u0a10\u0a24_\u0a38\u0a4b\u0a2e_\u0a2e\u0a70\u0a17\u0a32_\u0a2c\u0a41\u0a27_\u0a35\u0a40\u0a30_\u0a38\u0a3c\u0a41\u0a15\u0a30_\u0a38\u0a3c\u0a28\u0a40".split("_"),weekdaysMin:"\u0a10\u0a24_\u0a38\u0a4b\u0a2e_\u0a2e\u0a70\u0a17\u0a32_\u0a2c\u0a41\u0a27_\u0a35\u0a40\u0a30_\u0a38\u0a3c\u0a41\u0a15\u0a30_\u0a38\u0a3c\u0a28\u0a40".split("_"),longDateFormat:{LT:"A h:mm \u0a35\u0a1c\u0a47",LTS:"A h:mm:ss \u0a35\u0a1c\u0a47",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0a35\u0a1c\u0a47",LLLL:"dddd, D MMMM YYYY, A h:mm \u0a35\u0a1c\u0a47"},calendar:{sameDay:"[\u0a05\u0a1c] LT",nextDay:"[\u0a15\u0a32] LT",nextWeek:"[\u0a05\u0a17\u0a32\u0a3e] dddd, LT",lastDay:"[\u0a15\u0a32] LT",lastWeek:"[\u0a2a\u0a3f\u0a1b\u0a32\u0a47] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0a35\u0a3f\u0a71\u0a1a",past:"%s \u0a2a\u0a3f\u0a1b\u0a32\u0a47",s:"\u0a15\u0a41\u0a1d \u0a38\u0a15\u0a3f\u0a70\u0a1f",ss:"%d \u0a38\u0a15\u0a3f\u0a70\u0a1f",m:"\u0a07\u0a15 \u0a2e\u0a3f\u0a70\u0a1f",mm:"%d \u0a2e\u0a3f\u0a70\u0a1f",h:"\u0a07\u0a71\u0a15 \u0a18\u0a70\u0a1f\u0a3e",hh:"%d \u0a18\u0a70\u0a1f\u0a47",d:"\u0a07\u0a71\u0a15 \u0a26\u0a3f\u0a28",dd:"%d \u0a26\u0a3f\u0a28",M:"\u0a07\u0a71\u0a15 \u0a2e\u0a39\u0a40\u0a28\u0a3e",MM:"%d \u0a2e\u0a39\u0a40\u0a28\u0a47",y:"\u0a07\u0a71\u0a15 \u0a38\u0a3e\u0a32",yy:"%d \u0a38\u0a3e\u0a32"},preparse:function(t){return t.replace(/[\u0a67\u0a68\u0a69\u0a6a\u0a6b\u0a6c\u0a6d\u0a6e\u0a6f\u0a66]/g,function(t){return n[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},meridiemParse:/\u0a30\u0a3e\u0a24|\u0a38\u0a35\u0a47\u0a30|\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30|\u0a38\u0a3c\u0a3e\u0a2e/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u0a30\u0a3e\u0a24"===e?t<4?t:t+12:"\u0a38\u0a35\u0a47\u0a30"===e?t:"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30"===e?t>=10?t:t+12:"\u0a38\u0a3c\u0a3e\u0a2e"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"\u0a30\u0a3e\u0a24":t<10?"\u0a38\u0a35\u0a47\u0a30":t<17?"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30":t<20?"\u0a38\u0a3c\u0a3e\u0a2e":"\u0a30\u0a3e\u0a24"},week:{dow:0,doy:6}})}(n("wd/R"))},"80qe":function(t,e,n){"use strict";n.d(e,"a",function(){return a});var i=n("kAim");class a{constructor({type:t=i.a.PRIS_EN_CHARGE,montant:e=null}){this.type=t,this.montant=e}getForPost(){return this}}},"8LU1":function(t,e,n){"use strict";n.d(e,"a",function(){return o}),n.d(e,"b",function(){return s}),n.d(e,"c",function(){return a}),n.d(e,"d",function(){return l}),n.d(e,"e",function(){return c}),n.d(e,"f",function(){return r}),n.d(e,"g",function(){return d});var i=n("8Y7J");function a(t){return null!=t&&"false"!=`${t}`}function r(t,e=0){return o(t)?Number(t):e}function o(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}function s(t){return Array.isArray(t)?t:[t]}function l(t){return null==t?"":"string"==typeof t?t:`${t}px`}function c(t){return t instanceof i.l?t.nativeElement:t}function d(t,e=/\s+/){const n=[];if(null!=t){const i=Array.isArray(t)?t:`${t}`.split(e);for(const t of i){const e=`${t}`.trim();e&&n.push(e)}}return n}},"8Y7J":function(t,e,n){"use strict";n.d(e,"a",function(){return an}),n.d(e,"b",function(){return nc}),n.d(e,"c",function(){return Xl}),n.d(e,"d",function(){return Zl}),n.d(e,"e",function(){return $l}),n.d(e,"f",function(){return Xc}),n.d(e,"g",function(){return jc}),n.d(e,"h",function(){return zs}),n.d(e,"i",function(){return mc}),n.d(e,"j",function(){return us}),n.d(e,"k",function(){return rc}),n.d(e,"l",function(){return fs}),n.d(e,"m",function(){return Gc}),n.d(e,"n",function(){return Ci}),n.d(e,"o",function(){return Tl}),n.d(e,"p",function(){return cr}),n.d(e,"q",function(){return Mn}),n.d(e,"r",function(){return O}),n.d(e,"s",function(){return nn}),n.d(e,"t",function(){return Or}),n.d(e,"u",function(){return Is}),n.d(e,"v",function(){return Ns}),n.d(e,"w",function(){return ac}),n.d(e,"x",function(){return Ks}),n.d(e,"y",function(){return zc}),n.d(e,"z",function(){return Xs}),n.d(e,"A",function(){return Ic}),n.d(e,"B",function(){return gc}),n.d(e,"C",function(){return On}),n.d(e,"D",function(){return ec}),n.d(e,"E",function(){return tc}),n.d(e,"F",function(){return Ll}),n.d(e,"G",function(){return _s}),n.d(e,"H",function(){return bs}),n.d(e,"I",function(){return Si}),n.d(e,"J",function(){return vs}),n.d(e,"K",function(){return pi}),n.d(e,"L",function(){return kn}),n.d(e,"M",function(){return Wc}),n.d(e,"N",function(){return Gs}),n.d(e,"O",function(){return xc}),n.d(e,"P",function(){return rn}),n.d(e,"Q",function(){return Cs}),n.d(e,"R",function(){return tl}),n.d(e,"S",function(){return D}),n.d(e,"T",function(){return Rc}),n.d(e,"U",function(){return Ec}),n.d(e,"V",function(){return m}),n.d(e,"W",function(){return Cn}),n.d(e,"X",function(){return Dc}),n.d(e,"Y",function(){return Zc}),n.d(e,"Z",function(){return kc}),n.d(e,"ab",function(){return ic}),n.d(e,"bb",function(){return ur}),n.d(e,"cb",function(){return Ko}),n.d(e,"db",function(){return hi}),n.d(e,"eb",function(){return Zn}),n.d(e,"fb",function(){return Hn}),n.d(e,"gb",function(){return Fn}),n.d(e,"hb",function(){return Wn}),n.d(e,"ib",function(){return Vn}),n.d(e,"jb",function(){return zn}),n.d(e,"kb",function(){return Bn}),n.d(e,"lb",function(){return Jo}),n.d(e,"mb",function(){return Jc}),n.d(e,"nb",function(){return Zo}),n.d(e,"ob",function(){return $o}),n.d(e,"pb",function(){return jn}),n.d(e,"qb",function(){return N}),n.d(e,"rb",function(){return Rr}),n.d(e,"sb",function(){return ao}),n.d(e,"tb",function(){return no}),n.d(e,"ub",function(){return io}),n.d(e,"vb",function(){return Go}),n.d(e,"wb",function(){return wt}),n.d(e,"xb",function(){return d}),n.d(e,"yb",function(){return Yn}),n.d(e,"zb",function(){return Sr}),n.d(e,"Ab",function(){return gt}),n.d(e,"Bb",function(){return ls}),n.d(e,"Cb",function(){return ha}),n.d(e,"Db",function(){return Fr}),n.d(e,"Eb",function(){return zo}),n.d(e,"Fb",function(){return ko}),n.d(e,"Gb",function(){return Vl}),n.d(e,"Hb",function(){return G}),n.d(e,"Ib",function(){return tt}),n.d(e,"Jb",function(){return g}),n.d(e,"Kb",function(){return b}),n.d(e,"Lb",function(){return X}),n.d(e,"Mb",function(){return et}),n.d(e,"Nb",function(){return Ur}),n.d(e,"Ob",function(){return Xr}),n.d(e,"Pb",function(){return to}),n.d(e,"Qb",function(){return Qr}),n.d(e,"Rb",function(){return Kr}),n.d(e,"Sb",function(){return $r}),n.d(e,"Tb",function(){return Zr}),n.d(e,"Ub",function(){return eo}),n.d(e,"Vb",function(){return Qe}),n.d(e,"Wb",function(){return Vo}),n.d(e,"Xb",function(){return vn}),n.d(e,"Yb",function(){return tn}),n.d(e,"Zb",function(){return Jl}),n.d(e,"ac",function(){return qr}),n.d(e,"bc",function(){return ro}),n.d(e,"cc",function(){return Bl}),n.d(e,"dc",function(){return be}),n.d(e,"ec",function(){return ge}),n.d(e,"fc",function(){return uo}),n.d(e,"gc",function(){return Cl}),n.d(e,"hc",function(){return wl}),n.d(e,"ic",function(){return xl}),n.d(e,"jc",function(){return Ml}),n.d(e,"kc",function(){return Ol}),n.d(e,"lc",function(){return po}),n.d(e,"mc",function(){return mo}),n.d(e,"nc",function(){return Gr}),n.d(e,"oc",function(){return fo}),n.d(e,"pc",function(){return go}),n.d(e,"qc",function(){return bo}),n.d(e,"rc",function(){return fl}),n.d(e,"sc",function(){return gl}),n.d(e,"tc",function(){return bl}),n.d(e,"uc",function(){return Fl}),n.d(e,"vc",function(){return Wr}),n.d(e,"wc",function(){return Oi}),n.d(e,"xc",function(){return Mi}),n.d(e,"yc",function(){return Vt}),n.d(e,"zc",function(){return fi}),n.d(e,"Ac",function(){return gi}),n.d(e,"Bc",function(){return K}),n.d(e,"Cc",function(){return Oo}),n.d(e,"Dc",function(){return oo}),n.d(e,"Ec",function(){return Bo}),n.d(e,"Fc",function(){return Br}),n.d(e,"Gc",function(){return Gl}),n.d(e,"Hc",function(){return Yo}),n.d(e,"Ic",function(){return Ho}),n.d(e,"Jc",function(){return jo}),n.d(e,"Kc",function(){return Fo}),n.d(e,"Lc",function(){return zl});var i=n("XNiG"),a=n("quSY"),r=n("HDdC"),o=n("VRyK"),s=n("w1tV");function l(t){for(let e in t)if(t[e]===l)return e;throw Error("Could not find renamed property on target object.")}function c(t,e){for(const n in e)e.hasOwnProperty(n)&&!t.hasOwnProperty(n)&&(t[n]=e[n])}function d(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map(d).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;const e=t.toString();if(null==e)return""+e;const n=e.indexOf("\n");return-1===n?e:e.substring(0,n)}function u(t,e){return null==t||""===t?null===e?"":e:null==e||""===e?t:t+" "+e}const h=l({__forward_ref__:l});function m(t){return t.__forward_ref__=m,t.toString=function(){return d(this())},t}function p(t){return f(t)?t():t}function f(t){return"function"==typeof t&&t.hasOwnProperty(h)&&t.__forward_ref__===m}function g(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function b(t){return{factory:t.factory,providers:t.providers||[],imports:t.imports||[]}}function _(t){return y(t,C)||y(t,x)}function y(t,e){return t.hasOwnProperty(e)?t[e]:null}function v(t){return t&&(t.hasOwnProperty(w)||t.hasOwnProperty(M))?t[w]:null}const C=l({"\u0275prov":l}),w=l({"\u0275inj":l}),x=l({ngInjectableDef:l}),M=l({ngInjectorDef:l});var O=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}({});let k;function S(t){const e=k;return k=t,e}function T(t,e,n){const i=_(t);if(i&&"root"==i.providedIn)return void 0===i.value?i.value=i.factory():i.value;if(n&O.Optional)return null;if(void 0!==e)return e;throw new Error(`Injector: NOT_FOUND [${d(t)}]`)}function P(t){return{toString:t}.toString()}var L=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}({}),D=function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}({});const E="undefined"!=typeof globalThis&&globalThis,A="undefined"!=typeof window&&window,I="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,R="undefined"!=typeof global&&global,N=E||R||A||I,Y={},H=[],j=l({"\u0275cmp":l}),F=l({"\u0275dir":l}),z=l({"\u0275pipe":l}),V=l({"\u0275mod":l}),B=l({"\u0275loc":l}),W=l({"\u0275fac":l}),U=l({__NG_ELEMENT_ID__:l});let q=0;function G(t){return P(()=>{const e={},n={type:t.type,providersResolver:null,decls:t.decls,vars:t.vars,factory:null,template:t.template||null,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:e,inputs:null,outputs:null,exportAs:t.exportAs||null,onPush:t.changeDetection===L.OnPush,directiveDefs:null,pipeDefs:null,selectors:t.selectors||H,viewQuery:t.viewQuery||null,features:t.features||null,data:t.data||{},encapsulation:t.encapsulation||D.Emulated,id:"c",styles:t.styles||H,_:null,setInput:null,schemas:t.schemas||null,tView:null},i=t.directives,a=t.features,r=t.pipes;return n.id+=q++,n.inputs=Q(t.inputs,e),n.outputs=Q(t.outputs),a&&a.forEach(t=>t(n)),n.directiveDefs=i?()=>("function"==typeof i?i():i).map(J):null,n.pipeDefs=r?()=>("function"==typeof r?r():r).map(Z):null,n})}function J(t){return nt(t)||function(t){return t[F]||null}(t)}function Z(t){return function(t){return t[z]||null}(t)}const $={};function X(t){const e={type:t.type,bootstrap:t.bootstrap||H,declarations:t.declarations||H,imports:t.imports||H,exports:t.exports||H,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null};return null!=t.id&&P(()=>{$[t.id]=t.type}),e}function K(t,e){return P(()=>{const n=it(t,!0);n.declarations=e.declarations||H,n.imports=e.imports||H,n.exports=e.exports||H})}function Q(t,e){if(null==t)return Y;const n={};for(const i in t)if(t.hasOwnProperty(i)){let a=t[i],r=a;Array.isArray(a)&&(r=a[1],a=a[0]),n[a]=i,e&&(e[a]=r)}return n}const tt=G;function et(t){return{type:t.type,name:t.name,factory:null,pure:!1!==t.pure,onDestroy:t.type.prototype.ngOnDestroy||null}}function nt(t){return t[j]||null}function it(t,e){const n=t[V]||null;if(!n&&!0===e)throw new Error(`Type ${d(t)} does not have '\u0275mod' property.`);return n}function at(t){return Array.isArray(t)&&"object"==typeof t[1]}function rt(t){return Array.isArray(t)&&!0===t[1]}function ot(t){return 0!=(8&t.flags)}function st(t){return 2==(2&t.flags)}function lt(t){return 1==(1&t.flags)}function ct(t){return null!==t.template}function dt(t,e){return t.hasOwnProperty(W)?t[W]:null}class ut extends Error{constructor(t,e){super(function(t,e){return`${t?`NG0${t}: `:""}${e}`}(t,e)),this.code=t}}function ht(t){return"string"==typeof t?t:null==t?"":String(t)}function mt(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():ht(t)}function pt(t,e){const n=e?` in ${e}`:"";throw new ut("201",`No provider for ${mt(t)} found${n}`)}class ft{constructor(t,e,n){this.previousValue=t,this.currentValue=e,this.firstChange=n}isFirstChange(){return this.firstChange}}function gt(){return bt}function bt(t){return t.type.prototype.ngOnChanges&&(t.setInput=yt),_t}function _t(){const t=vt(this),e=null==t?void 0:t.current;if(e){const n=t.previous;if(n===Y)t.previous=e;else for(let t in e)n[t]=e[t];t.current=null,this.ngOnChanges(e)}}function yt(t,e,n,i){const a=vt(t)||function(t,e){return t.__ngSimpleChanges__=e}(t,{previous:Y,current:null}),r=a.current||(a.current={}),o=a.previous,s=this.declaredInputs[n],l=o[s];r[s]=new ft(l&&l.currentValue,e,o===Y),t[i]=e}function vt(t){return t.__ngSimpleChanges__||null}let Ct;function wt(t){Ct=t}function xt(){return void 0!==Ct?Ct:"undefined"!=typeof document?document:void 0}function Mt(t){return!!t.listen}gt.ngInherit=!0;const Ot={createRenderer:(t,e)=>xt()};function kt(t){for(;Array.isArray(t);)t=t[0];return t}function St(t,e){return kt(e[t])}function Tt(t,e){return kt(e[t.index])}function Pt(t,e){return t.data[e]}function Lt(t,e){return t[e]}function Dt(t,e){const n=e[t];return at(n)?n:n[0]}function Et(t){const e=function(t){return t.__ngContext__||null}(t);return e?Array.isArray(e)?e:e.lView:null}function At(t){return 4==(4&t[2])}function It(t){return 128==(128&t[2])}function Rt(t,e){return null==e?null:t[e]}function Nt(t){t[18]=0}function Yt(t,e){t[5]+=e;let n=t,i=t[3];for(;null!==i&&(1===e&&1===n[5]||-1===e&&0===n[5]);)i[5]+=e,n=i,i=i[3]}const Ht={lFrame:ce(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function jt(){return Ht.bindingsEnabled}function Ft(){return Ht.lFrame.lView}function zt(){return Ht.lFrame.tView}function Vt(t){Ht.lFrame.contextLView=t}function Bt(){let t=Wt();for(;null!==t&&64===t.type;)t=t.parent;return t}function Wt(){return Ht.lFrame.currentTNode}function Ut(t,e){const n=Ht.lFrame;n.currentTNode=t,n.isParent=e}function qt(){return Ht.lFrame.isParent}function Gt(){Ht.lFrame.isParent=!1}function Jt(){return Ht.isInCheckNoChangesMode}function Zt(t){Ht.isInCheckNoChangesMode=t}function $t(){const t=Ht.lFrame;let e=t.bindingRootIndex;return-1===e&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function Xt(){return Ht.lFrame.bindingIndex}function Kt(){return Ht.lFrame.bindingIndex++}function Qt(t){const e=Ht.lFrame,n=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,n}function te(t,e){const n=Ht.lFrame;n.bindingIndex=n.bindingRootIndex=t,ee(e)}function ee(t){Ht.lFrame.currentDirectiveIndex=t}function ne(t){const e=Ht.lFrame.currentDirectiveIndex;return-1===e?null:t[e]}function ie(){return Ht.lFrame.currentQueryIndex}function ae(t){Ht.lFrame.currentQueryIndex=t}function re(t){const e=t[1];return 2===e.type?e.declTNode:1===e.type?t[6]:null}function oe(t,e,n){if(n&O.SkipSelf){let i=e,a=t;for(;i=i.parent,!(null!==i||n&O.Host||(i=re(a),null===i)||(a=a[15],10&i.type)););if(null===i)return!1;e=i,t=a}const i=Ht.lFrame=le();return i.currentTNode=e,i.lView=t,!0}function se(t){const e=le(),n=t[1];Ht.lFrame=e,e.currentTNode=n.firstChild,e.lView=t,e.tView=n,e.contextLView=t,e.bindingIndex=n.bindingStartIndex,e.inI18n=!1}function le(){const t=Ht.lFrame,e=null===t?null:t.child;return null===e?ce(t):e}function ce(t){const e={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null,inI18n:!1};return null!==t&&(t.child=e),e}function de(){const t=Ht.lFrame;return Ht.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}const ue=de;function he(){const t=de();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function me(){return Ht.lFrame.selectedIndex}function pe(t){Ht.lFrame.selectedIndex=t}function fe(){const t=Ht.lFrame;return Pt(t.tView,t.selectedIndex)}function ge(){Ht.lFrame.currentNamespace="http://www.w3.org/2000/svg"}function be(){Ht.lFrame.currentNamespace=null}function _e(t,e){for(let n=e.directiveStart,i=e.directiveEnd;n<i;n++){const e=t.data[n].type.prototype,{ngAfterContentInit:i,ngAfterContentChecked:a,ngAfterViewInit:r,ngAfterViewChecked:o,ngOnDestroy:s}=e;i&&(t.contentHooks||(t.contentHooks=[])).push(-n,i),a&&((t.contentHooks||(t.contentHooks=[])).push(n,a),(t.contentCheckHooks||(t.contentCheckHooks=[])).push(n,a)),r&&(t.viewHooks||(t.viewHooks=[])).push(-n,r),o&&((t.viewHooks||(t.viewHooks=[])).push(n,o),(t.viewCheckHooks||(t.viewCheckHooks=[])).push(n,o)),null!=s&&(t.destroyHooks||(t.destroyHooks=[])).push(n,s)}}function ye(t,e,n){we(t,e,3,n)}function ve(t,e,n,i){(3&t[2])===n&&we(t,e,n,i)}function Ce(t,e){let n=t[2];(3&n)===e&&(n&=2047,n+=1,t[2]=n)}function we(t,e,n,i){const a=null!=i?i:-1,r=e.length-1;let o=0;for(let s=void 0!==i?65535&t[18]:0;s<r;s++)if("number"==typeof e[s+1]){if(o=e[s],null!=i&&o>=i)break}else e[s]<0&&(t[18]+=65536),(o<a||-1==a)&&(xe(t,n,e,s),t[18]=(4294901760&t[18])+s+2),s++}function xe(t,e,n,i){const a=n[i]<0,r=n[i+1],o=t[a?-n[i]:n[i]];a?t[2]>>11<t[18]>>16&&(3&t[2])===e&&(t[2]+=2048,r.call(o)):r.call(o)}class Me{constructor(t,e,n){this.factory=t,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=n}}function Oe(t,e,n){const i=Mt(t);let a=0;for(;a<n.length;){const r=n[a];if("number"==typeof r){if(0!==r)break;a++;const o=n[a++],s=n[a++],l=n[a++];i?t.setAttribute(e,s,l,o):e.setAttributeNS(o,s,l)}else{const o=r,s=n[++a];Se(o)?i&&t.setProperty(e,o,s):i?t.setAttribute(e,o,s):e.setAttribute(o,s),a++}}return a}function ke(t){return 3===t||4===t||6===t}function Se(t){return 64===t.charCodeAt(0)}function Te(t,e){if(null===e||0===e.length);else if(null===t||0===t.length)t=e.slice();else{let n=-1;for(let i=0;i<e.length;i++){const a=e[i];"number"==typeof a?n=a:0===n||Pe(t,n,a,null,-1===n||2===n?e[++i]:null)}}return t}function Pe(t,e,n,i,a){let r=0,o=t.length;if(-1===e)o=-1;else for(;r<t.length;){const n=t[r++];if("number"==typeof n){if(n===e){o=-1;break}if(n>e){o=r-1;break}}}for(;r<t.length;){const e=t[r];if("number"==typeof e)break;if(e===n){if(null===i)return void(null!==a&&(t[r+1]=a));if(i===t[r+1])return void(t[r+2]=a)}r++,null!==i&&r++,null!==a&&r++}-1!==o&&(t.splice(o,0,e),r=o+1),t.splice(r++,0,n),null!==i&&t.splice(r++,0,i),null!==a&&t.splice(r++,0,a)}function Le(t){return-1!==t}function De(t){return 32767&t}function Ee(t,e){let n=t>>16,i=e;for(;n>0;)i=i[15],n--;return i}let Ae=!0;function Ie(t){const e=Ae;return Ae=t,e}let Re=0;function Ne(t,e){const n=He(t,e);if(-1!==n)return n;const i=e[1];i.firstCreatePass&&(t.injectorIndex=e.length,Ye(i.data,t),Ye(e,null),Ye(i.blueprint,null));const a=je(t,e),r=t.injectorIndex;if(Le(a)){const t=De(a),n=Ee(a,e),i=n[1].data;for(let a=0;a<8;a++)e[r+a]=n[t+a]|i[t+a]}return e[r+8]=a,r}function Ye(t,e){t.push(0,0,0,0,0,0,0,0,e)}function He(t,e){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null===e[t.injectorIndex+8]?-1:t.injectorIndex}function je(t,e){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;let n=0,i=null,a=e;for(;null!==a;){const t=a[1],e=t.type;if(i=2===e?t.declTNode:1===e?a[6]:null,null===i)return-1;if(n++,a=a[15],-1!==i.injectorIndex)return i.injectorIndex|n<<16}return-1}function Fe(t,e,n){!function(t,e,n){let i;"string"==typeof n?i=n.charCodeAt(0)||0:n.hasOwnProperty(U)&&(i=n[U]),null==i&&(i=n[U]=Re++);const a=255&i;e.data[t+(a>>5)]|=1<<a}(t,e,n)}function ze(t,e,n){if(n&O.Optional)return t;pt(e,"NodeInjector")}function Ve(t,e,n,i){if(n&O.Optional&&void 0===i&&(i=null),0==(n&(O.Self|O.Host))){const a=t[9],r=S(void 0);try{return a?a.get(e,i,n&O.Optional):T(e,i,n&O.Optional)}finally{S(r)}}return ze(i,e,n)}function Be(t,e,n,i=O.Default,a){if(null!==t){const r=function(t){if("string"==typeof t)return t.charCodeAt(0)||0;const e=t.hasOwnProperty(U)?t[U]:void 0;return"number"==typeof e?e>=0?255&e:Ue:e}(n);if("function"==typeof r){if(!oe(e,t,i))return i&O.Host?ze(a,n,i):Ve(e,n,i,a);try{const t=r();if(null!=t||i&O.Optional)return t;pt(n)}finally{ue()}}else if("number"==typeof r){let a=null,o=He(t,e),s=-1,l=i&O.Host?e[16][6]:null;for((-1===o||i&O.SkipSelf)&&(s=-1===o?je(t,e):e[o+8],-1!==s&&$e(i,!1)?(a=e[1],o=De(s),e=Ee(s,e)):o=-1);-1!==o;){const t=e[1];if(Ze(r,o,t.data)){const t=qe(o,e,n,a,i,l);if(t!==We)return t}s=e[o+8],-1!==s&&$e(i,e[1].data[o+8]===l)&&Ze(r,o,e)?(a=t,o=De(s),e=Ee(s,e)):o=-1}}}return Ve(e,n,i,a)}const We={};function Ue(){return new Xe(Bt(),Ft())}function qe(t,e,n,i,a,r){const o=e[1],s=o.data[t+8],l=Ge(s,o,n,null==i?st(s)&&Ae:i!=o&&0!=(3&s.type),a&O.Host&&r===s);return null!==l?Je(e,o,l,s):We}function Ge(t,e,n,i,a){const r=t.providerIndexes,o=e.data,s=1048575&r,l=t.directiveStart,c=r>>20,d=a?s+c:t.directiveEnd;for(let u=i?s:s+c;u<d;u++){const t=o[u];if(u<l&&n===t||u>=l&&t.type===n)return u}if(a){const t=o[l];if(t&&ct(t)&&t.type===n)return l}return null}function Je(t,e,n,i){let a=t[n];const r=e.data;if(a instanceof Me){const o=a;o.resolving&&function(t,e){throw new ut("200",`Circular dependency in DI detected for ${t}`)}(mt(r[n]));const s=Ie(o.canSeeViewProviders);o.resolving=!0;const l=o.injectImpl?S(o.injectImpl):null;oe(t,i,O.Default);try{a=t[n]=o.factory(void 0,r,t,i),e.firstCreatePass&&n>=i.directiveStart&&function(t,e,n){const{ngOnChanges:i,ngOnInit:a,ngDoCheck:r}=e.type.prototype;if(i){const i=bt(e);(n.preOrderHooks||(n.preOrderHooks=[])).push(t,i),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,i)}a&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-t,a),r&&((n.preOrderHooks||(n.preOrderHooks=[])).push(t,r),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,r))}(n,r[n],e)}finally{null!==l&&S(l),Ie(s),o.resolving=!1,ue()}}return a}function Ze(t,e,n){return!!(n[e+(t>>5)]&1<<t)}function $e(t,e){return!(t&O.Self||t&O.Host&&e)}class Xe{constructor(t,e){this._tNode=t,this._lView=e}get(t,e){return Be(this._tNode,this._lView,t,void 0,e)}}function Ke(t){const e=t;if(f(t))return()=>{const t=Ke(p(e));return t?t():null};let n=dt(e);if(null===n){const t=v(e);n=t&&t.factory}return n||null}function Qe(t){return P(()=>{const e=t.prototype.constructor,n=e[W]||Ke(e),i=Object.prototype;let a=Object.getPrototypeOf(t.prototype).constructor;for(;a&&a!==i;){const t=a[W]||Ke(a);if(t&&t!==n)return t;a=Object.getPrototypeOf(a)}return t=>new t})}function tn(t){return function(t,e){if("class"===e)return t.classes;if("style"===e)return t.styles;const n=t.attrs;if(n){const t=n.length;let i=0;for(;i<t;){const a=n[i];if(ke(a))break;if(0===a)i+=2;else if("number"==typeof a)for(i++;i<t&&"string"==typeof n[i];)i++;else{if(a===e)return n[i+1];i+=2}}}return null}(Bt(),t)}function en(t,e,n){return P(()=>{const i=function(t){return function(...e){if(t){const n=t(...e);for(const t in n)this[t]=n[t]}}}(e);function a(...t){if(this instanceof a)return i.apply(this,t),this;const e=new a(...t);return n.annotation=e,n;function n(t,n,i){const a=t.hasOwnProperty("__parameters__")?t.__parameters__:Object.defineProperty(t,"__parameters__",{value:[]}).__parameters__;for(;a.length<=i;)a.push(null);return(a[i]=a[i]||[]).push(e),t}}return n&&(a.prototype=Object.create(n.prototype)),a.prototype.ngMetadataName=t,a.annotationCls=a,a})}class nn{constructor(t,e){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof e?this.__NG_ELEMENT_ID__=e:void 0!==e&&(this.\u0275prov=g({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}toString(){return`InjectionToken ${this._desc}`}}const an=new nn("AnalyzeForEntryComponents"),rn=Function;function on(t,e){void 0===e&&(e=t);for(let n=0;n<t.length;n++){let i=t[n];Array.isArray(i)?(e===t&&(e=t.slice(0,n)),on(i,e)):e!==t&&e.push(i)}return e}function sn(t,e){t.forEach(t=>Array.isArray(t)?sn(t,e):e(t))}function ln(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function cn(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function dn(t,e){const n=[];for(let i=0;i<t;i++)n.push(e);return n}function un(t,e,n){let i=mn(t,e);return i>=0?t[1|i]=n:(i=~i,function(t,e,n,i){let a=t.length;if(a==e)t.push(n,i);else if(1===a)t.push(i,t[0]),t[0]=n;else{for(a--,t.push(t[a-1],t[a]);a>e;)t[a]=t[a-2],a--;t[e]=n,t[e+1]=i}}(t,i,e,n)),i}function hn(t,e){const n=mn(t,e);if(n>=0)return t[1|n]}function mn(t,e){return function(t,e,n){let i=0,a=t.length>>1;for(;a!==i;){const n=i+(a-i>>1),r=t[n<<1];if(e===r)return n<<1;r>e?a=n:i=n+1}return~(a<<1)}(t,e)}const pn={},fn=/\n/gm,gn=l({provide:String,useValue:l});let bn;function _n(t){const e=bn;return bn=t,e}function yn(t,e=O.Default){if(void 0===bn)throw new Error("inject() must be called from an injection context");return null===bn?T(t,void 0,e):bn.get(t,e&O.Optional?null:void 0,e)}function vn(t,e=O.Default){return(k||yn)(p(t),e)}const Cn=vn;function wn(t){const e=[];for(let n=0;n<t.length;n++){const i=p(t[n]);if(Array.isArray(i)){if(0===i.length)throw new Error("Arguments array must have arguments.");let t,n=O.Default;for(let e=0;e<i.length;e++){const a=i[e],r=a.__NG_DI_FLAG__;"number"==typeof r?-1===r?t=a.token:n|=r:t=a}e.push(vn(t,n))}else e.push(vn(i))}return e}function xn(t,e){return t.__NG_DI_FLAG__=e,t.prototype.__NG_DI_FLAG__=e,t}const Mn=xn(en("Inject",t=>({token:t})),-1),On=xn(en("Optional"),8),kn=xn(en("SkipSelf"),4);let Sn,Tn;function Pn(t){var e;return(null===(e=function(){if(void 0===Sn&&(Sn=null,N.trustedTypes))try{Sn=N.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch(e){}return Sn}())||void 0===e?void 0:e.createHTML(t))||t}function Ln(t){var e;return(null===(e=function(){if(void 0===Tn&&(Tn=null,N.trustedTypes))try{Tn=N.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch(e){}return Tn}())||void 0===e?void 0:e.createHTML(t))||t}class Dn{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class En extends Dn{getTypeName(){return"HTML"}}class An extends Dn{getTypeName(){return"Style"}}class In extends Dn{getTypeName(){return"Script"}}class Rn extends Dn{getTypeName(){return"URL"}}class Nn extends Dn{getTypeName(){return"ResourceURL"}}function Yn(t){return t instanceof Dn?t.changingThisBreaksApplicationSecurity:t}function Hn(t,e){const n=jn(t);if(null!=n&&n!==e){if("ResourceURL"===n&&"URL"===e)return!0;throw new Error(`Required a safe ${e}, got a ${n} (see https://g.co/ng/security#xss)`)}return n===e}function jn(t){return t instanceof Dn&&t.getTypeName()||null}function Fn(t){return new En(t)}function zn(t){return new An(t)}function Vn(t){return new In(t)}function Bn(t){return new Rn(t)}function Wn(t){return new Nn(t)}class Un{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const e=(new window.DOMParser).parseFromString(Pn(t),"text/html").body;return null===e?this.inertDocumentHelper.getInertBodyElement(t):(e.removeChild(e.firstChild),e)}catch(e){return null}}}class qn{constructor(t){if(this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const t=this.inertDocument.createElement("html");this.inertDocument.appendChild(t);const e=this.inertDocument.createElement("body");t.appendChild(e)}}getInertBodyElement(t){const e=this.inertDocument.createElement("template");if("content"in e)return e.innerHTML=Pn(t),e;const n=this.inertDocument.createElement("body");return n.innerHTML=Pn(t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(n),n}stripCustomNsAttrs(t){const e=t.attributes;for(let i=e.length-1;0<i;i--){const n=e.item(i).name;"xmlns:ns1"!==n&&0!==n.indexOf("ns1:")||t.removeAttribute(n)}let n=t.firstChild;for(;n;)n.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(n),n=n.nextSibling}}const Gn=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi,Jn=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i;function Zn(t){return(t=String(t)).match(Gn)||t.match(Jn)?t:"unsafe:"+t}function $n(t){const e={};for(const n of t.split(","))e[n]=!0;return e}function Xn(...t){const e={};for(const n of t)for(const t in n)n.hasOwnProperty(t)&&(e[t]=!0);return e}const Kn=$n("area,br,col,hr,img,wbr"),Qn=$n("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),ti=$n("rp,rt"),ei=Xn(ti,Qn),ni=Xn(Kn,Xn(Qn,$n("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),Xn(ti,$n("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),ei),ii=$n("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),ai=$n("srcset"),ri=Xn(ii,ai,$n("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),$n("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),oi=$n("script,style,template");class si{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let e=t.firstChild,n=!0;for(;e;)if(e.nodeType===Node.ELEMENT_NODE?n=this.startElement(e):e.nodeType===Node.TEXT_NODE?this.chars(e.nodeValue):this.sanitizedSomething=!0,n&&e.firstChild)e=e.firstChild;else for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);let t=this.checkClobberedElement(e,e.nextSibling);if(t){e=t;break}e=this.checkClobberedElement(e,e.parentNode)}return this.buf.join("")}startElement(t){const e=t.nodeName.toLowerCase();if(!ni.hasOwnProperty(e))return this.sanitizedSomething=!0,!oi.hasOwnProperty(e);this.buf.push("<"),this.buf.push(e);const n=t.attributes;for(let a=0;a<n.length;a++){const t=n.item(a),e=t.name,r=e.toLowerCase();if(!ri.hasOwnProperty(r)){this.sanitizedSomething=!0;continue}let o=t.value;ii[r]&&(o=Zn(o)),ai[r]&&(i=o,o=(i=String(i)).split(",").map(t=>Zn(t.trim())).join(", ")),this.buf.push(" ",e,'="',di(o),'"')}var i;return this.buf.push(">"),!0}endElement(t){const e=t.nodeName.toLowerCase();ni.hasOwnProperty(e)&&!Kn.hasOwnProperty(e)&&(this.buf.push("</"),this.buf.push(e),this.buf.push(">"))}chars(t){this.buf.push(di(t))}checkClobberedElement(t,e){if(e&&(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`);return e}}const li=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,ci=/([^\#-~ |!])/g;function di(t){return t.replace(/&/g,"&amp;").replace(li,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(ci,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let ui;function hi(t,e){let n=null;try{ui=ui||function(t){const e=new qn(t);return function(){try{return!!(new window.DOMParser).parseFromString(Pn(""),"text/html")}catch(t){return!1}}()?new Un(e):e}(t);let i=e?String(e):"";n=ui.getInertBodyElement(i);let a=5,r=i;do{if(0===a)throw new Error("Failed to sanitize html because the input is unstable");a--,i=r,r=n.innerHTML,n=ui.getInertBodyElement(i)}while(i!==r);return Pn((new si).sanitizeChildren(mi(n)||n))}finally{if(n){const t=mi(n)||n;for(;t.firstChild;)t.removeChild(t.firstChild)}}}function mi(t){return"content"in t&&function(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}var pi=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}({});function fi(t){const e=bi();return e?Ln(e.sanitize(pi.HTML,t)||""):Hn(t,"HTML")?Ln(Yn(t)):hi(xt(),ht(t))}function gi(t){const e=bi();return e?e.sanitize(pi.URL,t)||"":Hn(t,"URL")?Yn(t):Zn(ht(t))}function bi(){const t=Ft();return t&&t[12]}function _i(t){return t.ngDebugContext}function yi(t){return t.ngOriginalError}function vi(t,...e){t.error(...e)}class Ci{constructor(){this._console=console}handleError(t){const e=this._findOriginalError(t),n=this._findContext(t),i=function(t){return t.ngErrorLogger||vi}(t);i(this._console,"ERROR",t),e&&i(this._console,"ORIGINAL ERROR",e),n&&i(this._console,"ERROR CONTEXT",n)}_findContext(t){return t?_i(t)?_i(t):this._findContext(yi(t)):null}_findOriginalError(t){let e=yi(t);for(;e&&yi(e);)e=yi(e);return e}}function wi(t,e){t.__ngContext__=e}const xi=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(N))();function Mi(t){return{name:"window",target:t.ownerDocument.defaultView}}function Oi(t){return{name:"body",target:t.ownerDocument.body}}function ki(t){return t instanceof Function?t():t}var Si=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}({});function Ti(t,e){return(void 0)(t,e)}function Pi(t){const e=t[3];return rt(e)?e[3]:e}function Li(t){return Ei(t[13])}function Di(t){return Ei(t[4])}function Ei(t){for(;null!==t&&!rt(t);)t=t[4];return t}function Ai(t,e,n,i,a){if(null!=i){let r,o=!1;rt(i)?r=i:at(i)&&(o=!0,i=i[0]);const s=kt(i);0===t&&null!==n?null==a?zi(e,n,s):Fi(e,n,s,a||null,!0):1===t&&null!==n?Fi(e,n,s,a||null,!0):2===t?function(t,e,n){const i=Bi(t,e);i&&function(t,e,n,i){Mt(t)?t.removeChild(e,n,i):e.removeChild(n)}(t,i,e,n)}(e,s,o):3===t&&e.destroyNode(s),null!=r&&function(t,e,n,i,a){const r=n[7];r!==kt(n)&&Ai(e,t,i,r,a);for(let o=10;o<n.length;o++){const a=n[o];$i(a[1],a,t,e,i,r)}}(e,t,r,n,a)}}function Ii(t,e,n){return Mt(t)?t.createElement(e,n):null===n?t.createElement(e):t.createElementNS(n,e)}function Ri(t,e){const n=t[9],i=n.indexOf(e),a=e[3];1024&e[2]&&(e[2]&=-1025,Yt(a,-1)),n.splice(i,1)}function Ni(t,e){if(t.length<=10)return;const n=10+e,i=t[n];if(i){const r=i[17];null!==r&&r!==t&&Ri(r,i),e>0&&(t[n-1][4]=i[4]);const o=cn(t,10+e);$i(i[1],a=i,a[11],2,null,null),a[0]=null,a[6]=null;const s=o[19];null!==s&&s.detachView(o[1]),i[3]=null,i[4]=null,i[2]&=-129}var a;return i}function Yi(t,e){if(!(256&e[2])){const n=e[11];Mt(n)&&n.destroyNode&&$i(t,e,n,3,null,null),function(t){let e=t[13];if(!e)return Hi(t[1],t);for(;e;){let n=null;if(at(e))n=e[13];else{const t=e[10];t&&(n=t)}if(!n){for(;e&&!e[4]&&e!==t;)at(e)&&Hi(e[1],e),e=e[3];null===e&&(e=t),at(e)&&Hi(e[1],e),n=e&&e[4]}e=n}}(e)}}function Hi(t,e){if(!(256&e[2])){e[2]&=-129,e[2]|=256,function(t,e){let n;if(null!=t&&null!=(n=t.destroyHooks))for(let i=0;i<n.length;i+=2){const t=e[n[i]];if(!(t instanceof Me)){const e=n[i+1];if(Array.isArray(e))for(let n=0;n<e.length;n+=2)e[n+1].call(t[e[n]]);else e.call(t)}}}(t,e),function(t,e){const n=t.cleanup,i=e[7];let a=-1;if(null!==n)for(let r=0;r<n.length-1;r+=2)if("string"==typeof n[r]){const t=n[r+1],o="function"==typeof t?t(e):kt(e[t]),s=i[a=n[r+2]],l=n[r+3];"boolean"==typeof l?o.removeEventListener(n[r],s,l):l>=0?i[a=l]():i[a=-l].unsubscribe(),r+=2}else{const t=i[a=n[r+1]];n[r].call(t)}if(null!==i){for(let t=a+1;t<i.length;t++)(0,i[t])();e[7]=null}}(t,e),1===e[1].type&&Mt(e[11])&&e[11].destroy();const n=e[17];if(null!==n&&rt(e[3])){n!==e[3]&&Ri(n,e);const i=e[19];null!==i&&i.detachView(t)}}}function ji(t,e,n){return function(t,e,n){let i=e;for(;null!==i&&40&i.type;)i=(e=i).parent;if(null===i)return n[0];if(2&i.flags){const e=t.data[i.directiveStart].encapsulation;if(e===D.None||e===D.Emulated)return null}return Tt(i,n)}(t,e.parent,n)}function Fi(t,e,n,i,a){Mt(t)?t.insertBefore(e,n,i,a):e.insertBefore(n,i,a)}function zi(t,e,n){Mt(t)?t.appendChild(e,n):e.appendChild(n)}function Vi(t,e,n,i,a){null!==i?Fi(t,e,n,i,a):zi(t,e,n)}function Bi(t,e){return Mt(t)?t.parentNode(e):e.parentNode}function Wi(t,e,n){return Ui(t,e,n)}let Ui=function(t,e,n){return 40&t.type?Tt(t,n):null};function qi(t,e,n,i){const a=ji(t,i,e),r=e[11],o=Wi(i.parent||e[6],i,e);if(null!=a)if(Array.isArray(n))for(let s=0;s<n.length;s++)Vi(r,a,n[s],o,!1);else Vi(r,a,n,o,!1)}function Gi(t,e){if(null!==e){const n=e.type;if(3&n)return Tt(e,t);if(4&n)return Ji(-1,t[e.index]);if(8&n){const n=e.child;if(null!==n)return Gi(t,n);{const n=t[e.index];return rt(n)?Ji(-1,n):kt(n)}}if(32&n)return Ti(e,t)()||kt(t[e.index]);{const n=t[16],i=n[6],a=Pi(n),r=i.projection[e.projection];return null!=r?Gi(a,r):Gi(t,e.next)}}return null}function Ji(t,e){const n=10+t+1;if(n<e.length){const t=e[n],i=t[1].firstChild;if(null!==i)return Gi(t,i)}return e[7]}function Zi(t,e,n,i,a,r,o){for(;null!=n;){const s=i[n.index],l=n.type;if(o&&0===e&&(s&&wi(kt(s),i),n.flags|=4),64!=(64&n.flags))if(8&l)Zi(t,e,n.child,i,a,r,!1),Ai(e,t,a,s,r);else if(32&l){const o=Ti(n,i);let l;for(;l=o();)Ai(e,t,a,l,r);Ai(e,t,a,s,r)}else 16&l?Xi(t,e,i,n,a,r):Ai(e,t,a,s,r);n=o?n.projectionNext:n.next}}function $i(t,e,n,i,a,r){Zi(n,i,t.firstChild,e,a,r,!1)}function Xi(t,e,n,i,a,r){const o=n[16],s=o[6].projection[i.projection];if(Array.isArray(s))for(let l=0;l<s.length;l++)Ai(e,t,a,s[l],r);else Zi(t,e,s,o[3],a,r,!0)}function Ki(t,e,n){Mt(t)?t.setAttribute(e,"style",n):e.style.cssText=n}function Qi(t,e,n){Mt(t)?""===n?t.removeAttribute(e,"class"):t.setAttribute(e,"class",n):e.className=n}function ta(t,e,n){let i=t.length;for(;;){const a=t.indexOf(e,n);if(-1===a)return a;if(0===a||t.charCodeAt(a-1)<=32){const n=e.length;if(a+n===i||t.charCodeAt(a+n)<=32)return a}n=a+1}}function ea(t,e,n){let i=0;for(;i<t.length;){let a=t[i++];if(n&&"class"===a){if(a=t[i],-1!==ta(a.toLowerCase(),e,0))return!0}else if(1===a){for(;i<t.length&&"string"==typeof(a=t[i++]);)if(a.toLowerCase()===e)return!0;return!1}}return!1}function na(t){return 4===t.type&&"ng-template"!==t.value}function ia(t,e,n){return e===(4!==t.type||n?t.value:"ng-template")}function aa(t,e,n){let i=4;const a=t.attrs||[],r=function(t){for(let e=0;e<t.length;e++)if(ke(t[e]))return e;return t.length}(a);let o=!1;for(let s=0;s<e.length;s++){const l=e[s];if("number"!=typeof l){if(!o)if(4&i){if(i=2|1&i,""!==l&&!ia(t,l,n)||""===l&&1===e.length){if(ra(i))return!1;o=!0}}else{const c=8&i?l:e[++s];if(8&i&&null!==t.attrs){if(!ea(t.attrs,c,n)){if(ra(i))return!1;o=!0}continue}const d=oa(8&i?"class":l,a,na(t),n);if(-1===d){if(ra(i))return!1;o=!0;continue}if(""!==c){let t;t=d>r?"":a[d+1].toLowerCase();const e=8&i?t:null;if(e&&-1!==ta(e,c,0)||2&i&&c!==t){if(ra(i))return!1;o=!0}}}}else{if(!o&&!ra(i)&&!ra(l))return!1;if(o&&ra(l))continue;o=!1,i=l|1&i}}return ra(i)||o}function ra(t){return 0==(1&t)}function oa(t,e,n,i){if(null===e)return-1;let a=0;if(i||!n){let n=!1;for(;a<e.length;){const i=e[a];if(i===t)return a;if(3===i||6===i)n=!0;else{if(1===i||2===i){let t=e[++a];for(;"string"==typeof t;)t=e[++a];continue}if(4===i)break;if(0===i){a+=4;continue}}a+=n?1:2}return-1}return function(t,e){let n=t.indexOf(4);if(n>-1)for(n++;n<t.length;){const i=t[n];if("number"==typeof i)return-1;if(i===e)return n;n++}return-1}(e,t)}function sa(t,e,n=!1){for(let i=0;i<e.length;i++)if(aa(t,e[i],n))return!0;return!1}function la(t,e){t:for(let n=0;n<e.length;n++){const i=e[n];if(t.length===i.length){for(let e=0;e<t.length;e++)if(t[e]!==i[e])continue t;return!0}}return!1}function ca(t,e){return t?":not("+e.trim()+")":e}function da(t){let e=t[0],n=1,i=2,a="",r=!1;for(;n<t.length;){let o=t[n];if("string"==typeof o)if(2&i){const e=t[++n];a+="["+o+(e.length>0?'="'+e+'"':"")+"]"}else 8&i?a+="."+o:4&i&&(a+=" "+o);else""===a||ra(o)||(e+=ca(r,a),a=""),i=o,r=r||!ra(i);n++}return""!==a&&(e+=ca(r,a)),e}const ua={};function ha(t){ma(zt(),Ft(),me()+t,Jt())}function ma(t,e,n,i){if(!i)if(3==(3&e[2])){const i=t.preOrderCheckHooks;null!==i&&ye(e,i,n)}else{const i=t.preOrderHooks;null!==i&&ve(e,i,0,n)}pe(n)}function pa(t,e){return t<<17|e<<2}function fa(t){return t>>17&32767}function ga(t){return 2|t}function ba(t){return(131068&t)>>2}function _a(t,e){return-131069&t|e<<2}function ya(t){return 1|t}function va(t,e){const n=t.contentQueries;if(null!==n)for(let i=0;i<n.length;i+=2){const a=n[i],r=n[i+1];if(-1!==r){const n=t.data[r];ae(a),n.contentQueries(2,e[r],r)}}}function Ca(t,e,n,i,a,r,o,s,l,c){const d=e.blueprint.slice();return d[0]=a,d[2]=140|i,Nt(d),d[3]=d[15]=t,d[8]=n,d[10]=o||t&&t[10],d[11]=s||t&&t[11],d[12]=l||t&&t[12]||null,d[9]=c||t&&t[9]||null,d[6]=r,d[16]=2==e.type?t[16]:d,d}function wa(t,e,n,i,a){let r=t.data[e];if(null===r)r=function(t,e,n,i,a){const r=Wt(),o=qt(),s=t.data[e]=function(t,e,n,i,a,r){return{type:n,index:i,insertBeforeIndex:null,injectorIndex:e?e.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,value:a,attrs:r,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:e,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,o?r:r&&r.parent,n,e,i,a);return null===t.firstChild&&(t.firstChild=s),null!==r&&(o?null==r.child&&null!==s.parent&&(r.child=s):null===r.next&&(r.next=s)),s}(t,e,n,i,a),Ht.lFrame.inI18n&&(r.flags|=64);else if(64&r.type){r.type=n,r.value=i,r.attrs=a;const t=function(){const t=Ht.lFrame,e=t.currentTNode;return t.isParent?e:e.parent}();r.injectorIndex=null===t?-1:t.injectorIndex}return Ut(r,!0),r}function xa(t,e,n,i){if(0===n)return-1;const a=e.length;for(let r=0;r<n;r++)e.push(i),t.blueprint.push(i),t.data.push(null);return a}function Ma(t,e,n){se(e);try{const i=t.viewQuery;null!==i&&tr(1,i,n);const a=t.template;null!==a&&Sa(t,e,a,1,n),t.firstCreatePass&&(t.firstCreatePass=!1),t.staticContentQueries&&va(t,e),t.staticViewQueries&&tr(2,t.viewQuery,n);const r=t.components;null!==r&&function(t,e){for(let n=0;n<e.length;n++)Za(t,e[n])}(e,r)}catch(i){throw t.firstCreatePass&&(t.incompleteFirstPass=!0),i}finally{e[2]&=-5,he()}}function Oa(t,e,n,i){const a=e[2];if(256==(256&a))return;se(e);const r=Jt();try{Nt(e),Ht.lFrame.bindingIndex=t.bindingStartIndex,null!==n&&Sa(t,e,n,2,i);const o=3==(3&a);if(!r)if(o){const n=t.preOrderCheckHooks;null!==n&&ye(e,n,null)}else{const n=t.preOrderHooks;null!==n&&ve(e,n,0,null),Ce(e,0)}if(function(t){for(let e=Li(t);null!==e;e=Di(e)){if(!e[2])continue;const t=e[9];for(let e=0;e<t.length;e++){const n=t[e],i=n[3];0==(1024&n[2])&&Yt(i,1),n[2]|=1024}}}(e),function(t){for(let e=Li(t);null!==e;e=Di(e))for(let t=10;t<e.length;t++){const n=e[t],i=n[1];It(n)&&Oa(i,n,i.template,n[8])}}(e),null!==t.contentQueries&&va(t,e),!r)if(o){const n=t.contentCheckHooks;null!==n&&ye(e,n)}else{const n=t.contentHooks;null!==n&&ve(e,n,1),Ce(e,1)}!function(t,e){const n=t.hostBindingOpCodes;if(null!==n)try{for(let t=0;t<n.length;t++){const i=n[t];if(i<0)pe(~i);else{const a=i,r=n[++t],o=n[++t];te(r,a),o(2,e[a])}}}finally{pe(-1)}}(t,e);const s=t.components;null!==s&&function(t,e){for(let n=0;n<e.length;n++)Ga(t,e[n])}(e,s);const l=t.viewQuery;if(null!==l&&tr(2,l,i),!r)if(o){const n=t.viewCheckHooks;null!==n&&ye(e,n)}else{const n=t.viewHooks;null!==n&&ve(e,n,2),Ce(e,2)}!0===t.firstUpdatePass&&(t.firstUpdatePass=!1),r||(e[2]&=-73),1024&e[2]&&(e[2]&=-1025,Yt(e[3],-1))}finally{he()}}function ka(t,e,n,i){const a=e[10],r=!Jt(),o=At(e);try{r&&!o&&a.begin&&a.begin(),o&&Ma(t,e,i),Oa(t,e,n,i)}finally{r&&!o&&a.end&&a.end()}}function Sa(t,e,n,i,a){const r=me();try{pe(-1),2&i&&e.length>20&&ma(t,e,20,Jt()),n(i,a)}finally{pe(r)}}function Ta(t,e,n){if(ot(e)){const i=e.directiveEnd;for(let a=e.directiveStart;a<i;a++){const e=t.data[a];e.contentQueries&&e.contentQueries(1,n[a],a)}}}function Pa(t,e,n){jt()&&(function(t,e,n,i){const a=n.directiveStart,r=n.directiveEnd;t.firstCreatePass||Ne(n,e),wi(i,e);const o=n.initialInputs;for(let s=a;s<r;s++){const i=t.data[s],r=ct(i);r&&Ba(e,n,i);const l=Je(e,t,s,n);wi(l,e),null!==o&&Wa(0,s-a,l,i,0,o),r&&(Dt(n.index,e)[8]=l)}}(t,e,n,Tt(n,e)),128==(128&n.flags)&&function(t,e,n){const i=n.directiveStart,a=n.directiveEnd,r=n.index,o=Ht.lFrame.currentDirectiveIndex;try{pe(r);for(let n=i;n<a;n++){const i=t.data[n],a=e[n];ee(n),null===i.hostBindings&&0===i.hostVars&&null===i.hostAttrs||Ha(i,a)}}finally{pe(-1),ee(o)}}(t,e,n))}function La(t,e,n=Tt){const i=e.localNames;if(null!==i){let a=e.index+1;for(let r=0;r<i.length;r+=2){const o=i[r+1],s=-1===o?n(e,t):t[o];t[a++]=s}}}function Da(t){const e=t.tView;return null===e||e.incompleteFirstPass?t.tView=Ea(1,null,t.template,t.decls,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery,t.schemas,t.consts):e}function Ea(t,e,n,i,a,r,o,s,l,c){const d=20+i,u=d+a,h=function(t,e){const n=[];for(let i=0;i<e;i++)n.push(i<t?null:ua);return n}(d,u),m="function"==typeof c?c():c;return h[1]={type:t,blueprint:h,template:n,queries:null,viewQuery:s,declTNode:e,data:h.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:u,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof r?r():r,pipeRegistry:"function"==typeof o?o():o,firstChild:null,schemas:l,consts:m,incompleteFirstPass:!1}}function Aa(t,e,n,i){const a=nr(e);null===n?a.push(i):(a.push(n),t.firstCreatePass&&ir(t).push(i,a.length-1))}function Ia(t,e,n){for(let i in t)if(t.hasOwnProperty(i)){const a=t[i];(n=null===n?{}:n).hasOwnProperty(i)?n[i].push(e,a):n[i]=[e,a]}return n}function Ra(t,e,n,i,a,r,o,s){const l=Tt(e,n);let c,d=e.inputs;var u;!s&&null!=d&&(c=d[i])?(or(t,n,c,i,a),st(e)&&function(t,e){const n=Dt(e,t);16&n[2]||(n[2]|=64)}(n,e.index)):3&e.type&&(i="class"===(u=i)?"className":"for"===u?"htmlFor":"formaction"===u?"formAction":"innerHtml"===u?"innerHTML":"readonly"===u?"readOnly":"tabindex"===u?"tabIndex":u,a=null!=o?o(a,e.value||"",i):a,Mt(r)?r.setProperty(l,i,a):Se(i)||(l.setProperty?l.setProperty(i,a):l[i]=a))}function Na(t,e,n,i){let a=!1;if(jt()){const r=function(t,e,n){const i=t.directiveRegistry;let a=null;if(i)for(let r=0;r<i.length;r++){const o=i[r];sa(n,o.selectors,!1)&&(a||(a=[]),Fe(Ne(n,e),t,o.type),ct(o)?(ja(t,n),a.unshift(o)):a.push(o))}return a}(t,e,n),o=null===i?null:{"":-1};if(null!==r){a=!0,za(n,t.data.length,r.length);for(let t=0;t<r.length;t++){const e=r[t];e.providersResolver&&e.providersResolver(e)}let i=!1,s=!1,l=xa(t,e,r.length,null);for(let a=0;a<r.length;a++){const c=r[a];n.mergedAttrs=Te(n.mergedAttrs,c.hostAttrs),Va(t,n,e,l,c),Fa(l,c,o),null!==c.contentQueries&&(n.flags|=8),null===c.hostBindings&&null===c.hostAttrs&&0===c.hostVars||(n.flags|=128);const d=c.type.prototype;!i&&(d.ngOnChanges||d.ngOnInit||d.ngDoCheck)&&((t.preOrderHooks||(t.preOrderHooks=[])).push(n.index),i=!0),s||!d.ngOnChanges&&!d.ngDoCheck||((t.preOrderCheckHooks||(t.preOrderCheckHooks=[])).push(n.index),s=!0),l++}!function(t,e){const n=e.directiveEnd,i=t.data,a=e.attrs,r=[];let o=null,s=null;for(let l=e.directiveStart;l<n;l++){const t=i[l],n=t.inputs,c=null===a||na(e)?null:Ua(n,a);r.push(c),o=Ia(n,l,o),s=Ia(t.outputs,l,s)}null!==o&&(o.hasOwnProperty("class")&&(e.flags|=16),o.hasOwnProperty("style")&&(e.flags|=32)),e.initialInputs=r,e.inputs=o,e.outputs=s}(t,n)}o&&function(t,e,n){if(e){const i=t.localNames=[];for(let t=0;t<e.length;t+=2){const a=n[e[t+1]];if(null==a)throw new ut("301",`Export of name '${e[t+1]}' not found!`);i.push(e[t],a)}}}(n,i,o)}return n.mergedAttrs=Te(n.mergedAttrs,n.attrs),a}function Ya(t,e,n,i,a,r){const o=r.hostBindings;if(o){let n=t.hostBindingOpCodes;null===n&&(n=t.hostBindingOpCodes=[]);const r=~e.index;(function(t){let e=t.length;for(;e>0;){const n=t[--e];if("number"==typeof n&&n<0)return n}return 0})(n)!=r&&n.push(r),n.push(i,a,o)}}function Ha(t,e){null!==t.hostBindings&&t.hostBindings(1,e)}function ja(t,e){e.flags|=2,(t.components||(t.components=[])).push(e.index)}function Fa(t,e,n){if(n){if(e.exportAs)for(let i=0;i<e.exportAs.length;i++)n[e.exportAs[i]]=t;ct(e)&&(n[""]=t)}}function za(t,e,n){t.flags|=1,t.directiveStart=e,t.directiveEnd=e+n,t.providerIndexes=e}function Va(t,e,n,i,a){t.data[i]=a;const r=a.factory||(a.factory=dt(a.type)),o=new Me(r,ct(a),null);t.blueprint[i]=o,n[i]=o,Ya(t,e,0,i,xa(t,n,a.hostVars,ua),a)}function Ba(t,e,n){const i=Tt(e,t),a=Da(n),r=t[10],o=$a(t,Ca(t,a,null,n.onPush?64:16,i,e,r,r.createRenderer(i,n),null,null));t[e.index]=o}function Wa(t,e,n,i,a,r){const o=r[e];if(null!==o){const t=i.setInput;for(let e=0;e<o.length;){const a=o[e++],r=o[e++],s=o[e++];null!==t?i.setInput(n,s,a,r):n[r]=s}}}function Ua(t,e){let n=null,i=0;for(;i<e.length;){const a=e[i];if(0!==a)if(5!==a){if("number"==typeof a)break;t.hasOwnProperty(a)&&(null===n&&(n=[]),n.push(a,t[a],e[i+1])),i+=2}else i+=2;else i+=4}return n}function qa(t,e,n,i){return new Array(t,!0,!1,e,null,0,i,n,null,null)}function Ga(t,e){const n=Dt(e,t);if(It(n)){const t=n[1];80&n[2]?Oa(t,n,t.template,n[8]):n[5]>0&&Ja(n)}}function Ja(t){for(let n=Li(t);null!==n;n=Di(n))for(let t=10;t<n.length;t++){const e=n[t];if(1024&e[2]){const t=e[1];Oa(t,e,t.template,e[8])}else e[5]>0&&Ja(e)}const e=t[1].components;if(null!==e)for(let n=0;n<e.length;n++){const i=Dt(e[n],t);It(i)&&i[5]>0&&Ja(i)}}function Za(t,e){const n=Dt(e,t),i=n[1];!function(t,e){for(let n=e.length;n<t.blueprint.length;n++)e.push(t.blueprint[n])}(i,n),Ma(i,n,n[8])}function $a(t,e){return t[13]?t[14][4]=e:t[13]=e,t[14]=e,e}function Xa(t){for(;t;){t[2]|=64;const e=Pi(t);if(0!=(512&t[2])&&!e)return t;t=e}return null}function Ka(t,e,n){const i=e[10];i.begin&&i.begin();try{Oa(t,e,t.template,n)}catch(a){throw rr(e,a),a}finally{i.end&&i.end()}}function Qa(t){!function(t){for(let e=0;e<t.components.length;e++){const n=t.components[e],i=Et(n),a=i[1];ka(a,i,a.template,n)}}(t[8])}function tr(t,e,n){ae(0),e(t,n)}const er=(()=>Promise.resolve(null))();function nr(t){return t[7]||(t[7]=[])}function ir(t){return t.cleanup||(t.cleanup=[])}function ar(t,e,n){return(null===t||ct(t))&&(n=function(t){for(;Array.isArray(t);){if("object"==typeof t[1])return t;t=t[0]}return null}(n[e.index])),n[11]}function rr(t,e){const n=t[9],i=n?n.get(Ci,null):null;i&&i.handleError(e)}function or(t,e,n,i,a){for(let r=0;r<n.length;){const o=n[r++],s=n[r++],l=e[o],c=t.data[o];null!==c.setInput?c.setInput(l,a,i,s):l[s]=a}}function sr(t,e,n){const i=St(e,t);!function(t,e,n){Mt(t)?t.setValue(e,n):e.textContent=n}(t[11],i,n)}function lr(t,e,n){let i=n?t.styles:null,a=n?t.classes:null,r=0;if(null!==e)for(let o=0;o<e.length;o++){const t=e[o];"number"==typeof t?r=t:1==r?a=u(a,t):2==r&&(i=u(i,t+": "+e[++o]+";"))}n?t.styles=i:t.stylesWithoutHost=i,n?t.classes=a:t.classesWithoutHost=a}const cr=new nn("INJECTOR",-1);class dr{get(t,e=pn){if(e===pn){const e=new Error(`NullInjectorError: No provider for ${d(t)}!`);throw e.name="NullInjectorError",e}return e}}const ur=new nn("Set Injector scope."),hr={},mr={},pr=[];let fr;function gr(){return void 0===fr&&(fr=new dr),fr}function br(t,e=null,n=null,i){return new _r(t,n,e||gr(),i)}class _r{constructor(t,e,n,i=null){this.parent=n,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;const a=[];e&&sn(e,n=>this.processProvider(n,t,e)),sn([t],t=>this.processInjectorType(t,[],a)),this.records.set(cr,Cr(void 0,this));const r=this.records.get(ur);this.scope=null!=r?r.value:null,this.source=i||("object"==typeof t?null:d(t))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(t=>t.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(t,e=pn,n=O.Default){this.assertNotDestroyed();const i=_n(this);try{if(!(n&O.SkipSelf)){let e=this.records.get(t);if(void 0===e){const n=("function"==typeof(a=t)||"object"==typeof a&&a instanceof nn)&&_(t);e=n&&this.injectableDefInScope(n)?Cr(yr(t),hr):null,this.records.set(t,e)}if(null!=e)return this.hydrate(t,e)}return(n&O.Self?gr():this.parent).get(t,e=n&O.Optional&&e===pn?null:e)}catch(r){if("NullInjectorError"===r.name){if((r.ngTempTokenPath=r.ngTempTokenPath||[]).unshift(d(t)),i)throw r;return function(t,e,n,i){const a=t.ngTempTokenPath;throw e.__source&&a.unshift(e.__source),t.message=function(t,e,n,i=null){t=t&&"\n"===t.charAt(0)&&"\u0275"==t.charAt(1)?t.substr(2):t;let a=d(e);if(Array.isArray(e))a=e.map(d).join(" -> ");else if("object"==typeof e){let t=[];for(let n in e)if(e.hasOwnProperty(n)){let i=e[n];t.push(n+":"+("string"==typeof i?JSON.stringify(i):d(i)))}a=`{${t.join(", ")}}`}return`${n}${i?"("+i+")":""}[${a}]: ${t.replace(fn,"\n ")}`}("\n"+t.message,a,n,i),t.ngTokenPath=a,t.ngTempTokenPath=null,t}(r,t,"R3InjectorError",this.source)}throw r}finally{_n(i)}var a}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(t=>this.get(t))}toString(){const t=[];return this.records.forEach((e,n)=>t.push(d(n))),`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}processInjectorType(t,e,n){if(!(t=p(t)))return!1;let i=v(t);const a=null==i&&t.ngModule||void 0,r=void 0===a?t:a,o=-1!==n.indexOf(r);if(void 0!==a&&(i=v(a)),null==i)return!1;if(null!=i.imports&&!o){let t;n.push(r);try{sn(i.imports,i=>{this.processInjectorType(i,e,n)&&(void 0===t&&(t=[]),t.push(i))})}finally{}if(void 0!==t)for(let e=0;e<t.length;e++){const{ngModule:n,providers:i}=t[e];sn(i,t=>this.processProvider(t,n,i||pr))}}this.injectorDefTypes.add(r),this.records.set(r,Cr(i.factory,hr));const s=i.providers;if(null!=s&&!o){const e=t;sn(s,t=>this.processProvider(t,e,s))}return void 0!==a&&void 0!==t.providers}processProvider(t,e,n){let i=xr(t=p(t))?t:p(t&&t.provide);const a=function(t,e,n){return wr(t)?Cr(void 0,t.useValue):Cr(vr(t),hr)}(t);if(xr(t)||!0!==t.multi)this.records.get(i);else{let e=this.records.get(i);e||(e=Cr(void 0,hr,!0),e.factory=()=>wn(e.multi),this.records.set(i,e)),i=t,e.multi.push(t)}this.records.set(i,a)}hydrate(t,e){var n;return e.value===hr&&(e.value=mr,e.value=e.factory()),"object"==typeof e.value&&e.value&&null!==(n=e.value)&&"object"==typeof n&&"function"==typeof n.ngOnDestroy&&this.onDestroy.add(e.value),e.value}injectableDefInScope(t){return!!t.providedIn&&("string"==typeof t.providedIn?"any"===t.providedIn||t.providedIn===this.scope:this.injectorDefTypes.has(t.providedIn))}}function yr(t){const e=_(t),n=null!==e?e.factory:dt(t);if(null!==n)return n;const i=v(t);if(null!==i)return i.factory;if(t instanceof nn)throw new Error(`Token ${d(t)} is missing a \u0275prov definition.`);if(t instanceof Function)return function(t){const e=t.length;if(e>0){const n=dn(e,"?");throw new Error(`Can't resolve all parameters for ${d(t)}: (${n.join(", ")}).`)}const n=function(t){const e=t&&(t[C]||t[x]);if(e){const n=function(t){if(t.hasOwnProperty("name"))return t.name;const e=(""+t).match(/^function\s*([^\s(]+)/);return null===e?"":e[1]}(t);return console.warn(`DEPRECATED: DI is instantiating a token "${n}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${n}" class.`),e}return null}(t);return null!==n?()=>n.factory(t):()=>new t}(t);throw new Error("unreachable")}function vr(t,e,n){let i;if(xr(t)){const e=p(t);return dt(e)||yr(e)}if(wr(t))i=()=>p(t.useValue);else if((a=t)&&a.useFactory)i=()=>t.useFactory(...wn(t.deps||[]));else if(function(t){return!(!t||!t.useExisting)}(t))i=()=>vn(p(t.useExisting));else{const e=p(t&&(t.useClass||t.provide));if(!function(t){return!!t.deps}(t))return dt(e)||yr(e);i=()=>new e(...wn(t.deps))}var a;return i}function Cr(t,e,n=!1){return{factory:t,value:e,multi:n?[]:void 0}}function wr(t){return null!==t&&"object"==typeof t&&gn in t}function xr(t){return"function"==typeof t}const Mr=function(t,e,n){return function(t,e=null,n=null,i){const a=br(t,e,n,i);return a._resolveInjectorDefTypes(),a}({name:n},e,t,n)};let Or=(()=>{class t{static create(t,e){return Array.isArray(t)?Mr(t,e,""):Mr(t.providers,t.parent,t.name||"")}}return t.THROW_IF_NOT_FOUND=pn,t.NULL=new dr,t.\u0275prov=g({token:t,providedIn:"any",factory:()=>vn(cr)}),t.__NG_ELEMENT_ID__=-1,t})();function kr(t,e){_e(Et(t)[1],Bt())}function Sr(t){let e=Object.getPrototypeOf(t.type.prototype).constructor,n=!0;const i=[t];for(;e;){let a;if(ct(t))a=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new Error("Directives cannot inherit Components");a=e.\u0275dir}if(a){if(n){i.push(a);const e=t;e.inputs=Tr(t.inputs),e.declaredInputs=Tr(t.declaredInputs),e.outputs=Tr(t.outputs);const n=a.hostBindings;n&&Dr(t,n);const r=a.viewQuery,o=a.contentQueries;if(r&&Pr(t,r),o&&Lr(t,o),c(t.inputs,a.inputs),c(t.declaredInputs,a.declaredInputs),c(t.outputs,a.outputs),ct(a)&&a.data.animation){const e=t.data;e.animation=(e.animation||[]).concat(a.data.animation)}}const e=a.features;if(e)for(let i=0;i<e.length;i++){const a=e[i];a&&a.ngInherit&&a(t),a===Sr&&(n=!1)}}e=Object.getPrototypeOf(e)}!function(t){let e=0,n=null;for(let i=t.length-1;i>=0;i--){const a=t[i];a.hostVars=e+=a.hostVars,a.hostAttrs=Te(a.hostAttrs,n=Te(n,a.hostAttrs))}}(i)}function Tr(t){return t===Y?{}:t===H?[]:t}function Pr(t,e){const n=t.viewQuery;t.viewQuery=n?(t,i)=>{e(t,i),n(t,i)}:e}function Lr(t,e){const n=t.contentQueries;t.contentQueries=n?(t,i,a)=>{e(t,i,a),n(t,i,a)}:e}function Dr(t,e){const n=t.hostBindings;t.hostBindings=n?(t,i)=>{e(t,i),n(t,i)}:e}let Er=null;function Ar(){if(!Er){const t=N.Symbol;if(t&&t.iterator)Er=t.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let e=0;e<t.length;++e){const n=t[e];"entries"!==n&&"size"!==n&&Map.prototype[n]===Map.prototype.entries&&(Er=n)}}}return Er}class Ir{constructor(t){this.wrapped=t}static wrap(t){return new Ir(t)}static unwrap(t){return Ir.isWrapped(t)?t.wrapped:t}static isWrapped(t){return t instanceof Ir}}function Rr(t){return!!Nr(t)&&(Array.isArray(t)||!(t instanceof Map)&&Ar()in t)}function Nr(t){return null!==t&&("function"==typeof t||"object"==typeof t)}function Yr(t,e,n){return t[e]=n}function Hr(t,e,n){return!Object.is(t[e],n)&&(t[e]=n,!0)}function jr(t,e,n,i){const a=Hr(t,e,n);return Hr(t,e+1,i)||a}function Fr(t,e,n,i){const a=Ft();return Hr(a,Kt(),e)&&(zt(),function(t,e,n,i,a,r){const o=Tt(t,e);!function(t,e,n,i,a,r,o){if(null==r)Mt(t)?t.removeAttribute(e,a,n):e.removeAttribute(a);else{const s=null==o?ht(r):o(r,i||"",a);Mt(t)?t.setAttribute(e,a,s,n):n?e.setAttributeNS(n,a,s):e.setAttribute(a,s)}}(e[11],o,r,t.value,n,i,a)}(fe(),a,t,e,n,i)),Fr}function zr(t,e,n,i){return Hr(t,Kt(),n)?e+ht(n)+i:ua}function Vr(t,e,n,i,a,r){const o=jr(t,Xt(),n,a);return Qt(2),o?e+ht(n)+i+ht(a)+r:ua}function Br(t,e,n,i,a,r,o,s){const l=Ft(),c=zt(),d=t+20,u=c.firstCreatePass?function(t,e,n,i,a,r,o,s,l){const c=e.consts,d=wa(e,t,4,o||null,Rt(c,s));Na(e,n,d,Rt(c,l)),_e(e,d);const u=d.tViews=Ea(2,d,i,a,r,e.directiveRegistry,e.pipeRegistry,null,e.schemas,c);return null!==e.queries&&(e.queries.template(e,d),u.queries=e.queries.embeddedTView(d)),d}(d,c,l,e,n,i,a,r,o):c.data[d];Ut(u,!1);const h=l[11].createComment("");qi(c,l,h,u),wi(h,l),$a(l,l[d]=qa(h,l,h,u)),lt(u)&&Pa(c,l,u),null!=o&&La(l,u,s)}function Wr(t){return Lt(Ht.lFrame.contextLView,20+t)}function Ur(t,e=O.Default){const n=Ft();return null===n?vn(t,e):Be(Bt(),n,p(t),e)}function qr(){throw new Error("invalid")}function Gr(t,e,n){const i=Ft();return Hr(i,Kt(),e)&&Ra(zt(),fe(),i,t,e,i[11],n,!1),Gr}function Jr(t,e,n,i,a){const r=a?"class":"style";or(t,n,e.inputs[r],r,i)}function Zr(t,e,n,i){const a=Ft(),r=zt(),o=20+t,s=a[11],l=a[o]=Ii(s,e,Ht.lFrame.currentNamespace),c=r.firstCreatePass?function(t,e,n,i,a,r,o){const s=e.consts,l=wa(e,t,2,a,Rt(s,r));return Na(e,n,l,Rt(s,o)),null!==l.attrs&&lr(l,l.attrs,!1),null!==l.mergedAttrs&&lr(l,l.mergedAttrs,!0),null!==e.queries&&e.queries.elementStart(e,l),l}(o,r,a,0,e,n,i):r.data[o];Ut(c,!0);const d=c.mergedAttrs;null!==d&&Oe(s,l,d);const u=c.classes;null!==u&&Qi(s,l,u);const h=c.styles;null!==h&&Ki(s,l,h),64!=(64&c.flags)&&qi(r,a,l,c),0===Ht.lFrame.elementDepthCount&&wi(l,a),Ht.lFrame.elementDepthCount++,lt(c)&&(Pa(r,a,c),Ta(r,c,a)),null!==i&&La(a,c)}function $r(){let t=Bt();qt()?Gt():(t=t.parent,Ut(t,!1));const e=t;Ht.lFrame.elementDepthCount--;const n=zt();n.firstCreatePass&&(_e(n,t),ot(t)&&n.queries.elementEnd(t)),null!=e.classesWithoutHost&&function(t){return 0!=(16&t.flags)}(e)&&Jr(n,e,Ft(),e.classesWithoutHost,!0),null!=e.stylesWithoutHost&&function(t){return 0!=(32&t.flags)}(e)&&Jr(n,e,Ft(),e.stylesWithoutHost,!1)}function Xr(t,e,n,i){Zr(t,e,n,i),$r()}function Kr(t,e,n){const i=Ft(),a=zt(),r=t+20,o=a.firstCreatePass?function(t,e,n,i,a){const r=e.consts,o=Rt(r,i),s=wa(e,t,8,"ng-container",o);return null!==o&&lr(s,o,!0),Na(e,n,s,Rt(r,a)),null!==e.queries&&e.queries.elementStart(e,s),s}(r,a,i,e,n):a.data[r];Ut(o,!0);const s=i[r]=i[11].createComment("");qi(a,i,s,o),wi(s,i),lt(o)&&(Pa(a,i,o),Ta(a,o,i)),null!=n&&La(i,o)}function Qr(){let t=Bt();const e=zt();qt()?Gt():(t=t.parent,Ut(t,!1)),e.firstCreatePass&&(_e(e,t),ot(t)&&e.queries.elementEnd(t))}function to(t,e,n){Kr(t,e,n),Qr()}function eo(){return Ft()}function no(t){return!!t&&"function"==typeof t.then}function io(t){return!!t&&"function"==typeof t.subscribe}const ao=io;function ro(t,e,n=!1,i){const a=Ft(),r=zt(),o=Bt();return so(r,a,a[11],o,t,e,n,i),ro}function oo(t,e,n=!1,i){const a=Bt(),r=Ft(),o=zt();return so(o,r,ar(ne(o.data),a,r),a,t,e,n,i),oo}function so(t,e,n,i,a,r,o=!1,s){const l=lt(i),c=t.firstCreatePass&&ir(t),d=nr(e);let u=!0;if(3&i.type){const h=Tt(i,e),m=s?s(h):Y,p=m.target||h,f=d.length,g=s?t=>s(kt(t[i.index])).target:i.index;if(Mt(n)){let o=null;if(!s&&l&&(o=function(t,e,n,i){const a=t.cleanup;if(null!=a)for(let r=0;r<a.length-1;r+=2){const t=a[r];if(t===n&&a[r+1]===i){const t=e[7],n=a[r+2];return t.length>n?t[n]:null}"string"==typeof t&&(r+=2)}return null}(t,e,a,i.index)),null!==o)(o.__ngLastListenerFn__||o).__ngNextListenerFn__=r,o.__ngLastListenerFn__=r,u=!1;else{r=co(i,e,r,!1);const t=n.listen(m.name||p,a,r);d.push(r,t),c&&c.push(a,g,f,f+1)}}else r=co(i,e,r,!0),p.addEventListener(a,r,o),d.push(r),c&&c.push(a,g,f,o)}else r=co(i,e,r,!1);const h=i.outputs;let m;if(u&&null!==h&&(m=h[a])){const t=m.length;if(t)for(let n=0;n<t;n+=2){const t=e[m[n]][m[n+1]].subscribe(r),o=d.length;d.push(r,t),c&&c.push(a,i.index,o,-(o+1))}}}function lo(t,e,n){try{return!1!==e(n)}catch(i){return rr(t,i),!1}}function co(t,e,n,i){return function a(r){if(r===Function)return n;const o=2&t.flags?Dt(t.index,e):e;0==(32&e[2])&&Xa(o);let s=lo(e,n,r),l=a.__ngNextListenerFn__;for(;l;)s=lo(e,l,r)&&s,l=l.__ngNextListenerFn__;return i&&!1===s&&(r.preventDefault(),r.returnValue=!1),s}}function uo(t=1){return function(t){return(Ht.lFrame.contextLView=function(t,e){for(;t>0;)e=e[15],t--;return e}(t,Ht.lFrame.contextLView))[8]}(t)}function ho(t,e){let n=null;const i=function(t){const e=t.attrs;if(null!=e){const t=e.indexOf(5);if(0==(1&t))return e[t+1]}return null}(t);for(let a=0;a<e.length;a++){const r=e[a];if("*"!==r){if(null===i?sa(t,r,!0):la(i,r))return a}else n=a}return n}function mo(t){const e=Ft()[16][6];if(!e.projection){const n=e.projection=dn(t?t.length:1,null),i=n.slice();let a=e.child;for(;null!==a;){const e=t?ho(a,t):0;null!==e&&(i[e]?i[e].projectionNext=a:n[e]=a,i[e]=a),a=a.next}}}function po(t,e=0,n){const i=Ft(),a=zt(),r=wa(a,20+t,16,null,n||null);null===r.projection&&(r.projection=e),Gt(),64!=(64&r.flags)&&function(t,e,n){Xi(e[11],0,e,n,ji(t,n,e),Wi(n.parent||e[6],n,e))}(a,i,r)}function fo(t,e,n){return go(t,"",e,"",n),fo}function go(t,e,n,i,a){const r=Ft(),o=zr(r,e,n,i);return o!==ua&&Ra(zt(),fe(),r,t,o,r[11],a,!1),go}function bo(t,e,n,i,a,r,o){const s=Ft(),l=Vr(s,e,n,i,a,r);return l!==ua&&Ra(zt(),fe(),s,t,l,s[11],o,!1),bo}const _o=[];function yo(t,e,n,i,a){const r=t[n+1],o=null===e;let s=i?fa(r):ba(r),l=!1;for(;0!==s&&(!1===l||o);){const n=t[s+1];vo(t[s],e)&&(l=!0,t[s+1]=i?ya(n):ga(n)),s=i?fa(n):ba(n)}l&&(t[n+1]=i?ga(r):ya(r))}function vo(t,e){return null===t||null==e||(Array.isArray(t)?t[1]:t)===e||!(!Array.isArray(t)||"string"!=typeof e)&&mn(t,e)>=0}const Co={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function wo(t){return t.substring(Co.key,Co.keyEnd)}function xo(t,e){const n=Co.textEnd;return n===e?-1:(e=Co.keyEnd=function(t,e,n){for(;e<n&&t.charCodeAt(e)>32;)e++;return e}(t,Co.key=e,n),Mo(t,e,n))}function Mo(t,e,n){for(;e<n&&t.charCodeAt(e)<=32;)e++;return e}function Oo(t,e,n){return To(t,e,n,!1),Oo}function ko(t,e){return To(t,e,null,!0),ko}function So(t,e){for(let n=function(t){return function(t){Co.key=0,Co.keyEnd=0,Co.value=0,Co.valueEnd=0,Co.textEnd=t.length}(t),xo(t,Mo(t,0,Co.textEnd))}(e);n>=0;n=xo(e,n))un(t,wo(e),!0)}function To(t,e,n,i){const a=Ft(),r=zt(),o=Qt(2);r.firstUpdatePass&&Lo(r,t,o,i),e!==ua&&Hr(a,o,e)&&Ao(r,r.data[me()],a,a[11],t,a[o+1]=function(t,e){return null==t||("string"==typeof e?t+=e:"object"==typeof t&&(t=d(Yn(t)))),t}(e,n),i,o)}function Po(t,e){return e>=t.expandoStartIndex}function Lo(t,e,n,i){const a=t.data;if(null===a[n+1]){const r=a[me()],o=Po(t,n);No(r,i)&&null===e&&!o&&(e=!1),e=function(t,e,n,i){const a=ne(t);let r=i?e.residualClasses:e.residualStyles;if(null===a)0===(i?e.classBindings:e.styleBindings)&&(n=Eo(n=Do(null,t,e,n,i),e.attrs,i),r=null);else{const o=e.directiveStylingLast;if(-1===o||t[o]!==a)if(n=Do(a,t,e,n,i),null===r){let n=function(t,e,n){const i=n?e.classBindings:e.styleBindings;if(0!==ba(i))return t[fa(i)]}(t,e,i);void 0!==n&&Array.isArray(n)&&(n=Do(null,t,e,n[1],i),n=Eo(n,e.attrs,i),function(t,e,n,i){t[fa(n?e.classBindings:e.styleBindings)]=i}(t,e,i,n))}else r=function(t,e,n){let i;const a=e.directiveEnd;for(let r=1+e.directiveStylingLast;r<a;r++)i=Eo(i,t[r].hostAttrs,n);return Eo(i,e.attrs,n)}(t,e,i)}return void 0!==r&&(i?e.residualClasses=r:e.residualStyles=r),n}(a,r,e,i),function(t,e,n,i,a,r){let o=r?e.classBindings:e.styleBindings,s=fa(o),l=ba(o);t[i]=n;let c,d=!1;if(Array.isArray(n)){const t=n;c=t[1],(null===c||mn(t,c)>0)&&(d=!0)}else c=n;if(a)if(0!==l){const e=fa(t[s+1]);t[i+1]=pa(e,s),0!==e&&(t[e+1]=_a(t[e+1],i)),t[s+1]=131071&t[s+1]|i<<17}else t[i+1]=pa(s,0),0!==s&&(t[s+1]=_a(t[s+1],i)),s=i;else t[i+1]=pa(l,0),0===s?s=i:t[l+1]=_a(t[l+1],i),l=i;d&&(t[i+1]=ga(t[i+1])),yo(t,c,i,!0),yo(t,c,i,!1),function(t,e,n,i,a){const r=a?t.residualClasses:t.residualStyles;null!=r&&"string"==typeof e&&mn(r,e)>=0&&(n[i+1]=ya(n[i+1]))}(e,c,t,i,r),o=pa(s,l),r?e.classBindings=o:e.styleBindings=o}(a,r,e,n,o,i)}}function Do(t,e,n,i,a){let r=null;const o=n.directiveEnd;let s=n.directiveStylingLast;for(-1===s?s=n.directiveStart:s++;s<o&&(r=e[s],i=Eo(i,r.hostAttrs,a),r!==t);)s++;return null!==t&&(n.directiveStylingLast=s),i}function Eo(t,e,n){const i=n?1:2;let a=-1;if(null!==e)for(let r=0;r<e.length;r++){const o=e[r];"number"==typeof o?a=o:a===i&&(Array.isArray(t)||(t=void 0===t?[]:["",t]),un(t,o,!!n||e[++r]))}return void 0===t?null:t}function Ao(t,e,n,i,a,r,o,s){if(!(3&e.type))return;const l=t.data,c=l[s+1];Ro(1==(1&c)?Io(l,e,n,a,ba(c),o):void 0)||(Ro(r)||2==(2&c)&&(r=Io(l,null,n,a,s,o)),function(t,e,n,i,a){const r=Mt(t);if(e)a?r?t.addClass(n,i):n.classList.add(i):r?t.removeClass(n,i):n.classList.remove(i);else{let e=-1===i.indexOf("-")?void 0:Si.DashCase;if(null==a)r?t.removeStyle(n,i,e):n.style.removeProperty(i);else{const o="string"==typeof a&&a.endsWith("!important");o&&(a=a.slice(0,-10),e|=Si.Important),r?t.setStyle(n,i,a,e):n.style.setProperty(i,a,o?"important":"")}}}(i,o,St(me(),n),a,r))}function Io(t,e,n,i,a,r){const o=null===e;let s;for(;a>0;){const e=t[a],r=Array.isArray(e),l=r?e[1]:e,c=null===l;let d=n[a+1];d===ua&&(d=c?_o:void 0);let u=c?hn(d,i):l===i?d:void 0;if(r&&!Ro(u)&&(u=hn(e,i)),Ro(u)&&(s=u,o))return s;const h=t[a+1];a=o?fa(h):ba(h)}if(null!==e){let t=r?e.residualClasses:e.residualStyles;null!=t&&(s=hn(t,i))}return s}function Ro(t){return void 0!==t}function No(t,e){return 0!=(t.flags&(e?16:32))}function Yo(t,e=""){const n=Ft(),i=zt(),a=t+20,r=i.firstCreatePass?wa(i,a,1,e,null):i.data[a],o=n[a]=function(t,e){return Mt(t)?t.createText(e):t.createTextNode(e)}(n[11],e);qi(i,n,o,r),Ut(r,!1)}function Ho(t){return jo("",t,""),Ho}function jo(t,e,n){const i=Ft(),a=zr(i,t,e,n);return a!==ua&&sr(i,me(),a),jo}function Fo(t,e,n,i,a){const r=Ft(),o=Vr(r,t,e,n,i,a);return o!==ua&&sr(r,me(),o),Fo}function zo(t,e,n){!function(t,e,n,i){const a=zt(),r=Qt(2);a.firstUpdatePass&&Lo(a,null,r,true);const o=Ft();if(n!==ua&&Hr(o,r,n)){const i=a.data[me()];if(No(i,true)&&!Po(a,r)){let t=i.classesWithoutHost;null!==t&&(n=u(t,n||"")),Jr(a,i,o,n,true)}else!function(t,e,n,i,a,r,o,s){a===ua&&(a=_o);let l=0,c=0,d=0<a.length?a[0]:null,u=0<r.length?r[0]:null;for(;null!==d||null!==u;){const o=l<a.length?a[l+1]:void 0,h=c<r.length?r[c+1]:void 0;let m,p=null;d===u?(l+=2,c+=2,o!==h&&(p=u,m=h)):null===u||null!==d&&d<u?(l+=2,p=d):(c+=2,p=u,m=h),null!==p&&Ao(t,e,n,i,p,m,true,s),d=l<a.length?a[l]:null,u=c<r.length?r[c]:null}}(a,i,o,o[11],o[r+1],o[r+1]=function(t,e,n){if(null==n||""===n)return _o;const i=[],a=Yn(n);if(Array.isArray(a))for(let r=0;r<a.length;r++)t(i,a[r],!0);else if("object"==typeof a)for(const r in a)a.hasOwnProperty(r)&&t(i,r,a[r]);else"string"==typeof a&&e(i,a);return i}(t,e,n),0,r)}}(un,So,zr(Ft(),t,e,n))}function Vo(t,e,n){const i=Ft();return Hr(i,Kt(),e)&&Ra(zt(),fe(),i,t,e,i[11],n,!0),Vo}function Bo(t,e,n){const i=Ft();if(Hr(i,Kt(),e)){const a=zt(),r=fe();Ra(a,r,i,t,e,ar(ne(a.data),r,i),n,!0)}return Bo}const Wo=void 0;var Uo=["en",[["a","p"],["AM","PM"],Wo],[["AM","PM"],Wo,Wo],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Wo,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],Wo,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",Wo,"{1} 'at' {0}",Wo],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(t){let e=Math.floor(Math.abs(t)),n=t.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===n?1:5}];let qo={};function Go(t,e,n){"string"!=typeof e&&(n=e,e=t[Ko.LocaleId]),e=e.toLowerCase().replace(/_/g,"-"),qo[e]=t,n&&(qo[e][Ko.ExtraData]=n)}function Jo(t){const e=function(t){return t.toLowerCase().replace(/_/g,"-")}(t);let n=Xo(e);if(n)return n;const i=e.split("-")[0];if(n=Xo(i),n)return n;if("en"===i)return Uo;throw new Error(`Missing locale data for the locale "${t}".`)}function Zo(t){return Jo(t)[Ko.CurrencyCode]||null}function $o(t){return Jo(t)[Ko.PluralCase]}function Xo(t){return t in qo||(qo[t]=N.ng&&N.ng.common&&N.ng.common.locales&&N.ng.common.locales[t]),qo[t]}var Ko=function(t){return t[t.LocaleId=0]="LocaleId",t[t.DayPeriodsFormat=1]="DayPeriodsFormat",t[t.DayPeriodsStandalone=2]="DayPeriodsStandalone",t[t.DaysFormat=3]="DaysFormat",t[t.DaysStandalone=4]="DaysStandalone",t[t.MonthsFormat=5]="MonthsFormat",t[t.MonthsStandalone=6]="MonthsStandalone",t[t.Eras=7]="Eras",t[t.FirstDayOfWeek=8]="FirstDayOfWeek",t[t.WeekendRange=9]="WeekendRange",t[t.DateFormat=10]="DateFormat",t[t.TimeFormat=11]="TimeFormat",t[t.DateTimeFormat=12]="DateTimeFormat",t[t.NumberSymbols=13]="NumberSymbols",t[t.NumberFormats=14]="NumberFormats",t[t.CurrencyCode=15]="CurrencyCode",t[t.CurrencySymbol=16]="CurrencySymbol",t[t.CurrencyName=17]="CurrencyName",t[t.Currencies=18]="Currencies",t[t.Directionality=19]="Directionality",t[t.PluralCase=20]="PluralCase",t[t.ExtraData=21]="ExtraData",t}({});let Qo="en-US";function ts(t){var e,n;n="Expected localeId to be defined",null==(e=t)&&function(t,e,n,i){throw new Error(`ASSERTION ERROR: ${t} [Expected=> null != ${e} <=Actual]`)}(n,e),"string"==typeof t&&(Qo=t.toLowerCase().replace(/_/g,"-"))}function es(t,e,n,i,a){if(t=p(t),Array.isArray(t))for(let r=0;r<t.length;r++)es(t[r],e,n,i,a);else{const r=zt(),o=Ft();let s=xr(t)?t:p(t.provide),l=vr(t);const c=Bt(),d=1048575&c.providerIndexes,u=c.directiveStart,h=c.providerIndexes>>20;if(xr(t)||!t.multi){const i=new Me(l,a,Ur),m=as(s,e,a?d:d+h,u);-1===m?(Fe(Ne(c,o),r,s),ns(r,t,e.length),e.push(s),c.directiveStart++,c.directiveEnd++,a&&(c.providerIndexes+=1048576),n.push(i),o.push(i)):(n[m]=i,o[m]=i)}else{const m=as(s,e,d+h,u),p=as(s,e,d,d+h),f=m>=0&&n[m],g=p>=0&&n[p];if(a&&!g||!a&&!f){Fe(Ne(c,o),r,s);const d=function(t,e,n,i,a){const r=new Me(t,n,Ur);return r.multi=[],r.index=e,r.componentProviders=0,is(r,a,i&&!n),r}(a?os:rs,n.length,a,i,l);!a&&g&&(n[p].providerFactory=d),ns(r,t,e.length,0),e.push(s),c.directiveStart++,c.directiveEnd++,a&&(c.providerIndexes+=1048576),n.push(d),o.push(d)}else ns(r,t,m>-1?m:p,is(n[a?p:m],l,!a&&i));!a&&i&&g&&n[p].componentProviders++}}}function ns(t,e,n,i){const a=xr(e);if(a||e.useClass){const r=(e.useClass||e).prototype.ngOnDestroy;if(r){const o=t.destroyHooks||(t.destroyHooks=[]);if(!a&&e.multi){const t=o.indexOf(n);-1===t?o.push(n,[i,r]):o[t+1].push(i,r)}else o.push(n,r)}}}function is(t,e,n){return n&&t.componentProviders++,t.multi.push(e)-1}function as(t,e,n,i){for(let a=n;a<i;a++)if(e[a]===t)return a;return-1}function rs(t,e,n,i){return ss(this.multi,[])}function os(t,e,n,i){const a=this.multi;let r;if(this.providerFactory){const t=this.providerFactory.componentProviders,e=Je(n,n[1],this.providerFactory.index,i);r=e.slice(0,t),ss(a,r);for(let n=t;n<e.length;n++)r.push(e[n])}else r=[],ss(a,r);return r}function ss(t,e){for(let n=0;n<t.length;n++)e.push((0,t[n])());return e}function ls(t,e=[]){return n=>{n.providersResolver=(n,i)=>function(t,e,n){const i=zt();if(i.firstCreatePass){const a=ct(t);es(n,i.data,i.blueprint,a,!0),es(e,i.data,i.blueprint,a,!1)}}(n,i?i(t):t,e)}}class cs{}class ds{resolveComponentFactory(t){throw function(t){const e=Error(`No component factory found for ${d(t)}. Did you add it to @NgModule.entryComponents?`);return e.ngComponent=t,e}(t)}}let us=(()=>{class t{}return t.NULL=new ds,t})();function hs(...t){}function ms(t,e){return new fs(Tt(t,e))}const ps=function(){return ms(Bt(),Ft())};let fs=(()=>{class t{constructor(t){this.nativeElement=t}}return t.__NG_ELEMENT_ID__=ps,t})();function gs(t){return t instanceof fs?t.nativeElement:t}class bs{}let _s=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>ys(),t})();const ys=function(){const t=Ft(),e=Dt(Bt().index,t);return function(t){return t[11]}(at(e)?e:t)};let vs=(()=>{class t{}return t.\u0275prov=g({token:t,providedIn:"root",factory:()=>null}),t})();class Cs{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const ws=new Cs("11.1.1");class xs{constructor(){}supports(t){return Rr(t)}create(t){return new Os(t)}}const Ms=(t,e)=>e;class Os{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||Ms}forEachItem(t){let e;for(e=this._itHead;null!==e;e=e._next)t(e)}forEachOperation(t){let e=this._itHead,n=this._removalsHead,i=0,a=null;for(;e||n;){const r=!n||e&&e.currentIndex<Ps(n,i,a)?e:n,o=Ps(r,i,a),s=r.currentIndex;if(r===n)i--,n=n._nextRemoved;else if(e=e._next,null==r.previousIndex)i++;else{a||(a=[]);const t=o-i,e=s-i;if(t!=e){for(let n=0;n<t;n++){const i=n<a.length?a[n]:a[n]=0,r=i+n;e<=r&&r<t&&(a[n]=i+1)}a[r.previousIndex]=e-t}}o!==s&&t(r,o,s)}}forEachPreviousItem(t){let e;for(e=this._previousItHead;null!==e;e=e._nextPrevious)t(e)}forEachAddedItem(t){let e;for(e=this._additionsHead;null!==e;e=e._nextAdded)t(e)}forEachMovedItem(t){let e;for(e=this._movesHead;null!==e;e=e._nextMoved)t(e)}forEachRemovedItem(t){let e;for(e=this._removalsHead;null!==e;e=e._nextRemoved)t(e)}forEachIdentityChange(t){let e;for(e=this._identityChangesHead;null!==e;e=e._nextIdentityChange)t(e)}diff(t){if(null==t&&(t=[]),!Rr(t))throw new Error(`Error trying to diff '${d(t)}'. Only arrays and iterables are allowed`);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let e,n,i,a=this._itHead,r=!1;if(Array.isArray(t)){this.length=t.length;for(let e=0;e<this.length;e++)n=t[e],i=this._trackByFn(e,n),null!==a&&Object.is(a.trackById,i)?(r&&(a=this._verifyReinsertion(a,n,i,e)),Object.is(a.item,n)||this._addIdentityChange(a,n)):(a=this._mismatch(a,n,i,e),r=!0),a=a._next}else e=0,function(t,e){if(Array.isArray(t))for(let n=0;n<t.length;n++)e(t[n]);else{const n=t[Ar()]();let i;for(;!(i=n.next()).done;)e(i.value)}}(t,t=>{i=this._trackByFn(e,t),null!==a&&Object.is(a.trackById,i)?(r&&(a=this._verifyReinsertion(a,t,i,e)),Object.is(a.item,t)||this._addIdentityChange(a,t)):(a=this._mismatch(a,t,i,e),r=!0),a=a._next,e++}),this.length=e;return this._truncate(a),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,e,n,i){let a;return null===t?a=this._itTail:(a=t._prev,this._remove(t)),null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(n,i))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._moveAfter(t,a,i)):null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._reinsertAfter(t,a,i)):t=this._addAfter(new ks(e,n),a,i),t}_verifyReinsertion(t,e,n,i){let a=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==a?t=this._reinsertAfter(a,t._prev,i):t.currentIndex!=i&&(t.currentIndex=i,this._addToMoves(t,i)),t}_truncate(t){for(;null!==t;){const e=t._next;this._addToRemovals(this._unlink(t)),t=e}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,e,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const i=t._prevRemoved,a=t._nextRemoved;return null===i?this._removalsHead=a:i._nextRemoved=a,null===a?this._removalsTail=i:a._prevRemoved=i,this._insertAfter(t,e,n),this._addToMoves(t,n),t}_moveAfter(t,e,n){return this._unlink(t),this._insertAfter(t,e,n),this._addToMoves(t,n),t}_addAfter(t,e,n){return this._insertAfter(t,e,n),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,e,n){const i=null===e?this._itHead:e._next;return t._next=i,t._prev=e,null===i?this._itTail=t:i._prev=t,null===e?this._itHead=t:e._next=t,null===this._linkedRecords&&(this._linkedRecords=new Ts),this._linkedRecords.put(t),t.currentIndex=n,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const e=t._prev,n=t._next;return null===e?this._itHead=n:e._next=n,null===n?this._itTail=e:n._prev=e,t}_addToMoves(t,e){return t.previousIndex===e||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Ts),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,e){return t.item=e,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class ks{constructor(t,e){this.item=t,this.trackById=e,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class Ss{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,e){let n;for(n=this._head;null!==n;n=n._nextDup)if((null===e||e<=n.currentIndex)&&Object.is(n.trackById,t))return n;return null}remove(t){const e=t._prevDup,n=t._nextDup;return null===e?this._head=n:e._nextDup=n,null===n?this._tail=e:n._prevDup=e,null===this._head}}class Ts{constructor(){this.map=new Map}put(t){const e=t.trackById;let n=this.map.get(e);n||(n=new Ss,this.map.set(e,n)),n.add(t)}get(t,e){const n=this.map.get(t);return n?n.get(t,e):null}remove(t){const e=t.trackById;return this.map.get(e).remove(t)&&this.map.delete(e),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function Ps(t,e,n){const i=t.previousIndex;if(null===i)return i;let a=0;return n&&i<n.length&&(a=n[i]),i+e+a}class Ls{constructor(){}supports(t){return t instanceof Map||Nr(t)}create(){return new Ds}}class Ds{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(t){let e;for(e=this._mapHead;null!==e;e=e._next)t(e)}forEachPreviousItem(t){let e;for(e=this._previousMapHead;null!==e;e=e._nextPrevious)t(e)}forEachChangedItem(t){let e;for(e=this._changesHead;null!==e;e=e._nextChanged)t(e)}forEachAddedItem(t){let e;for(e=this._additionsHead;null!==e;e=e._nextAdded)t(e)}forEachRemovedItem(t){let e;for(e=this._removalsHead;null!==e;e=e._nextRemoved)t(e)}diff(t){if(t){if(!(t instanceof Map||Nr(t)))throw new Error(`Error trying to diff '${d(t)}'. Only maps and objects are allowed`)}else t=new Map;return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let e=this._mapHead;if(this._appendAfter=null,this._forEach(t,(t,n)=>{if(e&&e.key===n)this._maybeAddToChanges(e,t),this._appendAfter=e,e=e._next;else{const i=this._getOrCreateRecordForKey(n,t);e=this._insertBeforeOrAppend(e,i)}}),e){e._prev&&(e._prev._next=null),this._removalsHead=e;for(let t=e;null!==t;t=t._nextRemoved)t===this._mapHead&&(this._mapHead=null),this._records.delete(t.key),t._nextRemoved=t._next,t.previousValue=t.currentValue,t.currentValue=null,t._prev=null,t._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,e){if(t){const n=t._prev;return e._next=t,e._prev=n,t._prev=e,n&&(n._next=e),t===this._mapHead&&(this._mapHead=e),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null}_getOrCreateRecordForKey(t,e){if(this._records.has(t)){const n=this._records.get(t);this._maybeAddToChanges(n,e);const i=n._prev,a=n._next;return i&&(i._next=a),a&&(a._prev=i),n._next=null,n._prev=null,n}const n=new Es(t);return this._records.set(t,n),n.currentValue=e,this._addToAdditions(n),n}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,e){Object.is(e,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=e,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,e){t instanceof Map?t.forEach(e):Object.keys(t).forEach(n=>e(t[n],n))}}class Es{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function As(){return new Is([new xs])}let Is=(()=>{class t{constructor(t){this.factories=t}static create(e,n){if(null!=n){const t=n.factories.slice();e=e.concat(t)}return new t(e)}static extend(e){return{provide:t,useFactory:n=>t.create(e,n||As()),deps:[[t,new kn,new On]]}}find(t){const e=this.factories.find(e=>e.supports(t));if(null!=e)return e;throw new Error(`Cannot find a differ supporting object '${t}' of type '${n=t,n.name||typeof n}'`);var n}}return t.\u0275prov=g({token:t,providedIn:"root",factory:As}),t})();function Rs(){return new Ns([new Ls])}let Ns=(()=>{class t{constructor(t){this.factories=t}static create(e,n){if(n){const t=n.factories.slice();e=e.concat(t)}return new t(e)}static extend(e){return{provide:t,useFactory:n=>t.create(e,n||Rs()),deps:[[t,new kn,new On]]}}find(t){const e=this.factories.find(e=>e.supports(t));if(e)return e;throw new Error(`Cannot find a differ supporting object '${t}'`)}}return t.\u0275prov=g({token:t,providedIn:"root",factory:Rs}),t})();function Ys(t,e,n,i,a=!1){for(;null!==n;){const r=e[n.index];if(null!==r&&i.push(kt(r)),rt(r))for(let t=10;t<r.length;t++){const e=r[t],n=e[1].firstChild;null!==n&&Ys(e[1],e,n,i)}const o=n.type;if(8&o)Ys(t,e,n.child,i);else if(32&o){const t=Ti(n,e);let a;for(;a=t();)i.push(a)}else if(16&o){const t=e[16],a=t[6].projection[n.projection];if(Array.isArray(a))i.push(...a);else{const e=Pi(t);Ys(e[1],e,a,i,!0)}}n=a?n.projectionNext:n.next}return i}class Hs{constructor(t,e){this._lView=t,this._cdRefInjectingView=e,this._appRef=null,this._attachedToViewContainer=!1}get rootNodes(){const t=this._lView,e=t[1];return Ys(e,t,e.firstChild,[])}get context(){return this._lView[8]}get destroyed(){return 256==(256&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[3];if(rt(t)){const e=t[8],n=e?e.indexOf(this):-1;n>-1&&(Ni(t,n),cn(e,n))}this._attachedToViewContainer=!1}Yi(this._lView[1],this._lView)}onDestroy(t){Aa(this._lView[1],this._lView,null,t)}markForCheck(){Xa(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){Ka(this._lView[1],this._lView,this.context)}checkNoChanges(){!function(t,e,n){Zt(!0);try{Ka(t,e,n)}finally{Zt(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._attachedToViewContainer=!0}detachFromAppRef(){var t;this._appRef=null,$i(this._lView[1],t=this._lView,t[11],2,null,null)}attachToAppRef(t){if(this._attachedToViewContainer)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t}}class js extends Hs{constructor(t){super(t),this._view=t}detectChanges(){Qa(this._view)}checkNoChanges(){!function(t){Zt(!0);try{Qa(t)}finally{Zt(!1)}}(this._view)}get context(){return null}}const Fs=Vs;let zs=(()=>{class t{}return t.__NG_ELEMENT_ID__=Fs,t.__ChangeDetectorRef__=!0,t})();function Vs(t=!1){return function(t,e,n){if(!n&&st(t)){const n=Dt(t.index,e);return new Hs(n,n)}return 47&t.type?new Hs(e[16],e):null}(Bt(),Ft(),t)}const Bs=[new Ls],Ws=new Is([new xs]),Us=new Ns(Bs),qs=function(){return $s(Bt(),Ft())};let Gs=(()=>{class t{}return t.__NG_ELEMENT_ID__=qs,t})();const Js=Gs,Zs=class extends Js{constructor(t,e,n){super(),this._declarationLView=t,this._declarationTContainer=e,this.elementRef=n}createEmbeddedView(t){const e=this._declarationTContainer.tViews,n=Ca(this._declarationLView,e,t,16,null,e.declTNode,null,null,null,null);n[17]=this._declarationLView[this._declarationTContainer.index];const i=this._declarationLView[19];return null!==i&&(n[19]=i.createEmbeddedView(e)),Ma(e,n,t),new Hs(n)}};function $s(t,e){return 4&t.type?new Zs(e,t,ms(t,e)):null}class Xs{}class Ks{}const Qs=function(){return rl(Bt(),Ft())};let tl=(()=>{class t{}return t.__NG_ELEMENT_ID__=Qs,t})();const el=tl,nl=class extends el{constructor(t,e,n){super(),this._lContainer=t,this._hostTNode=e,this._hostLView=n}get element(){return ms(this._hostTNode,this._hostLView)}get injector(){return new Xe(this._hostTNode,this._hostLView)}get parentInjector(){const t=je(this._hostTNode,this._hostLView);if(Le(t)){const e=Ee(t,this._hostLView),n=De(t);return new Xe(e[1].data[n+8],e)}return new Xe(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const e=il(this._lContainer);return null!==e&&e[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,e,n){const i=t.createEmbeddedView(e||{});return this.insert(i,n),i}createComponent(t,e,n,i,a){const r=n||this.parentInjector;if(!a&&null==t.ngModule&&r){const t=r.get(Xs,null);t&&(a=t)}const o=t.create(r,i,void 0,a);return this.insert(o.hostView,e),o}insert(t,e){const n=t._lView,i=n[1];if(rt(n[3])){const e=this.indexOf(t);if(-1!==e)this.detach(e);else{const e=n[3],i=new nl(e,e[6],e[3]);i.detach(i.indexOf(t))}}const a=this._adjustIndex(e),r=this._lContainer;!function(t,e,n,i){const a=10+i,r=n.length;i>0&&(n[a-1][4]=e),i<r-10?(e[4]=n[a],ln(n,10+i,e)):(n.push(e),e[4]=null),e[3]=n;const o=e[17];null!==o&&n!==o&&function(t,e){const n=t[9];e[16]!==e[3][3][16]&&(t[2]=!0),null===n?t[9]=[e]:n.push(e)}(o,e);const s=e[19];null!==s&&s.insertView(t),e[2]|=128}(i,n,r,a);const o=Ji(a,r),s=n[11],l=Bi(s,r[7]);return null!==l&&function(t,e,n,i,a,r){i[0]=a,i[6]=e,$i(t,i,n,1,a,r)}(i,r[6],s,n,l,o),t.attachToViewContainerRef(),ln(al(r),a,t),t}move(t,e){return this.insert(t,e)}indexOf(t){const e=il(this._lContainer);return null!==e?e.indexOf(t):-1}remove(t){const e=this._adjustIndex(t,-1),n=Ni(this._lContainer,e);n&&(cn(al(this._lContainer),e),Yi(n[1],n))}detach(t){const e=this._adjustIndex(t,-1),n=Ni(this._lContainer,e);return n&&null!=cn(al(this._lContainer),e)?new Hs(n):null}_adjustIndex(t,e=0){return null==t?this.length+e:t}};function il(t){return t[8]}function al(t){return t[8]||(t[8]=[])}function rl(t,e){let n;const i=e[t.index];if(rt(i))n=i;else{let a;if(8&t.type)a=kt(i);else{const n=e[11];a=n.createComment("");const i=Tt(t,e);Fi(n,Bi(n,i),a,function(t,e){return Mt(t)?t.nextSibling(e):e.nextSibling}(n,i),!1)}e[t.index]=n=qa(i,e,a,t),$a(e,n)}return new nl(n,t,e)}const ol={};class sl extends us{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const e=nt(t);return new dl(e,this.ngModule)}}function ll(t){const e=[];for(let n in t)t.hasOwnProperty(n)&&e.push({propName:t[n],templateName:n});return e}const cl=new nn("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>xi});class dl extends cs{constructor(t,e){super(),this.componentDef=t,this.ngModule=e,this.componentType=t.type,this.selector=t.selectors.map(da).join(","),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!e}get inputs(){return ll(this.componentDef.inputs)}get outputs(){return ll(this.componentDef.outputs)}create(t,e,n,i){const a=(i=i||this.ngModule)?function(t,e){return{get:(n,i,a)=>{const r=t.get(n,ol,a);return r!==ol||i===ol?r:e.get(n,i,a)}}}(t,i.injector):t,r=a.get(bs,Ot),o=a.get(vs,null),s=r.createRenderer(null,this.componentDef),l=this.componentDef.selectors[0][0]||"div",c=n?function(t,e,n){if(Mt(t))return t.selectRootElement(e,n===D.ShadowDom);let i="string"==typeof e?t.querySelector(e):e;return i.textContent="",i}(s,n,this.componentDef.encapsulation):Ii(r.createRenderer(null,this.componentDef),l,function(t){const e=t.toLowerCase();return"svg"===e?"http://www.w3.org/2000/svg":"math"===e?"http://www.w3.org/1998/MathML/":null}(l)),d=this.componentDef.onPush?576:528,u={components:[],scheduler:xi,clean:er,playerHandler:null,flags:0},h=Ea(0,null,null,1,0,null,null,null,null,null),m=Ca(null,h,u,d,null,null,r,s,o,a);let p,f;se(m);try{const t=function(t,e,n,i,a,r){const o=n[1];n[20]=t;const s=wa(o,20,2,"#host",null),l=s.mergedAttrs=e.hostAttrs;null!==l&&(lr(s,l,!0),null!==t&&(Oe(a,t,l),null!==s.classes&&Qi(a,t,s.classes),null!==s.styles&&Ki(a,t,s.styles)));const c=i.createRenderer(t,e),d=Ca(n,Da(e),null,e.onPush?64:16,n[20],s,i,c,null,null);return o.firstCreatePass&&(Fe(Ne(s,n),o,e.type),ja(o,s),za(s,n.length,1)),$a(n,d),n[20]=d}(c,this.componentDef,m,r,s);if(c)if(n)Oe(s,c,["ng-version",ws.full]);else{const{attrs:t,classes:e}=function(t){const e=[],n=[];let i=1,a=2;for(;i<t.length;){let r=t[i];if("string"==typeof r)2===a?""!==r&&e.push(r,t[++i]):8===a&&n.push(r);else{if(!ra(a))break;a=r}i++}return{attrs:e,classes:n}}(this.componentDef.selectors[0]);t&&Oe(s,c,t),e&&e.length>0&&Qi(s,c,e.join(" "))}if(f=Pt(h,20),void 0!==e){const t=f.projection=[];for(let n=0;n<this.ngContentSelectors.length;n++){const i=e[n];t.push(null!=i?Array.from(i):null)}}p=function(t,e,n,i,a){const r=n[1],o=function(t,e,n){const i=Bt();t.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),Va(t,i,e,xa(t,e,1,null),n));const a=Je(e,t,i.directiveStart,i);wi(a,e);const r=Tt(i,e);return r&&wi(r,e),a}(r,n,e);if(i.components.push(o),t[8]=o,a&&a.forEach(t=>t(o,e)),e.contentQueries){const t=Bt();e.contentQueries(1,o,t.directiveStart)}const s=Bt();return!r.firstCreatePass||null===e.hostBindings&&null===e.hostAttrs||(pe(s.index),Ya(n[1],s,0,s.directiveStart,s.directiveEnd,e),Ha(e,o)),o}(t,this.componentDef,m,u,[kr]),Ma(h,m,null)}finally{he()}return new ul(this.componentType,p,ms(f,m),m,f)}}class ul extends class{}{constructor(t,e,n,i,a){super(),this.location=n,this._rootLView=i,this._tNode=a,this.instance=e,this.hostView=this.changeDetectorRef=new js(i),this.componentType=t}get injector(){return new Xe(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}const hl=new Map;class ml extends Xs{constructor(t,e){super(),this._parent=e,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new sl(this);const n=it(t),i=t[B]||null;i&&ts(i),this._bootstrapComponents=ki(n.bootstrap),this._r3Injector=br(t,e,[{provide:Xs,useValue:this},{provide:us,useValue:this.componentFactoryResolver}],d(t)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(t)}get(t,e=Or.THROW_IF_NOT_FOUND,n=O.Default){return t===Or||t===Xs||t===cr?this:this._r3Injector.get(t,e,n)}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(t=>t()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class pl extends Ks{constructor(t){super(),this.moduleType=t,null!==it(t)&&function(t){const e=new Set;!function t(n){const i=it(n,!0),a=i.id;null!==a&&(function(t,e,n){if(e&&e!==n)throw new Error(`Duplicate module registered for ${t} - ${d(e)} vs ${d(e.name)}`)}(a,hl.get(a),n),hl.set(a,n));const r=ki(i.imports);for(const o of r)e.has(o)||(e.add(o),t(o))}(t)}(t)}create(t){return new ml(this.moduleType,t)}}function fl(t,e,n){const i=$t()+t,a=Ft();return a[i]===ua?Yr(a,i,n?e.call(n):e()):function(t,e){return t[e]}(a,i)}function gl(t,e,n,i){return yl(Ft(),$t(),t,e,n,i)}function bl(t,e,n,i,a){return vl(Ft(),$t(),t,e,n,i,a)}function _l(t,e){const n=t[e];return n===ua?void 0:n}function yl(t,e,n,i,a,r){const o=e+n;return Hr(t,o,a)?Yr(t,o+1,r?i.call(r,a):i(a)):_l(t,o+1)}function vl(t,e,n,i,a,r,o){const s=e+n;return jr(t,s,a,r)?Yr(t,s+2,o?i.call(o,a,r):i(a,r)):_l(t,s+2)}function Cl(t,e){const n=zt();let i;const a=t+20;n.firstCreatePass?(i=function(t,e){if(e)for(let n=e.length-1;n>=0;n--){const i=e[n];if(t===i.name)return i}throw new ut("302",`The pipe '${t}' could not be found!`)}(e,n.pipeRegistry),n.data[a]=i,i.onDestroy&&(n.destroyHooks||(n.destroyHooks=[])).push(a,i.onDestroy)):i=n.data[a];const r=i.factory||(i.factory=dt(i.type)),o=S(Ur);try{const t=Ie(!1),e=r();return Ie(t),function(t,e,n,i){n>=t.data.length&&(t.data[n]=null,t.blueprint[n]=null),e[n]=i}(n,Ft(),a,e),e}finally{S(o)}}function wl(t,e,n){const i=t+20,a=Ft(),r=Lt(a,i);return Sl(a,kl(a,i)?yl(a,$t(),e,r.transform,n,r):r.transform(n))}function xl(t,e,n,i){const a=t+20,r=Ft(),o=Lt(r,a);return Sl(r,kl(r,a)?vl(r,$t(),e,o.transform,n,i,o):o.transform(n,i))}function Ml(t,e,n,i,a){const r=t+20,o=Ft(),s=Lt(o,r);return Sl(o,kl(o,r)?function(t,e,n,i,a,r,o,s){const l=e+n;return function(t,e,n,i,a){const r=jr(t,e,n,i);return Hr(t,e+2,a)||r}(t,l,a,r,o)?Yr(t,l+3,s?i.call(s,a,r,o):i(a,r,o)):_l(t,l+3)}(o,$t(),e,s.transform,n,i,a,s):s.transform(n,i,a))}function Ol(t,e,n,i,a,r){const o=t+20,s=Ft(),l=Lt(s,o);return Sl(s,kl(s,o)?function(t,e,n,i,a,r,o,s,l){const c=e+n;return function(t,e,n,i,a,r){const o=jr(t,e,n,i);return jr(t,e+2,a,r)||o}(t,c,a,r,o,s)?Yr(t,c+4,l?i.call(l,a,r,o,s):i(a,r,o,s)):_l(t,c+4)}(s,$t(),e,l.transform,n,i,a,r,l):l.transform(n,i,a,r))}function kl(t,e){return t[1].data[e].pure}function Sl(t,e){return Ir.isWrapped(e)&&(e=Ir.unwrap(e),t[Xt()]=ua),e}const Tl=class extends i.a{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,e,n){let i,r=t=>null,o=()=>null;t&&"object"==typeof t?(i=this.__isAsync?e=>{setTimeout(()=>t.next(e))}:e=>{t.next(e)},t.error&&(r=this.__isAsync?e=>{setTimeout(()=>t.error(e))}:e=>{t.error(e)}),t.complete&&(o=this.__isAsync?()=>{setTimeout(()=>t.complete())}:()=>{t.complete()})):(i=this.__isAsync?e=>{setTimeout(()=>t(e))}:e=>{t(e)},e&&(r=this.__isAsync?t=>{setTimeout(()=>e(t))}:t=>{e(t)}),n&&(o=this.__isAsync?()=>{setTimeout(()=>n())}:()=>{n()}));const s=super.subscribe(i,r,o);return t instanceof a.a&&t.add(s),s}};function Pl(){return this._results[Ar()]()}class Ll{constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const e=Ar(),n=Ll.prototype;n[e]||(n[e]=Pl)}get changes(){return this._changes||(this._changes=new Tl)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,e){return this._results.reduce(t,e)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,e){this.dirty=!1;const n=on(t);(this._changesDetected=!function(t,e,n){if(t.length!==e.length)return!1;for(let i=0;i<t.length;i++){let a=t[i],r=e[i];if(n&&(a=n(a),r=n(r)),r!==a)return!1}return!0}(this._results,n,e))&&(this._results=n,this.length=n.length,this.last=n[this.length-1],this.first=n[0])}notifyOnChanges(){!this._changes||!this._changesDetected&&this._emitDistinctChangesOnly||this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}class Dl{constructor(t){this.queryList=t,this.matches=null}clone(){return new Dl(this.queryList)}setDirty(){this.queryList.setDirty()}}class El{constructor(t=[]){this.queries=t}createEmbeddedView(t){const e=t.queries;if(null!==e){const n=null!==t.contentQueries?t.contentQueries[0]:e.length,i=[];for(let t=0;t<n;t++){const n=e.getByIndex(t);i.push(this.queries[n.indexInDeclarationView].clone())}return new El(i)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let e=0;e<this.queries.length;e++)null!==ql(t,e).matches&&this.queries[e].setDirty()}}class Al{constructor(t,e,n=null){this.predicate=t,this.flags=e,this.read=n}}class Il{constructor(t=[]){this.queries=t}elementStart(t,e){for(let n=0;n<this.queries.length;n++)this.queries[n].elementStart(t,e)}elementEnd(t){for(let e=0;e<this.queries.length;e++)this.queries[e].elementEnd(t)}embeddedTView(t){let e=null;for(let n=0;n<this.length;n++){const i=null!==e?e.length:0,a=this.getByIndex(n).embeddedTView(t,i);a&&(a.indexInDeclarationView=n,null!==e?e.push(a):e=[a])}return null!==e?new Il(e):null}template(t,e){for(let n=0;n<this.queries.length;n++)this.queries[n].template(t,e)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}}class Rl{constructor(t,e=-1){this.metadata=t,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=e}elementStart(t,e){this.isApplyingToNode(e)&&this.matchTNode(t,e)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,e){this.elementStart(t,e)}embeddedTView(t,e){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,e),new Rl(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){const e=this._declarationNodeIndex;let n=t.parent;for(;null!==n&&8&n.type&&n.index!==e;)n=n.parent;return e===(null!==n?n.index:-1)}return this._appliesToNextNode}matchTNode(t,e){const n=this.metadata.predicate;if(Array.isArray(n))for(let i=0;i<n.length;i++){const a=n[i];this.matchTNodeWithReadOption(t,e,Nl(e,a)),this.matchTNodeWithReadOption(t,e,Ge(e,t,a,!1,!1))}else n===Gs?4&e.type&&this.matchTNodeWithReadOption(t,e,-1):this.matchTNodeWithReadOption(t,e,Ge(e,t,n,!1,!1))}matchTNodeWithReadOption(t,e,n){if(null!==n){const i=this.metadata.read;if(null!==i)if(i===fs||i===tl||i===Gs&&4&e.type)this.addMatch(e.index,-2);else{const n=Ge(e,t,i,!1,!1);null!==n&&this.addMatch(e.index,n)}else this.addMatch(e.index,n)}}addMatch(t,e){null===this.matches?this.matches=[t,e]:this.matches.push(t,e)}}function Nl(t,e){const n=t.localNames;if(null!==n)for(let i=0;i<n.length;i+=2)if(n[i]===e)return n[i+1];return null}function Yl(t,e,n,i){return-1===n?function(t,e){return 11&t.type?ms(t,e):4&t.type?$s(t,e):null}(e,t):-2===n?function(t,e,n){return n===fs?ms(e,t):n===Gs?$s(e,t):n===tl?rl(e,t):void 0}(t,e,i):Je(t,t[1],n,e)}function Hl(t,e,n,i){const a=e[19].queries[i];if(null===a.matches){const i=t.data,r=n.matches,o=[];for(let t=0;t<r.length;t+=2){const a=r[t];o.push(a<0?null:Yl(e,i[a],r[t+1],n.metadata.read))}a.matches=o}return a.matches}function jl(t,e,n,i){const a=t.queries.getByIndex(n),r=a.matches;if(null!==r){const o=Hl(t,e,a,n);for(let t=0;t<r.length;t+=2){const n=r[t];if(n>0)i.push(o[t/2]);else{const a=r[t+1],o=e[-n];for(let t=10;t<o.length;t++){const e=o[t];e[17]===e[3]&&jl(e[1],e,a,i)}if(null!==o[9]){const t=o[9];for(let e=0;e<t.length;e++){const n=t[e];jl(n[1],n,a,i)}}}}}return i}function Fl(t){const e=Ft(),n=zt(),i=ie();ae(i+1);const a=ql(n,i);if(t.dirty&&At(e)===(2==(2&a.metadata.flags))){if(null===a.matches)t.reset([]);else{const r=a.crossesNgTemplate?jl(n,e,i,[]):Hl(n,e,a,i);t.reset(r,gs),t.notifyOnChanges()}return!0}return!1}function zl(t,e,n){const i=zt();i.firstCreatePass&&(Ul(i,new Al(t,e,n),-1),2==(2&e)&&(i.staticViewQueries=!0)),Wl(i,Ft(),e)}function Vl(t,e,n,i){const a=zt();if(a.firstCreatePass){const r=Bt();Ul(a,new Al(e,n,i),r.index),function(t,e){const n=t.contentQueries||(t.contentQueries=[]);e!==(n.length?n[n.length-1]:-1)&&n.push(t.queries.length-1,e)}(a,t),2==(2&n)&&(a.staticContentQueries=!0)}Wl(a,Ft(),n)}function Bl(){return t=Ft(),e=ie(),t[19].queries[e].queryList;var t,e}function Wl(t,e,n){const i=new Ll(4==(4&n));Aa(t,e,i,i.destroy),null===e[19]&&(e[19]=new El),e[19].queries.push(new Dl(i))}function Ul(t,e,n){null===t.queries&&(t.queries=new Il),t.queries.track(new Rl(e,n))}function ql(t,e){return t.queries.getByIndex(e)}function Gl(t,e){return $s(t,e)}function Jl(t=O.Default){const e=Vs(!0);if(null!=e||t&O.Optional)return e;pt("ChangeDetectorRef")}const Zl=new nn("Application Initializer");let $l=(()=>{class t{constructor(t){this.appInits=t,this.resolve=hs,this.reject=hs,this.initialized=!1,this.done=!1,this.donePromise=new Promise((t,e)=>{this.resolve=t,this.reject=e})}runInitializers(){if(this.initialized)return;const t=[],e=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let n=0;n<this.appInits.length;n++){const e=this.appInits[n]();no(e)&&t.push(e)}Promise.all(t).then(()=>{e()}).catch(t=>{this.reject(t)}),0===t.length&&e(),this.initialized=!0}}return t.\u0275fac=function(e){return new(e||t)(vn(Zl,8))},t.\u0275prov=g({token:t,factory:t.\u0275fac}),t})();const Xl=new nn("AppId"),Kl={provide:Xl,useFactory:function(){return`${Ql()}${Ql()}${Ql()}`},deps:[]};function Ql(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const tc=new nn("Platform Initializer"),ec=new nn("Platform ID"),nc=new nn("appBootstrapListener");let ic=(()=>{class t{log(t){console.log(t)}warn(t){console.warn(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=g({token:t,factory:t.\u0275fac}),t})();const ac=new nn("LocaleId"),rc=new nn("DefaultCurrencyCode");class oc{constructor(t,e){this.ngModuleFactory=t,this.componentFactories=e}}const sc=function(t){return new pl(t)},lc=sc,cc=function(t){return Promise.resolve(sc(t))},dc=function(t){const e=sc(t),n=ki(it(t).declarations).reduce((t,e)=>{const n=nt(e);return n&&t.push(new dl(n)),t},[]);return new oc(e,n)},uc=dc,hc=function(t){return Promise.resolve(dc(t))};let mc=(()=>{class t{constructor(){this.compileModuleSync=lc,this.compileModuleAsync=cc,this.compileModuleAndAllComponentsSync=uc,this.compileModuleAndAllComponentsAsync=hc}clearCache(){}clearCacheFor(t){}getModuleId(t){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=g({token:t,factory:t.\u0275fac}),t})();const pc=(()=>Promise.resolve(0))();function fc(t){"undefined"==typeof Zone?pc.then(()=>{t&&t.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",t)}class gc{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:e=!1,shouldCoalesceRunChangeDetection:n=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Tl(!1),this.onMicrotaskEmpty=new Tl(!1),this.onStable=new Tl(!1),this.onError=new Tl(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched(),this._nesting=0,this._outer=this._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(this._inner=this._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(this._inner=this._inner.fork(Zone.longStackTraceZoneSpec)),this.shouldCoalesceEventChangeDetection=!n&&e,this.shouldCoalesceRunChangeDetection=n,this.lastRequestAnimationFrameId=-1,this.nativeRequestAnimationFrame=function(){let t=N.requestAnimationFrame,e=N.cancelAnimationFrame;if("undefined"!=typeof Zone&&t&&e){const n=t[Zone.__symbol__("OriginalDelegate")];n&&(t=n);const i=e[Zone.__symbol__("OriginalDelegate")];i&&(e=i)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:e}}().nativeRequestAnimationFrame,function(t){const e=()=>{!function(t){-1===t.lastRequestAnimationFrameId&&(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(N,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,yc(t),_c(t)},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),yc(t))}(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,i,a,r,o,s)=>{try{return vc(t),n.invokeTask(a,r,o,s)}finally{(t.shouldCoalesceEventChangeDetection&&"eventTask"===r.type||t.shouldCoalesceRunChangeDetection)&&e(),Cc(t)}},onInvoke:(n,i,a,r,o,s,l)=>{try{return vc(t),n.invoke(a,r,o,s,l)}finally{t.shouldCoalesceRunChangeDetection&&e(),Cc(t)}},onHasTask:(e,n,i,a)=>{e.hasTask(i,a),n===i&&("microTask"==a.change?(t._hasPendingMicrotasks=a.microTask,yc(t),_c(t)):"macroTask"==a.change&&(t.hasPendingMacrotasks=a.macroTask))},onHandleError:(e,n,i,a)=>(e.handleError(i,a),t.runOutsideAngular(()=>t.onError.emit(a)),!1)})}(this)}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!gc.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(gc.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(t,e,n){return this._inner.run(t,e,n)}runTask(t,e,n,i){const a=this._inner,r=a.scheduleEventTask("NgZoneEvent: "+i,t,bc,hs,hs);try{return a.runTask(r,e,n)}finally{a.cancelTask(r)}}runGuarded(t,e,n){return this._inner.runGuarded(t,e,n)}runOutsideAngular(t){return this._outer.run(t)}}const bc={};function _c(t){if(0==t._nesting&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function yc(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&-1!==t.lastRequestAnimationFrameId)}function vc(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function Cc(t){t._nesting--,_c(t)}class wc{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Tl,this.onMicrotaskEmpty=new Tl,this.onStable=new Tl,this.onError=new Tl}run(t,e,n){return t.apply(e,n)}runGuarded(t,e,n){return t.apply(e,n)}runOutsideAngular(t){return t()}runTask(t,e,n,i){return t.apply(e,n)}}let xc=(()=>{class t{constructor(t){this._ngZone=t,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),t.run(()=>{this.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{gc.assertNotInAngularZone(),fc(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())fc(()=>{for(;0!==this._callbacks.length;){let t=this._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb(this._didWork)}this._didWork=!1});else{let t=this.getPendingTasks();this._callbacks=this._callbacks.filter(e=>!e.updateCb||!e.updateCb(t)||(clearTimeout(e.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(t=>({source:t.source,creationLocation:t.creationLocation,data:t.data})):[]}addCallback(t,e,n){let i=-1;e&&e>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(t=>t.timeoutId!==i),t(this._didWork,this.getPendingTasks())},e)),this._callbacks.push({doneCb:t,timeoutId:i,updateCb:n})}whenStable(t,e,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/dist/task-tracking.js" loaded?');this.addCallback(t,e,n),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(t,e,n){return[]}}return t.\u0275fac=function(e){return new(e||t)(vn(gc))},t.\u0275prov=g({token:t,factory:t.\u0275fac}),t})(),Mc=(()=>{class t{constructor(){this._applications=new Map,Tc.addToWindow(this)}registerApplication(t,e){this._applications.set(t,e)}unregisterApplication(t){this._applications.delete(t)}unregisterAllApplications(){this._applications.clear()}getTestability(t){return this._applications.get(t)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(t,e=!0){return Tc.findTestabilityInTree(this,t,e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=g({token:t,factory:t.\u0275fac}),t})();class Oc{addToWindow(t){}findTestabilityInTree(t,e,n){return null}}function kc(t){Tc=t}let Sc,Tc=new Oc,Pc=!0,Lc=!1;function Dc(){return Lc=!0,Pc}function Ec(){if(Lc)throw new Error("Cannot enable prod mode after platform setup.");Pc=!1}const Ac=new nn("AllowMultipleToken");class Ic{constructor(t,e){this.name=t,this.token=e}}function Rc(t,e,n=[]){const i=`Platform: ${e}`,a=new nn(i);return(e=[])=>{let r=Nc();if(!r||r.injector.get(Ac,!1))if(t)t(n.concat(e).concat({provide:a,useValue:!0}));else{const t=n.concat(e).concat({provide:a,useValue:!0},{provide:ur,useValue:"platform"});!function(t){if(Sc&&!Sc.destroyed&&!Sc.injector.get(Ac,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");Sc=t.get(Yc);const e=t.get(tc,null);e&&e.forEach(t=>t())}(Or.create({providers:t,name:i}))}return function(t){const e=Nc();if(!e)throw new Error("No platform exists!");if(!e.injector.get(t,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return e}(a)}}function Nc(){return Sc&&!Sc.destroyed?Sc:null}let Yc=(()=>{class t{constructor(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(t,e){const n=function(t,e){let n;return n="noop"===t?new wc:("zone.js"===t?void 0:t)||new gc({enableLongStackTrace:Dc(),shouldCoalesceEventChangeDetection:!!(null==e?void 0:e.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==e?void 0:e.ngZoneRunCoalescing)}),n}(e?e.ngZone:void 0,{ngZoneEventCoalescing:e&&e.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:e&&e.ngZoneRunCoalescing||!1}),i=[{provide:gc,useValue:n}];return n.run(()=>{const e=Or.create({providers:i,parent:this.injector,name:t.moduleType.name}),a=t.create(e),r=a.injector.get(Ci,null);if(!r)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return n.runOutsideAngular(()=>{const t=n.onError.subscribe({next:t=>{r.handleError(t)}});a.onDestroy(()=>{Fc(this._modules,a),t.unsubscribe()})}),function(t,e,n){try{const i=n();return no(i)?i.catch(n=>{throw e.runOutsideAngular(()=>t.handleError(n)),n}):i}catch(i){throw e.runOutsideAngular(()=>t.handleError(i)),i}}(r,n,()=>{const t=a.injector.get($l);return t.runInitializers(),t.donePromise.then(()=>(ts(a.injector.get(ac,"en-US")||"en-US"),this._moduleDoBootstrap(a),a))})})}bootstrapModule(t,e=[]){const n=Hc({},e);return function(t,e,n){const i=new pl(n);return Promise.resolve(i)}(0,0,t).then(t=>this.bootstrapModuleFactory(t,n))}_moduleDoBootstrap(t){const e=t.injector.get(jc);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(t=>e.bootstrap(t));else{if(!t.instance.ngDoBootstrap)throw new Error(`The module ${d(t.instance.constructor)} was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.`);t.instance.ngDoBootstrap(e)}this._modules.push(t)}onDestroy(t){this._destroyListeners.push(t)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(t=>t.destroy()),this._destroyListeners.forEach(t=>t()),this._destroyed=!0}get destroyed(){return this._destroyed}}return t.\u0275fac=function(e){return new(e||t)(vn(Or))},t.\u0275prov=g({token:t,factory:t.\u0275fac}),t})();function Hc(t,e){return Array.isArray(e)?e.reduce(Hc,t):Object.assign(Object.assign({},t),e)}let jc=(()=>{class t{constructor(t,e,n,i,a,l){this._zone=t,this._console=e,this._injector=n,this._exceptionHandler=i,this._componentFactoryResolver=a,this._initStatus=l,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const c=new r.a(t=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{t.next(this._stable),t.complete()})}),d=new r.a(t=>{let e;this._zone.runOutsideAngular(()=>{e=this._zone.onStable.subscribe(()=>{gc.assertNotInAngularZone(),fc(()=>{this._stable||this._zone.hasPendingMacrotasks||this._zone.hasPendingMicrotasks||(this._stable=!0,t.next(!0))})})});const n=this._zone.onUnstable.subscribe(()=>{gc.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{t.next(!1)}))});return()=>{e.unsubscribe(),n.unsubscribe()}});this.isStable=Object(o.a)(c,d.pipe(Object(s.a)()))}bootstrap(t,e){if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");let n;n=t instanceof cs?t:this._componentFactoryResolver.resolveComponentFactory(t),this.componentTypes.push(n.componentType);const i=n.isBoundToModule?void 0:this._injector.get(Xs),a=n.create(Or.NULL,[],e||n.selector,i),r=a.location.nativeElement,o=a.injector.get(xc,null),s=o&&a.injector.get(Mc);return o&&s&&s.registerApplication(r,o),a.onDestroy(()=>{this.detachView(a.hostView),Fc(this.components,a),s&&s.unregisterApplication(r)}),this._loadComponent(a),Dc()&&this._console.log("Angular is running in development mode. Call enableProdMode() to enable production mode."),a}tick(){if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;for(let t of this._views)t.detectChanges()}catch(t){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(t))}finally{this._runningTick=!1}}attachView(t){const e=t;this._views.push(e),e.attachToAppRef(this)}detachView(t){const e=t;Fc(this._views,e),e.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(nc,[]).concat(this._bootstrapListeners).forEach(e=>e(t))}ngOnDestroy(){this._views.slice().forEach(t=>t.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}return t.\u0275fac=function(e){return new(e||t)(vn(gc),vn(ic),vn(Or),vn(Ci),vn(us),vn($l))},t.\u0275prov=g({token:t,factory:t.\u0275fac}),t})();function Fc(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}class zc{}class Vc{}const Bc={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"};let Wc=(()=>{class t{constructor(t,e){this._compiler=t,this._config=e||Bc}load(t){return this.loadAndCompile(t)}loadAndCompile(t){let[e,i]=t.split("#");return void 0===i&&(i="default"),n("zn8P")(e).then(t=>t[i]).then(t=>Uc(t,e,i)).then(t=>this._compiler.compileModuleAsync(t))}loadFactory(t){let[e,i]=t.split("#"),a="NgFactory";return void 0===i&&(i="default",a=""),n("zn8P")(this._config.factoryPathPrefix+e+this._config.factoryPathSuffix).then(t=>t[i+a]).then(t=>Uc(t,e,i))}}return t.\u0275fac=function(e){return new(e||t)(vn(mc),vn(Vc,8))},t.\u0275prov=g({token:t,factory:t.\u0275fac}),t})();function Uc(t,e,n){if(!t)throw new Error(`Cannot find '${n}' in '${e}'`);return t}class qc extends zs{}class Gc extends qc{}const Jc=function(t){return null},Zc=Rc(null,"core",[{provide:ec,useValue:"unknown"},{provide:Yc,deps:[Or]},{provide:Mc,deps:[]},{provide:ic,deps:[]}]),$c=[{provide:jc,useClass:jc,deps:[gc,ic,Or,Ci,us,$l]},{provide:cl,deps:[gc],useFactory:function(t){let e=[];return t.onStable.subscribe(()=>{for(;e.length;)e.pop()()}),function(t){e.push(t)}}},{provide:$l,useClass:$l,deps:[[new On,Zl]]},{provide:mc,useClass:mc,deps:[]},Kl,{provide:Is,useFactory:function(){return Ws},deps:[]},{provide:Ns,useFactory:function(){return Us},deps:[]},{provide:ac,useFactory:function(t){return ts(t=t||"undefined"!=typeof $localize&&$localize.locale||"en-US"),t},deps:[[new Mn(ac),new On,new kn]]},{provide:rc,useValue:"USD"}];let Xc=(()=>{class t{constructor(t){}}return t.\u0275mod=X({type:t}),t.\u0275inj=b({factory:function(e){return new(e||t)(vn(jc))},providers:$c}),t})()},"8mBD":function(t,e,n){!function(t){"use strict";t.defineLocale("pt",{months:"janeiro_fevereiro_mar\xe7o_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"Domingo_Segunda-feira_Ter\xe7a-feira_Quarta-feira_Quinta-feira_Sexta-feira_S\xe1bado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_S\xe1b".split("_"),weekdaysMin:"Do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_S\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY HH:mm"},calendar:{sameDay:"[Hoje \xe0s] LT",nextDay:"[Amanh\xe3 \xe0s] LT",nextWeek:"dddd [\xe0s] LT",lastDay:"[Ontem \xe0s] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[\xdaltimo] dddd [\xe0s] LT":"[\xdaltima] dddd [\xe0s] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"h\xe1 %s",s:"segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",w:"uma semana",ww:"%d semanas",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(n("wd/R"))},"92Zs":function(t,e,n){"use strict";n.d(e,"a",function(){return y});var i=n("wd/R"),a=n("ePOw"),r=n("hGT6"),o=n("vzmS"),s=n("Qaas"),l=n("wa/n"),c=n("3EFq"),d=n("tgYw"),u=n("71J3"),h=n("80qe"),m=n("J+ds"),p=n("j9Ql"),f=n("n33M"),g=n("Zd/F"),b=n("ji8I"),_=n("TMPf");class y{static mapDpd(t,e){const n=t.getRawValue();return new u.a(4===e?{titre:n.title||"",entrepriseEtrangere:y._mapForeignCompany(n[r.a.FOREIGN_COMPANY]),prestation:new b.a({dateDebut:i(n[r.a.SINGLE_WORKER].dateDebut).format("YYYY-MM-DD"),dateFin:i(n[r.a.SINGLE_WORKER].dateFin).format("YYYY-MM-DD")}),frais:y._mapExpenses(n[r.a.EXPENSES]),salaries:[y._mapWorker(n[r.a.SINGLE_WORKER])],representant:y._mapRepresentative(n[r.a.REPRESENTATIVE])}:{titre:n.title||"",entrepriseEtrangere:y._mapForeignCompany(n[r.a.FOREIGN_COMPANY]),client:y._mapClient(n[r.a.CLIENT]),prestation:y._mapService(n[r.a.PRESTATION],n[r.a.WORKERS],n[r.a.LOCATIONS]),frais:y._mapExpenses(n[r.a.EXPENSES]),salaries:n[r.a.WORKERS].workers.map(t=>y._mapWorker(t)),representant:y._mapRepresentative(n[r.a.REPRESENTATIVE])})}static _mapForeignCompany(t){return new c.a({siret:null,raisonSociale:t.raisonSociale,adresse:y._mapAddress(t.adresse,a.a.ADRESSE),telephone:t.telephone,email:t.email,status:t.status,noTVA:t.noTVA,numTVA:t.numTVA,registre:t.registre,reference:t.reference,dirigeant:y._mapPerson(t.dirigeant),organisme:t.organisme,transporteur:t.transporteur,codeNaf:null})}static _mapClient(t){return new l.a({raisonSociale:t.client.raisonSociale,codeNaf:t.client.codeNaf,noTVA:t.client.noTVA,numTVA:t.client.numTVA,adresse:y._mapAddress(t.client.adresse,a.a.ADRESSE),email:t.email})}static _mapService(t,e,n){return new b.a({activites:this._mapActivities(t.activities),dangereux:{actif:t.isMaterialDangereux,valeur:t.materielsDangereuxList},dateDebut:i(e.dateDebut).format("YYYY-MM-DD"),dateFin:i(e.dateFin).format("YYYY-MM-DD"),nbJoursRepos:t.nbJoursRepos,horaireDebut:t.horaireDebut,horaireFin:t.horaireFin,horairesAtypiques:t.horairesAtypiques,lieus:n.locations.map(t=>y._mapLocation(t))})}static _mapLocation(t){return new f.a({id:t.id||null,type:t.type,siret:t.siret,codeNaf:t.codeNaf,nom:t.nom,adresse:this._mapAddress(t.adresse,t.typeAdresse),isHebergementCollectif:t.isHebergementCollectif,nomHebergement:t.nomHebergement,hebergementCollectif:y._mapAddress(t.hebergementCollectif,t.typeAdresseHebergement)})}static _mapExpenses(t){return new m.a({voyage:new h.a({type:t.tripExpenses.type,montant:t.tripExpenses.amount}),nourriture:new h.a({type:t.foodExpenses.type,montant:t.foodExpenses.amount}),hebergement:new h.a({type:t.hostingExpenses.type,montant:t.hostingExpenses.amount})})}static _mapWorker(t){return new _.a({id:t.id,sexe:t.sexe,nationalite:(t.nationalite||{}).code||null,paysSecu:(t.paysSecu||{}).code||null,paysRegistre:(t.paysRegistre||{}).code||null,adresse:this._mapAddress(t.adresse,a.a.ADRESSE),dateContrat:t.dateContrat,dateDebut:t.dateDebut,dateFin:t.dateFin,emploi:t.emploi,qualification:t.qualification,salaire:t.salaire,salaireSpecifique:t.salaireSpecifique,isDetachementLongueDuree:t.isDetachementLongueDuree,motifLongueDuree:t.motifLongueDuree,nom:t.identite.nom,prenom:t.identite.prenom,dateNaissance:t.identite.dateNaissance,villeNaissance:t.identite.villeNaissance,paysNaissance:(t.identite.paysNaissance||{}).code||null})}static _mapRepresentative(t){return new g.a({type:t.type,raisonSociale:t.raisonSociale,idSalarie:t.idSalarie,numTVA:t.numTVA,siret:t.siret,adresse:this._mapAddress(t.adresse,a.a.ADRESSE),personne:this._mapPerson(t.personne),telephone:t.telephone,email:t.email,conservation:t.conservation})}static _mapActivities(t){return new o.a({activite1:(t.activite1||{}).code||null,activite2:(t.activite2||{}).code||null,activite3:(t.activite3||{}).code||null,activite4:(t.activite4||{}).code||null})}static _mapPerson(t){return new p.a({nom:t.nom,prenom:t.prenom,dateNaissance:t.dateNaissance,paysNaissance:t.paysNaissance?t.paysNaissance.code:null,villeNaissance:t.villeNaissance})}static _mapAddress(t,e){return new s.a({type:e||null,adresse:t.adresse,complementAdresse:t.complementAdresse,cp:t.cp,ville:t.ville,pays:(t.pays||{}).code||null,coordonnees:e&&e!==a.a.ADRESSE?y._mapCoordonnees(t):{}})}static _mapCoordonnees(t){return new d.a({latitude:t.latitude,longitude:t.longitude})}static convertAddressFgToAddress(t,e){return new s.a({type:e,adresse:t.get("adresse").value,complementAdresse:t.get("complementAdresse").value,cp:t.get("cp").value,ville:t.get("ville").value,pays:t.get("pays").value?t.get("pays").value.code:null,coordonnees:new d.a({latitude:t.get("latitude").value,longitude:t.get("longitude").value})})}static convertCompanyToClient(t){return new l.a({raisonSociale:t.raisonSociale,numTVA:t.numTVA,adresse:t.adresse,email:t.email,noTVA:t.noTVA,codeNaf:t.codeNaf})}static convertWorkerFgToWorker(t){return new _.a({id:t.get("id").value,sexe:t.get("sexe").value,nationalite:t.get("nationalite").value?t.get("nationalite").value.code:null,adresse:this.convertAddressFgToAddress(t.get("adresse"),a.a.ADRESSE),paysSecu:t.get("paysSecu").value?t.get("paysSecu").value.code:null,dateContrat:t.get("dateContrat").value,dateDebut:t.get("dateDebut").value,dateFin:t.get("dateFin").value,emploi:t.get("emploi").value,qualification:t.get("qualification").value,salaire:t.get("salaire").value,salaireSpecifique:t.get("salaireSpecifique").value,paysRegistre:t.get("paysRegistre").value?t.get("paysRegistre").value.code:null,isDetachementLongueDuree:t.get("isDetachementLongueDuree").value,motifLongueDuree:t.get("motifLongueDuree").value,nom:t.get("identite").get("nom").value,prenom:t.get("identite").get("prenom").value,dateNaissance:t.get("identite").get("dateNaissance").value,villeNaissance:t.get("identite").get("villeNaissance").value,paysNaissance:t.get("identite").get("paysNaissance").value?t.get("identite").get("paysNaissance").value.code:null})}}},"99Un":function(t,e,n){"use strict";n.r(e),n.d(e,"HomeModule",function(){return P});var i=n("SVse"),a=n("zR8O"),r=n("PCNd"),o=n("iInd"),s=n("IGtN"),l=n("2XGR"),c=n("zfSa"),d=n("iELJ"),u=n("8Y7J"),h=n("f4AX"),m=n("q6Qu"),p=n("zQhy"),f=n("s7LF"),g=n("Dxy4"),b=n("TSSN");function _(t,e){1&t&&u.Ob(0,"h2",12)}function y(t,e){1&t&&u.Ob(0,"div",16)}function v(t,e){if(1&t){const t=u.Ub();u.Tb(0,"mat-radio-group",13),u.bc("ngModelChange",function(e){return u.yc(t),u.fc().subisidiaryDpd=e}),u.Tb(1,"mat-radio-button",14),u.Hc(2),u.gc(3,"translate"),u.Sb(),u.Tb(4,"mat-radio-button",14),u.Hc(5),u.gc(6,"translate"),u.Sb(),u.Fc(7,y,1,0,"div",15),u.Sb()}if(2&t){const t=u.fc();u.nc("ngModel",t.subisidiaryDpd),u.Cb(1),u.nc("value",!0),u.Cb(1),u.Jc(" ",u.hc(3,6,"common.oui")," "),u.Cb(2),u.nc("value",!1),u.Cb(1),u.Jc(" ",u.hc(6,8,"common.non")," "),u.Cb(2),u.nc("ngIf",t.subisidiaryDpd)}}let C=(()=>{class t{constructor(t,e,n){this.dialogRef=t,this.userService=e,this.data=n,this.cas=n.cas,this.userRole=c.a[this.userService.role],this.cadreSituation=this.userService.compteDpdDefault,this.userRole===c.a.DONNEUR_ORDRE&&(this.subisidiaryDpd=!1)}ok(){let t;if(this.subisidiaryDpd)t=7;else switch(this.cadreSituation){case"psi":t=1===this.cas?1:4;break;case"mobil":t=1===this.cas?2:6;break;case"dispo":t=1===this.cas?3:5}this.dialogRef.close(t)}ko(){this.dialogRef.close()}isValid(){return this.isSubsidiaryPossible()?this.cadreSituation&&void 0!==this.subisidiaryDpd:this.cadreSituation}isSubsidiaryPossible(){return 1===this.cas&&this.userRole===c.a.DONNEUR_ORDRE}}return t.\u0275fac=function(e){return new(e||t)(u.Nb(d.f),u.Nb(h.a),u.Nb(d.a))},t.\u0275cmp=u.Hb({type:t,selectors:[["app-routing-dpd"]],decls:14,vars:7,consts:[["mat-dialog-title","","appLabel","dpd_choix.titre"],["mat-dialog-content","",1,"thick-dialog"],["appLabel","dpd_choix.question.detachement",1,"label-pop-up"],["aria-label","situation",1,"cadre-situation-radio-group",3,"ngModel","ngModelChange"],["color","primary","id","cadre-situation-psi","value","psi","appLabel","dpd_choix.prestation",1,"cadre-situation-radio-button"],["color","primary","id","cadre-situation-mobil","value","mobil","appLabel","dpd_choix.mobilite",1,"cadre-situation-radio-button"],["color","primary","id","cadre-situation-dispo","value","dispo","appLabel","dpd_choix.disposition",1,"cadre-situation-radio-button"],["class","label-pop-up","appLabel","dpd_choix.question.subsidiaire",4,"ngIf"],["class","optional-radio-group","aria-label","subisidiary",3,"ngModel","ngModelChange",4,"ngIf"],["mat-dialog-actions",""],["mat-raised-button","","aria-label","valid","id","mat-ok","appLabel","dpd_choix.suivant",1,"mat-primary",3,"disabled","click"],["mat-raised-button","","aria-label","cancel","id","mat-ko",3,"click"],["appLabel","dpd_choix.question.subsidiaire",1,"label-pop-up"],["aria-label","subisidiary",1,"optional-radio-group",3,"ngModel","ngModelChange"],["color","primary",1,"optional-radio-button",3,"value"],["class","label-pop-up","appLabel","dpd_choix.warning.subsidiaire",4,"ngIf"],["appLabel","dpd_choix.warning.subsidiaire",1,"label-pop-up"]],template:function(t,e){1&t&&(u.Ob(0,"h1",0),u.Tb(1,"div",1),u.Ob(2,"h2",2),u.Tb(3,"mat-radio-group",3),u.bc("ngModelChange",function(t){return e.cadreSituation=t}),u.Ob(4,"mat-radio-button",4),u.Ob(5,"mat-radio-button",5),u.Ob(6,"mat-radio-button",6),u.Sb(),u.Fc(7,_,1,0,"h2",7),u.Fc(8,v,8,10,"mat-radio-group",8),u.Tb(9,"div",9),u.Tb(10,"button",10),u.bc("click",function(){return e.ok()}),u.Sb(),u.Tb(11,"button",11),u.bc("click",function(){return e.ko()}),u.Hc(12),u.gc(13,"translate"),u.Sb(),u.Sb(),u.Sb()),2&t&&(u.Cb(3),u.nc("ngModel",e.cadreSituation),u.Cb(4),u.nc("ngIf",e.isSubsidiaryPossible()),u.Cb(1),u.nc("ngIf",e.isSubsidiaryPossible()),u.Cb(2),u.nc("disabled",!e.isValid()),u.Cb(2),u.Ic(u.hc(13,5,"common.annuler")))},directives:[d.g,m.a,d.d,p.b,f.o,f.r,p.a,i.l,d.c,g.a],pipes:[b.c],styles:[".cadre-situation-radio-group[_ngcontent-%COMP%]{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-direction:column;flex-direction:column}.cadre-situation-radio-button[_ngcontent-%COMP%], .optional-radio-button[_ngcontent-%COMP%]{margin:10px}.cadre-situation-radio-button[_ngcontent-%COMP%] .app-infobulle-trigger.default, .optional-radio-button[_ngcontent-%COMP%] .app-infobulle-trigger.default{top:3px}.label-pop-up[_ngcontent-%COMP%]{font-size:16px;text-transform:none;text-align:justify;margin:20px auto}.thick-dialog[_ngcontent-%COMP%]{overflow:visible}.thick-dialog[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{max-width:550px}"]}),t})();var w=n("GH2U"),x=n("eaIg"),M=n("06/9");function O(t,e){if(1&t&&(u.Tb(0,"div",2),u.Tb(1,"a",19),u.Tb(2,"div",4),u.Tb(3,"span",20),u.Hc(4),u.Sb(),u.Tb(5,"span",6),u.Hc(6),u.gc(7,"translate"),u.Sb(),u.Sb(),u.Sb(),u.Sb()),2&t){const t=u.fc();u.Cb(4),u.Ic(t.nbTransmisSuivis),u.Cb(2),u.Ic(u.hc(7,2,"home.suivre.titre"))}}function k(t,e){if(1&t&&(u.Tb(0,"div",2),u.Tb(1,"a",21),u.Tb(2,"div",4),u.Tb(3,"span",22),u.Hc(4),u.Sb(),u.Tb(5,"span",6),u.Hc(6),u.gc(7,"translate"),u.Sb(),u.Sb(),u.Sb(),u.Sb()),2&t){const t=u.fc();u.Cb(4),u.Ic(t.nbDemande),u.Cb(2),u.Ic(u.hc(7,2,"home.acces.demandes"))}}let S=(()=>{class t extends s.a{constructor(t,e,n,i,a,r,o){super(t),this.translateService=t,this.declarationService=e,this.userService=n,this.userDeclarationPrestataireService=i,this.dialog=a,this.router=r,this.cdr=o,this.nbTransmisSuivis=0,this.nbDemande=0,this.canSuivreDeclaration=!1,this.canGererDemandes=!1}declarationCas(t){const e=this.userService.role;e&&e!==c.a.DONNEUR_ORDRE&&this.userService.compteDpdDefault?this.router.navigate(["dpd/new/"+this.getDpdModel(t)]):this.dialog.open(C,{data:{cas:t}}).afterClosed().subscribe(t=>{t&&this.router.navigate(["dpd/new/"+t])})}getDpdModel(t){switch(this.userService.compteDpdDefault){case"psi":return 1===t?1:4;case"mobil":return 1===t?2:6;case"dispo":return 1===t?3:5;default:return 7}}load(){const t=this.userService.role;this.canSuivreDeclaration=t===c.a.DONNEUR_ORDRE&&!!this.userService.numTva,this.canGererDemandes=t===c.a.ENTREPRISE||t===c.a.MANDATAIRE,this.subscriptions.push(this.declarationService.getCompteurs().subscribe(t=>{this.nbNonTransmis=t.nbDeclarationsEnregistrees,this.nbTransmis=t.nbDeclarationsTransmises,this.cdr.markForCheck()})),this.canGererDemandes&&this.subscriptions.push(this.userDeclarationPrestataireService.getAccess().subscribe(t=>{this.nbDemande=t.filter(t=>t.etat===l.a.EN_COURS).length,this.cdr.markForCheck()})),this.canSuivreDeclaration&&this.subscriptions.push(this.userDeclarationPrestataireService.getPrestataires(null).subscribe(t=>{t.encours.forEach(t=>{this.nbTransmisSuivis+=t.count}),t.possible.forEach(t=>{this.nbTransmisSuivis+=t.count}),t.refuse.forEach(t=>{this.nbTransmisSuivis+=t.count}),t.valide.forEach(t=>{this.nbTransmisSuivis+=t.count}),this.cdr.markForCheck()}))}}return t.\u0275fac=function(e){return new(e||t)(u.Nb(b.d),u.Nb(w.a),u.Nb(h.a),u.Nb(x.a),u.Nb(d.b),u.Nb(o.f),u.Nb(u.h))},t.\u0275cmp=u.Hb({type:t,selectors:[["app-page-home"]],features:[u.zb],decls:49,vars:34,consts:[["id","home-gerer-decla"],["id","home-gerer-decla-container"],[1,"link-container"],["routerLink","/dpd/transmise","routerLinkActive","active"],[1,"home-gerer-decla-bloc"],["id","nbTransmis",1,"home-gerer-decla-number"],[1,"home-gerer-decla-label"],["routerLink","/dpd/non-transmise","routerLinkActive","active"],["id","nbNonTransmis",1,"home-gerer-decla-number"],["class","link-container",4,"ngIf"],["id","home-creer-decla"],["id","home-creer-decla-container"],[1,"home-creer-decla-bloc",3,"click"],[1,"home-creer-decla-title"],[1,"home-creer-decla-separator"],[1,"home-creer-decla-desc",3,"innerHTML"],["id","home-creer-decla-info-container"],[1,"home-creer-decla-info",3,"innerHTML"],[1,"home-news"],["routerLink","/declaration-access","routerLinkActive","active"],["id","nbTransmisSuivis",1,"home-gerer-decla-number"],["routerLink","/demande-acces","routerLinkActive","active"],["id","nbDemande",1,"home-gerer-decla-number"]],template:function(t,e){1&t&&(u.Tb(0,"div",0),u.Tb(1,"h1"),u.Hc(2),u.gc(3,"translate"),u.Sb(),u.Tb(4,"div",1),u.Tb(5,"div",2),u.Tb(6,"a",3),u.Tb(7,"div",4),u.Tb(8,"span",5),u.Hc(9),u.Sb(),u.Tb(10,"span",6),u.Hc(11),u.gc(12,"translate"),u.Sb(),u.Sb(),u.Sb(),u.Sb(),u.Tb(13,"div",2),u.Tb(14,"a",7),u.Tb(15,"div",4),u.Tb(16,"span",8),u.Hc(17),u.Sb(),u.Tb(18,"span",6),u.Hc(19),u.gc(20,"translate"),u.Sb(),u.Sb(),u.Sb(),u.Sb(),u.Fc(21,O,8,4,"div",9),u.Fc(22,k,8,4,"div",9),u.Sb(),u.Sb(),u.Tb(23,"div",10),u.Tb(24,"h2"),u.Hc(25),u.gc(26,"translate"),u.Sb(),u.Tb(27,"div",11),u.Tb(28,"div",12),u.bc("click",function(){return e.declarationCas(1)}),u.Tb(29,"span",13),u.Hc(30),u.gc(31,"translate"),u.Sb(),u.Ob(32,"span",14),u.Ob(33,"span",15),u.gc(34,"translate"),u.Sb(),u.Tb(35,"div",12),u.bc("click",function(){return e.declarationCas(2)}),u.Tb(36,"span",13),u.Hc(37),u.gc(38,"translate"),u.Sb(),u.Ob(39,"span",14),u.Ob(40,"span",15),u.gc(41,"translate"),u.Sb(),u.Sb(),u.Tb(42,"div",16),u.Ob(43,"div",17),u.gc(44,"translate"),u.Ob(45,"div",17),u.gc(46,"translate"),u.Sb(),u.Sb(),u.Tb(47,"div",18),u.Ob(48,"app-news-carrousel"),u.Sb()),2&t&&(u.Cb(2),u.Ic(u.hc(3,14,"home.gerer.titre")),u.Cb(7),u.Ic(e.nbTransmis),u.Cb(2),u.Ic(u.hc(12,16,"home.gerer.transmis")),u.Cb(6),u.Ic(e.nbNonTransmis),u.Cb(2),u.Ic(u.hc(20,18,"home.gerer.non.transmis")),u.Cb(2),u.nc("ngIf",e.canSuivreDeclaration),u.Cb(1),u.nc("ngIf",e.canGererDemandes),u.Cb(3),u.Ic(u.hc(26,20,"home.declarer.titre")),u.Cb(5),u.Ic(u.hc(31,22,"home.declarer.general.titre")),u.Cb(3),u.nc("innerHTML",u.hc(34,24,"home.declarer.general.desc"),u.zc),u.Cb(4),u.Ic(u.hc(38,26,"home.declarer.transport.titre")),u.Cb(3),u.nc("innerHTML",u.hc(41,28,"home.declarer.transport.desc"),u.zc),u.Cb(3),u.nc("innerHTML",u.hc(44,30,"home.declarer.general.info"),u.zc),u.Cb(2),u.nc("innerHTML",u.hc(46,32,"home.declarer.transport.info"),u.zc))},directives:[o.i,o.h,i.l,M.a],pipes:[b.c],styles:[".mat-badge-content{font-weight:600;font-size:12px;font-family:Roboto,Helvetica Neue,sans-serif}.mat-badge-small .mat-badge-content{font-size:9px}.mat-badge-large .mat-badge-content{font-size:24px}.mat-h1,.mat-headline,.mat-typography h1{font:400 24px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h2,.mat-title,.mat-typography h2{font:500 20px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h3,.mat-subheading-2,.mat-typography h3{font:400 16px/28px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h4,.mat-subheading-1,.mat-typography h4{font:400 15px/24px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h5,.mat-typography h5{font:400 calc(14px * .83)/20px Roboto,Helvetica Neue,sans-serif;margin:0 0 12px}.mat-h6,.mat-typography h6{font:400 calc(14px * .67)/20px Roboto,Helvetica Neue,sans-serif;margin:0 0 12px}.mat-body-2,.mat-body-strong{font:500 14px/24px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-body,.mat-body-1,.mat-typography{font:400 14px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-body-1 p,.mat-body p,.mat-typography p{margin:0 0 12px}.mat-caption,.mat-small{font:400 12px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-display-4,.mat-typography .mat-display-4{font:300 112px/112px Roboto,Helvetica Neue,sans-serif;letter-spacing:-.05em;margin:0 0 56px}.mat-display-3,.mat-typography .mat-display-3{font:400 56px/56px Roboto,Helvetica Neue,sans-serif;letter-spacing:-.02em;margin:0 0 64px}.mat-display-2,.mat-typography .mat-display-2{font:400 45px/48px Roboto,Helvetica Neue,sans-serif;letter-spacing:-.005em;margin:0 0 64px}.mat-display-1,.mat-typography .mat-display-1{font:400 34px/40px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 64px}.mat-bottom-sheet-container{font:400 14px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-button,.mat-fab,.mat-flat-button,.mat-icon-button,.mat-mini-fab,.mat-raised-button,.mat-stroked-button{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:500}.mat-button-toggle,.mat-card{font-family:Roboto,Helvetica Neue,sans-serif}.mat-card-title{font-size:24px;font-weight:500}.mat-card-header .mat-card-title{font-size:20px}.mat-card-content,.mat-card-subtitle{font-size:14px}.mat-checkbox{font-family:Roboto,Helvetica Neue,sans-serif}.mat-checkbox-layout .mat-checkbox-label{line-height:24px}.mat-chip{font-size:14px;font-weight:500}.mat-chip .mat-chip-remove.mat-icon,.mat-chip .mat-chip-trailing-icon.mat-icon{font-size:18px}.mat-table{font-family:Roboto,Helvetica Neue,sans-serif}.mat-header-cell{font-size:12px;font-weight:500}.mat-cell,.mat-footer-cell{font-size:14px}.mat-calendar{font-family:Roboto,Helvetica Neue,sans-serif}.mat-calendar-body{font-size:13px}.mat-calendar-body-label,.mat-calendar-period-button{font-size:14px;font-weight:500}.mat-calendar-table-header th{font-size:11px;font-weight:400}.mat-dialog-title{font:500 20px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-expansion-panel-header{font-family:Roboto,Helvetica Neue,sans-serif;font-size:15px;font-weight:400}.mat-expansion-panel-content{font:400 14px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-form-field{font-size:inherit;font-weight:400;line-height:1.125;font-family:Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-form-field-wrapper{padding-bottom:1.34375em}.mat-form-field-prefix .mat-icon,.mat-form-field-suffix .mat-icon{font-size:150%;line-height:1.125}.mat-form-field-prefix .mat-icon-button,.mat-form-field-suffix .mat-icon-button{height:1.5em;width:1.5em}.mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field-suffix .mat-icon-button .mat-icon{height:1.125em;line-height:1.125}.mat-form-field-infix{padding:.5em 0;border-top:.84375em solid rgba(0,0,0,0)}.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label{-ms-transform:translateY(-1.34375em) scale(.75);transform:translateY(-1.34375em) scale(.75);width:133.3333333333%}.mat-form-field-can-float .mat-input-server[label]:not(:label-shown)+.mat-form-field-label-wrapper .mat-form-field-label{-ms-transform:translateY(-1.34374em) scale(.75);transform:translateY(-1.34374em) scale(.75);width:133.3333433333%}.mat-form-field-label-wrapper{top:-.84375em;padding-top:.84375em}.mat-form-field-label{top:1.34375em}.mat-form-field-underline{bottom:1.34375em}.mat-form-field-subscript-wrapper{font-size:75%;margin-top:.6666666667em;top:calc(100% - 1.7916666667em)}.mat-form-field-appearance-legacy .mat-form-field-wrapper{padding-bottom:1.25em}.mat-form-field-appearance-legacy .mat-form-field-infix{padding:.4375em 0}.mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.001px);-ms-transform:translateY(-1.28125em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00101px);-ms-transform:translateY(-1.28124em) scale(.75);width:133.3333433333%}.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-input-server[label]:not(:label-shown)+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00102px);-ms-transform:translateY(-1.28123em) scale(.75);width:133.3333533333%}.mat-form-field-appearance-legacy .mat-form-field-label{top:1.28125em}.mat-form-field-appearance-legacy .mat-form-field-underline{bottom:1.25em}.mat-form-field-appearance-legacy .mat-form-field-subscript-wrapper{margin-top:.5416666667em;top:calc(100% - 1.6666666667em)}@media print{.mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label{-ms-transform:translateY(-1.28122em) scale(.75);transform:translateY(-1.28122em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.28121em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-input-server[label]:not(:label-shown)+.mat-form-field-label-wrapper .mat-form-field-label{-ms-transform:translateY(-1.2812em) scale(.75);transform:translateY(-1.2812em) scale(.75)}}.mat-form-field-appearance-fill .mat-form-field-infix{padding:.25em 0 .75em}.mat-form-field-appearance-fill .mat-form-field-label{top:1.09375em;margin-top:-.5em}.mat-form-field-appearance-fill.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-appearance-fill.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label{-ms-transform:translateY(-.59375em) scale(.75);transform:translateY(-.59375em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-fill.mat-form-field-can-float .mat-input-server[label]:not(:label-shown)+.mat-form-field-label-wrapper .mat-form-field-label{-ms-transform:translateY(-.59374em) scale(.75);transform:translateY(-.59374em) scale(.75);width:133.3333433333%}.mat-form-field-appearance-outline .mat-form-field-infix{padding:1em 0}.mat-form-field-appearance-outline .mat-form-field-label{top:1.84375em;margin-top:-.25em}.mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-appearance-outline.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label{-ms-transform:translateY(-1.59375em) scale(.75);transform:translateY(-1.59375em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-outline.mat-form-field-can-float .mat-input-server[label]:not(:label-shown)+.mat-form-field-label-wrapper .mat-form-field-label{-ms-transform:translateY(-1.59374em) scale(.75);transform:translateY(-1.59374em) scale(.75);width:133.3333433333%}.mat-grid-tile-footer,.mat-grid-tile-header{font-size:14px}.mat-grid-tile-footer .mat-line,.mat-grid-tile-header .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-grid-tile-footer .mat-line:nth-child(n+2),.mat-grid-tile-header .mat-line:nth-child(n+2){font-size:12px}input.mat-input-element{margin-top:-.0625em}.mat-menu-item{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:400}.mat-paginator,.mat-paginator-page-size .mat-select-trigger{font-family:Roboto,Helvetica Neue,sans-serif;font-size:12px}.mat-radio-button,.mat-select{font-family:Roboto,Helvetica Neue,sans-serif}.mat-select-trigger{height:1.125em}.mat-slide-toggle-content,.mat-slider-thumb-label-text{font-family:Roboto,Helvetica Neue,sans-serif}.mat-slider-thumb-label-text{font-size:12px;font-weight:500}.mat-stepper-horizontal,.mat-stepper-vertical{font-family:Roboto,Helvetica Neue,sans-serif}.mat-step-label{font-size:14px;font-weight:400}.mat-step-sub-label-error{font-weight:400}.mat-step-label-error{font-size:14px}.mat-step-label-selected{font-size:14px;font-weight:500}.mat-tab-group,.mat-tab-label,.mat-tab-link{font-family:Roboto,Helvetica Neue,sans-serif}.mat-tab-label,.mat-tab-link{font-size:14px;font-weight:500}.mat-toolbar,.mat-toolbar h1,.mat-toolbar h2,.mat-toolbar h3,.mat-toolbar h4,.mat-toolbar h5,.mat-toolbar h6{font:500 20px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0}.mat-tooltip{font-family:Roboto,Helvetica Neue,sans-serif;font-size:10px;padding-top:6px;padding-bottom:6px}.mat-tooltip-handset{font-size:14px;padding-top:8px;padding-bottom:8px}.mat-list-item,.mat-list-option{font-family:Roboto,Helvetica Neue,sans-serif}.mat-list-base .mat-list-item{font-size:16px}.mat-list-base .mat-list-item .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base .mat-list-item .mat-line:nth-child(n+2){font-size:14px}.mat-list-base .mat-list-option{font-size:16px}.mat-list-base .mat-list-option .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base .mat-list-option .mat-line:nth-child(n+2){font-size:14px}.mat-list-base .mat-subheader{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:500}.mat-list-base[dense] .mat-list-item{font-size:12px}.mat-list-base[dense] .mat-list-item .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[dense] .mat-list-item .mat-line:nth-child(n+2),.mat-list-base[dense] .mat-list-option{font-size:12px}.mat-list-base[dense] .mat-list-option .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[dense] .mat-list-option .mat-line:nth-child(n+2){font-size:12px}.mat-list-base[dense] .mat-subheader{font-family:Roboto,Helvetica Neue,sans-serif;font-size:12px;font-weight:500}.mat-option{font-family:Roboto,Helvetica Neue,sans-serif;font-size:16px}.mat-optgroup-label{font:500 14px/24px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-simple-snackbar{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px}.mat-simple-snackbar-action{line-height:1;font-family:inherit;font-size:inherit;font-weight:500}.mat-tree{font-family:Roboto,Helvetica Neue,sans-serif}.mat-nested-tree-node,.mat-tree-node{font-weight:400;font-size:14px}.mat-ripple{overflow:hidden;position:relative}.mat-ripple:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded{overflow:visible}.mat-ripple-element{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0,0,.2,1);-ms-transform:scale(0);transform:scale(0)}.cdk-high-contrast-active .mat-ripple-element{display:none}.cdk-visually-hidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;outline:0;-webkit-appearance:none;-moz-appearance:none}.cdk-global-overlay-wrapper,.cdk-overlay-container{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed;z-index:1000}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper,.cdk-overlay-pane{display:-ms-flexbox;display:flex;position:absolute;z-index:1000}.cdk-overlay-pane{pointer-events:auto;box-sizing:border-box;max-width:100%;max-height:100%}.cdk-overlay-backdrop{position:absolute;top:0;bottom:0;left:0;right:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:transparent;transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:1}@media screen and (-ms-high-contrast:active){.cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:.6}}.cdk-overlay-dark-backdrop{background:rgba(0,0,0,.32)}.cdk-overlay-transparent-backdrop,.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing{opacity:0}.cdk-overlay-connected-position-bounding-box{position:absolute;z-index:1000;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}@-webkit-keyframes cdk-text-field-autofill-start{\n /*!*/}@keyframes cdk-text-field-autofill-start{\n /*!*/}@-webkit-keyframes cdk-text-field-autofill-end{\n /*!*/}@keyframes cdk-text-field-autofill-end{\n /*!*/}.cdk-text-field-autofill-monitored:-webkit-autofill{-webkit-animation:cdk-text-field-autofill-start 0s 1ms;animation:cdk-text-field-autofill-start 0s 1ms}.cdk-text-field-autofill-monitored:not(:-webkit-autofill){-webkit-animation:cdk-text-field-autofill-end 0s 1ms;animation:cdk-text-field-autofill-end 0s 1ms}textarea.cdk-textarea-autosize{resize:none}textarea.cdk-textarea-autosize-measuring{padding:2px 0!important;box-sizing:content-box!important;height:auto!important;overflow:hidden!important}textarea.cdk-textarea-autosize-measuring-firefox{padding:2px 0!important;box-sizing:content-box!important;height:0!important}.mat-focus-indicator,.mat-mdc-focus-indicator{position:relative}h1,h2{font-weight:600;text-transform:uppercase;text-align:center;letter-spacing:.82px;font-size:1.5em}#home-gerer-decla #home-gerer-decla-container{display:-ms-flexbox;display:flex}#home-gerer-decla #home-gerer-decla-container .link-container{-ms-flex:1 1 33.33%;flex:1 1 33.33%;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;margin:0 10px 24px;background-color:#fff;box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12);color:#004590}#home-gerer-decla #home-gerer-decla-container .link-container:hover{box-shadow:0 6px 6px -3px rgba(98,155,211,.2),0 10px 14px 1px rgba(98,155,211,.14),0 4px 18px 3px rgba(98,155,211,.12);cursor:pointer}#home-gerer-decla #home-gerer-decla-container .link-container a{width:100%}#home-gerer-decla #home-gerer-decla-container .link-container .home-gerer-decla-bloc{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;color:#004590}#home-gerer-decla #home-gerer-decla-container .link-container .home-gerer-decla-bloc .home-gerer-decla-number{font-size:1.75rem;margin-right:10px}#home-gerer-decla #home-gerer-decla-container .link-container .home-gerer-decla-bloc .home-gerer-decla-label{font-size:1rem}#home-creer-decla{background-color:#b3c7de;padding-top:10px}#home-creer-decla #home-creer-decla-container,#home-creer-decla #home-creer-decla-info-container{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center}#home-creer-decla #home-creer-decla-container .home-creer-decla-info,#home-creer-decla #home-creer-decla-info-container .home-creer-decla-info{-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;margin:10px 65.5px;text-align:justify;padding:0 6px;width:420px}#home-creer-decla #home-creer-decla-container .home-creer-decla-bloc,#home-creer-decla #home-creer-decla-info-container .home-creer-decla-bloc{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;text-align:center;color:#2661a1;background-color:#fff;box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12);margin:0 65.5px;height:200px}#home-creer-decla #home-creer-decla-container .home-creer-decla-bloc:hover,#home-creer-decla #home-creer-decla-info-container .home-creer-decla-bloc:hover{box-shadow:0 6px 6px -3px rgba(98,155,211,.2),0 10px 14px 1px rgba(98,155,211,.14),0 4px 18px 3px rgba(98,155,211,.12);cursor:pointer}#home-creer-decla #home-creer-decla-container .home-creer-decla-bloc .home-creer-decla-separator,#home-creer-decla #home-creer-decla-info-container .home-creer-decla-bloc .home-creer-decla-separator{box-sizing:border-box;height:1px;width:135px;border:.5px solid #2661a1;margin:16px 0}#home-creer-decla #home-creer-decla-container .home-creer-decla-bloc .home-creer-decla-title,#home-creer-decla #home-creer-decla-info-container .home-creer-decla-bloc .home-creer-decla-title{font-weight:600;text-transform:uppercase;font-size:2rem}#home-creer-decla #home-creer-decla-container .home-creer-decla-bloc .home-creer-decla-desc,#home-creer-decla #home-creer-decla-info-container .home-creer-decla-bloc .home-creer-decla-desc{font-size:1.25rem;max-width:420px;text-align:justify;padding:0 8px}#home-creer-decla #home-creer-decla-container{padding-top:10px}#home-creer-decla #home-creer-decla-info-container{padding-bottom:20px}"],encapsulation:2,changeDetection:0}),t})(),T=(()=>{class t{}return t.\u0275mod=u.Lb({type:t}),t.\u0275inj=u.Kb({factory:function(e){return new(e||t)},imports:[[o.j.forChild([{path:"",component:S}])],o.j]}),t})(),P=(()=>{class t{}return t.\u0275mod=u.Lb({type:t}),t.\u0275inj=u.Kb({factory:function(e){return new(e||t)},imports:[[i.c,T,a.c,r.a]]}),t})()},"9b/N":function(t,e,n){"use strict";n.d(e,"a",function(){return d}),n.d(e,"b",function(){return c}),n.d(e,"c",function(){return u});var i=n("8LU1"),a=n("8Y7J"),r=n("HDdC"),o=n("XNiG"),s=n("Kj3r");let l=(()=>{class t{create(t){return"undefined"==typeof MutationObserver?null:new MutationObserver(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Object(a.Jb)({factory:function(){return new t},token:t,providedIn:"root"}),t})(),c=(()=>{class t{constructor(t){this._mutationObserverFactory=t,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((t,e)=>this._cleanupObserver(e))}observe(t){const e=Object(i.e)(t);return new r.a(t=>{const n=this._observeElement(e).subscribe(t);return()=>{n.unsubscribe(),this._unobserveElement(e)}})}_observeElement(t){if(this._observedElements.has(t))this._observedElements.get(t).count++;else{const e=new o.a,n=this._mutationObserverFactory.create(t=>e.next(t));n&&n.observe(t,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(t,{observer:n,stream:e,count:1})}return this._observedElements.get(t).stream}_unobserveElement(t){this._observedElements.has(t)&&(this._observedElements.get(t).count--,this._observedElements.get(t).count||this._cleanupObserver(t))}_cleanupObserver(t){if(this._observedElements.has(t)){const{observer:e,stream:n}=this._observedElements.get(t);e&&e.disconnect(),n.complete(),this._observedElements.delete(t)}}}return t.\u0275fac=function(e){return new(e||t)(a.Xb(l))},t.\u0275prov=Object(a.Jb)({factory:function(){return new t(Object(a.Xb)(l))},token:t,providedIn:"root"}),t})(),d=(()=>{class t{constructor(t,e,n){this._contentObserver=t,this._elementRef=e,this._ngZone=n,this.event=new a.o,this._disabled=!1,this._currentSubscription=null}get disabled(){return this._disabled}set disabled(t){this._disabled=Object(i.c)(t),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(t){this._debounce=Object(i.f)(t),this._subscribe()}ngAfterContentInit(){this._currentSubscription||this.disabled||this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const t=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?t.pipe(Object(s.a)(this.debounce)):t).subscribe(this.event)})}_unsubscribe(){var t;null===(t=this._currentSubscription)||void 0===t||t.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(a.Nb(c),a.Nb(a.l),a.Nb(a.B))},t.\u0275dir=a.Ib({type:t,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),t})(),u=(()=>{class t{}return t.\u0275mod=a.Lb({type:t}),t.\u0275inj=a.Kb({factory:function(e){return new(e||t)},providers:[l]}),t})()},"9gLZ":function(t,e,n){"use strict";n.d(e,"a",function(){return s}),n.d(e,"b",function(){return o});var i=n("8Y7J"),a=n("SVse");const r=new i.s("cdk-dir-doc",{providedIn:"root",factory:function(){return Object(i.W)(a.d)}});let o=(()=>{class t{constructor(t){if(this.value="ltr",this.change=new i.o,t){const e=t.documentElement?t.documentElement.dir:null,n=(t.body?t.body.dir:null)||e;this.value="ltr"===n||"rtl"===n?n:"ltr"}}ngOnDestroy(){this.change.complete()}}return t.\u0275fac=function(e){return new(e||t)(i.Xb(r,8))},t.\u0275prov=Object(i.Jb)({factory:function(){return new t(Object(i.Xb)(r,8))},token:t,providedIn:"root"}),t})(),s=(()=>{class t{}return t.\u0275mod=i.Lb({type:t}),t.\u0275inj=i.Kb({factory:function(e){return new(e||t)}}),t})()},"9ppp":function(t,e,n){"use strict";n.d(e,"a",function(){return i});const i=(()=>{function t(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return t.prototype=Object.create(Error.prototype),t})()},"9rRi":function(t,e,n){!function(t){"use strict";t.defineLocale("gd",{months:["Am Faoilleach","An Gearran","Am M\xe0rt","An Giblean","An C\xe8itean","An t-\xd2gmhios","An t-Iuchar","An L\xf9nastal","An t-Sultain","An D\xe0mhair","An t-Samhain","An D\xf9bhlachd"],monthsShort:["Faoi","Gear","M\xe0rt","Gibl","C\xe8it","\xd2gmh","Iuch","L\xf9n","Sult","D\xe0mh","Samh","D\xf9bh"],monthsParseExact:!0,weekdays:["Did\xf2mhnaich","Diluain","Dim\xe0irt","Diciadain","Diardaoin","Dihaoine","Disathairne"],weekdaysShort:["Did","Dil","Dim","Dic","Dia","Dih","Dis"],weekdaysMin:["D\xf2","Lu","M\xe0","Ci","Ar","Ha","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[An-diugh aig] LT",nextDay:"[A-m\xe0ireach aig] LT",nextWeek:"dddd [aig] LT",lastDay:"[An-d\xe8 aig] LT",lastWeek:"dddd [seo chaidh] [aig] LT",sameElse:"L"},relativeTime:{future:"ann an %s",past:"bho chionn %s",s:"beagan diogan",ss:"%d diogan",m:"mionaid",mm:"%d mionaidean",h:"uair",hh:"%d uairean",d:"latha",dd:"%d latha",M:"m\xecos",MM:"%d m\xecosan",y:"bliadhna",yy:"%d bliadhna"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(t){return t+(1===t?"d":t%10==2?"na":"mh")},week:{dow:1,doy:4}})}(n("wd/R"))},"A+xa":function(t,e,n){!function(t){"use strict";t.defineLocale("cv",{months:"\u043a\u04d1\u0440\u043b\u0430\u0447_\u043d\u0430\u0440\u04d1\u0441_\u043f\u0443\u0448_\u0430\u043a\u0430_\u043c\u0430\u0439_\u04ab\u04d7\u0440\u0442\u043c\u0435_\u0443\u0442\u04d1_\u04ab\u0443\u0440\u043b\u0430_\u0430\u0432\u04d1\u043d_\u044e\u043f\u0430_\u0447\u04f3\u043a_\u0440\u0430\u0448\u0442\u0430\u0432".split("_"),monthsShort:"\u043a\u04d1\u0440_\u043d\u0430\u0440_\u043f\u0443\u0448_\u0430\u043a\u0430_\u043c\u0430\u0439_\u04ab\u04d7\u0440_\u0443\u0442\u04d1_\u04ab\u0443\u0440_\u0430\u0432\u043d_\u044e\u043f\u0430_\u0447\u04f3\u043a_\u0440\u0430\u0448".split("_"),weekdays:"\u0432\u044b\u0440\u0441\u0430\u0440\u043d\u0438\u043a\u0443\u043d_\u0442\u0443\u043d\u0442\u0438\u043a\u0443\u043d_\u044b\u0442\u043b\u0430\u0440\u0438\u043a\u0443\u043d_\u044e\u043d\u043a\u0443\u043d_\u043a\u04d7\u04ab\u043d\u0435\u0440\u043d\u0438\u043a\u0443\u043d_\u044d\u0440\u043d\u0435\u043a\u0443\u043d_\u0448\u04d1\u043c\u0430\u0442\u043a\u0443\u043d".split("_"),weekdaysShort:"\u0432\u044b\u0440_\u0442\u0443\u043d_\u044b\u0442\u043b_\u044e\u043d_\u043a\u04d7\u04ab_\u044d\u0440\u043d_\u0448\u04d1\u043c".split("_"),weekdaysMin:"\u0432\u0440_\u0442\u043d_\u044b\u0442_\u044e\u043d_\u043a\u04ab_\u044d\u0440_\u0448\u043c".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7]",LLL:"YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7], HH:mm",LLLL:"dddd, YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7], HH:mm"},calendar:{sameDay:"[\u041f\u0430\u044f\u043d] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",nextDay:"[\u042b\u0440\u0430\u043d] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",lastDay:"[\u04d6\u043d\u0435\u0440] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",nextWeek:"[\u04aa\u0438\u0442\u0435\u0441] dddd LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",lastWeek:"[\u0418\u0440\u0442\u043d\u04d7] dddd LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",sameElse:"L"},relativeTime:{future:function(t){return t+(/\u0441\u0435\u0445\u0435\u0442$/i.exec(t)?"\u0440\u0435\u043d":/\u04ab\u0443\u043b$/i.exec(t)?"\u0442\u0430\u043d":"\u0440\u0430\u043d")},past:"%s \u043a\u0430\u044f\u043b\u043b\u0430",s:"\u043f\u04d7\u0440-\u0438\u043a \u04ab\u0435\u043a\u043a\u0443\u043d\u0442",ss:"%d \u04ab\u0435\u043a\u043a\u0443\u043d\u0442",m:"\u043f\u04d7\u0440 \u043c\u0438\u043d\u0443\u0442",mm:"%d \u043c\u0438\u043d\u0443\u0442",h:"\u043f\u04d7\u0440 \u0441\u0435\u0445\u0435\u0442",hh:"%d \u0441\u0435\u0445\u0435\u0442",d:"\u043f\u04d7\u0440 \u043a\u0443\u043d",dd:"%d \u043a\u0443\u043d",M:"\u043f\u04d7\u0440 \u0443\u0439\u04d1\u0445",MM:"%d \u0443\u0439\u04d1\u0445",y:"\u043f\u04d7\u0440 \u04ab\u0443\u043b",yy:"%d \u04ab\u0443\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-\u043c\u04d7\u0448/,ordinal:"%d-\u043c\u04d7\u0448",week:{dow:1,doy:7}})}(n("wd/R"))},AFtR:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("8Y7J"),a=n("WiJD");let r=(()=>{class t{constructor(t){this.configurationService=t}resolve(){return this.configurationService.getData()}}return t.\u0275fac=function(e){return new(e||t)(i.Xb(a.a))},t.\u0275prov=i.Jb({token:t,factory:t.\u0275fac,providedIn:"root"}),t})()},AQ68:function(t,e,n){!function(t){"use strict";t.defineLocale("uz-latn",{months:"Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr".split("_"),monthsShort:"Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek".split("_"),weekdays:"Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba".split("_"),weekdaysShort:"Yak_Dush_Sesh_Chor_Pay_Jum_Shan".split("_"),weekdaysMin:"Ya_Du_Se_Cho_Pa_Ju_Sha".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Bugun soat] LT [da]",nextDay:"[Ertaga] LT [da]",nextWeek:"dddd [kuni soat] LT [da]",lastDay:"[Kecha soat] LT [da]",lastWeek:"[O'tgan] dddd [kuni soat] LT [da]",sameElse:"L"},relativeTime:{future:"Yaqin %s ichida",past:"Bir necha %s oldin",s:"soniya",ss:"%d soniya",m:"bir daqiqa",mm:"%d daqiqa",h:"bir soat",hh:"%d soat",d:"bir kun",dd:"%d kun",M:"bir oy",MM:"%d oy",y:"bir yil",yy:"%d yil"},week:{dow:1,doy:7}})}(n("wd/R"))},AkaL:function(t,e,n){"use strict";n.d(e,"a",function(){return a});var i=n("lJxs");class a{constructor(t){this.http=t}search(t,e){return this.http.post(this.BASE_URL,{prefix:t,nbElement:e}).pipe(Object(i.a)(t=>this.setLabels(t.results)))}setLabels(t){return t.forEach(t=>this.setLabel(t)),t}}},AvvY:function(t,e,n){!function(t){"use strict";t.defineLocale("ml",{months:"\u0d1c\u0d28\u0d41\u0d35\u0d30\u0d3f_\u0d2b\u0d46\u0d2c\u0d4d\u0d30\u0d41\u0d35\u0d30\u0d3f_\u0d2e\u0d3e\u0d7c\u0d1a\u0d4d\u0d1a\u0d4d_\u0d0f\u0d2a\u0d4d\u0d30\u0d3f\u0d7d_\u0d2e\u0d47\u0d2f\u0d4d_\u0d1c\u0d42\u0d7a_\u0d1c\u0d42\u0d32\u0d48_\u0d13\u0d17\u0d38\u0d4d\u0d31\u0d4d\u0d31\u0d4d_\u0d38\u0d46\u0d2a\u0d4d\u0d31\u0d4d\u0d31\u0d02\u0d2c\u0d7c_\u0d12\u0d15\u0d4d\u0d1f\u0d4b\u0d2c\u0d7c_\u0d28\u0d35\u0d02\u0d2c\u0d7c_\u0d21\u0d3f\u0d38\u0d02\u0d2c\u0d7c".split("_"),monthsShort:"\u0d1c\u0d28\u0d41._\u0d2b\u0d46\u0d2c\u0d4d\u0d30\u0d41._\u0d2e\u0d3e\u0d7c._\u0d0f\u0d2a\u0d4d\u0d30\u0d3f._\u0d2e\u0d47\u0d2f\u0d4d_\u0d1c\u0d42\u0d7a_\u0d1c\u0d42\u0d32\u0d48._\u0d13\u0d17._\u0d38\u0d46\u0d2a\u0d4d\u0d31\u0d4d\u0d31._\u0d12\u0d15\u0d4d\u0d1f\u0d4b._\u0d28\u0d35\u0d02._\u0d21\u0d3f\u0d38\u0d02.".split("_"),monthsParseExact:!0,weekdays:"\u0d1e\u0d3e\u0d2f\u0d31\u0d3e\u0d34\u0d4d\u0d1a_\u0d24\u0d3f\u0d19\u0d4d\u0d15\u0d33\u0d3e\u0d34\u0d4d\u0d1a_\u0d1a\u0d4a\u0d35\u0d4d\u0d35\u0d3e\u0d34\u0d4d\u0d1a_\u0d2c\u0d41\u0d27\u0d28\u0d3e\u0d34\u0d4d\u0d1a_\u0d35\u0d4d\u0d2f\u0d3e\u0d34\u0d3e\u0d34\u0d4d\u0d1a_\u0d35\u0d46\u0d33\u0d4d\u0d33\u0d3f\u0d2f\u0d3e\u0d34\u0d4d\u0d1a_\u0d36\u0d28\u0d3f\u0d2f\u0d3e\u0d34\u0d4d\u0d1a".split("_"),weekdaysShort:"\u0d1e\u0d3e\u0d2f\u0d7c_\u0d24\u0d3f\u0d19\u0d4d\u0d15\u0d7e_\u0d1a\u0d4a\u0d35\u0d4d\u0d35_\u0d2c\u0d41\u0d27\u0d7b_\u0d35\u0d4d\u0d2f\u0d3e\u0d34\u0d02_\u0d35\u0d46\u0d33\u0d4d\u0d33\u0d3f_\u0d36\u0d28\u0d3f".split("_"),weekdaysMin:"\u0d1e\u0d3e_\u0d24\u0d3f_\u0d1a\u0d4a_\u0d2c\u0d41_\u0d35\u0d4d\u0d2f\u0d3e_\u0d35\u0d46_\u0d36".split("_"),longDateFormat:{LT:"A h:mm -\u0d28\u0d41",LTS:"A h:mm:ss -\u0d28\u0d41",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm -\u0d28\u0d41",LLLL:"dddd, D MMMM YYYY, A h:mm -\u0d28\u0d41"},calendar:{sameDay:"[\u0d07\u0d28\u0d4d\u0d28\u0d4d] LT",nextDay:"[\u0d28\u0d3e\u0d33\u0d46] LT",nextWeek:"dddd, LT",lastDay:"[\u0d07\u0d28\u0d4d\u0d28\u0d32\u0d46] LT",lastWeek:"[\u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d",past:"%s \u0d2e\u0d41\u0d7b\u0d2a\u0d4d",s:"\u0d05\u0d7d\u0d2a \u0d28\u0d3f\u0d2e\u0d3f\u0d37\u0d19\u0d4d\u0d19\u0d7e",ss:"%d \u0d38\u0d46\u0d15\u0d4d\u0d15\u0d7b\u0d21\u0d4d",m:"\u0d12\u0d30\u0d41 \u0d2e\u0d3f\u0d28\u0d3f\u0d31\u0d4d\u0d31\u0d4d",mm:"%d \u0d2e\u0d3f\u0d28\u0d3f\u0d31\u0d4d\u0d31\u0d4d",h:"\u0d12\u0d30\u0d41 \u0d2e\u0d23\u0d3f\u0d15\u0d4d\u0d15\u0d42\u0d7c",hh:"%d \u0d2e\u0d23\u0d3f\u0d15\u0d4d\u0d15\u0d42\u0d7c",d:"\u0d12\u0d30\u0d41 \u0d26\u0d3f\u0d35\u0d38\u0d02",dd:"%d \u0d26\u0d3f\u0d35\u0d38\u0d02",M:"\u0d12\u0d30\u0d41 \u0d2e\u0d3e\u0d38\u0d02",MM:"%d \u0d2e\u0d3e\u0d38\u0d02",y:"\u0d12\u0d30\u0d41 \u0d35\u0d7c\u0d37\u0d02",yy:"%d \u0d35\u0d7c\u0d37\u0d02"},meridiemParse:/\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f|\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46|\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d|\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02|\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f/i,meridiemHour:function(t,e){return 12===t&&(t=0),"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"===e&&t>=4||"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d"===e||"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02"===e?t+12:t},meridiem:function(t,e,n){return t<4?"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f":t<12?"\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46":t<17?"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d":t<20?"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02":"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"}})}(n("wd/R"))},AxuS:function(t,e,n){"use strict";n.d(e,"a",function(){return i});var i=function(t){return t.VALIDATE="search",t.VALID="check",t.INVALID="close",t.ERROR="error_outline",t}({})},B55N:function(t,e,n){!function(t){"use strict";t.defineLocale("ja",{eras:[{since:"2019-05-01",offset:1,name:"\u4ee4\u548c",narrow:"\u32ff",abbr:"R"},{since:"1989-01-08",until:"2019-04-30",offset:1,name:"\u5e73\u6210",narrow:"\u337b",abbr:"H"},{since:"1926-12-25",until:"1989-01-07",offset:1,name:"\u662d\u548c",narrow:"\u337c",abbr:"S"},{since:"1912-07-30",until:"1926-12-24",offset:1,name:"\u5927\u6b63",narrow:"\u337d",abbr:"T"},{since:"1873-01-01",until:"1912-07-29",offset:6,name:"\u660e\u6cbb",narrow:"\u337e",abbr:"M"},{since:"0001-01-01",until:"1873-12-31",offset:1,name:"\u897f\u66a6",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"\u7d00\u5143\u524d",narrow:"BC",abbr:"BC"}],eraYearOrdinalRegex:/(\u5143|\d+)\u5e74/,eraYearOrdinalParse:function(t,e){return"\u5143"===e[1]?1:parseInt(e[1]||t,10)},months:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u65e5\u66dc\u65e5_\u6708\u66dc\u65e5_\u706b\u66dc\u65e5_\u6c34\u66dc\u65e5_\u6728\u66dc\u65e5_\u91d1\u66dc\u65e5_\u571f\u66dc\u65e5".split("_"),weekdaysShort:"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),weekdaysMin:"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5(ddd) HH:mm"},meridiemParse:/\u5348\u524d|\u5348\u5f8c/i,isPM:function(t){return"\u5348\u5f8c"===t},meridiem:function(t,e,n){return t<12?"\u5348\u524d":"\u5348\u5f8c"},calendar:{sameDay:"[\u4eca\u65e5] LT",nextDay:"[\u660e\u65e5] LT",nextWeek:function(t){return t.week()!==this.week()?"[\u6765\u9031]dddd LT":"dddd LT"},lastDay:"[\u6628\u65e5] LT",lastWeek:function(t){return this.week()!==t.week()?"[\u5148\u9031]dddd LT":"dddd LT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}\u65e5/,ordinal:function(t,e){switch(e){case"y":return 1===t?"\u5143\u5e74":t+"\u5e74";case"d":case"D":case"DDD":return t+"\u65e5";default:return t}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u6570\u79d2",ss:"%d\u79d2",m:"1\u5206",mm:"%d\u5206",h:"1\u6642\u9593",hh:"%d\u6642\u9593",d:"1\u65e5",dd:"%d\u65e5",M:"1\u30f6\u6708",MM:"%d\u30f6\u6708",y:"1\u5e74",yy:"%d\u5e74"}})}(n("wd/R"))},B6AI:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("zHaW"),a=n("8Y7J");let r=(()=>{class t{constructor(t){this.data=t}ngOnInit(){this.text=this.data.text}}return t.\u0275fac=function(e){return new(e||t)(a.Nb(i.a))},t.\u0275cmp=a.Hb({type:t,selectors:[["app-custom-snackbar"]],decls:1,vars:1,consts:[[3,"innerHTML"]],template:function(t,e){1&t&&a.Ob(0,"div",0),2&t&&a.nc("innerHTML",e.text,a.zc)},encapsulation:2}),t})()},BSbQ:function(t,e,n){"use strict";n.d(e,"a",function(){return o}),n.d(e,"b",function(){return s});var i=n("8LU1"),a=n("UhP/"),r=n("8Y7J");let o=(()=>{class t{constructor(){this._vertical=!1,this._inset=!1}get vertical(){return this._vertical}set vertical(t){this._vertical=Object(i.c)(t)}get inset(){return this._inset}set inset(t){this._inset=Object(i.c)(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=r.Hb({type:t,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(t,e){2&t&&(r.Db("aria-orientation",e.vertical?"vertical":"horizontal"),r.Fb("mat-divider-vertical",e.vertical)("mat-divider-horizontal",!e.vertical)("mat-divider-inset",e.inset))},inputs:{vertical:"vertical",inset:"inset"},decls:0,vars:0,template:function(t,e){},styles:[".mat-divider{display:block;margin:0;border-top-width:1px;border-top-style:solid}.mat-divider.mat-divider-vertical{border-top:0;border-right-width:1px;border-right-style:solid}.mat-divider.mat-divider-inset{margin-left:80px}[dir=rtl] .mat-divider.mat-divider-inset{margin-left:auto;margin-right:80px}\n"],encapsulation:2,changeDetection:0}),t})(),s=(()=>{class t{}return t.\u0275mod=r.Lb({type:t}),t.\u0275inj=r.Kb({factory:function(e){return new(e||t)},imports:[[a.j],a.j]}),t})()},BTe0:function(t,e,n){"use strict";n.d(e,"a",function(){return g}),n.d(e,"b",function(){return _});var i=n("8Y7J"),a=n("SVse"),r=n("UhP/"),o=n("8LU1"),s=n("omvX"),l=n("quSY"),c=n("xgIS"),d=n("pLZG");const u=["primaryValueBar"];class h{constructor(t){this._elementRef=t}}const m=Object(r.w)(h,"primary"),p=new i.s("mat-progress-bar-location",{providedIn:"root",factory:function(){const t=Object(i.W)(a.d),e=t?t.location:null;return{getPathname:()=>e?e.pathname+e.search:""}}});let f=0,g=(()=>{class t extends m{constructor(t,e,n,a){super(t),this._elementRef=t,this._ngZone=e,this._animationMode=n,this._isNoopAnimation=!1,this._value=0,this._bufferValue=0,this.animationEnd=new i.o,this._animationEndSubscription=l.a.EMPTY,this.mode="determinate",this.progressbarId="mat-progress-bar-"+f++;const r=a?a.getPathname().split("#")[0]:"";this._rectangleFillValue=`url('${r}#${this.progressbarId}')`,this._isNoopAnimation="NoopAnimations"===n}get value(){return this._value}set value(t){this._value=b(Object(o.f)(t)||0)}get bufferValue(){return this._bufferValue}set bufferValue(t){this._bufferValue=b(t||0)}_primaryTransform(){return{transform:`scale3d(${this.value/100}, 1, 1)`}}_bufferTransform(){return"buffer"===this.mode?{transform:`scale3d(${this.bufferValue/100}, 1, 1)`}:null}ngAfterViewInit(){this._ngZone.runOutsideAngular(()=>{const t=this._primaryValueBar.nativeElement;this._animationEndSubscription=Object(c.a)(t,"transitionend").pipe(Object(d.a)(e=>e.target===t)).subscribe(()=>{"determinate"!==this.mode&&"buffer"!==this.mode||this._ngZone.run(()=>this.animationEnd.next({value:this.value}))})})}ngOnDestroy(){this._animationEndSubscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.l),i.Nb(i.B),i.Nb(s.a,8),i.Nb(p,8))},t.\u0275cmp=i.Hb({type:t,selectors:[["mat-progress-bar"]],viewQuery:function(t,e){if(1&t&&i.Lc(u,1),2&t){let t;i.uc(t=i.cc())&&(e._primaryValueBar=t.first)}},hostAttrs:["role","progressbar","aria-valuemin","0","aria-valuemax","100",1,"mat-progress-bar"],hostVars:4,hostBindings:function(t,e){2&t&&(i.Db("aria-valuenow","indeterminate"===e.mode||"query"===e.mode?null:e.value)("mode",e.mode),i.Fb("_mat-animation-noopable",e._isNoopAnimation))},inputs:{color:"color",mode:"mode",value:"value",bufferValue:"bufferValue"},outputs:{animationEnd:"animationEnd"},exportAs:["matProgressBar"],features:[i.zb],decls:9,vars:4,consts:[["width","100%","height","4","focusable","false",1,"mat-progress-bar-background","mat-progress-bar-element"],["x","4","y","0","width","8","height","4","patternUnits","userSpaceOnUse",3,"id"],["cx","2","cy","2","r","2"],["width","100%","height","100%"],[1,"mat-progress-bar-buffer","mat-progress-bar-element",3,"ngStyle"],[1,"mat-progress-bar-primary","mat-progress-bar-fill","mat-progress-bar-element",3,"ngStyle"],["primaryValueBar",""],[1,"mat-progress-bar-secondary","mat-progress-bar-fill","mat-progress-bar-element"]],template:function(t,e){1&t&&(i.ec(),i.Tb(0,"svg",0),i.Tb(1,"defs"),i.Tb(2,"pattern",1),i.Ob(3,"circle",2),i.Sb(),i.Sb(),i.Ob(4,"rect",3),i.Sb(),i.dc(),i.Ob(5,"div",4),i.Ob(6,"div",5,6),i.Ob(8,"div",7)),2&t&&(i.Cb(2),i.nc("id",e.progressbarId),i.Cb(2),i.Db("fill",e._rectangleFillValue),i.Cb(1),i.nc("ngStyle",e._bufferTransform()),i.Cb(1),i.nc("ngStyle",e._primaryTransform()))},directives:[a.m],styles:['.mat-progress-bar{display:block;height:4px;overflow:hidden;position:relative;transition:opacity 250ms linear;width:100%}._mat-animation-noopable.mat-progress-bar{transition:none;animation:none}.mat-progress-bar .mat-progress-bar-element,.mat-progress-bar .mat-progress-bar-fill::after{height:100%;position:absolute;width:100%}.mat-progress-bar .mat-progress-bar-background{width:calc(100% + 10px)}.cdk-high-contrast-active .mat-progress-bar .mat-progress-bar-background{display:none}.mat-progress-bar .mat-progress-bar-buffer{transform-origin:top left;transition:transform 250ms ease}.cdk-high-contrast-active .mat-progress-bar .mat-progress-bar-buffer{border-top:solid 5px;opacity:.5}.mat-progress-bar .mat-progress-bar-secondary{display:none}.mat-progress-bar .mat-progress-bar-fill{animation:none;transform-origin:top left;transition:transform 250ms ease}.cdk-high-contrast-active .mat-progress-bar .mat-progress-bar-fill{border-top:solid 4px}.mat-progress-bar .mat-progress-bar-fill::after{animation:none;content:"";display:inline-block;left:0}.mat-progress-bar[dir=rtl],[dir=rtl] .mat-progress-bar{transform:rotateY(180deg)}.mat-progress-bar[mode=query]{transform:rotateZ(180deg)}.mat-progress-bar[mode=query][dir=rtl],[dir=rtl] .mat-progress-bar[mode=query]{transform:rotateZ(180deg) rotateY(180deg)}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-fill,.mat-progress-bar[mode=query] .mat-progress-bar-fill{transition:none}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-primary,.mat-progress-bar[mode=query] .mat-progress-bar-primary{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-primary-indeterminate-translate 2000ms infinite linear;left:-145.166611%}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-primary.mat-progress-bar-fill::after,.mat-progress-bar[mode=query] .mat-progress-bar-primary.mat-progress-bar-fill::after{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-primary-indeterminate-scale 2000ms infinite linear}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-secondary,.mat-progress-bar[mode=query] .mat-progress-bar-secondary{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-secondary-indeterminate-translate 2000ms infinite linear;left:-54.888891%;display:block}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-secondary.mat-progress-bar-fill::after,.mat-progress-bar[mode=query] .mat-progress-bar-secondary.mat-progress-bar-fill::after{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-secondary-indeterminate-scale 2000ms infinite linear}.mat-progress-bar[mode=buffer] .mat-progress-bar-background{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-background-scroll 250ms infinite linear;display:block}.mat-progress-bar._mat-animation-noopable .mat-progress-bar-fill,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-fill::after,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-buffer,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-primary,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-primary.mat-progress-bar-fill::after,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-secondary,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-secondary.mat-progress-bar-fill::after,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-background{animation:none;transition-duration:1ms}@keyframes mat-progress-bar-primary-indeterminate-translate{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(83.67142%)}100%{transform:translateX(200.611057%)}}@keyframes mat-progress-bar-primary-indeterminate-scale{0%{transform:scaleX(0.08)}36.65%{animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);transform:scaleX(0.08)}69.15%{animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);transform:scaleX(0.661479)}100%{transform:scaleX(0.08)}}@keyframes mat-progress-bar-secondary-indeterminate-translate{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(37.651913%)}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(84.386165%)}100%{transform:translateX(160.277782%)}}@keyframes mat-progress-bar-secondary-indeterminate-scale{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:scaleX(0.08)}19.15%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:scaleX(0.457104)}44.15%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:scaleX(0.72796)}100%{transform:scaleX(0.08)}}@keyframes mat-progress-bar-background-scroll{to{transform:translateX(-8px)}}\n'],encapsulation:2,changeDetection:0}),t})();function b(t,e=0,n=100){return Math.max(e,Math.min(n,t))}let _=(()=>{class t{}return t.\u0275mod=i.Lb({type:t}),t.\u0275inj=i.Kb({factory:function(e){return new(e||t)},imports:[[a.c,r.j],r.j]}),t})()},BVg3:function(t,e,n){!function(t){"use strict";function e(t){return t%100==11||t%10!=1}function n(t,n,i,a){var r=t+" ";switch(i){case"s":return n||a?"nokkrar sek\xfandur":"nokkrum sek\xfandum";case"ss":return e(t)?r+(n||a?"sek\xfandur":"sek\xfandum"):r+"sek\xfanda";case"m":return n?"m\xedn\xfata":"m\xedn\xfatu";case"mm":return e(t)?r+(n||a?"m\xedn\xfatur":"m\xedn\xfatum"):n?r+"m\xedn\xfata":r+"m\xedn\xfatu";case"hh":return e(t)?r+(n||a?"klukkustundir":"klukkustundum"):r+"klukkustund";case"d":return n?"dagur":a?"dag":"degi";case"dd":return e(t)?n?r+"dagar":r+(a?"daga":"d\xf6gum"):n?r+"dagur":r+(a?"dag":"degi");case"M":return n?"m\xe1nu\xf0ur":a?"m\xe1nu\xf0":"m\xe1nu\xf0i";case"MM":return e(t)?n?r+"m\xe1nu\xf0ir":r+(a?"m\xe1nu\xf0i":"m\xe1nu\xf0um"):n?r+"m\xe1nu\xf0ur":r+(a?"m\xe1nu\xf0":"m\xe1nu\xf0i");case"y":return n||a?"\xe1r":"\xe1ri";case"yy":return e(t)?r+(n||a?"\xe1r":"\xe1rum"):r+(n||a?"\xe1r":"\xe1ri")}}t.defineLocale("is",{months:"jan\xfaar_febr\xfaar_mars_apr\xedl_ma\xed_j\xfan\xed_j\xfal\xed_\xe1g\xfast_september_okt\xf3ber_n\xf3vember_desember".split("_"),monthsShort:"jan_feb_mar_apr_ma\xed_j\xfan_j\xfal_\xe1g\xfa_sep_okt_n\xf3v_des".split("_"),weekdays:"sunnudagur_m\xe1nudagur_\xferi\xf0judagur_mi\xf0vikudagur_fimmtudagur_f\xf6studagur_laugardagur".split("_"),weekdaysShort:"sun_m\xe1n_\xferi_mi\xf0_fim_f\xf6s_lau".split("_"),weekdaysMin:"Su_M\xe1_\xder_Mi_Fi_F\xf6_La".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd, D. MMMM YYYY [kl.] H:mm"},calendar:{sameDay:"[\xed dag kl.] LT",nextDay:"[\xe1 morgun kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[\xed g\xe6r kl.] LT",lastWeek:"[s\xed\xf0asta] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"eftir %s",past:"fyrir %s s\xed\xf0an",s:n,ss:n,m:n,mm:n,h:"klukkustund",hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},BhQr:function(t,e,n){"use strict";n.r(e),n.d(e,"FaqModule",function(){return v});var i=n("SVse"),a=n("PCNd"),r=n("iInd"),o=n("IGtN"),s=n("8Y7J"),l=n("TSSN"),c=n("o4Yh"),d=n("KSFr");function u(t,e){if(1&t&&(s.Tb(0,"mat-expansion-panel-header",5),s.Tb(1,"mat-panel-title"),s.Tb(2,"span",6),s.Hc(3),s.Sb(),s.Sb(),s.Sb()),2&t){const t=s.fc().$implicit;s.Cb(3),s.Ic(t.categorie)}}function h(t,e){if(1&t&&(s.Tb(0,"mat-expansion-panel",3),s.Tb(1,"mat-expansion-panel-header"),s.Tb(2,"mat-panel-title",7),s.Tb(3,"span",8),s.Hc(4),s.Sb(),s.Sb(),s.Sb(),s.Ob(5,"div",9),s.gc(6,"safeHtml"),s.Sb()),2&t){const t=e.$implicit,n=s.fc(2);s.nc("expanded",t===n.expandFaq),s.Cb(2),s.oc("id",t.ancre),s.Cb(2),s.Ic(t.question),s.Cb(1),s.nc("innerHTML",s.hc(6,4,t.response),s.zc)}}function m(t,e){if(1&t&&(s.Tb(0,"mat-expansion-panel",3),s.Fc(1,u,4,1,"mat-expansion-panel-header",4),s.Tb(2,"mat-accordion",1),s.Fc(3,h,7,6,"mat-expansion-panel",2),s.Sb(),s.Sb()),2&t){const t=e.$implicit;s.nc("expanded",!0),s.Cb(1),s.nc("ngIf",0!==t.faqList.length),s.Cb(2),s.nc("ngForOf",t.faqList)}}let p=(()=>{class t extends o.a{constructor(t,e,n){super(t),this.translateService=t,this.route=e,this.viewportScroller=n,this.categories=new Array}load(){this.route.data.subscribe(t=>{this.categories=t.categories,setTimeout(()=>{this.route.fragment.subscribe(t=>{t&&(this.viewportScroller.scrollToAnchor(t),this.categories.forEach(e=>{e.faqList&&e.faqList.forEach(e=>{e.ancre===t&&(this.expandFaq=e)})}))})})})}}return t.\u0275fac=function(e){return new(e||t)(s.Nb(l.d),s.Nb(r.a),s.Nb(i.u))},t.\u0275cmp=s.Hb({type:t,selectors:[["app-page-faq"]],features:[s.zb],decls:6,vars:4,consts:[["id","faq",1,"content"],["multi","true"],[3,"expanded",4,"ngFor","ngForOf"],[3,"expanded"],["class","categorie-panel-header",4,"ngIf"],[1,"categorie-panel-header"],[1,"categorie"],[3,"id"],[1,"faq-title"],[1,"faq-content","ql-editor",3,"innerHTML"]],template:function(t,e){1&t&&(s.Tb(0,"div",0),s.Tb(1,"h1"),s.Hc(2),s.gc(3,"translate"),s.Sb(),s.Tb(4,"mat-accordion",1),s.Fc(5,m,4,3,"mat-expansion-panel",2),s.Sb(),s.Sb()),2&t&&(s.Cb(2),s.Ic(s.hc(3,2,"faq.titre")),s.Cb(3),s.nc("ngForOf",e.categories))},directives:[c.a,i.k,c.c,i.l,c.e,c.f],pipes:[l.c,d.a],styles:["@-webkit-keyframes cdk-text-field-autofill-start{\n /*!*/}@-webkit-keyframes cdk-text-field-autofill-end{\n /*!*/}.mat-badge-content{font-weight:600;font-size:12px;font-family:Roboto,Helvetica Neue,sans-serif}.mat-badge-small .mat-badge-content{font-size:9px}.mat-badge-large .mat-badge-content{font-size:24px}.mat-h1,.mat-headline,.mat-typography h1{font:400 24px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h2,.mat-title,.mat-typography h2{font:500 20px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h3,.mat-subheading-2,.mat-typography h3{font:400 16px/28px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h4,.mat-subheading-1,.mat-typography h4{font:400 15px/24px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h5,.mat-typography h5{font:400 calc(14px * .83)/20px Roboto,Helvetica Neue,sans-serif;margin:0 0 12px}.mat-h6,.mat-typography h6{font:400 calc(14px * .67)/20px Roboto,Helvetica Neue,sans-serif;margin:0 0 12px}.mat-body-2,.mat-body-strong{font:500 14px/24px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-body,.mat-body-1,.mat-typography{font:400 14px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-body-1 p,.mat-body p,.mat-typography p{margin:0 0 12px}.mat-caption,.mat-small{font:400 12px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-display-4,.mat-typography .mat-display-4{font:300 112px/112px Roboto,Helvetica Neue,sans-serif;letter-spacing:-.05em;margin:0 0 56px}.mat-display-3,.mat-typography .mat-display-3{font:400 56px/56px Roboto,Helvetica Neue,sans-serif;letter-spacing:-.02em;margin:0 0 64px}.mat-display-2,.mat-typography .mat-display-2{font:400 45px/48px Roboto,Helvetica Neue,sans-serif;letter-spacing:-.005em;margin:0 0 64px}.mat-display-1,.mat-typography .mat-display-1{font:400 34px/40px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 64px}.mat-bottom-sheet-container{font:400 14px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-button,.mat-fab,.mat-flat-button,.mat-icon-button,.mat-mini-fab,.mat-raised-button,.mat-stroked-button{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:500}.mat-button-toggle,.mat-card{font-family:Roboto,Helvetica Neue,sans-serif}.mat-card-title{font-size:24px;font-weight:500}.mat-card-header .mat-card-title{font-size:20px}.mat-card-content,.mat-card-subtitle{font-size:14px}.mat-checkbox{font-family:Roboto,Helvetica Neue,sans-serif}.mat-checkbox-layout .mat-checkbox-label{line-height:24px}.mat-chip{font-size:14px;font-weight:500}.mat-chip .mat-chip-remove.mat-icon,.mat-chip .mat-chip-trailing-icon.mat-icon{font-size:18px}.mat-table{font-family:Roboto,Helvetica Neue,sans-serif}.mat-header-cell{font-size:12px;font-weight:500}.mat-cell,.mat-footer-cell{font-size:14px}.mat-calendar{font-family:Roboto,Helvetica Neue,sans-serif}.mat-calendar-body{font-size:13px}.mat-calendar-body-label,.mat-calendar-period-button{font-size:14px;font-weight:500}.mat-calendar-table-header th{font-size:11px;font-weight:400}.mat-dialog-title{font:500 20px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-expansion-panel-header{font-family:Roboto,Helvetica Neue,sans-serif;font-size:15px;font-weight:400}.mat-expansion-panel-content{font:400 14px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-form-field{font-size:inherit;font-weight:400;line-height:1.125;font-family:Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-form-field-wrapper{padding-bottom:1.34375em}.mat-form-field-prefix .mat-icon,.mat-form-field-suffix .mat-icon{font-size:150%;line-height:1.125}.mat-form-field-prefix .mat-icon-button,.mat-form-field-suffix .mat-icon-button{height:1.5em;width:1.5em}.mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field-suffix .mat-icon-button .mat-icon{height:1.125em;line-height:1.125}.mat-form-field-infix{padding:.5em 0;border-top:.84375em solid rgba(0,0,0,0)}.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label{-ms-transform:translateY(-1.34375em) scale(.75);transform:translateY(-1.34375em) scale(.75);width:133.3333333333%}.mat-form-field-can-float .mat-input-server[label]:not(:label-shown)+.mat-form-field-label-wrapper .mat-form-field-label{-ms-transform:translateY(-1.34374em) scale(.75);transform:translateY(-1.34374em) scale(.75);width:133.3333433333%}.mat-form-field-label-wrapper{top:-.84375em;padding-top:.84375em}.mat-form-field-label{top:1.34375em}.mat-form-field-underline{bottom:1.34375em}.mat-form-field-subscript-wrapper{font-size:75%;margin-top:.6666666667em;top:calc(100% - 1.7916666667em)}.mat-form-field-appearance-legacy .mat-form-field-wrapper{padding-bottom:1.25em}.mat-form-field-appearance-legacy .mat-form-field-infix{padding:.4375em 0}.mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.001px);-ms-transform:translateY(-1.28125em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00101px);-ms-transform:translateY(-1.28124em) scale(.75);width:133.3333433333%}.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-input-server[label]:not(:label-shown)+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00102px);-ms-transform:translateY(-1.28123em) scale(.75);width:133.3333533333%}.mat-form-field-appearance-legacy .mat-form-field-label{top:1.28125em}.mat-form-field-appearance-legacy .mat-form-field-underline{bottom:1.25em}.mat-form-field-appearance-legacy .mat-form-field-subscript-wrapper{margin-top:.5416666667em;top:calc(100% - 1.6666666667em)}@media print{.mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label{-ms-transform:translateY(-1.28122em) scale(.75);transform:translateY(-1.28122em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.28121em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-input-server[label]:not(:label-shown)+.mat-form-field-label-wrapper .mat-form-field-label{-ms-transform:translateY(-1.2812em) scale(.75);transform:translateY(-1.2812em) scale(.75)}}.mat-form-field-appearance-fill .mat-form-field-infix{padding:.25em 0 .75em}.mat-form-field-appearance-fill .mat-form-field-label{top:1.09375em;margin-top:-.5em}.mat-form-field-appearance-fill.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-appearance-fill.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label{-ms-transform:translateY(-.59375em) scale(.75);transform:translateY(-.59375em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-fill.mat-form-field-can-float .mat-input-server[label]:not(:label-shown)+.mat-form-field-label-wrapper .mat-form-field-label{-ms-transform:translateY(-.59374em) scale(.75);transform:translateY(-.59374em) scale(.75);width:133.3333433333%}.mat-form-field-appearance-outline .mat-form-field-infix{padding:1em 0}.mat-form-field-appearance-outline .mat-form-field-label{top:1.84375em;margin-top:-.25em}.mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-appearance-outline.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label{-ms-transform:translateY(-1.59375em) scale(.75);transform:translateY(-1.59375em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-outline.mat-form-field-can-float .mat-input-server[label]:not(:label-shown)+.mat-form-field-label-wrapper .mat-form-field-label{-ms-transform:translateY(-1.59374em) scale(.75);transform:translateY(-1.59374em) scale(.75);width:133.3333433333%}.mat-grid-tile-footer,.mat-grid-tile-header{font-size:14px}.mat-grid-tile-footer .mat-line,.mat-grid-tile-header .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-grid-tile-footer .mat-line:nth-child(n+2),.mat-grid-tile-header .mat-line:nth-child(n+2){font-size:12px}input.mat-input-element{margin-top:-.0625em}.mat-menu-item{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:400}.mat-paginator,.mat-paginator-page-size .mat-select-trigger{font-family:Roboto,Helvetica Neue,sans-serif;font-size:12px}.mat-radio-button,.mat-select{font-family:Roboto,Helvetica Neue,sans-serif}.mat-select-trigger{height:1.125em}.mat-slide-toggle-content,.mat-slider-thumb-label-text{font-family:Roboto,Helvetica Neue,sans-serif}.mat-slider-thumb-label-text{font-size:12px;font-weight:500}.mat-stepper-horizontal,.mat-stepper-vertical{font-family:Roboto,Helvetica Neue,sans-serif}.mat-step-label{font-size:14px;font-weight:400}.mat-step-sub-label-error{font-weight:400}.mat-step-label-error{font-size:14px}.mat-step-label-selected{font-size:14px;font-weight:500}.mat-tab-group,.mat-tab-label,.mat-tab-link{font-family:Roboto,Helvetica Neue,sans-serif}.mat-tab-label,.mat-tab-link{font-size:14px;font-weight:500}.mat-toolbar,.mat-toolbar h1,.mat-toolbar h2,.mat-toolbar h3,.mat-toolbar h4,.mat-toolbar h5,.mat-toolbar h6{font:500 20px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0}.mat-tooltip{font-family:Roboto,Helvetica Neue,sans-serif;font-size:10px;padding-top:6px;padding-bottom:6px}.mat-tooltip-handset{font-size:14px;padding-top:8px;padding-bottom:8px}.mat-list-item,.mat-list-option{font-family:Roboto,Helvetica Neue,sans-serif}.mat-list-base .mat-list-item{font-size:16px}.mat-list-base .mat-list-item .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base .mat-list-item .mat-line:nth-child(n+2){font-size:14px}.mat-list-base .mat-list-option{font-size:16px}.mat-list-base .mat-list-option .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base .mat-list-option .mat-line:nth-child(n+2){font-size:14px}.mat-list-base .mat-subheader{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:500}.mat-list-base[dense] .mat-list-item{font-size:12px}.mat-list-base[dense] .mat-list-item .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[dense] .mat-list-item .mat-line:nth-child(n+2),.mat-list-base[dense] .mat-list-option{font-size:12px}.mat-list-base[dense] .mat-list-option .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[dense] .mat-list-option .mat-line:nth-child(n+2){font-size:12px}.mat-list-base[dense] .mat-subheader{font-family:Roboto,Helvetica Neue,sans-serif;font-size:12px;font-weight:500}.mat-option{font-family:Roboto,Helvetica Neue,sans-serif;font-size:16px}.mat-optgroup-label{font:500 14px/24px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-simple-snackbar{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px}.mat-simple-snackbar-action{line-height:1;font-family:inherit;font-size:inherit;font-weight:500}.mat-tree{font-family:Roboto,Helvetica Neue,sans-serif}.mat-nested-tree-node,.mat-tree-node{font-weight:400;font-size:14px}.mat-ripple{overflow:hidden;position:relative}.mat-ripple:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded{overflow:visible}.mat-ripple-element{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0,0,.2,1);-ms-transform:scale(0);transform:scale(0)}.cdk-high-contrast-active .mat-ripple-element{display:none}.cdk-visually-hidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;outline:0;-webkit-appearance:none;-moz-appearance:none}.cdk-global-overlay-wrapper,.cdk-overlay-container{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed;z-index:1000}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper,.cdk-overlay-pane{display:-ms-flexbox;display:flex;position:absolute;z-index:1000}.cdk-overlay-pane{pointer-events:auto;box-sizing:border-box;max-width:100%;max-height:100%}.cdk-overlay-backdrop{position:absolute;top:0;bottom:0;left:0;right:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:transparent;transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:1}@media screen and (-ms-high-contrast:active){.cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:.6}}.cdk-overlay-dark-backdrop{background:rgba(0,0,0,.32)}.cdk-overlay-transparent-backdrop,.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing{opacity:0}.cdk-overlay-connected-position-bounding-box{position:absolute;z-index:1000;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}@keyframes cdk-text-field-autofill-start{\n /*!*/}@keyframes cdk-text-field-autofill-end{\n /*!*/}.cdk-text-field-autofill-monitored:-webkit-autofill{-webkit-animation:cdk-text-field-autofill-start 0s 1ms;animation:cdk-text-field-autofill-start 0s 1ms}.cdk-text-field-autofill-monitored:not(:-webkit-autofill){-webkit-animation:cdk-text-field-autofill-end 0s 1ms;animation:cdk-text-field-autofill-end 0s 1ms}textarea.cdk-textarea-autosize{resize:none}textarea.cdk-textarea-autosize-measuring{padding:2px 0!important;box-sizing:content-box!important;height:auto!important;overflow:hidden!important}textarea.cdk-textarea-autosize-measuring-firefox{padding:2px 0!important;box-sizing:content-box!important;height:0!important}.mat-focus-indicator,.mat-mdc-focus-indicator{position:relative}.mat-ripple-element{background-color:rgba(0,0,0,.1)}.mat-option{color:rgba(0,0,0,.87)}.mat-option.mat-active,.mat-option.mat-selected:not(.mat-option-multiple):not(.mat-option-disabled),.mat-option:focus:not(.mat-option-disabled),.mat-option:hover:not(.mat-option-disabled){background:rgba(0,0,0,.04)}.mat-option.mat-active{color:rgba(0,0,0,.87)}.mat-option.mat-option-disabled{color:rgba(0,0,0,.38)}.mat-primary .mat-option.mat-selected:not(.mat-option-disabled){color:#004590}.mat-accent .mat-option.mat-selected:not(.mat-option-disabled){color:#009606}.mat-warn .mat-option.mat-selected:not(.mat-option-disabled){color:#e2001d}.mat-optgroup-label{color:rgba(0,0,0,.54)}.mat-optgroup-disabled .mat-optgroup-label{color:rgba(0,0,0,.38)}.mat-pseudo-checkbox{color:rgba(0,0,0,.54)}.mat-pseudo-checkbox:after{color:#fafafa}.mat-pseudo-checkbox-disabled{color:#b0b0b0}.mat-primary .mat-pseudo-checkbox-checked,.mat-primary .mat-pseudo-checkbox-indeterminate{background:#004590}.mat-accent .mat-pseudo-checkbox-checked,.mat-accent .mat-pseudo-checkbox-indeterminate,.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-indeterminate{background:#009606}.mat-warn .mat-pseudo-checkbox-checked,.mat-warn .mat-pseudo-checkbox-indeterminate{background:#e2001d}.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background:#b0b0b0}.mat-app-background{background-color:#fafafa;color:rgba(0,0,0,.87)}.mat-elevation-z0{box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-elevation-z1{box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12)}.mat-elevation-z2{box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.mat-elevation-z3{box-shadow:0 3px 3px -2px rgba(0,0,0,.2),0 3px 4px 0 rgba(0,0,0,.14),0 1px 8px 0 rgba(0,0,0,.12)}.mat-elevation-z4{box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.mat-elevation-z5{box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 5px 8px 0 rgba(0,0,0,.14),0 1px 14px 0 rgba(0,0,0,.12)}.mat-elevation-z6{box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.mat-elevation-z7{box-shadow:0 4px 5px -2px rgba(0,0,0,.2),0 7px 10px 1px rgba(0,0,0,.14),0 2px 16px 1px rgba(0,0,0,.12)}.mat-elevation-z8{box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}.mat-elevation-z9{box-shadow:0 5px 6px -3px rgba(0,0,0,.2),0 9px 12px 1px rgba(0,0,0,.14),0 3px 16px 2px rgba(0,0,0,.12)}.mat-elevation-z10{box-shadow:0 6px 6px -3px rgba(0,0,0,.2),0 10px 14px 1px rgba(0,0,0,.14),0 4px 18px 3px rgba(0,0,0,.12)}.mat-elevation-z11{box-shadow:0 6px 7px -4px rgba(0,0,0,.2),0 11px 15px 1px rgba(0,0,0,.14),0 4px 20px 3px rgba(0,0,0,.12)}.mat-elevation-z12{box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 12px 17px 2px rgba(0,0,0,.14),0 5px 22px 4px rgba(0,0,0,.12)}.mat-elevation-z13{box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 13px 19px 2px rgba(0,0,0,.14),0 5px 24px 4px rgba(0,0,0,.12)}.mat-elevation-z14{box-shadow:0 7px 9px -4px rgba(0,0,0,.2),0 14px 21px 2px rgba(0,0,0,.14),0 5px 26px 4px rgba(0,0,0,.12)}.mat-elevation-z15{box-shadow:0 8px 9px -5px rgba(0,0,0,.2),0 15px 22px 2px rgba(0,0,0,.14),0 6px 28px 5px rgba(0,0,0,.12)}.mat-elevation-z16{box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12)}.mat-elevation-z17{box-shadow:0 8px 11px -5px rgba(0,0,0,.2),0 17px 26px 2px rgba(0,0,0,.14),0 6px 32px 5px rgba(0,0,0,.12)}.mat-elevation-z18{box-shadow:0 9px 11px -5px rgba(0,0,0,.2),0 18px 28px 2px rgba(0,0,0,.14),0 7px 34px 6px rgba(0,0,0,.12)}.mat-elevation-z19{box-shadow:0 9px 12px -6px rgba(0,0,0,.2),0 19px 29px 2px rgba(0,0,0,.14),0 7px 36px 6px rgba(0,0,0,.12)}.mat-elevation-z20{box-shadow:0 10px 13px -6px rgba(0,0,0,.2),0 20px 31px 3px rgba(0,0,0,.14),0 8px 38px 7px rgba(0,0,0,.12)}.mat-elevation-z21{box-shadow:0 10px 13px -6px rgba(0,0,0,.2),0 21px 33px 3px rgba(0,0,0,.14),0 8px 40px 7px rgba(0,0,0,.12)}.mat-elevation-z22{box-shadow:0 10px 14px -6px rgba(0,0,0,.2),0 22px 35px 3px rgba(0,0,0,.14),0 8px 42px 7px rgba(0,0,0,.12)}.mat-elevation-z23{box-shadow:0 11px 14px -7px rgba(0,0,0,.2),0 23px 36px 3px rgba(0,0,0,.14),0 9px 44px 8px rgba(0,0,0,.12)}.mat-elevation-z24{box-shadow:0 11px 15px -7px rgba(0,0,0,.2),0 24px 38px 3px rgba(0,0,0,.14),0 9px 46px 8px rgba(0,0,0,.12)}.mat-theme-loaded-marker{display:none}.mat-autocomplete-panel{background:#fff;color:rgba(0,0,0,.87)}.mat-autocomplete-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.mat-autocomplete-panel .mat-option.mat-selected:not(.mat-active):not(:hover){background:#fff}.mat-autocomplete-panel .mat-option.mat-selected:not(.mat-active):not(:hover):not(.mat-option-disabled){color:rgba(0,0,0,.87)}.mat-badge-content{color:#fff;background:#004590}.cdk-high-contrast-active .mat-badge-content{outline:1px solid;border-radius:0}.mat-badge-accent .mat-badge-content{background:#009606;color:#fff}.mat-badge-warn .mat-badge-content{color:#fff;background:#e2001d}.mat-badge{position:relative}.mat-badge-hidden .mat-badge-content{display:none}.mat-badge-disabled .mat-badge-content{background:#b9b9b9;color:rgba(0,0,0,.38)}.mat-badge-content{position:absolute;text-align:center;display:inline-block;border-radius:50%;transition:transform .2s ease-in-out;-ms-transform:scale(.6);transform:scale(.6);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;pointer-events:none}.mat-badge-content._mat-animation-noopable,.ng-animate-disabled .mat-badge-content{transition:none}.mat-badge-content.mat-badge-active{-ms-transform:none;transform:none}.mat-badge-small .mat-badge-content{width:16px;height:16px;line-height:16px}.mat-badge-small.mat-badge-above .mat-badge-content{top:-8px}.mat-badge-small.mat-badge-below .mat-badge-content{bottom:-8px}.mat-badge-small.mat-badge-before .mat-badge-content{left:-16px}[dir=rtl] .mat-badge-small.mat-badge-before .mat-badge-content{left:auto;right:-16px}.mat-badge-small.mat-badge-after .mat-badge-content{right:-16px}[dir=rtl] .mat-badge-small.mat-badge-after .mat-badge-content{right:auto;left:-16px}.mat-badge-small.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-8px}[dir=rtl] .mat-badge-small.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-8px}.mat-badge-small.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-8px}[dir=rtl] .mat-badge-small.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-8px}.mat-badge-medium .mat-badge-content{width:22px;height:22px;line-height:22px}.mat-badge-medium.mat-badge-above .mat-badge-content{top:-11px}.mat-badge-medium.mat-badge-below .mat-badge-content{bottom:-11px}.mat-badge-medium.mat-badge-before .mat-badge-content{left:-22px}[dir=rtl] .mat-badge-medium.mat-badge-before .mat-badge-content{left:auto;right:-22px}.mat-badge-medium.mat-badge-after .mat-badge-content{right:-22px}[dir=rtl] .mat-badge-medium.mat-badge-after .mat-badge-content{right:auto;left:-22px}.mat-badge-medium.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-11px}[dir=rtl] .mat-badge-medium.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-11px}.mat-badge-medium.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-11px}[dir=rtl] .mat-badge-medium.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-11px}.mat-badge-large .mat-badge-content{width:28px;height:28px;line-height:28px}.mat-badge-large.mat-badge-above .mat-badge-content{top:-14px}.mat-badge-large.mat-badge-below .mat-badge-content{bottom:-14px}.mat-badge-large.mat-badge-before .mat-badge-content{left:-28px}[dir=rtl] .mat-badge-large.mat-badge-before .mat-badge-content{left:auto;right:-28px}.mat-badge-large.mat-badge-after .mat-badge-content{right:-28px}[dir=rtl] .mat-badge-large.mat-badge-after .mat-badge-content{right:auto;left:-28px}.mat-badge-large.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-14px}[dir=rtl] .mat-badge-large.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-14px}.mat-badge-large.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-14px}[dir=rtl] .mat-badge-large.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-14px}.mat-bottom-sheet-container{box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12);background:#fff;color:rgba(0,0,0,.87)}.mat-button,.mat-icon-button,.mat-stroked-button{color:inherit;background:rgba(0,0,0,0)}.mat-button.mat-primary,.mat-icon-button.mat-primary,.mat-stroked-button.mat-primary{color:#004590}.mat-button.mat-accent,.mat-icon-button.mat-accent,.mat-stroked-button.mat-accent{color:#009606}.mat-button.mat-warn,.mat-icon-button.mat-warn,.mat-stroked-button.mat-warn{color:#e2001d}.mat-button.mat-accent.mat-button-disabled,.mat-button.mat-button-disabled.mat-button-disabled,.mat-button.mat-primary.mat-button-disabled,.mat-button.mat-warn.mat-button-disabled,.mat-icon-button.mat-accent.mat-button-disabled,.mat-icon-button.mat-button-disabled.mat-button-disabled,.mat-icon-button.mat-primary.mat-button-disabled,.mat-icon-button.mat-warn.mat-button-disabled,.mat-stroked-button.mat-accent.mat-button-disabled,.mat-stroked-button.mat-button-disabled.mat-button-disabled,.mat-stroked-button.mat-primary.mat-button-disabled,.mat-stroked-button.mat-warn.mat-button-disabled{color:rgba(0,0,0,.26)}.mat-button.mat-primary .mat-button-focus-overlay,.mat-icon-button.mat-primary .mat-button-focus-overlay,.mat-stroked-button.mat-primary .mat-button-focus-overlay{background-color:#004590}.mat-button.mat-accent .mat-button-focus-overlay,.mat-icon-button.mat-accent .mat-button-focus-overlay,.mat-stroked-button.mat-accent .mat-button-focus-overlay{background-color:#009606}.mat-button.mat-warn .mat-button-focus-overlay,.mat-icon-button.mat-warn .mat-button-focus-overlay,.mat-stroked-button.mat-warn .mat-button-focus-overlay{background-color:#e2001d}.mat-button.mat-button-disabled .mat-button-focus-overlay,.mat-icon-button.mat-button-disabled .mat-button-focus-overlay,.mat-stroked-button.mat-button-disabled .mat-button-focus-overlay{background-color:rgba(0,0,0,0)}.mat-button .mat-ripple-element,.mat-icon-button .mat-ripple-element,.mat-stroked-button .mat-ripple-element{opacity:.1;background-color:currentColor}.mat-button-focus-overlay{background:#000}.mat-stroked-button:not(.mat-button-disabled){border-color:rgba(0,0,0,.12)}.mat-fab,.mat-flat-button,.mat-mini-fab,.mat-raised-button{color:rgba(0,0,0,.87);background-color:#fff}.mat-fab.mat-accent,.mat-fab.mat-primary,.mat-fab.mat-warn,.mat-flat-button.mat-accent,.mat-flat-button.mat-primary,.mat-flat-button.mat-warn,.mat-mini-fab.mat-accent,.mat-mini-fab.mat-primary,.mat-mini-fab.mat-warn,.mat-raised-button.mat-accent,.mat-raised-button.mat-primary,.mat-raised-button.mat-warn{color:#fff}.mat-fab.mat-accent.mat-button-disabled,.mat-fab.mat-button-disabled.mat-button-disabled,.mat-fab.mat-primary.mat-button-disabled,.mat-fab.mat-warn.mat-button-disabled,.mat-flat-button.mat-accent.mat-button-disabled,.mat-flat-button.mat-button-disabled.mat-button-disabled,.mat-flat-button.mat-primary.mat-button-disabled,.mat-flat-button.mat-warn.mat-button-disabled,.mat-mini-fab.mat-accent.mat-button-disabled,.mat-mini-fab.mat-button-disabled.mat-button-disabled,.mat-mini-fab.mat-primary.mat-button-disabled,.mat-mini-fab.mat-warn.mat-button-disabled,.mat-raised-button.mat-accent.mat-button-disabled,.mat-raised-button.mat-button-disabled.mat-button-disabled,.mat-raised-button.mat-primary.mat-button-disabled,.mat-raised-button.mat-warn.mat-button-disabled{color:rgba(0,0,0,.26)}.mat-fab.mat-primary,.mat-flat-button.mat-primary,.mat-mini-fab.mat-primary,.mat-raised-button.mat-primary{background-color:#004590}.mat-fab.mat-accent,.mat-flat-button.mat-accent,.mat-mini-fab.mat-accent,.mat-raised-button.mat-accent{background-color:#009606}.mat-fab.mat-warn,.mat-flat-button.mat-warn,.mat-mini-fab.mat-warn,.mat-raised-button.mat-warn{background-color:#e2001d}.mat-fab.mat-accent.mat-button-disabled,.mat-fab.mat-button-disabled.mat-button-disabled,.mat-fab.mat-primary.mat-button-disabled,.mat-fab.mat-warn.mat-button-disabled,.mat-flat-button.mat-accent.mat-button-disabled,.mat-flat-button.mat-button-disabled.mat-button-disabled,.mat-flat-button.mat-primary.mat-button-disabled,.mat-flat-button.mat-warn.mat-button-disabled,.mat-mini-fab.mat-accent.mat-button-disabled,.mat-mini-fab.mat-button-disabled.mat-button-disabled,.mat-mini-fab.mat-primary.mat-button-disabled,.mat-mini-fab.mat-warn.mat-button-disabled,.mat-raised-button.mat-accent.mat-button-disabled,.mat-raised-button.mat-button-disabled.mat-button-disabled,.mat-raised-button.mat-primary.mat-button-disabled,.mat-raised-button.mat-warn.mat-button-disabled{background-color:rgba(0,0,0,.12)}.mat-fab.mat-accent .mat-ripple-element,.mat-fab.mat-primary .mat-ripple-element,.mat-fab.mat-warn .mat-ripple-element,.mat-flat-button.mat-accent .mat-ripple-element,.mat-flat-button.mat-primary .mat-ripple-element,.mat-flat-button.mat-warn .mat-ripple-element,.mat-mini-fab.mat-accent .mat-ripple-element,.mat-mini-fab.mat-primary .mat-ripple-element,.mat-mini-fab.mat-warn .mat-ripple-element,.mat-raised-button.mat-accent .mat-ripple-element,.mat-raised-button.mat-primary .mat-ripple-element,.mat-raised-button.mat-warn .mat-ripple-element{background-color:hsla(0,0%,100%,.1)}.mat-flat-button:not([class*=mat-elevation-z]),.mat-stroked-button:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-raised-button:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.mat-raised-button:not(.mat-button-disabled):active:not([class*=mat-elevation-z]){box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}.mat-raised-button.mat-button-disabled:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-fab:not([class*=mat-elevation-z]),.mat-mini-fab:not([class*=mat-elevation-z]){box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.mat-fab:not(.mat-button-disabled):active:not([class*=mat-elevation-z]),.mat-mini-fab:not(.mat-button-disabled):active:not([class*=mat-elevation-z]){box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 12px 17px 2px rgba(0,0,0,.14),0 5px 22px 4px rgba(0,0,0,.12)}.mat-fab.mat-button-disabled:not([class*=mat-elevation-z]),.mat-mini-fab.mat-button-disabled:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-button-toggle-group,.mat-button-toggle-standalone{box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.mat-button-toggle-group-appearance-standard,.mat-button-toggle-standalone.mat-button-toggle-appearance-standard{box-shadow:none}.mat-button-toggle{color:rgba(0,0,0,.38)}.mat-button-toggle .mat-button-toggle-focus-overlay{background-color:rgba(0,0,0,.12)}.mat-button-toggle-appearance-standard{color:rgba(0,0,0,.87);background:#fff}.mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay{background-color:#000}.mat-button-toggle-group-appearance-standard .mat-button-toggle+.mat-button-toggle{border-left:1px solid rgba(0,0,0,.12)}[dir=rtl] .mat-button-toggle-group-appearance-standard .mat-button-toggle+.mat-button-toggle{border-left:none;border-right:1px solid rgba(0,0,0,.12)}.mat-button-toggle-group-appearance-standard.mat-button-toggle-vertical .mat-button-toggle+.mat-button-toggle{border-left:none;border-right:none;border-top:1px solid rgba(0,0,0,.12)}.mat-button-toggle-checked{background-color:#e0e0e0;color:rgba(0,0,0,.54)}.mat-button-toggle-checked.mat-button-toggle-appearance-standard{color:rgba(0,0,0,.87)}.mat-button-toggle-disabled{color:rgba(0,0,0,.26);background-color:#eee}.mat-button-toggle-disabled.mat-button-toggle-appearance-standard{background:#fff}.mat-button-toggle-disabled.mat-button-toggle-checked{background-color:#bdbdbd}.mat-button-toggle-group-appearance-standard,.mat-button-toggle-standalone.mat-button-toggle-appearance-standard{border:1px solid rgba(0,0,0,.12)}.mat-button-toggle-appearance-standard .mat-button-toggle-label-content{line-height:48px}.mat-card{background:#fff;color:rgba(0,0,0,.87)}.mat-card:not([class*=mat-elevation-z]){box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12)}.mat-card.mat-card-flat:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-card-subtitle{color:rgba(0,0,0,.54)}.mat-checkbox-frame{border-color:rgba(0,0,0,.54)}.mat-checkbox-checkmark{fill:#fafafa}.mat-checkbox-checkmark-path{stroke:#fafafa!important}.mat-checkbox-mixedmark{background-color:#fafafa}.mat-checkbox-checked.mat-primary .mat-checkbox-background,.mat-checkbox-indeterminate.mat-primary .mat-checkbox-background{background-color:#004590}.mat-checkbox-checked.mat-accent .mat-checkbox-background,.mat-checkbox-indeterminate.mat-accent .mat-checkbox-background{background-color:#009606}.mat-checkbox-checked.mat-warn .mat-checkbox-background,.mat-checkbox-indeterminate.mat-warn .mat-checkbox-background{background-color:#e2001d}.mat-checkbox-disabled.mat-checkbox-checked .mat-checkbox-background,.mat-checkbox-disabled.mat-checkbox-indeterminate .mat-checkbox-background{background-color:#b0b0b0}.mat-checkbox-disabled:not(.mat-checkbox-checked) .mat-checkbox-frame{border-color:#b0b0b0}.mat-checkbox-disabled .mat-checkbox-label{color:rgba(0,0,0,.54)}.mat-checkbox .mat-ripple-element{background-color:#000}.mat-checkbox-checked:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element,.mat-checkbox:active:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element{background:#004590}.mat-checkbox-checked:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element,.mat-checkbox:active:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element{background:#009606}.mat-checkbox-checked:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element,.mat-checkbox:active:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element{background:#e2001d}.mat-chip.mat-standard-chip{background-color:#e0e0e0;color:rgba(0,0,0,.87)}.mat-chip.mat-standard-chip .mat-chip-remove{color:rgba(0,0,0,.87);opacity:.4}.mat-chip.mat-standard-chip:not(.mat-chip-disabled):active{box-shadow:0 3px 3px -2px rgba(0,0,0,.2),0 3px 4px 0 rgba(0,0,0,.14),0 1px 8px 0 rgba(0,0,0,.12)}.mat-chip.mat-standard-chip:not(.mat-chip-disabled) .mat-chip-remove:hover{opacity:.54}.mat-chip.mat-standard-chip.mat-chip-disabled{opacity:.4}.mat-chip.mat-standard-chip:after{background:#000}.mat-chip.mat-standard-chip.mat-chip-selected.mat-primary{background-color:#004590;color:#fff}.mat-chip.mat-standard-chip.mat-chip-selected.mat-primary .mat-chip-remove{color:#fff;opacity:.4}.mat-chip.mat-standard-chip.mat-chip-selected.mat-primary .mat-ripple-element{background-color:hsla(0,0%,100%,.1)}.mat-chip.mat-standard-chip.mat-chip-selected.mat-warn{background-color:#e2001d;color:#fff}.mat-chip.mat-standard-chip.mat-chip-selected.mat-warn .mat-chip-remove{color:#fff;opacity:.4}.mat-chip.mat-standard-chip.mat-chip-selected.mat-warn .mat-ripple-element{background-color:hsla(0,0%,100%,.1)}.mat-chip.mat-standard-chip.mat-chip-selected.mat-accent{background-color:#009606;color:#fff}.mat-chip.mat-standard-chip.mat-chip-selected.mat-accent .mat-chip-remove{color:#fff;opacity:.4}.mat-chip.mat-standard-chip.mat-chip-selected.mat-accent .mat-ripple-element{background-color:hsla(0,0%,100%,.1)}.mat-table{background:#fff}.mat-table-sticky,.mat-table tbody,.mat-table tfoot,.mat-table thead,[mat-footer-row],[mat-header-row],[mat-row],mat-footer-row,mat-header-row,mat-row{background:inherit}mat-footer-row,mat-header-row,mat-row,td.mat-cell,td.mat-footer-cell,th.mat-header-cell{border-bottom-color:rgba(0,0,0,.12)}.mat-header-cell{color:rgba(0,0,0,.54)}.mat-cell,.mat-footer-cell{color:rgba(0,0,0,.87)}.mat-calendar-arrow{border-top-color:rgba(0,0,0,.54)}.mat-datepicker-content .mat-calendar-next-button,.mat-datepicker-content .mat-calendar-previous-button,.mat-datepicker-toggle{color:rgba(0,0,0,.54)}.mat-calendar-table-header{color:rgba(0,0,0,.38)}.mat-calendar-table-header-divider:after{background:rgba(0,0,0,.12)}.mat-calendar-body-label{color:rgba(0,0,0,.54)}.mat-calendar-body-cell-content,.mat-date-range-input-separator{color:rgba(0,0,0,.87);border-color:rgba(0,0,0,0)}.mat-calendar-body-disabled>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.mat-form-field-disabled .mat-date-range-input-separator{color:rgba(0,0,0,.38)}.mat-calendar-body-in-preview{color:rgba(0,0,0,.24)}.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:rgba(0,0,0,.38)}.mat-calendar-body-disabled>.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:rgba(0,0,0,.18)}.mat-calendar-body-in-range:before{background:rgba(0,69,144,.2)}.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.mat-calendar-body-comparison-bridge-start:before,[dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(90deg,rgba(0,69,144,.2) 50%,rgba(249,171,0,.2) 0)}.mat-calendar-body-comparison-bridge-end:before,[dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(270deg,rgba(0,69,144,.2) 50%,rgba(249,171,0,.2) 0)}.mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after,.mat-calendar-body-in-range>.mat-calendar-body-comparison-identical{background:#a8dab5}.mat-calendar-body-comparison-identical.mat-calendar-body-selected,.mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.mat-calendar-body-selected{background-color:#004590;color:#fff}.mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:rgba(0,69,144,.4)}.mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:rgba(0,69,144,.3)}.mat-datepicker-content{box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12);background-color:#fff;color:rgba(0,0,0,.87)}.mat-datepicker-content.mat-accent .mat-calendar-body-in-range:before{background:rgba(0,150,6,.2)}.mat-datepicker-content.mat-accent .mat-calendar-body-comparison-identical,.mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.mat-datepicker-content.mat-accent .mat-calendar-body-comparison-bridge-start:before,.mat-datepicker-content.mat-accent [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(90deg,rgba(0,150,6,.2) 50%,rgba(249,171,0,.2) 0)}.mat-datepicker-content.mat-accent .mat-calendar-body-comparison-bridge-end:before,.mat-datepicker-content.mat-accent [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(270deg,rgba(0,150,6,.2) 50%,rgba(249,171,0,.2) 0)}.mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after,.mat-datepicker-content.mat-accent .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical{background:#a8dab5}.mat-datepicker-content.mat-accent .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.mat-datepicker-content.mat-accent .mat-calendar-body-selected{background-color:#009606;color:#fff}.mat-datepicker-content.mat-accent .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:rgba(0,150,6,.4)}.mat-datepicker-content.mat-accent .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.mat-datepicker-content.mat-accent .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.mat-datepicker-content.mat-accent .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.mat-datepicker-content.mat-accent .mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:rgba(0,150,6,.3)}.mat-datepicker-content.mat-warn .mat-calendar-body-in-range:before{background:rgba(226,0,29,.2)}.mat-datepicker-content.mat-warn .mat-calendar-body-comparison-identical,.mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.mat-datepicker-content.mat-warn .mat-calendar-body-comparison-bridge-start:before,.mat-datepicker-content.mat-warn [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(90deg,rgba(226,0,29,.2) 50%,rgba(249,171,0,.2) 0)}.mat-datepicker-content.mat-warn .mat-calendar-body-comparison-bridge-end:before,.mat-datepicker-content.mat-warn [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(270deg,rgba(226,0,29,.2) 50%,rgba(249,171,0,.2) 0)}.mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after,.mat-datepicker-content.mat-warn .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical{background:#a8dab5}.mat-datepicker-content.mat-warn .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.mat-datepicker-content.mat-warn .mat-calendar-body-selected{background-color:#e2001d;color:#fff}.mat-datepicker-content.mat-warn .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:rgba(226,0,29,.4)}.mat-datepicker-content.mat-warn .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.mat-datepicker-content.mat-warn .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.mat-datepicker-content.mat-warn .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.mat-datepicker-content.mat-warn .mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:rgba(226,0,29,.3)}.mat-datepicker-content-touch{box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-datepicker-toggle-active{color:#004590}.mat-datepicker-toggle-active.mat-accent{color:#009606}.mat-datepicker-toggle-active.mat-warn{color:#e2001d}.mat-date-range-input-inner[disabled]{color:rgba(0,0,0,.38)}.mat-dialog-container{box-shadow:0 11px 15px -7px rgba(0,0,0,.2),0 24px 38px 3px rgba(0,0,0,.14),0 9px 46px 8px rgba(0,0,0,.12);background:#fff;color:rgba(0,0,0,.87)}.mat-divider{border-top-color:rgba(0,0,0,.12)}.mat-divider-vertical{border-right-color:rgba(0,0,0,.12)}.mat-expansion-panel{background:#fff;color:rgba(0,0,0,.87)}.mat-expansion-panel:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.mat-action-row{border-top-color:rgba(0,0,0,.12)}.mat-expansion-panel .mat-expansion-panel-header.cdk-keyboard-focused:not([aria-disabled=true]),.mat-expansion-panel .mat-expansion-panel-header.cdk-program-focused:not([aria-disabled=true]),.mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:hover:not([aria-disabled=true]){background:rgba(0,0,0,.04)}@media (hover:none){.mat-expansion-panel:not(.mat-expanded):not([aria-disabled=true]) .mat-expansion-panel-header:hover{background:#fff}}.mat-expansion-panel-header-title{color:rgba(0,0,0,.87)}.mat-expansion-indicator:after,.mat-expansion-panel-header-description{color:rgba(0,0,0,.54)}.mat-expansion-panel-header[aria-disabled=true]{color:rgba(0,0,0,.26)}.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-description,.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-title{color:inherit}.mat-expansion-panel-header{height:48px}.mat-expansion-panel-header.mat-expanded{height:64px}.mat-form-field-label,.mat-hint{color:rgba(0,0,0,.6)}.mat-form-field.mat-focused .mat-form-field-label{color:#004590}.mat-form-field.mat-focused .mat-form-field-label.mat-accent{color:#009606}.mat-form-field.mat-focused .mat-form-field-label.mat-warn{color:#e2001d}.mat-focused .mat-form-field-required-marker{color:#009606}.mat-form-field-ripple{background-color:rgba(0,0,0,.87)}.mat-form-field.mat-focused .mat-form-field-ripple{background-color:#004590}.mat-form-field.mat-focused .mat-form-field-ripple.mat-accent{background-color:#009606}.mat-form-field.mat-focused .mat-form-field-ripple.mat-warn{background-color:#e2001d}.mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid) .mat-form-field-infix:after{color:#004590}.mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid).mat-accent .mat-form-field-infix:after{color:#009606}.mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid).mat-warn .mat-form-field-infix:after,.mat-form-field.mat-form-field-invalid .mat-form-field-label,.mat-form-field.mat-form-field-invalid .mat-form-field-label.mat-accent,.mat-form-field.mat-form-field-invalid .mat-form-field-label .mat-form-field-required-marker{color:#e2001d}.mat-form-field.mat-form-field-invalid .mat-form-field-ripple,.mat-form-field.mat-form-field-invalid .mat-form-field-ripple.mat-accent{background-color:#e2001d}.mat-error{color:#e2001d}.mat-form-field-appearance-legacy .mat-form-field-label,.mat-form-field-appearance-legacy .mat-hint{color:rgba(0,0,0,.54)}.mat-form-field-appearance-legacy .mat-form-field-underline{background-color:rgba(0,0,0,.42)}.mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{background-image:linear-gradient(90deg,rgba(0,0,0,.42) 0,rgba(0,0,0,.42) 33%,rgba(0,0,0,0) 0);background-size:4px 100%;background-repeat:repeat-x}.mat-form-field-appearance-standard .mat-form-field-underline{background-color:rgba(0,0,0,.42)}.mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{background-image:linear-gradient(90deg,rgba(0,0,0,.42) 0,rgba(0,0,0,.42) 33%,rgba(0,0,0,0) 0);background-size:4px 100%;background-repeat:repeat-x}.mat-form-field-appearance-fill .mat-form-field-flex{background-color:rgba(0,0,0,.04)}.mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-flex{background-color:rgba(0,0,0,.02)}.mat-form-field-appearance-fill .mat-form-field-underline:before{background-color:rgba(0,0,0,.42)}.mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-label{color:rgba(0,0,0,.38)}.mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-underline:before{background-color:rgba(0,0,0,0)}.mat-form-field-appearance-outline .mat-form-field-outline{color:rgba(0,0,0,.12)}.mat-form-field-appearance-outline .mat-form-field-outline-thick{color:rgba(0,0,0,.87)}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick{color:#004590}.mat-form-field-appearance-outline.mat-focused.mat-accent .mat-form-field-outline-thick{color:#009606}.mat-form-field-appearance-outline.mat-focused.mat-warn .mat-form-field-outline-thick,.mat-form-field-appearance-outline.mat-form-field-invalid.mat-form-field-invalid .mat-form-field-outline-thick{color:#e2001d}.mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-label{color:rgba(0,0,0,.38)}.mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-outline{color:rgba(0,0,0,.06)}.mat-icon.mat-primary{color:#004590}.mat-icon.mat-accent{color:#009606}.mat-icon.mat-warn{color:#e2001d}.mat-form-field-type-mat-native-select .mat-form-field-infix:after{color:rgba(0,0,0,.54)}.mat-form-field-type-mat-native-select.mat-form-field-disabled .mat-form-field-infix:after,.mat-input-element:disabled{color:rgba(0,0,0,.38)}.mat-input-element{caret-color:#004590}.mat-input-element::placeholder{color:rgba(0,0,0,.42)}.mat-input-element::-moz-placeholder{color:rgba(0,0,0,.42)}.mat-input-element::-webkit-input-placeholder{color:rgba(0,0,0,.42)}.mat-input-element:-ms-input-placeholder{color:rgba(0,0,0,.42)}.mat-form-field.mat-accent .mat-input-element{caret-color:#009606}.mat-form-field-invalid .mat-input-element,.mat-form-field.mat-warn .mat-input-element{caret-color:#e2001d}.mat-form-field-type-mat-native-select.mat-form-field-invalid .mat-form-field-infix:after{color:#e2001d}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{color:rgba(0,0,0,.87)}.mat-list-base .mat-subheader{color:rgba(0,0,0,.54)}.mat-list-item-disabled{background-color:#eee}.mat-action-list .mat-list-item:focus,.mat-action-list .mat-list-item:hover,.mat-list-option:focus,.mat-list-option:hover,.mat-nav-list .mat-list-item:focus,.mat-nav-list .mat-list-item:hover{background:rgba(0,0,0,.04)}.mat-list-single-selected-option,.mat-list-single-selected-option:focus,.mat-list-single-selected-option:hover{background:rgba(0,0,0,.12)}.mat-menu-panel{background:#fff}.mat-menu-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.mat-menu-item{background:rgba(0,0,0,0);color:rgba(0,0,0,.87)}.mat-menu-item[disabled],.mat-menu-item[disabled] .mat-icon-no-color,.mat-menu-item[disabled]:after{color:rgba(0,0,0,.38)}.mat-menu-item-submenu-trigger:after,.mat-menu-item .mat-icon-no-color{color:rgba(0,0,0,.54)}.mat-menu-item-highlighted:not([disabled]),.mat-menu-item.cdk-keyboard-focused:not([disabled]),.mat-menu-item.cdk-program-focused:not([disabled]),.mat-menu-item:hover:not([disabled]){background:rgba(0,0,0,.04)}.mat-paginator{background:#fff}.mat-paginator,.mat-paginator-page-size .mat-select-trigger{color:rgba(0,0,0,.54)}.mat-paginator-decrement,.mat-paginator-increment{border-top:2px solid rgba(0,0,0,.54);border-right:2px solid rgba(0,0,0,.54)}.mat-paginator-first,.mat-paginator-last{border-top:2px solid rgba(0,0,0,.54)}.mat-icon-button[disabled] .mat-paginator-decrement,.mat-icon-button[disabled] .mat-paginator-first,.mat-icon-button[disabled] .mat-paginator-increment,.mat-icon-button[disabled] .mat-paginator-last{border-color:rgba(0,0,0,.38)}.mat-paginator-container{min-height:56px}.mat-progress-bar-background{fill:#b3c7de}.mat-progress-bar-buffer{background-color:#b3c7de}.mat-progress-bar-fill:after{background-color:#004590}.mat-progress-bar.mat-accent .mat-progress-bar-background{fill:#b3e0b4}.mat-progress-bar.mat-accent .mat-progress-bar-buffer{background-color:#b3e0b4}.mat-progress-bar.mat-accent .mat-progress-bar-fill:after{background-color:#009606}.mat-progress-bar.mat-warn .mat-progress-bar-background{fill:#f6b3bb}.mat-progress-bar.mat-warn .mat-progress-bar-buffer{background-color:#f6b3bb}.mat-progress-bar.mat-warn .mat-progress-bar-fill:after{background-color:#e2001d}.mat-progress-spinner circle,.mat-spinner circle{stroke:#004590}.mat-progress-spinner.mat-accent circle,.mat-spinner.mat-accent circle{stroke:#009606}.mat-progress-spinner.mat-warn circle,.mat-spinner.mat-warn circle{stroke:#e2001d}.mat-radio-outer-circle{border-color:rgba(0,0,0,.54)}.mat-radio-button.mat-primary.mat-radio-checked .mat-radio-outer-circle{border-color:#004590}.mat-radio-button.mat-primary.mat-radio-checked .mat-radio-persistent-ripple,.mat-radio-button.mat-primary .mat-radio-inner-circle,.mat-radio-button.mat-primary .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.mat-radio-button.mat-primary:active .mat-radio-persistent-ripple{background-color:#004590}.mat-radio-button.mat-accent.mat-radio-checked .mat-radio-outer-circle{border-color:#009606}.mat-radio-button.mat-accent.mat-radio-checked .mat-radio-persistent-ripple,.mat-radio-button.mat-accent .mat-radio-inner-circle,.mat-radio-button.mat-accent .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.mat-radio-button.mat-accent:active .mat-radio-persistent-ripple{background-color:#009606}.mat-radio-button.mat-warn.mat-radio-checked .mat-radio-outer-circle{border-color:#e2001d}.mat-radio-button.mat-warn.mat-radio-checked .mat-radio-persistent-ripple,.mat-radio-button.mat-warn .mat-radio-inner-circle,.mat-radio-button.mat-warn .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.mat-radio-button.mat-warn:active .mat-radio-persistent-ripple{background-color:#e2001d}.mat-radio-button.mat-radio-disabled.mat-radio-checked .mat-radio-outer-circle,.mat-radio-button.mat-radio-disabled .mat-radio-outer-circle{border-color:rgba(0,0,0,.38)}.mat-radio-button.mat-radio-disabled .mat-radio-inner-circle,.mat-radio-button.mat-radio-disabled .mat-radio-ripple .mat-ripple-element{background-color:rgba(0,0,0,.38)}.mat-radio-button.mat-radio-disabled .mat-radio-label-content{color:rgba(0,0,0,.38)}.mat-radio-button .mat-ripple-element{background-color:#000}.mat-select-value{color:rgba(0,0,0,.87)}.mat-select-placeholder{color:rgba(0,0,0,.42)}.mat-select-disabled .mat-select-value{color:rgba(0,0,0,.38)}.mat-select-arrow{color:rgba(0,0,0,.54)}.mat-select-panel{background:#fff}.mat-select-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.mat-select-panel .mat-option.mat-selected:not(.mat-option-multiple){background:rgba(0,0,0,.12)}.mat-form-field.mat-focused.mat-primary .mat-select-arrow{color:#004590}.mat-form-field.mat-focused.mat-accent .mat-select-arrow{color:#009606}.mat-form-field.mat-focused.mat-warn .mat-select-arrow,.mat-form-field .mat-select.mat-select-invalid .mat-select-arrow{color:#e2001d}.mat-form-field .mat-select.mat-select-disabled .mat-select-arrow{color:rgba(0,0,0,.38)}.mat-drawer-container{background-color:#fafafa;color:rgba(0,0,0,.87)}.mat-drawer{color:rgba(0,0,0,.87)}.mat-drawer,.mat-drawer.mat-drawer-push{background-color:#fff}.mat-drawer:not(.mat-drawer-side){box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12)}.mat-drawer-side{border-right:1px solid rgba(0,0,0,.12)}.mat-drawer-side.mat-drawer-end,[dir=rtl] .mat-drawer-side{border-left:1px solid rgba(0,0,0,.12);border-right:none}[dir=rtl] .mat-drawer-side.mat-drawer-end{border-left:none;border-right:1px solid rgba(0,0,0,.12)}.mat-drawer-backdrop.mat-drawer-shown{background-color:rgba(0,0,0,.6)}.mat-slide-toggle.mat-checked .mat-slide-toggle-thumb{background-color:#009606}.mat-slide-toggle.mat-checked .mat-slide-toggle-bar{background-color:rgba(0,150,6,.54)}.mat-slide-toggle.mat-checked .mat-ripple-element{background-color:#009606}.mat-slide-toggle.mat-primary.mat-checked .mat-slide-toggle-thumb{background-color:#004590}.mat-slide-toggle.mat-primary.mat-checked .mat-slide-toggle-bar{background-color:rgba(0,69,144,.54)}.mat-slide-toggle.mat-primary.mat-checked .mat-ripple-element{background-color:#004590}.mat-slide-toggle.mat-warn.mat-checked .mat-slide-toggle-thumb{background-color:#e2001d}.mat-slide-toggle.mat-warn.mat-checked .mat-slide-toggle-bar{background-color:rgba(226,0,29,.54)}.mat-slide-toggle.mat-warn.mat-checked .mat-ripple-element{background-color:#e2001d}.mat-slide-toggle:not(.mat-checked) .mat-ripple-element{background-color:#000}.mat-slide-toggle-thumb{box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12);background-color:#fafafa}.mat-slide-toggle-bar{background-color:rgba(0,0,0,.38)}.mat-slider-track-background{background-color:rgba(0,0,0,.26)}.mat-primary .mat-slider-thumb,.mat-primary .mat-slider-thumb-label,.mat-primary .mat-slider-track-fill{background-color:#004590}.mat-primary .mat-slider-thumb-label-text{color:#fff}.mat-primary .mat-slider-focus-ring{background-color:rgba(0,69,144,.2)}.mat-accent .mat-slider-thumb,.mat-accent .mat-slider-thumb-label,.mat-accent .mat-slider-track-fill{background-color:#009606}.mat-accent .mat-slider-thumb-label-text{color:#fff}.mat-accent .mat-slider-focus-ring{background-color:rgba(0,150,6,.2)}.mat-warn .mat-slider-thumb,.mat-warn .mat-slider-thumb-label,.mat-warn .mat-slider-track-fill{background-color:#e2001d}.mat-warn .mat-slider-thumb-label-text{color:#fff}.mat-warn .mat-slider-focus-ring{background-color:rgba(226,0,29,.2)}.cdk-focused .mat-slider-track-background,.mat-slider:hover .mat-slider-track-background{background-color:rgba(0,0,0,.38)}.mat-slider-disabled .mat-slider-thumb,.mat-slider-disabled .mat-slider-track-background,.mat-slider-disabled .mat-slider-track-fill,.mat-slider-disabled:hover .mat-slider-track-background{background-color:rgba(0,0,0,.26)}.mat-slider-min-value .mat-slider-focus-ring{background-color:rgba(0,0,0,.12)}.mat-slider-min-value.mat-slider-thumb-label-showing .mat-slider-thumb,.mat-slider-min-value.mat-slider-thumb-label-showing .mat-slider-thumb-label{background-color:rgba(0,0,0,.87)}.mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused .mat-slider-thumb,.mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused .mat-slider-thumb-label{background-color:rgba(0,0,0,.26)}.mat-slider-min-value:not(.mat-slider-thumb-label-showing) .mat-slider-thumb{border-color:rgba(0,0,0,.26);background-color:rgba(0,0,0,0)}.mat-slider-min-value:not(.mat-slider-thumb-label-showing).cdk-focused .mat-slider-thumb,.mat-slider-min-value:not(.mat-slider-thumb-label-showing):hover .mat-slider-thumb{border-color:rgba(0,0,0,.38)}.mat-slider-min-value:not(.mat-slider-thumb-label-showing).cdk-focused.mat-slider-disabled .mat-slider-thumb,.mat-slider-min-value:not(.mat-slider-thumb-label-showing):hover.mat-slider-disabled .mat-slider-thumb{border-color:rgba(0,0,0,.26)}.mat-slider-has-ticks .mat-slider-wrapper:after{border-color:rgba(0,0,0,.7)}.mat-slider-horizontal .mat-slider-ticks{background-image:repeating-linear-gradient(90deg,rgba(0,0,0,.7),rgba(0,0,0,.7) 2px,rgba(0,0,0,0) 0,rgba(0,0,0,0));background-image:-moz-repeating-linear-gradient(.0001deg,rgba(0,0,0,.7),rgba(0,0,0,.7) 2px,rgba(0,0,0,0) 0,rgba(0,0,0,0))}.mat-slider-vertical .mat-slider-ticks{background-image:repeating-linear-gradient(180deg,rgba(0,0,0,.7),rgba(0,0,0,.7) 2px,rgba(0,0,0,0) 0,rgba(0,0,0,0))}.mat-step-header.cdk-keyboard-focused,.mat-step-header.cdk-program-focused,.mat-step-header:hover{background-color:rgba(0,0,0,.04)}@media (hover:none){.mat-step-header:hover{background:none}}.mat-step-header .mat-step-label,.mat-step-header .mat-step-optional{color:rgba(0,0,0,.54)}.mat-step-header .mat-step-icon{background-color:rgba(0,0,0,.54);color:#fff}.mat-step-header .mat-step-icon-selected,.mat-step-header .mat-step-icon-state-done,.mat-step-header .mat-step-icon-state-edit{background-color:#004590;color:#fff}.mat-step-header.mat-accent .mat-step-icon{color:#fff}.mat-step-header.mat-accent .mat-step-icon-selected,.mat-step-header.mat-accent .mat-step-icon-state-done,.mat-step-header.mat-accent .mat-step-icon-state-edit{background-color:#009606;color:#fff}.mat-step-header.mat-warn .mat-step-icon{color:#fff}.mat-step-header.mat-warn .mat-step-icon-selected,.mat-step-header.mat-warn .mat-step-icon-state-done,.mat-step-header.mat-warn .mat-step-icon-state-edit{background-color:#e2001d;color:#fff}.mat-step-header .mat-step-icon-state-error{background-color:rgba(0,0,0,0);color:#e2001d}.mat-step-header .mat-step-label.mat-step-label-active{color:rgba(0,0,0,.87)}.mat-step-header .mat-step-label.mat-step-label-error{color:#e2001d}.mat-stepper-horizontal,.mat-stepper-vertical{background-color:#fff}.mat-stepper-vertical-line:before{border-left-color:rgba(0,0,0,.12)}.mat-horizontal-stepper-header:after,.mat-horizontal-stepper-header:before,.mat-stepper-horizontal-line{border-top-color:rgba(0,0,0,.12)}.mat-horizontal-stepper-header{height:72px}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header,.mat-vertical-stepper-header{padding:24px}.mat-stepper-vertical-line:before{top:-16px;bottom:-16px}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:after,.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:before,.mat-stepper-label-position-bottom .mat-stepper-horizontal-line{top:36px}.mat-sort-header-arrow{color:#757575}.mat-tab-header,.mat-tab-nav-bar{border-bottom:1px solid rgba(0,0,0,.12)}.mat-tab-group-inverted-header .mat-tab-header,.mat-tab-group-inverted-header .mat-tab-nav-bar{border-top:1px solid rgba(0,0,0,.12);border-bottom:none}.mat-tab-label,.mat-tab-link{color:rgba(0,0,0,.87)}.mat-tab-label.mat-tab-disabled,.mat-tab-link.mat-tab-disabled{color:rgba(0,0,0,.38)}.mat-tab-header-pagination-chevron{border-color:rgba(0,0,0,.87)}.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:rgba(0,0,0,.38)}.mat-tab-group[class*=mat-background-] .mat-tab-header,.mat-tab-nav-bar[class*=mat-background-]{border-bottom:none;border-top:none}.mat-tab-group.mat-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-group.mat-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(179,199,222,.3)}.mat-tab-group.mat-primary .mat-ink-bar,.mat-tab-nav-bar.mat-primary .mat-ink-bar{background-color:#004590}.mat-tab-group.mat-primary.mat-background-primary>.mat-tab-header .mat-ink-bar,.mat-tab-group.mat-primary.mat-background-primary>.mat-tab-link-container .mat-ink-bar,.mat-tab-nav-bar.mat-primary.mat-background-primary>.mat-tab-header .mat-ink-bar,.mat-tab-nav-bar.mat-primary.mat-background-primary>.mat-tab-link-container .mat-ink-bar{background-color:#fff}.mat-tab-group.mat-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-group.mat-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(179,224,180,.3)}.mat-tab-group.mat-accent .mat-ink-bar,.mat-tab-nav-bar.mat-accent .mat-ink-bar{background-color:#009606}.mat-tab-group.mat-accent.mat-background-accent>.mat-tab-header .mat-ink-bar,.mat-tab-group.mat-accent.mat-background-accent>.mat-tab-link-container .mat-ink-bar,.mat-tab-nav-bar.mat-accent.mat-background-accent>.mat-tab-header .mat-ink-bar,.mat-tab-nav-bar.mat-accent.mat-background-accent>.mat-tab-link-container .mat-ink-bar{background-color:#fff}.mat-tab-group.mat-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-group.mat-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(246,179,187,.3)}.mat-tab-group.mat-warn .mat-ink-bar,.mat-tab-nav-bar.mat-warn .mat-ink-bar{background-color:#e2001d}.mat-tab-group.mat-warn.mat-background-warn>.mat-tab-header .mat-ink-bar,.mat-tab-group.mat-warn.mat-background-warn>.mat-tab-link-container .mat-ink-bar,.mat-tab-nav-bar.mat-warn.mat-background-warn>.mat-tab-header .mat-ink-bar,.mat-tab-nav-bar.mat-warn.mat-background-warn>.mat-tab-link-container .mat-ink-bar{background-color:#fff}.mat-tab-group.mat-background-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(179,199,222,.3)}.mat-tab-group.mat-background-primary>.mat-tab-header,.mat-tab-group.mat-background-primary>.mat-tab-header-pagination,.mat-tab-group.mat-background-primary>.mat-tab-link-container,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination,.mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container{background-color:#004590}.mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-label,.mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-tab-link,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-label,.mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-tab-link{color:#fff}.mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-label.mat-tab-disabled,.mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-label.mat-tab-disabled,.mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:hsla(0,0%,100%,.4)}.mat-tab-group.mat-background-primary>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination .mat-tab-header-pagination-chevron{border-color:#fff}.mat-tab-group.mat-background-primary>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:hsla(0,0%,100%,.4)}.mat-tab-group.mat-background-primary>.mat-tab-header .mat-ripple-element,.mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-ripple-element,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-ripple-element,.mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-ripple-element{background-color:hsla(0,0%,100%,.12)}.mat-tab-group.mat-background-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(179,224,180,.3)}.mat-tab-group.mat-background-accent>.mat-tab-header,.mat-tab-group.mat-background-accent>.mat-tab-header-pagination,.mat-tab-group.mat-background-accent>.mat-tab-link-container,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination,.mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container{background-color:#009606}.mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-label,.mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-tab-link,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-label,.mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-tab-link{color:#fff}.mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-label.mat-tab-disabled,.mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-label.mat-tab-disabled,.mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:hsla(0,0%,100%,.4)}.mat-tab-group.mat-background-accent>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination .mat-tab-header-pagination-chevron{border-color:#fff}.mat-tab-group.mat-background-accent>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:hsla(0,0%,100%,.4)}.mat-tab-group.mat-background-accent>.mat-tab-header .mat-ripple-element,.mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-ripple-element,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-ripple-element,.mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-ripple-element{background-color:hsla(0,0%,100%,.12)}.mat-tab-group.mat-background-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(246,179,187,.3)}.mat-tab-group.mat-background-warn>.mat-tab-header,.mat-tab-group.mat-background-warn>.mat-tab-header-pagination,.mat-tab-group.mat-background-warn>.mat-tab-link-container,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination,.mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container{background-color:#e2001d}.mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-label,.mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-tab-link,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-label,.mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-tab-link{color:#fff}.mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-label.mat-tab-disabled,.mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-label.mat-tab-disabled,.mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:hsla(0,0%,100%,.4)}.mat-tab-group.mat-background-warn>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination .mat-tab-header-pagination-chevron{border-color:#fff}.mat-tab-group.mat-background-warn>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:hsla(0,0%,100%,.4)}.mat-tab-group.mat-background-warn>.mat-tab-header .mat-ripple-element,.mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-ripple-element,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-ripple-element,.mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-ripple-element{background-color:hsla(0,0%,100%,.12)}.mat-toolbar{background:#f5f5f5;color:rgba(0,0,0,.87)}.mat-toolbar.mat-primary{background:#004590;color:#fff}.mat-toolbar.mat-accent{background:#009606;color:#fff}.mat-toolbar.mat-warn{background:#e2001d;color:#fff}.mat-toolbar .mat-focused .mat-form-field-ripple,.mat-toolbar .mat-form-field-ripple,.mat-toolbar .mat-form-field-underline{background-color:currentColor}.mat-toolbar .mat-focused .mat-form-field-label,.mat-toolbar .mat-form-field-label,.mat-toolbar .mat-form-field.mat-focused .mat-select-arrow,.mat-toolbar .mat-select-arrow,.mat-toolbar .mat-select-value{color:inherit}.mat-toolbar .mat-input-element{caret-color:currentColor}.mat-toolbar-multiple-rows{min-height:64px}.mat-toolbar-row,.mat-toolbar-single-row{height:64px}@media (max-width:599px){.mat-toolbar-multiple-rows{min-height:56px}.mat-toolbar-row,.mat-toolbar-single-row{height:56px}}.mat-tooltip{background:rgba(97,97,97,.9)}.mat-tree{background:#fff}.mat-nested-tree-node,.mat-tree-node{color:rgba(0,0,0,.87)}.mat-tree-node{min-height:48px}.mat-snack-bar-container{color:hsla(0,0%,100%,.7);background:#323232;box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.mat-simple-snackbar-action{color:#009606}.mat-radio-button{display:-ms-inline-flexbox;display:inline-flex}.mat-radio-button .mat-radio-label{width:-webkit-max-content;width:-moz-max-content;width:max-content}#faq .faq-title{font-weight:700;color:#004590}#faq .mat-expansion-panel-body{padding:16px 24px}#faq .faq-content img{max-width:100%;max-width:-webkit-fill-available;max-width:-moz-available;max-width:stretch}#faq .categorie{font-size:large;font-weight:700;text-transform:uppercase;color:#fff}#faq .categorie-panel-header{background-color:#004590}#faq .categorie-panel-header:hover{opacity:.8}#faq .categorie-panel-header .mat-expansion-indicator:after{color:#fff}"],encapsulation:2}),t})();var f=n("cXaA"),g=n("IheW");let b=(()=>{class t{constructor(t){this.http=t,this.log=f.a.create("FaqService"),this.END_POINT="/api/faqs",this.CATEGORIE="/categories"}getFaqs(){const t=this.END_POINT;return this.log.data(`[HTTP] (GET) -> ${t}`),this.http.get(t)}getCategories(){return this.log.data(`[HTTP] (GET) -> ${this.END_POINT+this.CATEGORIE}`),this.http.get(this.END_POINT+this.CATEGORIE)}}return t.\u0275fac=function(e){return new(e||t)(s.Xb(g.b))},t.\u0275prov=s.Jb({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),_=(()=>{class t{constructor(t){this.faqService=t}resolve(){return this.faqService.getCategories()}}return t.\u0275fac=function(e){return new(e||t)(s.Xb(b))},t.\u0275prov=s.Jb({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),y=(()=>{class t{}return t.\u0275mod=s.Lb({type:t}),t.\u0275inj=s.Kb({factory:function(e){return new(e||t)},imports:[[r.j.forChild([{path:"",component:p,resolve:{categories:_}}])],r.j]}),t})(),v=(()=>{class t{}return t.\u0275mod=s.Lb({type:t}),t.\u0275inj=s.Kb({factory:function(e){return new(e||t)},imports:[[i.c,a.a,y]]}),t})()},ByF4:function(t,e,n){!function(t){"use strict";t.defineLocale("fo",{months:"januar_februar_mars_apr\xedl_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sunnudagur_m\xe1nadagur_t\xfdsdagur_mikudagur_h\xf3sdagur_fr\xedggjadagur_leygardagur".split("_"),weekdaysShort:"sun_m\xe1n_t\xfds_mik_h\xf3s_fr\xed_ley".split("_"),weekdaysMin:"su_m\xe1_t\xfd_mi_h\xf3_fr_le".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D. MMMM, YYYY HH:mm"},calendar:{sameDay:"[\xcd dag kl.] LT",nextDay:"[\xcd morgin kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[\xcd gj\xe1r kl.] LT",lastWeek:"[s\xed\xf0stu] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"um %s",past:"%s s\xed\xf0ani",s:"f\xe1 sekund",ss:"%d sekundir",m:"ein minuttur",mm:"%d minuttir",h:"ein t\xedmi",hh:"%d t\xedmar",d:"ein dagur",dd:"%d dagar",M:"ein m\xe1na\xf0ur",MM:"%d m\xe1na\xf0ir",y:"eitt \xe1r",yy:"%d \xe1r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},CRH9:function(t,e,n){"use strict";n.d(e,"a",function(){return o});var i=n("cXaA"),a=n("8Y7J"),r=n("IheW");let o=(()=>{class t{constructor(t){this.http=t,this.log=i.a.create("NewsService"),this.END_POINT="/api/news"}getNewsList(){const t=this.END_POINT;return this.log.data(`[HTTP] (GET) -> ${t}`),this.http.get(t)}getNews(t){const e=`${this.END_POINT}/${t}`;return this.log.data(`[HTTP] (GET) -> ${e}`),this.http.get(e)}}return t.\u0275fac=function(e){return new(e||t)(a.Xb(r.b))},t.\u0275prov=a.Jb({token:t,factory:t.\u0275fac,providedIn:"root"}),t})()},Cfvw:function(t,e,n){"use strict";n.d(e,"a",function(){return u});var i=n("HDdC"),a=n("SeVD"),r=n("quSY"),o=n("kJWO"),s=n("jZKg"),l=n("Lhse"),c=n("c2HN"),d=n("I55L");function u(t,e){return e?function(t,e){if(null!=t){if(function(t){return t&&"function"==typeof t[o.a]}(t))return function(t,e){return new i.a(n=>{const i=new r.a;return i.add(e.schedule(()=>{const a=t[o.a]();i.add(a.subscribe({next(t){i.add(e.schedule(()=>n.next(t)))},error(t){i.add(e.schedule(()=>n.error(t)))},complete(){i.add(e.schedule(()=>n.complete()))}}))})),i})}(t,e);if(Object(c.a)(t))return function(t,e){return new i.a(n=>{const i=new r.a;return i.add(e.schedule(()=>t.then(t=>{i.add(e.schedule(()=>{n.next(t),i.add(e.schedule(()=>n.complete()))}))},t=>{i.add(e.schedule(()=>n.error(t)))}))),i})}(t,e);if(Object(d.a)(t))return Object(s.a)(t,e);if(function(t){return t&&"function"==typeof t[l.a]}(t)||"string"==typeof t)return function(t,e){if(!t)throw new Error("Iterable cannot be null");return new i.a(n=>{const i=new r.a;let a;return i.add(()=>{a&&"function"==typeof a.return&&a.return()}),i.add(e.schedule(()=>{a=t[l.a](),i.add(e.schedule(function(){if(n.closed)return;let t,e;try{const n=a.next();t=n.value,e=n.done}catch(i){return void n.error(i)}e?n.complete():(n.next(t),this.schedule())}))})),i})}(t,e)}throw new TypeError((null!==t&&typeof t||t)+" is not observable")}(t,e):t instanceof i.a?t:new i.a(Object(a.a)(t))}},CjzT:function(t,e,n){!function(t){"use strict";var e="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),i=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],a=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;t.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(t,i){return t?/-MMM-/.test(i)?n[t.month()]:e[t.month()]:e},monthsRegex:a,monthsShortRegex:a,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(n("wd/R"))},CoRJ:function(t,e,n){!function(t){"use strict";t.defineLocale("ar-ma",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0627\u062d\u062f_\u0627\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:1,doy:4}})}(n("wd/R"))},CqXF:function(t,e,n){"use strict";n.d(e,"a",function(){return a});var i=n("7o/Q");function a(t){return e=>e.lift(new r(t))}class r{constructor(t){this.value=t}call(t,e){return e.subscribe(new o(t,this.value))}}class o extends i.a{constructor(t,e){super(t),this.value=e}_next(t){this.destination.next(this.value)}}},CtHx:function(t,e,n){"use strict";n.d(e,"a",function(){return c}),n.d(e,"b",function(){return s}),n.d(e,"c",function(){return h}),n.d(e,"d",function(){return m}),n.d(e,"e",function(){return d}),n.d(e,"f",function(){return u}),n.d(e,"g",function(){return p}),n.d(e,"h",function(){return l});var i=n("7+OI"),a=n("LRne"),r=n("XNiG"),o=n("8Y7J");class s{}function l(t){return t&&"function"==typeof t.connect}class c extends s{constructor(t){super(),this._data=t}connect(){return Object(i.a)(this._data)?this._data:Object(a.a)(this._data)}disconnect(){}}class d{applyChanges(t,e,n,i,a){t.forEachOperation((t,i,r)=>{let o,s;if(null==t.previousIndex){const a=n(t,i,r);o=e.createEmbeddedView(a.templateRef,a.context,a.index),s=1}else null==r?(e.remove(i),s=3):(o=e.get(i),e.move(o,r),s=2);a&&a({context:null==o?void 0:o.context,operation:s,record:t})})}detach(){}}class u{constructor(){this.viewCacheSize=20,this._viewCache=[]}applyChanges(t,e,n,i,a){t.forEachOperation((t,r,o)=>{let s,l;null==t.previousIndex?(s=this._insertView(()=>n(t,r,o),o,e,i(t)),l=s?1:0):null==o?(this._detachAndCacheView(r,e),l=3):(s=this._moveView(r,o,e,i(t)),l=2),a&&a({context:null==s?void 0:s.context,operation:l,record:t})})}detach(){for(const t of this._viewCache)t.destroy()}_insertView(t,e,n,i){let a=this._insertViewFromCache(e,n);if(a)return void(a.context.$implicit=i);const r=t();return n.createEmbeddedView(r.templateRef,r.context,r.index)}_detachAndCacheView(t,e){const n=this._detachView(t,e);this._maybeCacheView(n,e)}_moveView(t,e,n,i){const a=n.get(t);return n.move(a,e),a.context.$implicit=i,a}_maybeCacheView(t,e){if(this._viewCache.length<this.viewCacheSize)this._viewCache.push(t);else{const n=e.indexOf(t);-1===n?t.destroy():e.remove(n)}}_insertViewFromCache(t,e){const n=this._viewCache.pop();return n&&e.insert(n,t),n||null}_detachView(t,e){return e.detach(t)}}class h{constructor(t=!1,e,n=!0){this._multiple=t,this._emitChanges=n,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new r.a,e&&e.length&&(t?e.forEach(t=>this._markSelected(t)):this._markSelected(e[0]),this._selectedToEmit.length=0)}get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}select(...t){this._verifyValueAssignment(t),t.forEach(t=>this._markSelected(t)),this._emitChangeEvent()}deselect(...t){this._verifyValueAssignment(t),t.forEach(t=>this._unmarkSelected(t)),this._emitChangeEvent()}toggle(t){this.isSelected(t)?this.deselect(t):this.select(t)}clear(){this._unmarkAll(),this._emitChangeEvent()}isSelected(t){return this._selection.has(t)}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(t){this._multiple&&this.selected&&this._selected.sort(t)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(t){this.isSelected(t)||(this._multiple||this._unmarkAll(),this._selection.add(t),this._emitChanges&&this._selectedToEmit.push(t))}_unmarkSelected(t){this.isSelected(t)&&(this._selection.delete(t),this._emitChanges&&this._deselectedToEmit.push(t))}_unmarkAll(){this.isEmpty()||this._selection.forEach(t=>this._unmarkSelected(t))}_verifyValueAssignment(t){}}let m=(()=>{class t{constructor(){this._listeners=[]}notify(t,e){for(let n of this._listeners)n(t,e)}listen(t){return this._listeners.push(t),()=>{this._listeners=this._listeners.filter(e=>t!==e)}}ngOnDestroy(){this._listeners=[]}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Object(o.Jb)({factory:function(){return new t},token:t,providedIn:"root"}),t})();const p=new o.s("_ViewRepeater")},Cwn8:function(t,e,n){"use strict";n.d(e,"a",function(){return o});var i=n("2Vo4"),a=n("8Y7J"),r=n("TSSN");let o=(()=>{class t{constructor(e){this.translateService=e,this.language="",this.translateService.onLangChange.subscribe(({lang:t})=>this.updateLanguage(t)),this.language=this.translateService.currentLang,this.init(),this.ready=t.ready.asObservable()}updateLanguage(e){this.language=e,t.ready.next(null),this.init()}init(){if(t.ready){if(t.ready.getValue())return}else t.ready=new i.a(null),window.ng2recaptchaloaded=()=>{t.ready.next(grecaptcha)};const e=document.createElement("script");e.innerHTML="",e.src="https://www.recaptcha.net/recaptcha/api.js?render=explicit&onload=ng2recaptchaloaded"+(this.language?"&hl="+this.language:""),e.async=!0,e.defer=!0,document.head.appendChild(e)}}return t.\u0275fac=function(e){return new(e||t)(a.Xb(r.d))},t.\u0275prov=a.Jb({token:t,factory:t.\u0275fac,providedIn:"root"}),t})()},"D/JM":function(t,e,n){!function(t){"use strict";t.defineLocale("eu",{months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),monthsParseExact:!0,weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},calendar:{sameDay:"[gaur] LT[etan]",nextDay:"[bihar] LT[etan]",nextWeek:"dddd LT[etan]",lastDay:"[atzo] LT[etan]",lastWeek:"[aurreko] dddd LT[etan]",sameElse:"L"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",ss:"%d segundo",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("wd/R"))},D0XW:function(t,e,n){"use strict";n.d(e,"a",function(){return a});var i=n("3N8a");const a=new(n("IjjT").a)(i.a)},DGrs:function(t,e,n){"use strict";n.d(e,"a",function(){return l});var i=n("8Y7J"),a=n("iELJ"),r=n("TSSN"),o=n("ROBU"),s=n("f4AX");let l=(()=>{class t{constructor(t,e,n,i){this.dialogRef=t,this.translateService=e,this.sharedErrorService=n,this.userService=i,this.param={subject:"[SIPSI] Erreur technique",body:"L'utilisateur a rencontr\xe9 les erreurs suivantes :"},this.userService.login&&(this.param.subject=`[SIPSI] Erreur technique (${this.userService.login})`,this.param.body=`L'utilisateur \xab ${this.userService.raisonSociale} \xbb (${this.userService.login}) a rencontr\xe9 les erreurs suivantes :`),this.sub=this.sharedErrorService.onErrors.subscribe(t=>{this.param.body+=encodeURI(this.formatError(t)),this.content=this.translateService.instant("common.error.message",this.param)})}ngOnDestroy(){this.sub&&this.sub.unsubscribe()}formatError(t){if(t.error){const e=t.error;return`\n\tErreur : ${e.status?e.status:"Statut inconnu"} - ${e.error?e.error:"Erreur inconnue"}\n\tMessage : ${e.message?e.message:"Inconnu"}\n\tUrl API : ${e.path?e.path:"URL inconnue"}\n\n-----------------\n\nMessage d'erreur brut : ${JSON.stringify(t)}\n`}return`\n\tErreur inconnue\n\n-----------------\n\nMessage d'erreur brut : ${JSON.stringify(t)}\n`}close(){this.dialogRef.close()}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(a.f),i.Nb(r.d),i.Nb(o.a),i.Nb(s.a))},t.\u0275cmp=i.Hb({type:t,selectors:[["app-error-dialog"]],decls:8,vars:4,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[3,"innerHTML"],["mat-dialog-actions",""],[1,"mat-raised-button","mat-primary",3,"click"]],template:function(t,e){1&t&&(i.Tb(0,"h1",0),i.Hc(1),i.gc(2,"translate"),i.Sb(),i.Tb(3,"div",1),i.Ob(4,"p",2),i.Sb(),i.Tb(5,"div",3),i.Tb(6,"button",4),i.bc("click",function(){return e.close()}),i.Hc(7,"Ok"),i.Sb(),i.Sb()),2&t&&(i.Cb(1),i.Ic(i.hc(2,2,"common.error.titre")),i.Cb(3),i.nc("innerHTML",e.content,i.zc))},directives:[a.g,a.d,a.c],pipes:[r.c],styles:[""]}),t})()},DH7j:function(t,e,n){"use strict";n.d(e,"a",function(){return i});const i=(()=>Array.isArray||(t=>t&&"number"==typeof t.length))()},"DKr+":function(t,e,n){!function(t){"use strict";function e(t,e,n,i){var a={s:["thoddea sekondamni","thodde sekond"],ss:[t+" sekondamni",t+" sekond"],m:["eka mintan","ek minut"],mm:[t+" mintamni",t+" mintam"],h:["eka voran","ek vor"],hh:[t+" voramni",t+" voram"],d:["eka disan","ek dis"],dd:[t+" disamni",t+" dis"],M:["eka mhoinean","ek mhoino"],MM:[t+" mhoineamni",t+" mhoine"],y:["eka vorsan","ek voros"],yy:[t+" vorsamni",t+" vorsam"]};return i?a[n][0]:a[n][1]}t.defineLocale("gom-latn",{months:{standalone:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),format:"Janerachea_Febrerachea_Marsachea_Abrilachea_Maiachea_Junachea_Julaiachea_Agostachea_Setembrachea_Otubrachea_Novembrachea_Dezembrachea".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Aitar_Somar_Mongllar_Budhvar_Birestar_Sukrar_Son'var".split("_"),weekdaysShort:"Ait._Som._Mon._Bud._Bre._Suk._Son.".split("_"),weekdaysMin:"Ai_Sm_Mo_Bu_Br_Su_Sn".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [vazta]",LTS:"A h:mm:ss [vazta]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [vazta]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"},calendar:{sameDay:"[Aiz] LT",nextDay:"[Faleam] LT",nextWeek:"[Fuddlo] dddd[,] LT",lastDay:"[Kal] LT",lastWeek:"[Fattlo] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s adim",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(t,e){switch(e){case"D":return t+"er";default:case"M":case"Q":case"DDD":case"d":case"w":case"W":return t}},week:{dow:0,doy:3},meridiemParse:/rati|sokallim|donparam|sanje/,meridiemHour:function(t,e){return 12===t&&(t=0),"rati"===e?t<4?t:t+12:"sokallim"===e?t:"donparam"===e?t>12?t:t+12:"sanje"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"rati":t<12?"sokallim":t<16?"donparam":t<20?"sanje":"rati"}})}(n("wd/R"))},DVMI:function(t,e,n){"use strict";n.d(e,"a",function(){return i});var i=function(t){return t.LIEU_PRESTATION="LIEU_PRESTATION",t.REPRESENTANT="REPRESENTANT",t.SERVEUR="SERVEUR",t}({})},DejY:function(t,e,n){"use strict";n.d(e,"a",function(){return h}),n.d(e,"b",function(){return c});var i=n("8Y7J"),a=n("UhP/"),r=n("wd/R");const o=n.n(r).a||r,s=new i.s("MAT_MOMENT_DATE_ADAPTER_OPTIONS",{providedIn:"root",factory:function(){return{useUtc:!1}}});function l(t,e){const n=Array(t);for(let i=0;i<t;i++)n[i]=e(i);return n}let c=(()=>{class t extends a.c{constructor(t,e){super(),this._options=e,this.setLocale(t||o.locale())}setLocale(t){super.setLocale(t);let e=o.localeData(t);this._localeData={firstDayOfWeek:e.firstDayOfWeek(),longMonths:e.months(),shortMonths:e.monthsShort(),dates:l(31,t=>this.createDate(2017,0,t+1).format("D")),longDaysOfWeek:e.weekdays(),shortDaysOfWeek:e.weekdaysShort(),narrowDaysOfWeek:e.weekdaysMin()}}getYear(t){return this.clone(t).year()}getMonth(t){return this.clone(t).month()}getDate(t){return this.clone(t).date()}getDayOfWeek(t){return this.clone(t).day()}getMonthNames(t){return"long"==t?this._localeData.longMonths:this._localeData.shortMonths}getDateNames(){return this._localeData.dates}getDayOfWeekNames(t){return"long"==t?this._localeData.longDaysOfWeek:"short"==t?this._localeData.shortDaysOfWeek:this._localeData.narrowDaysOfWeek}getYearName(t){return this.clone(t).format("YYYY")}getFirstDayOfWeek(){return this._localeData.firstDayOfWeek}getNumDaysInMonth(t){return this.clone(t).daysInMonth()}clone(t){return t.clone().locale(this.locale)}createDate(t,e,n){const i=this._createMoment({year:t,month:e,date:n}).locale(this.locale);return i.isValid(),i}today(){return this._createMoment().locale(this.locale)}parse(t,e){return t&&"string"==typeof t?this._createMoment(t,e,this.locale):t?this._createMoment(t).locale(this.locale):null}format(t,e){return t=this.clone(t),this.isValid(t),t.format(e)}addCalendarYears(t,e){return this.clone(t).add({years:e})}addCalendarMonths(t,e){return this.clone(t).add({months:e})}addCalendarDays(t,e){return this.clone(t).add({days:e})}toIso8601(t){return this.clone(t).format()}deserialize(t){let e;if(t instanceof Date)e=this._createMoment(t).locale(this.locale);else if(this.isDateInstance(t))return this.clone(t);if("string"==typeof t){if(!t)return null;e=this._createMoment(t,o.ISO_8601).locale(this.locale)}return e&&this.isValid(e)?this._createMoment(e).locale(this.locale):super.deserialize(t)}isDateInstance(t){return o.isMoment(t)}isValid(t){return this.clone(t).isValid()}invalid(){return o.invalid()}_createMoment(t,e,n){const{strict:i,useUtc:a}=this._options||{};return a?o.utc(t,e,n,i):o(t,e,n,i)}}return t.\u0275fac=function(e){return new(e||t)(i.Xb(a.f,8),i.Xb(s,8))},t.\u0275prov=i.Jb({token:t,factory:t.\u0275fac}),t})(),d=(()=>{class t{}return t.\u0275mod=i.Lb({type:t}),t.\u0275inj=i.Kb({factory:function(e){return new(e||t)},providers:[{provide:a.c,useClass:c,deps:[a.f,s]}]}),t})();const u={parse:{dateInput:"l"},display:{dateInput:"l",monthYearLabel:"MMM YYYY",dateA11yLabel:"LL",monthYearA11yLabel:"MMMM YYYY"}};let h=(()=>{class t{}return t.\u0275mod=i.Lb({type:t}),t.\u0275inj=i.Kb({factory:function(e){return new(e||t)},providers:[{provide:a.e,useValue:u}],imports:[[d]]}),t})()},Dkky:function(t,e,n){!function(t){"use strict";t.defineLocale("fr-ch",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(t,e){switch(e){default:case"M":case"Q":case"D":case"DDD":case"d":return t+(1===t?"er":"e");case"w":case"W":return t+(1===t?"re":"e")}},week:{dow:1,doy:4}})}(n("wd/R"))},Dmvi:function(t,e,n){!function(t){"use strict";t.defineLocale("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:0,doy:4}})}(n("wd/R"))},DoHr:function(t,e,n){!function(t){"use strict";var e={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'\xfcnc\xfc",4:"'\xfcnc\xfc",100:"'\xfcnc\xfc",6:"'nc\u0131",9:"'uncu",10:"'uncu",30:"'uncu",60:"'\u0131nc\u0131",90:"'\u0131nc\u0131"};t.defineLocale("tr",{months:"Ocak_\u015eubat_Mart_Nisan_May\u0131s_Haziran_Temmuz_A\u011fustos_Eyl\xfcl_Ekim_Kas\u0131m_Aral\u0131k".split("_"),monthsShort:"Oca_\u015eub_Mar_Nis_May_Haz_Tem_A\u011fu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Sal\u0131_\xc7ar\u015famba_Per\u015fembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pts_Sal_\xc7ar_Per_Cum_Cts".split("_"),weekdaysMin:"Pz_Pt_Sa_\xc7a_Pe_Cu_Ct".split("_"),meridiem:function(t,e,n){return t<12?n?"\xf6\xf6":"\xd6\xd6":n?"\xf6s":"\xd6S"},meridiemParse:/\xf6\xf6|\xd6\xd6|\xf6s|\xd6S/,isPM:function(t){return"\xf6s"===t||"\xd6S"===t},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn saat] LT",nextDay:"[yar\u0131n saat] LT",nextWeek:"[gelecek] dddd [saat] LT",lastDay:"[d\xfcn] LT",lastWeek:"[ge\xe7en] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s \xf6nce",s:"birka\xe7 saniye",ss:"%d saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir g\xfcn",dd:"%d g\xfcn",w:"bir hafta",ww:"%d hafta",M:"bir ay",MM:"%d ay",y:"bir y\u0131l",yy:"%d y\u0131l"},ordinal:function(t,n){switch(n){case"d":case"D":case"Do":case"DD":return t;default:if(0===t)return t+"'\u0131nc\u0131";var i=t%10;return t+(e[i]||e[t%100-i]||e[t>=100?100:null])}},week:{dow:1,doy:7}})}(n("wd/R"))},Dwoe:function(t,e,n){"use strict";n.d(e,"a",function(){return p});var i=n("IGtN"),a=n("PTv7"),r=n("8Y7J"),o=n("TSSN"),s=n("f4AX"),l=n("qh/L"),c=n("iELJ"),d=n("PDjf"),u=n("q6Qu"),h=n("s7LF"),m=n("Dxy4");let p=(()=>{class t extends i.a{constructor(t,e,n,i){super(t),this.translateService=t,this.userService=e,this.sessionService=n,this.dialog=i}submitDeleteUser(){this.dialog.open(a.a,{id:"dialog-confirm",data:{title:this.translateService.instant("compte.delete.titre"),question:this.translateService.instant("compte.delete.confirmation"),okButtonText:this.translateService.instant("common.oui"),cancelButtonText:this.translateService.instant("common.non")}}).afterClosed().subscribe(t=>{!0===t&&this.userService.deleteUser().subscribe(()=>{this.sessionService.logout()})})}}return t.\u0275fac=function(e){return new(e||t)(r.Nb(o.d),r.Nb(s.a),r.Nb(l.a),r.Nb(c.b))},t.\u0275cmp=r.Hb({type:t,selectors:[["app-delete-compte"]],inputs:{roleLabel:"roleLabel"},features:[r.zb],decls:12,vars:6,consts:[[1,"content"],["appLabel","compte.delete.information"],["deleteCompteForm","ngForm"],[1,"actions"],["mat-raised-button","","id","deleteBtn","color","primary","aria-label","submit","appLabel","compte.delete.submit",3,"click"]],template:function(t,e){1&t&&(r.Tb(0,"div",0),r.Tb(1,"h1"),r.Hc(2),r.gc(3,"translate"),r.gc(4,"translate"),r.Sb(),r.Tb(5,"mat-card"),r.Tb(6,"mat-card-content"),r.Ob(7,"div",1),r.Tb(8,"form",null,2),r.Tb(10,"div",3),r.Tb(11,"button",4),r.bc("click",function(){return e.submitDeleteUser()}),r.Sb(),r.Sb(),r.Sb(),r.Sb(),r.Sb(),r.Sb()),2&t&&(r.Cb(2),r.Kc(" ",r.hc(3,2,"compte.delete.titre")," ",r.hc(4,4,e.roleLabel)," "))},directives:[d.a,d.b,u.a,h.x,h.p,h.q,m.a],pipes:[o.c],styles:["div.mat-tab-label{width:50%}.actions[_ngcontent-%COMP%]{display:-ms-flexbox;display:flex;padding-top:16px}.actions[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{-ms-flex:1;flex:1}"]}),t})()},DxQv:function(t,e,n){!function(t){"use strict";t.defineLocale("da",{months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"s\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xf8rdag".split("_"),weekdaysShort:"s\xf8n_man_tir_ons_tor_fre_l\xf8r".split("_"),weekdaysMin:"s\xf8_ma_ti_on_to_fr_l\xf8".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"p\xe5 dddd [kl.] LT",lastDay:"[i g\xe5r kl.] LT",lastWeek:"[i] dddd[s kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"f\xe5 sekunder",ss:"%d sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en m\xe5ned",MM:"%d m\xe5neder",y:"et \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},Dxy4:function(t,e,n){"use strict";n.d(e,"a",function(){return h}),n.d(e,"b",function(){return m});var i=n("UhP/"),a=n("omvX"),r=n("8Y7J"),o=n("YEUz");const s=["mat-button",""],l=["*"],c=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"];class d{constructor(t){this._elementRef=t}}const u=Object(i.w)(Object(i.y)(Object(i.x)(d)));let h=(()=>{class t extends u{constructor(t,e,n){super(t),this._focusMonitor=e,this._animationMode=n,this.isRoundButton=this._hasHostAttributes("mat-fab","mat-mini-fab"),this.isIconButton=this._hasHostAttributes("mat-icon-button");for(const i of c)this._hasHostAttributes(i)&&this._getHostElement().classList.add(i);t.nativeElement.classList.add("mat-button-base"),this.isRoundButton&&(this.color="accent")}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(t,e){t?this._focusMonitor.focusVia(this._getHostElement(),t,e):this._getHostElement().focus(e)}_getHostElement(){return this._elementRef.nativeElement}_isRippleDisabled(){return this.disableRipple||this.disabled}_hasHostAttributes(...t){return t.some(t=>this._getHostElement().hasAttribute(t))}}return t.\u0275fac=function(e){return new(e||t)(r.Nb(r.l),r.Nb(o.h),r.Nb(a.a,8))},t.\u0275cmp=r.Hb({type:t,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-icon-button",""],["button","mat-fab",""],["button","mat-mini-fab",""],["button","mat-stroked-button",""],["button","mat-flat-button",""]],viewQuery:function(t,e){if(1&t&&r.Lc(i.r,1),2&t){let t;r.uc(t=r.cc())&&(e.ripple=t.first)}},hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(t,e){2&t&&(r.Db("disabled",e.disabled||null),r.Fb("_mat-animation-noopable","NoopAnimations"===e._animationMode)("mat-button-disabled",e.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[r.zb],attrs:s,ngContentSelectors:l,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(t,e){1&t&&(r.mc(),r.Tb(0,"span",0),r.lc(1),r.Sb(),r.Ob(2,"span",1),r.Ob(3,"span",2)),2&t&&(r.Cb(2),r.Fb("mat-button-ripple-round",e.isRoundButton||e.isIconButton),r.nc("matRippleDisabled",e._isRippleDisabled())("matRippleCentered",e.isIconButton)("matRippleTrigger",e._getHostElement()))},directives:[i.r],styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-button-disabled{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button.mat-button-disabled{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}._mat-animation-noopable.mat-raised-button{transition:none;animation:none}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab.mat-button-disabled{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-fab{transition:none;animation:none}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab.mat-button-disabled{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-mini-fab{transition:none;animation:none}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:inline-flex;justify-content:center;align-items:center;font-size:inherit;width:2.5em;height:2.5em}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}.cdk-high-contrast-active .mat-button-base.cdk-keyboard-focused,.cdk-high-contrast-active .mat-button-base.cdk-program-focused{outline:solid 3px}\n"],encapsulation:2,changeDetection:0}),t})(),m=(()=>{class t{}return t.\u0275mod=r.Lb({type:t}),t.\u0275inj=r.Kb({factory:function(e){return new(e||t)},imports:[[i.s,i.j],i.j]}),t})()},Dzi0:function(t,e,n){!function(t){"use strict";t.defineLocale("tl-ph",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(t){return t},week:{dow:1,doy:4}})}(n("wd/R"))},"E+lV":function(t,e,n){!function(t){"use strict";var e={words:{ss:["\u0441\u0435\u043a\u0443\u043d\u0434\u0430","\u0441\u0435\u043a\u0443\u043d\u0434\u0435","\u0441\u0435\u043a\u0443\u043d\u0434\u0438"],m:["\u0458\u0435\u0434\u0430\u043d \u043c\u0438\u043d\u0443\u0442","\u0458\u0435\u0434\u043d\u0435 \u043c\u0438\u043d\u0443\u0442\u0435"],mm:["\u043c\u0438\u043d\u0443\u0442","\u043c\u0438\u043d\u0443\u0442\u0435","\u043c\u0438\u043d\u0443\u0442\u0430"],h:["\u0458\u0435\u0434\u0430\u043d \u0441\u0430\u0442","\u0458\u0435\u0434\u043d\u043e\u0433 \u0441\u0430\u0442\u0430"],hh:["\u0441\u0430\u0442","\u0441\u0430\u0442\u0430","\u0441\u0430\u0442\u0438"],dd:["\u0434\u0430\u043d","\u0434\u0430\u043d\u0430","\u0434\u0430\u043d\u0430"],MM:["\u043c\u0435\u0441\u0435\u0446","\u043c\u0435\u0441\u0435\u0446\u0430","\u043c\u0435\u0441\u0435\u0446\u0438"],yy:["\u0433\u043e\u0434\u0438\u043d\u0430","\u0433\u043e\u0434\u0438\u043d\u0435","\u0433\u043e\u0434\u0438\u043d\u0430"]},correctGrammaticalCase:function(t,e){return 1===t?e[0]:t>=2&&t<=4?e[1]:e[2]},translate:function(t,n,i){var a=e.words[i];return 1===i.length?n?a[0]:a[1]:t+" "+e.correctGrammaticalCase(t,a)}};t.defineLocale("sr-cyrl",{months:"\u0458\u0430\u043d\u0443\u0430\u0440_\u0444\u0435\u0431\u0440\u0443\u0430\u0440_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0431\u0430\u0440_\u043e\u043a\u0442\u043e\u0431\u0430\u0440_\u043d\u043e\u0432\u0435\u043c\u0431\u0430\u0440_\u0434\u0435\u0446\u0435\u043c\u0431\u0430\u0440".split("_"),monthsShort:"\u0458\u0430\u043d._\u0444\u0435\u0431._\u043c\u0430\u0440._\u0430\u043f\u0440._\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433._\u0441\u0435\u043f._\u043e\u043a\u0442._\u043d\u043e\u0432._\u0434\u0435\u0446.".split("_"),monthsParseExact:!0,weekdays:"\u043d\u0435\u0434\u0435\u0459\u0430_\u043f\u043e\u043d\u0435\u0434\u0435\u0459\u0430\u043a_\u0443\u0442\u043e\u0440\u0430\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0440\u0442\u0430\u043a_\u043f\u0435\u0442\u0430\u043a_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434._\u043f\u043e\u043d._\u0443\u0442\u043e._\u0441\u0440\u0435._\u0447\u0435\u0442._\u043f\u0435\u0442._\u0441\u0443\u0431.".split("_"),weekdaysMin:"\u043d\u0435_\u043f\u043e_\u0443\u0442_\u0441\u0440_\u0447\u0435_\u043f\u0435_\u0441\u0443".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[\u0434\u0430\u043d\u0430\u0441 \u0443] LT",nextDay:"[\u0441\u0443\u0442\u0440\u0430 \u0443] LT",nextWeek:function(){switch(this.day()){case 0:return"[\u0443] [\u043d\u0435\u0434\u0435\u0459\u0443] [\u0443] LT";case 3:return"[\u0443] [\u0441\u0440\u0435\u0434\u0443] [\u0443] LT";case 6:return"[\u0443] [\u0441\u0443\u0431\u043e\u0442\u0443] [\u0443] LT";case 1:case 2:case 4:case 5:return"[\u0443] dddd [\u0443] LT"}},lastDay:"[\u0458\u0443\u0447\u0435 \u0443] LT",lastWeek:function(){return["[\u043f\u0440\u043e\u0448\u043b\u0435] [\u043d\u0435\u0434\u0435\u0459\u0435] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u043f\u043e\u043d\u0435\u0434\u0435\u0459\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u0443\u0442\u043e\u0440\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u0435] [\u0441\u0440\u0435\u0434\u0435] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u0447\u0435\u0442\u0432\u0440\u0442\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u043f\u0435\u0442\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u0435] [\u0441\u0443\u0431\u043e\u0442\u0435] [\u0443] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"\u043f\u0440\u0435 %s",s:"\u043d\u0435\u043a\u043e\u043b\u0438\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:e.translate,m:e.translate,mm:e.translate,h:e.translate,hh:e.translate,d:"\u0434\u0430\u043d",dd:e.translate,M:"\u043c\u0435\u0441\u0435\u0446",MM:e.translate,y:"\u0433\u043e\u0434\u0438\u043d\u0443",yy:e.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("wd/R"))},EOgW:function(t,e,n){!function(t){"use strict";t.defineLocale("th",{months:"\u0e21\u0e01\u0e23\u0e32\u0e04\u0e21_\u0e01\u0e38\u0e21\u0e20\u0e32\u0e1e\u0e31\u0e19\u0e18\u0e4c_\u0e21\u0e35\u0e19\u0e32\u0e04\u0e21_\u0e40\u0e21\u0e29\u0e32\u0e22\u0e19_\u0e1e\u0e24\u0e29\u0e20\u0e32\u0e04\u0e21_\u0e21\u0e34\u0e16\u0e38\u0e19\u0e32\u0e22\u0e19_\u0e01\u0e23\u0e01\u0e0e\u0e32\u0e04\u0e21_\u0e2a\u0e34\u0e07\u0e2b\u0e32\u0e04\u0e21_\u0e01\u0e31\u0e19\u0e22\u0e32\u0e22\u0e19_\u0e15\u0e38\u0e25\u0e32\u0e04\u0e21_\u0e1e\u0e24\u0e28\u0e08\u0e34\u0e01\u0e32\u0e22\u0e19_\u0e18\u0e31\u0e19\u0e27\u0e32\u0e04\u0e21".split("_"),monthsShort:"\u0e21.\u0e04._\u0e01.\u0e1e._\u0e21\u0e35.\u0e04._\u0e40\u0e21.\u0e22._\u0e1e.\u0e04._\u0e21\u0e34.\u0e22._\u0e01.\u0e04._\u0e2a.\u0e04._\u0e01.\u0e22._\u0e15.\u0e04._\u0e1e.\u0e22._\u0e18.\u0e04.".split("_"),monthsParseExact:!0,weekdays:"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c_\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c_\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23_\u0e1e\u0e38\u0e18_\u0e1e\u0e24\u0e2b\u0e31\u0e2a\u0e1a\u0e14\u0e35_\u0e28\u0e38\u0e01\u0e23\u0e4c_\u0e40\u0e2a\u0e32\u0e23\u0e4c".split("_"),weekdaysShort:"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c_\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c_\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23_\u0e1e\u0e38\u0e18_\u0e1e\u0e24\u0e2b\u0e31\u0e2a_\u0e28\u0e38\u0e01\u0e23\u0e4c_\u0e40\u0e2a\u0e32\u0e23\u0e4c".split("_"),weekdaysMin:"\u0e2d\u0e32._\u0e08._\u0e2d._\u0e1e._\u0e1e\u0e24._\u0e28._\u0e2a.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm",LLLL:"\u0e27\u0e31\u0e19dddd\u0e17\u0e35\u0e48 D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm"},meridiemParse:/\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07|\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07/,isPM:function(t){return"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"===t},meridiem:function(t,e,n){return t<12?"\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07":"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"},calendar:{sameDay:"[\u0e27\u0e31\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextDay:"[\u0e1e\u0e23\u0e38\u0e48\u0e07\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextWeek:"dddd[\u0e2b\u0e19\u0e49\u0e32 \u0e40\u0e27\u0e25\u0e32] LT",lastDay:"[\u0e40\u0e21\u0e37\u0e48\u0e2d\u0e27\u0e32\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",lastWeek:"[\u0e27\u0e31\u0e19]dddd[\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27 \u0e40\u0e27\u0e25\u0e32] LT",sameElse:"L"},relativeTime:{future:"\u0e2d\u0e35\u0e01 %s",past:"%s\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27",s:"\u0e44\u0e21\u0e48\u0e01\u0e35\u0e48\u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",ss:"%d \u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",m:"1 \u0e19\u0e32\u0e17\u0e35",mm:"%d \u0e19\u0e32\u0e17\u0e35",h:"1 \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",hh:"%d \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",d:"1 \u0e27\u0e31\u0e19",dd:"%d \u0e27\u0e31\u0e19",w:"1 \u0e2a\u0e31\u0e1b\u0e14\u0e32\u0e2b\u0e4c",ww:"%d \u0e2a\u0e31\u0e1b\u0e14\u0e32\u0e2b\u0e4c",M:"1 \u0e40\u0e14\u0e37\u0e2d\u0e19",MM:"%d \u0e40\u0e14\u0e37\u0e2d\u0e19",y:"1 \u0e1b\u0e35",yy:"%d \u0e1b\u0e35"}})}(n("wd/R"))},EY2u:function(t,e,n){"use strict";n.d(e,"a",function(){return a}),n.d(e,"b",function(){return r});var i=n("HDdC");const a=new i.a(t=>t.complete());function r(t){return t?function(t){return new i.a(e=>t.schedule(()=>e.complete()))}(t):a}},EjJx:function(t,e,n){"use strict";function i(t){this.message=t}(i.prototype=new Error).name="InvalidCharacterError";var a="undefined"!=typeof window&&window.atob&&window.atob.bind(window)||function(t){var e=String(t).replace(/=+$/,"");if(e.length%4==1)throw new i("'atob' failed: The string to be decoded is not correctly encoded.");for(var n,a,r=0,o=0,s="";a=e.charAt(o++);~a&&(n=r%4?64*n+a:a,r++%4)?s+=String.fromCharCode(255&n>>(-2*r&6)):0)a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(a);return s};function r(t){var e=t.replace(/-/g,"+").replace(/_/g,"/");switch(e.length%4){case 0:break;case 2:e+="==";break;case 3:e+="=";break;default:throw"Illegal base64url string!"}try{return function(t){return decodeURIComponent(a(t).replace(/(.)/g,function(t,e){var n=e.charCodeAt(0).toString(16).toUpperCase();return n.length<2&&(n="0"+n),"%"+n}))}(e)}catch(t){return a(e)}}function o(t){this.message=t}(o.prototype=new Error).name="InvalidTokenError",e.a=function(t,e){if("string"!=typeof t)throw new o("Invalid token specified");var n=!0===(e=e||{}).header?0:1;try{return JSON.parse(r(t.split(".")[n]))}catch(t){throw new o("Invalid token specified: "+t.message)}}},Fnuy:function(t,e,n){!function(t){"use strict";t.defineLocale("oc-lnc",{months:{standalone:"geni\xe8r_febri\xe8r_mar\xe7_abril_mai_junh_julhet_agost_setembre_oct\xf2bre_novembre_decembre".split("_"),format:"de geni\xe8r_de febri\xe8r_de mar\xe7_d'abril_de mai_de junh_de julhet_d'agost_de setembre_d'oct\xf2bre_de novembre_de decembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._mar\xe7_abr._mai_junh_julh._ago._set._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"dimenge_diluns_dimars_dim\xe8cres_dij\xf2us_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dm._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dm_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:"[u\xe8i a] LT",nextDay:"[deman a] LT",nextWeek:"dddd [a] LT",lastDay:"[i\xe8r a] LT",lastWeek:"dddd [passat a] LT",sameElse:"L"},relativeTime:{future:"d'aqu\xed %s",past:"fa %s",s:"unas segondas",ss:"%d segondas",m:"una minuta",mm:"%d minutas",h:"una ora",hh:"%d oras",d:"un jorn",dd:"%d jorns",M:"un mes",MM:"%d meses",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|\xe8|a)/,ordinal:function(t,e){var n=1===t?"r":2===t?"n":3===t?"r":4===t?"t":"\xe8";return"w"!==e&&"W"!==e||(n="a"),t+n},week:{dow:1,doy:4}})}(n("wd/R"))},G0Uy:function(t,e,n){!function(t){"use strict";t.defineLocale("mt",{months:"Jannar_Frar_Marzu_April_Mejju_\u0120unju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Di\u010bembru".split("_"),monthsShort:"Jan_Fra_Mar_Apr_Mej_\u0120un_Lul_Aww_Set_Ott_Nov_Di\u010b".split("_"),weekdays:"Il-\u0126add_It-Tnejn_It-Tlieta_L-Erbg\u0127a_Il-\u0126amis_Il-\u0120img\u0127a_Is-Sibt".split("_"),weekdaysShort:"\u0126ad_Tne_Tli_Erb_\u0126am_\u0120im_Sib".split("_"),weekdaysMin:"\u0126a_Tn_Tl_Er_\u0126a_\u0120i_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Illum fil-]LT",nextDay:"[G\u0127ada fil-]LT",nextWeek:"dddd [fil-]LT",lastDay:"[Il-biera\u0127 fil-]LT",lastWeek:"dddd [li g\u0127adda] [fil-]LT",sameElse:"L"},relativeTime:{future:"f\u2019 %s",past:"%s ilu",s:"ftit sekondi",ss:"%d sekondi",m:"minuta",mm:"%d minuti",h:"sieg\u0127a",hh:"%d sieg\u0127at",d:"\u0121urnata",dd:"%d \u0121ranet",M:"xahar",MM:"%d xhur",y:"sena",yy:"%d sni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(n("wd/R"))},G2sr:function(t,e,n){"use strict";n.d(e,"a",function(){return f});var i=n("v/fa"),a=n("8Y7J"),r=n("TSSN"),o=n("zaPX"),s=n("s7LF"),l=n("Q2Ze"),c=n("ZTz/"),d=n("q6Qu"),u=n("SVse"),h=n("UhP/");function m(t,e){if(1&t&&(a.Tb(0,"mat-option",5),a.Hc(1),a.Sb()),2&t){const t=e.$implicit;a.nc("value",t.code),a.Cb(1),a.Jc(" ",t.nom," ")}}function p(t,e){1&t&&(a.Tb(0,"mat-error"),a.Hc(1),a.gc(2,"translate"),a.Sb()),2&t&&(a.Cb(1),a.Jc(" ",a.hc(2,1,"common.error.requis")," "))}let f=(()=>{class t extends i.a{constructor(t,e){super(t),this.translateService=t,this.configSharedService=e,this.qualifications=this.configSharedService.qualifications}set parentForm(t){this.form=t}}return t.\u0275fac=function(e){return new(e||t)(a.Nb(r.d),a.Nb(o.a))},t.\u0275cmp=a.Hb({type:t,selectors:[["app-qualification-form-2"]],inputs:{isRequired:"isRequired",parentForm:"parentForm"},features:[a.zb],decls:5,vars:4,consts:[[3,"formGroup"],[1,"full-width"],["data-cy","qualification","appLabel","dpd.salarie.qualification","formControlName","qualification",3,"required"],[3,"value",4,"ngFor","ngForOf"],[4,"ngIf"],[3,"value"]],template:function(t,e){1&t&&(a.Tb(0,"form",0),a.Tb(1,"mat-form-field",1),a.Tb(2,"mat-select",2),a.Fc(3,m,2,2,"mat-option",3),a.Sb(),a.Fc(4,p,3,3,"mat-error",4),a.Sb(),a.Sb()),2&t&&(a.nc("formGroup",e.form),a.Cb(2),a.nc("required",e.isRequired),a.Cb(1),a.nc("ngForOf",e.qualifications),a.Cb(1),a.nc("ngIf",e.doesControlHaveError("qualification","required")))},directives:[s.x,s.p,s.i,l.c,c.a,d.a,s.o,s.g,s.v,u.k,u.l,h.m,l.b],pipes:[r.c],styles:[".full-width[_ngcontent-%COMP%]{width:100%}"]}),t})()},GH2U:function(t,e,n){"use strict";n.d(e,"a",function(){return c});var i=n("cXaA"),a=n("LRne"),r=n("5+tZ"),o=n("71J3"),s=n("8Y7J"),l=n("IheW");let c=(()=>{class t{constructor(t){this.http=t,this.log=i.a.create("DeclarationService"),this.END_POINT="/api/declarations"}searchDeclarations(t=!1,e=null,n=null,i=null,a=null,r=null,o=null,s=null){const l=this.END_POINT+"/list"+(t?"/transmis":"/enregistre");this.log.data(`[HTTP] (POST) -> ${l}`);const c={};return null!==e&&(c.code=e),null!==n&&(c.titre=n),null!==i&&(c.salarie=i),null!==s&&(c.size=s),null!==o&&(c.page=o),null!==a&&null!==r&&(c.sort=a,c.direction=null!==r?r.toUpperCase():r),this.http.post(l,c)}saveDeclaration(t){let e;const n=new o.a(t);if(n.id){const t=`${this.END_POINT}/${n.code}`;this.log.data(`[HTTP] (PUT) -> ${t}`),this.log.data(JSON.stringify(n.getForPost())),e=this.http.put(t,n.getForPost()).pipe(Object(r.a)(()=>Object(a.a)(n)))}else{const t=this.END_POINT;this.log.data(`[HTTP] (POST) -> ${t}`),this.log.data(JSON.stringify(n.getForPost())),e=this.http.post(t,n.getForPost())}return e}getDeclaration(t){const e=`${this.END_POINT}/${t}`;return this.log.data(`[HTTP] (GET) -> ${e}`),this.http.get(e)}transmettreDeclaration(t,e){const n=`${this.END_POINT}/${t}/transmission`;return this.log.data(`[HTTP] (POST) -> ${n}`),this.http.post(n,e)}supprimerDeclaration(t){const e=`${this.END_POINT}/${t}`;return this.log.data(`[HTTP] (DELETE) -> ${e}`),this.http.delete(e)}completerDeclaration(t,e){const n=`${this.END_POINT}/${t}/complete`;return this.log.data(`[HTTP] (POST) -> ${n}`),this.http.post(n,e)}getAccuseReception(t){const e=`${this.END_POINT}/${t}/accuse-reception`;return this.log.data(`[HTTP] (GET) -> ${e}`),this.http.get(e)}getCompteurs(){const t=`${this.END_POINT}/compteurs`;return this.log.data(`[HTTP] (GET) -> ${t}`),this.http.get(t)}}return t.\u0275fac=function(e){return new(e||t)(s.Xb(l.b))},t.\u0275prov=s.Jb({token:t,factory:t.\u0275fac,providedIn:"root"}),t})()},GS7A:function(t,e,n){"use strict";n.d(e,"a",function(){return r}),n.d(e,"b",function(){return i}),n.d(e,"c",function(){return a}),n.d(e,"d",function(){return b}),n.d(e,"e",function(){return s}),n.d(e,"f",function(){return p}),n.d(e,"g",function(){return l}),n.d(e,"h",function(){return h}),n.d(e,"i",function(){return f}),n.d(e,"j",function(){return c}),n.d(e,"k",function(){return u}),n.d(e,"l",function(){return d}),n.d(e,"m",function(){return m}),n.d(e,"n",function(){return o}),n.d(e,"o",function(){return _}),n.d(e,"p",function(){return y});class i{}class a{}const r="*";function o(t,e){return{type:7,name:t,definitions:e,options:{}}}function s(t,e=null){return{type:4,styles:e,timings:t}}function l(t,e=null){return{type:3,steps:t,options:e}}function c(t,e=null){return{type:2,steps:t,options:e}}function d(t){return{type:6,styles:t,offset:null}}function u(t,e,n){return{type:0,name:t,styles:e,options:n}}function h(t){return{type:5,steps:t}}function m(t,e,n=null){return{type:1,expr:t,animation:e,options:n}}function p(t=null){return{type:9,options:t}}function f(t,e,n=null){return{type:11,selector:t,animation:e,options:n}}function g(t){Promise.resolve(null).then(t)}class b{constructor(t=0,e=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=t+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}onStart(t){this._onStartFns.push(t)}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){g(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){}setPosition(t){this._position=this.totalTime?t*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}class _{constructor(t){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=t;let e=0,n=0,i=0;const a=this.players.length;0==a?g(()=>this._onFinish()):this.players.forEach(t=>{t.onDone(()=>{++e==a&&this._onFinish()}),t.onDestroy(()=>{++n==a&&this._onDestroy()}),t.onStart(()=>{++i==a&&this._onStart()})}),this.totalTime=this.players.reduce((t,e)=>Math.max(t,e.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this.players.forEach(t=>t.init())}onStart(t){this._onStartFns.push(t)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(t=>t()),this._onStartFns=[])}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(t=>t.play())}pause(){this.players.forEach(t=>t.pause())}restart(){this.players.forEach(t=>t.restart())}finish(){this._onFinish(),this.players.forEach(t=>t.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(t=>t.destroy()),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this.players.forEach(t=>t.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(t){const e=t*this.totalTime;this.players.forEach(t=>{const n=t.totalTime?Math.min(1,e/t.totalTime):1;t.setPosition(n)})}getPosition(){const t=this.players.reduce((t,e)=>null===t||e.totalTime>t.totalTime?e:t,null);return null!=t?t.getPosition():0}beforeDestroy(){this.players.forEach(t=>{t.beforeDestroy&&t.beforeDestroy()})}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}const y="!"},Gnk8:function(t,e,n){"use strict";n.d(e,"a",function(){return i});var i=function(t){return t.FOREIGN_COMPANY="entreprise-etrangere",t.CLIENT="client",t.LOCATION="lieux",t.PRESTATION="prestation",t.FRAIS="frais",t.SINGLE_WORKER="salarie",t.WORKERS="salaries",t.REPRESENTATIVE="representant",t}({})},GyhO:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("LRne"),a=n("bHdf");function r(...t){return Object(a.a)(1)(Object(i.a)(...t))}},"H3+n":function(t,e,n){"use strict";n.d(e,"a",function(){return p});var i=n("8Y7J"),a=n("s7LF"),r=n("IGtN"),o=n("TSSN"),s=n("Q2Ze"),l=n("e6WT"),c=n("q6Qu"),d=n("cw5Z"),u=n("SVse");function h(t,e){1&t&&(i.Tb(0,"mat-error"),i.Hc(1),i.gc(2,"translate"),i.Sb()),2&t&&(i.Cb(1),i.Jc(" ",i.hc(2,1,"common.error.requis")," "))}function m(t,e){1&t&&(i.Tb(0,"mat-error"),i.Hc(1),i.gc(2,"translate"),i.Sb()),2&t&&(i.Cb(1),i.Jc(" ",i.hc(2,1,"common.error.heure")," "))}let p=(()=>{class t extends r.a{constructor(t){super(t),this.translateService=t,this.inputTitle="Heure",this.onChange=t=>{},this.onTouched=()=>{}}get timeInInput(){return this._timeInInput}set timeInInput(t){this._timeInInput=t,this.updateTimeInTimePicker()}updateTimeInTimePicker(){this.timeInTimePicker=this.timeInInput,this.onChange(this.timeInInput)}writeValue(t){this.timeInInput=t}registerOnChange(t){this.onChange=t}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this.isDisabled=t}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(o.d))},t.\u0275cmp=i.Hb({type:t,selectors:[["app-time-form-2"]],inputs:{inputTitle:"inputTitle"},features:[i.Bb([{provide:a.m,useExisting:Object(i.V)(()=>t),multi:!0}]),i.zb],decls:9,vars:12,consts:[[1,"time-container"],["matInput","","data-cy","time","pattern","^([01][0-9]|2[0-3]):[0-5][0-9]$","required","",3,"ngModel","appLabel","disabled","ngModelChange"],["timeCtrl","ngModel"],["type","hidden",3,"value","ngxTimepicker","format","disableClick"],[4,"ngIf"],["matSuffix","",3,"for","disabled","className"],[3,"timeSet"],["timePicker",""]],template:function(t,e){if(1&t&&(i.Tb(0,"mat-form-field",0),i.Tb(1,"input",1,2),i.bc("ngModelChange",function(t){return e.timeInInput=t}),i.Sb(),i.Ob(3,"input",3),i.Fc(4,h,3,3,"mat-error",4),i.Fc(5,m,3,3,"mat-error",4),i.Ob(6,"ngx-material-timepicker-toggle",5),i.Tb(7,"ngx-material-timepicker",6,7),i.bc("timeSet",function(t){return e.timeInInput=t}),i.Sb(),i.Sb()),2&t){const t=i.vc(2),n=i.vc(8);i.Cb(1),i.nc("ngModel",e.timeInInput)("appLabel",e.inputTitle)("disabled",e.isDisabled),i.Cb(2),i.nc("value",e.timeInTimePicker)("ngxTimepicker",n)("format",24)("disableClick",!0),i.Cb(1),i.nc("ngIf",t.hasError("required")),i.Cb(1),i.nc("ngIf",t.hasError("pattern")),i.Cb(1),i.nc("for",n)("disabled",e.isDisabled)("className",e.isDisabled?"ngx-timepicker-disabled":"ngx-timepicker-enabled")}},directives:[s.c,l.b,a.c,a.t,a.v,a.o,a.r,c.a,d.c,u.l,d.d,s.h,d.a,s.b],pipes:[o.c],styles:[".ngx-timepicker-disabled[_ngcontent-%COMP%] button{cursor:default;opacity:.5}.ngx-timepicker-enabled[_ngcontent-%COMP%] button{cursor:pointer}.time-container[_ngcontent-%COMP%]{width:100%}"]}),t})()},H8ED:function(t,e,n){!function(t){"use strict";function e(t,e,n){return"m"===n?e?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443":"h"===n?e?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443":t+" "+(i=+t,a={ss:e?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434",mm:e?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430_\u0445\u0432\u0456\u043b\u0456\u043d\u044b_\u0445\u0432\u0456\u043b\u0456\u043d":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443_\u0445\u0432\u0456\u043b\u0456\u043d\u044b_\u0445\u0432\u0456\u043b\u0456\u043d",hh:e?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430_\u0433\u0430\u0434\u0437\u0456\u043d\u044b_\u0433\u0430\u0434\u0437\u0456\u043d":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443_\u0433\u0430\u0434\u0437\u0456\u043d\u044b_\u0433\u0430\u0434\u0437\u0456\u043d",dd:"\u0434\u0437\u0435\u043d\u044c_\u0434\u043d\u0456_\u0434\u0437\u0451\u043d",MM:"\u043c\u0435\u0441\u044f\u0446_\u043c\u0435\u0441\u044f\u0446\u044b_\u043c\u0435\u0441\u044f\u0446\u0430\u045e",yy:"\u0433\u043e\u0434_\u0433\u0430\u0434\u044b_\u0433\u0430\u0434\u043e\u045e"}[n].split("_"),i%10==1&&i%100!=11?a[0]:i%10>=2&&i%10<=4&&(i%100<10||i%100>=20)?a[1]:a[2]);var i,a}t.defineLocale("be",{months:{format:"\u0441\u0442\u0443\u0434\u0437\u0435\u043d\u044f_\u043b\u044e\u0442\u0430\u0433\u0430_\u0441\u0430\u043a\u0430\u0432\u0456\u043a\u0430_\u043a\u0440\u0430\u0441\u0430\u0432\u0456\u043a\u0430_\u0442\u0440\u0430\u045e\u043d\u044f_\u0447\u044d\u0440\u0432\u0435\u043d\u044f_\u043b\u0456\u043f\u0435\u043d\u044f_\u0436\u043d\u0456\u045e\u043d\u044f_\u0432\u0435\u0440\u0430\u0441\u043d\u044f_\u043a\u0430\u0441\u0442\u0440\u044b\u0447\u043d\u0456\u043a\u0430_\u043b\u0456\u0441\u0442\u0430\u043f\u0430\u0434\u0430_\u0441\u043d\u0435\u0436\u043d\u044f".split("_"),standalone:"\u0441\u0442\u0443\u0434\u0437\u0435\u043d\u044c_\u043b\u044e\u0442\u044b_\u0441\u0430\u043a\u0430\u0432\u0456\u043a_\u043a\u0440\u0430\u0441\u0430\u0432\u0456\u043a_\u0442\u0440\u0430\u0432\u0435\u043d\u044c_\u0447\u044d\u0440\u0432\u0435\u043d\u044c_\u043b\u0456\u043f\u0435\u043d\u044c_\u0436\u043d\u0456\u0432\u0435\u043d\u044c_\u0432\u0435\u0440\u0430\u0441\u0435\u043d\u044c_\u043a\u0430\u0441\u0442\u0440\u044b\u0447\u043d\u0456\u043a_\u043b\u0456\u0441\u0442\u0430\u043f\u0430\u0434_\u0441\u043d\u0435\u0436\u0430\u043d\u044c".split("_")},monthsShort:"\u0441\u0442\u0443\u0434_\u043b\u044e\u0442_\u0441\u0430\u043a_\u043a\u0440\u0430\u0441_\u0442\u0440\u0430\u0432_\u0447\u044d\u0440\u0432_\u043b\u0456\u043f_\u0436\u043d\u0456\u0432_\u0432\u0435\u0440_\u043a\u0430\u0441\u0442_\u043b\u0456\u0441\u0442_\u0441\u043d\u0435\u0436".split("_"),weekdays:{format:"\u043d\u044f\u0434\u0437\u0435\u043b\u044e_\u043f\u0430\u043d\u044f\u0434\u0437\u0435\u043b\u0430\u043a_\u0430\u045e\u0442\u043e\u0440\u0430\u043a_\u0441\u0435\u0440\u0430\u0434\u0443_\u0447\u0430\u0446\u0432\u0435\u0440_\u043f\u044f\u0442\u043d\u0456\u0446\u0443_\u0441\u0443\u0431\u043e\u0442\u0443".split("_"),standalone:"\u043d\u044f\u0434\u0437\u0435\u043b\u044f_\u043f\u0430\u043d\u044f\u0434\u0437\u0435\u043b\u0430\u043a_\u0430\u045e\u0442\u043e\u0440\u0430\u043a_\u0441\u0435\u0440\u0430\u0434\u0430_\u0447\u0430\u0446\u0432\u0435\u0440_\u043f\u044f\u0442\u043d\u0456\u0446\u0430_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),isFormat:/\[ ?[\u0423\u0443\u045e] ?(?:\u043c\u0456\u043d\u0443\u043b\u0443\u044e|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u0443\u044e)? ?\] ?dddd/},weekdaysShort:"\u043d\u0434_\u043f\u043d_\u0430\u0442_\u0441\u0440_\u0447\u0446_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0430\u0442_\u0441\u0440_\u0447\u0446_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., HH:mm",LLLL:"dddd, D MMMM YYYY \u0433., HH:mm"},calendar:{sameDay:"[\u0421\u0451\u043d\u043d\u044f \u045e] LT",nextDay:"[\u0417\u0430\u045e\u0442\u0440\u0430 \u045e] LT",lastDay:"[\u0423\u0447\u043e\u0440\u0430 \u045e] LT",nextWeek:function(){return"[\u0423] dddd [\u045e] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[\u0423 \u043c\u0456\u043d\u0443\u043b\u0443\u044e] dddd [\u045e] LT";case 1:case 2:case 4:return"[\u0423 \u043c\u0456\u043d\u0443\u043b\u044b] dddd [\u045e] LT"}},sameElse:"L"},relativeTime:{future:"\u043f\u0440\u0430\u0437 %s",past:"%s \u0442\u0430\u043c\u0443",s:"\u043d\u0435\u043a\u0430\u043b\u044c\u043a\u0456 \u0441\u0435\u043a\u0443\u043d\u0434",m:e,mm:e,h:e,hh:e,d:"\u0434\u0437\u0435\u043d\u044c",dd:e,M:"\u043c\u0435\u0441\u044f\u0446",MM:e,y:"\u0433\u043e\u0434",yy:e},meridiemParse:/\u043d\u043e\u0447\u044b|\u0440\u0430\u043d\u0456\u0446\u044b|\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430/,isPM:function(t){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430)$/.test(t)},meridiem:function(t,e,n){return t<4?"\u043d\u043e\u0447\u044b":t<12?"\u0440\u0430\u043d\u0456\u0446\u044b":t<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0430\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0456|\u044b|\u0433\u0430)/,ordinal:function(t,e){switch(e){case"M":case"d":case"DDD":case"w":case"W":return t%10!=2&&t%10!=3||t%100==12||t%100==13?t+"-\u044b":t+"-\u0456";case"D":return t+"-\u0433\u0430";default:return t}},week:{dow:1,doy:7}})}(n("wd/R"))},HDdC:function(t,e,n){"use strict";n.d(e,"a",function(){return c});var i=n("7o/Q"),a=n("2QA8"),r=n("gRHU"),o=n("kJWO"),s=n("SpAZ"),l=n("2fFW");let c=(()=>{class t{constructor(t){this._isScalar=!1,t&&(this._subscribe=t)}lift(e){const n=new t;return n.source=this,n.operator=e,n}subscribe(t,e,n){const{operator:o}=this,s=function(t,e,n){if(t){if(t instanceof i.a)return t;if(t[a.a])return t[a.a]()}return t||e||n?new i.a(t,e,n):new i.a(r.a)}(t,e,n);if(s.add(o?o.call(s,this.source):this.source||l.a.useDeprecatedSynchronousErrorHandling&&!s.syncErrorThrowable?this._subscribe(s):this._trySubscribe(s)),l.a.useDeprecatedSynchronousErrorHandling&&s.syncErrorThrowable&&(s.syncErrorThrowable=!1,s.syncErrorThrown))throw s.syncErrorValue;return s}_trySubscribe(t){try{return this._subscribe(t)}catch(e){l.a.useDeprecatedSynchronousErrorHandling&&(t.syncErrorThrown=!0,t.syncErrorValue=e),function(t){for(;t;){const{closed:e,destination:n,isStopped:a}=t;if(e||a)return!1;t=n&&n instanceof i.a?n:null}return!0}(t)?t.error(e):console.warn(e)}}forEach(t,e){return new(e=d(e))((e,n)=>{let i;i=this.subscribe(e=>{try{t(e)}catch(a){n(a),i&&i.unsubscribe()}},n,e)})}_subscribe(t){const{source:e}=this;return e&&e.subscribe(t)}[o.a](){return this}pipe(...t){return 0===t.length?this:(0===(e=t).length?s.a:1===e.length?e[0]:function(t){return e.reduce((t,e)=>e(t),t)})(this);var e}toPromise(t){return new(t=d(t))((t,e)=>{let n;this.subscribe(t=>n=t,t=>e(t),()=>t(n))})}}return t.create=e=>new t(e),t})();function d(t){if(t||(t=l.a.Promise||Promise),!t)throw new Error("no Promise impl found");return t}},HP3h:function(t,e,n){!function(t){"use strict";var e={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},n=function(t){return 0===t?0:1===t?1:2===t?2:t%100>=3&&t%100<=10?3:t%100>=11?4:5},i={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},a=function(t){return function(e,a,r,o){var s=n(e),l=i[t][n(e)];return 2===s&&(l=l[a?0:1]),l.replace(/%d/i,e)}},r=["\u064a\u0646\u0627\u064a\u0631","\u0641\u0628\u0631\u0627\u064a\u0631","\u0645\u0627\u0631\u0633","\u0623\u0628\u0631\u064a\u0644","\u0645\u0627\u064a\u0648","\u064a\u0648\u0646\u064a\u0648","\u064a\u0648\u0644\u064a\u0648","\u0623\u063a\u0633\u0637\u0633","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];t.defineLocale("ar-ly",{months:r,monthsShort:r,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(t){return"\u0645"===t},meridiem:function(t,e,n){return t<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:a("s"),ss:a("s"),m:a("m"),mm:a("m"),h:a("h"),hh:a("h"),d:a("d"),dd:a("d"),M:a("M"),MM:a("M"),y:a("y"),yy:a("y")},preparse:function(t){return t.replace(/\u060c/g,",")},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(n("wd/R"))},HeVh:function(t,e,n){"use strict";n.d(e,"a",function(){return w}),n.d(e,"b",function(){return M});var i=n("8Y7J"),a=n("8LU1"),r=n("XNiG"),o=n("itXk"),s=n("GyhO"),l=n("HDdC"),c=n("IzEk"),d=n("7o/Q");class u{constructor(t){this.total=t}call(t,e){return e.subscribe(new h(t,this.total))}}class h extends d.a{constructor(t,e){super(t),this.total=e,this.count=0}_next(t){++this.count>this.total&&this.destination.next(t)}}var m=n("Kj3r"),p=n("lJxs"),f=n("JX91"),g=n("1G5W"),b=n("SCoL");const _=new Set;let y,v=(()=>{class t{constructor(t){this._platform=t,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):C}matchMedia(t){return this._platform.WEBKIT&&function(t){if(!_.has(t))try{y||(y=document.createElement("style"),y.setAttribute("type","text/css"),document.head.appendChild(y)),y.sheet&&(y.sheet.insertRule(`@media ${t} {.fx-query-test{ }}`,0),_.add(t))}catch(e){console.error(e)}}(t),this._matchMedia(t)}}return t.\u0275fac=function(e){return new(e||t)(i.Xb(b.a))},t.\u0275prov=Object(i.Jb)({factory:function(){return new t(Object(i.Xb)(b.a))},token:t,providedIn:"root"}),t})();function C(t){return{matches:"all"===t||""===t,media:t,addListener:()=>{},removeListener:()=>{}}}let w=(()=>{class t{constructor(t,e){this._mediaMatcher=t,this._zone=e,this._queries=new Map,this._destroySubject=new r.a}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(t){return x(Object(a.b)(t)).some(t=>this._registerQuery(t).mql.matches)}observe(t){const e=x(Object(a.b)(t)).map(t=>this._registerQuery(t).observable);let n=Object(o.a)(e);return n=Object(s.a)(n.pipe(Object(c.a)(1)),n.pipe(t=>t.lift(new u(1)),Object(m.a)(0))),n.pipe(Object(p.a)(t=>{const e={matches:!1,breakpoints:{}};return t.forEach(({matches:t,query:n})=>{e.matches=e.matches||t,e.breakpoints[n]=t}),e}))}_registerQuery(t){if(this._queries.has(t))return this._queries.get(t);const e=this._mediaMatcher.matchMedia(t),n={observable:new l.a(t=>{const n=e=>this._zone.run(()=>t.next(e));return e.addListener(n),()=>{e.removeListener(n)}}).pipe(Object(f.a)(e),Object(p.a)(({matches:e})=>({query:t,matches:e})),Object(g.a)(this._destroySubject)),mql:e};return this._queries.set(t,n),n}}return t.\u0275fac=function(e){return new(e||t)(i.Xb(v),i.Xb(i.B))},t.\u0275prov=Object(i.Jb)({factory:function(){return new t(Object(i.Xb)(v),Object(i.Xb)(i.B))},token:t,providedIn:"root"}),t})();function x(t){return t.map(t=>t.split(",")).reduce((t,e)=>t.concat(e)).map(t=>t.trim())}const M={XSmall:"(max-width: 599.98px)",Small:"(min-width: 600px) and (max-width: 959.98px)",Medium:"(min-width: 960px) and (max-width: 1279.98px)",Large:"(min-width: 1280px) and (max-width: 1919.98px)",XLarge:"(min-width: 1920px)",Handset:"(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)",Tablet:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait), (min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",Web:"(min-width: 840px) and (orientation: portrait), (min-width: 1280px) and (orientation: landscape)",HandsetPortrait:"(max-width: 599.98px) and (orientation: portrait)",TabletPortrait:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait)",WebPortrait:"(min-width: 840px) and (orientation: portrait)",HandsetLandscape:"(max-width: 959.98px) and (orientation: landscape)",TabletLandscape:"(min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",WebLandscape:"(min-width: 1280px) and (orientation: landscape)"}},"Ht+U":function(t,e,n){"use strict";n.d(e,"a",function(){return _}),n.d(e,"b",function(){return i}),n.d(e,"c",function(){return f}),n.d(e,"d",function(){return d}),n.d(e,"e",function(){return r}),n.d(e,"f",function(){return o}),n.d(e,"g",function(){return u}),n.d(e,"h",function(){return h}),n.d(e,"i",function(){return b}),n.d(e,"j",function(){return c}),n.d(e,"k",function(){return l}),n.d(e,"l",function(){return p}),n.d(e,"m",function(){return s}),n.d(e,"n",function(){return a}),n.d(e,"o",function(){return m}),n.d(e,"p",function(){return y}),n.d(e,"q",function(){return g}),n.d(e,"r",function(){return v});const i=8,a=9,r=13,o=27,s=32,l=33,c=34,d=35,u=36,h=37,m=38,p=39,f=40,g=48,b=57,_=65,y=90;function v(t,...e){return e.length?e.some(e=>t[e]):t.altKey||t.shiftKey||t.ctrlKey||t.metaKey}},I55L:function(t,e,n){"use strict";n.d(e,"a",function(){return i});const i=t=>t&&"number"==typeof t.length&&"function"!=typeof t},IBtZ:function(t,e,n){!function(t){"use strict";t.defineLocale("ka",{months:"\u10d8\u10d0\u10dc\u10d5\u10d0\u10e0\u10d8_\u10d7\u10d4\u10d1\u10d4\u10e0\u10d5\u10d0\u10da\u10d8_\u10db\u10d0\u10e0\u10e2\u10d8_\u10d0\u10de\u10e0\u10d8\u10da\u10d8_\u10db\u10d0\u10d8\u10e1\u10d8_\u10d8\u10d5\u10dc\u10d8\u10e1\u10d8_\u10d8\u10d5\u10da\u10d8\u10e1\u10d8_\u10d0\u10d2\u10d5\u10d8\u10e1\u10e2\u10dd_\u10e1\u10d4\u10e5\u10e2\u10d4\u10db\u10d1\u10d4\u10e0\u10d8_\u10dd\u10e5\u10e2\u10dd\u10db\u10d1\u10d4\u10e0\u10d8_\u10dc\u10dd\u10d4\u10db\u10d1\u10d4\u10e0\u10d8_\u10d3\u10d4\u10d9\u10d4\u10db\u10d1\u10d4\u10e0\u10d8".split("_"),monthsShort:"\u10d8\u10d0\u10dc_\u10d7\u10d4\u10d1_\u10db\u10d0\u10e0_\u10d0\u10de\u10e0_\u10db\u10d0\u10d8_\u10d8\u10d5\u10dc_\u10d8\u10d5\u10da_\u10d0\u10d2\u10d5_\u10e1\u10d4\u10e5_\u10dd\u10e5\u10e2_\u10dc\u10dd\u10d4_\u10d3\u10d4\u10d9".split("_"),weekdays:{standalone:"\u10d9\u10d5\u10d8\u10e0\u10d0_\u10dd\u10e0\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10e1\u10d0\u10db\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10dd\u10d7\u10ee\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10ee\u10e3\u10d7\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10de\u10d0\u10e0\u10d0\u10e1\u10d9\u10d4\u10d5\u10d8_\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8".split("_"),format:"\u10d9\u10d5\u10d8\u10e0\u10d0\u10e1_\u10dd\u10e0\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10e1\u10d0\u10db\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10dd\u10d7\u10ee\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10ee\u10e3\u10d7\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10de\u10d0\u10e0\u10d0\u10e1\u10d9\u10d4\u10d5\u10e1_\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1".split("_"),isFormat:/(\u10ec\u10d8\u10dc\u10d0|\u10e8\u10d4\u10db\u10d3\u10d4\u10d2)/},weekdaysShort:"\u10d9\u10d5\u10d8_\u10dd\u10e0\u10e8_\u10e1\u10d0\u10db_\u10dd\u10d7\u10ee_\u10ee\u10e3\u10d7_\u10de\u10d0\u10e0_\u10e8\u10d0\u10d1".split("_"),weekdaysMin:"\u10d9\u10d5_\u10dd\u10e0_\u10e1\u10d0_\u10dd\u10d7_\u10ee\u10e3_\u10de\u10d0_\u10e8\u10d0".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u10d3\u10e6\u10d4\u10e1] LT[-\u10d6\u10d4]",nextDay:"[\u10ee\u10d5\u10d0\u10da] LT[-\u10d6\u10d4]",lastDay:"[\u10d2\u10e3\u10e8\u10d8\u10dc] LT[-\u10d6\u10d4]",nextWeek:"[\u10e8\u10d4\u10db\u10d3\u10d4\u10d2] dddd LT[-\u10d6\u10d4]",lastWeek:"[\u10ec\u10d8\u10dc\u10d0] dddd LT-\u10d6\u10d4",sameElse:"L"},relativeTime:{future:function(t){return t.replace(/(\u10ec\u10d0\u10db|\u10ec\u10e3\u10d7|\u10e1\u10d0\u10d0\u10d7|\u10ec\u10d4\u10da|\u10d3\u10e6|\u10d7\u10d5)(\u10d8|\u10d4)/,function(t,e,n){return"\u10d8"===n?e+"\u10e8\u10d8":e+n+"\u10e8\u10d8"})},past:function(t){return/(\u10ec\u10d0\u10db\u10d8|\u10ec\u10e3\u10d7\u10d8|\u10e1\u10d0\u10d0\u10d7\u10d8|\u10d3\u10e6\u10d4|\u10d7\u10d5\u10d4)/.test(t)?t.replace(/(\u10d8|\u10d4)$/,"\u10d8\u10e1 \u10ec\u10d8\u10dc"):/\u10ec\u10d4\u10da\u10d8/.test(t)?t.replace(/\u10ec\u10d4\u10da\u10d8$/,"\u10ec\u10da\u10d8\u10e1 \u10ec\u10d8\u10dc"):t},s:"\u10e0\u10d0\u10db\u10d3\u10d4\u10dc\u10d8\u10db\u10d4 \u10ec\u10d0\u10db\u10d8",ss:"%d \u10ec\u10d0\u10db\u10d8",m:"\u10ec\u10e3\u10d7\u10d8",mm:"%d \u10ec\u10e3\u10d7\u10d8",h:"\u10e1\u10d0\u10d0\u10d7\u10d8",hh:"%d \u10e1\u10d0\u10d0\u10d7\u10d8",d:"\u10d3\u10e6\u10d4",dd:"%d \u10d3\u10e6\u10d4",M:"\u10d7\u10d5\u10d4",MM:"%d \u10d7\u10d5\u10d4",y:"\u10ec\u10d4\u10da\u10d8",yy:"%d \u10ec\u10d4\u10da\u10d8"},dayOfMonthOrdinalParse:/0|1-\u10da\u10d8|\u10db\u10d4-\d{1,2}|\d{1,2}-\u10d4/,ordinal:function(t){return 0===t?t:1===t?t+"-\u10da\u10d8":t<20||t<=100&&t%20==0||t%100==0?"\u10db\u10d4-"+t:t+"-\u10d4"},week:{dow:1,doy:7}})}(n("wd/R"))},IGtN:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("8Y7J"),a=n("TSSN");let r=(()=>{class t{constructor(t){this.translateService=t,this.subscriptions=[]}ngOnInit(){this.load(),this.subscriptions.push(this.translateService.onLangChange.subscribe(t=>{const e=localStorage.getItem("lang");null!==e&&e!==t.lang&&this.load()}))}load(){}ngOnDestroy(){this.unload(),this.subscriptions.forEach(t=>t.unsubscribe())}unload(){}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(a.d))},t.\u0275cmp=i.Hb({type:t,selectors:[["ng-component"]],decls:0,vars:0,template:function(t,e){},encapsulation:2}),t})()},INw2:function(t,e,n){"use strict";n.d(e,"a",function(){return A});var i=n("v/fa"),a=n("O8bH"),r=n("8Y7J"),o=n("TSSN"),s=n("iELJ"),l=n("s7LF"),c=n("SVse"),d=n("Q2Ze"),u=n("ZTz/"),h=n("Dxy4"),m=n("q6Qu"),p=n("UhP/"),f=n("Tj54");function g(t,e){if(1&t&&(r.Tb(0,"mat-option",14),r.Hc(1),r.Sb()),2&t){const t=e.$implicit,n=r.fc(2);r.nc("value",t),r.Cb(1),r.Kc(" ",t.activite4," - ",n.getLibelleActivite4(t)," ")}}function b(t,e){if(1&t){const t=r.Ub();r.Tb(0,"div"),r.Tb(1,"label"),r.Hc(2),r.gc(3,"translate"),r.Sb(),r.Tb(4,"div",10),r.Tb(5,"div",3),r.Tb(6,"mat-form-field"),r.Tb(7,"mat-select",11),r.Fc(8,g,2,3,"mat-option",12),r.Sb(),r.Sb(),r.Tb(9,"button",13),r.bc("click",function(){return r.yc(t),r.fc().selectActivityCodeNaf()}),r.Sb(),r.Sb(),r.Sb(),r.Sb()}if(2&t){const t=r.fc();r.Cb(2),r.Ic(r.hc(3,2,"dpd.activite.codeNaf")),r.Cb(6),r.nc("ngForOf",t.listActiviteCodeNaf)}}function _(t,e){if(1&t&&(r.Tb(0,"mat-option",14),r.Hc(1),r.Sb()),2&t){const t=r.fc().$implicit;r.nc("value",t),r.Cb(1),r.Jc(" ",t.libelle," ")}}function y(t,e){if(1&t&&(r.Rb(0),r.Fc(1,_,2,2,"mat-option",15),r.Qb()),2&t){const t=e.$implicit;r.Cb(1),r.nc("ngIf",t.actif)}}function v(t,e){if(1&t){const t=r.Ub();r.Tb(0,"div"),r.Tb(1,"mat-icon",16),r.bc("click",function(){r.yc(t);const e=r.fc();return e.detailActivite(e.activite1)}),r.Hc(2,"help"),r.Sb(),r.Sb()}}function C(t,e){if(1&t&&(r.Tb(0,"mat-option",14),r.Hc(1),r.Sb()),2&t){const t=r.fc().$implicit;r.nc("value",t),r.Cb(1),r.Jc(" ",t.libelle," ")}}function w(t,e){if(1&t&&(r.Rb(0),r.Fc(1,C,2,2,"mat-option",15),r.Qb()),2&t){const t=e.$implicit;r.Cb(1),r.nc("ngIf",t.actif)}}function x(t,e){if(1&t){const t=r.Ub();r.Tb(0,"div"),r.Tb(1,"mat-icon",16),r.bc("click",function(){r.yc(t);const e=r.fc(2);return e.detailActivite(e.activite2)}),r.Hc(2,"help"),r.Sb(),r.Sb()}}function M(t,e){if(1&t){const t=r.Ub();r.Tb(0,"div",17),r.Tb(1,"div",3),r.Tb(2,"mat-form-field",4),r.Tb(3,"mat-select",18),r.bc("selectionChange",function(e){return r.yc(t),r.fc().onActivitesChange(e)}),r.Fc(4,w,2,1,"ng-container",6),r.Sb(),r.Sb(),r.Fc(5,x,3,0,"div",1),r.Sb(),r.Sb()}if(2&t){const t=r.fc();r.Cb(2),r.nc("hideRequiredMarker",!1),r.Cb(1),r.nc("title",t.activite2?t.activite2.libelle:""),r.Cb(1),r.nc("ngForOf",t.activite1.sousActivites),r.Cb(1),r.nc("ngIf",t.isDetailActivityDisplayed(t.activite2))}}function O(t,e){if(1&t&&(r.Tb(0,"mat-option",14),r.Hc(1),r.Sb()),2&t){const t=r.fc().$implicit;r.nc("value",t),r.Cb(1),r.Jc(" ",t.libelle," ")}}function k(t,e){if(1&t&&(r.Rb(0),r.Fc(1,O,2,2,"mat-option",15),r.Qb()),2&t){const t=e.$implicit;r.Cb(1),r.nc("ngIf",t.actif)}}function S(t,e){if(1&t){const t=r.Ub();r.Tb(0,"div"),r.Tb(1,"mat-icon",16),r.bc("click",function(){r.yc(t);const e=r.fc(2);return e.detailActivite(e.activite3)}),r.Hc(2,"help"),r.Sb(),r.Sb()}}function T(t,e){if(1&t){const t=r.Ub();r.Tb(0,"div",19),r.Tb(1,"div",3),r.Tb(2,"mat-form-field",4),r.Tb(3,"mat-select",20),r.bc("selectionChange",function(e){return r.yc(t),r.fc().onActivitesChange(e)}),r.Fc(4,k,2,1,"ng-container",6),r.Sb(),r.Sb(),r.Fc(5,S,3,0,"div",1),r.Sb(),r.Sb()}if(2&t){const t=r.fc();r.Cb(2),r.nc("hideRequiredMarker",!1),r.Cb(1),r.nc("title",t.activite3?t.activite3.libelle:""),r.Cb(1),r.nc("ngForOf",t.activite2.sousActivites),r.Cb(1),r.nc("ngIf",t.isDetailActivityDisplayed(t.activite3))}}function P(t,e){if(1&t&&(r.Tb(0,"mat-option",14),r.Hc(1),r.Sb()),2&t){const t=r.fc().$implicit;r.nc("value",t),r.Cb(1),r.Jc(" ",t.libelle," ")}}function L(t,e){if(1&t&&(r.Rb(0),r.Fc(1,P,2,2,"mat-option",15),r.Qb()),2&t){const t=e.$implicit;r.Cb(1),r.nc("ngIf",t.actif)}}function D(t,e){if(1&t){const t=r.Ub();r.Tb(0,"div"),r.Tb(1,"mat-icon",16),r.bc("click",function(){r.yc(t);const e=r.fc(2);return e.detailActivite(e.activite4)}),r.Hc(2,"help"),r.Sb(),r.Sb()}}function E(t,e){if(1&t){const t=r.Ub();r.Tb(0,"div",21),r.Tb(1,"div",3),r.Tb(2,"mat-form-field",4),r.Tb(3,"mat-select",22),r.bc("selectionChange",function(e){return r.yc(t),r.fc().onActivitesChange(e)}),r.Fc(4,L,2,1,"ng-container",6),r.Sb(),r.Sb(),r.Fc(5,D,3,0,"div",1),r.Sb(),r.Sb()}if(2&t){const t=r.fc();r.Cb(2),r.nc("hideRequiredMarker",!1),r.Cb(1),r.nc("title",t.activite4?t.activite4.libelle:""),r.Cb(1),r.nc("ngForOf",t.activite3.sousActivites),r.Cb(1),r.nc("ngIf",t.isDetailActivityDisplayed(t.activite4))}}let A=(()=>{class t extends i.a{constructor(t,e){super(t),this.translateService=t,this.dialog=e,this.hideSubActivites=!1,this.prevActivitesLibelles=[null,null,null,null]}load(){this.form=this.formFg}get activite1(){return this.form.get("activite1").value}get activite2(){return this.form.get("activite2").value}get activite3(){return this.form.get("activite3").value}get activite4(){return this.form.get("activite4").value}getLibelleActivite4(t){const e=this.findActivityWithSubActivities(t);return e?e.libelle:""}findActivityWithSubActivities(t){let e;const n=[this.activities],i=[t.activite1,t.activite2,t.activite3,t.activite4];return i.forEach((t,a)=>{if(a<3){const t=this.getSubActivitiesWithParentCode(n[a],i[a]);n.push(t)}else e=this.getActivityWithCode(n[3],i[3])}),e}getSubActivitiesWithParentCode(t,e){const n=this.getActivityWithCode(t,e);return n?n.sousActivites:[]}getActivityWithCode(t,e){return t.find(t=>t.code===e)}selectActivityCodeNaf(){this.activiteCodeNafSelected=this.form.get("activiteCodeNaf").value,this.prevActivitesLibelles=[null,null,null,null],this.setAllSubActivities(this.activiteCodeNafSelected)}setAllSubActivities(t){const e=[this.activities],n=[t.activite1,t.activite2,t.activite3,t.activite4],i=[];n.forEach((t,a)=>{const r=this.getActivityWithCode(e[a],n[a]);e.push(r.sousActivites?r.sousActivites:[]),i.push(r)}),i[0]&&this.form.get("activite1").setValue(i[0]),i[1]&&this.form.get("activite2").setValue(i[1]),i[2]&&this.form.get("activite3").setValue(i[2]),i[3]&&this.form.get("activite4").setValue(i[3])}isDetailActivityDisplayed(t){return t&&!(!t.description&&!t.exclusion&&!t.autre)}onActivitesChange(t){const e=t.value,n=t.source.ngControl.name;let i;"activite1"===n&&e.libelle!==this.prevActivitesLibelles[0]&&(i={activite2:null,activite3:null,activite4:null}),"activite2"===n&&e.libelle!==this.prevActivitesLibelles[1]&&(i={activite3:null,activite4:null}),"activite3"===n&&e.libelle!==this.prevActivitesLibelles[2]&&(i={activite4:null}),i&&this.form.patchValue(i),this.setPreviousActivitiesLibelles(n,e)}setPreviousActivitiesLibelles(t,e){switch(t){case"activite1":this.prevActivitesLibelles[0]=e.libelle,this.prevActivitesLibelles[1]=null,this.prevActivitesLibelles[2]=null,this.prevActivitesLibelles[3]=null;break;case"activite2":this.prevActivitesLibelles[1]=e.libelle,this.prevActivitesLibelles[2]=null,this.prevActivitesLibelles[3]=null;break;case"activite3":this.prevActivitesLibelles[2]=e.libelle,this.prevActivitesLibelles[3]=null;break;case"activite4":this.prevActivitesLibelles[3]=e.libelle}}detailActivite(t){this.dialog.open(a.a,{width:"600px",id:"activite-info",data:{libelle:t.libelle,description:t.description,exclusion:t.exclusion,autre:t.autre}})}}return t.\u0275fac=function(e){return new(e||t)(r.Nb(o.d),r.Nb(s.b))},t.\u0275cmp=r.Hb({type:t,selectors:[["app-activite-form-2"]],inputs:{formFg:"formFg",activities:"activities",listActiviteCodeNaf:"listActiviteCodeNaf",hideSubActivites:"hideSubActivites"},features:[r.zb],decls:14,vars:12,consts:[[3,"formGroup"],[4,"ngIf"],["id","activite1"],[1,"select-activite"],[3,"hideRequiredMarker"],["data-cy","activite1","name","activite1","formControlName","activite1","required","",3,"title","selectionChange"],[4,"ngFor","ngForOf"],["id","activite2",4,"ngIf"],["id","activite3",4,"ngIf"],["id","activite4",4,"ngIf"],["id","activites-choice"],["formControlName","activiteCodeNaf","name","activitesSelected"],[3,"value",4,"ngFor","ngForOf"],["mat-raised-button","","color","primary","appLabel","dpd.activite.selectionner",3,"click"],[3,"value"],[3,"value",4,"ngIf"],[3,"click"],["id","activite2"],["data-cy","activite2","name","activite2","formControlName","activite2","required","",3,"title","selectionChange"],["id","activite3"],["data-cy","activite3","name","activite3","formControlName","activite3","required","",3,"title","selectionChange"],["id","activite4"],["data-cy","activite4","name","activite4","formControlName","activite4","required","",3,"title","selectionChange"]],template:function(t,e){1&t&&(r.Tb(0,"form",0),r.Fc(1,b,10,4,"div",1),r.Tb(2,"div",2),r.Tb(3,"div",3),r.Tb(4,"mat-form-field",4),r.Tb(5,"mat-label"),r.Hc(6),r.gc(7,"translate"),r.Sb(),r.Tb(8,"mat-select",5),r.bc("selectionChange",function(t){return e.onActivitesChange(t)}),r.Fc(9,y,2,1,"ng-container",6),r.Sb(),r.Sb(),r.Fc(10,v,3,0,"div",1),r.Sb(),r.Sb(),r.Fc(11,M,6,4,"div",7),r.Fc(12,T,6,4,"div",8),r.Fc(13,E,6,4,"div",9),r.Sb()),2&t&&(r.nc("formGroup",e.form),r.Cb(1),r.nc("ngIf",e.listActiviteCodeNaf.length>0),r.Cb(3),r.nc("hideRequiredMarker",!1),r.Cb(2),r.Ic(r.hc(7,10,"dpd.activite")),r.Cb(2),r.nc("title",e.activite1?e.activite1.libelle:""),r.Cb(1),r.nc("ngForOf",e.activities),r.Cb(1),r.nc("ngIf",e.isDetailActivityDisplayed(e.activite1)),r.Cb(1),r.nc("ngIf",e.activite1),r.Cb(1),r.nc("ngIf",e.activite2),r.Cb(1),r.nc("ngIf",e.activite3))},directives:[l.x,l.p,l.i,c.l,d.c,d.f,u.a,l.o,l.g,l.v,c.k,h.a,m.a,p.m,f.a],pipes:[o.c],styles:[".mat-badge-content[_ngcontent-%COMP%]{font-weight:600;font-size:12px;font-family:Roboto,Helvetica Neue,sans-serif}.mat-badge-small[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{font-size:9px}.mat-badge-large[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{font-size:24px}.mat-h1[_ngcontent-%COMP%], .mat-headline[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font:400 24px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h2[_ngcontent-%COMP%], .mat-title[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font:500 20px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h3[_ngcontent-%COMP%], .mat-subheading-2[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font:400 16px/28px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h4[_ngcontent-%COMP%], .mat-subheading-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{font:400 15px/24px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h5[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{font:400 calc(14px * .83)/20px Roboto,Helvetica Neue,sans-serif;margin:0 0 12px}.mat-h6[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font:400 calc(14px * .67)/20px Roboto,Helvetica Neue,sans-serif;margin:0 0 12px}.mat-body-2[_ngcontent-%COMP%], .mat-body-strong[_ngcontent-%COMP%]{font:500 14px/24px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-body[_ngcontent-%COMP%], .mat-body-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%]{font:400 14px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-body-1[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .mat-body[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0 0 12px}.mat-caption[_ngcontent-%COMP%], .mat-small[_ngcontent-%COMP%]{font:400 12px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-display-4[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-4[_ngcontent-%COMP%]{font:300 112px/112px Roboto,Helvetica Neue,sans-serif;letter-spacing:-.05em;margin:0 0 56px}.mat-display-3[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-3[_ngcontent-%COMP%]{font:400 56px/56px Roboto,Helvetica Neue,sans-serif;letter-spacing:-.02em;margin:0 0 64px}.mat-display-2[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-2[_ngcontent-%COMP%]{font:400 45px/48px Roboto,Helvetica Neue,sans-serif;letter-spacing:-.005em;margin:0 0 64px}.mat-display-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-1[_ngcontent-%COMP%]{font:400 34px/40px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 64px}.mat-bottom-sheet-container[_ngcontent-%COMP%]{font:400 14px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-button[_ngcontent-%COMP%], .mat-fab[_ngcontent-%COMP%], .mat-flat-button[_ngcontent-%COMP%], .mat-icon-button[_ngcontent-%COMP%], .mat-mini-fab[_ngcontent-%COMP%], .mat-raised-button[_ngcontent-%COMP%], .mat-stroked-button[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:500}.mat-button-toggle[_ngcontent-%COMP%], .mat-card[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-card-title[_ngcontent-%COMP%]{font-size:24px;font-weight:500}.mat-card-header[_ngcontent-%COMP%] .mat-card-title[_ngcontent-%COMP%]{font-size:20px}.mat-card-content[_ngcontent-%COMP%], .mat-card-subtitle[_ngcontent-%COMP%]{font-size:14px}.mat-checkbox[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-checkbox-layout[_ngcontent-%COMP%] .mat-checkbox-label[_ngcontent-%COMP%]{line-height:24px}.mat-chip[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.mat-chip[_ngcontent-%COMP%] .mat-chip-remove.mat-icon[_ngcontent-%COMP%], .mat-chip[_ngcontent-%COMP%] .mat-chip-trailing-icon.mat-icon[_ngcontent-%COMP%]{font-size:18px}.mat-table[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-header-cell[_ngcontent-%COMP%]{font-size:12px;font-weight:500}.mat-cell[_ngcontent-%COMP%], .mat-footer-cell[_ngcontent-%COMP%]{font-size:14px}.mat-calendar[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-calendar-body[_ngcontent-%COMP%]{font-size:13px}.mat-calendar-body-label[_ngcontent-%COMP%], .mat-calendar-period-button[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.mat-calendar-table-header[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{font-size:11px;font-weight:400}.mat-dialog-title[_ngcontent-%COMP%]{font:500 20px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-expansion-panel-header[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:15px;font-weight:400}.mat-expansion-panel-content[_ngcontent-%COMP%]{font:400 14px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-form-field[_ngcontent-%COMP%]{font-size:inherit;font-weight:400;line-height:1.125;font-family:Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-form-field-wrapper[_ngcontent-%COMP%]{padding-bottom:1.34375em}.mat-form-field-prefix[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%], .mat-form-field-suffix[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{font-size:150%;line-height:1.125}.mat-form-field-prefix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%], .mat-form-field-suffix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%]{height:1.5em;width:1.5em}.mat-form-field-prefix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%], .mat-form-field-suffix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{height:1.125em;line-height:1.125}.mat-form-field-infix[_ngcontent-%COMP%]{padding:.5em 0;border-top:.84375em solid rgba(0,0,0,0)}.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-1.34375em) scale(.75);transform:translateY(-1.34375em) scale(.75);width:133.3333333333%}.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-1.34374em) scale(.75);transform:translateY(-1.34374em) scale(.75);width:133.3333433333%}.mat-form-field-label-wrapper[_ngcontent-%COMP%]{top:-.84375em;padding-top:.84375em}.mat-form-field-label[_ngcontent-%COMP%]{top:1.34375em}.mat-form-field-underline[_ngcontent-%COMP%]{bottom:1.34375em}.mat-form-field-subscript-wrapper[_ngcontent-%COMP%]{font-size:75%;margin-top:.6666666667em;top:calc(100% - 1.7916666667em)}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-wrapper[_ngcontent-%COMP%]{padding-bottom:1.25em}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]{padding:.4375em 0}.mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.001px);-ms-transform:translateY(-1.28125em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-form-field-autofill-control[_ngcontent-%COMP%]:-webkit-autofill + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00101px);-ms-transform:translateY(-1.28124em) scale(.75);width:133.3333433333%}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00102px);-ms-transform:translateY(-1.28123em) scale(.75);width:133.3333533333%}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{top:1.28125em}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]{bottom:1.25em}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-subscript-wrapper[_ngcontent-%COMP%]{margin-top:.5416666667em;top:calc(100% - 1.6666666667em)}@media print{.mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-1.28122em) scale(.75);transform:translateY(-1.28122em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-form-field-autofill-control[_ngcontent-%COMP%]:-webkit-autofill + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{transform:translateY(-1.28121em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-1.2812em) scale(.75);transform:translateY(-1.2812em) scale(.75)}}.mat-form-field-appearance-fill[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]{padding:.25em 0 .75em}.mat-form-field-appearance-fill[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{top:1.09375em;margin-top:-.5em}.mat-form-field-appearance-fill.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-fill.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-.59375em) scale(.75);transform:translateY(-.59375em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-fill.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-.59374em) scale(.75);transform:translateY(-.59374em) scale(.75);width:133.3333433333%}.mat-form-field-appearance-outline[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]{padding:1em 0}.mat-form-field-appearance-outline[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{top:1.84375em;margin-top:-.25em}.mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-outline.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-1.59375em) scale(.75);transform:translateY(-1.59375em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-outline.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-1.59374em) scale(.75);transform:translateY(-1.59374em) scale(.75);width:133.3333433333%}.mat-grid-tile-footer[_ngcontent-%COMP%], .mat-grid-tile-header[_ngcontent-%COMP%]{font-size:14px}.mat-grid-tile-footer[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%], .mat-grid-tile-header[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-grid-tile-footer[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2), .mat-grid-tile-header[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:12px}input.mat-input-element[_ngcontent-%COMP%]{margin-top:-.0625em}.mat-menu-item[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:400}.mat-paginator[_ngcontent-%COMP%], .mat-paginator-page-size[_ngcontent-%COMP%] .mat-select-trigger[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:12px}.mat-radio-button[_ngcontent-%COMP%], .mat-select[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-select-trigger[_ngcontent-%COMP%]{height:1.125em}.mat-slide-toggle-content[_ngcontent-%COMP%], .mat-slider-thumb-label-text[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-slider-thumb-label-text[_ngcontent-%COMP%]{font-size:12px;font-weight:500}.mat-stepper-horizontal[_ngcontent-%COMP%], .mat-stepper-vertical[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-step-label[_ngcontent-%COMP%]{font-size:14px;font-weight:400}.mat-step-sub-label-error[_ngcontent-%COMP%]{font-weight:400}.mat-step-label-error[_ngcontent-%COMP%]{font-size:14px}.mat-step-label-selected[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.mat-tab-group[_ngcontent-%COMP%], .mat-tab-label[_ngcontent-%COMP%], .mat-tab-link[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-tab-label[_ngcontent-%COMP%], .mat-tab-link[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.mat-toolbar[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font:500 20px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0}.mat-tooltip[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:10px;padding-top:6px;padding-bottom:6px}.mat-tooltip-handset[_ngcontent-%COMP%]{font-size:14px;padding-top:8px;padding-bottom:8px}.mat-list-item[_ngcontent-%COMP%], .mat-list-option[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]{font-size:16px}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:14px}.mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%]{font-size:16px}.mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:14px}.mat-list-base[_ngcontent-%COMP%] .mat-subheader[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:500}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]{font-size:12px}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2), .mat-list-base[dense][_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%]{font-size:12px}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:12px}.mat-list-base[dense][_ngcontent-%COMP%] .mat-subheader[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:12px;font-weight:500}.mat-option[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:16px}.mat-optgroup-label[_ngcontent-%COMP%]{font:500 14px/24px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-simple-snackbar[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px}.mat-simple-snackbar-action[_ngcontent-%COMP%]{line-height:1;font-family:inherit;font-size:inherit;font-weight:500}.mat-tree[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-nested-tree-node[_ngcontent-%COMP%], .mat-tree-node[_ngcontent-%COMP%]{font-weight:400;font-size:14px}.mat-ripple[_ngcontent-%COMP%]{overflow:hidden;position:relative}.mat-ripple[_ngcontent-%COMP%]:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded[_ngcontent-%COMP%]{overflow:visible}.mat-ripple-element[_ngcontent-%COMP%]{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0,0,.2,1);-ms-transform:scale(0);transform:scale(0)}.cdk-high-contrast-active[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{display:none}.cdk-visually-hidden[_ngcontent-%COMP%]{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;outline:0;-webkit-appearance:none;-moz-appearance:none}.cdk-global-overlay-wrapper[_ngcontent-%COMP%], .cdk-overlay-container[_ngcontent-%COMP%]{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container[_ngcontent-%COMP%]{position:fixed;z-index:1000}.cdk-overlay-container[_ngcontent-%COMP%]:empty{display:none}.cdk-global-overlay-wrapper[_ngcontent-%COMP%], .cdk-overlay-pane[_ngcontent-%COMP%]{display:-ms-flexbox;display:flex;position:absolute;z-index:1000}.cdk-overlay-pane[_ngcontent-%COMP%]{pointer-events:auto;box-sizing:border-box;max-width:100%;max-height:100%}.cdk-overlay-backdrop[_ngcontent-%COMP%]{position:absolute;top:0;bottom:0;left:0;right:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:transparent;transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:1}@media screen and (-ms-high-contrast:active){.cdk-overlay-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:.6}}.cdk-overlay-dark-backdrop[_ngcontent-%COMP%]{background:rgba(0,0,0,.32)}.cdk-overlay-transparent-backdrop[_ngcontent-%COMP%], .cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:0}.cdk-overlay-connected-position-bounding-box[_ngcontent-%COMP%]{position:absolute;z-index:1000;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock[_ngcontent-%COMP%]{position:fixed;width:100%;overflow-y:scroll}@-webkit-keyframes cdk-text-field-autofill-start{\n }@keyframes cdk-text-field-autofill-start{\n }@-webkit-keyframes cdk-text-field-autofill-end{\n }@keyframes cdk-text-field-autofill-end{\n }.cdk-text-field-autofill-monitored[_ngcontent-%COMP%]:-webkit-autofill{-webkit-animation:cdk-text-field-autofill-start 0s 1ms;animation:cdk-text-field-autofill-start 0s 1ms}.cdk-text-field-autofill-monitored[_ngcontent-%COMP%]:not(:-webkit-autofill){-webkit-animation:cdk-text-field-autofill-end 0s 1ms;animation:cdk-text-field-autofill-end 0s 1ms}textarea.cdk-textarea-autosize[_ngcontent-%COMP%]{resize:none}textarea.cdk-textarea-autosize-measuring[_ngcontent-%COMP%]{padding:2px 0!important;box-sizing:content-box!important;height:auto!important;overflow:hidden!important}textarea.cdk-textarea-autosize-measuring-firefox[_ngcontent-%COMP%]{padding:2px 0!important;box-sizing:content-box!important;height:0!important}.mat-focus-indicator[_ngcontent-%COMP%], .mat-mdc-focus-indicator[_ngcontent-%COMP%]{position:relative}.select-activite[_ngcontent-%COMP%]{margin:0 10px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.select-activite[_ngcontent-%COMP%]:first-of-type{margin-left:0}.select-activite[_ngcontent-%COMP%]:last-of-type{margin-right:0}.select-activite[_ngcontent-%COMP%] mat-form-field[_ngcontent-%COMP%]{margin-right:5px;width:100%}.select-activite[_ngcontent-%COMP%] mat-form-field[_ngcontent-%COMP%] .mat-select-value-text[_ngcontent-%COMP%]{text-overflow:ellipsis;white-space:nowrap}.select-activite[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{cursor:pointer;color:#004590} .mat-select-panel{max-width:none}"]}),t})()},IheW:function(t,e,n){"use strict";n.d(e,"a",function(){return T}),n.d(e,"b",function(){return k}),n.d(e,"c",function(){return z}),n.d(e,"d",function(){return M}),n.d(e,"e",function(){return h});var i=n("8Y7J"),a=n("LRne"),r=n("HDdC"),o=n("bOdf"),s=n("pLZG"),l=n("lJxs"),c=n("SVse");class d{}class u{}class h{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?this.lazyInit="string"==typeof t?()=>{this.headers=new Map,t.split("\n").forEach(t=>{const e=t.indexOf(":");if(e>0){const n=t.slice(0,e),i=n.toLowerCase(),a=t.slice(e+1).trim();this.maybeSetNormalizedName(n,i),this.headers.has(i)?this.headers.get(i).push(a):this.headers.set(i,[a])}})}:()=>{this.headers=new Map,Object.keys(t).forEach(e=>{let n=t[e];const i=e.toLowerCase();"string"==typeof n&&(n=[n]),n.length>0&&(this.headers.set(i,n),this.maybeSetNormalizedName(e,i))})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();const e=this.headers.get(t.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,e){return this.clone({name:t,value:e,op:"a"})}set(t,e){return this.clone({name:t,value:e,op:"s"})}delete(t,e){return this.clone({name:t,value:e,op:"d"})}maybeSetNormalizedName(t,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,t)}init(){this.lazyInit&&(this.lazyInit instanceof h?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(e=>{this.headers.set(e,t.headers.get(e)),this.normalizedNames.set(e,t.normalizedNames.get(e))})}clone(t){const e=new h;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof h?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([t]),e}applyUpdate(t){const e=t.name.toLowerCase();switch(t.op){case"a":case"s":let n=t.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(t.name,e);const i=("a"===t.op?this.headers.get(e):void 0)||[];i.push(...n),this.headers.set(e,i);break;case"d":const a=t.value;if(a){let t=this.headers.get(e);if(!t)return;t=t.filter(t=>-1===a.indexOf(t)),0===t.length?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,t)}else this.headers.delete(e),this.normalizedNames.delete(e)}}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>t(this.normalizedNames.get(e),this.headers.get(e)))}}class m{encodeKey(t){return p(t)}encodeValue(t){return p(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}function p(t){return encodeURIComponent(t).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/gi,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%2B/gi,"+").replace(/%3D/gi,"=").replace(/%3F/gi,"?").replace(/%2F/gi,"/")}class f{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new m,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function(t,e){const n=new Map;return t.length>0&&t.split("&").forEach(t=>{const i=t.indexOf("="),[a,r]=-1==i?[e.decodeKey(t),""]:[e.decodeKey(t.slice(0,i)),e.decodeValue(t.slice(i+1))],o=n.get(a)||[];o.push(r),n.set(a,o)}),n}(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(e=>{const n=t.fromObject[e];this.map.set(e,Array.isArray(n)?n:[n])})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();const e=this.map.get(t);return e?e[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,e){return this.clone({param:t,value:e,op:"a"})}set(t,e){return this.clone({param:t,value:e,op:"s"})}delete(t,e){return this.clone({param:t,value:e,op:"d"})}toString(){return this.init(),this.keys().map(t=>{const e=this.encoder.encodeKey(t);return this.map.get(t).map(t=>e+"="+this.encoder.encodeValue(t)).join("&")}).filter(t=>""!==t).join("&")}clone(t){const e=new f({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat([t]),e}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":const e=("a"===t.op?this.map.get(t.param):void 0)||[];e.push(t.value),this.map.set(t.param,e);break;case"d":if(void 0===t.value){this.map.delete(t.param);break}{let e=this.map.get(t.param)||[];const n=e.indexOf(t.value);-1!==n&&e.splice(n,1),e.length>0?this.map.set(t.param,e):this.map.delete(t.param)}}}),this.cloneFrom=this.updates=null)}}function g(t){return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer}function b(t){return"undefined"!=typeof Blob&&t instanceof Blob}function _(t){return"undefined"!=typeof FormData&&t instanceof FormData}class y{constructor(t,e,n,i){let a;if(this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||i?(this.body=void 0!==n?n:null,a=i):a=n,a&&(this.reportProgress=!!a.reportProgress,this.withCredentials=!!a.withCredentials,a.responseType&&(this.responseType=a.responseType),a.headers&&(this.headers=a.headers),a.params&&(this.params=a.params)),this.headers||(this.headers=new h),this.params){const t=this.params.toString();if(0===t.length)this.urlWithParams=e;else{const n=e.indexOf("?");this.urlWithParams=e+(-1===n?"?":n<e.length-1?"&":"")+t}}else this.params=new f,this.urlWithParams=e}serializeBody(){return null===this.body?null:g(this.body)||b(this.body)||_(this.body)||"string"==typeof this.body?this.body:this.body instanceof f?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||_(this.body)?null:b(this.body)?this.body.type||null:g(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof f?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||Array.isArray(this.body)?"application/json":null}clone(t={}){const e=t.method||this.method,n=t.url||this.url,i=t.responseType||this.responseType,a=void 0!==t.body?t.body:this.body,r=void 0!==t.withCredentials?t.withCredentials:this.withCredentials,o=void 0!==t.reportProgress?t.reportProgress:this.reportProgress;let s=t.headers||this.headers,l=t.params||this.params;return void 0!==t.setHeaders&&(s=Object.keys(t.setHeaders).reduce((e,n)=>e.set(n,t.setHeaders[n]),s)),t.setParams&&(l=Object.keys(t.setParams).reduce((e,n)=>e.set(n,t.setParams[n]),l)),new y(e,n,a,{params:l,headers:s,reportProgress:o,responseType:i,withCredentials:r})}}var v=function(t){return t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User",t}({});class C{constructor(t,e=200,n="OK"){this.headers=t.headers||new h,this.status=void 0!==t.status?t.status:e,this.statusText=t.statusText||n,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}}class w extends C{constructor(t={}){super(t),this.type=v.ResponseHeader}clone(t={}){return new w({headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class x extends C{constructor(t={}){super(t),this.type=v.Response,this.body=void 0!==t.body?t.body:null}clone(t={}){return new x({body:void 0!==t.body?t.body:this.body,headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class M extends C{constructor(t){super(t,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${t.url||"(unknown url)"}`:`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}}function O(t,e){return{body:e,headers:t.headers,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials}}let k=(()=>{class t{constructor(t){this.handler=t}request(t,e,n={}){let i;if(t instanceof y)i=t;else{let a,r;a=n.headers instanceof h?n.headers:new h(n.headers),n.params&&(r=n.params instanceof f?n.params:new f({fromObject:n.params})),i=new y(t,e,void 0!==n.body?n.body:null,{headers:a,params:r,reportProgress:n.reportProgress,responseType:n.responseType||"json",withCredentials:n.withCredentials})}const r=Object(a.a)(i).pipe(Object(o.a)(t=>this.handler.handle(t)));if(t instanceof y||"events"===n.observe)return r;const c=r.pipe(Object(s.a)(t=>t instanceof x));switch(n.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return c.pipe(Object(l.a)(t=>{if(null!==t.body&&!(t.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return t.body}));case"blob":return c.pipe(Object(l.a)(t=>{if(null!==t.body&&!(t.body instanceof Blob))throw new Error("Response is not a Blob.");return t.body}));case"text":return c.pipe(Object(l.a)(t=>{if(null!==t.body&&"string"!=typeof t.body)throw new Error("Response is not a string.");return t.body}));case"json":default:return c.pipe(Object(l.a)(t=>t.body))}case"response":return c;default:throw new Error(`Unreachable: unhandled observe type ${n.observe}}`)}}delete(t,e={}){return this.request("DELETE",t,e)}get(t,e={}){return this.request("GET",t,e)}head(t,e={}){return this.request("HEAD",t,e)}jsonp(t,e){return this.request("JSONP",t,{params:(new f).append(e,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(t,e={}){return this.request("OPTIONS",t,e)}patch(t,e,n={}){return this.request("PATCH",t,O(n,e))}post(t,e,n={}){return this.request("POST",t,O(n,e))}put(t,e,n={}){return this.request("PUT",t,O(n,e))}}return t.\u0275fac=function(e){return new(e||t)(i.Xb(d))},t.\u0275prov=i.Jb({token:t,factory:t.\u0275fac}),t})();class S{constructor(t,e){this.next=t,this.interceptor=e}handle(t){return this.interceptor.intercept(t,this.next)}}const T=new i.s("HTTP_INTERCEPTORS");let P=(()=>{class t{intercept(t,e){return e.handle(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=i.Jb({token:t,factory:t.\u0275fac}),t})();const L=/^\)\]\}',?\n/;class D{}let E=(()=>{class t{constructor(){}build(){return new XMLHttpRequest}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=i.Jb({token:t,factory:t.\u0275fac}),t})(),A=(()=>{class t{constructor(t){this.xhrFactory=t}handle(t){if("JSONP"===t.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new r.a(e=>{const n=this.xhrFactory.build();if(n.open(t.method,t.urlWithParams),t.withCredentials&&(n.withCredentials=!0),t.headers.forEach((t,e)=>n.setRequestHeader(t,e.join(","))),t.headers.has("Accept")||n.setRequestHeader("Accept","application/json, text/plain, */*"),!t.headers.has("Content-Type")){const e=t.detectContentTypeHeader();null!==e&&n.setRequestHeader("Content-Type",e)}if(t.responseType){const e=t.responseType.toLowerCase();n.responseType="json"!==e?e:"text"}const i=t.serializeBody();let a=null;const r=()=>{if(null!==a)return a;const e=1223===n.status?204:n.status,i=n.statusText||"OK",r=new h(n.getAllResponseHeaders()),o=function(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}(n)||t.url;return a=new w({headers:r,status:e,statusText:i,url:o}),a},o=()=>{let{headers:i,status:a,statusText:o,url:s}=r(),l=null;204!==a&&(l=void 0===n.response?n.responseText:n.response),0===a&&(a=l?200:0);let c=a>=200&&a<300;if("json"===t.responseType&&"string"==typeof l){const t=l;l=l.replace(L,"");try{l=""!==l?JSON.parse(l):null}catch(d){l=t,c&&(c=!1,l={error:d,text:l})}}c?(e.next(new x({body:l,headers:i,status:a,statusText:o,url:s||void 0})),e.complete()):e.error(new M({error:l,headers:i,status:a,statusText:o,url:s||void 0}))},s=t=>{const{url:i}=r(),a=new M({error:t,status:n.status||0,statusText:n.statusText||"Unknown Error",url:i||void 0});e.error(a)};let l=!1;const c=i=>{l||(e.next(r()),l=!0);let a={type:v.DownloadProgress,loaded:i.loaded};i.lengthComputable&&(a.total=i.total),"text"===t.responseType&&n.responseText&&(a.partialText=n.responseText),e.next(a)},d=t=>{let n={type:v.UploadProgress,loaded:t.loaded};t.lengthComputable&&(n.total=t.total),e.next(n)};return n.addEventListener("load",o),n.addEventListener("error",s),t.reportProgress&&(n.addEventListener("progress",c),null!==i&&n.upload&&n.upload.addEventListener("progress",d)),n.send(i),e.next({type:v.Sent}),()=>{n.removeEventListener("error",s),n.removeEventListener("load",o),t.reportProgress&&(n.removeEventListener("progress",c),null!==i&&n.upload&&n.upload.removeEventListener("progress",d)),n.readyState!==n.DONE&&n.abort()}})}}return t.\u0275fac=function(e){return new(e||t)(i.Xb(D))},t.\u0275prov=i.Jb({token:t,factory:t.\u0275fac}),t})();const I=new i.s("XSRF_COOKIE_NAME"),R=new i.s("XSRF_HEADER_NAME");class N{}let Y=(()=>{class t{constructor(t,e,n){this.doc=t,this.platform=e,this.cookieName=n,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=Object(c.z)(t,this.cookieName),this.lastCookieString=t),this.lastToken}}return t.\u0275fac=function(e){return new(e||t)(i.Xb(c.d),i.Xb(i.D),i.Xb(I))},t.\u0275prov=i.Jb({token:t,factory:t.\u0275fac}),t})(),H=(()=>{class t{constructor(t,e){this.tokenService=t,this.headerName=e}intercept(t,e){const n=t.url.toLowerCase();if("GET"===t.method||"HEAD"===t.method||n.startsWith("http://")||n.startsWith("https://"))return e.handle(t);const i=this.tokenService.getToken();return null===i||t.headers.has(this.headerName)||(t=t.clone({headers:t.headers.set(this.headerName,i)})),e.handle(t)}}return t.\u0275fac=function(e){return new(e||t)(i.Xb(N),i.Xb(R))},t.\u0275prov=i.Jb({token:t,factory:t.\u0275fac}),t})(),j=(()=>{class t{constructor(t,e){this.backend=t,this.injector=e,this.chain=null}handle(t){if(null===this.chain){const t=this.injector.get(T,[]);this.chain=t.reduceRight((t,e)=>new S(t,e),this.backend)}return this.chain.handle(t)}}return t.\u0275fac=function(e){return new(e||t)(i.Xb(u),i.Xb(i.t))},t.\u0275prov=i.Jb({token:t,factory:t.\u0275fac}),t})(),F=(()=>{class t{static disable(){return{ngModule:t,providers:[{provide:H,useClass:P}]}}static withOptions(e={}){return{ngModule:t,providers:[e.cookieName?{provide:I,useValue:e.cookieName}:[],e.headerName?{provide:R,useValue:e.headerName}:[]]}}}return t.\u0275mod=i.Lb({type:t}),t.\u0275inj=i.Kb({factory:function(e){return new(e||t)},providers:[H,{provide:T,useExisting:H,multi:!0},{provide:N,useClass:Y},{provide:I,useValue:"XSRF-TOKEN"},{provide:R,useValue:"X-XSRF-TOKEN"}]}),t})(),z=(()=>{class t{}return t.\u0275mod=i.Lb({type:t}),t.\u0275inj=i.Kb({factory:function(e){return new(e||t)},providers:[k,{provide:d,useClass:j},A,{provide:u,useExisting:A},E,{provide:D,useExisting:E}],imports:[[F.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),t})()},IjjT:function(t,e,n){"use strict";n.d(e,"a",function(){return a});let i=(()=>{class t{constructor(e,n=t.now){this.SchedulerAction=e,this.now=n}schedule(t,e=0,n){return new this.SchedulerAction(this,t).schedule(n,e)}}return t.now=()=>Date.now(),t})();class a extends i{constructor(t,e=i.now){super(t,()=>a.delegate&&a.delegate!==this?a.delegate.now():e()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(t,e=0,n){return a.delegate&&a.delegate!==this?a.delegate.schedule(t,e,n):super.schedule(t,e,n)}flush(t){const{actions:e}=this;if(this.active)return void e.push(t);let n;this.active=!0;do{if(n=t.execute(t.state,t.delay))break}while(t=e.shift());if(this.active=!1,n){for(;t=e.shift();)t.unsubscribe();throw n}}}},"Ivi+":function(t,e,n){!function(t){"use strict";t.defineLocale("ko",{months:"1\uc6d4_2\uc6d4_3\uc6d4_4\uc6d4_5\uc6d4_6\uc6d4_7\uc6d4_8\uc6d4_9\uc6d4_10\uc6d4_11\uc6d4_12\uc6d4".split("_"),monthsShort:"1\uc6d4_2\uc6d4_3\uc6d4_4\uc6d4_5\uc6d4_6\uc6d4_7\uc6d4_8\uc6d4_9\uc6d4_10\uc6d4_11\uc6d4_12\uc6d4".split("_"),weekdays:"\uc77c\uc694\uc77c_\uc6d4\uc694\uc77c_\ud654\uc694\uc77c_\uc218\uc694\uc77c_\ubaa9\uc694\uc77c_\uae08\uc694\uc77c_\ud1a0\uc694\uc77c".split("_"),weekdaysShort:"\uc77c_\uc6d4_\ud654_\uc218_\ubaa9_\uae08_\ud1a0".split("_"),weekdaysMin:"\uc77c_\uc6d4_\ud654_\uc218_\ubaa9_\uae08_\ud1a0".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY\ub144 MMMM D\uc77c",LLL:"YYYY\ub144 MMMM D\uc77c A h:mm",LLLL:"YYYY\ub144 MMMM D\uc77c dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYY\ub144 MMMM D\uc77c",lll:"YYYY\ub144 MMMM D\uc77c A h:mm",llll:"YYYY\ub144 MMMM D\uc77c dddd A h:mm"},calendar:{sameDay:"\uc624\ub298 LT",nextDay:"\ub0b4\uc77c LT",nextWeek:"dddd LT",lastDay:"\uc5b4\uc81c LT",lastWeek:"\uc9c0\ub09c\uc8fc dddd LT",sameElse:"L"},relativeTime:{future:"%s \ud6c4",past:"%s \uc804",s:"\uba87 \ucd08",ss:"%d\ucd08",m:"1\ubd84",mm:"%d\ubd84",h:"\ud55c \uc2dc\uac04",hh:"%d\uc2dc\uac04",d:"\ud558\ub8e8",dd:"%d\uc77c",M:"\ud55c \ub2ec",MM:"%d\ub2ec",y:"\uc77c \ub144",yy:"%d\ub144"},dayOfMonthOrdinalParse:/\d{1,2}(\uc77c|\uc6d4|\uc8fc)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"\uc77c";case"M":return t+"\uc6d4";case"w":case"W":return t+"\uc8fc";default:return t}},meridiemParse:/\uc624\uc804|\uc624\ud6c4/,isPM:function(t){return"\uc624\ud6c4"===t},meridiem:function(t,e,n){return t<12?"\uc624\uc804":"\uc624\ud6c4"}})}(n("wd/R"))},IzEk:function(t,e,n){"use strict";n.d(e,"a",function(){return o});var i=n("7o/Q"),a=n("4I5i"),r=n("EY2u");function o(t){return e=>0===t?Object(r.b)():e.lift(new s(t))}class s{constructor(t){if(this.total=t,this.total<0)throw new a.a}call(t,e){return e.subscribe(new l(t,this.total))}}class l extends i.a{constructor(t,e){super(t),this.total=e,this.count=0}_next(t){const e=this.total,n=++this.count;n<=e&&(this.destination.next(t),n===e&&(this.destination.complete(),this.unsubscribe()))}}},"J+ds":function(t,e,n){"use strict";n.d(e,"a",function(){return a});var i=n("80qe");class a{constructor({voyage:t={},nourriture:e={},hebergement:n={}}){this.voyage=new i.a(t),this.nourriture=new i.a(e),this.hebergement=new i.a(n)}getForPost(){return this}}},"JCF/":function(t,e,n){!function(t){"use strict";var e={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},n={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},i=["\u06a9\u0627\u0646\u0648\u0646\u06cc \u062f\u0648\u0648\u06d5\u0645","\u0634\u0648\u0628\u0627\u062a","\u0626\u0627\u0632\u0627\u0631","\u0646\u06cc\u0633\u0627\u0646","\u0626\u0627\u06cc\u0627\u0631","\u062d\u0648\u0632\u06d5\u06cc\u0631\u0627\u0646","\u062a\u06d5\u0645\u0645\u0648\u0632","\u0626\u0627\u0628","\u0626\u06d5\u06cc\u0644\u0648\u0648\u0644","\u062a\u0634\u0631\u06cc\u0646\u06cc \u06cc\u06d5\u0643\u06d5\u0645","\u062a\u0634\u0631\u06cc\u0646\u06cc \u062f\u0648\u0648\u06d5\u0645","\u0643\u0627\u0646\u0648\u0646\u06cc \u06cc\u06d5\u06a9\u06d5\u0645"];t.defineLocale("ku",{months:i,monthsShort:i,weekdays:"\u06cc\u0647\u200c\u0643\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u062f\u0648\u0648\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0633\u06ce\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0686\u0648\u0627\u0631\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u067e\u06ce\u0646\u062c\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0647\u0647\u200c\u06cc\u0646\u06cc_\u0634\u0647\u200c\u0645\u0645\u0647\u200c".split("_"),weekdaysShort:"\u06cc\u0647\u200c\u0643\u0634\u0647\u200c\u0645_\u062f\u0648\u0648\u0634\u0647\u200c\u0645_\u0633\u06ce\u0634\u0647\u200c\u0645_\u0686\u0648\u0627\u0631\u0634\u0647\u200c\u0645_\u067e\u06ce\u0646\u062c\u0634\u0647\u200c\u0645_\u0647\u0647\u200c\u06cc\u0646\u06cc_\u0634\u0647\u200c\u0645\u0645\u0647\u200c".split("_"),weekdaysMin:"\u06cc_\u062f_\u0633_\u0686_\u067e_\u0647_\u0634".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u0626\u06ce\u0648\u0627\u0631\u0647\u200c|\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc/,isPM:function(t){return/\u0626\u06ce\u0648\u0627\u0631\u0647\u200c/.test(t)},meridiem:function(t,e,n){return t<12?"\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc":"\u0626\u06ce\u0648\u0627\u0631\u0647\u200c"},calendar:{sameDay:"[\u0626\u0647\u200c\u0645\u0631\u06c6 \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",nextDay:"[\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",nextWeek:"dddd [\u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",lastDay:"[\u062f\u0648\u06ce\u0646\u06ce \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",lastWeek:"dddd [\u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",sameElse:"L"},relativeTime:{future:"\u0644\u0647\u200c %s",past:"%s",s:"\u0686\u0647\u200c\u0646\u062f \u0686\u0631\u0643\u0647\u200c\u06cc\u0647\u200c\u0643",ss:"\u0686\u0631\u0643\u0647\u200c %d",m:"\u06cc\u0647\u200c\u0643 \u062e\u0648\u0644\u0647\u200c\u0643",mm:"%d \u062e\u0648\u0644\u0647\u200c\u0643",h:"\u06cc\u0647\u200c\u0643 \u0643\u0627\u062a\u0698\u0645\u06ce\u0631",hh:"%d \u0643\u0627\u062a\u0698\u0645\u06ce\u0631",d:"\u06cc\u0647\u200c\u0643 \u0695\u06c6\u0698",dd:"%d \u0695\u06c6\u0698",M:"\u06cc\u0647\u200c\u0643 \u0645\u0627\u0646\u06af",MM:"%d \u0645\u0627\u0646\u06af",y:"\u06cc\u0647\u200c\u0643 \u0633\u0627\u06b5",yy:"%d \u0633\u0627\u06b5"},preparse:function(t){return t.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(t){return n[t]}).replace(/\u060c/g,",")},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(n("wd/R"))},JIr8:function(t,e,n){"use strict";n.d(e,"a",function(){return a});var i=n("zx2A");function a(t){return function(e){const n=new r(t),i=e.lift(n);return n.caught=i}}class r{constructor(t){this.selector=t}call(t,e){return e.subscribe(new o(t,this.selector,this.caught))}}class o extends i.b{constructor(t,e,n){super(t),this.selector=e,this.caught=n}error(t){if(!this.isStopped){let n;try{n=this.selector(t,this.caught)}catch(e){return void super.error(e)}this._unsubscribeAndRecycle();const a=new i.a(this);this.add(a);const r=Object(i.c)(n,a);r!==a&&this.add(r)}}}},JRaP:function(t,e,n){"use strict";n.d(e,"a",function(){return i});var i=function(t){return t[t.CREATE=0]="CREATE",t[t.UPDATE=1]="UPDATE",t[t.COMPLETION=2]="COMPLETION",t[t.DUPLICATE=3]="DUPLICATE",t}({})},JVSJ:function(t,e,n){!function(t){"use strict";function e(t,e,n){var i=t+" ";switch(n){case"ss":return i+(1===t?"sekunda":2===t||3===t||4===t?"sekunde":"sekundi");case"m":return e?"jedna minuta":"jedne minute";case"mm":return i+(1===t?"minuta":2===t||3===t||4===t?"minute":"minuta");case"h":return e?"jedan sat":"jednog sata";case"hh":return i+(1===t?"sat":2===t||3===t||4===t?"sata":"sati");case"dd":return i+(1===t?"dan":"dana");case"MM":return i+(1===t?"mjesec":2===t||3===t||4===t?"mjeseca":"mjeseci");case"yy":return i+(1===t?"godina":2===t||3===t||4===t?"godine":"godina")}}t.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010der u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[pro\u0161lu] dddd [u] LT";case 6:return"[pro\u0161le] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[pro\u0161li] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:e,m:e,mm:e,h:e,hh:e,d:"dan",dd:e,M:"mjesec",MM:e,y:"godinu",yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("wd/R"))},JX91:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("GyhO"),a=n("z+Ro");function r(...t){const e=t[t.length-1];return Object(a.a)(e)?(t.pop(),n=>Object(i.a)(t,n,e)):e=>Object(i.a)(t,e)}},JvlW:function(t,e,n){!function(t){"use strict";var e={ss:"sekund\u0117_sekund\u017ei\u0173_sekundes",m:"minut\u0117_minut\u0117s_minut\u0119",mm:"minut\u0117s_minu\u010di\u0173_minutes",h:"valanda_valandos_valand\u0105",hh:"valandos_valand\u0173_valandas",d:"diena_dienos_dien\u0105",dd:"dienos_dien\u0173_dienas",M:"m\u0117nuo_m\u0117nesio_m\u0117nes\u012f",MM:"m\u0117nesiai_m\u0117nesi\u0173_m\u0117nesius",y:"metai_met\u0173_metus",yy:"metai_met\u0173_metus"};function n(t,e,n,i){return e?a(n)[0]:i?a(n)[1]:a(n)[2]}function i(t){return t%10==0||t>10&&t<20}function a(t){return e[t].split("_")}function r(t,e,r,o){var s=t+" ";return 1===t?s+n(0,e,r[0],o):e?s+(i(t)?a(r)[1]:a(r)[0]):o?s+a(r)[1]:s+(i(t)?a(r)[1]:a(r)[2])}t.defineLocale("lt",{months:{format:"sausio_vasario_kovo_baland\u017eio_gegu\u017e\u0117s_bir\u017eelio_liepos_rugpj\u016b\u010dio_rugs\u0117jo_spalio_lapkri\u010dio_gruod\u017eio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegu\u017e\u0117_bir\u017eelis_liepa_rugpj\u016btis_rugs\u0117jis_spalis_lapkritis_gruodis".split("_"),isFormat:/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/},monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:{format:"sekmadien\u012f_pirmadien\u012f_antradien\u012f_tre\u010diadien\u012f_ketvirtadien\u012f_penktadien\u012f_\u0161e\u0161tadien\u012f".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_tre\u010diadienis_ketvirtadienis_penktadienis_\u0161e\u0161tadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_\u0160e\u0161".split("_"),weekdaysMin:"S_P_A_T_K_Pn_\u0160".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},calendar:{sameDay:"[\u0160iandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Pra\u0117jus\u012f] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prie\u0161 %s",s:function(t,e,n,i){return e?"kelios sekund\u0117s":i?"keli\u0173 sekund\u017ei\u0173":"kelias sekundes"},ss:r,m:n,mm:r,h:n,hh:r,d:n,dd:r,M:n,MM:r,y:n,yy:r},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(t){return t+"-oji"},week:{dow:1,doy:4}})}(n("wd/R"))},"K/tc":function(t,e,n){!function(t){"use strict";t.defineLocale("af",{months:"Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des".split("_"),weekdays:"Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag".split("_"),weekdaysShort:"Son_Maa_Din_Woe_Don_Vry_Sat".split("_"),weekdaysMin:"So_Ma_Di_Wo_Do_Vr_Sa".split("_"),meridiemParse:/vm|nm/i,isPM:function(t){return/^nm$/i.test(t)},meridiem:function(t,e,n){return t<12?n?"vm":"VM":n?"nm":"NM"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Vandag om] LT",nextDay:"[M\xf4re om] LT",nextWeek:"dddd [om] LT",lastDay:"[Gister om] LT",lastWeek:"[Laas] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oor %s",past:"%s gelede",s:"'n paar sekondes",ss:"%d sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:"%d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(t){return t+(1===t||8===t||t>=20?"ste":"de")},week:{dow:1,doy:4}})}(n("wd/R"))},K2tM:function(t,e,n){"use strict";n.d(e,"a",function(){return i});var i=function(t){return t.DIRIGEANT="DIRIGEANT",t.SALARIE="SALARIE",t.CLIENT="CLIENT",t.MANDATAIRE="MANDATAIRE",t}({})},KSF8:function(t,e,n){!function(t){"use strict";t.defineLocale("vi",{months:"th\xe1ng 1_th\xe1ng 2_th\xe1ng 3_th\xe1ng 4_th\xe1ng 5_th\xe1ng 6_th\xe1ng 7_th\xe1ng 8_th\xe1ng 9_th\xe1ng 10_th\xe1ng 11_th\xe1ng 12".split("_"),monthsShort:"Thg 01_Thg 02_Thg 03_Thg 04_Thg 05_Thg 06_Thg 07_Thg 08_Thg 09_Thg 10_Thg 11_Thg 12".split("_"),monthsParseExact:!0,weekdays:"ch\u1ee7 nh\u1eadt_th\u1ee9 hai_th\u1ee9 ba_th\u1ee9 t\u01b0_th\u1ee9 n\u0103m_th\u1ee9 s\xe1u_th\u1ee9 b\u1ea3y".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysParseExact:!0,meridiemParse:/sa|ch/i,isPM:function(t){return/^ch$/i.test(t)},meridiem:function(t,e,n){return t<12?n?"sa":"SA":n?"ch":"CH"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [n\u0103m] YYYY",LLL:"D MMMM [n\u0103m] YYYY HH:mm",LLLL:"dddd, D MMMM [n\u0103m] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[H\xf4m nay l\xfac] LT",nextDay:"[Ng\xe0y mai l\xfac] LT",nextWeek:"dddd [tu\u1ea7n t\u1edbi l\xfac] LT",lastDay:"[H\xf4m qua l\xfac] LT",lastWeek:"dddd [tu\u1ea7n tr\u01b0\u1edbc l\xfac] LT",sameElse:"L"},relativeTime:{future:"%s t\u1edbi",past:"%s tr\u01b0\u1edbc",s:"v\xe0i gi\xe2y",ss:"%d gi\xe2y",m:"m\u1ed9t ph\xfat",mm:"%d ph\xfat",h:"m\u1ed9t gi\u1edd",hh:"%d gi\u1edd",d:"m\u1ed9t ng\xe0y",dd:"%d ng\xe0y",w:"m\u1ed9t tu\u1ea7n",ww:"%d tu\u1ea7n",M:"m\u1ed9t th\xe1ng",MM:"%d th\xe1ng",y:"m\u1ed9t n\u0103m",yy:"%d n\u0103m"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(t){return t},week:{dow:1,doy:4}})}(n("wd/R"))},KSFr:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("8Y7J"),a=n("cUpR");let r=(()=>{class t{constructor(t){this.sanitizer=t}transform(t){return this.sanitizer.bypassSecurityTrustHtml(t)}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(a.b))},t.\u0275pipe=i.Mb({name:"safeHtml",type:t,pure:!0}),t})()},KTz0:function(t,e,n){!function(t){"use strict";var e={words:{ss:["sekund","sekunda","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mjesec","mjeseca","mjeseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(t,e){return 1===t?e[0]:t>=2&&t<=4?e[1]:e[2]},translate:function(t,n,i){var a=e.words[i];return 1===i.length?n?a[0]:a[1]:t+" "+e.correctGrammaticalCase(t,a)}};t.defineLocale("me",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sjutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010de u] LT",lastWeek:function(){return["[pro\u0161le] [nedjelje] [u] LT","[pro\u0161log] [ponedjeljka] [u] LT","[pro\u0161log] [utorka] [u] LT","[pro\u0161le] [srijede] [u] LT","[pro\u0161log] [\u010detvrtka] [u] LT","[pro\u0161log] [petka] [u] LT","[pro\u0161le] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"nekoliko sekundi",ss:e.translate,m:e.translate,mm:e.translate,h:e.translate,hh:e.translate,d:"dan",dd:e.translate,M:"mjesec",MM:e.translate,y:"godinu",yy:e.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("wd/R"))},Kj3r:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("7o/Q"),a=n("D0XW");function r(t,e=a.a){return n=>n.lift(new o(t,e))}class o{constructor(t,e){this.dueTime=t,this.scheduler=e}call(t,e){return e.subscribe(new s(t,this.dueTime,this.scheduler))}}class s extends i.a{constructor(t,e,n){super(t),this.dueTime=e,this.scheduler=n,this.debouncedSubscription=null,this.lastValue=null,this.hasValue=!1}_next(t){this.clearDebounce(),this.lastValue=t,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(l,this.dueTime,this))}_complete(){this.debouncedNext(),this.destination.complete()}debouncedNext(){if(this.clearDebounce(),this.hasValue){const{lastValue:t}=this;this.lastValue=null,this.hasValue=!1,this.destination.next(t)}}clearDebounce(){const t=this.debouncedSubscription;null!==t&&(this.remove(t),t.unsubscribe(),this.debouncedSubscription=null)}}function l(t){t.debouncedNext()}},LRne:function(t,e,n){"use strict";n.d(e,"a",function(){return o});var i=n("z+Ro"),a=n("yCtX"),r=n("jZKg");function o(...t){let e=t[t.length-1];return Object(i.a)(e)?(t.pop(),Object(r.a)(t,e)):Object(a.a)(t)}},LUZP:function(t,e,n){"use strict";n.d(e,"a",function(){return b}),n.d(e,"b",function(){return O}),n.d(e,"c",function(){return k});var i=n("8Y7J"),a=n("8LU1"),r=n("UhP/"),o=n("Ht+U"),s=n("XNiG"),l=n("VRyK"),c=n("GS7A"),d=n("SVse"),u=n("YEUz");const h=["mat-sort-header",""];function m(t,e){if(1&t){const t=i.Ub();i.Tb(0,"div",3),i.bc("@arrowPosition.start",function(){return i.yc(t),i.fc()._disableViewStateAnimation=!0})("@arrowPosition.done",function(){return i.yc(t),i.fc()._disableViewStateAnimation=!1}),i.Ob(1,"div",4),i.Tb(2,"div",5),i.Ob(3,"div",6),i.Ob(4,"div",7),i.Ob(5,"div",8),i.Sb(),i.Sb()}if(2&t){const t=i.fc();i.nc("@arrowOpacity",t._getArrowViewState())("@arrowPosition",t._getArrowViewState())("@allowChildren",t._getArrowDirectionState()),i.Cb(2),i.nc("@indicator",t._getArrowDirectionState()),i.Cb(1),i.nc("@leftPointer",t._getArrowDirectionState()),i.Cb(1),i.nc("@rightPointer",t._getArrowDirectionState())}}const p=["*"];class f{}const g=Object(r.A)(Object(r.y)(f));let b=(()=>{class t extends g{constructor(){super(...arguments),this.sortables=new Map,this._stateChanges=new s.a,this.start="asc",this._direction="",this.sortChange=new i.o}get direction(){return this._direction}set direction(t){this._direction=t}get disableClear(){return this._disableClear}set disableClear(t){this._disableClear=Object(a.c)(t)}register(t){this.sortables.set(t.id,t)}deregister(t){this.sortables.delete(t.id)}sort(t){this.active!=t.id?(this.active=t.id,this.direction=t.start?t.start:this.start):this.direction=this.getNextSortDirection(t),this.sortChange.emit({active:this.active,direction:this.direction})}getNextSortDirection(t){if(!t)return"";let e=function(t,e){let n=["asc","desc"];return"desc"==t&&n.reverse(),e||n.push(""),n}(t.start||this.start,null!=t.disableClear?t.disableClear:this.disableClear),n=e.indexOf(this.direction)+1;return n>=e.length&&(n=0),e[n]}ngOnInit(){this._markInitialized()}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}return t.\u0275fac=function(e){return _(e||t)},t.\u0275dir=i.Ib({type:t,selectors:[["","matSort",""]],hostAttrs:[1,"mat-sort"],inputs:{disabled:["matSortDisabled","disabled"],start:["matSortStart","start"],direction:["matSortDirection","direction"],disableClear:["matSortDisableClear","disableClear"],active:["matSortActive","active"]},outputs:{sortChange:"matSortChange"},exportAs:["matSort"],features:[i.zb,i.Ab]}),t})();const _=i.Vb(b),y=r.b.ENTERING+" "+r.a.STANDARD_CURVE,v={indicator:Object(c.n)("indicator",[Object(c.k)("active-asc, asc",Object(c.l)({transform:"translateY(0px)"})),Object(c.k)("active-desc, desc",Object(c.l)({transform:"translateY(10px)"})),Object(c.m)("active-asc <=> active-desc",Object(c.e)(y))]),leftPointer:Object(c.n)("leftPointer",[Object(c.k)("active-asc, asc",Object(c.l)({transform:"rotate(-45deg)"})),Object(c.k)("active-desc, desc",Object(c.l)({transform:"rotate(45deg)"})),Object(c.m)("active-asc <=> active-desc",Object(c.e)(y))]),rightPointer:Object(c.n)("rightPointer",[Object(c.k)("active-asc, asc",Object(c.l)({transform:"rotate(45deg)"})),Object(c.k)("active-desc, desc",Object(c.l)({transform:"rotate(-45deg)"})),Object(c.m)("active-asc <=> active-desc",Object(c.e)(y))]),arrowOpacity:Object(c.n)("arrowOpacity",[Object(c.k)("desc-to-active, asc-to-active, active",Object(c.l)({opacity:1})),Object(c.k)("desc-to-hint, asc-to-hint, hint",Object(c.l)({opacity:.54})),Object(c.k)("hint-to-desc, active-to-desc, desc, hint-to-asc, active-to-asc, asc, void",Object(c.l)({opacity:0})),Object(c.m)("* => asc, * => desc, * => active, * => hint, * => void",Object(c.e)("0ms")),Object(c.m)("* <=> *",Object(c.e)(y))]),arrowPosition:Object(c.n)("arrowPosition",[Object(c.m)("* => desc-to-hint, * => desc-to-active",Object(c.e)(y,Object(c.h)([Object(c.l)({transform:"translateY(-25%)"}),Object(c.l)({transform:"translateY(0)"})]))),Object(c.m)("* => hint-to-desc, * => active-to-desc",Object(c.e)(y,Object(c.h)([Object(c.l)({transform:"translateY(0)"}),Object(c.l)({transform:"translateY(25%)"})]))),Object(c.m)("* => asc-to-hint, * => asc-to-active",Object(c.e)(y,Object(c.h)([Object(c.l)({transform:"translateY(25%)"}),Object(c.l)({transform:"translateY(0)"})]))),Object(c.m)("* => hint-to-asc, * => active-to-asc",Object(c.e)(y,Object(c.h)([Object(c.l)({transform:"translateY(0)"}),Object(c.l)({transform:"translateY(-25%)"})]))),Object(c.k)("desc-to-hint, asc-to-hint, hint, desc-to-active, asc-to-active, active",Object(c.l)({transform:"translateY(0)"})),Object(c.k)("hint-to-desc, active-to-desc, desc",Object(c.l)({transform:"translateY(-25%)"})),Object(c.k)("hint-to-asc, active-to-asc, asc",Object(c.l)({transform:"translateY(25%)"}))]),allowChildren:Object(c.n)("allowChildren",[Object(c.m)("* <=> *",[Object(c.i)("@*",Object(c.f)(),{optional:!0})])])};let C=(()=>{class t{constructor(){this.changes=new s.a,this.sortButtonLabel=t=>`Change sorting for ${t}`}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Object(i.Jb)({factory:function(){return new t},token:t,providedIn:"root"}),t})();const w={provide:C,deps:[[new i.C,new i.L,C]],useFactory:function(t){return t||new C}};class x{}const M=Object(r.y)(x);let O=(()=>{class t extends M{constructor(t,e,n,i,a,r){super(),this._intl=t,this._changeDetectorRef=e,this._sort=n,this._columnDef=i,this._focusMonitor=a,this._elementRef=r,this._showIndicatorHint=!1,this._arrowDirection="",this._disableViewStateAnimation=!1,this.arrowPosition="after",this._rerenderSubscription=Object(l.a)(n.sortChange,n._stateChanges,t.changes).subscribe(()=>{this._isSorted()&&this._updateArrowDirection(),!this._isSorted()&&this._viewState&&"active"===this._viewState.toState&&(this._disableViewStateAnimation=!1,this._setAnimationTransitionState({fromState:"active",toState:this._arrowDirection})),e.markForCheck()})}get disableClear(){return this._disableClear}set disableClear(t){this._disableClear=Object(a.c)(t)}ngOnInit(){!this.id&&this._columnDef&&(this.id=this._columnDef.name),this._updateArrowDirection(),this._setAnimationTransitionState({toState:this._isSorted()?"active":this._arrowDirection}),this._sort.register(this)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(t=>{const e=!!t;e!==this._showIndicatorHint&&(this._setIndicatorHintVisible(e),this._changeDetectorRef.markForCheck())})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._sort.deregister(this),this._rerenderSubscription.unsubscribe()}_setIndicatorHintVisible(t){this._isDisabled()&&t||(this._showIndicatorHint=t,this._isSorted()||(this._updateArrowDirection(),this._setAnimationTransitionState(this._showIndicatorHint?{fromState:this._arrowDirection,toState:"hint"}:{fromState:"hint",toState:this._arrowDirection})))}_setAnimationTransitionState(t){this._viewState=t,this._disableViewStateAnimation&&(this._viewState={toState:t.toState})}_toggleOnInteraction(){this._sort.sort(this),"hint"!==this._viewState.toState&&"active"!==this._viewState.toState||(this._disableViewStateAnimation=!0);const t=this._isSorted()?{fromState:this._arrowDirection,toState:"active"}:{fromState:"active",toState:this._arrowDirection};this._setAnimationTransitionState(t),this._showIndicatorHint=!1}_handleClick(){this._isDisabled()||this._toggleOnInteraction()}_handleKeydown(t){this._isDisabled()||t.keyCode!==o.m&&t.keyCode!==o.e||(t.preventDefault(),this._toggleOnInteraction())}_isSorted(){return this._sort.active==this.id&&("asc"===this._sort.direction||"desc"===this._sort.direction)}_getArrowDirectionState(){return`${this._isSorted()?"active-":""}${this._arrowDirection}`}_getArrowViewState(){const t=this._viewState.fromState;return(t?`${t}-to-`:"")+this._viewState.toState}_updateArrowDirection(){this._arrowDirection=this._isSorted()?this._sort.direction:this.start||this._sort.start}_isDisabled(){return this._sort.disabled||this.disabled}_getAriaSortAttribute(){return this._isSorted()?"asc"==this._sort.direction?"ascending":"descending":"none"}_renderArrow(){return!this._isDisabled()||this._isSorted()}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(C),i.Nb(i.h),i.Nb(b,8),i.Nb("MAT_SORT_HEADER_COLUMN_DEF",8),i.Nb(u.h),i.Nb(i.l))},t.\u0275cmp=i.Hb({type:t,selectors:[["","mat-sort-header",""]],hostAttrs:[1,"mat-sort-header"],hostVars:3,hostBindings:function(t,e){1&t&&i.bc("click",function(){return e._handleClick()})("keydown",function(t){return e._handleKeydown(t)})("mouseenter",function(){return e._setIndicatorHintVisible(!0)})("mouseleave",function(){return e._setIndicatorHintVisible(!1)}),2&t&&(i.Db("aria-sort",e._getAriaSortAttribute()),i.Fb("mat-sort-header-disabled",e._isDisabled()))},inputs:{disabled:"disabled",arrowPosition:"arrowPosition",disableClear:"disableClear",id:["mat-sort-header","id"],start:"start"},exportAs:["matSortHeader"],features:[i.zb],attrs:h,ngContentSelectors:p,decls:4,vars:6,consts:[["role","button",1,"mat-sort-header-container","mat-focus-indicator"],[1,"mat-sort-header-content"],["class","mat-sort-header-arrow",4,"ngIf"],[1,"mat-sort-header-arrow"],[1,"mat-sort-header-stem"],[1,"mat-sort-header-indicator"],[1,"mat-sort-header-pointer-left"],[1,"mat-sort-header-pointer-right"],[1,"mat-sort-header-pointer-middle"]],template:function(t,e){1&t&&(i.mc(),i.Tb(0,"div",0),i.Tb(1,"div",1),i.lc(2),i.Sb(),i.Fc(3,m,6,6,"div",2),i.Sb()),2&t&&(i.Fb("mat-sort-header-sorted",e._isSorted())("mat-sort-header-position-before","before"==e.arrowPosition),i.Db("tabindex",e._isDisabled()?null:0),i.Cb(3),i.nc("ngIf",e._renderArrow()))},directives:[d.l],styles:[".mat-sort-header-container{display:flex;cursor:pointer;align-items:center;letter-spacing:normal;outline:0}[mat-sort-header].cdk-keyboard-focused .mat-sort-header-container,[mat-sort-header].cdk-program-focused .mat-sort-header-container{border-bottom:solid 1px currentColor}.mat-sort-header-disabled .mat-sort-header-container{cursor:default}.mat-sort-header-content{text-align:center;display:flex;align-items:center}.mat-sort-header-position-before{flex-direction:row-reverse}.mat-sort-header-arrow{height:12px;width:12px;min-width:12px;position:relative;display:flex;opacity:0}.mat-sort-header-arrow,[dir=rtl] .mat-sort-header-position-before .mat-sort-header-arrow{margin:0 0 0 6px}.mat-sort-header-position-before .mat-sort-header-arrow,[dir=rtl] .mat-sort-header-arrow{margin:0 6px 0 0}.mat-sort-header-stem{background:currentColor;height:10px;width:2px;margin:auto;display:flex;align-items:center}.cdk-high-contrast-active .mat-sort-header-stem{width:0;border-left:solid 2px}.mat-sort-header-indicator{width:100%;height:2px;display:flex;align-items:center;position:absolute;top:0;left:0}.mat-sort-header-pointer-middle{margin:auto;height:2px;width:2px;background:currentColor;transform:rotate(45deg)}.cdk-high-contrast-active .mat-sort-header-pointer-middle{width:0;height:0;border-top:solid 2px;border-left:solid 2px}.mat-sort-header-pointer-left,.mat-sort-header-pointer-right{background:currentColor;width:6px;height:2px;position:absolute;top:0}.cdk-high-contrast-active .mat-sort-header-pointer-left,.cdk-high-contrast-active .mat-sort-header-pointer-right{width:0;height:0;border-left:solid 6px;border-top:solid 2px}.mat-sort-header-pointer-left{transform-origin:right;left:0}.mat-sort-header-pointer-right{transform-origin:left;right:0}\n"],encapsulation:2,data:{animation:[v.indicator,v.leftPointer,v.rightPointer,v.arrowOpacity,v.arrowPosition,v.allowChildren]},changeDetection:0}),t})(),k=(()=>{class t{}return t.\u0275mod=i.Lb({type:t}),t.\u0275inj=i.Kb({factory:function(e){return new(e||t)},providers:[w],imports:[[d.c,r.j]]}),t})()},Lhse:function(t,e,n){"use strict";function i(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}n.d(e,"a",function(){return a});const a=i()},Loxo:function(t,e,n){!function(t){"use strict";t.defineLocale("uz",{months:"\u044f\u043d\u0432\u0430\u0440_\u0444\u0435\u0432\u0440\u0430\u043b_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440_\u043e\u043a\u0442\u044f\u0431\u0440_\u043d\u043e\u044f\u0431\u0440_\u0434\u0435\u043a\u0430\u0431\u0440".split("_"),monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u042f\u043a\u0448\u0430\u043d\u0431\u0430_\u0414\u0443\u0448\u0430\u043d\u0431\u0430_\u0421\u0435\u0448\u0430\u043d\u0431\u0430_\u0427\u043e\u0440\u0448\u0430\u043d\u0431\u0430_\u041f\u0430\u0439\u0448\u0430\u043d\u0431\u0430_\u0416\u0443\u043c\u0430_\u0428\u0430\u043d\u0431\u0430".split("_"),weekdaysShort:"\u042f\u043a\u0448_\u0414\u0443\u0448_\u0421\u0435\u0448_\u0427\u043e\u0440_\u041f\u0430\u0439_\u0416\u0443\u043c_\u0428\u0430\u043d".split("_"),weekdaysMin:"\u042f\u043a_\u0414\u0443_\u0421\u0435_\u0427\u043e_\u041f\u0430_\u0416\u0443_\u0428\u0430".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[\u0411\u0443\u0433\u0443\u043d \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",nextDay:"[\u042d\u0440\u0442\u0430\u0433\u0430] LT [\u0434\u0430]",nextWeek:"dddd [\u043a\u0443\u043d\u0438 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",lastDay:"[\u041a\u0435\u0447\u0430 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",lastWeek:"[\u0423\u0442\u0433\u0430\u043d] dddd [\u043a\u0443\u043d\u0438 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",sameElse:"L"},relativeTime:{future:"\u042f\u043a\u0438\u043d %s \u0438\u0447\u0438\u0434\u0430",past:"\u0411\u0438\u0440 \u043d\u0435\u0447\u0430 %s \u043e\u043b\u0434\u0438\u043d",s:"\u0444\u0443\u0440\u0441\u0430\u0442",ss:"%d \u0444\u0443\u0440\u0441\u0430\u0442",m:"\u0431\u0438\u0440 \u0434\u0430\u043a\u0438\u043a\u0430",mm:"%d \u0434\u0430\u043a\u0438\u043a\u0430",h:"\u0431\u0438\u0440 \u0441\u043e\u0430\u0442",hh:"%d \u0441\u043e\u0430\u0442",d:"\u0431\u0438\u0440 \u043a\u0443\u043d",dd:"%d \u043a\u0443\u043d",M:"\u0431\u0438\u0440 \u043e\u0439",MM:"%d \u043e\u0439",y:"\u0431\u0438\u0440 \u0439\u0438\u043b",yy:"%d \u0439\u0438\u043b"},week:{dow:1,doy:7}})}(n("wd/R"))},"Lyw/":function(t,e,n){"use strict";n.d(e,"a",function(){return f}),n.d(e,"b",function(){return y}),n.d(e,"c",function(){return m}),n.d(e,"d",function(){return b}),n.d(e,"e",function(){return _});var i=n("8Y7J"),a=n("SVse"),r=n("LRne"),o=n("2Vo4"),s=(n("XNiG"),n("s7LF"));const l=new i.s("recaptcha-language"),c=new i.s("recaptcha-base-url"),d=new i.s("recaptcha-nonce-tag"),u=new i.s("recaptcha-settings"),h=new i.s("recaptcha-v3-site-key");let m=(()=>{class t{constructor(e,n,i,o,s){this.platformId=e,this.language=n,this.baseUrl=i,this.nonce=o,this.v3SiteKey=s,this.init(),this.ready=Object(a.v)(this.platformId)?t.ready.asObservable():Object(r.a)()}init(){if(!t.ready&&Object(a.v)(this.platformId)){const e=new o.a(null);t.ready=e,function(t,n,i,a,r){window.ng2recaptchaloaded=()=>{(t=>{e.next(t)})(grecaptcha)};const o=document.createElement("script");o.innerHTML="",o.src=`${a||"https://www.google.com/recaptcha/api.js"}?render=${t}&onload=ng2recaptchaloaded${i}`,r&&(o.nonce=r),o.async=!0,o.defer=!0,document.head.appendChild(o)}(this.v3SiteKey||"explicit",0,this.language?"&hl="+this.language:"",this.baseUrl,this.nonce)}}}return t.\u0275fac=function(e){return new(e||t)(i.Xb(i.D),i.Xb(l,8),i.Xb(c,8),i.Xb(d,8),i.Xb(h,8))},t.\u0275prov=i.Jb({token:t,factory:t.\u0275fac}),t.ready=null,t})(),p=0,f=(()=>{class t{constructor(t,e,n,a){this.elementRef=t,this.loader=e,this.zone=n,this.id="ngrecaptcha-"+p++,this.errorMode="default",this.resolved=new i.o,this.error=new i.o,a&&(this.siteKey=a.siteKey,this.theme=a.theme,this.type=a.type,this.size=a.size,this.badge=a.badge)}ngAfterViewInit(){this.subscription=this.loader.ready.subscribe(t=>{null!=t&&t.render instanceof Function&&(this.grecaptcha=t,this.renderRecaptcha())})}ngOnDestroy(){this.grecaptchaReset(),this.subscription&&this.subscription.unsubscribe()}execute(){"invisible"===this.size&&(null!=this.widget?this.grecaptcha.execute(this.widget):this.executeRequested=!0)}reset(){null!=this.widget&&(this.grecaptcha.getResponse(this.widget)&&this.resolved.emit(null),this.grecaptchaReset())}expired(){this.resolved.emit(null)}errored(t){this.error.emit(t)}captchaResponseCallback(t){this.resolved.emit(t)}grecaptchaReset(){null!=this.widget&&this.zone.runOutsideAngular(()=>this.grecaptcha.reset(this.widget))}renderRecaptcha(){const t={badge:this.badge,callback:t=>{this.zone.run(()=>this.captchaResponseCallback(t))},"expired-callback":()=>{this.zone.run(()=>this.expired())},sitekey:this.siteKey,size:this.size,tabindex:this.tabIndex,theme:this.theme,type:this.type};"handled"===this.errorMode&&(t["error-callback"]=(...t)=>{this.zone.run(()=>this.errored(t))}),this.widget=this.grecaptcha.render(this.elementRef.nativeElement,t),!0===this.executeRequested&&(this.executeRequested=!1,this.execute())}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.l),i.Nb(m),i.Nb(i.B),i.Nb(u,8))},t.\u0275cmp=i.Hb({type:t,selectors:[["re-captcha"]],hostVars:1,hostBindings:function(t,e){2&t&&i.Db("id",e.id)},inputs:{id:"id",errorMode:"errorMode",siteKey:"siteKey",theme:"theme",type:"type",size:"size",badge:"badge",tabIndex:"tabIndex"},outputs:{resolved:"resolved",error:"error"},exportAs:["reCaptcha"],decls:0,vars:0,template:function(t,e){},encapsulation:2}),t})(),g=(()=>{class t{}return t.\u0275mod=i.Lb({type:t}),t.\u0275inj=i.Kb({factory:function(e){return new(e||t)}}),t})(),b=(()=>{class t{}return t.\u0275mod=i.Lb({type:t}),t.\u0275inj=i.Kb({factory:function(e){return new(e||t)},providers:[m],imports:[[g]]}),t})(),_=(()=>{class t{constructor(t){this.host=t}writeValue(t){t||this.host.reset()}registerOnChange(t){this.onChange=t}registerOnTouched(t){this.onTouched=t}onResolve(t){this.onChange&&this.onChange(t),this.onTouched&&this.onTouched()}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(f))},t.\u0275dir=i.Ib({type:t,selectors:[["re-captcha","formControlName",""],["re-captcha","formControl",""],["re-captcha","ngModel",""]],hostBindings:function(t,e){1&t&&i.bc("resolved",function(t){return e.onResolve(t)})},features:[i.Bb([{multi:!0,provide:s.m,useExisting:Object(i.V)(()=>t)}])]}),t})(),y=(()=>{class t{}return t.\u0275mod=i.Lb({type:t}),t.\u0275inj=i.Kb({factory:function(e){return new(e||t)},imports:[[s.j,g]]}),t})()},M9ds:function(t,e,n){"use strict";n.d(e,"a",function(){return Z}),n.d(e,"b",function(){return W}),n.d(e,"c",function(){return ot}),n.d(e,"d",function(){return pt});var i=n("YEUz"),a=n("9b/N"),r=n("1z/I"),o=n("SVse"),s=n("8Y7J"),l=n("UhP/"),c=n("omvX"),d=n("XNiG"),u=n("quSY"),h=n("VRyK"),m=n("xgIS"),p=n("LRne"),f=n("PqYM"),g=n("GS7A"),b=n("JX91"),_=n("/uUt"),y=n("1G5W"),v=n("8LU1"),C=n("SCoL"),w=n("Ht+U"),x=n("9gLZ"),M=n("7KAL");function O(t,e){1&t&&s.lc(0)}const k=["*"];function S(t,e){}const T=function(t){return{animationDuration:t}},P=function(t,e){return{value:t,params:e}},L=["tabBodyWrapper"],D=["tabHeader"];function E(t,e){}function A(t,e){if(1&t&&s.Fc(0,E,0,0,"ng-template",9),2&t){const t=s.fc().$implicit;s.nc("cdkPortalOutlet",t.templateLabel)}}function I(t,e){if(1&t&&s.Hc(0),2&t){const t=s.fc().$implicit;s.Ic(t.textLabel)}}function R(t,e){if(1&t){const t=s.Ub();s.Tb(0,"div",6),s.bc("click",function(){s.yc(t);const n=e.$implicit,i=e.index,a=s.fc(),r=s.vc(1);return a._handleClick(n,r,i)}),s.Tb(1,"div",7),s.Fc(2,A,1,1,"ng-template",8),s.Fc(3,I,1,1,"ng-template",8),s.Sb(),s.Sb()}if(2&t){const t=e.$implicit,n=e.index,i=s.fc();s.Fb("mat-tab-label-active",i.selectedIndex==n),s.nc("id",i._getTabLabelId(n))("disabled",t.disabled)("matRippleDisabled",t.disabled||i.disableRipple),s.Db("tabIndex",i._getTabIndex(t,n))("aria-posinset",n+1)("aria-setsize",i._tabs.length)("aria-controls",i._getTabContentId(n))("aria-selected",i.selectedIndex==n)("aria-label",t.ariaLabel||null)("aria-labelledby",!t.ariaLabel&&t.ariaLabelledby?t.ariaLabelledby:null),s.Cb(2),s.nc("ngIf",t.templateLabel),s.Cb(1),s.nc("ngIf",!t.templateLabel)}}function N(t,e){if(1&t){const t=s.Ub();s.Tb(0,"mat-tab-body",10),s.bc("_onCentered",function(){return s.yc(t),s.fc()._removeTabBodyWrapperHeight()})("_onCentering",function(e){return s.yc(t),s.fc()._setTabBodyWrapperHeight(e)}),s.Sb()}if(2&t){const t=e.$implicit,n=e.index,i=s.fc();s.Fb("mat-tab-body-active",i.selectedIndex==n),s.nc("id",i._getTabContentId(n))("content",t.content)("position",t.position)("origin",t.origin)("animationDuration",i.animationDuration),s.Db("aria-labelledby",i._getTabLabelId(n))}}const Y=["tabListContainer"],H=["tabList"],j=["nextPaginator"],F=["previousPaginator"],z=new s.s("MatInkBarPositioner",{providedIn:"root",factory:function(){return t=>({left:t?(t.offsetLeft||0)+"px":"0",width:t?(t.offsetWidth||0)+"px":"0"})}});let V=(()=>{class t{constructor(t,e,n,i){this._elementRef=t,this._ngZone=e,this._inkBarPositioner=n,this._animationMode=i}alignToElement(t){this.show(),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this._setStyles(t))}):this._setStyles(t)}show(){this._elementRef.nativeElement.style.visibility="visible"}hide(){this._elementRef.nativeElement.style.visibility="hidden"}_setStyles(t){const e=this._inkBarPositioner(t),n=this._elementRef.nativeElement;n.style.left=e.left,n.style.width=e.width}}return t.\u0275fac=function(e){return new(e||t)(s.Nb(s.l),s.Nb(s.B),s.Nb(z),s.Nb(c.a,8))},t.\u0275dir=s.Ib({type:t,selectors:[["mat-ink-bar"]],hostAttrs:[1,"mat-ink-bar"],hostVars:2,hostBindings:function(t,e){2&t&&s.Fb("_mat-animation-noopable","NoopAnimations"===e._animationMode)}}),t})();const B=new s.s("MatTabContent");let W=(()=>{class t{constructor(t){this.template=t}}return t.\u0275fac=function(e){return new(e||t)(s.Nb(s.N))},t.\u0275dir=s.Ib({type:t,selectors:[["","matTabContent",""]],features:[s.Bb([{provide:B,useExisting:t}])]}),t})();const U=new s.s("MatTabLabel");class q{}const G=Object(l.y)(q),J=new s.s("MAT_TAB_GROUP");let Z=(()=>{class t extends G{constructor(t,e){super(),this._viewContainerRef=t,this._closestTabGroup=e,this.textLabel="",this._contentPortal=null,this._stateChanges=new d.a,this.position=null,this.origin=null,this.isActive=!1}get templateLabel(){return this._templateLabel}set templateLabel(t){this._setTemplateLabelInput(t)}get content(){return this._contentPortal}ngOnChanges(t){(t.hasOwnProperty("textLabel")||t.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new r.g(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(t){t&&(this._templateLabel=t)}}return t.\u0275fac=function(e){return new(e||t)(s.Nb(s.R),s.Nb(J))},t.\u0275cmp=s.Hb({type:t,selectors:[["mat-tab"]],contentQueries:function(t,e,n){if(1&t&&(s.Gb(n,U,1),s.Gb(n,B,3,s.N)),2&t){let t;s.uc(t=s.cc())&&(e.templateLabel=t.first),s.uc(t=s.cc())&&(e._explicitContent=t.first)}},viewQuery:function(t,e){if(1&t&&s.Lc(s.N,3),2&t){let t;s.uc(t=s.cc())&&(e._implicitContent=t.first)}},inputs:{disabled:"disabled",textLabel:["label","textLabel"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"]},exportAs:["matTab"],features:[s.zb,s.Ab],ngContentSelectors:k,decls:1,vars:0,template:function(t,e){1&t&&(s.mc(),s.Fc(0,O,1,0,"ng-template"))},encapsulation:2}),t})();const $={translateTab:Object(g.n)("translateTab",[Object(g.k)("center, void, left-origin-center, right-origin-center",Object(g.l)({transform:"none"})),Object(g.k)("left",Object(g.l)({transform:"translate3d(-100%, 0, 0)",minHeight:"1px"})),Object(g.k)("right",Object(g.l)({transform:"translate3d(100%, 0, 0)",minHeight:"1px"})),Object(g.m)("* => left, * => right, left => center, right => center",Object(g.e)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),Object(g.m)("void => left-origin-center",[Object(g.l)({transform:"translate3d(-100%, 0, 0)"}),Object(g.e)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),Object(g.m)("void => right-origin-center",[Object(g.l)({transform:"translate3d(100%, 0, 0)"}),Object(g.e)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])};let X=(()=>{class t extends r.c{constructor(t,e,n,i){super(t,e,i),this._host=n,this._centeringSub=u.a.EMPTY,this._leavingSub=u.a.EMPTY}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe(Object(b.a)(this._host._isCenterPosition(this._host._position))).subscribe(t=>{t&&!this.hasAttached()&&this.attach(this._host._content)}),this._leavingSub=this._host._afterLeavingCenter.subscribe(()=>{this.detach()})}ngOnDestroy(){super.ngOnDestroy(),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(s.Nb(s.j),s.Nb(s.R),s.Nb(Object(s.V)(()=>Q)),s.Nb(o.d))},t.\u0275dir=s.Ib({type:t,selectors:[["","matTabBodyHost",""]],features:[s.zb]}),t})(),K=(()=>{class t{constructor(t,e,n){this._elementRef=t,this._dir=e,this._dirChangeSubscription=u.a.EMPTY,this._translateTabComplete=new d.a,this._onCentering=new s.o,this._beforeCentering=new s.o,this._afterLeavingCenter=new s.o,this._onCentered=new s.o(!0),this.animationDuration="500ms",e&&(this._dirChangeSubscription=e.change.subscribe(t=>{this._computePositionAnimationState(t),n.markForCheck()})),this._translateTabComplete.pipe(Object(_.a)((t,e)=>t.fromState===e.fromState&&t.toState===e.toState)).subscribe(t=>{this._isCenterPosition(t.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(t.fromState)&&!this._isCenterPosition(this._position)&&this._afterLeavingCenter.emit()})}set position(t){this._positionIndex=t,this._computePositionAnimationState()}ngOnInit(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin(this.origin))}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()}_onTranslateTabStarted(t){const e=this._isCenterPosition(t.toState);this._beforeCentering.emit(e),e&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_isCenterPosition(t){return"center"==t||"left-origin-center"==t||"right-origin-center"==t}_computePositionAnimationState(t=this._getLayoutDirection()){this._position=this._positionIndex<0?"ltr"==t?"left":"right":this._positionIndex>0?"ltr"==t?"right":"left":"center"}_computePositionFromOrigin(t){const e=this._getLayoutDirection();return"ltr"==e&&t<=0||"rtl"==e&&t>0?"left-origin-center":"right-origin-center"}}return t.\u0275fac=function(e){return new(e||t)(s.Nb(s.l),s.Nb(x.b,8),s.Nb(s.h))},t.\u0275dir=s.Ib({type:t,inputs:{animationDuration:"animationDuration",position:"position",_content:["content","_content"],origin:"origin"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"}}),t})(),Q=(()=>{class t extends K{constructor(t,e,n){super(t,e,n)}}return t.\u0275fac=function(e){return new(e||t)(s.Nb(s.l),s.Nb(x.b,8),s.Nb(s.h))},t.\u0275cmp=s.Hb({type:t,selectors:[["mat-tab-body"]],viewQuery:function(t,e){if(1&t&&s.Lc(r.c,1),2&t){let t;s.uc(t=s.cc())&&(e._portalHost=t.first)}},hostAttrs:[1,"mat-tab-body"],features:[s.zb],decls:3,vars:6,consts:[[1,"mat-tab-body-content"],["content",""],["matTabBodyHost",""]],template:function(t,e){1&t&&(s.Tb(0,"div",0,1),s.bc("@translateTab.start",function(t){return e._onTranslateTabStarted(t)})("@translateTab.done",function(t){return e._translateTabComplete.next(t)}),s.Fc(2,S,0,0,"ng-template",2),s.Sb()),2&t&&s.nc("@translateTab",s.tc(3,P,e._position,s.sc(1,T,e.animationDuration)))},directives:[X],styles:[".mat-tab-body-content{height:100%;overflow:auto}.mat-tab-group-dynamic-height .mat-tab-body-content{overflow:hidden}\n"],encapsulation:2,data:{animation:[$.translateTab]}}),t})();const tt=new s.s("MAT_TABS_CONFIG");let et=0;class nt{}class it{constructor(t){this._elementRef=t}}const at=Object(l.w)(Object(l.x)(it),"primary");let rt=(()=>{class t extends at{constructor(t,e,n,i){super(t),this._changeDetectorRef=e,this._animationMode=i,this._tabs=new s.F,this._indexToSelect=0,this._tabBodyWrapperHeight=0,this._tabsSubscription=u.a.EMPTY,this._tabLabelSubscription=u.a.EMPTY,this._selectedIndex=null,this.headerPosition="above",this.selectedIndexChange=new s.o,this.focusChange=new s.o,this.animationDone=new s.o,this.selectedTabChange=new s.o(!0),this._groupId=et++,this.animationDuration=n&&n.animationDuration?n.animationDuration:"500ms",this.disablePagination=!(!n||null==n.disablePagination)&&n.disablePagination,this.dynamicHeight=!(!n||null==n.dynamicHeight)&&n.dynamicHeight}get dynamicHeight(){return this._dynamicHeight}set dynamicHeight(t){this._dynamicHeight=Object(v.c)(t)}get selectedIndex(){return this._selectedIndex}set selectedIndex(t){this._indexToSelect=Object(v.f)(t,null)}get animationDuration(){return this._animationDuration}set animationDuration(t){this._animationDuration=/^\d+$/.test(t)?t+"ms":t}get backgroundColor(){return this._backgroundColor}set backgroundColor(t){const e=this._elementRef.nativeElement;e.classList.remove(`mat-background-${this.backgroundColor}`),t&&e.classList.add(`mat-background-${t}`),this._backgroundColor=t}ngAfterContentChecked(){const t=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=t){const e=null==this._selectedIndex;e||this.selectedTabChange.emit(this._createChangeEvent(t)),Promise.resolve().then(()=>{this._tabs.forEach((e,n)=>e.isActive=n===t),e||this.selectedIndexChange.emit(t)})}this._tabs.forEach((e,n)=>{e.position=n-t,null==this._selectedIndex||0!=e.position||e.origin||(e.origin=t-this._selectedIndex)}),this._selectedIndex!==t&&(this._selectedIndex=t,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{if(this._clampTabIndex(this._indexToSelect)===this._selectedIndex){const t=this._tabs.toArray();for(let e=0;e<t.length;e++)if(t[e].isActive){this._indexToSelect=this._selectedIndex=e;break}}this._changeDetectorRef.markForCheck()})}_subscribeToAllTabChanges(){this._allTabs.changes.pipe(Object(b.a)(this._allTabs)).subscribe(t=>{this._tabs.reset(t.filter(t=>t._closestTabGroup===this)),this._tabs.notifyOnChanges()})}ngOnDestroy(){this._tabs.destroy(),this._tabsSubscription.unsubscribe(),this._tabLabelSubscription.unsubscribe()}realignInkBar(){this._tabHeader&&this._tabHeader._alignInkBarToSelectedTab()}_focusChanged(t){this.focusChange.emit(this._createChangeEvent(t))}_createChangeEvent(t){const e=new nt;return e.index=t,this._tabs&&this._tabs.length&&(e.tab=this._tabs.toArray()[t]),e}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=Object(h.a)(...this._tabs.map(t=>t._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(t){return Math.min(this._tabs.length-1,Math.max(t||0,0))}_getTabLabelId(t){return`mat-tab-label-${this._groupId}-${t}`}_getTabContentId(t){return`mat-tab-content-${this._groupId}-${t}`}_setTabBodyWrapperHeight(t){if(!this._dynamicHeight||!this._tabBodyWrapperHeight)return;const e=this._tabBodyWrapper.nativeElement;e.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(e.style.height=t+"px")}_removeTabBodyWrapperHeight(){const t=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=t.clientHeight,t.style.height="",this.animationDone.emit()}_handleClick(t,e,n){t.disabled||(this.selectedIndex=e.focusIndex=n)}_getTabIndex(t,e){return t.disabled?null:this.selectedIndex===e?0:-1}}return t.\u0275fac=function(e){return new(e||t)(s.Nb(s.l),s.Nb(s.h),s.Nb(tt,8),s.Nb(c.a,8))},t.\u0275dir=s.Ib({type:t,inputs:{headerPosition:"headerPosition",animationDuration:"animationDuration",disablePagination:"disablePagination",dynamicHeight:"dynamicHeight",selectedIndex:"selectedIndex",backgroundColor:"backgroundColor"},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},features:[s.zb]}),t})(),ot=(()=>{class t extends rt{constructor(t,e,n,i){super(t,e,n,i)}}return t.\u0275fac=function(e){return new(e||t)(s.Nb(s.l),s.Nb(s.h),s.Nb(tt,8),s.Nb(c.a,8))},t.\u0275cmp=s.Hb({type:t,selectors:[["mat-tab-group"]],contentQueries:function(t,e,n){if(1&t&&s.Gb(n,Z,1),2&t){let t;s.uc(t=s.cc())&&(e._allTabs=t)}},viewQuery:function(t,e){if(1&t&&(s.Lc(L,1),s.Lc(D,1)),2&t){let t;s.uc(t=s.cc())&&(e._tabBodyWrapper=t.first),s.uc(t=s.cc())&&(e._tabHeader=t.first)}},hostAttrs:[1,"mat-tab-group"],hostVars:4,hostBindings:function(t,e){2&t&&s.Fb("mat-tab-group-dynamic-height",e.dynamicHeight)("mat-tab-group-inverted-header","below"===e.headerPosition)},inputs:{color:"color",disableRipple:"disableRipple"},exportAs:["matTabGroup"],features:[s.Bb([{provide:J,useExisting:t}]),s.zb],decls:6,vars:7,consts:[[3,"selectedIndex","disableRipple","disablePagination","indexFocused","selectFocusedIndex"],["tabHeader",""],["class","mat-tab-label mat-focus-indicator","role","tab","matTabLabelWrapper","","mat-ripple","","cdkMonitorElementFocus","",3,"id","mat-tab-label-active","disabled","matRippleDisabled","click",4,"ngFor","ngForOf"],[1,"mat-tab-body-wrapper"],["tabBodyWrapper",""],["role","tabpanel",3,"id","mat-tab-body-active","content","position","origin","animationDuration","_onCentered","_onCentering",4,"ngFor","ngForOf"],["role","tab","matTabLabelWrapper","","mat-ripple","","cdkMonitorElementFocus","",1,"mat-tab-label","mat-focus-indicator",3,"id","disabled","matRippleDisabled","click"],[1,"mat-tab-label-content"],[3,"ngIf"],[3,"cdkPortalOutlet"],["role","tabpanel",3,"id","content","position","origin","animationDuration","_onCentered","_onCentering"]],template:function(t,e){1&t&&(s.Tb(0,"mat-tab-header",0,1),s.bc("indexFocused",function(t){return e._focusChanged(t)})("selectFocusedIndex",function(t){return e.selectedIndex=t}),s.Fc(2,R,4,14,"div",2),s.Sb(),s.Tb(3,"div",3,4),s.Fc(5,N,1,8,"mat-tab-body",5),s.Sb()),2&t&&(s.nc("selectedIndex",e.selectedIndex||0)("disableRipple",e.disableRipple)("disablePagination",e.disablePagination),s.Cb(2),s.nc("ngForOf",e._tabs),s.Cb(1),s.Fb("_mat-animation-noopable","NoopAnimations"===e._animationMode),s.Cb(2),s.nc("ngForOf",e._tabs))},directives:function(){return[mt,o.k,ct,l.r,i.e,o.l,r.c,Q]},styles:[".mat-tab-group{display:flex;flex-direction:column}.mat-tab-group.mat-tab-group-inverted-header{flex-direction:column-reverse}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:none}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}.cdk-high-contrast-active .mat-tab-label:focus{outline:dotted 2px;outline-offset:-2px}.mat-tab-label.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-label.mat-tab-disabled{opacity:.5}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-label{opacity:1}@media(max-width: 599px){.mat-tab-label{padding:0 12px}}@media(max-width: 959px){.mat-tab-label{padding:0 12px}}.mat-tab-group[mat-stretch-tabs]>.mat-tab-header .mat-tab-label{flex-basis:0;flex-grow:1}.mat-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable.mat-tab-body-wrapper{transition:none;animation:none}.mat-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;flex-basis:100%}.mat-tab-body.mat-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-tab-group.mat-tab-group-dynamic-height .mat-tab-body.mat-tab-body-active{overflow-y:hidden}\n"],encapsulation:2}),t})();class st{}const lt=Object(l.y)(st);let ct=(()=>{class t extends lt{constructor(t){super(),this.elementRef=t}focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}}return t.\u0275fac=function(e){return new(e||t)(s.Nb(s.l))},t.\u0275dir=s.Ib({type:t,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(t,e){2&t&&(s.Db("aria-disabled",!!e.disabled),s.Fb("mat-tab-disabled",e.disabled))},inputs:{disabled:"disabled"},features:[s.zb]}),t})();const dt=Object(C.f)({passive:!0});let ut=(()=>{class t{constructor(t,e,n,i,a,r,o){this._elementRef=t,this._changeDetectorRef=e,this._viewportRuler=n,this._dir=i,this._ngZone=a,this._platform=r,this._animationMode=o,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new d.a,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new d.a,this.disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new s.o,this.indexFocused=new s.o,a.runOutsideAngular(()=>{Object(m.a)(t.nativeElement,"mouseleave").pipe(Object(y.a)(this._destroyed)).subscribe(()=>{this._stopInterval()})})}get selectedIndex(){return this._selectedIndex}set selectedIndex(t){t=Object(v.f)(t),this._selectedIndex!=t&&(this._selectedIndexChanged=!0,this._selectedIndex=t,this._keyManager&&this._keyManager.updateActiveItem(t))}ngAfterViewInit(){Object(m.a)(this._previousPaginator.nativeElement,"touchstart",dt).pipe(Object(y.a)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),Object(m.a)(this._nextPaginator.nativeElement,"touchstart",dt).pipe(Object(y.a)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){const t=this._dir?this._dir.change:Object(p.a)(null),e=this._viewportRuler.change(150),n=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new i.g(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap(),this._keyManager.updateActiveItem(this._selectedIndex),"undefined"!=typeof requestAnimationFrame?requestAnimationFrame(n):n(),Object(h.a)(t,e,this._items.changes).pipe(Object(y.a)(this._destroyed)).subscribe(()=>{Promise.resolve().then(n),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.pipe(Object(y.a)(this._destroyed)).subscribe(t=>{this.indexFocused.emit(t),this._setTabFocus(t)})}ngAfterContentChecked(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck()),this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck()),this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}_handleKeydown(t){if(!Object(w.r)(t))switch(t.keyCode){case w.e:case w.m:this.focusIndex!==this.selectedIndex&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(t));break;default:this._keyManager.onKeydown(t)}}_onContentChanges(){const t=this._elementRef.nativeElement.textContent;t!==this._currentTextContent&&(this._currentTextContent=t||"",this._ngZone.run(()=>{this.updatePagination(),this._alignInkBarToSelectedTab(),this._changeDetectorRef.markForCheck()}))}updatePagination(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()}get focusIndex(){return this._keyManager?this._keyManager.activeItemIndex:0}set focusIndex(t){this._isValidIndex(t)&&this.focusIndex!==t&&this._keyManager&&this._keyManager.setActiveItem(t)}_isValidIndex(t){if(!this._items)return!0;const e=this._items?this._items.toArray()[t]:null;return!!e&&!e.disabled}_setTabFocus(t){if(this._showPaginationControls&&this._scrollToLabel(t),this._items&&this._items.length){this._items.toArray()[t].focus();const e=this._tabListContainer.nativeElement,n=this._getLayoutDirection();e.scrollLeft="ltr"==n?0:e.scrollWidth-e.offsetWidth}}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;const t=this.scrollDistance,e="ltr"===this._getLayoutDirection()?-t:t;this._tabList.nativeElement.style.transform=`translateX(${Math.round(e)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(t){this._scrollTo(t)}_scrollHeader(t){return this._scrollTo(this._scrollDistance+("before"==t?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)}_handlePaginatorClick(t){this._stopInterval(),this._scrollHeader(t)}_scrollToLabel(t){if(this.disablePagination)return;const e=this._items?this._items.toArray()[t]:null;if(!e)return;const n=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:i,offsetWidth:a}=e.elementRef.nativeElement;let r,o;"ltr"==this._getLayoutDirection()?(r=i,o=r+a):(o=this._tabList.nativeElement.offsetWidth-i,r=o-a);const s=this.scrollDistance,l=this.scrollDistance+n;r<s?this.scrollDistance-=s-r+60:o>l&&(this.scrollDistance+=o-l+60)}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{const t=this._tabList.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;t||(this.scrollDistance=0),t!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=t}}_checkScrollingControls(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=0==this.scrollDistance,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())}_getMaxScrollDistance(){return this._tabList.nativeElement.scrollWidth-this._tabListContainer.nativeElement.offsetWidth||0}_alignInkBarToSelectedTab(){const t=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,e=t?t.elementRef.nativeElement:null;e?this._inkBar.alignToElement(e):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(t,e){e&&null!=e.button&&0!==e.button||(this._stopInterval(),Object(f.a)(650,100).pipe(Object(y.a)(Object(h.a)(this._stopScrolling,this._destroyed))).subscribe(()=>{const{maxScrollDistance:e,distance:n}=this._scrollHeader(t);(0===n||n>=e)&&this._stopInterval()}))}_scrollTo(t){if(this.disablePagination)return{maxScrollDistance:0,distance:0};const e=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(e,t)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:e,distance:this._scrollDistance}}}return t.\u0275fac=function(e){return new(e||t)(s.Nb(s.l),s.Nb(s.h),s.Nb(M.e),s.Nb(x.b,8),s.Nb(s.B),s.Nb(C.a),s.Nb(c.a,8))},t.\u0275dir=s.Ib({type:t,inputs:{disablePagination:"disablePagination"}}),t})(),ht=(()=>{class t extends ut{constructor(t,e,n,i,a,r,o){super(t,e,n,i,a,r,o),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(t){this._disableRipple=Object(v.c)(t)}_itemSelected(t){t.preventDefault()}}return t.\u0275fac=function(e){return new(e||t)(s.Nb(s.l),s.Nb(s.h),s.Nb(M.e),s.Nb(x.b,8),s.Nb(s.B),s.Nb(C.a),s.Nb(c.a,8))},t.\u0275dir=s.Ib({type:t,inputs:{disableRipple:"disableRipple"},features:[s.zb]}),t})(),mt=(()=>{class t extends ht{constructor(t,e,n,i,a,r,o){super(t,e,n,i,a,r,o)}}return t.\u0275fac=function(e){return new(e||t)(s.Nb(s.l),s.Nb(s.h),s.Nb(M.e),s.Nb(x.b,8),s.Nb(s.B),s.Nb(C.a),s.Nb(c.a,8))},t.\u0275cmp=s.Hb({type:t,selectors:[["mat-tab-header"]],contentQueries:function(t,e,n){if(1&t&&s.Gb(n,ct,0),2&t){let t;s.uc(t=s.cc())&&(e._items=t)}},viewQuery:function(t,e){if(1&t&&(s.Lc(V,3),s.Lc(Y,3),s.Lc(H,3),s.Lc(j,1),s.Lc(F,1)),2&t){let t;s.uc(t=s.cc())&&(e._inkBar=t.first),s.uc(t=s.cc())&&(e._tabListContainer=t.first),s.uc(t=s.cc())&&(e._tabList=t.first),s.uc(t=s.cc())&&(e._nextPaginator=t.first),s.uc(t=s.cc())&&(e._previousPaginator=t.first)}},hostAttrs:[1,"mat-tab-header"],hostVars:4,hostBindings:function(t,e){2&t&&s.Fb("mat-tab-header-pagination-controls-enabled",e._showPaginationControls)("mat-tab-header-rtl","rtl"==e._getLayoutDirection())},inputs:{selectedIndex:"selectedIndex"},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[s.zb],ngContentSelectors:k,decls:13,vars:8,consts:[["aria-hidden","true","mat-ripple","",1,"mat-tab-header-pagination","mat-tab-header-pagination-before","mat-elevation-z4",3,"matRippleDisabled","click","mousedown","touchend"],["previousPaginator",""],[1,"mat-tab-header-pagination-chevron"],[1,"mat-tab-label-container",3,"keydown"],["tabListContainer",""],["role","tablist",1,"mat-tab-list",3,"cdkObserveContent"],["tabList",""],[1,"mat-tab-labels"],["aria-hidden","true","mat-ripple","",1,"mat-tab-header-pagination","mat-tab-header-pagination-after","mat-elevation-z4",3,"matRippleDisabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(t,e){1&t&&(s.mc(),s.Tb(0,"div",0,1),s.bc("click",function(){return e._handlePaginatorClick("before")})("mousedown",function(t){return e._handlePaginatorPress("before",t)})("touchend",function(){return e._stopInterval()}),s.Ob(2,"div",2),s.Sb(),s.Tb(3,"div",3,4),s.bc("keydown",function(t){return e._handleKeydown(t)}),s.Tb(5,"div",5,6),s.bc("cdkObserveContent",function(){return e._onContentChanges()}),s.Tb(7,"div",7),s.lc(8),s.Sb(),s.Ob(9,"mat-ink-bar"),s.Sb(),s.Sb(),s.Tb(10,"div",8,9),s.bc("mousedown",function(t){return e._handlePaginatorPress("after",t)})("click",function(){return e._handlePaginatorClick("after")})("touchend",function(){return e._stopInterval()}),s.Ob(12,"div",2),s.Sb()),2&t&&(s.Fb("mat-tab-header-pagination-disabled",e._disableScrollBefore),s.nc("matRippleDisabled",e._disableScrollBefore||e.disableRipple),s.Cb(5),s.Fb("_mat-animation-noopable","NoopAnimations"===e._animationMode),s.Cb(5),s.Fb("mat-tab-header-pagination-disabled",e._disableScrollAfter),s.nc("matRippleDisabled",e._disableScrollAfter||e.disableRipple))},directives:[l.r,a.a,V],styles:['.mat-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-tab-header-pagination{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:transparent;touch-action:none}.mat-tab-header-pagination-controls-enabled .mat-tab-header-pagination{display:flex}.mat-tab-header-pagination-before,.mat-tab-header-rtl .mat-tab-header-pagination-after{padding-left:4px}.mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-rtl .mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-tab-header-rtl .mat-tab-header-pagination-before,.mat-tab-header-pagination-after{padding-right:4px}.mat-tab-header-rtl .mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;content:"";height:8px;width:8px}.mat-tab-header-pagination-disabled{box-shadow:none;cursor:default}.mat-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-ink-bar{position:absolute;bottom:0;height:2px;transition:500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable.mat-ink-bar{transition:none;animation:none}.mat-tab-group-inverted-header .mat-ink-bar{bottom:auto;top:0}.cdk-high-contrast-active .mat-ink-bar{outline:solid 2px;height:0}.mat-tab-labels{display:flex}[mat-align-tabs=center]>.mat-tab-header .mat-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-tab-header .mat-tab-labels{justify-content:flex-end}.mat-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}._mat-animation-noopable.mat-tab-list{transition:none;animation:none}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:none}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}.cdk-high-contrast-active .mat-tab-label:focus{outline:dotted 2px;outline-offset:-2px}.mat-tab-label.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-label.mat-tab-disabled{opacity:.5}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-label{opacity:1}@media(max-width: 599px){.mat-tab-label{min-width:72px}}\n'],encapsulation:2}),t})(),pt=(()=>{class t{}return t.\u0275mod=s.Lb({type:t}),t.\u0275inj=s.Kb({factory:function(e){return new(e||t)},imports:[[o.c,l.j,r.f,l.s,a.c,i.a],l.j]}),t})()},Mkv7:function(t,e,n){"use strict";n.d(e,"a",function(){return P});var i=n("8Y7J"),a=n("EY2u"),r=n("nYR2"),o=n("JIr8"),s=n("v/fa"),l=n("uc2U"),c=n("TSSN"),d=n("SKrM"),u=n("jKJn"),h=n("iInd"),m=n("s7LF"),p=n("OdmS"),f=n("SVse"),g=n("Q2Ze"),b=n("Dxy4"),_=n("Tj54"),y=n("pu8Q");function v(t,e){1&t&&(i.Tb(0,"mat-error",10),i.Hc(1),i.gc(2,"translate"),i.Sb()),2&t&&(i.Cb(1),i.Jc(" ",i.hc(2,1,"common.error.requis")," "))}function C(t,e){1&t&&(i.Tb(0,"mat-error",11),i.Hc(1),i.gc(2,"translate"),i.Sb()),2&t&&(i.Cb(1),i.Jc(" ",i.hc(2,1,"tva.error.format")," "))}function w(t,e){1&t&&(i.Tb(0,"mat-icon",15),i.gc(1,"translate"),i.Hc(2,"search"),i.Sb()),2&t&&i.nc("title",i.hc(1,1,"tva.verification"))}function x(t,e){1&t&&i.Ob(0,"mat-spinner",16),2&t&&i.nc("diameter",20)}function M(t,e){if(1&t){const t=i.Ub();i.Tb(0,"button",12),i.bc("click",function(){return i.yc(t),i.fc().clickOnSearch()}),i.Fc(1,w,3,3,"mat-icon",13),i.Fc(2,x,1,1,"mat-spinner",14),i.Sb()}if(2&t){const t=i.fc();i.Cb(1),i.nc("ngIf",!t.isLoading),i.Cb(1),i.nc("ngIf",t.isLoading)}}function O(t,e){if(1&t&&(i.Tb(0,"mat-icon",17),i.Hc(1),i.Sb()),2&t){const t=i.fc();i.nc("color",t.state===t.enumEtat.VALID?"primary":"warn"),i.Cb(1),i.Ic(t.state)}}function k(t,e){if(1&t&&(i.Tb(0,"span",18),i.Tb(1,"mat-label",19),i.Hc(2),i.gc(3,"translate"),i.Sb(),i.Tb(4,"mat-label",20),i.Hc(5),i.gc(6,"translate"),i.Sb(),i.Sb()),2&t){const t=i.fc();i.Cb(2),i.Kc("",i.hc(3,4,"tva.raisonsociale"),"",t.socialReason,""),i.Cb(3),i.Kc("",i.hc(6,6,"tva.adresse"),"",t.address,"")}}function S(t,e){1&t&&(i.Tb(0,"mat-error",21),i.Hc(1),i.gc(2,"translate"),i.Sb()),2&t&&(i.Cb(1),i.Ic(i.hc(2,1,"tva.error.invalide")))}function T(t,e){1&t&&(i.Tb(0,"mat-error",22),i.Hc(1),i.gc(2,"translate"),i.Sb()),2&t&&(i.Cb(1),i.Ic(i.hc(2,1,"tva.error.indisponible")))}let P=(()=>{class t extends s.a{constructor(t,e,n,a){super(t),this.translateService=t,this.tvaService=e,this.alertService=n,this.route=a,this.tvaCheckEvent=new i.o,this.stateChangeEvent=new i.o,this.enumEtat=l.a}get countryCode(){return this._countryCode}set countryCode(t){this._countryCode=t}load(){this.form=this.formCtrl.parent;const t=this.route.snapshot.data.resolvedData;t&&(this.socialReason=t.socialReason,this.address=t.address)}onNumTvaSelectionChange(t){t&&this.checkTvaNum(!1,t)}checkTvaNum(t,e){if(!this.formCtrl.hasError("required")&&!this.formCtrl.hasError("pattern")){const n=e?e.numTVA:this.formCtrl.value;if("FR"===n.slice(0,2)&&13===n.length){const i=+n.substring(4);+n.substring(2,4)==(12+i%97*3)%97?(this.updateState(l.a.VALID,t,"tva.valide"),this.tvaCheckEvent.emit({isValid:!0,numTVA:n,clientSelection:e})):this.checkTVAViaService(n,t,e)}else this.checkTVAViaService(n,t,e)}}checkTVAViaService(t,e,n){this.subscriptions.push(this.tvaService.checkTva(t).pipe(Object(r.a)(()=>this.isLoading=!1),Object(o.a)(t=>this.onError(t,e,n))).subscribe(i=>{this.updateState(l.a.VALID,e,"tva.valide"),this.displayErrorMessageIndisponible=!1,this.socialReason=i.raisonSociale,this.address=i.adresse,this.tvaCheckEvent.emit({isValid:!0,numTVA:t,clientSelection:n})}))}updateState(t,e,n){this.state=t,this.stateChangeEvent.emit(this.state),e||this.alertService.notifyByKey(n)}onError(t,e,n){return 404===t.status?this.updateState(l.a.INVALID,e,"tva.error.invalide"):this.updateState(l.a.ERROR,e,"tva.error.indisponible"),this.tvaCheckEvent.emit({isValid:!1,numTVA:this.formCtrl.value,clientSelection:n}),a.a}onInputChange(){this.preventDoubleCheck=!0,this.checkTvaNum(!1,null)}clickOnSearch(){this.preventDoubleCheck||this.checkTvaNum(!1,null),this.preventDoubleCheck=!1}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(c.d),i.Nb(d.a),i.Nb(u.a),i.Nb(h.a))},t.\u0275cmp=i.Hb({type:t,selectors:[["app-tva-check-2"]],inputs:{formCtrl:"formCtrl",isAutocompleteDisabled:"isAutocompleteDisabled",state:"state",preventDoubleCheck:"preventDoubleCheck",displayErrorMessageIndisponible:"displayErrorMessageIndisponible",countryCode:"countryCode"},outputs:{tvaCheckEvent:"tvaCheckEvent",stateChangeEvent:"stateChangeEvent"},features:[i.zb],decls:11,vars:14,consts:[[1,"inside-tva",3,"formGroup"],[1,"row"],["formControlName","numTVA",3,"name","inputTitle","prefix","isRequired","isAutocompleteDisabled","formControl","selectionChanged","inputChanged"],["id","tva-validator-required",4,"ngIf"],["id","tva-validator-pattern",4,"ngIf"],["data-cy","button-search-tva","mat-icon-button","","aria-label","check tva",3,"click",4,"ngIf"],["id","tva-validator-state",3,"color",4,"ngIf"],["class","display-data",4,"ngIf"],["id","tva-validator-invalid",4,"ngIf"],["id","tva-validator-error",4,"ngIf"],["id","tva-validator-required"],["id","tva-validator-pattern"],["data-cy","button-search-tva","mat-icon-button","","aria-label","check tva",3,"click"],["id","validateTva","color","primary",3,"title",4,"ngIf"],["color","primary",3,"diameter",4,"ngIf"],["id","validateTva","color","primary",3,"title"],["color","primary",3,"diameter"],["id","tva-validator-state",3,"color"],[1,"display-data"],["id","rs"],["id","addresse"],["id","tva-validator-invalid"],["id","tva-validator-error"]],template:function(t,e){1&t&&(i.Tb(0,"form",0),i.Tb(1,"span",1),i.Tb(2,"app-client-autocomplete-2",2),i.bc("selectionChanged",function(t){return e.onNumTvaSelectionChange(t)})("inputChanged",function(){return e.onInputChange()}),i.Fc(3,v,3,3,"mat-error",3),i.Fc(4,C,3,3,"mat-error",4),i.Sb(),i.Fc(5,M,3,2,"button",5),i.Sb(),i.Tb(6,"span",1),i.Fc(7,O,2,2,"mat-icon",6),i.Fc(8,k,7,8,"span",7),i.Fc(9,S,3,3,"mat-error",8),i.Fc(10,T,3,3,"mat-error",9),i.Sb(),i.Sb()),2&t&&(i.nc("formGroup",e.form),i.Cb(2),i.nc("name","numTVA")("inputTitle","tva.titre")("prefix",e.countryCode)("isRequired",!0)("isAutocompleteDisabled",e.isAutocompleteDisabled)("formControl",e.formCtrl),i.Cb(1),i.nc("ngIf",e.doesControlHaveError("numTVA","required")),i.Cb(1),i.nc("ngIf",e.doesControlHaveError("numTVA","pattern")),i.Cb(1),i.nc("ngIf",e.formCtrl.enabled),i.Cb(2),i.nc("ngIf",e.state!==e.enumEtat.VALIDATE),i.Cb(1),i.nc("ngIf",e.state===e.enumEtat.VALID),i.Cb(1),i.nc("ngIf",e.state===e.enumEtat.INVALID),i.Cb(1),i.nc("ngIf",e.state===e.enumEtat.ERROR||e.displayErrorMessageIndisponible))},directives:[m.x,m.p,m.i,p.a,m.o,m.g,m.f,f.l,g.b,b.a,_.a,y.b,g.f],pipes:[c.c],styles:[".inside-tva[_ngcontent-%COMP%]{-ms-flex-direction:column;flex-direction:column}.inside-tva[_ngcontent-%COMP%], .inside-tva[_ngcontent-%COMP%] .row[_ngcontent-%COMP%]{display:-ms-flexbox;display:flex}.inside-tva[_ngcontent-%COMP%] .row[_ngcontent-%COMP%]{width:100%;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center}.inside-tva[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] mat-form-field[_ngcontent-%COMP%]{-ms-flex:1;flex:1}.inside-tva[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] mat-spinner[_ngcontent-%COMP%]{margin:auto}.inside-tva[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{margin-right:10px}.inside-tva[_ngcontent-%COMP%] .row[_ngcontent-%COMP%]:last-child{margin-bottom:10px}.inside-tva[_ngcontent-%COMP%] #country-code[_ngcontent-%COMP%]{-ms-flex-item-align:center;align-self:center;margin-right:8px}.inside-tva[_ngcontent-%COMP%] .display-data[_ngcontent-%COMP%]{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;font-size:.7rem}"]}),t})()},NJ4a:function(t,e,n){"use strict";function i(t){setTimeout(()=>{throw t},0)}n.d(e,"a",function(){return i})},NTaR:function(t,e,n){"use strict";n.r(e),n.d(e,"DemandeAccesModule",function(){return A});var i=n("SVse"),a=n("PCNd"),r=n("iInd"),o=n("OaSA"),s=n("IGtN"),l=n("2XGR"),c=n("8Y7J"),d=n("TSSN"),u=n("eaIg"),h=n("jKJn"),m=n("PDjf"),p=n("LUZP"),f=n("Dxy4");function g(t,e){1&t&&(c.Tb(0,"th",14),c.Hc(1),c.gc(2,"translate"),c.Sb()),2&t&&(c.Cb(1),c.Ic(c.hc(2,1,"user.authorization.table.login")))}function b(t,e){if(1&t&&(c.Tb(0,"td",15),c.Hc(1),c.Sb()),2&t){const t=e.$implicit;c.Cb(1),c.Ic(null==t?null:t.donneurOrdre)}}function _(t,e){1&t&&(c.Tb(0,"th",14),c.Hc(1),c.gc(2,"translate"),c.Sb()),2&t&&(c.Cb(1),c.Ic(c.hc(2,1,"user.authorization.table.raisonSociale")))}function y(t,e){if(1&t&&(c.Tb(0,"td",15),c.Hc(1),c.Sb()),2&t){const t=e.$implicit;c.Cb(1),c.Ic(null==t?null:t.raisonSocialeDonneurOrdre)}}function v(t,e){1&t&&(c.Tb(0,"th",14),c.Hc(1),c.gc(2,"translate"),c.Sb()),2&t&&(c.Cb(1),c.Ic(c.hc(2,1,"user.authorization.table.numTVA")))}function C(t,e){if(1&t&&(c.Tb(0,"td",15),c.Hc(1),c.Sb()),2&t){const t=e.$implicit;c.Cb(1),c.Ic(null==t?null:t.numTVADonneurOrdre)}}function w(t,e){1&t&&(c.Tb(0,"th",14),c.Hc(1),c.gc(2,"translate"),c.Sb()),2&t&&(c.Cb(1),c.Ic(c.hc(2,1,"user.authorization.table.statut")))}function x(t,e){1&t&&(c.Tb(0,"span"),c.Hc(1),c.gc(2,"translate"),c.Sb()),2&t&&(c.Cb(1),c.Ic(c.hc(2,1,"user.authorization.table.statut.accept")))}function M(t,e){1&t&&(c.Tb(0,"span"),c.Hc(1),c.gc(2,"translate"),c.Sb()),2&t&&(c.Cb(1),c.Ic(c.hc(2,1,"user.authorization.table.statut.refused")))}function O(t,e){1&t&&(c.Tb(0,"span"),c.Hc(1),c.gc(2,"translate"),c.Sb()),2&t&&(c.Cb(1),c.Ic(c.hc(2,1,"user.authorization.table.statut.default")))}function k(t,e){if(1&t&&(c.Tb(0,"td",15),c.Tb(1,"span",16),c.Fc(2,x,3,3,"span",17),c.Fc(3,M,3,3,"span",17),c.Fc(4,O,3,3,"span",18),c.Sb(),c.Sb()),2&t){const t=e.$implicit,n=c.fc();c.Cb(1),c.nc("ngSwitch",null==t?null:t.etat),c.Cb(1),c.nc("ngSwitchCase",n.AccesDeclarationType.VALIDE),c.Cb(1),c.nc("ngSwitchCase",n.AccesDeclarationType.REFUSE)}}function S(t,e){1&t&&c.Ob(0,"th",14)}function T(t,e){if(1&t){const t=c.Ub();c.Tb(0,"td",15),c.Tb(1,"button",19),c.bc("click",function(){c.yc(t);const n=e.$implicit;return c.fc().accept(n.id)}),c.Hc(2),c.gc(3,"translate"),c.Sb(),c.Hc(4,"\xa0 "),c.Tb(5,"button",20),c.bc("click",function(){c.yc(t);const n=e.$implicit;return c.fc().refuse(n.id)}),c.Hc(6),c.gc(7,"translate"),c.Sb(),c.Sb()}if(2&t){const t=e.$implicit,n=c.fc();c.Cb(1),c.nc("disabled",(null==t?null:t.etat)==n.AccesDeclarationType.VALIDE),c.Cb(1),c.Jc(" ",c.hc(3,4,"user.authorization.table.action.accept")," "),c.Cb(3),c.nc("disabled",(null==t?null:t.etat)==n.AccesDeclarationType.REFUSE),c.Cb(1),c.Jc(" ",c.hc(7,6,"user.authorization.table.action.refuse")," ")}}function P(t,e){1&t&&c.Ob(0,"tr",21)}function L(t,e){1&t&&c.Ob(0,"tr",22)}let D=(()=>{class t extends s.a{constructor(t,e,n,i){super(t),this.translateService=t,this.changeDetectorRef=e,this.accesService=n,this.alertService=i,this.displayedColumns=["donneurOrdre","raisonSocialeDonneurOrdre","numTVADonneurOrdre","etat","actions"],this.AccesDeclarationType=l.a,this.sortTable=(t,e)=>t.ordre-e.ordre||t.donneurOrdre.localeCompare(e.donneurOrdre)}ngOnInit(){super.ngOnInit()}load(){this.subscriptions.push(this.accesService.getAccess().subscribe(t=>{t.forEach(t=>{t.etat===l.a.EN_COURS&&(t.ordre=1),t.etat===l.a.VALIDE&&(t.ordre=2),t.etat===l.a.REFUSE&&(t.ordre=3)}),this.datas=t.sort(this.sortTable),this.dataSource=new o.k(this.datas),this.changeDetectorRef.detectChanges()}))}accept(t){this.accesService.acceptAccess(t).subscribe(e=>{this.datas.find(e=>e.id===t).etat=l.a.VALIDE,this.datas=this.datas.sort(this.sortTable),this.dataSource=new o.k(this.datas),this.alertService.notifyByKey("user.authorization.message.accept"),this.changeDetectorRef.detectChanges()})}refuse(t){this.accesService.removeAccess(t).subscribe(e=>{this.datas.find(e=>e.id===t).etat=l.a.REFUSE,this.datas=this.datas.sort(this.sortTable),this.dataSource=new o.k(this.datas),this.alertService.notifyByKey("user.authorization.message.refuse"),this.changeDetectorRef.detectChanges()})}}return t.\u0275fac=function(e){return new(e||t)(c.Nb(d.d),c.Nb(c.h),c.Nb(u.a),c.Nb(h.a))},t.\u0275cmp=c.Hb({type:t,selectors:[["app-demande-acces"]],features:[c.zb],decls:27,vars:9,consts:[[1,"main-block"],[1,"side-header"],[1,"main-title"],[1,"declaration-explication","alert-green"],["mat-table","","matSort","",1,"declaration-list",3,"dataSource"],["matColumnDef","donneurOrdre"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","raisonSocialeDonneurOrdre"],["matColumnDef","numTVADonneurOrdre"],["matColumnDef","etat"],["matColumnDef","actions"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],["mat-raised-button","","aria-label","accept","color","primary",3,"disabled","click"],["mat-raised-button","","aria-label","refuse","color","warn",3,"disabled","click"],["mat-header-row",""],["mat-row",""]],template:function(t,e){1&t&&(c.Tb(0,"div",0),c.Tb(1,"mat-card"),c.Tb(2,"mat-card-title",1),c.Tb(3,"h1",2),c.Hc(4),c.gc(5,"translate"),c.Sb(),c.Sb(),c.Tb(6,"div",3),c.Hc(7),c.gc(8,"translate"),c.Sb(),c.Tb(9,"table",4),c.Rb(10,5),c.Fc(11,g,3,3,"th",6),c.Fc(12,b,2,1,"td",7),c.Qb(),c.Rb(13,8),c.Fc(14,_,3,3,"th",6),c.Fc(15,y,2,1,"td",7),c.Qb(),c.Rb(16,9),c.Fc(17,v,3,3,"th",6),c.Fc(18,C,2,1,"td",7),c.Qb(),c.Rb(19,10),c.Fc(20,w,3,3,"th",6),c.Fc(21,k,5,3,"td",7),c.Qb(),c.Rb(22,11),c.Fc(23,S,1,0,"th",6),c.Fc(24,T,8,8,"td",7),c.Qb(),c.Fc(25,P,1,0,"tr",12),c.Fc(26,L,1,0,"tr",13),c.Sb(),c.Sb(),c.Sb()),2&t&&(c.Cb(4),c.Ic(c.hc(5,5,"user.authorization.title")),c.Cb(3),c.Jc(" ",c.hc(8,7,"user.authorization.explication")," "),c.Cb(2),c.nc("dataSource",e.dataSource),c.Cb(16),c.nc("matHeaderRowDef",e.displayedColumns),c.Cb(1),c.nc("matRowDefColumns",e.displayedColumns))},directives:[m.a,m.d,o.j,p.a,o.c,o.e,o.b,o.g,o.i,o.d,o.a,i.n,i.o,i.p,f.a,o.f,o.h],pipes:[d.c],styles:[".main-block[_ngcontent-%COMP%] .declaration-explication[_ngcontent-%COMP%]{text-align:justify;font-size:14px;white-space:pre-line}.main-block[_ngcontent-%COMP%] .declaration-list[_ngcontent-%COMP%]{width:100%}"],changeDetection:0}),t})(),E=(()=>{class t{}return t.\u0275mod=c.Lb({type:t}),t.\u0275inj=c.Kb({factory:function(e){return new(e||t)},imports:[[r.j.forChild([{path:"",component:D}])],r.j]}),t})(),A=(()=>{class t{}return t.\u0275mod=c.Lb({type:t}),t.\u0275inj=c.Kb({factory:function(e){return new(e||t)},imports:[[i.c,a.a,E]]}),t})()},NVUN:function(t,e,n){"use strict";n.d(e,"a",function(){return c});var i=n("8Y7J"),a=n("TSSN"),r=n("SVse"),o=n("Tj54"),s=n("ZFy/");function l(t,e){if(1&t&&(i.Tb(0,"mat-icon",1),i.Hc(1,"help"),i.Sb()),2&t){const t=i.fc();i.nc("matTooltip",t.message)}}let c=(()=>{class t{constructor(t,e){this.changeDetectorRef=t,this.translateService=e,this._message=null}get message(){return this._message}set message(t){if(t){const e=this.translateService.instant(t);this._message=e!==t?e:t.endsWith("_info")?null:t,this.changeDetectorRef.markForCheck()}}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.h),i.Nb(a.d))},t.\u0275cmp=i.Hb({type:t,selectors:[["app-infobulle"]],inputs:{message:"message"},decls:1,vars:1,consts:[["color","primary","matTooltipClass","app-infobulle-tooltip",3,"matTooltip",4,"ngIf"],["color","primary","matTooltipClass","app-infobulle-tooltip",3,"matTooltip"]],template:function(t,e){1&t&&i.Fc(0,l,2,1,"mat-icon",0),2&t&&i.nc("ngIf",e.message)},directives:[r.l,o.a,s.c],styles:["\n mat-icon {\n cursor: pointer;\n margin-left:4px;\n }\n .app-infobulle-tooltip {\n font-size: 0.75em;\n text-align: center;\n }"],encapsulation:2,changeDetection:0}),t})()},NXyV:function(t,e,n){"use strict";n.d(e,"a",function(){return o});var i=n("HDdC"),a=n("Cfvw"),r=n("EY2u");function o(t){return new i.a(e=>{let n;try{n=t()}catch(i){return void e.error(i)}return(n?Object(a.a)(n):Object(r.b)()).subscribe(e)})}},Nd6I:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("8Y7J"),a=n("TSSN");let r=(()=>{class t{constructor(t){this.translateService=t}transform(t){return t&&(t.adresse||t.cp)?t.latitude&&t.longitude?`Lat. : ${t.latitude} - Long. : ${t.longitude}<br>${this.formatCpVille(t)}`:`${t.adresse}<br>${this.formatCpVille(t)}`:`<i>${this.translateService.instant("common.adresse.vide")}</i>`}formatCpVille(t){return(t.cp?t.cp+"&nbsp;&nbsp;":"")+(t.ville||"")}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(a.d))},t.\u0275pipe=i.Mb({name:"formatAddress",type:t,pure:!0}),t})()},NlNA:function(t,e,n){"use strict";n.d(e,"a",function(){return a});var i=n("3EFq");class a{constructor({login:t=null,captcha:e=null,role:n=null,compte:a={dpdDefault:null},entreprise:r={},deleted:o=!1}){this.login=t,this.captcha=e,this.role=n,this.compte=a,this.entreprise=new i.a(r),this.deleted=o}}},O8bH:function(t,e,n){"use strict";n.d(e,"a",function(){return u});var i=n("iELJ"),a=n("8Y7J"),r=n("SVse"),o=n("TSSN"),s=n("KSFr");function l(t,e){if(1&t&&(a.Tb(0,"div",4),a.Tb(1,"b"),a.Hc(2),a.gc(3,"translate"),a.Sb(),a.Ob(4,"br"),a.Ob(5,"div",5),a.gc(6,"safeHtml"),a.Sb()),2&t){const t=a.fc();a.Cb(2),a.Jc("",a.hc(3,2,"dpd.activite.inclus")," :"),a.Cb(3),a.nc("innerHTML",a.hc(6,4,t.data.description),a.zc)}}function c(t,e){if(1&t&&(a.Tb(0,"div"),a.Tb(1,"b"),a.Hc(2),a.gc(3,"translate"),a.Sb(),a.Ob(4,"br"),a.Ob(5,"div",5),a.gc(6,"safeHtml"),a.Sb()),2&t){const t=a.fc();a.Cb(2),a.Jc("",a.hc(3,2,"dpd.activite.inclus2")," :"),a.Cb(3),a.nc("innerHTML",a.hc(6,4,t.data.autre),a.zc)}}function d(t,e){if(1&t&&(a.Tb(0,"div"),a.Tb(1,"b"),a.Hc(2),a.gc(3,"translate"),a.Sb(),a.Ob(4,"br"),a.Ob(5,"div",5),a.gc(6,"safeHtml"),a.Sb()),2&t){const t=a.fc();a.Cb(2),a.Jc("",a.hc(3,2,"dpd.activite.exclut")," :"),a.Cb(3),a.nc("innerHTML",a.hc(6,4,t.data.exclusion),a.zc)}}let u=(()=>{class t{constructor(t,e){this.dialogRef=t,this.data=e}onClick(){this.dialogRef.close()}}return t.\u0275fac=function(e){return new(e||t)(a.Nb(i.f),a.Nb(i.a))},t.\u0275cmp=a.Hb({type:t,selectors:[["app-activite-detail-dialog"]],decls:8,vars:4,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["class","activite-detail",4,"ngIf"],[4,"ngIf"],[1,"activite-detail"],[3,"innerHTML"]],template:function(t,e){1&t&&(a.Tb(0,"h1",0),a.Hc(1),a.Sb(),a.Tb(2,"div",1),a.Fc(3,l,7,6,"div",2),a.Ob(4,"br"),a.Fc(5,c,7,6,"div",3),a.Ob(6,"br"),a.Fc(7,d,7,6,"div",3),a.Sb()),2&t&&(a.Cb(1),a.Ic(e.data.libelle),a.Cb(2),a.nc("ngIf",e.data.description),a.Cb(2),a.nc("ngIf",e.data.autre),a.Cb(2),a.nc("ngIf",e.data.exclusion))},directives:[i.g,i.d,r.l],pipes:[o.c,s.a],styles:[".activite-detail[_ngcontent-%COMP%]{text-align:justify}"]}),t})()},OIYi:function(t,e,n){!function(t){"use strict";t.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")}})}(n("wd/R"))},OLiY:function(t,e,n){"use strict";n.d(e,"a",function(){return y}),n.d(e,"b",function(){return O}),n.d(e,"c",function(){return M}),n.d(e,"d",function(){return x}),n.d(e,"e",function(){return m}),n.d(e,"f",function(){return p}),n.d(e,"g",function(){return g}),n.d(e,"h",function(){return C});var i=n("y7ui"),a=n("UhP/"),r=n("8LU1"),o=n("CtHx"),s=n("2Vo4"),l=n("VRyK"),c=n("IzEk"),d=n("lJxs"),u=n("8Y7J");const h=Object(a.B)(Object(a.y)(i.e));let m=(()=>{class t extends h{constructor(t,e,n){super(t,e),this._elementRef=t,this._tree=e,this.tabIndex=Number(n)||0,this._elementRef.nativeElement.classList.add("mat-tree-node")}ngOnInit(){super.ngOnInit()}ngDoCheck(){super.ngDoCheck()}ngOnDestroy(){super.ngOnDestroy()}}return t.\u0275fac=function(e){return new(e||t)(u.Nb(u.l),u.Nb(i.c),u.Yb("tabindex"))},t.\u0275dir=u.Ib({type:t,selectors:[["mat-tree-node"]],inputs:{role:"role",disabled:"disabled",tabIndex:"tabIndex"},exportAs:["matTreeNode"],features:[u.Bb([{provide:i.e,useExisting:t}]),u.zb]}),t})(),p=(()=>{class t extends i.f{}return t.\u0275fac=function(e){return f(e||t)},t.\u0275dir=u.Ib({type:t,selectors:[["","matTreeNodeDef",""]],inputs:{when:["matTreeNodeDefWhen","when"],data:["matTreeNode","data"]},features:[u.Bb([{provide:i.f,useExisting:t}]),u.zb]}),t})();const f=u.Vb(p);let g=(()=>{class t extends i.h{get level(){return this._level}set level(t){this._setLevelInput(t)}get indent(){return this._indent}set indent(t){this._setIndentInput(t)}}return t.\u0275fac=function(e){return b(e||t)},t.\u0275dir=u.Ib({type:t,selectors:[["","matTreeNodePadding",""]],inputs:{level:["matTreeNodePadding","level"],indent:["matTreeNodePaddingIndent","indent"]},features:[u.Bb([{provide:i.h,useExisting:t}]),u.zb]}),t})();const b=u.Vb(g);let _=(()=>{class t{constructor(t,e){this.viewContainer=t,this._node=e}}return t.\u0275fac=function(e){return new(e||t)(u.Nb(u.R),u.Nb(i.a,8))},t.\u0275dir=u.Ib({type:t,selectors:[["","matTreeNodeOutlet",""]],features:[u.Bb([{provide:i.g,useExisting:t}])]}),t})(),y=(()=>{class t extends i.c{}return t.\u0275fac=function(e){return v(e||t)},t.\u0275cmp=u.Hb({type:t,selectors:[["mat-tree"]],viewQuery:function(t,e){if(1&t&&u.Lc(_,3),2&t){let t;u.uc(t=u.cc())&&(e._nodeOutlet=t.first)}},hostAttrs:["role","tree",1,"mat-tree","cdk-tree"],exportAs:["matTree"],features:[u.Bb([{provide:i.c,useExisting:t}]),u.zb],decls:1,vars:0,consts:[["matTreeNodeOutlet",""]],template:function(t,e){1&t&&u.Pb(0,0)},directives:[_],styles:[".mat-tree{display:block}.mat-tree-node{display:flex;align-items:center;flex:1;word-wrap:break-word}.mat-nested-tree-node{border-bottom-width:0}\n"],encapsulation:2}),t})();const v=u.Vb(y);let C=(()=>{class t extends i.i{get recursive(){return this._recursive}set recursive(t){this._recursive=Object(r.c)(t)}}return t.\u0275fac=function(e){return w(e||t)},t.\u0275dir=u.Ib({type:t,selectors:[["","matTreeNodeToggle",""]],inputs:{recursive:["matTreeNodeToggleRecursive","recursive"]},features:[u.Bb([{provide:i.i,useExisting:t}]),u.zb]}),t})();const w=u.Vb(C);let x=(()=>{class t{}return t.\u0275mod=u.Lb({type:t}),t.\u0275inj=u.Kb({factory:function(e){return new(e||t)},imports:[[i.d,a.j],a.j]}),t})();class M{constructor(t,e,n,i){this.transformFunction=t,this.getLevel=e,this.isExpandable=n,this.getChildren=i}_flattenNode(t,e,n,i){const a=this.transformFunction(t,e);if(n.push(a),this.isExpandable(a)){const a=this.getChildren(t);a&&(Array.isArray(a)?this._flattenChildren(a,e,n,i):a.pipe(Object(c.a)(1)).subscribe(t=>{this._flattenChildren(t,e,n,i)}))}return n}_flattenChildren(t,e,n,i){t.forEach((a,r)=>{let o=i.slice();o.push(r!=t.length-1),this._flattenNode(a,e+1,n,o)})}flattenNodes(t){let e=[];return t.forEach(t=>this._flattenNode(t,0,e,[])),e}expandFlattenedNodes(t,e){let n=[],i=[];return i[0]=!0,t.forEach(t=>{let a=!0;for(let e=0;e<=this.getLevel(t);e++)a=a&&i[e];a&&n.push(t),this.isExpandable(t)&&(i[this.getLevel(t)+1]=e.isExpanded(t))}),n}}class O extends o.b{constructor(t,e,n=[]){super(),this._treeControl=t,this._treeFlattener=e,this._flattenedData=new s.a([]),this._expandedData=new s.a([]),this._data=new s.a(n)}get data(){return this._data.value}set data(t){this._data.next(t),this._flattenedData.next(this._treeFlattener.flattenNodes(this.data)),this._treeControl.dataNodes=this._flattenedData.value}connect(t){const e=[t.viewChange,this._treeControl.expansionModel.changed,this._flattenedData];return Object(l.a)(...e).pipe(Object(d.a)(()=>(this._expandedData.next(this._treeFlattener.expandFlattenedNodes(this._flattenedData.value,this._treeControl)),this._expandedData.value)))}disconnect(){}}},OaSA:function(t,e,n){"use strict";n.d(e,"a",function(){return bt}),n.d(e,"b",function(){return ct}),n.d(e,"c",function(){return mt}),n.d(e,"d",function(){return ft}),n.d(e,"e",function(){return ut}),n.d(e,"f",function(){return xt}),n.d(e,"g",function(){return yt}),n.d(e,"h",function(){return Ot}),n.d(e,"i",function(){return Ct}),n.d(e,"j",function(){return st}),n.d(e,"k",function(){return Pt}),n.d(e,"l",function(){return St});var i=n("8LU1"),a=n("CtHx"),r=n("8Y7J"),o=n("9gLZ"),s=n("SCoL"),l=n("7KAL"),c=n("SVse"),d=n("XNiG"),u=n("Cfvw"),h=n("2Vo4"),m=n("7+OI"),p=n("LRne"),f=n("1G5W"),g=n("IzEk");const b=[[["caption"]],[["colgroup"],["col"]]],_=["caption","colgroup, col"];function y(t){return class extends t{constructor(...t){super(...t),this._sticky=!1,this._hasStickyChanged=!1}get sticky(){return this._sticky}set sticky(t){const e=this._sticky;this._sticky=Object(i.c)(t),this._hasStickyChanged=e!==this._sticky}hasStickyChanged(){const t=this._hasStickyChanged;return this._hasStickyChanged=!1,t}resetStickyChanged(){this._hasStickyChanged=!1}}}const v=new r.s("CDK_TABLE");let C=(()=>{class t{constructor(t){this.template=t}}return t.\u0275fac=function(e){return new(e||t)(r.Nb(r.N))},t.\u0275dir=r.Ib({type:t,selectors:[["","cdkCellDef",""]]}),t})(),w=(()=>{class t{constructor(t){this.template=t}}return t.\u0275fac=function(e){return new(e||t)(r.Nb(r.N))},t.\u0275dir=r.Ib({type:t,selectors:[["","cdkHeaderCellDef",""]]}),t})(),x=(()=>{class t{constructor(t){this.template=t}}return t.\u0275fac=function(e){return new(e||t)(r.Nb(r.N))},t.\u0275dir=r.Ib({type:t,selectors:[["","cdkFooterCellDef",""]]}),t})();class M{}const O=y(M);let k=(()=>{class t extends O{constructor(t){super(),this._table=t,this._stickyEnd=!1}get name(){return this._name}set name(t){this._setNameInput(t)}get stickyEnd(){return this._stickyEnd}set stickyEnd(t){const e=this._stickyEnd;this._stickyEnd=Object(i.c)(t),this._hasStickyChanged=e!==this._stickyEnd}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(t){t&&(this._name=t,this.cssClassFriendlyName=t.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}}return t.\u0275fac=function(e){return new(e||t)(r.Nb(v,8))},t.\u0275dir=r.Ib({type:t,selectors:[["","cdkColumnDef",""]],contentQueries:function(t,e,n){if(1&t&&(r.Gb(n,C,1),r.Gb(n,w,1),r.Gb(n,x,1)),2&t){let t;r.uc(t=r.cc())&&(e.cell=t.first),r.uc(t=r.cc())&&(e.headerCell=t.first),r.uc(t=r.cc())&&(e.footerCell=t.first)}},inputs:{sticky:"sticky",name:["cdkColumnDef","name"],stickyEnd:"stickyEnd"},features:[r.Bb([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:t}]),r.zb]}),t})();class S{constructor(t,e){const n=e.nativeElement.classList;for(const i of t._columnCssClassName)n.add(i)}}let T=(()=>{class t extends S{constructor(t,e){super(t,e)}}return t.\u0275fac=function(e){return new(e||t)(r.Nb(k),r.Nb(r.l))},t.\u0275dir=r.Ib({type:t,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[r.zb]}),t})(),P=(()=>{class t extends S{constructor(t,e){super(t,e)}}return t.\u0275fac=function(e){return new(e||t)(r.Nb(k),r.Nb(r.l))},t.\u0275dir=r.Ib({type:t,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:["role","gridcell",1,"cdk-cell"],features:[r.zb]}),t})();class L{constructor(){this.tasks=[],this.endTasks=[]}}const D=new r.s("_COALESCED_STYLE_SCHEDULER");let E=(()=>{class t{constructor(t){this._ngZone=t,this._currentSchedule=null,this._destroyed=new d.a}schedule(t){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(t)}scheduleEnd(t){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(t)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new L,this._getScheduleObservable().pipe(Object(f.a)(this._destroyed)).subscribe(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){const t=this._currentSchedule;this._currentSchedule=new L;for(const e of t.tasks)e();for(const e of t.endTasks)e()}this._currentSchedule=null}))}_getScheduleObservable(){return this._ngZone.isStable?Object(u.a)(Promise.resolve(void 0)):this._ngZone.onStable.pipe(Object(g.a)(1))}}return t.\u0275fac=function(e){return new(e||t)(r.Xb(r.B))},t.\u0275prov=r.Jb({token:t,factory:t.\u0275fac}),t})(),A=(()=>{class t{constructor(t,e){this.template=t,this._differs=e}ngOnChanges(t){if(!this._columnsDiffer){const e=t.columns&&t.columns.currentValue||[];this._columnsDiffer=this._differs.find(e).create(),this._columnsDiffer.diff(e)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(t){return this instanceof N?t.headerCell.template:this instanceof j?t.footerCell.template:t.cell.template}}return t.\u0275fac=function(e){return new(e||t)(r.Nb(r.N),r.Nb(r.u))},t.\u0275dir=r.Ib({type:t,features:[r.Ab]}),t})();class I extends A{}const R=y(I);let N=(()=>{class t extends R{constructor(t,e,n){super(t,e),this._table=n}ngOnChanges(t){super.ngOnChanges(t)}}return t.\u0275fac=function(e){return new(e||t)(r.Nb(r.N),r.Nb(r.u),r.Nb(v,8))},t.\u0275dir=r.Ib({type:t,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:["cdkHeaderRowDef","columns"],sticky:["cdkHeaderRowDefSticky","sticky"]},features:[r.zb,r.Ab]}),t})();class Y extends A{}const H=y(Y);let j=(()=>{class t extends H{constructor(t,e,n){super(t,e),this._table=n}ngOnChanges(t){super.ngOnChanges(t)}}return t.\u0275fac=function(e){return new(e||t)(r.Nb(r.N),r.Nb(r.u),r.Nb(v,8))},t.\u0275dir=r.Ib({type:t,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:["cdkFooterRowDef","columns"],sticky:["cdkFooterRowDefSticky","sticky"]},features:[r.zb,r.Ab]}),t})(),F=(()=>{class t extends A{constructor(t,e,n){super(t,e),this._table=n}}return t.\u0275fac=function(e){return new(e||t)(r.Nb(r.N),r.Nb(r.u),r.Nb(v,8))},t.\u0275dir=r.Ib({type:t,selectors:[["","cdkRowDef",""]],inputs:{columns:["cdkRowDefColumns","columns"],when:["cdkRowDefWhen","when"]},features:[r.zb]}),t})(),z=(()=>{class t{constructor(e){this._viewContainer=e,t.mostRecentCellOutlet=this}ngOnDestroy(){t.mostRecentCellOutlet===this&&(t.mostRecentCellOutlet=null)}}return t.\u0275fac=function(e){return new(e||t)(r.Nb(r.R))},t.\u0275dir=r.Ib({type:t,selectors:[["","cdkCellOutlet",""]]}),t.mostRecentCellOutlet=null,t})(),V=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=r.Hb({type:t,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,e){1&t&&r.Pb(0,0)},directives:[z],encapsulation:2}),t})(),B=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=r.Hb({type:t,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,e){1&t&&r.Pb(0,0)},directives:[z],encapsulation:2}),t})(),W=(()=>{class t{constructor(t){this.templateRef=t}}return t.\u0275fac=function(e){return new(e||t)(r.Nb(r.N))},t.\u0275dir=r.Ib({type:t,selectors:[["ng-template","cdkNoDataRow",""]]}),t})();const U=["top","bottom","left","right"];class q{constructor(t,e,n,i,a=!0,r=!0,o){this._isNativeHtmlTable=t,this._stickCellCss=e,this.direction=n,this._coalescedStyleScheduler=i,this._isBrowser=a,this._needsPositionStickyOnElement=r,this._positionListener=o,this._cachedCellWidths=[],this._borderCellCss={top:`${e}-border-elem-top`,bottom:`${e}-border-elem-bottom`,left:`${e}-border-elem-left`,right:`${e}-border-elem-right`}}clearStickyPositioning(t,e){const n=[];for(const i of t)if(i.nodeType===i.ELEMENT_NODE){n.push(i);for(let t=0;t<i.children.length;t++)n.push(i.children[t])}this._scheduleStyleChanges(()=>{for(const t of n)this._removeStickyStyle(t,e)})}updateStickyColumns(t,e,n,i=!0){if(!t.length||!this._isBrowser||!e.some(t=>t)&&!n.some(t=>t))return void(this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:[]}),this._positionListener.stickyEndColumnsUpdated({sizes:[]})));const a=t[0],r=a.children.length,o=this._getCellWidths(a,i),s=this._getStickyStartColumnPositions(o,e),l=this._getStickyEndColumnPositions(o,n),c=e.lastIndexOf(!0),d=n.indexOf(!0);this._scheduleStyleChanges(()=>{const i="rtl"===this.direction,a=i?"right":"left",u=i?"left":"right";for(const o of t)for(let t=0;t<r;t++){const i=o.children[t];e[t]&&this._addStickyStyle(i,a,s[t],t===c),n[t]&&this._addStickyStyle(i,u,l[t],t===d)}this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:-1===c?[]:o.slice(0,c+1).map((t,n)=>e[n]?t:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:-1===d?[]:o.slice(d).map((t,e)=>n[e+d]?t:null).reverse()}))})}stickRows(t,e,n){if(!this._isBrowser)return;const i="bottom"===n?t.slice().reverse():t,a="bottom"===n?e.slice().reverse():e,r=[],o=[],s=[];for(let c=0,d=0;c<i.length;c++){if(r[c]=d,!a[c])continue;const t=i[c];s[c]=this._isNativeHtmlTable?Array.from(t.children):[t];const e=t.getBoundingClientRect().height;d+=e,o[c]=e}const l=a.lastIndexOf(!0);this._scheduleStyleChanges(()=>{var t,e;for(let o=0;o<i.length;o++){if(!a[o])continue;const t=r[o],e=o===l;for(const i of s[o])this._addStickyStyle(i,n,t,e)}"top"===n?null===(t=this._positionListener)||void 0===t||t.stickyHeaderRowsUpdated({sizes:o}):null===(e=this._positionListener)||void 0===e||e.stickyFooterRowsUpdated({sizes:o})})}updateStickyFooterContainer(t,e){if(!this._isNativeHtmlTable)return;const n=t.querySelector("tfoot");this._scheduleStyleChanges(()=>{e.some(t=>!t)?this._removeStickyStyle(n,["bottom"]):this._addStickyStyle(n,"bottom",0,!1)})}_removeStickyStyle(t,e){for(const n of e)t.style[n]="",t.classList.remove(this._borderCellCss[n]);U.some(n=>-1===e.indexOf(n)&&t.style[n])?t.style.zIndex=this._getCalculatedZIndex(t):(t.style.zIndex="",this._needsPositionStickyOnElement&&(t.style.position=""),t.classList.remove(this._stickCellCss))}_addStickyStyle(t,e,n,i){t.classList.add(this._stickCellCss),i&&t.classList.add(this._borderCellCss[e]),t.style[e]=`${n}px`,t.style.zIndex=this._getCalculatedZIndex(t),this._needsPositionStickyOnElement&&(t.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(t){const e={top:100,bottom:10,left:1,right:1};let n=0;for(const i of U)t.style[i]&&(n+=e[i]);return n?`${n}`:""}_getCellWidths(t,e=!0){if(!e&&this._cachedCellWidths.length)return this._cachedCellWidths;const n=[],i=t.children;for(let a=0;a<i.length;a++)n.push(i[a].getBoundingClientRect().width);return this._cachedCellWidths=n,n}_getStickyStartColumnPositions(t,e){const n=[];let i=0;for(let a=0;a<t.length;a++)e[a]&&(n[a]=i,i+=t[a]);return n}_getStickyEndColumnPositions(t,e){const n=[];let i=0;for(let a=t.length;a>0;a--)e[a]&&(n[a]=i,i+=t[a]);return n}_scheduleStyleChanges(t){this._coalescedStyleScheduler?this._coalescedStyleScheduler.schedule(t):t()}}const G=new r.s("CDK_SPL");let J=(()=>{class t{constructor(t,e){this.viewContainer=t,this.elementRef=e}}return t.\u0275fac=function(e){return new(e||t)(r.Nb(r.R),r.Nb(r.l))},t.\u0275dir=r.Ib({type:t,selectors:[["","rowOutlet",""]]}),t})(),Z=(()=>{class t{constructor(t,e){this.viewContainer=t,this.elementRef=e}}return t.\u0275fac=function(e){return new(e||t)(r.Nb(r.R),r.Nb(r.l))},t.\u0275dir=r.Ib({type:t,selectors:[["","headerRowOutlet",""]]}),t})(),$=(()=>{class t{constructor(t,e){this.viewContainer=t,this.elementRef=e}}return t.\u0275fac=function(e){return new(e||t)(r.Nb(r.R),r.Nb(r.l))},t.\u0275dir=r.Ib({type:t,selectors:[["","footerRowOutlet",""]]}),t})(),X=(()=>{class t{constructor(t,e){this.viewContainer=t,this.elementRef=e}}return t.\u0275fac=function(e){return new(e||t)(r.Nb(r.R),r.Nb(r.l))},t.\u0275dir=r.Ib({type:t,selectors:[["","noDataRowOutlet",""]]}),t})(),K=(()=>{class t{constructor(t,e,n,i,a,r,o,s,l,c,u){this._differs=t,this._changeDetectorRef=e,this._elementRef=n,this._dir=a,this._platform=o,this._viewRepeater=s,this._coalescedStyleScheduler=l,this._stickyPositioningListener=c,this._viewportRuler=u,this._onDestroy=new d.a,this._columnDefsByName=new Map,this._customColumnDefs=new Set,this._customRowDefs=new Set,this._customHeaderRowDefs=new Set,this._customFooterRowDefs=new Set,this._headerRowDefChanged=!0,this._footerRowDefChanged=!0,this._stickyColumnStylesNeedReset=!0,this._forceRecalculateCellWidths=!0,this._cachedRenderRowsMap=new Map,this.stickyCssClass="cdk-table-sticky",this.needsPositionStickyOnElement=!0,this._isShowingNoDataRow=!1,this._multiTemplateDataRows=!1,this._fixedLayout=!1,this.viewChange=new h.a({start:0,end:Number.MAX_VALUE}),i||this._elementRef.nativeElement.setAttribute("role","grid"),this._document=r,this._isNativeHtmlTable="TABLE"===this._elementRef.nativeElement.nodeName}get trackBy(){return this._trackByFn}set trackBy(t){this._trackByFn=t}get dataSource(){return this._dataSource}set dataSource(t){this._dataSource!==t&&this._switchDataSource(t)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(t){this._multiTemplateDataRows=Object(i.c)(t),this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(t){this._fixedLayout=Object(i.c)(t),this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}ngOnInit(){this._setupStickyStyler(),this._isNativeHtmlTable&&this._applyNativeTableSections(),this._dataDiffer=this._differs.find([]).create((t,e)=>this.trackBy?this.trackBy(e.dataIndex,e.data):e),this._viewportRuler&&this._viewportRuler.change().pipe(Object(f.a)(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentChecked(){this._cacheRowDefs(),this._cacheColumnDefs();const t=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||t,this._forceRecalculateCellWidths=t,this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1),this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1),this.dataSource&&this._rowDefs.length>0&&!this._renderChangeSubscription?this._observeRenderChanges():this._stickyColumnStylesNeedReset&&this.updateStickyColumnStyles(),this._checkStickyStates()}ngOnDestroy(){this._rowOutlet.viewContainer.clear(),this._noDataRowOutlet.viewContainer.clear(),this._headerRowOutlet.viewContainer.clear(),this._footerRowOutlet.viewContainer.clear(),this._cachedRenderRowsMap.clear(),this._onDestroy.next(),this._onDestroy.complete(),Object(a.h)(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();const t=this._dataDiffer.diff(this._renderRows);if(!t)return void this._updateNoDataRow();const e=this._rowOutlet.viewContainer;this._viewRepeater?this._viewRepeater.applyChanges(t,e,(t,e,n)=>this._getEmbeddedViewArgs(t.item,n),t=>t.item.data,t=>{1===t.operation&&t.context&&this._renderCellTemplateForItem(t.record.item.rowDef,t.context)}):t.forEachOperation((t,n,i)=>{if(null==t.previousIndex){const e=t.item;this._renderRow(this._rowOutlet,e.rowDef,i,{$implicit:e.data})}else if(null==i)e.remove(n);else{const t=e.get(n);e.move(t,i)}}),this._updateRowIndexContext(),t.forEachIdentityChange(t=>{e.get(t.currentIndex).context.$implicit=t.item.data}),this._updateNoDataRow(),this.updateStickyColumnStyles()}addColumnDef(t){this._customColumnDefs.add(t)}removeColumnDef(t){this._customColumnDefs.delete(t)}addRowDef(t){this._customRowDefs.add(t)}removeRowDef(t){this._customRowDefs.delete(t)}addHeaderRowDef(t){this._customHeaderRowDefs.add(t),this._headerRowDefChanged=!0}removeHeaderRowDef(t){this._customHeaderRowDefs.delete(t),this._headerRowDefChanged=!0}addFooterRowDef(t){this._customFooterRowDefs.add(t),this._footerRowDefChanged=!0}removeFooterRowDef(t){this._customFooterRowDefs.delete(t),this._footerRowDefChanged=!0}setNoDataRow(t){this._customNoDataRow=t}updateStickyHeaderRowStyles(){const t=this._getRenderedRows(this._headerRowOutlet),e=this._elementRef.nativeElement.querySelector("thead");e&&(e.style.display=t.length?"":"none");const n=this._headerRowDefs.map(t=>t.sticky);this._stickyStyler.clearStickyPositioning(t,["top"]),this._stickyStyler.stickRows(t,n,"top"),this._headerRowDefs.forEach(t=>t.resetStickyChanged())}updateStickyFooterRowStyles(){const t=this._getRenderedRows(this._footerRowOutlet),e=this._elementRef.nativeElement.querySelector("tfoot");e&&(e.style.display=t.length?"":"none");const n=this._footerRowDefs.map(t=>t.sticky);this._stickyStyler.clearStickyPositioning(t,["bottom"]),this._stickyStyler.stickRows(t,n,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,n),this._footerRowDefs.forEach(t=>t.resetStickyChanged())}updateStickyColumnStyles(){const t=this._getRenderedRows(this._headerRowOutlet),e=this._getRenderedRows(this._rowOutlet),n=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...t,...e,...n],["left","right"]),this._stickyColumnStylesNeedReset=!1),t.forEach((t,e)=>{this._addStickyColumnStyles([t],this._headerRowDefs[e])}),this._rowDefs.forEach(t=>{const n=[];for(let i=0;i<e.length;i++)this._renderRows[i].rowDef===t&&n.push(e[i]);this._addStickyColumnStyles(n,t)}),n.forEach((t,e)=>{this._addStickyColumnStyles([t],this._footerRowDefs[e])}),Array.from(this._columnDefsByName.values()).forEach(t=>t.resetStickyChanged())}_getAllRenderRows(){const t=[],e=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let n=0;n<this._data.length;n++){let i=this._data[n];const a=this._getRenderRowsForData(i,n,e.get(i));this._cachedRenderRowsMap.has(i)||this._cachedRenderRowsMap.set(i,new WeakMap);for(let e=0;e<a.length;e++){let n=a[e];const i=this._cachedRenderRowsMap.get(n.data);i.has(n.rowDef)?i.get(n.rowDef).push(n):i.set(n.rowDef,[n]),t.push(n)}}return t}_getRenderRowsForData(t,e,n){return this._getRowDefs(t,e).map(i=>{const a=n&&n.has(i)?n.get(i):[];if(a.length){const t=a.shift();return t.dataIndex=e,t}return{data:t,rowDef:i,dataIndex:e}})}_cacheColumnDefs(){this._columnDefsByName.clear(),Q(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(t=>{this._columnDefsByName.has(t.name),this._columnDefsByName.set(t.name,t)})}_cacheRowDefs(){this._headerRowDefs=Q(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=Q(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=Q(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);const t=this._rowDefs.filter(t=>!t.when);this._defaultRowDef=t[0]}_renderUpdatedColumns(){const t=(t,e)=>t||!!e.getColumnsDiff(),e=this._rowDefs.reduce(t,!1);e&&this._forceRenderDataRows();const n=this._headerRowDefs.reduce(t,!1);n&&this._forceRenderHeaderRows();const i=this._footerRowDefs.reduce(t,!1);return i&&this._forceRenderFooterRows(),e||n||i}_switchDataSource(t){this._data=[],Object(a.h)(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),t||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear()),this._dataSource=t}_observeRenderChanges(){if(!this.dataSource)return;let t;Object(a.h)(this.dataSource)?t=this.dataSource.connect(this):Object(m.a)(this.dataSource)?t=this.dataSource:Array.isArray(this.dataSource)&&(t=Object(p.a)(this.dataSource)),this._renderChangeSubscription=t.pipe(Object(f.a)(this._onDestroy)).subscribe(t=>{this._data=t||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((t,e)=>this._renderRow(this._headerRowOutlet,t,e)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((t,e)=>this._renderRow(this._footerRowOutlet,t,e)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(t,e){const n=Array.from(e.columns||[]).map(t=>this._columnDefsByName.get(t)),i=n.map(t=>t.sticky),a=n.map(t=>t.stickyEnd);this._stickyStyler.updateStickyColumns(t,i,a,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(t){const e=[];for(let n=0;n<t.viewContainer.length;n++){const i=t.viewContainer.get(n);e.push(i.rootNodes[0])}return e}_getRowDefs(t,e){if(1==this._rowDefs.length)return[this._rowDefs[0]];let n=[];if(this.multiTemplateDataRows)n=this._rowDefs.filter(n=>!n.when||n.when(e,t));else{let i=this._rowDefs.find(n=>n.when&&n.when(e,t))||this._defaultRowDef;i&&n.push(i)}return n}_getEmbeddedViewArgs(t,e){return{templateRef:t.rowDef.template,context:{$implicit:t.data},index:e}}_renderRow(t,e,n,i={}){const a=t.viewContainer.createEmbeddedView(e.template,i,n);return this._renderCellTemplateForItem(e,i),a}_renderCellTemplateForItem(t,e){for(let n of this._getCellTemplates(t))z.mostRecentCellOutlet&&z.mostRecentCellOutlet._viewContainer.createEmbeddedView(n,e);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){const t=this._rowOutlet.viewContainer;for(let e=0,n=t.length;e<n;e++){const i=t.get(e).context;i.count=n,i.first=0===e,i.last=e===n-1,i.even=e%2==0,i.odd=!i.even,this.multiTemplateDataRows?(i.dataIndex=this._renderRows[e].dataIndex,i.renderIndex=e):i.index=this._renderRows[e].dataIndex}}_getCellTemplates(t){return t&&t.columns?Array.from(t.columns,e=>{const n=this._columnDefsByName.get(e);return t.extractCellTemplate(n)}):[]}_applyNativeTableSections(){const t=this._document.createDocumentFragment(),e=[{tag:"thead",outlets:[this._headerRowOutlet]},{tag:"tbody",outlets:[this._rowOutlet,this._noDataRowOutlet]},{tag:"tfoot",outlets:[this._footerRowOutlet]}];for(const n of e){const e=this._document.createElement(n.tag);e.setAttribute("role","rowgroup");for(const t of n.outlets)e.appendChild(t.elementRef.nativeElement);t.appendChild(e)}this._elementRef.nativeElement.appendChild(t)}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){const t=(t,e)=>t||e.hasStickyChanged();this._headerRowDefs.reduce(t,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(t,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(t,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){this._stickyStyler=new q(this._isNativeHtmlTable,this.stickyCssClass,this._dir?this._dir.value:"ltr",this._coalescedStyleScheduler,this._platform.isBrowser,this.needsPositionStickyOnElement,this._stickyPositioningListener),(this._dir?this._dir.change:Object(p.a)()).pipe(Object(f.a)(this._onDestroy)).subscribe(t=>{this._stickyStyler.direction=t,this.updateStickyColumnStyles()})}_getOwnDefs(t){return t.filter(t=>!t._table||t._table===this)}_updateNoDataRow(){const t=this._customNoDataRow||this._noDataRow;if(t){const e=0===this._rowOutlet.viewContainer.length;if(e!==this._isShowingNoDataRow){const n=this._noDataRowOutlet.viewContainer;e?n.createEmbeddedView(t.templateRef):n.clear(),this._isShowingNoDataRow=e}}}}return t.\u0275fac=function(e){return new(e||t)(r.Nb(r.u),r.Nb(r.h),r.Nb(r.l),r.Yb("role"),r.Nb(o.b,8),r.Nb(c.d),r.Nb(s.a),r.Nb(a.g,8),r.Nb(D,8),r.Nb(G,12),r.Nb(l.e,8))},t.\u0275cmp=r.Hb({type:t,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(t,e,n){if(1&t&&(r.Gb(n,W,1),r.Gb(n,k,1),r.Gb(n,F,1),r.Gb(n,N,1),r.Gb(n,j,1)),2&t){let t;r.uc(t=r.cc())&&(e._noDataRow=t.first),r.uc(t=r.cc())&&(e._contentColumnDefs=t),r.uc(t=r.cc())&&(e._contentRowDefs=t),r.uc(t=r.cc())&&(e._contentHeaderRowDefs=t),r.uc(t=r.cc())&&(e._contentFooterRowDefs=t)}},viewQuery:function(t,e){if(1&t&&(r.Lc(J,3),r.Lc(Z,3),r.Lc($,3),r.Lc(X,3)),2&t){let t;r.uc(t=r.cc())&&(e._rowOutlet=t.first),r.uc(t=r.cc())&&(e._headerRowOutlet=t.first),r.uc(t=r.cc())&&(e._footerRowOutlet=t.first),r.uc(t=r.cc())&&(e._noDataRowOutlet=t.first)}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(t,e){2&t&&r.Fb("cdk-table-fixed-layout",e.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:"multiTemplateDataRows",fixedLayout:"fixedLayout"},exportAs:["cdkTable"],features:[r.Bb([{provide:v,useExisting:t},{provide:a.g,useClass:a.e},{provide:D,useClass:E},{provide:G,useValue:null}])],ngContentSelectors:_,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(t,e){1&t&&(r.mc(b),r.lc(0),r.lc(1,1),r.Pb(2,0),r.Pb(3,1),r.Pb(4,2),r.Pb(5,3))},directives:[Z,J,X,$],styles:[".cdk-table-fixed-layout{table-layout:fixed}\n"],encapsulation:2}),t})();function Q(t,e){return t.concat(Array.from(e))}let tt=(()=>{class t{}return t.\u0275mod=r.Lb({type:t}),t.\u0275inj=r.Kb({factory:function(e){return new(e||t)},imports:[[l.d]]}),t})();var et=n("UhP/"),nt=n("VRyK"),it=n("itXk"),at=n("lJxs");const rt=[[["caption"]],[["colgroup"],["col"]]],ot=["caption","colgroup, col"];let st=(()=>{class t extends K{constructor(){super(...arguments),this.stickyCssClass="mat-table-sticky",this.needsPositionStickyOnElement=!1}}return t.\u0275fac=function(e){return lt(e||t)},t.\u0275cmp=r.Hb({type:t,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-table"],hostVars:2,hostBindings:function(t,e){2&t&&r.Fb("mat-table-fixed-layout",e.fixedLayout)},exportAs:["matTable"],features:[r.Bb([{provide:a.g,useClass:a.e},{provide:K,useExisting:t},{provide:v,useExisting:t},{provide:D,useClass:E}]),r.zb],ngContentSelectors:ot,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(t,e){1&t&&(r.mc(rt),r.lc(0),r.lc(1,1),r.Pb(2,0),r.Pb(3,1),r.Pb(4,2),r.Pb(5,3))},directives:[Z,J,X,$],styles:['mat-table{display:block}mat-header-row{min-height:56px}mat-row,mat-footer-row{min-height:48px}mat-row,mat-header-row,mat-footer-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-row::after,mat-header-row::after,mat-footer-row::after{display:inline-block;min-height:inherit;content:""}mat-cell:first-of-type,mat-header-cell:first-of-type,mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-header-cell:last-of-type,mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}mat-cell,mat-header-cell,mat-footer-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}table.mat-table{border-spacing:0}tr.mat-header-row{height:56px}tr.mat-row,tr.mat-footer-row{height:48px}th.mat-header-cell{text-align:left}[dir=rtl] th.mat-header-cell{text-align:right}th.mat-header-cell,td.mat-cell,td.mat-footer-cell{padding:0;border-bottom-width:1px;border-bottom-style:solid}th.mat-header-cell:first-of-type,td.mat-cell:first-of-type,td.mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] th.mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] td.mat-cell:first-of-type:not(:only-of-type),[dir=rtl] td.mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}th.mat-header-cell:last-of-type,td.mat-cell:last-of-type,td.mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] th.mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] td.mat-cell:last-of-type:not(:only-of-type),[dir=rtl] td.mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}.mat-table-sticky{position:-webkit-sticky !important;position:sticky !important}.mat-table-fixed-layout{table-layout:fixed}\n'],encapsulation:2}),t})();const lt=r.Vb(st);let ct=(()=>{class t extends C{}return t.\u0275fac=function(e){return dt(e||t)},t.\u0275dir=r.Ib({type:t,selectors:[["","matCellDef",""]],features:[r.Bb([{provide:C,useExisting:t}]),r.zb]}),t})();const dt=r.Vb(ct);let ut=(()=>{class t extends w{}return t.\u0275fac=function(e){return ht(e||t)},t.\u0275dir=r.Ib({type:t,selectors:[["","matHeaderCellDef",""]],features:[r.Bb([{provide:w,useExisting:t}]),r.zb]}),t})();const ht=r.Vb(ut);let mt=(()=>{class t extends k{get name(){return this._name}set name(t){this._setNameInput(t)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}}return t.\u0275fac=function(e){return pt(e||t)},t.\u0275dir=r.Ib({type:t,selectors:[["","matColumnDef",""]],inputs:{sticky:"sticky",name:["matColumnDef","name"]},features:[r.Bb([{provide:k,useExisting:t},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:t}]),r.zb]}),t})();const pt=r.Vb(mt);let ft=(()=>{class t extends T{}return t.\u0275fac=function(e){return gt(e||t)},t.\u0275dir=r.Ib({type:t,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-header-cell"],features:[r.zb]}),t})();const gt=r.Vb(ft);let bt=(()=>{class t extends P{}return t.\u0275fac=function(e){return _t(e||t)},t.\u0275dir=r.Ib({type:t,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:["role","gridcell",1,"mat-cell"],features:[r.zb]}),t})();const _t=r.Vb(bt);let yt=(()=>{class t extends N{}return t.\u0275fac=function(e){return vt(e||t)},t.\u0275dir=r.Ib({type:t,selectors:[["","matHeaderRowDef",""]],inputs:{columns:["matHeaderRowDef","columns"],sticky:["matHeaderRowDefSticky","sticky"]},features:[r.Bb([{provide:N,useExisting:t}]),r.zb]}),t})();const vt=r.Vb(yt);let Ct=(()=>{class t extends F{}return t.\u0275fac=function(e){return wt(e||t)},t.\u0275dir=r.Ib({type:t,selectors:[["","matRowDef",""]],inputs:{columns:["matRowDefColumns","columns"],when:["matRowDefWhen","when"]},features:[r.Bb([{provide:F,useExisting:t}]),r.zb]}),t})();const wt=r.Vb(Ct);let xt=(()=>{class t extends V{}return t.\u0275fac=function(e){return Mt(e||t)},t.\u0275cmp=r.Hb({type:t,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-header-row"],exportAs:["matHeaderRow"],features:[r.Bb([{provide:V,useExisting:t}]),r.zb],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,e){1&t&&r.Pb(0,0)},directives:[z],encapsulation:2}),t})();const Mt=r.Vb(xt);let Ot=(()=>{class t extends B{}return t.\u0275fac=function(e){return kt(e||t)},t.\u0275cmp=r.Hb({type:t,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-row"],exportAs:["matRow"],features:[r.Bb([{provide:B,useExisting:t}]),r.zb],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,e){1&t&&r.Pb(0,0)},directives:[z],encapsulation:2}),t})();const kt=r.Vb(Ot);let St=(()=>{class t{}return t.\u0275mod=r.Lb({type:t}),t.\u0275inj=r.Kb({factory:function(e){return new(e||t)},imports:[[tt,et.j],et.j]}),t})();class Tt extends a.b{constructor(t=[]){super(),this._renderData=new h.a([]),this._filter=new h.a(""),this._internalPageChanges=new d.a,this._renderChangesSubscription=null,this.sortingDataAccessor=(t,e)=>{const n=t[e];if(Object(i.a)(n)){const t=Number(n);return t<9007199254740991?t:n}return n},this.sortData=(t,e)=>{const n=e.active,i=e.direction;return n&&""!=i?t.sort((t,e)=>{let a=this.sortingDataAccessor(t,n),r=this.sortingDataAccessor(e,n);const o=typeof a,s=typeof r;o!==s&&("number"===o&&(a+=""),"number"===s&&(r+=""));let l=0;return null!=a&&null!=r?a>r?l=1:a<r&&(l=-1):null!=a?l=1:null!=r&&(l=-1),l*("asc"==i?1:-1)}):t},this.filterPredicate=(t,e)=>{const n=Object.keys(t).reduce((e,n)=>e+t[n]+"\u25ec","").toLowerCase(),i=e.trim().toLowerCase();return-1!=n.indexOf(i)},this._data=new h.a(t),this._updateChangeSubscription()}get data(){return this._data.value}set data(t){this._data.next(t)}get filter(){return this._filter.value}set filter(t){this._filter.next(t)}get sort(){return this._sort}set sort(t){this._sort=t,this._updateChangeSubscription()}get paginator(){return this._paginator}set paginator(t){this._paginator=t,this._updateChangeSubscription()}_updateChangeSubscription(){var t;const e=this._sort?Object(nt.a)(this._sort.sortChange,this._sort.initialized):Object(p.a)(null),n=this._paginator?Object(nt.a)(this._paginator.page,this._internalPageChanges,this._paginator.initialized):Object(p.a)(null),i=this._data,a=Object(it.a)([i,this._filter]).pipe(Object(at.a)(([t])=>this._filterData(t))),r=Object(it.a)([a,e]).pipe(Object(at.a)(([t])=>this._orderData(t))),o=Object(it.a)([r,n]).pipe(Object(at.a)(([t])=>this._pageData(t)));null===(t=this._renderChangesSubscription)||void 0===t||t.unsubscribe(),this._renderChangesSubscription=o.subscribe(t=>this._renderData.next(t))}_filterData(t){return this.filteredData=null==this.filter||""===this.filter?t:t.filter(t=>this.filterPredicate(t,this.filter)),this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData}_orderData(t){return this.sort?this.sortData(t.slice(),this.sort):t}_pageData(t){if(!this.paginator)return t;const e=this.paginator.pageIndex*this.paginator.pageSize;return t.slice(e,e+this.paginator.pageSize)}_updatePaginator(t){Promise.resolve().then(()=>{const e=this.paginator;if(e&&(e.length=t,e.pageIndex>0)){const t=Math.ceil(e.length/e.pageSize)-1||0,n=Math.min(e.pageIndex,t);n!==e.pageIndex&&(e.pageIndex=n,this._internalPageChanges.next())}})}connect(){return this._renderChangesSubscription||this._updateChangeSubscription(),this._renderData}disconnect(){var t;null===(t=this._renderChangesSubscription)||void 0===t||t.unsubscribe(),this._renderChangesSubscription=null}}class Pt extends Tt{}},Oaa7:function(t,e,n){!function(t){"use strict";t.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})}(n("wd/R"))},Ob0Z:function(t,e,n){!function(t){"use strict";var e={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},n={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};function i(t,e,n,i){var a="";if(e)switch(n){case"s":a="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926";break;case"ss":a="%d \u0938\u0947\u0915\u0902\u0926";break;case"m":a="\u090f\u0915 \u092e\u093f\u0928\u093f\u091f";break;case"mm":a="%d \u092e\u093f\u0928\u093f\u091f\u0947";break;case"h":a="\u090f\u0915 \u0924\u093e\u0938";break;case"hh":a="%d \u0924\u093e\u0938";break;case"d":a="\u090f\u0915 \u0926\u093f\u0935\u0938";break;case"dd":a="%d \u0926\u093f\u0935\u0938";break;case"M":a="\u090f\u0915 \u092e\u0939\u093f\u0928\u093e";break;case"MM":a="%d \u092e\u0939\u093f\u0928\u0947";break;case"y":a="\u090f\u0915 \u0935\u0930\u094d\u0937";break;case"yy":a="%d \u0935\u0930\u094d\u0937\u0947"}else switch(n){case"s":a="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"ss":a="%d \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"m":a="\u090f\u0915\u093e \u092e\u093f\u0928\u093f\u091f\u093e";break;case"mm":a="%d \u092e\u093f\u0928\u093f\u091f\u093e\u0902";break;case"h":a="\u090f\u0915\u093e \u0924\u093e\u0938\u093e";break;case"hh":a="%d \u0924\u093e\u0938\u093e\u0902";break;case"d":a="\u090f\u0915\u093e \u0926\u093f\u0935\u0938\u093e";break;case"dd":a="%d \u0926\u093f\u0935\u0938\u093e\u0902";break;case"M":a="\u090f\u0915\u093e \u092e\u0939\u093f\u0928\u094d\u092f\u093e";break;case"MM":a="%d \u092e\u0939\u093f\u0928\u094d\u092f\u093e\u0902";break;case"y":a="\u090f\u0915\u093e \u0935\u0930\u094d\u0937\u093e";break;case"yy":a="%d \u0935\u0930\u094d\u0937\u093e\u0902"}return a.replace(/%d/i,t)}t.defineLocale("mr",{months:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u093f\u0932_\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932\u0948_\u0911\u0917\u0938\u094d\u091f_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930_\u0911\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930_\u0921\u093f\u0938\u0947\u0902\u092c\u0930".split("_"),monthsShort:"\u091c\u093e\u0928\u0947._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a._\u090f\u092a\u094d\u0930\u093f._\u092e\u0947._\u091c\u0942\u0928._\u091c\u0941\u0932\u0948._\u0911\u0917._\u0938\u092a\u094d\u091f\u0947\u0902._\u0911\u0915\u094d\u091f\u094b._\u0928\u094b\u0935\u094d\u0939\u0947\u0902._\u0921\u093f\u0938\u0947\u0902.".split("_"),monthsParseExact:!0,weekdays:"\u0930\u0935\u093f\u0935\u093e\u0930_\u0938\u094b\u092e\u0935\u093e\u0930_\u092e\u0902\u0917\u0933\u0935\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u0917\u0941\u0930\u0942\u0935\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u0935\u093e\u0930_\u0936\u0928\u093f\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0930\u0935\u093f_\u0938\u094b\u092e_\u092e\u0902\u0917\u0933_\u092c\u0941\u0927_\u0917\u0941\u0930\u0942_\u0936\u0941\u0915\u094d\u0930_\u0936\u0928\u093f".split("_"),weekdaysMin:"\u0930_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u0917\u0941_\u0936\u0941_\u0936".split("_"),longDateFormat:{LT:"A h:mm \u0935\u093e\u091c\u0924\u093e",LTS:"A h:mm:ss \u0935\u093e\u091c\u0924\u093e",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0935\u093e\u091c\u0924\u093e",LLLL:"dddd, D MMMM YYYY, A h:mm \u0935\u093e\u091c\u0924\u093e"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u0909\u0926\u094d\u092f\u093e] LT",nextWeek:"dddd, LT",lastDay:"[\u0915\u093e\u0932] LT",lastWeek:"[\u092e\u093e\u0917\u0940\u0932] dddd, LT",sameElse:"L"},relativeTime:{future:"%s\u092e\u0927\u094d\u092f\u0947",past:"%s\u092a\u0942\u0930\u094d\u0935\u0940",s:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},preparse:function(t){return t.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(t){return n[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},meridiemParse:/\u092a\u0939\u093e\u091f\u0947|\u0938\u0915\u093e\u0933\u0940|\u0926\u0941\u092a\u093e\u0930\u0940|\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940|\u0930\u093e\u0924\u094d\u0930\u0940/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u092a\u0939\u093e\u091f\u0947"===e||"\u0938\u0915\u093e\u0933\u0940"===e?t:"\u0926\u0941\u092a\u093e\u0930\u0940"===e||"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940"===e||"\u0930\u093e\u0924\u094d\u0930\u0940"===e?t>=12?t:t+12:void 0},meridiem:function(t,e,n){return t>=0&&t<6?"\u092a\u0939\u093e\u091f\u0947":t<12?"\u0938\u0915\u093e\u0933\u0940":t<17?"\u0926\u0941\u092a\u093e\u0930\u0940":t<20?"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940":"\u0930\u093e\u0924\u094d\u0930\u0940"},week:{dow:0,doy:6}})}(n("wd/R"))},OdmS:function(t,e,n){"use strict";n.d(e,"a",function(){return O});var i=n("8Y7J"),a=n("s7LF"),r=n("cYWD"),o=n("TSSN"),s=n("AkaL"),l=n("IheW");let c=(()=>{class t extends s.a{constructor(t){super(t),this.http=t,this.BASE_URL="/api/clients/search"}setLabel(t){t.autocomplete=`${t.numTVA} - ${t.raisonSociale?t.raisonSociale:""}`}}return t.\u0275fac=function(e){return new(e||t)(i.Xb(l.b))},t.\u0275prov=i.Jb({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();var d=n("WiJD"),u=n("zaPX"),h=n("Q2Ze"),m=n("SVse"),p=n("e6WT"),f=n("vrAh"),g=n("q6Qu"),b=n("UhP/"),_=n("pu8Q");function y(t,e){if(1&t&&(i.Tb(0,"span",8),i.Hc(1),i.Sb()),2&t){const t=i.fc();i.Cc("opacity",t.searchControl.disabled?.7:1),i.Cb(1),i.Ic(t.prefix)}}function v(t,e){1&t&&(i.Tb(0,"mat-option",9),i.Ob(1,"mat-spinner",10),i.Sb())}function C(t,e){if(1&t&&(i.Tb(0,"mat-option",12),i.Hc(1),i.Sb()),2&t){const t=e.$implicit;i.nc("value",t),i.Cb(1),i.Jc(" ",t.autocomplete," ")}}function w(t,e){if(1&t&&i.Fc(0,C,2,2,"mat-option",11),2&t){const t=i.fc();i.nc("ngForOf",t.searchResult)}}const x=[[["mat-error"]],[["mat-icon"]],[["mat-spinner"]],"*"],M=["mat-error","mat-icon","mat-spinner","*"];let O=(()=>{class t extends r.a{constructor(t,e,n,i,a){super(t,e,n,i,a),this.translateService=t,this.searchService=e,this.configurationService=n,this.configSharedService=i,this.changeDetectorRef=a,this.fieldValue="numTVA"}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(o.d),i.Nb(c),i.Nb(d.a),i.Nb(u.a),i.Nb(i.h))},t.\u0275cmp=i.Hb({type:t,selectors:[["app-client-autocomplete-2"]],features:[i.Bb([{provide:a.m,useExisting:Object(i.V)(()=>t),multi:!0}]),i.zb],ngContentSelectors:M,decls:15,vars:11,consts:[["matPrefix","","class","prefix",3,"opacity",4,"ngIf"],["type","text","matInput","","data-cy","autocomplete",3,"name","appLabel","formControl","matAutocomplete","matAutocompleteDisabled","errorStateMatcher","required","blur"],["searchElt",""],[1,"mat-error","otherMessages"],[3,"displayWith","optionSelected"],["auto","matAutocomplete"],["class","spinner",4,"ngIf","ngIfElse"],["listOptions",""],["matPrefix","",1,"prefix"],[1,"spinner"],["diameter","50"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(t,e){if(1&t&&(i.mc(x),i.Tb(0,"mat-form-field"),i.Fc(1,y,2,3,"span",0),i.Tb(2,"input",1,2),i.bc("blur",function(){return e.onBlur()}),i.Sb(),i.Tb(4,"mat-error"),i.lc(5),i.Sb(),i.lc(6,1),i.lc(7,2),i.Sb(),i.Tb(8,"div",3),i.lc(9,3),i.Sb(),i.Tb(10,"mat-autocomplete",4,5),i.bc("optionSelected",function(t){return e.selectOption(t)}),i.Fc(12,v,2,0,"mat-option",6),i.Fc(13,w,1,1,"ng-template",null,7,i.Gc),i.Sb()),2&t){const t=i.vc(11),n=i.vc(14);i.Cb(1),i.nc("ngIf",e.prefix),i.Cb(1),i.nc("name",e.name)("appLabel",e.inputTitle)("formControl",e.searchControl)("matAutocomplete",t)("matAutocompleteDisabled",e.isAutocompleteDisabled)("errorStateMatcher",e.errorStateMatcher)("required",e.isRequired),i.Cb(8),i.nc("displayWith",e.displayFn),i.Cb(2),i.nc("ngIf",e.isLoading)("ngIfElse",n)}},directives:[h.c,m.l,p.b,a.c,f.c,g.a,a.o,a.f,a.v,h.b,f.a,h.g,b.m,_.b,m.k],styles:["[_nghost-%COMP%]{-ms-flex:1;flex:1}[_nghost-%COMP%] mat-form-field[_ngcontent-%COMP%]{width:100%}[_nghost-%COMP%] .otherMessages[_ngcontent-%COMP%]{font-size:75%}[_nghost-%COMP%] .prefix[_ngcontent-%COMP%]{-ms-flex-item-align:center;align-self:center;margin-right:8px}"]}),t})()},OjkT:function(t,e,n){!function(t){"use strict";var e={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},n={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};t.defineLocale("ne",{months:"\u091c\u0928\u0935\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u093f\u0932_\u092e\u0908_\u091c\u0941\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0937\u094d\u091f_\u0938\u0947\u092a\u094d\u091f\u0947\u092e\u094d\u092c\u0930_\u0905\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u092d\u0947\u092e\u094d\u092c\u0930_\u0921\u093f\u0938\u0947\u092e\u094d\u092c\u0930".split("_"),monthsShort:"\u091c\u0928._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u093f._\u092e\u0908_\u091c\u0941\u0928_\u091c\u0941\u0932\u093e\u0908._\u0905\u0917._\u0938\u0947\u092a\u094d\u091f._\u0905\u0915\u094d\u091f\u094b._\u0928\u094b\u092d\u0947._\u0921\u093f\u0938\u0947.".split("_"),monthsParseExact:!0,weekdays:"\u0906\u0907\u0924\u092c\u093e\u0930_\u0938\u094b\u092e\u092c\u093e\u0930_\u092e\u0919\u094d\u0917\u0932\u092c\u093e\u0930_\u092c\u0941\u0927\u092c\u093e\u0930_\u092c\u093f\u0939\u093f\u092c\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u092c\u093e\u0930_\u0936\u0928\u093f\u092c\u093e\u0930".split("_"),weekdaysShort:"\u0906\u0907\u0924._\u0938\u094b\u092e._\u092e\u0919\u094d\u0917\u0932._\u092c\u0941\u0927._\u092c\u093f\u0939\u093f._\u0936\u0941\u0915\u094d\u0930._\u0936\u0928\u093f.".split("_"),weekdaysMin:"\u0906._\u0938\u094b._\u092e\u0902._\u092c\u0941._\u092c\u093f._\u0936\u0941._\u0936.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A\u0915\u094b h:mm \u092c\u091c\u0947",LTS:"A\u0915\u094b h:mm:ss \u092c\u091c\u0947",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A\u0915\u094b h:mm \u092c\u091c\u0947",LLLL:"dddd, D MMMM YYYY, A\u0915\u094b h:mm \u092c\u091c\u0947"},preparse:function(t){return t.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(t){return n[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},meridiemParse:/\u0930\u093e\u0924\u093f|\u092c\u093f\u0939\u093e\u0928|\u0926\u093f\u0909\u0901\u0938\u094b|\u0938\u093e\u0901\u091d/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u0930\u093e\u0924\u093f"===e?t<4?t:t+12:"\u092c\u093f\u0939\u093e\u0928"===e?t:"\u0926\u093f\u0909\u0901\u0938\u094b"===e?t>=10?t:t+12:"\u0938\u093e\u0901\u091d"===e?t+12:void 0},meridiem:function(t,e,n){return t<3?"\u0930\u093e\u0924\u093f":t<12?"\u092c\u093f\u0939\u093e\u0928":t<16?"\u0926\u093f\u0909\u0901\u0938\u094b":t<20?"\u0938\u093e\u0901\u091d":"\u0930\u093e\u0924\u093f"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u092d\u094b\u0932\u093f] LT",nextWeek:"[\u0906\u0909\u0901\u0926\u094b] dddd[,] LT",lastDay:"[\u0939\u093f\u091c\u094b] LT",lastWeek:"[\u0917\u090f\u0915\u094b] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s\u092e\u093e",past:"%s \u0905\u0917\u093e\u0921\u093f",s:"\u0915\u0947\u0939\u0940 \u0915\u094d\u0937\u0923",ss:"%d \u0938\u0947\u0915\u0947\u0923\u094d\u0921",m:"\u090f\u0915 \u092e\u093f\u0928\u0947\u091f",mm:"%d \u092e\u093f\u0928\u0947\u091f",h:"\u090f\u0915 \u0918\u0923\u094d\u091f\u093e",hh:"%d \u0918\u0923\u094d\u091f\u093e",d:"\u090f\u0915 \u0926\u093f\u0928",dd:"%d \u0926\u093f\u0928",M:"\u090f\u0915 \u092e\u0939\u093f\u0928\u093e",MM:"%d \u092e\u0939\u093f\u0928\u093e",y:"\u090f\u0915 \u092c\u0930\u094d\u0937",yy:"%d \u092c\u0930\u094d\u0937"},week:{dow:0,doy:6}})}(n("wd/R"))},OmwH:function(t,e,n){!function(t){"use strict";t.defineLocale("zh-mo",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"D/M/YYYY",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u51cc\u6668"===e||"\u65e9\u4e0a"===e||"\u4e0a\u5348"===e?t:"\u4e2d\u5348"===e?t>=11?t:t+12:"\u4e0b\u5348"===e||"\u665a\u4e0a"===e?t+12:void 0},meridiem:function(t,e,n){var i=100*t+e;return i<600?"\u51cc\u6668":i<900?"\u65e9\u4e0a":i<1130?"\u4e0a\u5348":i<1230?"\u4e2d\u5348":i<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929] LT",nextDay:"[\u660e\u5929] LT",nextWeek:"[\u4e0b]dddd LT",lastDay:"[\u6628\u5929] LT",lastWeek:"[\u4e0a]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"\u65e5";case"M":return t+"\u6708";case"w":case"W":return t+"\u9031";default:return t}},relativeTime:{future:"%s\u5167",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(n("wd/R"))},Oxv6:function(t,e,n){!function(t){"use strict";var e={0:"-\u0443\u043c",1:"-\u0443\u043c",2:"-\u044e\u043c",3:"-\u044e\u043c",4:"-\u0443\u043c",5:"-\u0443\u043c",6:"-\u0443\u043c",7:"-\u0443\u043c",8:"-\u0443\u043c",9:"-\u0443\u043c",10:"-\u0443\u043c",12:"-\u0443\u043c",13:"-\u0443\u043c",20:"-\u0443\u043c",30:"-\u044e\u043c",40:"-\u0443\u043c",50:"-\u0443\u043c",60:"-\u0443\u043c",70:"-\u0443\u043c",80:"-\u0443\u043c",90:"-\u0443\u043c",100:"-\u0443\u043c"};t.defineLocale("tg",{months:{format:"\u044f\u043d\u0432\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0430\u043b\u0438_\u043c\u0430\u0440\u0442\u0438_\u0430\u043f\u0440\u0435\u043b\u0438_\u043c\u0430\u0439\u0438_\u0438\u044e\u043d\u0438_\u0438\u044e\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442\u0438_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u0438_\u043e\u043a\u0442\u044f\u0431\u0440\u0438_\u043d\u043e\u044f\u0431\u0440\u0438_\u0434\u0435\u043a\u0430\u0431\u0440\u0438".split("_"),standalone:"\u044f\u043d\u0432\u0430\u0440_\u0444\u0435\u0432\u0440\u0430\u043b_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440_\u043e\u043a\u0442\u044f\u0431\u0440_\u043d\u043e\u044f\u0431\u0440_\u0434\u0435\u043a\u0430\u0431\u0440".split("_")},monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u044f\u043a\u0448\u0430\u043d\u0431\u0435_\u0434\u0443\u0448\u0430\u043d\u0431\u0435_\u0441\u0435\u0448\u0430\u043d\u0431\u0435_\u0447\u043e\u0440\u0448\u0430\u043d\u0431\u0435_\u043f\u0430\u043d\u04b7\u0448\u0430\u043d\u0431\u0435_\u04b7\u0443\u043c\u044a\u0430_\u0448\u0430\u043d\u0431\u0435".split("_"),weekdaysShort:"\u044f\u0448\u0431_\u0434\u0448\u0431_\u0441\u0448\u0431_\u0447\u0448\u0431_\u043f\u0448\u0431_\u04b7\u0443\u043c_\u0448\u043d\u0431".split("_"),weekdaysMin:"\u044f\u0448_\u0434\u0448_\u0441\u0448_\u0447\u0448_\u043f\u0448_\u04b7\u043c_\u0448\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0418\u043c\u0440\u04ef\u0437 \u0441\u043e\u0430\u0442\u0438] LT",nextDay:"[\u0424\u0430\u0440\u0434\u043e \u0441\u043e\u0430\u0442\u0438] LT",lastDay:"[\u0414\u0438\u0440\u04ef\u0437 \u0441\u043e\u0430\u0442\u0438] LT",nextWeek:"dddd[\u0438] [\u04b3\u0430\u0444\u0442\u0430\u0438 \u043e\u044f\u043d\u0434\u0430 \u0441\u043e\u0430\u0442\u0438] LT",lastWeek:"dddd[\u0438] [\u04b3\u0430\u0444\u0442\u0430\u0438 \u0433\u0443\u0437\u0430\u0448\u0442\u0430 \u0441\u043e\u0430\u0442\u0438] LT",sameElse:"L"},relativeTime:{future:"\u0431\u0430\u044a\u0434\u0438 %s",past:"%s \u043f\u0435\u0448",s:"\u044f\u043a\u0447\u0430\u043d\u0434 \u0441\u043e\u043d\u0438\u044f",m:"\u044f\u043a \u0434\u0430\u049b\u0438\u049b\u0430",mm:"%d \u0434\u0430\u049b\u0438\u049b\u0430",h:"\u044f\u043a \u0441\u043e\u0430\u0442",hh:"%d \u0441\u043e\u0430\u0442",d:"\u044f\u043a \u0440\u04ef\u0437",dd:"%d \u0440\u04ef\u0437",M:"\u044f\u043a \u043c\u043e\u04b3",MM:"%d \u043c\u043e\u04b3",y:"\u044f\u043a \u0441\u043e\u043b",yy:"%d \u0441\u043e\u043b"},meridiemParse:/\u0448\u0430\u0431|\u0441\u0443\u0431\u04b3|\u0440\u04ef\u0437|\u0431\u0435\u0433\u043e\u04b3/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u0448\u0430\u0431"===e?t<4?t:t+12:"\u0441\u0443\u0431\u04b3"===e?t:"\u0440\u04ef\u0437"===e?t>=11?t:t+12:"\u0431\u0435\u0433\u043e\u04b3"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"\u0448\u0430\u0431":t<11?"\u0441\u0443\u0431\u04b3":t<16?"\u0440\u04ef\u0437":t<19?"\u0431\u0435\u0433\u043e\u04b3":"\u0448\u0430\u0431"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0443\u043c|\u044e\u043c)/,ordinal:function(t){return t+(e[t]||e[t%10]||e[t>=100?100:null])},week:{dow:1,doy:7}})}(n("wd/R"))},PA2r:function(t,e,n){!function(t){"use strict";var e="leden_\xfanor_b\u0159ezen_duben_kv\u011bten_\u010derven_\u010dervenec_srpen_z\xe1\u0159\xed_\u0159\xedjen_listopad_prosinec".split("_"),n="led_\xfano_b\u0159e_dub_kv\u011b_\u010dvn_\u010dvc_srp_z\xe1\u0159_\u0159\xedj_lis_pro".split("_"),i=[/^led/i,/^\xfano/i,/^b\u0159e/i,/^dub/i,/^kv\u011b/i,/^(\u010dvn|\u010derven$|\u010dervna)/i,/^(\u010dvc|\u010dervenec|\u010dervence)/i,/^srp/i,/^z\xe1\u0159/i,/^\u0159\xedj/i,/^lis/i,/^pro/i],a=/^(leden|\xfanor|b\u0159ezen|duben|kv\u011bten|\u010dervenec|\u010dervence|\u010derven|\u010dervna|srpen|z\xe1\u0159\xed|\u0159\xedjen|listopad|prosinec|led|\xfano|b\u0159e|dub|kv\u011b|\u010dvn|\u010dvc|srp|z\xe1\u0159|\u0159\xedj|lis|pro)/i;function r(t){return t>1&&t<5&&1!=~~(t/10)}function o(t,e,n,i){var a=t+" ";switch(n){case"s":return e||i?"p\xe1r sekund":"p\xe1r sekundami";case"ss":return e||i?a+(r(t)?"sekundy":"sekund"):a+"sekundami";case"m":return e?"minuta":i?"minutu":"minutou";case"mm":return e||i?a+(r(t)?"minuty":"minut"):a+"minutami";case"h":return e?"hodina":i?"hodinu":"hodinou";case"hh":return e||i?a+(r(t)?"hodiny":"hodin"):a+"hodinami";case"d":return e||i?"den":"dnem";case"dd":return e||i?a+(r(t)?"dny":"dn\xed"):a+"dny";case"M":return e||i?"m\u011bs\xedc":"m\u011bs\xedcem";case"MM":return e||i?a+(r(t)?"m\u011bs\xedce":"m\u011bs\xedc\u016f"):a+"m\u011bs\xedci";case"y":return e||i?"rok":"rokem";case"yy":return e||i?a+(r(t)?"roky":"let"):a+"lety"}}t.defineLocale("cs",{months:e,monthsShort:n,monthsRegex:a,monthsShortRegex:a,monthsStrictRegex:/^(leden|ledna|\xfanora|\xfanor|b\u0159ezen|b\u0159ezna|duben|dubna|kv\u011bten|kv\u011btna|\u010dervenec|\u010dervence|\u010derven|\u010dervna|srpen|srpna|z\xe1\u0159\xed|\u0159\xedjen|\u0159\xedjna|listopadu|listopad|prosinec|prosince)/i,monthsShortStrictRegex:/^(led|\xfano|b\u0159e|dub|kv\u011b|\u010dvn|\u010dvc|srp|z\xe1\u0159|\u0159\xedj|lis|pro)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"ned\u011ble_pond\u011bl\xed_\xfater\xfd_st\u0159eda_\u010dtvrtek_p\xe1tek_sobota".split("_"),weekdaysShort:"ne_po_\xfat_st_\u010dt_p\xe1_so".split("_"),weekdaysMin:"ne_po_\xfat_st_\u010dt_p\xe1_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[z\xedtra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v ned\u011bli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve st\u0159edu v] LT";case 4:return"[ve \u010dtvrtek v] LT";case 5:return"[v p\xe1tek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[v\u010dera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou ned\u011bli v] LT";case 1:case 2:return"[minul\xe9] dddd [v] LT";case 3:return"[minulou st\u0159edu v] LT";case 4:case 5:return"[minul\xfd] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"p\u0159ed %s",s:o,ss:o,m:o,mm:o,h:o,hh:o,d:o,dd:o,M:o,MM:o,y:o,yy:o},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},PCNd:function(t,e,n){"use strict";n.d(e,"a",function(){return G});var i=n("1O3W"),a=n("SVse"),r=n("IheW"),o=n("s7LF"),s=n("iInd"),l=n("vrAh"),c=n("Dxy4"),d=n("PDjf"),u=n("pMoy"),h=n("TN/R"),m=n("iELJ"),p=n("BSbQ"),f=n("o4Yh"),g=n("Q2Ze"),b=n("Tj54"),_=n("e6WT"),y=n("SqCe"),v=n("rJgo"),C=n("5QHs"),w=n("BTe0"),x=n("pu8Q"),M=n("zQhy"),O=n("ZTz/"),k=n("SCoL"),S=n("7KAL"),T=n("8Y7J"),P=n("UhP/");n("8LU1"),n("Ht+U"),n("XNiG"),n("xgIS"),n("VRyK"),n("pLZG"),n("lJxs"),n("CqXF"),n("1G5W"),n("/uUt"),n("IzEk"),n("JX91"),n("Kj3r"),n("GS7A"),n("omvX"),n("YEUz"),n("9gLZ");let L=(()=>{class t{}return t.\u0275mod=T.Lb({type:t}),t.\u0275inj=T.Kb({factory:function(e){return new(e||t)},imports:[[a.c,P.j,k.b,S.b],S.b,P.j]}),t})();var D=n("jMqV"),E=n("zHaW"),A=n("LUZP"),I=n("OaSA"),R=n("M9ds");let N=(()=>{class t{}return t.\u0275mod=T.Lb({type:t}),t.\u0275inj=T.Kb({factory:function(e){return new(e||t)},imports:[[P.j],P.j]}),t})();var Y=n("ZFy/"),H=n("OLiY"),j=n("DejY"),F=n("zR8O"),z=n("TSSN"),V=n("Lyw/"),B=n("cw5Z"),W=n("lawv"),U=n("wPIS");n("O8bH"),n("LRne"),n("IGtN"),n("bKjt"),n("q6Qu"),n("B6AI"),n("Dwoe"),n("7duk"),n("4dBv"),n("RQKg"),n("DGrs"),n("aF9I"),n("aZ8m"),n("3wrD"),n("NVUN"),n("VN+9"),n("mSn9"),n("mFvv"),n("06/9"),n("PTv7"),n("VIK+"),n("0/Se"),n("y5Tt"),n("uuBd"),n("mbGh"),n("Q9JA"),n("INw2"),n("48lP"),n("OdmS"),n("ro1A"),n("eNrK"),n("VS7r"),n("fEzz"),n("pSGz"),n("o1lE"),n("Z0nv"),n("0MyW"),n("VM/L"),n("VjMq"),n("UPR3"),n("kLGl"),n("7pfu"),n("g1kL"),n("G2sr"),n("2axB"),n("i+32"),n("Y7XA"),n("H3+n"),n("Mkv7"),n("PkhO"),n("0zE1"),n("/o2W"),n("f3LI"),n("Nd6I"),n("KSFr"),n("XoVe");const q=[l.b,c.b,d.c,u.b,h.c,m.e,p.b,f.b,b.b,_.c,v.c,Y.d,j.a,O.b,L,C.c,A.c,x.a,w.b,g.e,I.l,R.d,E.c,N,M.c,b.b,D.b,H.d,i.f,y.b];let G=(()=>{class t{}return t.\u0275mod=T.Lb({type:t}),t.\u0275inj=T.Kb({factory:function(e){return new(e||t)},providers:[a.e],imports:[[a.c,s.j,o.j,r.c,o.u,z.b,...q,U.c,W.b,B.b,F.c,V.d,V.b],a.c,s.j,o.j,r.c,o.u,z.b,l.b,c.b,d.c,u.b,h.c,m.e,p.b,f.b,b.b,_.c,v.c,Y.d,j.a,O.b,L,C.c,A.c,x.a,w.b,g.e,I.l,R.d,E.c,N,M.c,b.b,D.b,H.d,i.f,y.b,U.c,W.b,B.b,F.c,V.d,V.b]}),t})()},PDjf:function(t,e,n){"use strict";n.d(e,"a",function(){return d}),n.d(e,"b",function(){return l}),n.d(e,"c",function(){return u}),n.d(e,"d",function(){return c});var i=n("omvX"),a=n("UhP/"),r=n("8Y7J");const o=["*",[["mat-card-footer"]]],s=["*","mat-card-footer"];let l=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=r.Ib({type:t,selectors:[["mat-card-content"],["","mat-card-content",""],["","matCardContent",""]],hostAttrs:[1,"mat-card-content"]}),t})(),c=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=r.Ib({type:t,selectors:[["mat-card-title"],["","mat-card-title",""],["","matCardTitle",""]],hostAttrs:[1,"mat-card-title"]}),t})(),d=(()=>{class t{constructor(t){this._animationMode=t}}return t.\u0275fac=function(e){return new(e||t)(r.Nb(i.a,8))},t.\u0275cmp=r.Hb({type:t,selectors:[["mat-card"]],hostAttrs:[1,"mat-card","mat-focus-indicator"],hostVars:2,hostBindings:function(t,e){2&t&&r.Fb("_mat-animation-noopable","NoopAnimations"===e._animationMode)},exportAs:["matCard"],ngContentSelectors:s,decls:2,vars:0,template:function(t,e){1&t&&(r.mc(o),r.lc(0),r.lc(1,1))},styles:[".mat-card{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);display:block;position:relative;padding:16px;border-radius:4px}._mat-animation-noopable.mat-card{transition:none;animation:none}.mat-card .mat-divider-horizontal{position:absolute;left:0;width:100%}[dir=rtl] .mat-card .mat-divider-horizontal{left:auto;right:0}.mat-card .mat-divider-horizontal.mat-divider-inset{position:static;margin:0}[dir=rtl] .mat-card .mat-divider-horizontal.mat-divider-inset{margin-right:0}.cdk-high-contrast-active .mat-card{outline:solid 1px}.mat-card-actions,.mat-card-subtitle,.mat-card-content{display:block;margin-bottom:16px}.mat-card-title{display:block;margin-bottom:8px}.mat-card-actions{margin-left:-8px;margin-right:-8px;padding:8px 0}.mat-card-actions-align-end{display:flex;justify-content:flex-end}.mat-card-image{width:calc(100% + 32px);margin:0 -16px 16px -16px}.mat-card-footer{display:block;margin:0 -16px -16px -16px}.mat-card-actions .mat-button,.mat-card-actions .mat-raised-button,.mat-card-actions .mat-stroked-button{margin:0 8px}.mat-card-header{display:flex;flex-direction:row}.mat-card-header .mat-card-title{margin-bottom:12px}.mat-card-header-text{margin:0 16px}.mat-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;object-fit:cover}.mat-card-title-group{display:flex;justify-content:space-between}.mat-card-sm-image{width:80px;height:80px}.mat-card-md-image{width:112px;height:112px}.mat-card-lg-image{width:152px;height:152px}.mat-card-xl-image{width:240px;height:240px;margin:-8px}.mat-card-title-group>.mat-card-xl-image{margin:-8px 0 8px}@media(max-width: 599px){.mat-card-title-group{margin:0}.mat-card-xl-image{margin-left:0;margin-right:0}}.mat-card>:first-child,.mat-card-content>:first-child{margin-top:0}.mat-card>:last-child:not(.mat-card-footer),.mat-card-content>:last-child:not(.mat-card-footer){margin-bottom:0}.mat-card-image:first-child{margin-top:-16px;border-top-left-radius:inherit;border-top-right-radius:inherit}.mat-card>.mat-card-actions:last-child{margin-bottom:-8px;padding-bottom:0}.mat-card-actions .mat-button:first-child,.mat-card-actions .mat-raised-button:first-child,.mat-card-actions .mat-stroked-button:first-child{margin-left:0;margin-right:0}.mat-card-title:not(:first-child),.mat-card-subtitle:not(:first-child){margin-top:-4px}.mat-card-header .mat-card-subtitle:not(:first-child){margin-top:-8px}.mat-card>.mat-card-xl-image:first-child{margin-top:-8px}.mat-card>.mat-card-xl-image:last-child{margin-bottom:-8px}\n"],encapsulation:2,changeDetection:0}),t})(),u=(()=>{class t{}return t.\u0275mod=r.Lb({type:t}),t.\u0275inj=r.Kb({factory:function(e){return new(e||t)},imports:[[a.j],a.j]}),t})()},PTv7:function(t,e,n){"use strict";n.d(e,"a",function(){return m});var i=n("iELJ"),a=n("Lyw/"),r=n("IGtN"),o=n("8Y7J"),s=n("TSSN"),l=n("zaPX"),c=(n("Cwn8"),n("SVse")),d=n("Dxy4"),u=n("s7LF");function h(t,e){if(1&t){const t=o.Ub();o.Tb(0,"re-captcha",7,8),o.bc("ngModelChange",function(e){return o.yc(t),o.fc().captcha=e}),o.Sb()}if(2&t){const t=o.fc();o.nc("ngModel",t.captcha)("siteKey",t.siteKey)("required",!0)}}let m=(()=>{class t extends r.a{constructor(t,e,n,i,a,r,o){super(e),this.dialogRef=t,this.translateService=e,this.data=n,this.changeDetectorRef=i,this.loader=a,this.zone=r,this.configSharedService=o,this.loaderReady=!1,this.siteKey=this.configSharedService.siteKey}save(){this.dialogRef.close(!this.data.hasCaptcha||this.captcha)}close(){this.dialogRef.close(!1)}load(){this.data&&this.data.hasCaptcha&&this.subscriptions.push(this.loader.ready.subscribe(t=>{this.zone.run(()=>{this.loaderReady=!!t,this.changeDetectorRef.markForCheck()})}))}}return t.\u0275fac=function(e){return new(e||t)(o.Nb(i.f),o.Nb(s.d),o.Nb(i.a),o.Nb(o.h),o.Nb(a.c),o.Nb(o.B),o.Nb(l.a))},t.\u0275cmp=o.Hb({type:t,selectors:[["app-simple-dialog"]],features:[o.zb],decls:9,vars:6,consts:[["mat-dialog-title","",3,"innerHTML"],["mat-dialog-content",""],[3,"innerHTML"],["id","captcha","data-cy","recaptcha","name","captcha",3,"ngModel","siteKey","required","ngModelChange",4,"ngIf"],["mat-dialog-actions",""],["data-cy","oui","aria-label","ok","mat-raised-button","","id","dialog-button-ok",1,"mat-primary",3,"disabled","click"],["data-cy","non","aria-label","cancel","mat-raised-button","","id","dialog-button-cancel",3,"click"],["id","captcha","data-cy","recaptcha","name","captcha",3,"ngModel","siteKey","required","ngModelChange"],["captchaControl","ngModel"]],template:function(t,e){1&t&&(o.Ob(0,"h1",0),o.Tb(1,"div",1),o.Ob(2,"p",2),o.Sb(),o.Fc(3,h,2,3,"re-captcha",3),o.Tb(4,"div",4),o.Tb(5,"button",5),o.bc("click",function(){return e.save()}),o.Hc(6),o.Sb(),o.Tb(7,"button",6),o.bc("click",function(){return e.close()}),o.Hc(8),o.Sb(),o.Sb()),2&t&&(o.nc("innerHTML",e.data.title,o.zc),o.Cb(2),o.nc("innerHTML",e.data.question,o.zc),o.Cb(1),o.nc("ngIf",e.data.hasCaptcha),o.Cb(2),o.nc("disabled",e.data.hasCaptcha&&!e.captcha),o.Cb(1),o.Ic(e.data.okButtonText),o.Cb(2),o.Ic(e.data.cancelButtonText))},directives:[i.g,i.d,c.l,i.c,d.a,a.a,a.e,u.o,u.r,u.v],styles:[""]}),t})()},PeUW:function(t,e,n){!function(t){"use strict";var e={1:"\u0be7",2:"\u0be8",3:"\u0be9",4:"\u0bea",5:"\u0beb",6:"\u0bec",7:"\u0bed",8:"\u0bee",9:"\u0bef",0:"\u0be6"},n={"\u0be7":"1","\u0be8":"2","\u0be9":"3","\u0bea":"4","\u0beb":"5","\u0bec":"6","\u0bed":"7","\u0bee":"8","\u0bef":"9","\u0be6":"0"};t.defineLocale("ta",{months:"\u0b9c\u0ba9\u0bb5\u0bb0\u0bbf_\u0baa\u0bbf\u0baa\u0bcd\u0bb0\u0bb5\u0bb0\u0bbf_\u0bae\u0bbe\u0bb0\u0bcd\u0b9a\u0bcd_\u0b8f\u0baa\u0bcd\u0bb0\u0bb2\u0bcd_\u0bae\u0bc7_\u0b9c\u0bc2\u0ba9\u0bcd_\u0b9c\u0bc2\u0bb2\u0bc8_\u0b86\u0b95\u0bb8\u0bcd\u0b9f\u0bcd_\u0b9a\u0bc6\u0baa\u0bcd\u0b9f\u0bc6\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b85\u0b95\u0bcd\u0b9f\u0bc7\u0bbe\u0baa\u0bb0\u0bcd_\u0ba8\u0bb5\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b9f\u0bbf\u0b9a\u0bae\u0bcd\u0baa\u0bb0\u0bcd".split("_"),monthsShort:"\u0b9c\u0ba9\u0bb5\u0bb0\u0bbf_\u0baa\u0bbf\u0baa\u0bcd\u0bb0\u0bb5\u0bb0\u0bbf_\u0bae\u0bbe\u0bb0\u0bcd\u0b9a\u0bcd_\u0b8f\u0baa\u0bcd\u0bb0\u0bb2\u0bcd_\u0bae\u0bc7_\u0b9c\u0bc2\u0ba9\u0bcd_\u0b9c\u0bc2\u0bb2\u0bc8_\u0b86\u0b95\u0bb8\u0bcd\u0b9f\u0bcd_\u0b9a\u0bc6\u0baa\u0bcd\u0b9f\u0bc6\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b85\u0b95\u0bcd\u0b9f\u0bc7\u0bbe\u0baa\u0bb0\u0bcd_\u0ba8\u0bb5\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b9f\u0bbf\u0b9a\u0bae\u0bcd\u0baa\u0bb0\u0bcd".split("_"),weekdays:"\u0b9e\u0bbe\u0baf\u0bbf\u0bb1\u0bcd\u0bb1\u0bc1\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0ba4\u0bbf\u0b99\u0bcd\u0b95\u0b9f\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0b9a\u0bc6\u0bb5\u0bcd\u0bb5\u0bbe\u0baf\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0baa\u0bc1\u0ba4\u0ba9\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0bb5\u0bbf\u0baf\u0bbe\u0bb4\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0bb5\u0bc6\u0bb3\u0bcd\u0bb3\u0bbf\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0b9a\u0ba9\u0bbf\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8".split("_"),weekdaysShort:"\u0b9e\u0bbe\u0baf\u0bbf\u0bb1\u0bc1_\u0ba4\u0bbf\u0b99\u0bcd\u0b95\u0bb3\u0bcd_\u0b9a\u0bc6\u0bb5\u0bcd\u0bb5\u0bbe\u0baf\u0bcd_\u0baa\u0bc1\u0ba4\u0ba9\u0bcd_\u0bb5\u0bbf\u0baf\u0bbe\u0bb4\u0ba9\u0bcd_\u0bb5\u0bc6\u0bb3\u0bcd\u0bb3\u0bbf_\u0b9a\u0ba9\u0bbf".split("_"),weekdaysMin:"\u0b9e\u0bbe_\u0ba4\u0bbf_\u0b9a\u0bc6_\u0baa\u0bc1_\u0bb5\u0bbf_\u0bb5\u0bc6_\u0b9a".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, HH:mm",LLLL:"dddd, D MMMM YYYY, HH:mm"},calendar:{sameDay:"[\u0b87\u0ba9\u0bcd\u0bb1\u0bc1] LT",nextDay:"[\u0ba8\u0bbe\u0bb3\u0bc8] LT",nextWeek:"dddd, LT",lastDay:"[\u0ba8\u0bc7\u0bb1\u0bcd\u0bb1\u0bc1] LT",lastWeek:"[\u0b95\u0b9f\u0ba8\u0bcd\u0ba4 \u0bb5\u0bbe\u0bb0\u0bae\u0bcd] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0b87\u0bb2\u0bcd",past:"%s \u0bae\u0bc1\u0ba9\u0bcd",s:"\u0b92\u0bb0\u0bc1 \u0b9a\u0bbf\u0bb2 \u0bb5\u0bbf\u0ba8\u0bbe\u0b9f\u0bbf\u0b95\u0bb3\u0bcd",ss:"%d \u0bb5\u0bbf\u0ba8\u0bbe\u0b9f\u0bbf\u0b95\u0bb3\u0bcd",m:"\u0b92\u0bb0\u0bc1 \u0ba8\u0bbf\u0bae\u0bbf\u0b9f\u0bae\u0bcd",mm:"%d \u0ba8\u0bbf\u0bae\u0bbf\u0b9f\u0b99\u0bcd\u0b95\u0bb3\u0bcd",h:"\u0b92\u0bb0\u0bc1 \u0bae\u0ba3\u0bbf \u0ba8\u0bc7\u0bb0\u0bae\u0bcd",hh:"%d \u0bae\u0ba3\u0bbf \u0ba8\u0bc7\u0bb0\u0bae\u0bcd",d:"\u0b92\u0bb0\u0bc1 \u0ba8\u0bbe\u0bb3\u0bcd",dd:"%d \u0ba8\u0bbe\u0b9f\u0bcd\u0b95\u0bb3\u0bcd",M:"\u0b92\u0bb0\u0bc1 \u0bae\u0bbe\u0ba4\u0bae\u0bcd",MM:"%d \u0bae\u0bbe\u0ba4\u0b99\u0bcd\u0b95\u0bb3\u0bcd",y:"\u0b92\u0bb0\u0bc1 \u0bb5\u0bb0\u0bc1\u0b9f\u0bae\u0bcd",yy:"%d \u0b86\u0ba3\u0bcd\u0b9f\u0bc1\u0b95\u0bb3\u0bcd"},dayOfMonthOrdinalParse:/\d{1,2}\u0bb5\u0ba4\u0bc1/,ordinal:function(t){return t+"\u0bb5\u0ba4\u0bc1"},preparse:function(t){return t.replace(/[\u0be7\u0be8\u0be9\u0bea\u0beb\u0bec\u0bed\u0bee\u0bef\u0be6]/g,function(t){return n[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},meridiemParse:/\u0baf\u0bbe\u0bae\u0bae\u0bcd|\u0bb5\u0bc8\u0b95\u0bb1\u0bc8|\u0b95\u0bbe\u0bb2\u0bc8|\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd|\u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1|\u0bae\u0bbe\u0bb2\u0bc8/,meridiem:function(t,e,n){return t<2?" \u0baf\u0bbe\u0bae\u0bae\u0bcd":t<6?" \u0bb5\u0bc8\u0b95\u0bb1\u0bc8":t<10?" \u0b95\u0bbe\u0bb2\u0bc8":t<14?" \u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd":t<18?" \u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1":t<22?" \u0bae\u0bbe\u0bb2\u0bc8":" \u0baf\u0bbe\u0bae\u0bae\u0bcd"},meridiemHour:function(t,e){return 12===t&&(t=0),"\u0baf\u0bbe\u0bae\u0bae\u0bcd"===e?t<2?t:t+12:"\u0bb5\u0bc8\u0b95\u0bb1\u0bc8"===e||"\u0b95\u0bbe\u0bb2\u0bc8"===e||"\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd"===e&&t>=10?t:t+12},week:{dow:0,doy:6}})}(n("wd/R"))},PkhO:function(t,e,n){"use strict";n.d(e,"a",function(){return o});var i=n("s7LF"),a=n("8Y7J");const r=/^(?=.{1,254}$)(?=.{1,64}@)[-!#$%&'*+/0-9=?A-Z^_`a-z{|}~]+(\.[-!#$%&'*+/0-9=?A-Z^_`a-z{|}~]+)*@[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?(\.[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?)+$/;let o=(()=>{class t{validate(t){return null===t.value||""===t.value||void 0===t.value||r.test(t.value)?null:{appEmail:!0}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=a.Ib({type:t,selectors:[["","appEmailValidator",""]],features:[a.Bb([{provide:i.l,useExisting:t,multi:!0}])]}),t})()},PpIw:function(t,e,n){!function(t){"use strict";var e={1:"\u0ce7",2:"\u0ce8",3:"\u0ce9",4:"\u0cea",5:"\u0ceb",6:"\u0cec",7:"\u0ced",8:"\u0cee",9:"\u0cef",0:"\u0ce6"},n={"\u0ce7":"1","\u0ce8":"2","\u0ce9":"3","\u0cea":"4","\u0ceb":"5","\u0cec":"6","\u0ced":"7","\u0cee":"8","\u0cef":"9","\u0ce6":"0"};t.defineLocale("kn",{months:"\u0c9c\u0ca8\u0cb5\u0cb0\u0cbf_\u0cab\u0cc6\u0cac\u0ccd\u0cb0\u0cb5\u0cb0\u0cbf_\u0cae\u0cbe\u0cb0\u0ccd\u0c9a\u0ccd_\u0c8f\u0caa\u0ccd\u0cb0\u0cbf\u0cb2\u0ccd_\u0cae\u0cc6\u0cd5_\u0c9c\u0cc2\u0ca8\u0ccd_\u0c9c\u0cc1\u0cb2\u0cc6\u0cd6_\u0c86\u0c97\u0cb8\u0ccd\u0c9f\u0ccd_\u0cb8\u0cc6\u0caa\u0ccd\u0c9f\u0cc6\u0c82\u0cac\u0cb0\u0ccd_\u0c85\u0c95\u0ccd\u0c9f\u0cc6\u0cc2\u0cd5\u0cac\u0cb0\u0ccd_\u0ca8\u0cb5\u0cc6\u0c82\u0cac\u0cb0\u0ccd_\u0ca1\u0cbf\u0cb8\u0cc6\u0c82\u0cac\u0cb0\u0ccd".split("_"),monthsShort:"\u0c9c\u0ca8_\u0cab\u0cc6\u0cac\u0ccd\u0cb0_\u0cae\u0cbe\u0cb0\u0ccd\u0c9a\u0ccd_\u0c8f\u0caa\u0ccd\u0cb0\u0cbf\u0cb2\u0ccd_\u0cae\u0cc6\u0cd5_\u0c9c\u0cc2\u0ca8\u0ccd_\u0c9c\u0cc1\u0cb2\u0cc6\u0cd6_\u0c86\u0c97\u0cb8\u0ccd\u0c9f\u0ccd_\u0cb8\u0cc6\u0caa\u0ccd\u0c9f\u0cc6\u0c82_\u0c85\u0c95\u0ccd\u0c9f\u0cc6\u0cc2\u0cd5_\u0ca8\u0cb5\u0cc6\u0c82_\u0ca1\u0cbf\u0cb8\u0cc6\u0c82".split("_"),monthsParseExact:!0,weekdays:"\u0cad\u0cbe\u0ca8\u0cc1\u0cb5\u0cbe\u0cb0_\u0cb8\u0cc6\u0cc2\u0cd5\u0cae\u0cb5\u0cbe\u0cb0_\u0cae\u0c82\u0c97\u0cb3\u0cb5\u0cbe\u0cb0_\u0cac\u0cc1\u0ca7\u0cb5\u0cbe\u0cb0_\u0c97\u0cc1\u0cb0\u0cc1\u0cb5\u0cbe\u0cb0_\u0cb6\u0cc1\u0c95\u0ccd\u0cb0\u0cb5\u0cbe\u0cb0_\u0cb6\u0ca8\u0cbf\u0cb5\u0cbe\u0cb0".split("_"),weekdaysShort:"\u0cad\u0cbe\u0ca8\u0cc1_\u0cb8\u0cc6\u0cc2\u0cd5\u0cae_\u0cae\u0c82\u0c97\u0cb3_\u0cac\u0cc1\u0ca7_\u0c97\u0cc1\u0cb0\u0cc1_\u0cb6\u0cc1\u0c95\u0ccd\u0cb0_\u0cb6\u0ca8\u0cbf".split("_"),weekdaysMin:"\u0cad\u0cbe_\u0cb8\u0cc6\u0cc2\u0cd5_\u0cae\u0c82_\u0cac\u0cc1_\u0c97\u0cc1_\u0cb6\u0cc1_\u0cb6".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0c87\u0c82\u0ca6\u0cc1] LT",nextDay:"[\u0ca8\u0cbe\u0cb3\u0cc6] LT",nextWeek:"dddd, LT",lastDay:"[\u0ca8\u0cbf\u0ca8\u0ccd\u0ca8\u0cc6] LT",lastWeek:"[\u0c95\u0cc6\u0cc2\u0ca8\u0cc6\u0caf] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0ca8\u0c82\u0ca4\u0cb0",past:"%s \u0cb9\u0cbf\u0c82\u0ca6\u0cc6",s:"\u0c95\u0cc6\u0cb2\u0cb5\u0cc1 \u0c95\u0ccd\u0cb7\u0ca3\u0c97\u0cb3\u0cc1",ss:"%d \u0cb8\u0cc6\u0c95\u0cc6\u0c82\u0ca1\u0cc1\u0c97\u0cb3\u0cc1",m:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca8\u0cbf\u0cae\u0cbf\u0cb7",mm:"%d \u0ca8\u0cbf\u0cae\u0cbf\u0cb7",h:"\u0c92\u0c82\u0ca6\u0cc1 \u0c97\u0c82\u0c9f\u0cc6",hh:"%d \u0c97\u0c82\u0c9f\u0cc6",d:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca6\u0cbf\u0ca8",dd:"%d \u0ca6\u0cbf\u0ca8",M:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca4\u0cbf\u0c82\u0c97\u0cb3\u0cc1",MM:"%d \u0ca4\u0cbf\u0c82\u0c97\u0cb3\u0cc1",y:"\u0c92\u0c82\u0ca6\u0cc1 \u0cb5\u0cb0\u0ccd\u0cb7",yy:"%d \u0cb5\u0cb0\u0ccd\u0cb7"},preparse:function(t){return t.replace(/[\u0ce7\u0ce8\u0ce9\u0cea\u0ceb\u0cec\u0ced\u0cee\u0cef\u0ce6]/g,function(t){return n[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},meridiemParse:/\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf|\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6|\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8|\u0cb8\u0c82\u0c9c\u0cc6/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"===e?t<4?t:t+12:"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6"===e?t:"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8"===e?t>=10?t:t+12:"\u0cb8\u0c82\u0c9c\u0cc6"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf":t<10?"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6":t<17?"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8":t<20?"\u0cb8\u0c82\u0c9c\u0cc6":"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"},dayOfMonthOrdinalParse:/\d{1,2}(\u0ca8\u0cc6\u0cd5)/,ordinal:function(t){return t+"\u0ca8\u0cc6\u0cd5"},week:{dow:0,doy:6}})}(n("wd/R"))},PqYM:function(t,e,n){"use strict";n.d(e,"a",function(){return s});var i=n("HDdC"),a=n("D0XW"),r=n("Y7HM"),o=n("z+Ro");function s(t=0,e,n){let s=-1;return Object(r.a)(e)?s=Number(e)<1?1:Number(e):Object(o.a)(e)&&(n=e),Object(o.a)(n)||(n=a.a),new i.a(e=>{const i=Object(r.a)(t)?t:+t-n.now();return n.schedule(l,i,{index:0,period:s,subscriber:e})})}function l(t){const{index:e,period:n,subscriber:i}=t;if(i.next(e),!i.closed){if(-1===n)return i.complete();t.index=e+1,this.schedule(t,n)}}},Q2Ze:function(t,e,n){"use strict";n.d(e,"a",function(){return X}),n.d(e,"b",function(){return Y}),n.d(e,"c",function(){return K}),n.d(e,"d",function(){return j}),n.d(e,"e",function(){return Q}),n.d(e,"f",function(){return z}),n.d(e,"g",function(){return W}),n.d(e,"h",function(){return q});var i=n("9b/N"),a=n("SVse"),r=n("8Y7J"),o=n("UhP/"),s=n("8LU1"),l=n("XNiG"),c=n("VRyK"),d=n("xgIS"),u=n("JX91"),h=n("1G5W"),m=n("IzEk"),p=n("GS7A"),f=n("omvX"),g=n("9gLZ"),b=n("SCoL");const _=["underline"],y=["connectionContainer"],v=["inputContainer"],C=["label"];function w(t,e){1&t&&(r.Rb(0),r.Tb(1,"div",14),r.Ob(2,"div",15),r.Ob(3,"div",16),r.Ob(4,"div",17),r.Sb(),r.Tb(5,"div",18),r.Ob(6,"div",15),r.Ob(7,"div",16),r.Ob(8,"div",17),r.Sb(),r.Qb())}function x(t,e){1&t&&(r.Tb(0,"div",19),r.lc(1,1),r.Sb())}function M(t,e){if(1&t&&(r.Rb(0),r.lc(1,2),r.Tb(2,"span"),r.Hc(3),r.Sb(),r.Qb()),2&t){const t=r.fc(2);r.Cb(3),r.Ic(t._control.placeholder)}}function O(t,e){1&t&&r.lc(0,3,["*ngSwitchCase","true"])}function k(t,e){1&t&&(r.Tb(0,"span",23),r.Hc(1," *"),r.Sb())}function S(t,e){if(1&t){const t=r.Ub();r.Tb(0,"label",20,21),r.bc("cdkObserveContent",function(){return r.yc(t),r.fc().updateOutlineGap()}),r.Fc(2,M,4,1,"ng-container",12),r.Fc(3,O,1,0,"ng-content",12),r.Fc(4,k,2,0,"span",22),r.Sb()}if(2&t){const t=r.fc();r.Fb("mat-empty",t._control.empty&&!t._shouldAlwaysFloat())("mat-form-field-empty",t._control.empty&&!t._shouldAlwaysFloat())("mat-accent","accent"==t.color)("mat-warn","warn"==t.color),r.nc("cdkObserveContentDisabled","outline"!=t.appearance)("id",t._labelId)("ngSwitch",t._hasLabel()),r.Db("for",t._control.id)("aria-owns",t._control.id),r.Cb(2),r.nc("ngSwitchCase",!1),r.Cb(1),r.nc("ngSwitchCase",!0),r.Cb(1),r.nc("ngIf",!t.hideRequiredMarker&&t._control.required&&!t._control.disabled)}}function T(t,e){1&t&&(r.Tb(0,"div",24),r.lc(1,4),r.Sb())}function P(t,e){if(1&t&&(r.Tb(0,"div",25,26),r.Ob(2,"span",27),r.Sb()),2&t){const t=r.fc();r.Cb(2),r.Fb("mat-accent","accent"==t.color)("mat-warn","warn"==t.color)}}function L(t,e){if(1&t&&(r.Tb(0,"div"),r.lc(1,5),r.Sb()),2&t){const t=r.fc();r.nc("@transitionMessages",t._subscriptAnimationState)}}function D(t,e){if(1&t&&(r.Tb(0,"div",31),r.Hc(1),r.Sb()),2&t){const t=r.fc(2);r.nc("id",t._hintLabelId),r.Cb(1),r.Ic(t.hintLabel)}}function E(t,e){if(1&t&&(r.Tb(0,"div",28),r.Fc(1,D,2,2,"div",29),r.lc(2,6),r.Ob(3,"div",30),r.lc(4,7),r.Sb()),2&t){const t=r.fc();r.nc("@transitionMessages",t._subscriptAnimationState),r.Cb(1),r.nc("ngIf",t.hintLabel)}}const A=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],I=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"];let R=0;const N=new r.s("MatError");let Y=(()=>{class t{constructor(){this.id="mat-error-"+R++}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=r.Ib({type:t,selectors:[["mat-error"]],hostAttrs:["role","alert",1,"mat-error"],hostVars:1,hostBindings:function(t,e){2&t&&r.Db("id",e.id)},inputs:{id:"id"},features:[r.Bb([{provide:N,useExisting:t}])]}),t})();const H={transitionMessages:Object(p.n)("transitionMessages",[Object(p.k)("enter",Object(p.l)({opacity:1,transform:"translateY(0%)"})),Object(p.m)("void => enter",[Object(p.l)({opacity:0,transform:"translateY(-100%)"}),Object(p.e)("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let j=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=r.Ib({type:t}),t})();const F=new r.s("MatHint");let z=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=r.Ib({type:t,selectors:[["mat-label"]]}),t})(),V=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=r.Ib({type:t,selectors:[["mat-placeholder"]]}),t})();const B=new r.s("MatPrefix");let W=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=r.Ib({type:t,selectors:[["","matPrefix",""]],features:[r.Bb([{provide:B,useExisting:t}])]}),t})();const U=new r.s("MatSuffix");let q=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=r.Ib({type:t,selectors:[["","matSuffix",""]],features:[r.Bb([{provide:U,useExisting:t}])]}),t})(),G=0;class J{constructor(t){this._elementRef=t}}const Z=Object(o.w)(J,"primary"),$=new r.s("MAT_FORM_FIELD_DEFAULT_OPTIONS"),X=new r.s("MatFormField");let K=(()=>{class t extends Z{constructor(t,e,n,i,a,r,o,s){super(t),this._elementRef=t,this._changeDetectorRef=e,this._dir=i,this._defaults=a,this._platform=r,this._ngZone=o,this._outlineGapCalculationNeededImmediately=!1,this._outlineGapCalculationNeededOnStable=!1,this._destroyed=new l.a,this._showAlwaysAnimate=!1,this._subscriptAnimationState="",this._hintLabel="",this._hintLabelId="mat-hint-"+G++,this._labelId="mat-form-field-label-"+G++,this.floatLabel=this._getDefaultFloatLabelState(),this._animationsEnabled="NoopAnimations"!==s,this.appearance=a&&a.appearance?a.appearance:"legacy",this._hideRequiredMarker=!(!a||null==a.hideRequiredMarker)&&a.hideRequiredMarker}get appearance(){return this._appearance}set appearance(t){const e=this._appearance;this._appearance=t||this._defaults&&this._defaults.appearance||"legacy","outline"===this._appearance&&e!==t&&(this._outlineGapCalculationNeededOnStable=!0)}get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(t){this._hideRequiredMarker=Object(s.c)(t)}_shouldAlwaysFloat(){return"always"===this.floatLabel&&!this._showAlwaysAnimate}_canLabelFloat(){return"never"!==this.floatLabel}get hintLabel(){return this._hintLabel}set hintLabel(t){this._hintLabel=t,this._processHints()}get floatLabel(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel}set floatLabel(t){t!==this._floatLabel&&(this._floatLabel=t||this._getDefaultFloatLabelState(),this._changeDetectorRef.markForCheck())}get _control(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic}set _control(t){this._explicitFormFieldControl=t}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._connectionContainerRef||this._elementRef}ngAfterContentInit(){this._validateControlChild();const t=this._control;t.controlType&&this._elementRef.nativeElement.classList.add(`mat-form-field-type-${t.controlType}`),t.stateChanges.pipe(Object(u.a)(null)).subscribe(()=>{this._validatePlaceholders(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),t.ngControl&&t.ngControl.valueChanges&&t.ngControl.valueChanges.pipe(Object(h.a)(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe(Object(h.a)(this._destroyed)).subscribe(()=>{this._outlineGapCalculationNeededOnStable&&this.updateOutlineGap()})}),Object(c.a)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._outlineGapCalculationNeededOnStable=!0,this._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe(Object(u.a)(null)).subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe(Object(u.a)(null)).subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe(Object(h.a)(this._destroyed)).subscribe(()=>{"function"==typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this.updateOutlineGap())}):this.updateOutlineGap()})}ngAfterContentChecked(){this._validateControlChild(),this._outlineGapCalculationNeededImmediately&&this.updateOutlineGap()}ngAfterViewInit(){this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_shouldForward(t){const e=this._control?this._control.ngControl:null;return e&&e[t]}_hasPlaceholder(){return!!(this._control&&this._control.placeholder||this._placeholderChild)}_hasLabel(){return!(!this._labelChildNonStatic&&!this._labelChildStatic)}_shouldLabelFloat(){return this._canLabelFloat()&&(this._control&&this._control.shouldLabelFloat||this._shouldAlwaysFloat())}_hideControlPlaceholder(){return"legacy"===this.appearance&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()}_hasFloatingLabel(){return this._hasLabel()||"legacy"===this.appearance&&this._hasPlaceholder()}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_animateAndLockLabel(){this._hasFloatingLabel()&&this._canLabelFloat()&&(this._animationsEnabled&&this._label&&(this._showAlwaysAnimate=!0,Object(d.a)(this._label.nativeElement,"transitionend").pipe(Object(m.a)(1)).subscribe(()=>{this._showAlwaysAnimate=!1})),this.floatLabel="always",this._changeDetectorRef.markForCheck())}_validatePlaceholders(){}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_getDefaultFloatLabelState(){return this._defaults&&this._defaults.floatLabel||"auto"}_syncDescribedByIds(){if(this._control){let t=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&t.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const e=this._hintChildren?this._hintChildren.find(t=>"start"===t.align):null,n=this._hintChildren?this._hintChildren.find(t=>"end"===t.align):null;e?t.push(e.id):this._hintLabel&&t.push(this._hintLabelId),n&&t.push(n.id)}else this._errorChildren&&t.push(...this._errorChildren.map(t=>t.id));this._control.setDescribedByIds(t)}}_validateControlChild(){}updateOutlineGap(){const t=this._label?this._label.nativeElement:null;if("outline"!==this.appearance||!t||!t.children.length||!t.textContent.trim())return;if(!this._platform.isBrowser)return;if(!this._isAttachedToDOM())return void(this._outlineGapCalculationNeededImmediately=!0);let e=0,n=0;const i=this._connectionContainerRef.nativeElement,a=i.querySelectorAll(".mat-form-field-outline-start"),r=i.querySelectorAll(".mat-form-field-outline-gap");if(this._label&&this._label.nativeElement.children.length){const a=i.getBoundingClientRect();if(0===a.width&&0===a.height)return this._outlineGapCalculationNeededOnStable=!0,void(this._outlineGapCalculationNeededImmediately=!1);const r=this._getStartEnd(a),o=t.children,s=this._getStartEnd(o[0].getBoundingClientRect());let l=0;for(let t=0;t<o.length;t++)l+=o[t].offsetWidth;e=Math.abs(s-r)-5,n=l>0?.75*l+10:0}for(let o=0;o<a.length;o++)a[o].style.width=`${e}px`;for(let o=0;o<r.length;o++)r[o].style.width=`${n}px`;this._outlineGapCalculationNeededOnStable=this._outlineGapCalculationNeededImmediately=!1}_getStartEnd(t){return this._dir&&"rtl"===this._dir.value?t.right:t.left}_isAttachedToDOM(){const t=this._elementRef.nativeElement;if(t.getRootNode){const e=t.getRootNode();return e&&e!==t}return document.documentElement.contains(t)}}return t.\u0275fac=function(e){return new(e||t)(r.Nb(r.l),r.Nb(r.h),r.Nb(r.l),r.Nb(g.b,8),r.Nb($,8),r.Nb(b.a),r.Nb(r.B),r.Nb(f.a,8))},t.\u0275cmp=r.Hb({type:t,selectors:[["mat-form-field"]],contentQueries:function(t,e,n){if(1&t&&(r.Gb(n,j,1),r.Gb(n,j,3),r.Gb(n,z,1),r.Gb(n,z,3),r.Gb(n,V,1),r.Gb(n,N,1),r.Gb(n,F,1),r.Gb(n,B,1),r.Gb(n,U,1)),2&t){let t;r.uc(t=r.cc())&&(e._controlNonStatic=t.first),r.uc(t=r.cc())&&(e._controlStatic=t.first),r.uc(t=r.cc())&&(e._labelChildNonStatic=t.first),r.uc(t=r.cc())&&(e._labelChildStatic=t.first),r.uc(t=r.cc())&&(e._placeholderChild=t.first),r.uc(t=r.cc())&&(e._errorChildren=t),r.uc(t=r.cc())&&(e._hintChildren=t),r.uc(t=r.cc())&&(e._prefixChildren=t),r.uc(t=r.cc())&&(e._suffixChildren=t)}},viewQuery:function(t,e){if(1&t&&(r.Lc(_,1),r.Lc(y,3),r.Lc(v,1),r.Lc(C,1)),2&t){let t;r.uc(t=r.cc())&&(e.underlineRef=t.first),r.uc(t=r.cc())&&(e._connectionContainerRef=t.first),r.uc(t=r.cc())&&(e._inputContainerRef=t.first),r.uc(t=r.cc())&&(e._label=t.first)}},hostAttrs:[1,"mat-form-field"],hostVars:44,hostBindings:function(t,e){2&t&&r.Fb("mat-form-field-appearance-standard","standard"==e.appearance)("mat-form-field-appearance-fill","fill"==e.appearance)("mat-form-field-appearance-outline","outline"==e.appearance)("mat-form-field-appearance-legacy","legacy"==e.appearance)("mat-form-field-invalid",e._control.errorState)("mat-form-field-can-float",e._canLabelFloat())("mat-form-field-should-float",e._shouldLabelFloat())("mat-form-field-has-label",e._hasFloatingLabel())("mat-form-field-hide-placeholder",e._hideControlPlaceholder())("mat-form-field-disabled",e._control.disabled)("mat-form-field-autofilled",e._control.autofilled)("mat-focused",e._control.focused)("mat-accent","accent"==e.color)("mat-warn","warn"==e.color)("ng-untouched",e._shouldForward("untouched"))("ng-touched",e._shouldForward("touched"))("ng-pristine",e._shouldForward("pristine"))("ng-dirty",e._shouldForward("dirty"))("ng-valid",e._shouldForward("valid"))("ng-invalid",e._shouldForward("invalid"))("ng-pending",e._shouldForward("pending"))("_mat-animation-noopable",!e._animationsEnabled)},inputs:{color:"color",floatLabel:"floatLabel",appearance:"appearance",hideRequiredMarker:"hideRequiredMarker",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[r.Bb([{provide:X,useExisting:t}]),r.zb],ngContentSelectors:I,decls:15,vars:8,consts:[[1,"mat-form-field-wrapper"],[1,"mat-form-field-flex",3,"click"],["connectionContainer",""],[4,"ngIf"],["class","mat-form-field-prefix",4,"ngIf"],[1,"mat-form-field-infix"],["inputContainer",""],[1,"mat-form-field-label-wrapper"],["class","mat-form-field-label",3,"cdkObserveContentDisabled","id","mat-empty","mat-form-field-empty","mat-accent","mat-warn","ngSwitch","cdkObserveContent",4,"ngIf"],["class","mat-form-field-suffix",4,"ngIf"],["class","mat-form-field-underline",4,"ngIf"],[1,"mat-form-field-subscript-wrapper",3,"ngSwitch"],[4,"ngSwitchCase"],["class","mat-form-field-hint-wrapper",4,"ngSwitchCase"],[1,"mat-form-field-outline"],[1,"mat-form-field-outline-start"],[1,"mat-form-field-outline-gap"],[1,"mat-form-field-outline-end"],[1,"mat-form-field-outline","mat-form-field-outline-thick"],[1,"mat-form-field-prefix"],[1,"mat-form-field-label",3,"cdkObserveContentDisabled","id","ngSwitch","cdkObserveContent"],["label",""],["class","mat-placeholder-required mat-form-field-required-marker","aria-hidden","true",4,"ngIf"],["aria-hidden","true",1,"mat-placeholder-required","mat-form-field-required-marker"],[1,"mat-form-field-suffix"],[1,"mat-form-field-underline"],["underline",""],[1,"mat-form-field-ripple"],[1,"mat-form-field-hint-wrapper"],["class","mat-hint",3,"id",4,"ngIf"],[1,"mat-form-field-hint-spacer"],[1,"mat-hint",3,"id"]],template:function(t,e){1&t&&(r.mc(A),r.Tb(0,"div",0),r.Tb(1,"div",1,2),r.bc("click",function(t){return e._control.onContainerClick&&e._control.onContainerClick(t)}),r.Fc(3,w,9,0,"ng-container",3),r.Fc(4,x,2,0,"div",4),r.Tb(5,"div",5,6),r.lc(7),r.Tb(8,"span",7),r.Fc(9,S,5,16,"label",8),r.Sb(),r.Sb(),r.Fc(10,T,2,0,"div",9),r.Sb(),r.Fc(11,P,3,4,"div",10),r.Tb(12,"div",11),r.Fc(13,L,2,1,"div",12),r.Fc(14,E,5,2,"div",13),r.Sb(),r.Sb()),2&t&&(r.Cb(3),r.nc("ngIf","outline"==e.appearance),r.Cb(1),r.nc("ngIf",e._prefixChildren.length),r.Cb(5),r.nc("ngIf",e._hasFloatingLabel()),r.Cb(1),r.nc("ngIf",e._suffixChildren.length),r.Cb(1),r.nc("ngIf","outline"!=e.appearance),r.Cb(1),r.nc("ngSwitch",e._getDisplayedMessages()),r.Cb(1),r.nc("ngSwitchCase","error"),r.Cb(1),r.nc("ngSwitchCase","hint"))},directives:[a.l,a.n,a.o,i.a],styles:[".mat-form-field{display:inline-block;position:relative;text-align:left}[dir=rtl] .mat-form-field{text-align:right}.mat-form-field-wrapper{position:relative}.mat-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-form-field-prefix,.mat-form-field-suffix{white-space:nowrap;flex:none;position:relative}.mat-form-field-infix{display:block;position:relative;flex:auto;min-width:0;width:180px}.cdk-high-contrast-active .mat-form-field-infix{border-image:linear-gradient(transparent, transparent)}.mat-form-field-label-wrapper{position:absolute;left:0;box-sizing:content-box;width:100%;height:100%;overflow:hidden;pointer-events:none}[dir=rtl] .mat-form-field-label-wrapper{left:auto;right:0}.mat-form-field-label{position:absolute;left:0;font:inherit;pointer-events:none;width:100%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;transform-origin:0 0;transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1),color 400ms cubic-bezier(0.25, 0.8, 0.25, 1),width 400ms cubic-bezier(0.25, 0.8, 0.25, 1);display:none}[dir=rtl] .mat-form-field-label{transform-origin:100% 0;left:auto;right:0}.mat-form-field-empty.mat-form-field-label,.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label{display:block}.mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:block;transition:none}.mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-form-field-can-float .mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:block}.mat-form-field-label:not(.mat-form-field-empty){transition:none}.mat-form-field-underline{position:absolute;width:100%;pointer-events:none;transform:scale3d(1, 1.0001, 1)}.mat-form-field-ripple{position:absolute;left:0;width:100%;transform-origin:50%;transform:scaleX(0.5);opacity:0;transition:background-color 300ms cubic-bezier(0.55, 0, 0.55, 0.2)}.mat-form-field.mat-focused .mat-form-field-ripple,.mat-form-field.mat-form-field-invalid .mat-form-field-ripple{opacity:1;transform:none;transition:transform 300ms cubic-bezier(0.25, 0.8, 0.25, 1),opacity 100ms cubic-bezier(0.25, 0.8, 0.25, 1),background-color 300ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-subscript-wrapper{position:absolute;box-sizing:border-box;width:100%;overflow:hidden}.mat-form-field-subscript-wrapper .mat-icon,.mat-form-field-label-wrapper .mat-icon{width:1em;height:1em;font-size:inherit;vertical-align:baseline}.mat-form-field-hint-wrapper{display:flex}.mat-form-field-hint-spacer{flex:1 0 1em}.mat-error{display:block}.mat-form-field-control-wrapper{position:relative}.mat-form-field-hint-end{order:1}.mat-form-field._mat-animation-noopable .mat-form-field-label,.mat-form-field._mat-animation-noopable .mat-form-field-ripple{transition:none}\n",'.mat-form-field-appearance-fill .mat-form-field-flex{border-radius:4px 4px 0 0;padding:.75em .75em 0 .75em}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-form-field-flex{outline:solid 1px}.mat-form-field-appearance-fill .mat-form-field-underline::before{content:"";display:block;position:absolute;bottom:0;height:1px;width:100%}.mat-form-field-appearance-fill .mat-form-field-ripple{bottom:0;height:2px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-form-field-ripple{height:0;border-top:solid 2px}.mat-form-field-appearance-fill:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-fill._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}.mat-form-field-appearance-fill .mat-form-field-subscript-wrapper{padding:0 1em}\n','.mat-input-element{font:inherit;background:transparent;color:currentColor;border:none;outline:none;padding:0;margin:0;width:100%;max-width:100%;vertical-align:bottom;text-align:inherit}.mat-input-element:-moz-ui-invalid{box-shadow:none}.mat-input-element::-ms-clear,.mat-input-element::-ms-reveal{display:none}.mat-input-element,.mat-input-element::-webkit-search-cancel-button,.mat-input-element::-webkit-search-decoration,.mat-input-element::-webkit-search-results-button,.mat-input-element::-webkit-search-results-decoration{-webkit-appearance:none}.mat-input-element::-webkit-contacts-auto-fill-button,.mat-input-element::-webkit-caps-lock-indicator,.mat-input-element::-webkit-credentials-auto-fill-button{visibility:hidden}.mat-input-element[type=date],.mat-input-element[type=datetime],.mat-input-element[type=datetime-local],.mat-input-element[type=month],.mat-input-element[type=week],.mat-input-element[type=time]{line-height:1}.mat-input-element[type=date]::after,.mat-input-element[type=datetime]::after,.mat-input-element[type=datetime-local]::after,.mat-input-element[type=month]::after,.mat-input-element[type=week]::after,.mat-input-element[type=time]::after{content:" ";white-space:pre;width:1px}.mat-input-element::-webkit-inner-spin-button,.mat-input-element::-webkit-calendar-picker-indicator,.mat-input-element::-webkit-clear-button{font-size:.75em}.mat-input-element::placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-input-element::-moz-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::-moz-placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-input-element::-webkit-input-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::-webkit-input-placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-input-element:-ms-input-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element:-ms-input-placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-form-field-hide-placeholder .mat-input-element::placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.mat-form-field-hide-placeholder .mat-input-element::-moz-placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.mat-form-field-hide-placeholder .mat-input-element::-webkit-input-placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.mat-form-field-hide-placeholder .mat-input-element:-ms-input-placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}textarea.mat-input-element{resize:vertical;overflow:auto}textarea.mat-input-element.cdk-textarea-autosize{resize:none}textarea.mat-input-element{padding:2px 0;margin:-2px 0}select.mat-input-element{-moz-appearance:none;-webkit-appearance:none;position:relative;background-color:transparent;display:inline-flex;box-sizing:border-box;padding-top:1em;top:-1em;margin-bottom:-1em}select.mat-input-element::-ms-expand{display:none}select.mat-input-element::-moz-focus-inner{border:0}select.mat-input-element:not(:disabled){cursor:pointer}select.mat-input-element::-ms-value{color:inherit;background:none}.mat-focused .cdk-high-contrast-active select.mat-input-element::-ms-value{color:inherit}.mat-form-field-type-mat-native-select .mat-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;position:absolute;top:50%;right:0;margin-top:-2.5px;pointer-events:none}[dir=rtl] .mat-form-field-type-mat-native-select .mat-form-field-infix::after{right:auto;left:0}.mat-form-field-type-mat-native-select .mat-input-element{padding-right:15px}[dir=rtl] .mat-form-field-type-mat-native-select .mat-input-element{padding-right:0;padding-left:15px}.mat-form-field-type-mat-native-select .mat-form-field-label-wrapper{max-width:calc(100% - 10px)}.mat-form-field-type-mat-native-select.mat-form-field-appearance-outline .mat-form-field-infix::after{margin-top:-5px}.mat-form-field-type-mat-native-select.mat-form-field-appearance-fill .mat-form-field-infix::after{margin-top:-10px}\n',".mat-form-field-appearance-legacy .mat-form-field-label{transform:perspective(100px);-ms-transform:none}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon{width:1em}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button{font:inherit;vertical-align:baseline}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button .mat-icon{font-size:inherit}.mat-form-field-appearance-legacy .mat-form-field-underline{height:1px}.cdk-high-contrast-active .mat-form-field-appearance-legacy .mat-form-field-underline{height:0;border-top:solid 1px}.mat-form-field-appearance-legacy .mat-form-field-ripple{top:0;height:2px;overflow:hidden}.cdk-high-contrast-active .mat-form-field-appearance-legacy .mat-form-field-ripple{height:0;border-top:solid 2px}.mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:transparent}.cdk-high-contrast-active .mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px}.mat-form-field-appearance-legacy.mat-form-field-invalid:not(.mat-focused) .mat-form-field-ripple{height:1px}\n",".mat-form-field-appearance-outline .mat-form-field-wrapper{margin:.25em 0}.mat-form-field-appearance-outline .mat-form-field-flex{padding:0 .75em 0 .75em;margin-top:-0.25em;position:relative}.mat-form-field-appearance-outline .mat-form-field-prefix,.mat-form-field-appearance-outline .mat-form-field-suffix{top:.25em}.mat-form-field-appearance-outline .mat-form-field-outline{display:flex;position:absolute;top:.25em;left:0;right:0;bottom:0;pointer-events:none}.mat-form-field-appearance-outline .mat-form-field-outline-start,.mat-form-field-appearance-outline .mat-form-field-outline-end{border:1px solid currentColor;min-width:5px}.mat-form-field-appearance-outline .mat-form-field-outline-start{border-radius:5px 0 0 5px;border-right-style:none}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-start{border-right-style:solid;border-left-style:none;border-radius:0 5px 5px 0}.mat-form-field-appearance-outline .mat-form-field-outline-end{border-radius:0 5px 5px 0;border-left-style:none;flex-grow:1}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-end{border-left-style:solid;border-right-style:none;border-radius:5px 0 0 5px}.mat-form-field-appearance-outline .mat-form-field-outline-gap{border-radius:.000001px;border:1px solid currentColor;border-left-style:none;border-right-style:none}.mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-outline-gap{border-top-color:transparent}.mat-form-field-appearance-outline .mat-form-field-outline-thick{opacity:0}.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-start,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-end,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-gap{border-width:2px}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline{opacity:0;transition:opacity 100ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline-thick{opacity:1}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline{opacity:0;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline-thick{opacity:1}.mat-form-field-appearance-outline .mat-form-field-subscript-wrapper{padding:0 1em}.mat-form-field-appearance-outline._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-outline,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-start,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-end,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-gap{transition:none}\n",".mat-form-field-appearance-standard .mat-form-field-flex{padding-top:.75em}.mat-form-field-appearance-standard .mat-form-field-underline{height:1px}.cdk-high-contrast-active .mat-form-field-appearance-standard .mat-form-field-underline{height:0;border-top:solid 1px}.mat-form-field-appearance-standard .mat-form-field-ripple{bottom:0;height:2px}.cdk-high-contrast-active .mat-form-field-appearance-standard .mat-form-field-ripple{height:0;border-top:2px}.mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:transparent}.cdk-high-contrast-active .mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px}.mat-form-field-appearance-standard:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-standard._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}\n"],encapsulation:2,data:{animation:[H.transitionMessages]},changeDetection:0}),t})(),Q=(()=>{class t{}return t.\u0275mod=r.Lb({type:t}),t.\u0275inj=r.Kb({factory:function(e){return new(e||t)},imports:[[a.c,o.j,i.c],o.j]}),t})()},Q9JA:function(t,e,n){"use strict";n.d(e,"a",function(){return s});var i=n("iELJ"),a=n("8Y7J"),r=n("BTe0"),o=n("TSSN");let s=(()=>{class t{constructor(t){this.message=t.message||""}}return t.\u0275fac=function(e){return new(e||t)(a.Nb(i.a))},t.\u0275cmp=a.Hb({type:t,selectors:[["app-wait-http-dialog"]],decls:5,vars:3,consts:[["mode","indeterminate"]],template:function(t,e){1&t&&(a.Tb(0,"mat-dialog-content"),a.Tb(1,"p"),a.Hc(2),a.gc(3,"translate"),a.Sb(),a.Ob(4,"mat-progress-bar",0),a.Sb()),2&t&&(a.Cb(2),a.Ic(a.hc(3,1,e.message)))},directives:[i.d,r.a],pipes:[o.c],styles:["mat-dialog-content[_ngcontent-%COMP%]{width:15em}"]}),t})()},Qaas:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("ePOw"),a=n("tgYw");class r{constructor({type:t=i.a.ADRESSE,adresse:e=null,complementAdresse:n=null,cp:r=null,ville:o=null,pays:s=null,coordonnees:l={}}){this.type=t,this.adresse=e,this.complementAdresse=n,this.cp=r,this.ville=o,this.pays=s,this.coordonnees=new a.a(l)}getForPost(){return this}isValid(t=!1){return this.type&&"COORDONNEES"===this.type?this.coordonnees&&!!this.cp&&!!this.ville&&(t||!!this.pays):!!this.adresse&&!!this.cp&&!!this.ville&&(t||!!this.pays)}isEqualTo(t){return this.type===t.type&&this.adresse===t.adresse&&this.complementAdresse===t.complementAdresse&&this.cp===t.cp&&this.ville===t.ville&&this.coordonnees.latitude===t.coordonnees.latitude&&this.coordonnees.longitude===t.coordonnees.longitude}}},Qj4J:function(t,e,n){!function(t){"use strict";t.defineLocale("ar-kw",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062a\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0627\u062d\u062f_\u0627\u062a\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:0,doy:12}})}(n("wd/R"))},RAwQ:function(t,e,n){!function(t){"use strict";function e(t,e,n,i){var a={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return e?a[n][0]:a[n][1]}function n(t){if(t=parseInt(t,10),isNaN(t))return!1;if(t<0)return!0;if(t<10)return 4<=t&&t<=7;if(t<100){var e=t%10;return n(0===e?t/10:e)}if(t<1e4){for(;t>=10;)t/=10;return n(t)}return n(t/=1e3)}t.defineLocale("lb",{months:"Januar_Februar_M\xe4erz_Abr\xebll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonndeg_M\xe9indeg_D\xebnschdeg_M\xebttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._M\xe9._D\xeb._M\xeb._Do._Fr._Sa.".split("_"),weekdaysMin:"So_M\xe9_D\xeb_M\xeb_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"},calendar:{sameDay:"[Haut um] LT",sameElse:"L",nextDay:"[Muer um] LT",nextWeek:"dddd [um] LT",lastDay:"[G\xebschter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Leschten] dddd [um] LT";default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future:function(t){return n(t.substr(0,t.indexOf(" ")))?"a "+t:"an "+t},past:function(t){return n(t.substr(0,t.indexOf(" ")))?"viru "+t:"virun "+t},s:"e puer Sekonnen",ss:"%d Sekonnen",m:e,mm:"%d Minutten",h:e,hh:"%d Stonnen",d:e,dd:"%d Deeg",M:e,MM:"%d M\xe9int",y:e,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},ROBU:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("XNiG"),a=n("8Y7J");let r=(()=>{class t{constructor(){this.onErrors=new i.a}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=a.Jb({token:t,factory:t.\u0275fac,providedIn:"root"}),t})()},RQKg:function(t,e,n){"use strict";n.d(e,"a",function(){return w});var i=n("s7LF"),a=n("IGtN"),r=n("8Y7J"),o=n("TSSN"),s=n("q6Qu"),l=n("PDjf"),c=n("SVse"),d=n("Q2Ze"),u=n("e6WT"),h=n("Dxy4");function m(t,e){1&t&&(r.Tb(0,"mat-card-content"),r.Hc(1),r.gc(2,"translate"),r.Sb()),2&t&&(r.Cb(1),r.Jc(" ",r.hc(2,1,"common.error.lien.expire")," "))}function p(t,e){1&t&&(r.Tb(0,"mat-error",19),r.Hc(1),r.gc(2,"translate"),r.Sb()),2&t&&(r.Cb(1),r.Ic(r.hc(2,1,"common.error.requis")))}function f(t,e){if(1&t&&(r.Tb(0,"mat-form-field",16),r.Ob(1,"input",17),r.Fc(2,p,3,3,"mat-error",18),r.Sb()),2&t){const t=r.fc(2);r.Cb(2),r.nc("ngIf",t.activationForm.get("oldPassword").hasError("required"))}}function g(t,e){1&t&&(r.Tb(0,"mat-error",20),r.Hc(1),r.gc(2,"translate"),r.Sb()),2&t&&(r.Cb(1),r.Ic(r.hc(2,1,"common.error.requis")))}function b(t,e){1&t&&(r.Tb(0,"mat-error",21),r.Hc(1),r.gc(2,"translate"),r.Sb()),2&t&&(r.Cb(1),r.Ic(r.hc(2,1,"password.error.format")))}function _(t,e){1&t&&(r.Tb(0,"mat-error",22),r.Hc(1),r.gc(2,"translate"),r.Sb()),2&t&&(r.Cb(1),r.Ic(r.hc(2,1,"password.error.identique")))}function y(t,e){1&t&&(r.Tb(0,"mat-error",23),r.Hc(1),r.gc(2,"translate"),r.Sb()),2&t&&(r.Cb(1),r.Ic(r.hc(2,1,"common.error.requis")))}function v(t,e){1&t&&(r.Tb(0,"mat-error",24),r.Hc(1),r.gc(2,"translate"),r.Sb()),2&t&&(r.Cb(1),r.Ic(r.hc(2,1,"password.error.non.identique")))}function C(t,e){if(1&t){const t=r.Ub();r.Tb(0,"mat-card-content"),r.Ob(1,"div",3),r.Tb(2,"form",4),r.bc("ngSubmit",function(){r.yc(t);const e=r.fc();let n=null;return e.onSubmit(e.activationForm.get("password").value,null==(n=e.activationForm.get("oldPassword"))?null:n.value)}),r.Fc(3,f,3,1,"mat-form-field",5),r.Tb(4,"mat-form-field",6),r.Ob(5,"input",7),r.Fc(6,g,3,3,"mat-error",8),r.Fc(7,b,3,3,"mat-error",9),r.Fc(8,_,3,3,"mat-error",10),r.Sb(),r.Tb(9,"mat-form-field",11),r.Ob(10,"input",12),r.Fc(11,y,3,3,"mat-error",13),r.Fc(12,v,3,3,"mat-error",14),r.Sb(),r.Ob(13,"button",15),r.Sb(),r.Sb()}if(2&t){const t=r.fc();r.Cb(2),r.nc("formGroup",t.activationForm),r.Cb(1),r.nc("ngIf",!t.hasToken),r.Cb(3),r.nc("ngIf",t.activationForm.get("password").hasError("required")),r.Cb(1),r.nc("ngIf",t.activationForm.get("password").hasError("pattern")),r.Cb(1),r.nc("ngIf",t.activationForm.get("password").hasError("same")),r.Cb(3),r.nc("ngIf",t.activationForm.get("passwordConfirm").hasError("required")),r.Cb(1),r.nc("ngIf",t.activationForm.get("passwordConfirm").hasError("mismatch")),r.Cb(1),r.nc("disabled",t.activationForm.invalid)}}let w=(()=>{class t extends a.a{constructor(t,e){super(t),this.translateService=t,this.formBuilder=e,this.titre="password.edit.titre",this.hasToken=!1,this.expired=!1,this.pattern=/^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[`\u02dc!@#$%^&*()_\-\+=}{\]\[\|:;,.?/]).{10,}$/,this.onSubmit=()=>{}}load(){const t={password:["",[i.w.required,i.w.pattern(this.pattern),t=>{if(!this.hasToken){const e=this.activationForm?this.activationForm.get("oldPassword").value:"",n=t.value;if(""!==n&&""!==e&&n===e)return{same:!0}}return null}]],passwordConfirm:["",[i.w.required,t=>{const e=this.activationForm?this.activationForm.get("password").value:"",n=t.value;return""!==e&&""!==n&&e!==n?{mismatch:!0}:null}]]};this.hasToken||(t.oldPassword=["",[i.w.required]]),this.activationForm=this.formBuilder.group(t),this.hasToken||this.subscriptions.push(this.activationForm.get("oldPassword").valueChanges.subscribe(()=>{this.activationForm.get("password").updateValueAndValidity()})),this.subscriptions.push(this.activationForm.get("password").valueChanges.subscribe(()=>{this.activationForm.get("passwordConfirm").updateValueAndValidity()}))}}return t.\u0275fac=function(e){return new(e||t)(r.Nb(o.d),r.Nb(i.d))},t.\u0275cmp=r.Hb({type:t,selectors:[["app-edit-password"]],inputs:{titre:"titre",hasToken:"hasToken",expired:"expired",onSubmit:"onSubmit"},features:[r.zb],decls:5,vars:3,consts:[["id","activation-password",1,"content"],[3,"appLabel"],[4,"ngIf"],["id","resume","appLabel","password.instructions"],["id","form-activation",3,"formGroup","ngSubmit"],["id","oldPassword",4,"ngIf"],["id","password"],["matInput","","type","password","name","password","formControlName","password","appLabel","password.nouveau"],["id","error-required-new",4,"ngIf"],["id","error-pattern",4,"ngIf"],["id","error-same",4,"ngIf"],["id","passwordConfirm"],["matInput","","type","password","name","passwordConfirm","formControlName","passwordConfirm","appLabel","password.confirmer"],["id","error-required-confirm",4,"ngIf"],["id","error-mismatch",4,"ngIf"],["mat-raised-button","","color","primary","type","submit","aria-label","submit","appLabel","common.enregistrer",3,"disabled"],["id","oldPassword"],["matInput","","type","password","name","oldPassword","formControlName","oldPassword","appLabel","password.ancien"],["id","error-required-old",4,"ngIf"],["id","error-required-old"],["id","error-required-new"],["id","error-pattern"],["id","error-same"],["id","error-required-confirm"],["id","error-mismatch"]],template:function(t,e){1&t&&(r.Tb(0,"div",0),r.Ob(1,"h1",1),r.Tb(2,"mat-card"),r.Fc(3,m,3,3,"mat-card-content",2),r.Fc(4,C,14,8,"mat-card-content",2),r.Sb(),r.Sb()),2&t&&(r.Cb(1),r.nc("appLabel",e.titre),r.Cb(2),r.nc("ngIf",e.expired),r.Cb(1),r.nc("ngIf",!e.expired))},directives:[s.a,l.a,c.l,l.b,i.x,i.p,i.i,d.c,u.b,i.c,i.o,i.g,h.a,d.b],pipes:[o.c],styles:["#activation-password[_ngcontent-%COMP%] form[_ngcontent-%COMP%]{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:flex-start}#activation-password[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .mat-form-field[_ngcontent-%COMP%]{width:500px;margin:12px 0}"]}),t})()},RnhZ:function(t,e,n){var i={"./af":"K/tc","./af.js":"K/tc","./ar":"jnO4","./ar-dz":"o1bE","./ar-dz.js":"o1bE","./ar-kw":"Qj4J","./ar-kw.js":"Qj4J","./ar-ly":"HP3h","./ar-ly.js":"HP3h","./ar-ma":"CoRJ","./ar-ma.js":"CoRJ","./ar-sa":"gjCT","./ar-sa.js":"gjCT","./ar-tn":"bYM6","./ar-tn.js":"bYM6","./ar.js":"jnO4","./az":"SFxW","./az.js":"SFxW","./be":"H8ED","./be.js":"H8ED","./bg":"hKrs","./bg.js":"hKrs","./bm":"p/rL","./bm.js":"p/rL","./bn":"kEOa","./bn-bd":"loYQ","./bn-bd.js":"loYQ","./bn.js":"kEOa","./bo":"0mo+","./bo.js":"0mo+","./br":"aIdf","./br.js":"aIdf","./bs":"JVSJ","./bs.js":"JVSJ","./ca":"1xZ4","./ca.js":"1xZ4","./cs":"PA2r","./cs.js":"PA2r","./cv":"A+xa","./cv.js":"A+xa","./cy":"l5ep","./cy.js":"l5ep","./da":"DxQv","./da.js":"DxQv","./de":"tGlX","./de-at":"s+uk","./de-at.js":"s+uk","./de-ch":"u3GI","./de-ch.js":"u3GI","./de.js":"tGlX","./dv":"WYrj","./dv.js":"WYrj","./el":"jUeY","./el.js":"jUeY","./en-au":"Dmvi","./en-au.js":"Dmvi","./en-ca":"OIYi","./en-ca.js":"OIYi","./en-gb":"Oaa7","./en-gb.js":"Oaa7","./en-ie":"4dOw","./en-ie.js":"4dOw","./en-il":"czMo","./en-il.js":"czMo","./en-in":"7C5Q","./en-in.js":"7C5Q","./en-nz":"b1Dy","./en-nz.js":"b1Dy","./en-sg":"t+mt","./en-sg.js":"t+mt","./eo":"Zduo","./eo.js":"Zduo","./es":"iYuL","./es-do":"CjzT","./es-do.js":"CjzT","./es-mx":"tbfe","./es-mx.js":"tbfe","./es-us":"Vclq","./es-us.js":"Vclq","./es.js":"iYuL","./et":"7BjC","./et.js":"7BjC","./eu":"D/JM","./eu.js":"D/JM","./fa":"jfSC","./fa.js":"jfSC","./fi":"gekB","./fi.js":"gekB","./fil":"1ppg","./fil.js":"1ppg","./fo":"ByF4","./fo.js":"ByF4","./fr":"nyYc","./fr-ca":"2fjn","./fr-ca.js":"2fjn","./fr-ch":"Dkky","./fr-ch.js":"Dkky","./fr.js":"nyYc","./fy":"cRix","./fy.js":"cRix","./ga":"USCx","./ga.js":"USCx","./gd":"9rRi","./gd.js":"9rRi","./gl":"iEDd","./gl.js":"iEDd","./gom-deva":"qvJo","./gom-deva.js":"qvJo","./gom-latn":"DKr+","./gom-latn.js":"DKr+","./gu":"4MV3","./gu.js":"4MV3","./he":"x6pH","./he.js":"x6pH","./hi":"3E1r","./hi.js":"3E1r","./hr":"S6ln","./hr.js":"S6ln","./hu":"WxRl","./hu.js":"WxRl","./hy-am":"1rYy","./hy-am.js":"1rYy","./id":"UDhR","./id.js":"UDhR","./is":"BVg3","./is.js":"BVg3","./it":"bpih","./it-ch":"bxKX","./it-ch.js":"bxKX","./it.js":"bpih","./ja":"B55N","./ja.js":"B55N","./jv":"tUCv","./jv.js":"tUCv","./ka":"IBtZ","./ka.js":"IBtZ","./kk":"bXm7","./kk.js":"bXm7","./km":"6B0Y","./km.js":"6B0Y","./kn":"PpIw","./kn.js":"PpIw","./ko":"Ivi+","./ko.js":"Ivi+","./ku":"JCF/","./ku.js":"JCF/","./ky":"lgnt","./ky.js":"lgnt","./lb":"RAwQ","./lb.js":"RAwQ","./lo":"sp3z","./lo.js":"sp3z","./lt":"JvlW","./lt.js":"JvlW","./lv":"uXwI","./lv.js":"uXwI","./me":"KTz0","./me.js":"KTz0","./mi":"aIsn","./mi.js":"aIsn","./mk":"aQkU","./mk.js":"aQkU","./ml":"AvvY","./ml.js":"AvvY","./mn":"lYtQ","./mn.js":"lYtQ","./mr":"Ob0Z","./mr.js":"Ob0Z","./ms":"6+QB","./ms-my":"ZAMP","./ms-my.js":"ZAMP","./ms.js":"6+QB","./mt":"G0Uy","./mt.js":"G0Uy","./my":"honF","./my.js":"honF","./nb":"bOMt","./nb.js":"bOMt","./ne":"OjkT","./ne.js":"OjkT","./nl":"+s0g","./nl-be":"2ykv","./nl-be.js":"2ykv","./nl.js":"+s0g","./nn":"uEye","./nn.js":"uEye","./oc-lnc":"Fnuy","./oc-lnc.js":"Fnuy","./pa-in":"8/+R","./pa-in.js":"8/+R","./pl":"jVdC","./pl.js":"jVdC","./pt":"8mBD","./pt-br":"0tRk","./pt-br.js":"0tRk","./pt.js":"8mBD","./ro":"lyxo","./ro.js":"lyxo","./ru":"lXzo","./ru.js":"lXzo","./sd":"Z4QM","./sd.js":"Z4QM","./se":"//9w","./se.js":"//9w","./si":"7aV9","./si.js":"7aV9","./sk":"e+ae","./sk.js":"e+ae","./sl":"gVVK","./sl.js":"gVVK","./sq":"yPMs","./sq.js":"yPMs","./sr":"zx6S","./sr-cyrl":"E+lV","./sr-cyrl.js":"E+lV","./sr.js":"zx6S","./ss":"Ur1D","./ss.js":"Ur1D","./sv":"X709","./sv.js":"X709","./sw":"dNwA","./sw.js":"dNwA","./ta":"PeUW","./ta.js":"PeUW","./te":"XLvN","./te.js":"XLvN","./tet":"V2x9","./tet.js":"V2x9","./tg":"Oxv6","./tg.js":"Oxv6","./th":"EOgW","./th.js":"EOgW","./tk":"Wv91","./tk.js":"Wv91","./tl-ph":"Dzi0","./tl-ph.js":"Dzi0","./tlh":"z3Vd","./tlh.js":"z3Vd","./tr":"DoHr","./tr.js":"DoHr","./tzl":"z1FC","./tzl.js":"z1FC","./tzm":"wQk9","./tzm-latn":"tT3J","./tzm-latn.js":"tT3J","./tzm.js":"wQk9","./ug-cn":"YRex","./ug-cn.js":"YRex","./uk":"raLr","./uk.js":"raLr","./ur":"UpQW","./ur.js":"UpQW","./uz":"Loxo","./uz-latn":"AQ68","./uz-latn.js":"AQ68","./uz.js":"Loxo","./vi":"KSF8","./vi.js":"KSF8","./x-pseudo":"/X5v","./x-pseudo.js":"/X5v","./yo":"fzPg","./yo.js":"fzPg","./zh-cn":"XDpg","./zh-cn.js":"XDpg","./zh-hk":"SatO","./zh-hk.js":"SatO","./zh-mo":"OmwH","./zh-mo.js":"OmwH","./zh-tw":"kOpN","./zh-tw.js":"kOpN"};function a(t){var e=r(t);return n(e)}function r(t){if(!n.o(i,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return i[t]}a.keys=function(){return Object.keys(i)},a.resolve=r,t.exports=a,a.id="RnhZ"},Rqom:function(t,e,n){"use strict";n.d(e,"a",function(){return c});var i=n("wd/R"),a=n("ePOw"),r=n("5Gnb"),o=n("K2tM"),s=n("AxuS"),l=n("uc2U");class c{static dateDebut(t,e,n){const a=this.getGlobalDates(t,n),r=a[0],o=e||a[1];return i(t).isBefore(i(r))?{matDatepickerMin:{min:r,actual:t}}:i(t).isAfter(i(o))?{maxDatepickerMax:{max:o,actual:t}}:null}static dateFin(t,e,n){const a=this.getGlobalDates(t,n),r=a[1],o=t||a[0];return i(e).isBefore(i(o))?{matDatepickerMin:{min:o,actual:e}}:i(e).isAfter(i(r))?{matDatepickerMax:{max:r,actual:e}}:null}static getGlobalDates(t,e){let n;if(e){const e=i().subtract(3,"day");n=t?i.min(i(t),e).format("YYYY-MM-DD"):e.format("YYYY-MM-DD")}else n=i().subtract(3,"month").format("YYYY-MM-DD");return[n,i().add(5,"year").format("YYYY-MM-DD")]}static numTVAInForeignCompany(t){const e=t.get("adresse").get("pays").value,n=t.get("noTVA").value,i=t.get("numTVA").value;let a=null;return e&&e.hasTVA&&(a=n||i?null:{required:!0}),a}static numTVAInClient(t,e){let n=null;return t||(n={companyClosed:!0}),e===l.a.INVALID&&(n=Object.assign(Object.assign({},n),{invalid:!0})),n}static dateContrat(t,e){return i(e).isAfter(i(t))?{matDatepickerMax:!0}:null}static locationValidator(t,e){const n=!e.invalid&&!!e.value;return t.get("locations").controls.filter(t=>t.get("type").value===r.a.CLIENT).length>0&&!n?{ClientLocationInvalidBecauseNumTVAInvalid:!0}:null}static representativeValidator(t,e,n,i,a){let r=null;if(t===o.a.CLIENT){const t=!n.invalid,e=!n.get("numTVA").invalid,i=!!n.get("adresse").get("pays").value&&"FR"===n.get("adresse").get("pays").value.code;t?i||(r={clientNotFrench:!0}):r=e?{clientNotValid:!0}:{clientTVANotValid:!0}}return t===o.a.DIRIGEANT&&e.invalid&&(r={managerNotValid:!0}),t===o.a.SALARIE&&(a?i.controls.find(t=>t.get("id").value===a).get("identite").invalid&&(r={workerIdentityNotValid:!0}):r={noWorkerSelectedAsRepresentative:!0}),r}static siretValidator(t){return t===s.a.INVALID?{invalid:!0}:null}static prestationDatesValidator(t){return t.get("dateDebut").value&&t.get("dateFin").value?null:{prestationDates:{required:!0}}}static coordonneesValidator(t,e){return t===a.a.ADRESSE||e.get("latitude").value&&e.get("longitude").value?null:{coordonnees:{required:!0}}}static isSavedInArray(t){return t?null:{workerNotSavedInArray:!0}}static makeUnicityWorkersValidators(){return t=>{const e=t.controls.map(t=>this.getKeyWorkerWithFg(t));return new Set(e).size<e.length?{unicityWorkers:!0}:null}}static getKeyWorkerWithFg(t){const e=t.get("identite").get("nom"),n=t.get("identite").get("prenom"),i=t.get("identite").get("dateNaissance");return`${(e||{value:""}).value}-${(n||{value:""}).value}-${(i||{value:""}).value}`}}},S6ln:function(t,e,n){!function(t){"use strict";function e(t,e,n){var i=t+" ";switch(n){case"ss":return i+(1===t?"sekunda":2===t||3===t||4===t?"sekunde":"sekundi");case"m":return e?"jedna minuta":"jedne minute";case"mm":return i+(1===t?"minuta":2===t||3===t||4===t?"minute":"minuta");case"h":return e?"jedan sat":"jednog sata";case"hh":return i+(1===t?"sat":2===t||3===t||4===t?"sata":"sati");case"dd":return i+(1===t?"dan":"dana");case"MM":return i+(1===t?"mjesec":2===t||3===t||4===t?"mjeseca":"mjeseci");case"yy":return i+(1===t?"godina":2===t||3===t||4===t?"godine":"godina")}}t.defineLocale("hr",{months:{format:"sije\u010dnja_velja\u010de_o\u017eujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),standalone:"sije\u010danj_velja\u010da_o\u017eujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_")},monthsShort:"sij._velj._o\u017eu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"Do MMMM YYYY",LLL:"Do MMMM YYYY H:mm",LLLL:"dddd, Do MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010der u] LT",lastWeek:function(){switch(this.day()){case 0:return"[pro\u0161lu] [nedjelju] [u] LT";case 3:return"[pro\u0161lu] [srijedu] [u] LT";case 6:return"[pro\u0161le] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[pro\u0161li] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:e,m:e,mm:e,h:e,hh:e,d:"dan",dd:e,M:"mjesec",MM:e,y:"godinu",yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("wd/R"))},SCoL:function(t,e,n){"use strict";n.d(e,"a",function(){return s}),n.d(e,"b",function(){return l}),n.d(e,"c",function(){return _}),n.d(e,"d",function(){return b}),n.d(e,"e",function(){return d}),n.d(e,"f",function(){return f}),n.d(e,"g",function(){return g});var i=n("8Y7J"),a=n("SVse");let r;try{r="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(y){r=!1}let o,s=(()=>{class t{constructor(t){this._platformId=t,this.isBrowser=this._platformId?Object(a.v)(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!r)&&"undefined"!=typeof CSS&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}}return t.\u0275fac=function(e){return new(e||t)(i.Xb(i.D))},t.\u0275prov=Object(i.Jb)({factory:function(){return new t(Object(i.Xb)(i.D))},token:t,providedIn:"root"}),t})(),l=(()=>{class t{}return t.\u0275mod=i.Lb({type:t}),t.\u0275inj=i.Kb({factory:function(e){return new(e||t)}}),t})();const c=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function d(){if(o)return o;if("object"!=typeof document||!document)return o=new Set(c),o;let t=document.createElement("input");return o=new Set(c.filter(e=>(t.setAttribute("type",e),t.type===e))),o}let u,h,m,p;function f(t){return function(){if(null==u&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>u=!0}))}finally{u=u||!1}return u}()?t:!!t.capture}function g(){if(null==m){if("object"!=typeof document||!document)return m=!1,m;if("scrollBehavior"in document.documentElement.style)m=!0;else{const t=Element.prototype.scrollTo;m=!!t&&!/\{\s*\[native code\]\s*\}/.test(t.toString())}}return m}function b(){if("object"!=typeof document||!document)return 0;if(null==h){const t=document.createElement("div"),e=t.style;t.dir="rtl",e.width="1px",e.overflow="auto",e.visibility="hidden",e.pointerEvents="none",e.position="absolute";const n=document.createElement("div"),i=n.style;i.width="2px",i.height="1px",t.appendChild(n),document.body.appendChild(t),h=0,0===t.scrollLeft&&(t.scrollLeft=1,h=0===t.scrollLeft?1:2),t.parentNode.removeChild(t)}return h}function _(t){if(function(){if(null==p){const t="undefined"!=typeof document?document.head:null;p=!(!t||!t.createShadowRoot&&!t.attachShadow)}return p}()){const e=t.getRootNode?t.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&e instanceof ShadowRoot)return e}return null}},SFxW:function(t,e,n){!function(t){"use strict";var e={1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-\xfcnc\xfc",4:"-\xfcnc\xfc",100:"-\xfcnc\xfc",6:"-nc\u0131",9:"-uncu",10:"-uncu",30:"-uncu",60:"-\u0131nc\u0131",90:"-\u0131nc\u0131"};t.defineLocale("az",{months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekdays:"Bazar_Bazar ert\u0259si_\xc7\u0259r\u015f\u0259nb\u0259 ax\u015fam\u0131_\xc7\u0259r\u015f\u0259nb\u0259_C\xfcm\u0259 ax\u015fam\u0131_C\xfcm\u0259_\u015e\u0259nb\u0259".split("_"),weekdaysShort:"Baz_BzE_\xc7Ax_\xc7\u0259r_CAx_C\xfcm_\u015e\u0259n".split("_"),weekdaysMin:"Bz_BE_\xc7A_\xc7\u0259_CA_C\xfc_\u015e\u0259".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[g\u0259l\u0259n h\u0259ft\u0259] dddd [saat] LT",lastDay:"[d\xfcn\u0259n] LT",lastWeek:"[ke\xe7\u0259n h\u0259ft\u0259] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s \u0259vv\u0259l",s:"bir ne\xe7\u0259 saniy\u0259",ss:"%d saniy\u0259",m:"bir d\u0259qiq\u0259",mm:"%d d\u0259qiq\u0259",h:"bir saat",hh:"%d saat",d:"bir g\xfcn",dd:"%d g\xfcn",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gec\u0259|s\u0259h\u0259r|g\xfcnd\xfcz|ax\u015fam/,isPM:function(t){return/^(g\xfcnd\xfcz|ax\u015fam)$/.test(t)},meridiem:function(t,e,n){return t<4?"gec\u0259":t<12?"s\u0259h\u0259r":t<17?"g\xfcnd\xfcz":"ax\u015fam"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0131nc\u0131|inci|nci|\xfcnc\xfc|nc\u0131|uncu)/,ordinal:function(t){if(0===t)return t+"-\u0131nc\u0131";var n=t%10;return t+(e[n]||e[t%100-n]||e[t>=100?100:null])},week:{dow:1,doy:7}})}(n("wd/R"))},SKrM:function(t,e,n){"use strict";n.d(e,"a",function(){return o});var i=n("cXaA"),a=n("8Y7J"),r=n("IheW");let o=(()=>{class t{constructor(t){this.http=t,this.log=i.a.create("TvaService"),this.END_POINT="/api/tva"}checkTva(t){const e=`${this.END_POINT}/${t}`;return this.log.data(`[HTTP] (GET) -> ${e}`),this.http.get(e)}}return t.\u0275fac=function(e){return new(e||t)(a.Xb(r.b))},t.\u0275prov=a.Jb({token:t,factory:t.\u0275fac,providedIn:"root"}),t})()},SVse:function(t,e,n){"use strict";n.d(e,"a",function(){return v}),n.d(e,"b",function(){return Ot}),n.d(e,"c",function(){return Tt}),n.d(e,"d",function(){return l}),n.d(e,"e",function(){return kt}),n.d(e,"f",function(){return w}),n.d(e,"g",function(){return u}),n.d(e,"h",function(){return x}),n.d(e,"i",function(){return _}),n.d(e,"j",function(){return st}),n.d(e,"k",function(){return ct}),n.d(e,"l",function(){return ut}),n.d(e,"m",function(){return _t}),n.d(e,"n",function(){return ft}),n.d(e,"o",function(){return gt}),n.d(e,"p",function(){return bt}),n.d(e,"q",function(){return yt}),n.d(e,"r",function(){return C}),n.d(e,"s",function(){return c}),n.d(e,"t",function(){return St}),n.d(e,"u",function(){return Dt}),n.d(e,"v",function(){return Lt}),n.d(e,"w",function(){return s}),n.d(e,"x",function(){return Pt}),n.d(e,"y",function(){return r}),n.d(e,"z",function(){return ot}),n.d(e,"A",function(){return o});var i=n("8Y7J");let a=null;function r(){return a}function o(t){a||(a=t)}class s{}const l=new i.s("DocumentToken");let c=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Object(i.Jb)({factory:d,token:t,providedIn:"platform"}),t})();function d(){return Object(i.Xb)(h)}const u=new i.s("Location Initialized");let h=(()=>{class t extends c{constructor(t){super(),this._doc=t,this._init()}_init(){this.location=r().getLocation(),this._history=r().getHistory()}getBaseHrefFromDOM(){return r().getBaseHref(this._doc)}onPopState(t){r().getGlobalEventTarget(this._doc,"window").addEventListener("popstate",t,!1)}onHashChange(t){r().getGlobalEventTarget(this._doc,"window").addEventListener("hashchange",t,!1)}get href(){return this.location.href}get protocol(){return this.location.protocol}get hostname(){return this.location.hostname}get port(){return this.location.port}get pathname(){return this.location.pathname}get search(){return this.location.search}get hash(){return this.location.hash}set pathname(t){this.location.pathname=t}pushState(t,e,n){m()?this._history.pushState(t,e,n):this.location.hash=n}replaceState(t,e,n){m()?this._history.replaceState(t,e,n):this.location.hash=n}forward(){this._history.forward()}back(){this._history.back()}getState(){return this._history.state}}return t.\u0275fac=function(e){return new(e||t)(i.Xb(l))},t.\u0275prov=Object(i.Jb)({factory:p,token:t,providedIn:"platform"}),t})();function m(){return!!window.history.pushState}function p(){return new h(Object(i.Xb)(l))}function f(t,e){if(0==t.length)return e;if(0==e.length)return t;let n=0;return t.endsWith("/")&&n++,e.startsWith("/")&&n++,2==n?t+e.substring(1):1==n?t+e:t+"/"+e}function g(t){const e=t.match(/#|\?|$/),n=e&&e.index||t.length;return t.slice(0,n-("/"===t[n-1]?1:0))+t.slice(n)}function b(t){return t&&"?"!==t[0]?"?"+t:t}let _=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Object(i.Jb)({factory:y,token:t,providedIn:"root"}),t})();function y(t){const e=Object(i.Xb)(l).location;return new C(Object(i.Xb)(c),e&&e.origin||"")}const v=new i.s("appBaseHref");let C=(()=>{class t extends _{constructor(t,e){if(super(),this._platformLocation=t,null==e&&(e=this._platformLocation.getBaseHrefFromDOM()),null==e)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");this._baseHref=e}onPopState(t){this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t)}getBaseHref(){return this._baseHref}prepareExternalUrl(t){return f(this._baseHref,t)}path(t=!1){const e=this._platformLocation.pathname+b(this._platformLocation.search),n=this._platformLocation.hash;return n&&t?`${e}${n}`:e}pushState(t,e,n,i){const a=this.prepareExternalUrl(n+b(i));this._platformLocation.pushState(t,e,a)}replaceState(t,e,n,i){const a=this.prepareExternalUrl(n+b(i));this._platformLocation.replaceState(t,e,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}}return t.\u0275fac=function(e){return new(e||t)(i.Xb(c),i.Xb(v,8))},t.\u0275prov=i.Jb({token:t,factory:t.\u0275fac}),t})(),w=(()=>{class t extends _{constructor(t,e){super(),this._platformLocation=t,this._baseHref="",null!=e&&(this._baseHref=e)}onPopState(t){this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t)}getBaseHref(){return this._baseHref}path(t=!1){let e=this._platformLocation.hash;return null==e&&(e="#"),e.length>0?e.substring(1):e}prepareExternalUrl(t){const e=f(this._baseHref,t);return e.length>0?"#"+e:e}pushState(t,e,n,i){let a=this.prepareExternalUrl(n+b(i));0==a.length&&(a=this._platformLocation.pathname),this._platformLocation.pushState(t,e,a)}replaceState(t,e,n,i){let a=this.prepareExternalUrl(n+b(i));0==a.length&&(a=this._platformLocation.pathname),this._platformLocation.replaceState(t,e,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}}return t.\u0275fac=function(e){return new(e||t)(i.Xb(c),i.Xb(v,8))},t.\u0275prov=i.Jb({token:t,factory:t.\u0275fac}),t})(),x=(()=>{class t{constructor(t,e){this._subject=new i.o,this._urlChangeListeners=[],this._platformStrategy=t;const n=this._platformStrategy.getBaseHref();this._platformLocation=e,this._baseHref=g(O(n)),this._platformStrategy.onPopState(t=>{this._subject.emit({url:this.path(!0),pop:!0,state:t.state,type:t.type})})}path(t=!1){return this.normalize(this._platformStrategy.path(t))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(t,e=""){return this.path()==this.normalize(t+b(e))}normalize(e){return t.stripTrailingSlash(function(t,e){return t&&e.startsWith(t)?e.substring(t.length):e}(this._baseHref,O(e)))}prepareExternalUrl(t){return t&&"/"!==t[0]&&(t="/"+t),this._platformStrategy.prepareExternalUrl(t)}go(t,e="",n=null){this._platformStrategy.pushState(n,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+b(e)),n)}replaceState(t,e="",n=null){this._platformStrategy.replaceState(n,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+b(e)),n)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}onUrlChange(t){this._urlChangeListeners.push(t),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(t=>{this._notifyUrlChangeListeners(t.url,t.state)}))}_notifyUrlChangeListeners(t="",e){this._urlChangeListeners.forEach(n=>n(t,e))}subscribe(t,e,n){return this._subject.subscribe({next:t,error:e,complete:n})}}return t.\u0275fac=function(e){return new(e||t)(i.Xb(_),i.Xb(c))},t.normalizeQueryParams=b,t.joinWithSlash=f,t.stripTrailingSlash=g,t.\u0275prov=Object(i.Jb)({factory:M,token:t,providedIn:"root"}),t})();function M(){return new x(Object(i.Xb)(_),Object(i.Xb)(c))}function O(t){return t.replace(/\/index.html$/,"")}var k=function(t){return t[t.Zero=0]="Zero",t[t.One=1]="One",t[t.Two=2]="Two",t[t.Few=3]="Few",t[t.Many=4]="Many",t[t.Other=5]="Other",t}({}),S=function(t){return t[t.Format=0]="Format",t[t.Standalone=1]="Standalone",t}({}),T=function(t){return t[t.Narrow=0]="Narrow",t[t.Abbreviated=1]="Abbreviated",t[t.Wide=2]="Wide",t[t.Short=3]="Short",t}({}),P=function(t){return t[t.Short=0]="Short",t[t.Medium=1]="Medium",t[t.Long=2]="Long",t[t.Full=3]="Full",t}({}),L=function(t){return t[t.Decimal=0]="Decimal",t[t.Group=1]="Group",t[t.List=2]="List",t[t.PercentSign=3]="PercentSign",t[t.PlusSign=4]="PlusSign",t[t.MinusSign=5]="MinusSign",t[t.Exponential=6]="Exponential",t[t.SuperscriptingExponent=7]="SuperscriptingExponent",t[t.PerMille=8]="PerMille",t[t[1/0]=9]="Infinity",t[t.NaN=10]="NaN",t[t.TimeSeparator=11]="TimeSeparator",t[t.CurrencyDecimal=12]="CurrencyDecimal",t[t.CurrencyGroup=13]="CurrencyGroup",t}({});function D(t,e){return Y(Object(i.lb)(t)[i.cb.DateFormat],e)}function E(t,e){return Y(Object(i.lb)(t)[i.cb.TimeFormat],e)}function A(t,e){return Y(Object(i.lb)(t)[i.cb.DateTimeFormat],e)}function I(t,e){const n=Object(i.lb)(t),a=n[i.cb.NumberSymbols][e];if(void 0===a){if(e===L.CurrencyDecimal)return n[i.cb.NumberSymbols][L.Decimal];if(e===L.CurrencyGroup)return n[i.cb.NumberSymbols][L.Group]}return a}const R=i.ob;function N(t){if(!t[i.cb.ExtraData])throw new Error(`Missing extra locale data for the locale "${t[i.cb.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function Y(t,e){for(let n=e;n>-1;n--)if(void 0!==t[n])return t[n];throw new Error("Locale data API: locale data undefined")}function H(t){const[e,n]=t.split(":");return{hours:+e,minutes:+n}}const j=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,F={},z=/((?:[^GyYMLwWdEabBhHmsSzZO']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;var V=function(t){return t[t.Short=0]="Short",t[t.ShortGMT=1]="ShortGMT",t[t.Long=2]="Long",t[t.Extended=3]="Extended",t}({}),B=function(t){return t[t.FullYear=0]="FullYear",t[t.Month=1]="Month",t[t.Date=2]="Date",t[t.Hours=3]="Hours",t[t.Minutes=4]="Minutes",t[t.Seconds=5]="Seconds",t[t.FractionalSeconds=6]="FractionalSeconds",t[t.Day=7]="Day",t}({}),W=function(t){return t[t.DayPeriods=0]="DayPeriods",t[t.Days=1]="Days",t[t.Months=2]="Months",t[t.Eras=3]="Eras",t}({});function U(t,e,n,i){let a=function(t){if(it(t))return t;if("number"==typeof t&&!isNaN(t))return new Date(t);if("string"==typeof t){t=t.trim();const e=parseFloat(t);if(!isNaN(t-e))return new Date(e);if(/^(\d{4}-\d{1,2}-\d{1,2})$/.test(t)){const[e,n,i]=t.split("-").map(t=>+t);return new Date(e,n-1,i)}let n;if(n=t.match(j))return function(t){const e=new Date(0);let n=0,i=0;const a=t[8]?e.setUTCFullYear:e.setFullYear,r=t[8]?e.setUTCHours:e.setHours;t[9]&&(n=Number(t[9]+t[10]),i=Number(t[9]+t[11])),a.call(e,Number(t[1]),Number(t[2])-1,Number(t[3]));const o=Number(t[4]||0)-n,s=Number(t[5]||0)-i,l=Number(t[6]||0),c=Math.floor(1e3*parseFloat("0."+(t[7]||0)));return r.call(e,o,s,l,c),e}(n)}const e=new Date(t);if(!it(e))throw new Error(`Unable to convert "${t}" into a date`);return e}(t);e=q(n,e)||e;let r,o=[];for(;e;){if(r=z.exec(e),!r){o.push(e);break}{o=o.concat(r.slice(1));const t=o.pop();if(!t)break;e=t}}let s=a.getTimezoneOffset();i&&(s=nt(i,s),a=function(t,e,n){const i=t.getTimezoneOffset();return function(t,e){return(t=new Date(t.getTime())).setMinutes(t.getMinutes()+e),t}(t,-1*(nt(e,i)-i))}(a,i));let l="";return o.forEach(t=>{const e=function(t){if(et[t])return et[t];let e;switch(t){case"G":case"GG":case"GGG":e=$(W.Eras,T.Abbreviated);break;case"GGGG":e=$(W.Eras,T.Wide);break;case"GGGGG":e=$(W.Eras,T.Narrow);break;case"y":e=Z(B.FullYear,1,0,!1,!0);break;case"yy":e=Z(B.FullYear,2,0,!0,!0);break;case"yyy":e=Z(B.FullYear,3,0,!1,!0);break;case"yyyy":e=Z(B.FullYear,4,0,!1,!0);break;case"Y":e=tt(1);break;case"YY":e=tt(2,!0);break;case"YYY":e=tt(3);break;case"YYYY":e=tt(4);break;case"M":case"L":e=Z(B.Month,1,1);break;case"MM":case"LL":e=Z(B.Month,2,1);break;case"MMM":e=$(W.Months,T.Abbreviated);break;case"MMMM":e=$(W.Months,T.Wide);break;case"MMMMM":e=$(W.Months,T.Narrow);break;case"LLL":e=$(W.Months,T.Abbreviated,S.Standalone);break;case"LLLL":e=$(W.Months,T.Wide,S.Standalone);break;case"LLLLL":e=$(W.Months,T.Narrow,S.Standalone);break;case"w":e=Q(1);break;case"ww":e=Q(2);break;case"W":e=Q(1,!0);break;case"d":e=Z(B.Date,1);break;case"dd":e=Z(B.Date,2);break;case"E":case"EE":case"EEE":e=$(W.Days,T.Abbreviated);break;case"EEEE":e=$(W.Days,T.Wide);break;case"EEEEE":e=$(W.Days,T.Narrow);break;case"EEEEEE":e=$(W.Days,T.Short);break;case"a":case"aa":case"aaa":e=$(W.DayPeriods,T.Abbreviated);break;case"aaaa":e=$(W.DayPeriods,T.Wide);break;case"aaaaa":e=$(W.DayPeriods,T.Narrow);break;case"b":case"bb":case"bbb":e=$(W.DayPeriods,T.Abbreviated,S.Standalone,!0);break;case"bbbb":e=$(W.DayPeriods,T.Wide,S.Standalone,!0);break;case"bbbbb":e=$(W.DayPeriods,T.Narrow,S.Standalone,!0);break;case"B":case"BB":case"BBB":e=$(W.DayPeriods,T.Abbreviated,S.Format,!0);break;case"BBBB":e=$(W.DayPeriods,T.Wide,S.Format,!0);break;case"BBBBB":e=$(W.DayPeriods,T.Narrow,S.Format,!0);break;case"h":e=Z(B.Hours,1,-12);break;case"hh":e=Z(B.Hours,2,-12);break;case"H":e=Z(B.Hours,1);break;case"HH":e=Z(B.Hours,2);break;case"m":e=Z(B.Minutes,1);break;case"mm":e=Z(B.Minutes,2);break;case"s":e=Z(B.Seconds,1);break;case"ss":e=Z(B.Seconds,2);break;case"S":e=Z(B.FractionalSeconds,1);break;case"SS":e=Z(B.FractionalSeconds,2);break;case"SSS":e=Z(B.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":e=X(V.Short);break;case"ZZZZZ":e=X(V.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":e=X(V.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":e=X(V.Long);break;default:return null}return et[t]=e,e}(t);l+=e?e(a,n,s):"''"===t?"'":t.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),l}function q(t,e){const n=function(t){return Object(i.lb)(t)[i.cb.LocaleId]}(t);if(F[n]=F[n]||{},F[n][e])return F[n][e];let a="";switch(e){case"shortDate":a=D(t,P.Short);break;case"mediumDate":a=D(t,P.Medium);break;case"longDate":a=D(t,P.Long);break;case"fullDate":a=D(t,P.Full);break;case"shortTime":a=E(t,P.Short);break;case"mediumTime":a=E(t,P.Medium);break;case"longTime":a=E(t,P.Long);break;case"fullTime":a=E(t,P.Full);break;case"short":const e=q(t,"shortTime"),n=q(t,"shortDate");a=G(A(t,P.Short),[e,n]);break;case"medium":const i=q(t,"mediumTime"),r=q(t,"mediumDate");a=G(A(t,P.Medium),[i,r]);break;case"long":const o=q(t,"longTime"),s=q(t,"longDate");a=G(A(t,P.Long),[o,s]);break;case"full":const l=q(t,"fullTime"),c=q(t,"fullDate");a=G(A(t,P.Full),[l,c])}return a&&(F[n][e]=a),a}function G(t,e){return e&&(t=t.replace(/\{([^}]+)}/g,function(t,n){return null!=e&&n in e?e[n]:t})),t}function J(t,e,n="-",i,a){let r="";(t<0||a&&t<=0)&&(a?t=1-t:(t=-t,r=n));let o=String(t);for(;o.length<e;)o="0"+o;return i&&(o=o.substr(o.length-e)),r+o}function Z(t,e,n=0,i=!1,a=!1){return function(r,o){let s=function(t,e){switch(t){case B.FullYear:return e.getFullYear();case B.Month:return e.getMonth();case B.Date:return e.getDate();case B.Hours:return e.getHours();case B.Minutes:return e.getMinutes();case B.Seconds:return e.getSeconds();case B.FractionalSeconds:return e.getMilliseconds();case B.Day:return e.getDay();default:throw new Error(`Unknown DateType value "${t}".`)}}(t,r);if((n>0||s>-n)&&(s+=n),t===B.Hours)0===s&&-12===n&&(s=12);else if(t===B.FractionalSeconds)return l=e,J(s,3).substr(0,l);var l;const c=I(o,L.MinusSign);return J(s,e,c,i,a)}}function $(t,e,n=S.Format,a=!1){return function(r,o){return function(t,e,n,a,r,o){switch(n){case W.Months:return function(t,e,n){const a=Object(i.lb)(t),r=Y([a[i.cb.MonthsFormat],a[i.cb.MonthsStandalone]],e);return Y(r,n)}(e,r,a)[t.getMonth()];case W.Days:return function(t,e,n){const a=Object(i.lb)(t),r=Y([a[i.cb.DaysFormat],a[i.cb.DaysStandalone]],e);return Y(r,n)}(e,r,a)[t.getDay()];case W.DayPeriods:const s=t.getHours(),l=t.getMinutes();if(o){const t=function(t){const e=Object(i.lb)(t);return N(e),(e[i.cb.ExtraData][2]||[]).map(t=>"string"==typeof t?H(t):[H(t[0]),H(t[1])])}(e),n=function(t,e,n){const a=Object(i.lb)(t);N(a);const r=Y([a[i.cb.ExtraData][0],a[i.cb.ExtraData][1]],e)||[];return Y(r,n)||[]}(e,r,a),o=t.findIndex(t=>{if(Array.isArray(t)){const[e,n]=t,i=s>=e.hours&&l>=e.minutes,a=s<n.hours||s===n.hours&&l<n.minutes;if(e.hours<n.hours){if(i&&a)return!0}else if(i||a)return!0}else if(t.hours===s&&t.minutes===l)return!0;return!1});if(-1!==o)return n[o]}return function(t,e,n){const a=Object(i.lb)(t),r=Y([a[i.cb.DayPeriodsFormat],a[i.cb.DayPeriodsStandalone]],e);return Y(r,n)}(e,r,a)[s<12?0:1];case W.Eras:return function(t,e){return Y(Object(i.lb)(t)[i.cb.Eras],e)}(e,a)[t.getFullYear()<=0?0:1];default:throw new Error(`unexpected translation type ${n}`)}}(r,o,t,e,n,a)}}function X(t){return function(e,n,i){const a=-1*i,r=I(n,L.MinusSign),o=a>0?Math.floor(a/60):Math.ceil(a/60);switch(t){case V.Short:return(a>=0?"+":"")+J(o,2,r)+J(Math.abs(a%60),2,r);case V.ShortGMT:return"GMT"+(a>=0?"+":"")+J(o,1,r);case V.Long:return"GMT"+(a>=0?"+":"")+J(o,2,r)+":"+J(Math.abs(a%60),2,r);case V.Extended:return 0===i?"Z":(a>=0?"+":"")+J(o,2,r)+":"+J(Math.abs(a%60),2,r);default:throw new Error(`Unknown zone width "${t}"`)}}}function K(t){return new Date(t.getFullYear(),t.getMonth(),t.getDate()+(4-t.getDay()))}function Q(t,e=!1){return function(n,i){let a;if(e){const t=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,e=n.getDate();a=1+Math.floor((e+t)/7)}else{const t=K(n),e=function(t){const e=new Date(t,0,1).getDay();return new Date(t,0,1+(e<=4?4:11)-e)}(t.getFullYear()),i=t.getTime()-e.getTime();a=1+Math.round(i/6048e5)}return J(a,t,I(i,L.MinusSign))}}function tt(t,e=!1){return function(n,i){return J(K(n).getFullYear(),t,I(i,L.MinusSign),e)}}const et={};function nt(t,e){t=t.replace(/:/g,"");const n=Date.parse("Jan 01, 1970 00:00:00 "+t)/6e4;return isNaN(n)?e:n}function it(t){return t instanceof Date&&!isNaN(t.valueOf())}class at{}let rt=(()=>{class t extends at{constructor(t){super(),this.locale=t}getPluralCategory(t,e){switch(R(e||this.locale)(t)){case k.Zero:return"zero";case k.One:return"one";case k.Two:return"two";case k.Few:return"few";case k.Many:return"many";default:return"other"}}}return t.\u0275fac=function(e){return new(e||t)(i.Xb(i.w))},t.\u0275prov=i.Jb({token:t,factory:t.\u0275fac}),t})();function ot(t,e){e=encodeURIComponent(e);for(const n of t.split(";")){const t=n.indexOf("="),[i,a]=-1==t?[n,""]:[n.slice(0,t),n.slice(t+1)];if(i.trim()===e)return decodeURIComponent(a)}return null}let st=(()=>{class t{constructor(t,e,n,i){this._iterableDiffers=t,this._keyValueDiffers=e,this._ngEl=n,this._renderer=i,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(t){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof t?t.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(t){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof t?t.split(/\s+/):t,this._rawClass&&(Object(i.rb)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const t=this._iterableDiffer.diff(this._rawClass);t&&this._applyIterableChanges(t)}else if(this._keyValueDiffer){const t=this._keyValueDiffer.diff(this._rawClass);t&&this._applyKeyValueChanges(t)}}_applyKeyValueChanges(t){t.forEachAddedItem(t=>this._toggleClass(t.key,t.currentValue)),t.forEachChangedItem(t=>this._toggleClass(t.key,t.currentValue)),t.forEachRemovedItem(t=>{t.previousValue&&this._toggleClass(t.key,!1)})}_applyIterableChanges(t){t.forEachAddedItem(t=>{if("string"!=typeof t.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${Object(i.xb)(t.item)}`);this._toggleClass(t.item,!0)}),t.forEachRemovedItem(t=>this._toggleClass(t.item,!1))}_applyClasses(t){t&&(Array.isArray(t)||t instanceof Set?t.forEach(t=>this._toggleClass(t,!0)):Object.keys(t).forEach(e=>this._toggleClass(e,!!t[e])))}_removeClasses(t){t&&(Array.isArray(t)||t instanceof Set?t.forEach(t=>this._toggleClass(t,!1)):Object.keys(t).forEach(t=>this._toggleClass(t,!1)))}_toggleClass(t,e){(t=t.trim())&&t.split(/\s+/g).forEach(t=>{e?this._renderer.addClass(this._ngEl.nativeElement,t):this._renderer.removeClass(this._ngEl.nativeElement,t)})}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.u),i.Nb(i.v),i.Nb(i.l),i.Nb(i.G))},t.\u0275dir=i.Ib({type:t,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),t})();class lt{constructor(t,e,n,i){this.$implicit=t,this.ngForOf=e,this.index=n,this.count=i}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let ct=(()=>{class t{constructor(t,e,n){this._viewContainer=t,this._template=e,this._differs=n,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(t){this._ngForOf=t,this._ngForOfDirty=!0}set ngForTrackBy(t){this._trackByFn=t}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(t){t&&(this._template=t)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const n=this._ngForOf;if(!this._differ&&n)try{this._differ=this._differs.find(n).create(this.ngForTrackBy)}catch(e){throw new Error(`Cannot find a differ supporting object '${n}' of type '${t=n,t.name||typeof t}'. NgFor only supports binding to Iterables such as Arrays.`)}}var t;if(this._differ){const t=this._differ.diff(this._ngForOf);t&&this._applyChanges(t)}}_applyChanges(t){const e=[];t.forEachOperation((t,n,i)=>{if(null==t.previousIndex){const n=this._viewContainer.createEmbeddedView(this._template,new lt(null,this._ngForOf,-1,-1),null===i?void 0:i),a=new dt(t,n);e.push(a)}else if(null==i)this._viewContainer.remove(null===n?void 0:n);else if(null!==n){const a=this._viewContainer.get(n);this._viewContainer.move(a,i);const r=new dt(t,a);e.push(r)}});for(let n=0;n<e.length;n++)this._perViewChange(e[n].view,e[n].record);for(let n=0,i=this._viewContainer.length;n<i;n++){const t=this._viewContainer.get(n);t.context.index=n,t.context.count=i,t.context.ngForOf=this._ngForOf}t.forEachIdentityChange(t=>{this._viewContainer.get(t.currentIndex).context.$implicit=t.item})}_perViewChange(t,e){t.context.$implicit=e.item}static ngTemplateContextGuard(t,e){return!0}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.R),i.Nb(i.N),i.Nb(i.u))},t.\u0275dir=i.Ib({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),t})();class dt{constructor(t,e){this.record=t,this.view=e}}let ut=(()=>{class t{constructor(t,e){this._viewContainer=t,this._context=new ht,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=e}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}set ngIfThen(t){mt("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){mt("ngIfElse",t),this._elseTemplateRef=t,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(t,e){return!0}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.R),i.Nb(i.N))},t.\u0275dir=i.Ib({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),t})();class ht{constructor(){this.$implicit=null,this.ngIf=null}}function mt(t,e){if(e&&!e.createEmbeddedView)throw new Error(`${t} must be a TemplateRef, but received '${Object(i.xb)(e)}'.`)}class pt{constructor(t,e){this._viewContainerRef=t,this._templateRef=e,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(t){t&&!this._created?this.create():!t&&this._created&&this.destroy()}}let ft=(()=>{class t{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(t){this._ngSwitch=t,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(t){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(t)}_matchCase(t){const e=t==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||e,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),e}_updateDefaultCases(t){if(this._defaultViews&&t!==this._defaultUsed){this._defaultUsed=t;for(let e=0;e<this._defaultViews.length;e++)this._defaultViews[e].enforceState(t)}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.Ib({type:t,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"}}),t})(),gt=(()=>{class t{constructor(t,e,n){this.ngSwitch=n,n._addCase(),this._view=new pt(t,e)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.R),i.Nb(i.N),i.Nb(ft,1))},t.\u0275dir=i.Ib({type:t,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),t})(),bt=(()=>{class t{constructor(t,e,n){n._addDefault(new pt(t,e))}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.R),i.Nb(i.N),i.Nb(ft,1))},t.\u0275dir=i.Ib({type:t,selectors:[["","ngSwitchDefault",""]]}),t})(),_t=(()=>{class t{constructor(t,e,n){this._ngEl=t,this._differs=e,this._renderer=n,this._ngStyle=null,this._differ=null}set ngStyle(t){this._ngStyle=t,!this._differ&&t&&(this._differ=this._differs.find(t).create())}ngDoCheck(){if(this._differ){const t=this._differ.diff(this._ngStyle);t&&this._applyChanges(t)}}_setStyle(t,e){const[n,i]=t.split(".");null!=(e=null!=e&&i?`${e}${i}`:e)?this._renderer.setStyle(this._ngEl.nativeElement,n,e):this._renderer.removeStyle(this._ngEl.nativeElement,n)}_applyChanges(t){t.forEachRemovedItem(t=>this._setStyle(t.key,null)),t.forEachAddedItem(t=>this._setStyle(t.key,t.currentValue)),t.forEachChangedItem(t=>this._setStyle(t.key,t.currentValue))}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.l),i.Nb(i.v),i.Nb(i.G))},t.\u0275dir=i.Ib({type:t,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}),t})(),yt=(()=>{class t{constructor(t){this._viewContainerRef=t,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null}ngOnChanges(t){if(this._shouldRecreateView(t)){const t=this._viewContainerRef;this._viewRef&&t.remove(t.indexOf(this._viewRef)),this._viewRef=this.ngTemplateOutlet?t.createEmbeddedView(this.ngTemplateOutlet,this.ngTemplateOutletContext):null}else this._viewRef&&this.ngTemplateOutletContext&&this._updateExistingContext(this.ngTemplateOutletContext)}_shouldRecreateView(t){const e=t.ngTemplateOutletContext;return!!t.ngTemplateOutlet||e&&this._hasContextShapeChanged(e)}_hasContextShapeChanged(t){const e=Object.keys(t.previousValue||{}),n=Object.keys(t.currentValue||{});if(e.length===n.length){for(let t of n)if(-1===e.indexOf(t))return!0;return!1}return!0}_updateExistingContext(t){for(let e of Object.keys(t))this._viewRef.context[e]=this.ngTemplateOutletContext[e]}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.R))},t.\u0275dir=i.Ib({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet"},features:[i.Ab]}),t})();function vt(t,e){return Error(`InvalidPipeArgument: '${e}' for pipe '${Object(i.xb)(t)}'`)}class Ct{createSubscription(t,e){return t.subscribe({next:e,error:t=>{throw t}})}dispose(t){t.unsubscribe()}onDestroy(t){t.unsubscribe()}}class wt{createSubscription(t,e){return t.then(e,t=>{throw t})}dispose(t){}onDestroy(t){}}const xt=new wt,Mt=new Ct;let Ot=(()=>{class t{constructor(t){this._ref=t,this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null}ngOnDestroy(){this._subscription&&this._dispose()}transform(t){return this._obj?t!==this._obj?(this._dispose(),this.transform(t)):this._latestValue:(t&&this._subscribe(t),this._latestValue)}_subscribe(t){this._obj=t,this._strategy=this._selectStrategy(t),this._subscription=this._strategy.createSubscription(t,e=>this._updateLatestValue(t,e))}_selectStrategy(e){if(Object(i.tb)(e))return xt;if(Object(i.ub)(e))return Mt;throw vt(t,e)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(t,e){t===this._obj&&(this._latestValue=e,this._ref.markForCheck())}}return t.\u0275fac=function(e){return new(e||t)(i.Zb())},t.\u0275pipe=i.Mb({name:"async",type:t,pure:!1}),t})(),kt=(()=>{class t{constructor(t){this.locale=t}transform(e,n="mediumDate",i,a){if(null==e||""===e||e!=e)return null;try{return U(e,n,a||this.locale,i)}catch(r){throw vt(t,r.message)}}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.w))},t.\u0275pipe=i.Mb({name:"date",type:t,pure:!0}),t})(),St=(()=>{class t{transform(e,n,i){if(null==e)return null;if(!this.supports(e))throw vt(t,e);return e.slice(n,i)}supports(t){return"string"==typeof t||Array.isArray(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=i.Mb({name:"slice",type:t,pure:!1}),t})(),Tt=(()=>{class t{}return t.\u0275mod=i.Lb({type:t}),t.\u0275inj=i.Kb({factory:function(e){return new(e||t)},providers:[{provide:at,useClass:rt}]}),t})();const Pt="browser";function Lt(t){return t===Pt}let Dt=(()=>{class t{}return t.\u0275prov=Object(i.Jb)({token:t,providedIn:"root",factory:()=>new Et(Object(i.Xb)(l),window)}),t})();class Et{constructor(t,e){this.document=t,this.window=e,this.offset=()=>[0,0]}setOffset(t){this.offset=Array.isArray(t)?()=>t:t}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(t){this.supportsScrolling()&&this.window.scrollTo(t[0],t[1])}scrollToAnchor(t){var e;if(!this.supportsScrolling())return;const n=null!==(e=this.document.getElementById(t))&&void 0!==e?e:this.document.getElementsByName(t)[0];void 0!==n&&(this.scrollToElement(n),this.attemptFocus(n))}setHistoryScrollRestoration(t){if(this.supportScrollRestoration()){const e=this.window.history;e&&e.scrollRestoration&&(e.scrollRestoration=t)}}scrollToElement(t){const e=t.getBoundingClientRect(),n=e.left+this.window.pageXOffset,i=e.top+this.window.pageYOffset,a=this.offset();this.window.scrollTo(n-a[0],i-a[1])}attemptFocus(t){return t.focus(),this.document.activeElement===t}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const t=At(this.window.history)||At(Object.getPrototypeOf(this.window.history));return!(!t||!t.writable&&!t.set)}catch(t){return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch(t){return!1}}}function At(t){return Object.getOwnPropertyDescriptor(t,"scrollRestoration")}},SatO:function(t,e,n){!function(t){"use strict";t.defineLocale("zh-hk",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u51cc\u6668"===e||"\u65e9\u4e0a"===e||"\u4e0a\u5348"===e?t:"\u4e2d\u5348"===e?t>=11?t:t+12:"\u4e0b\u5348"===e||"\u665a\u4e0a"===e?t+12:void 0},meridiem:function(t,e,n){var i=100*t+e;return i<600?"\u51cc\u6668":i<900?"\u65e9\u4e0a":i<1200?"\u4e0a\u5348":1200===i?"\u4e2d\u5348":i<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:"[\u4e0b]ddddLT",lastDay:"[\u6628\u5929]LT",lastWeek:"[\u4e0a]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"\u65e5";case"M":return t+"\u6708";case"w":case"W":return t+"\u9031";default:return t}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(n("wd/R"))},SeVD:function(t,e,n){"use strict";n.d(e,"a",function(){return d});var i=n("ngJS"),a=n("NJ4a"),r=n("Lhse"),o=n("kJWO"),s=n("I55L"),l=n("c2HN"),c=n("XoHu");const d=t=>{if(t&&"function"==typeof t[o.a])return d=t,t=>{const e=d[o.a]();if("function"!=typeof e.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return e.subscribe(t)};if(Object(s.a)(t))return Object(i.a)(t);if(Object(l.a)(t))return n=t,t=>(n.then(e=>{t.closed||(t.next(e),t.complete())},e=>t.error(e)).then(null,a.a),t);if(t&&"function"==typeof t[r.a])return e=t,t=>{const n=e[r.a]();for(;;){let e;try{e=n.next()}catch(i){return t.error(i),t}if(e.done){t.complete();break}if(t.next(e.value),t.closed)break}return"function"==typeof n.return&&t.add(()=>{n.return&&n.return()}),t};{const e=Object(c.a)(t)?"an invalid object":`'${t}'`;throw new TypeError(`You provided ${e} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`)}var e,n,d}},SpAZ:function(t,e,n){"use strict";function i(t){return t}n.d(e,"a",function(){return i})},SqCe:function(t,e,n){"use strict";n.d(e,"a",function(){return x}),n.d(e,"b",function(){return M}),n.d(e,"c",function(){return y});var i=n("SVse"),a=n("8Y7J"),r=n("UhP/"),o=n("8LU1"),s=n("XNiG"),l=n("1G5W"),c=(n("JX91"),n("YEUz"),n("CtHx"),n("Ht+U"),n("s7LF"),n("BSbQ"));const d=["*"],u=[[["","mat-list-avatar",""],["","mat-list-icon",""],["","matListAvatar",""],["","matListIcon",""]],[["","mat-line",""],["","matLine",""]],"*"],h=["[mat-list-avatar], [mat-list-icon], [matListAvatar], [matListIcon]","[mat-line], [matLine]","*"];class m{}const p=Object(r.y)(Object(r.x)(m));class f{}const g=Object(r.x)(f),b=new a.s("MatList"),_=new a.s("MatNavList");let y=(()=>{class t extends p{constructor(){super(...arguments),this._stateChanges=new s.a}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}return t.\u0275fac=function(e){return v(e||t)},t.\u0275cmp=a.Hb({type:t,selectors:[["mat-nav-list"]],hostAttrs:["role","navigation",1,"mat-nav-list","mat-list-base"],inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matNavList"],features:[a.Bb([{provide:_,useExisting:t}]),a.zb,a.Ab],ngContentSelectors:d,decls:1,vars:0,template:function(t,e){1&t&&(a.mc(),a.lc(0))},styles:['.mat-subheader{display:flex;box-sizing:border-box;padding:16px;align-items:center}.mat-list-base .mat-subheader{margin:0}.mat-list-base{padding-top:8px;display:block;-webkit-tap-highlight-color:transparent}.mat-list-base .mat-subheader{height:48px;line-height:16px}.mat-list-base .mat-subheader:first-child{margin-top:-8px}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{display:block;height:48px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list-base .mat-list-item .mat-list-item-content,.mat-list-base .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base .mat-list-item .mat-list-item-content-reverse,.mat-list-base .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base .mat-list-item .mat-list-item-ripple,.mat-list-base .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar,.mat-list-base .mat-list-option.mat-list-item-with-avatar{height:56px}.mat-list-base .mat-list-item.mat-2-line,.mat-list-base .mat-list-option.mat-2-line{height:72px}.mat-list-base .mat-list-item.mat-3-line,.mat-list-base .mat-list-option.mat-3-line{height:88px}.mat-list-base .mat-list-item.mat-multi-line,.mat-list-base .mat-list-option.mat-multi-line{height:auto}.mat-list-base .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base .mat-list-item .mat-list-text,.mat-list-base .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base .mat-list-item .mat-list-text>*,.mat-list-base .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base .mat-list-item .mat-list-text:empty,.mat-list-base .mat-list-option .mat-list-text:empty{display:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base .mat-list-item .mat-list-avatar,.mat-list-base .mat-list-option .mat-list-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%;object-fit:cover}.mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:72px;width:calc(100% - 72px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:72px}.mat-list-base .mat-list-item .mat-list-icon,.mat-list-base .mat-list-option .mat-list-icon{flex-shrink:0;width:24px;height:24px;font-size:24px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:64px;width:calc(100% - 64px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:64px}.mat-list-base .mat-list-item .mat-divider,.mat-list-base .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base .mat-list-item .mat-divider,[dir=rtl] .mat-list-base .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-list-base[dense]{padding-top:4px;display:block}.mat-list-base[dense] .mat-subheader{height:40px;line-height:8px}.mat-list-base[dense] .mat-subheader:first-child{margin-top:-4px}.mat-list-base[dense] .mat-list-item,.mat-list-base[dense] .mat-list-option{display:block;height:40px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-item-content,.mat-list-base[dense] .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base[dense] .mat-list-item .mat-list-item-content-reverse,.mat-list-base[dense] .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base[dense] .mat-list-item .mat-list-item-ripple,.mat-list-base[dense] .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar{height:48px}.mat-list-base[dense] .mat-list-item.mat-2-line,.mat-list-base[dense] .mat-list-option.mat-2-line{height:60px}.mat-list-base[dense] .mat-list-item.mat-3-line,.mat-list-base[dense] .mat-list-option.mat-3-line{height:76px}.mat-list-base[dense] .mat-list-item.mat-multi-line,.mat-list-base[dense] .mat-list-option.mat-multi-line{height:auto}.mat-list-base[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base[dense] .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base[dense] .mat-list-item .mat-list-text,.mat-list-base[dense] .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-text>*,.mat-list-base[dense] .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base[dense] .mat-list-item .mat-list-text:empty,.mat-list-base[dense] .mat-list-option .mat-list-text:empty{display:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base[dense] .mat-list-item .mat-list-avatar,.mat-list-base[dense] .mat-list-option .mat-list-avatar{flex-shrink:0;width:36px;height:36px;border-radius:50%;object-fit:cover}.mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:68px;width:calc(100% - 68px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:68px}.mat-list-base[dense] .mat-list-item .mat-list-icon,.mat-list-base[dense] .mat-list-option .mat-list-icon{flex-shrink:0;width:20px;height:20px;font-size:20px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:60px;width:calc(100% - 60px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:60px}.mat-list-base[dense] .mat-list-item .mat-divider,.mat-list-base[dense] .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-nav-list a{text-decoration:none;color:inherit}.mat-nav-list .mat-list-item{cursor:pointer;outline:none}mat-action-list button{background:none;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:transparent;text-align:left}[dir=rtl] mat-action-list button{text-align:right}mat-action-list button::-moz-focus-inner{border:0}mat-action-list .mat-list-item{cursor:pointer;outline:inherit}.mat-list-option:not(.mat-list-item-disabled){cursor:pointer;outline:none}.mat-list-item-disabled{pointer-events:none}.cdk-high-contrast-active .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active :host .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active .mat-selection-list:focus{outline-style:dotted}.cdk-high-contrast-active .mat-list-option:hover,.cdk-high-contrast-active .mat-list-option:focus,.cdk-high-contrast-active .mat-nav-list .mat-list-item:hover,.cdk-high-contrast-active .mat-nav-list .mat-list-item:focus,.cdk-high-contrast-active mat-action-list .mat-list-item:hover,.cdk-high-contrast-active mat-action-list .mat-list-item:focus{outline:dotted 1px}.cdk-high-contrast-active .mat-list-single-selected-option::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}.cdk-high-contrast-active [dir=rtl] .mat-list-single-selected-option::after{right:auto;left:16px}@media(hover: none){.mat-list-option:not(.mat-list-single-selected-option):not(.mat-list-item-disabled):hover,.mat-nav-list .mat-list-item:not(.mat-list-item-disabled):hover,.mat-action-list .mat-list-item:not(.mat-list-item-disabled):hover{background:none}}\n'],encapsulation:2,changeDetection:0}),t})();const v=a.Vb(y);let C=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=a.Ib({type:t,selectors:[["","mat-list-avatar",""],["","matListAvatar",""]],hostAttrs:[1,"mat-list-avatar"]}),t})(),w=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=a.Ib({type:t,selectors:[["","mat-list-icon",""],["","matListIcon",""]],hostAttrs:[1,"mat-list-icon"]}),t})(),x=(()=>{class t extends g{constructor(t,e,n,i){super(),this._element=t,this._isInteractiveList=!1,this._destroyed=new s.a,this._disabled=!1,this._isInteractiveList=!!(n||i&&"action-list"===i._getListType()),this._list=n||i;const a=this._getHostElement();"button"!==a.nodeName.toLowerCase()||a.hasAttribute("type")||a.setAttribute("type","button"),this._list&&this._list._stateChanges.pipe(Object(l.a)(this._destroyed)).subscribe(()=>{e.markForCheck()})}get disabled(){return this._disabled||!(!this._list||!this._list.disabled)}set disabled(t){this._disabled=Object(o.c)(t)}ngAfterContentInit(){Object(r.C)(this._lines,this._element)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_isRippleDisabled(){return!this._isInteractiveList||this.disableRipple||!(!this._list||!this._list.disableRipple)}_getHostElement(){return this._element.nativeElement}}return t.\u0275fac=function(e){return new(e||t)(a.Nb(a.l),a.Nb(a.h),a.Nb(_,8),a.Nb(b,8))},t.\u0275cmp=a.Hb({type:t,selectors:[["mat-list-item"],["a","mat-list-item",""],["button","mat-list-item",""]],contentQueries:function(t,e,n){if(1&t&&(a.Gb(n,C,1),a.Gb(n,w,1),a.Gb(n,r.k,1)),2&t){let t;a.uc(t=a.cc())&&(e._avatar=t.first),a.uc(t=a.cc())&&(e._icon=t.first),a.uc(t=a.cc())&&(e._lines=t)}},hostAttrs:[1,"mat-list-item","mat-focus-indicator"],hostVars:6,hostBindings:function(t,e){2&t&&a.Fb("mat-list-item-disabled",e.disabled)("mat-list-item-avatar",e._avatar||e._icon)("mat-list-item-with-avatar",e._avatar||e._icon)},inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matListItem"],features:[a.zb],ngContentSelectors:h,decls:6,vars:2,consts:[[1,"mat-list-item-content"],["mat-ripple","",1,"mat-list-item-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-list-text"]],template:function(t,e){1&t&&(a.mc(u),a.Tb(0,"div",0),a.Ob(1,"div",1),a.lc(2),a.Tb(3,"div",2),a.lc(4,1),a.Sb(),a.lc(5,2),a.Sb()),2&t&&(a.Cb(1),a.nc("matRippleTrigger",e._getHostElement())("matRippleDisabled",e._isRippleDisabled()))},directives:[r.r],encapsulation:2,changeDetection:0}),t})(),M=(()=>{class t{}return t.\u0275mod=a.Lb({type:t}),t.\u0275inj=a.Kb({factory:function(e){return new(e||t)},imports:[[r.l,r.s,r.j,r.q,i.c],r.l,r.j,r.q,c.b]}),t})()},TGtj:function(t,e,n){"use strict";n.r(e),n.d(e,"LegalsModule",function(){return b});var i=n("SVse"),a=n("PCNd"),r=n("iInd"),o=n("IGtN"),s=n("8Y7J"),l=n("TSSN"),c=n("cXaA"),d=n("IheW");let u=(()=>{class t{constructor(t){this.http=t,this.log=c.a.create("LegalsService"),this.END_POINT="/api/legals"}getFaqs(){const t=this.END_POINT;return this.log.data(`[HTTP] (GET) -> ${t}`),this.http.get(t)}}return t.\u0275fac=function(e){return new(e||t)(s.Xb(d.b))},t.\u0275prov=s.Jb({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();var h=n("o4Yh"),m=n("KSFr");function p(t,e){if(1&t&&(s.Tb(0,"mat-expansion-panel"),s.Tb(1,"mat-expansion-panel-header"),s.Tb(2,"mat-panel-title"),s.Tb(3,"span",2),s.Hc(4),s.Sb(),s.Sb(),s.Sb(),s.Ob(5,"div",3),s.gc(6,"safeHtml"),s.Sb()),2&t){const t=e.$implicit;s.Cb(4),s.Ic(t.title),s.Cb(1),s.nc("innerHTML",s.hc(6,2,t.content),s.zc)}}let f=(()=>{class t extends o.a{constructor(t,e){super(t),this.translateService=t,this.legalsService=e,this.legals=new Array}load(){this.legalsService.getFaqs().subscribe(t=>this.legals=t)}}return t.\u0275fac=function(e){return new(e||t)(s.Nb(l.d),s.Nb(u))},t.\u0275cmp=s.Hb({type:t,selectors:[["app-page-legals"]],features:[s.zb],decls:6,vars:4,consts:[["id","legals",1,"content"],[4,"ngFor","ngForOf"],[1,"legal-title"],[1,"legal-content","ql-editor",3,"innerHTML"]],template:function(t,e){1&t&&(s.Tb(0,"div",0),s.Tb(1,"h1"),s.Hc(2),s.gc(3,"translate"),s.Sb(),s.Tb(4,"mat-accordion"),s.Fc(5,p,7,4,"mat-expansion-panel",1),s.Sb(),s.Sb()),2&t&&(s.Cb(2),s.Ic(s.hc(3,2,"mentions.titre")),s.Cb(3),s.nc("ngForOf",e.legals))},directives:[h.a,i.k,h.c,h.e,h.f],pipes:[l.c,m.a],styles:[".mat-badge-content{font-weight:600;font-size:12px;font-family:Roboto,Helvetica Neue,sans-serif}.mat-badge-small .mat-badge-content{font-size:9px}.mat-badge-large .mat-badge-content{font-size:24px}.mat-h1,.mat-headline,.mat-typography h1{font:400 24px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h2,.mat-title,.mat-typography h2{font:500 20px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h3,.mat-subheading-2,.mat-typography h3{font:400 16px/28px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h4,.mat-subheading-1,.mat-typography h4{font:400 15px/24px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h5,.mat-typography h5{font:400 calc(14px * .83)/20px Roboto,Helvetica Neue,sans-serif;margin:0 0 12px}.mat-h6,.mat-typography h6{font:400 calc(14px * .67)/20px Roboto,Helvetica Neue,sans-serif;margin:0 0 12px}.mat-body-2,.mat-body-strong{font:500 14px/24px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-body,.mat-body-1,.mat-typography{font:400 14px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-body-1 p,.mat-body p,.mat-typography p{margin:0 0 12px}.mat-caption,.mat-small{font:400 12px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-display-4,.mat-typography .mat-display-4{font:300 112px/112px Roboto,Helvetica Neue,sans-serif;letter-spacing:-.05em;margin:0 0 56px}.mat-display-3,.mat-typography .mat-display-3{font:400 56px/56px Roboto,Helvetica Neue,sans-serif;letter-spacing:-.02em;margin:0 0 64px}.mat-display-2,.mat-typography .mat-display-2{font:400 45px/48px Roboto,Helvetica Neue,sans-serif;letter-spacing:-.005em;margin:0 0 64px}.mat-display-1,.mat-typography .mat-display-1{font:400 34px/40px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 64px}.mat-bottom-sheet-container{font:400 14px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-button,.mat-fab,.mat-flat-button,.mat-icon-button,.mat-mini-fab,.mat-raised-button,.mat-stroked-button{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:500}.mat-button-toggle,.mat-card{font-family:Roboto,Helvetica Neue,sans-serif}.mat-card-title{font-size:24px;font-weight:500}.mat-card-header .mat-card-title{font-size:20px}.mat-card-content,.mat-card-subtitle{font-size:14px}.mat-checkbox{font-family:Roboto,Helvetica Neue,sans-serif}.mat-checkbox-layout .mat-checkbox-label{line-height:24px}.mat-chip{font-size:14px;font-weight:500}.mat-chip .mat-chip-remove.mat-icon,.mat-chip .mat-chip-trailing-icon.mat-icon{font-size:18px}.mat-table{font-family:Roboto,Helvetica Neue,sans-serif}.mat-header-cell{font-size:12px;font-weight:500}.mat-cell,.mat-footer-cell{font-size:14px}.mat-calendar{font-family:Roboto,Helvetica Neue,sans-serif}.mat-calendar-body{font-size:13px}.mat-calendar-body-label,.mat-calendar-period-button{font-size:14px;font-weight:500}.mat-calendar-table-header th{font-size:11px;font-weight:400}.mat-dialog-title{font:500 20px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-expansion-panel-header{font-family:Roboto,Helvetica Neue,sans-serif;font-size:15px;font-weight:400}.mat-expansion-panel-content{font:400 14px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-form-field{font-size:inherit;font-weight:400;line-height:1.125;font-family:Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-form-field-wrapper{padding-bottom:1.34375em}.mat-form-field-prefix .mat-icon,.mat-form-field-suffix .mat-icon{font-size:150%;line-height:1.125}.mat-form-field-prefix .mat-icon-button,.mat-form-field-suffix .mat-icon-button{height:1.5em;width:1.5em}.mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field-suffix .mat-icon-button .mat-icon{height:1.125em;line-height:1.125}.mat-form-field-infix{padding:.5em 0;border-top:.84375em solid rgba(0,0,0,0)}.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label{-ms-transform:translateY(-1.34375em) scale(.75);transform:translateY(-1.34375em) scale(.75);width:133.3333333333%}.mat-form-field-can-float .mat-input-server[label]:not(:label-shown)+.mat-form-field-label-wrapper .mat-form-field-label{-ms-transform:translateY(-1.34374em) scale(.75);transform:translateY(-1.34374em) scale(.75);width:133.3333433333%}.mat-form-field-label-wrapper{top:-.84375em;padding-top:.84375em}.mat-form-field-label{top:1.34375em}.mat-form-field-underline{bottom:1.34375em}.mat-form-field-subscript-wrapper{font-size:75%;margin-top:.6666666667em;top:calc(100% - 1.7916666667em)}.mat-form-field-appearance-legacy .mat-form-field-wrapper{padding-bottom:1.25em}.mat-form-field-appearance-legacy .mat-form-field-infix{padding:.4375em 0}.mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.001px);-ms-transform:translateY(-1.28125em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00101px);-ms-transform:translateY(-1.28124em) scale(.75);width:133.3333433333%}.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-input-server[label]:not(:label-shown)+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00102px);-ms-transform:translateY(-1.28123em) scale(.75);width:133.3333533333%}.mat-form-field-appearance-legacy .mat-form-field-label{top:1.28125em}.mat-form-field-appearance-legacy .mat-form-field-underline{bottom:1.25em}.mat-form-field-appearance-legacy .mat-form-field-subscript-wrapper{margin-top:.5416666667em;top:calc(100% - 1.6666666667em)}@media print{.mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label{-ms-transform:translateY(-1.28122em) scale(.75);transform:translateY(-1.28122em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.28121em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-input-server[label]:not(:label-shown)+.mat-form-field-label-wrapper .mat-form-field-label{-ms-transform:translateY(-1.2812em) scale(.75);transform:translateY(-1.2812em) scale(.75)}}.mat-form-field-appearance-fill .mat-form-field-infix{padding:.25em 0 .75em}.mat-form-field-appearance-fill .mat-form-field-label{top:1.09375em;margin-top:-.5em}.mat-form-field-appearance-fill.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-appearance-fill.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label{-ms-transform:translateY(-.59375em) scale(.75);transform:translateY(-.59375em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-fill.mat-form-field-can-float .mat-input-server[label]:not(:label-shown)+.mat-form-field-label-wrapper .mat-form-field-label{-ms-transform:translateY(-.59374em) scale(.75);transform:translateY(-.59374em) scale(.75);width:133.3333433333%}.mat-form-field-appearance-outline .mat-form-field-infix{padding:1em 0}.mat-form-field-appearance-outline .mat-form-field-label{top:1.84375em;margin-top:-.25em}.mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-appearance-outline.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label{-ms-transform:translateY(-1.59375em) scale(.75);transform:translateY(-1.59375em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-outline.mat-form-field-can-float .mat-input-server[label]:not(:label-shown)+.mat-form-field-label-wrapper .mat-form-field-label{-ms-transform:translateY(-1.59374em) scale(.75);transform:translateY(-1.59374em) scale(.75);width:133.3333433333%}.mat-grid-tile-footer,.mat-grid-tile-header{font-size:14px}.mat-grid-tile-footer .mat-line,.mat-grid-tile-header .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-grid-tile-footer .mat-line:nth-child(n+2),.mat-grid-tile-header .mat-line:nth-child(n+2){font-size:12px}input.mat-input-element{margin-top:-.0625em}.mat-menu-item{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:400}.mat-paginator,.mat-paginator-page-size .mat-select-trigger{font-family:Roboto,Helvetica Neue,sans-serif;font-size:12px}.mat-radio-button,.mat-select{font-family:Roboto,Helvetica Neue,sans-serif}.mat-select-trigger{height:1.125em}.mat-slide-toggle-content,.mat-slider-thumb-label-text{font-family:Roboto,Helvetica Neue,sans-serif}.mat-slider-thumb-label-text{font-size:12px;font-weight:500}.mat-stepper-horizontal,.mat-stepper-vertical{font-family:Roboto,Helvetica Neue,sans-serif}.mat-step-label{font-size:14px;font-weight:400}.mat-step-sub-label-error{font-weight:400}.mat-step-label-error{font-size:14px}.mat-step-label-selected{font-size:14px;font-weight:500}.mat-tab-group,.mat-tab-label,.mat-tab-link{font-family:Roboto,Helvetica Neue,sans-serif}.mat-tab-label,.mat-tab-link{font-size:14px;font-weight:500}.mat-toolbar,.mat-toolbar h1,.mat-toolbar h2,.mat-toolbar h3,.mat-toolbar h4,.mat-toolbar h5,.mat-toolbar h6{font:500 20px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0}.mat-tooltip{font-family:Roboto,Helvetica Neue,sans-serif;font-size:10px;padding-top:6px;padding-bottom:6px}.mat-tooltip-handset{font-size:14px;padding-top:8px;padding-bottom:8px}.mat-list-item,.mat-list-option{font-family:Roboto,Helvetica Neue,sans-serif}.mat-list-base .mat-list-item{font-size:16px}.mat-list-base .mat-list-item .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base .mat-list-item .mat-line:nth-child(n+2){font-size:14px}.mat-list-base .mat-list-option{font-size:16px}.mat-list-base .mat-list-option .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base .mat-list-option .mat-line:nth-child(n+2){font-size:14px}.mat-list-base .mat-subheader{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:500}.mat-list-base[dense] .mat-list-item{font-size:12px}.mat-list-base[dense] .mat-list-item .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[dense] .mat-list-item .mat-line:nth-child(n+2),.mat-list-base[dense] .mat-list-option{font-size:12px}.mat-list-base[dense] .mat-list-option .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[dense] .mat-list-option .mat-line:nth-child(n+2){font-size:12px}.mat-list-base[dense] .mat-subheader{font-family:Roboto,Helvetica Neue,sans-serif;font-size:12px;font-weight:500}.mat-option{font-family:Roboto,Helvetica Neue,sans-serif;font-size:16px}.mat-optgroup-label{font:500 14px/24px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-simple-snackbar{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px}.mat-simple-snackbar-action{line-height:1;font-family:inherit;font-size:inherit;font-weight:500}.mat-tree{font-family:Roboto,Helvetica Neue,sans-serif}.mat-nested-tree-node,.mat-tree-node{font-weight:400;font-size:14px}.mat-ripple{overflow:hidden;position:relative}.mat-ripple:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded{overflow:visible}.mat-ripple-element{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0,0,.2,1);-ms-transform:scale(0);transform:scale(0)}.cdk-high-contrast-active .mat-ripple-element{display:none}.cdk-visually-hidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;outline:0;-webkit-appearance:none;-moz-appearance:none}.cdk-global-overlay-wrapper,.cdk-overlay-container{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed;z-index:1000}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper,.cdk-overlay-pane{display:-ms-flexbox;display:flex;position:absolute;z-index:1000}.cdk-overlay-pane{pointer-events:auto;box-sizing:border-box;max-width:100%;max-height:100%}.cdk-overlay-backdrop{position:absolute;top:0;bottom:0;left:0;right:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:transparent;transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:1}@media screen and (-ms-high-contrast:active){.cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:.6}}.cdk-overlay-dark-backdrop{background:rgba(0,0,0,.32)}.cdk-overlay-transparent-backdrop,.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing{opacity:0}.cdk-overlay-connected-position-bounding-box{position:absolute;z-index:1000;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}@-webkit-keyframes cdk-text-field-autofill-start{\n /*!*/}@keyframes cdk-text-field-autofill-start{\n /*!*/}@-webkit-keyframes cdk-text-field-autofill-end{\n /*!*/}@keyframes cdk-text-field-autofill-end{\n /*!*/}.cdk-text-field-autofill-monitored:-webkit-autofill{-webkit-animation:cdk-text-field-autofill-start 0s 1ms;animation:cdk-text-field-autofill-start 0s 1ms}.cdk-text-field-autofill-monitored:not(:-webkit-autofill){-webkit-animation:cdk-text-field-autofill-end 0s 1ms;animation:cdk-text-field-autofill-end 0s 1ms}textarea.cdk-textarea-autosize{resize:none}textarea.cdk-textarea-autosize-measuring{padding:2px 0!important;box-sizing:content-box!important;height:auto!important;overflow:hidden!important}textarea.cdk-textarea-autosize-measuring-firefox{padding:2px 0!important;box-sizing:content-box!important;height:0!important}.mat-focus-indicator,.mat-mdc-focus-indicator{position:relative}#legals .legal-title{font-weight:700}#legals .mat-expansion-panel-body{padding:16px 24px}#legals .legal-content img{max-width:100%;max-width:-webkit-fill-available;max-width:-moz-available;max-width:stretch}"],encapsulation:2}),t})(),g=(()=>{class t{}return t.\u0275mod=s.Lb({type:t}),t.\u0275inj=s.Kb({factory:function(e){return new(e||t)},imports:[[r.j.forChild([{path:"",component:f}])],r.j]}),t})(),b=(()=>{class t{}return t.\u0275mod=s.Lb({type:t}),t.\u0275inj=s.Kb({factory:function(e){return new(e||t)},imports:[[i.c,a.a,g]]}),t})()},TMPf:function(t,e,n){"use strict";n.d(e,"a",function(){return p});var i,a=n("wd/R"),r=new Uint8Array(16);function o(){if(!i&&!(i="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return i(r)}for(var s=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i,l=function(t){return"string"==typeof t&&s.test(t)},c=[],d=0;d<256;++d)c.push((d+256).toString(16).substr(1));var u=function(t,e,n){var i=(t=t||{}).random||(t.rng||o)();if(i[6]=15&i[6]|64,i[8]=63&i[8]|128,e){n=n||0;for(var a=0;a<16;++a)e[n+a]=i[a];return e}return function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=(c[t[e+0]]+c[t[e+1]]+c[t[e+2]]+c[t[e+3]]+"-"+c[t[e+4]]+c[t[e+5]]+"-"+c[t[e+6]]+c[t[e+7]]+"-"+c[t[e+8]]+c[t[e+9]]+"-"+c[t[e+10]]+c[t[e+11]]+c[t[e+12]]+c[t[e+13]]+c[t[e+14]]+c[t[e+15]]).toLowerCase();if(!l(n))throw TypeError("Stringified UUID is invalid");return n}(i)},h=n("Qaas"),m=n("j9Ql");class p extends m.a{constructor(t){var{id:e=u(),sexe:n=null,nationalite:i=null,adresse:a={},paysSecu:r=null,dateContrat:o=null,dateDebut:s=null,dateFin:l=null,isDetachementLongueDuree:c=!1,motifLongueDuree:d=null,emploi:m=null,qualification:p=null,salaire:f=null,salaireSpecifique:g=!1,paysRegistre:b=null,isSavedInDpd:_=!1}=t;super(function(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(i=Object.getOwnPropertySymbols(t);a<i.length;a++)e.indexOf(i[a])<0&&Object.prototype.propertyIsEnumerable.call(t,i[a])&&(n[i[a]]=t[i[a]])}return n}(t,["id","sexe","nationalite","adresse","paysSecu","dateContrat","dateDebut","dateFin","isDetachementLongueDuree","motifLongueDuree","emploi","qualification","salaire","salaireSpecifique","paysRegistre","isSavedInDpd"])),this.id=e,this.sexe=n,this.nationalite=i,this.adresse=new h.a(a),this.paysSecu=r,this.dateContrat=o,this.dateDebut=s,this.dateFin=l,this.isDetachementLongueDuree=c,this.motifLongueDuree=d,this.emploi=m,this.qualification=p,this.salaire=f,this.salaireSpecifique=g,this.paysRegistre=b,this.isDetachementLongueDuree=c,this.motifLongueDuree=d,this.isSavedInDpd=_}getForPost(){const t=Object.assign(Object.assign({},this),{adresse:this.adresse.getForPost()});return delete t.id,delete t.isSavedInDpd,t}isFutureDate(t){return a(t).isAfter(a(),"day")}isAfter(t,e){return a(t).isAfter(a(e))}isValidWorker(t){return!!this.sexe&&!!this.isValid()&&!!this.nationalite&&!(!t&&!this.adresse.adresse)&&!(!t&&!this.adresse.cp)&&!(!t&&!this.adresse.ville)&&!(!t&&!this.adresse.pays)&&!(!t&&!this.paysSecu)&&!(!t&&!this.dateContrat)&&!(!t&&this.isAfter(this.dateContrat,this.dateDebut))&&!(!t&&!this.dateDebut)&&!(!t&&!this.dateFin)&&!(!t&&!this.emploi)&&!(!t&&!this.qualification)&&(t||(!0===this.salaireSpecifique||!!this.salaire)&&(t||!1===this.isDetachementLongueDuree||!!this.motifLongueDuree))}isValidDriver(t){return!(!this.sexe||!this.isValid()||!this.nationalite||!this.adresse.adresse||!this.adresse.cp||!this.adresse.ville||!this.adresse.pays||!this.paysSecu||!this.dateContrat||this.isAfter(this.dateContrat,t)||!this.emploi||!this.qualification||!this.paysRegistre||!0!==this.salaireSpecifique&&!this.salaire||!1!==this.isDetachementLongueDuree&&!this.motifLongueDuree)}isEqualTo(t){return this.sexe===t.sexe&&this.nationalite===t.nationalite&&this.nom===t.nom&&this.prenom===t.prenom&&this.dateNaissance===t.dateNaissance&&this.villeNaissance===t.villeNaissance&&this.paysNaissance===t.paysNaissance&&this.id===t.id&&this.adresse.isEqualTo(t.adresse)&&this.paysSecu===t.paysSecu&&this.dateContrat===t.dateContrat&&this.dateDebut===t.dateDebut&&this.dateFin===t.dateFin&&this.isDetachementLongueDuree===t.isDetachementLongueDuree&&this.motifLongueDuree===t.motifLongueDuree&&this.emploi===t.emploi&&this.qualification===t.qualification&&this.salaire===t.salaire&&this.salaireSpecifique===t.salaireSpecifique&&this.paysRegistre===t.paysRegistre&&this.isSavedInDpd===t.isSavedInDpd}}},"TN/R":function(t,e,n){"use strict";n.d(e,"a",function(){return bt}),n.d(e,"b",function(){return xt}),n.d(e,"c",function(){return kt}),n.d(e,"d",function(){return Ot});var i=n("YEUz"),a=n("1O3W"),r=n("1z/I"),o=n("SVse"),s=n("8Y7J"),l=n("Dxy4"),c=n("iELJ"),d=n("7KAL"),u=n("UhP/"),h=n("XNiG"),m=n("quSY"),p=n("VRyK"),f=n("LRne"),g=n("Ht+U"),b=n("IzEk"),_=n("JX91"),y=n("pLZG"),v=n("8LU1"),C=n("GS7A"),w=n("s7LF"),x=n("Q2Ze"),M=n("e6WT"),O=n("9gLZ");const k=["mat-calendar-body",""];function S(t,e){if(1&t&&(s.Tb(0,"tr",2),s.Tb(1,"td",3),s.Hc(2),s.Sb(),s.Sb()),2&t){const t=s.fc();s.Cb(1),s.Cc("padding-top",t._cellPadding)("padding-bottom",t._cellPadding),s.Db("colspan",t.numCols),s.Cb(1),s.Jc(" ",t.label," ")}}function T(t,e){if(1&t&&(s.Tb(0,"td",7),s.Hc(1),s.Sb()),2&t){const t=s.fc(2);s.Cc("padding-top",t._cellPadding)("padding-bottom",t._cellPadding),s.Db("colspan",t._firstRowOffset),s.Cb(1),s.Jc(" ",t._firstRowOffset>=t.labelMinRequiredCells?t.label:""," ")}}function P(t,e){if(1&t){const t=s.Ub();s.Tb(0,"td",8),s.bc("click",function(n){s.yc(t);const i=e.$implicit;return s.fc(2)._cellClicked(i,n)}),s.Tb(1,"div",9),s.Hc(2),s.Sb(),s.Ob(3,"div",10),s.Sb()}if(2&t){const t=e.$implicit,n=e.index,i=s.fc().index,a=s.fc();s.Cc("width",a._cellWidth)("padding-top",a._cellPadding)("padding-bottom",a._cellPadding),s.Fb("mat-calendar-body-disabled",!t.enabled)("mat-calendar-body-active",a._isActiveCell(i,n))("mat-calendar-body-range-start",a._isRangeStart(t.compareValue))("mat-calendar-body-range-end",a._isRangeEnd(t.compareValue))("mat-calendar-body-in-range",a._isInRange(t.compareValue))("mat-calendar-body-comparison-bridge-start",a._isComparisonBridgeStart(t.compareValue,i,n))("mat-calendar-body-comparison-bridge-end",a._isComparisonBridgeEnd(t.compareValue,i,n))("mat-calendar-body-comparison-start",a._isComparisonStart(t.compareValue))("mat-calendar-body-comparison-end",a._isComparisonEnd(t.compareValue))("mat-calendar-body-in-comparison-range",a._isInComparisonRange(t.compareValue))("mat-calendar-body-preview-start",a._isPreviewStart(t.compareValue))("mat-calendar-body-preview-end",a._isPreviewEnd(t.compareValue))("mat-calendar-body-in-preview",a._isInPreview(t.compareValue)),s.nc("ngClass",t.cssClasses)("tabindex",a._isActiveCell(i,n)?0:-1),s.Db("data-mat-row",i)("data-mat-col",n)("aria-label",t.ariaLabel)("aria-disabled",!t.enabled||null)("aria-selected",a._isSelected(t.compareValue)),s.Cb(1),s.Fb("mat-calendar-body-selected",a._isSelected(t.compareValue))("mat-calendar-body-comparison-identical",a._isComparisonIdentical(t.compareValue))("mat-calendar-body-today",a.todayValue===t.compareValue),s.Cb(1),s.Jc(" ",t.displayValue," ")}}function L(t,e){if(1&t&&(s.Tb(0,"tr",4),s.Fc(1,T,2,6,"td",5),s.Fc(2,P,4,46,"td",6),s.Sb()),2&t){const t=e.$implicit,n=e.index,i=s.fc();s.Cb(1),s.nc("ngIf",0===n&&i._firstRowOffset),s.Cb(1),s.nc("ngForOf",t)}}function D(t,e){if(1&t&&(s.Tb(0,"th",5),s.Hc(1),s.Sb()),2&t){const t=e.$implicit;s.Db("aria-label",t.long),s.Cb(1),s.Ic(t.narrow)}}const E=["*"];function A(t,e){}function I(t,e){if(1&t){const t=s.Ub();s.Tb(0,"mat-month-view",5),s.bc("activeDateChange",function(e){return s.yc(t),s.fc().activeDate=e})("_userSelection",function(e){return s.yc(t),s.fc()._dateSelected(e)}),s.Sb()}if(2&t){const t=s.fc();s.nc("activeDate",t.activeDate)("selected",t.selected)("dateFilter",t.dateFilter)("maxDate",t.maxDate)("minDate",t.minDate)("dateClass",t.dateClass)("comparisonStart",t.comparisonStart)("comparisonEnd",t.comparisonEnd)}}function R(t,e){if(1&t){const t=s.Ub();s.Tb(0,"mat-year-view",6),s.bc("activeDateChange",function(e){return s.yc(t),s.fc().activeDate=e})("monthSelected",function(e){return s.yc(t),s.fc()._monthSelectedInYearView(e)})("selectedChange",function(e){return s.yc(t),s.fc()._goToDateInView(e,"month")}),s.Sb()}if(2&t){const t=s.fc();s.nc("activeDate",t.activeDate)("selected",t.selected)("dateFilter",t.dateFilter)("maxDate",t.maxDate)("minDate",t.minDate)("dateClass",t.dateClass)}}function N(t,e){if(1&t){const t=s.Ub();s.Tb(0,"mat-multi-year-view",7),s.bc("activeDateChange",function(e){return s.yc(t),s.fc().activeDate=e})("yearSelected",function(e){return s.yc(t),s.fc()._yearSelectedInMultiYearView(e)})("selectedChange",function(e){return s.yc(t),s.fc()._goToDateInView(e,"year")}),s.Sb()}if(2&t){const t=s.fc();s.nc("activeDate",t.activeDate)("selected",t.selected)("dateFilter",t.dateFilter)("maxDate",t.maxDate)("minDate",t.minDate)("dateClass",t.dateClass)}}function Y(t,e){}const H=["button"];function j(t,e){1&t&&(s.ec(),s.Tb(0,"svg",3),s.Ob(1,"path",4),s.Sb())}const F=[[["","matDatepickerToggleIcon",""]]],z=["[matDatepickerToggleIcon]"];let V=(()=>{class t{constructor(){this.changes=new h.a,this.calendarLabel="Calendar",this.openCalendarLabel="Open calendar",this.closeCalendarLabel="Close calendar",this.prevMonthLabel="Previous month",this.nextMonthLabel="Next month",this.prevYearLabel="Previous year",this.nextYearLabel="Next year",this.prevMultiYearLabel="Previous 20 years",this.nextMultiYearLabel="Next 20 years",this.switchToMonthViewLabel="Choose date",this.switchToMultiYearViewLabel="Choose month and year"}formatYearRange(t,e){return`${t} \u2013 ${e}`}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Object(s.Jb)({factory:function(){return new t},token:t,providedIn:"root"}),t})();class B{constructor(t,e,n,i,a={},r=t,o){this.value=t,this.displayValue=e,this.ariaLabel=n,this.enabled=i,this.cssClasses=a,this.compareValue=r,this.rawValue=o}}let W=(()=>{class t{constructor(t,e){this._elementRef=t,this._ngZone=e,this.numCols=7,this.activeCell=0,this.isRange=!1,this.cellAspectRatio=1,this.previewStart=null,this.previewEnd=null,this.selectedValueChange=new s.o,this.previewChange=new s.o,this._enterHandler=t=>{if(this._skipNextFocus&&"focus"===t.type)this._skipNextFocus=!1;else if(t.target&&this.isRange){const e=this._getCellFromElement(t.target);e&&this._ngZone.run(()=>this.previewChange.emit({value:e.enabled?e:null,event:t}))}},this._leaveHandler=t=>{null!==this.previewEnd&&this.isRange&&t.target&&U(t.target)&&this._ngZone.run(()=>this.previewChange.emit({value:null,event:t}))},e.runOutsideAngular(()=>{const e=t.nativeElement;e.addEventListener("mouseenter",this._enterHandler,!0),e.addEventListener("focus",this._enterHandler,!0),e.addEventListener("mouseleave",this._leaveHandler,!0),e.addEventListener("blur",this._leaveHandler,!0)})}_cellClicked(t,e){t.enabled&&this.selectedValueChange.emit({value:t.value,event:e})}_isSelected(t){return this.startValue===t||this.endValue===t}ngOnChanges(t){const e=t.numCols,{rows:n,numCols:i}=this;(t.rows||e)&&(this._firstRowOffset=n&&n.length&&n[0].length?i-n[0].length:0),(t.cellAspectRatio||e||!this._cellPadding)&&(this._cellPadding=50*this.cellAspectRatio/i+"%"),!e&&this._cellWidth||(this._cellWidth=100/i+"%")}ngOnDestroy(){const t=this._elementRef.nativeElement;t.removeEventListener("mouseenter",this._enterHandler,!0),t.removeEventListener("focus",this._enterHandler,!0),t.removeEventListener("mouseleave",this._leaveHandler,!0),t.removeEventListener("blur",this._leaveHandler,!0)}_isActiveCell(t,e){let n=t*this.numCols+e;return t&&(n-=this._firstRowOffset),n==this.activeCell}_focusActiveCell(t=!0){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe(Object(b.a)(1)).subscribe(()=>{const e=this._elementRef.nativeElement.querySelector(".mat-calendar-body-active");e&&(t||(this._skipNextFocus=!0),e.focus())})})}_isRangeStart(t){return q(t,this.startValue,this.endValue)}_isRangeEnd(t){return G(t,this.startValue,this.endValue)}_isInRange(t){return J(t,this.startValue,this.endValue,this.isRange)}_isComparisonStart(t){return q(t,this.comparisonStart,this.comparisonEnd)}_isComparisonBridgeStart(t,e,n){if(!this._isComparisonStart(t)||this._isRangeStart(t)||!this._isInRange(t))return!1;let i=this.rows[e][n-1];if(!i){const t=this.rows[e-1];i=t&&t[t.length-1]}return i&&!this._isRangeEnd(i.compareValue)}_isComparisonBridgeEnd(t,e,n){if(!this._isComparisonEnd(t)||this._isRangeEnd(t)||!this._isInRange(t))return!1;let i=this.rows[e][n+1];if(!i){const t=this.rows[e+1];i=t&&t[0]}return i&&!this._isRangeStart(i.compareValue)}_isComparisonEnd(t){return G(t,this.comparisonStart,this.comparisonEnd)}_isInComparisonRange(t){return J(t,this.comparisonStart,this.comparisonEnd,this.isRange)}_isComparisonIdentical(t){return this.comparisonStart===this.comparisonEnd&&t===this.comparisonStart}_isPreviewStart(t){return q(t,this.previewStart,this.previewEnd)}_isPreviewEnd(t){return G(t,this.previewStart,this.previewEnd)}_isInPreview(t){return J(t,this.previewStart,this.previewEnd,this.isRange)}_getCellFromElement(t){let e;if(U(t)?e=t:U(t.parentNode)&&(e=t.parentNode),e){const t=e.getAttribute("data-mat-row"),n=e.getAttribute("data-mat-col");if(t&&n)return this.rows[parseInt(t)][parseInt(n)]}return null}}return t.\u0275fac=function(e){return new(e||t)(s.Nb(s.l),s.Nb(s.B))},t.\u0275cmp=s.Hb({type:t,selectors:[["","mat-calendar-body",""]],hostAttrs:["role","grid","aria-readonly","true",1,"mat-calendar-body"],inputs:{numCols:"numCols",activeCell:"activeCell",isRange:"isRange",cellAspectRatio:"cellAspectRatio",previewStart:"previewStart",previewEnd:"previewEnd",label:"label",rows:"rows",todayValue:"todayValue",startValue:"startValue",endValue:"endValue",labelMinRequiredCells:"labelMinRequiredCells",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd"},outputs:{selectedValueChange:"selectedValueChange",previewChange:"previewChange"},exportAs:["matCalendarBody"],features:[s.Ab],attrs:k,decls:2,vars:2,consts:[["aria-hidden","true",4,"ngIf"],["role","row",4,"ngFor","ngForOf"],["aria-hidden","true"],[1,"mat-calendar-body-label"],["role","row"],["aria-hidden","true","class","mat-calendar-body-label",3,"paddingTop","paddingBottom",4,"ngIf"],["role","gridcell","class","mat-calendar-body-cell",3,"ngClass","tabindex","mat-calendar-body-disabled","mat-calendar-body-active","mat-calendar-body-range-start","mat-calendar-body-range-end","mat-calendar-body-in-range","mat-calendar-body-comparison-bridge-start","mat-calendar-body-comparison-bridge-end","mat-calendar-body-comparison-start","mat-calendar-body-comparison-end","mat-calendar-body-in-comparison-range","mat-calendar-body-preview-start","mat-calendar-body-preview-end","mat-calendar-body-in-preview","width","paddingTop","paddingBottom","click",4,"ngFor","ngForOf"],["aria-hidden","true",1,"mat-calendar-body-label"],["role","gridcell",1,"mat-calendar-body-cell",3,"ngClass","tabindex","click"],[1,"mat-calendar-body-cell-content","mat-focus-indicator"],[1,"mat-calendar-body-cell-preview"]],template:function(t,e){1&t&&(s.Fc(0,S,3,6,"tr",0),s.Fc(1,L,3,2,"tr",1)),2&t&&(s.nc("ngIf",e._firstRowOffset<e.labelMinRequiredCells),s.Cb(1),s.nc("ngForOf",e.rows))},directives:[o.l,o.k,o.j],styles:['.mat-calendar-body{min-width:224px}.mat-calendar-body-label{height:0;line-height:0;text-align:left;padding-left:4.7142857143%;padding-right:4.7142857143%}.mat-calendar-body-cell{position:relative;height:0;line-height:0;text-align:center;outline:none;cursor:pointer}.mat-calendar-body-cell::before,.mat-calendar-body-cell::after,.mat-calendar-body-cell-preview{content:"";position:absolute;top:5%;left:0;z-index:0;box-sizing:border-box;height:90%;width:100%}.mat-calendar-body-range-start:not(.mat-calendar-body-in-comparison-range)::before,.mat-calendar-body-range-start::after,.mat-calendar-body-comparison-start:not(.mat-calendar-body-comparison-bridge-start)::before,.mat-calendar-body-comparison-start::after,.mat-calendar-body-preview-start .mat-calendar-body-cell-preview{left:5%;width:95%;border-top-left-radius:999px;border-bottom-left-radius:999px}[dir=rtl] .mat-calendar-body-range-start:not(.mat-calendar-body-in-comparison-range)::before,[dir=rtl] .mat-calendar-body-range-start::after,[dir=rtl] .mat-calendar-body-comparison-start:not(.mat-calendar-body-comparison-bridge-start)::before,[dir=rtl] .mat-calendar-body-comparison-start::after,[dir=rtl] .mat-calendar-body-preview-start .mat-calendar-body-cell-preview{left:0;border-radius:0;border-top-right-radius:999px;border-bottom-right-radius:999px}.mat-calendar-body-range-end:not(.mat-calendar-body-in-comparison-range)::before,.mat-calendar-body-range-end::after,.mat-calendar-body-comparison-end:not(.mat-calendar-body-comparison-bridge-end)::before,.mat-calendar-body-comparison-end::after,.mat-calendar-body-preview-end .mat-calendar-body-cell-preview{width:95%;border-top-right-radius:999px;border-bottom-right-radius:999px}[dir=rtl] .mat-calendar-body-range-end:not(.mat-calendar-body-in-comparison-range)::before,[dir=rtl] .mat-calendar-body-range-end::after,[dir=rtl] .mat-calendar-body-comparison-end:not(.mat-calendar-body-comparison-bridge-end)::before,[dir=rtl] .mat-calendar-body-comparison-end::after,[dir=rtl] .mat-calendar-body-preview-end .mat-calendar-body-cell-preview{left:5%;border-radius:0;border-top-left-radius:999px;border-bottom-left-radius:999px}[dir=rtl] .mat-calendar-body-comparison-bridge-start.mat-calendar-body-range-end::after,[dir=rtl] .mat-calendar-body-comparison-bridge-end.mat-calendar-body-range-start::after{width:95%;border-top-right-radius:999px;border-bottom-right-radius:999px}.mat-calendar-body-comparison-start.mat-calendar-body-range-end::after,[dir=rtl] .mat-calendar-body-comparison-start.mat-calendar-body-range-end::after,.mat-calendar-body-comparison-end.mat-calendar-body-range-start::after,[dir=rtl] .mat-calendar-body-comparison-end.mat-calendar-body-range-start::after{width:90%}.mat-calendar-body-in-preview .mat-calendar-body-cell-preview{border-top:dashed 1px;border-bottom:dashed 1px}.mat-calendar-body-preview-start .mat-calendar-body-cell-preview{border-left:dashed 1px}[dir=rtl] .mat-calendar-body-preview-start .mat-calendar-body-cell-preview{border-left:0;border-right:dashed 1px}.mat-calendar-body-preview-end .mat-calendar-body-cell-preview{border-right:dashed 1px}[dir=rtl] .mat-calendar-body-preview-end .mat-calendar-body-cell-preview{border-right:0;border-left:dashed 1px}.mat-calendar-body-disabled{cursor:default}.cdk-high-contrast-active .mat-calendar-body-disabled{opacity:.5}.mat-calendar-body-cell-content{top:5%;left:5%;z-index:1;display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:90%;height:90%;line-height:1;border-width:1px;border-style:solid;border-radius:999px}.mat-calendar-body-cell-content.mat-focus-indicator{position:absolute}.cdk-high-contrast-active .mat-calendar-body-cell-content{border:none}.mat-datepicker-dialog .mat-dialog-container{position:relative;overflow:visible}.cdk-high-contrast-active .mat-datepicker-popup:not(:empty),.cdk-high-contrast-active .mat-calendar-body-selected{outline:solid 1px}.cdk-high-contrast-active .mat-calendar-body-today{outline:dotted 1px}.cdk-high-contrast-active .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected),.cdk-high-contrast-active .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected){outline:dotted 2px}[dir=rtl] .mat-calendar-body-label{text-align:right}@media(hover: none){.mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected){background-color:transparent}}\n'],encapsulation:2,changeDetection:0}),t})();function U(t){return"TD"===t.nodeName}function q(t,e,n){return null!==n&&e!==n&&t<n&&t===e}function G(t,e,n){return null!==e&&e!==n&&t>=e&&t===n}function J(t,e,n,i){return i&&null!==e&&null!==n&&e!==n&&t>=e&&t<=n}class Z{constructor(t,e){this.start=t,this.end=e}}let $=(()=>{class t{constructor(t,e){this.selection=t,this._adapter=e,this._selectionChanged=new h.a,this.selectionChanged=this._selectionChanged,this.selection=t}updateSelection(t,e){this.selection=t,this._selectionChanged.next({selection:t,source:e})}ngOnDestroy(){this._selectionChanged.complete()}_isValidDateInstance(t){return this._adapter.isDateInstance(t)&&this._adapter.isValid(t)}clone(){return null}}return t.\u0275fac=function(e){return new(e||t)(s.Nb(void 0),s.Nb(u.c))},t.\u0275dir=s.Ib({type:t}),t})(),X=(()=>{class t extends ${constructor(t){super(null,t)}add(t){super.updateSelection(t,this)}isValid(){return null!=this.selection&&this._isValidDateInstance(this.selection)}isComplete(){return null!=this.selection}clone(){const e=new t(this._adapter);return e.updateSelection(this.selection,this),e}}return t.\u0275fac=function(e){return new(e||t)(s.Xb(u.c))},t.\u0275prov=s.Jb({token:t,factory:t.\u0275fac}),t})();const K={provide:$,deps:[[new s.C,new s.L,$],u.c],useFactory:function(t,e){return t||new X(e)}},Q=new s.s("MAT_DATE_RANGE_SELECTION_STRATEGY");let tt=(()=>{class t{constructor(t,e,n,i,a){this._changeDetectorRef=t,this._dateFormats=e,this._dateAdapter=n,this._dir=i,this._rangeStrategy=a,this._rerenderSubscription=m.a.EMPTY,this.selectedChange=new s.o,this._userSelection=new s.o,this.activeDateChange=new s.o,this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(t){const e=this._activeDate,n=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(n,this.minDate,this.maxDate),this._hasSameMonthAndYear(e,this._activeDate)||this._init()}get selected(){return this._selected}set selected(t){this._selected=t instanceof Z?t:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t)),this._setRanges(this._selected)}get minDate(){return this._minDate}set minDate(t){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}get maxDate(){return this._maxDate}set maxDate(t){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Object(_.a)(null)).subscribe(()=>this._init())}ngOnChanges(t){const e=t.comparisonStart||t.comparisonEnd;e&&!e.firstChange&&this._setRanges(this.selected)}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_dateSelected(t){const e=t.value,n=this._dateAdapter.getYear(this.activeDate),i=this._dateAdapter.getMonth(this.activeDate),a=this._dateAdapter.createDate(n,i,e);let r,o;this._selected instanceof Z?(r=this._getDateInCurrentMonth(this._selected.start),o=this._getDateInCurrentMonth(this._selected.end)):r=o=this._getDateInCurrentMonth(this._selected),r===e&&o===e||this.selectedChange.emit(a),this._userSelection.emit({value:a,event:t.event})}_handleCalendarBodyKeydown(t){const e=this._activeDate,n=this._isRtl();switch(t.keyCode){case g.h:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,n?1:-1);break;case g.l:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,n?-1:1);break;case g.o:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,-7);break;case g.c:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,7);break;case g.g:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case g.d:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,this._dateAdapter.getNumDaysInMonth(this._activeDate)-this._dateAdapter.getDate(this._activeDate));break;case g.k:this.activeDate=t.altKey?this._dateAdapter.addCalendarYears(this._activeDate,-1):this._dateAdapter.addCalendarMonths(this._activeDate,-1);break;case g.j:this.activeDate=t.altKey?this._dateAdapter.addCalendarYears(this._activeDate,1):this._dateAdapter.addCalendarMonths(this._activeDate,1);break;case g.e:case g.m:return void(this.dateFilter&&!this.dateFilter(this._activeDate)||(this._dateSelected({value:this._dateAdapter.getDate(this._activeDate),event:t}),t.preventDefault()));case g.f:return void(null==this._previewEnd||Object(g.r)(t)||(this._previewStart=this._previewEnd=null,this.selectedChange.emit(null),this._userSelection.emit({value:null,event:t}),t.preventDefault(),t.stopPropagation()));default:return}this._dateAdapter.compareDate(e,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),t.preventDefault()}_init(){this._setRanges(this.selected),this._todayDate=this._getCellCompareValue(this._dateAdapter.today()),this._monthLabel=this._dateFormats.display.monthLabel?this._dateAdapter.format(this.activeDate,this._dateFormats.display.monthLabel):this._dateAdapter.getMonthNames("short")[this._dateAdapter.getMonth(this.activeDate)].toLocaleUpperCase();let t=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),1);this._firstWeekOffset=(7+this._dateAdapter.getDayOfWeek(t)-this._dateAdapter.getFirstDayOfWeek())%7,this._initWeekdays(),this._createWeekCells(),this._changeDetectorRef.markForCheck()}_focusActiveCell(t){this._matCalendarBody._focusActiveCell(t)}_previewChanged({event:t,value:e}){if(this._rangeStrategy){const n=this._rangeStrategy.createPreview(e?e.rawValue:null,this.selected,t);this._previewStart=this._getCellCompareValue(n.start),this._previewEnd=this._getCellCompareValue(n.end),this._changeDetectorRef.detectChanges()}}_initWeekdays(){const t=this._dateAdapter.getFirstDayOfWeek(),e=this._dateAdapter.getDayOfWeekNames("narrow");let n=this._dateAdapter.getDayOfWeekNames("long").map((t,n)=>({long:t,narrow:e[n]}));this._weekdays=n.slice(t).concat(n.slice(0,t))}_createWeekCells(){const t=this._dateAdapter.getNumDaysInMonth(this.activeDate),e=this._dateAdapter.getDateNames();this._weeks=[[]];for(let n=0,i=this._firstWeekOffset;n<t;n++,i++){7==i&&(this._weeks.push([]),i=0);const t=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),n+1),a=this._shouldEnableDate(t),r=this._dateAdapter.format(t,this._dateFormats.display.dateA11yLabel),o=this.dateClass?this.dateClass(t,"month"):void 0;this._weeks[this._weeks.length-1].push(new B(n+1,e[n],r,a,o,this._getCellCompareValue(t),t))}}_shouldEnableDate(t){return!!t&&(!this.minDate||this._dateAdapter.compareDate(t,this.minDate)>=0)&&(!this.maxDate||this._dateAdapter.compareDate(t,this.maxDate)<=0)&&(!this.dateFilter||this.dateFilter(t))}_getDateInCurrentMonth(t){return t&&this._hasSameMonthAndYear(t,this.activeDate)?this._dateAdapter.getDate(t):null}_hasSameMonthAndYear(t,e){return!(!t||!e||this._dateAdapter.getMonth(t)!=this._dateAdapter.getMonth(e)||this._dateAdapter.getYear(t)!=this._dateAdapter.getYear(e))}_getCellCompareValue(t){if(t){const e=this._dateAdapter.getYear(t),n=this._dateAdapter.getMonth(t),i=this._dateAdapter.getDate(t);return new Date(e,n,i).getTime()}return null}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setRanges(t){t instanceof Z?(this._rangeStart=this._getCellCompareValue(t.start),this._rangeEnd=this._getCellCompareValue(t.end),this._isRange=!0):(this._rangeStart=this._rangeEnd=this._getCellCompareValue(t),this._isRange=!1),this._comparisonRangeStart=this._getCellCompareValue(this.comparisonStart),this._comparisonRangeEnd=this._getCellCompareValue(this.comparisonEnd)}}return t.\u0275fac=function(e){return new(e||t)(s.Nb(s.h),s.Nb(u.e,8),s.Nb(u.c,8),s.Nb(O.b,8),s.Nb(Q,8))},t.\u0275cmp=s.Hb({type:t,selectors:[["mat-month-view"]],viewQuery:function(t,e){if(1&t&&s.Lc(W,1),2&t){let t;s.uc(t=s.cc())&&(e._matCalendarBody=t.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd"},outputs:{selectedChange:"selectedChange",_userSelection:"_userSelection",activeDateChange:"activeDateChange"},exportAs:["matMonthView"],features:[s.Ab],decls:7,vars:13,consts:[["role","presentation",1,"mat-calendar-table"],[1,"mat-calendar-table-header"],["scope","col",4,"ngFor","ngForOf"],["colspan","7","aria-hidden","true",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"label","rows","todayValue","startValue","endValue","comparisonStart","comparisonEnd","previewStart","previewEnd","isRange","labelMinRequiredCells","activeCell","selectedValueChange","previewChange","keydown"],["scope","col"]],template:function(t,e){1&t&&(s.Tb(0,"table",0),s.Tb(1,"thead",1),s.Tb(2,"tr"),s.Fc(3,D,2,2,"th",2),s.Sb(),s.Tb(4,"tr"),s.Ob(5,"th",3),s.Sb(),s.Sb(),s.Tb(6,"tbody",4),s.bc("selectedValueChange",function(t){return e._dateSelected(t)})("previewChange",function(t){return e._previewChanged(t)})("keydown",function(t){return e._handleCalendarBodyKeydown(t)}),s.Sb(),s.Sb()),2&t&&(s.Cb(3),s.nc("ngForOf",e._weekdays),s.Cb(3),s.nc("label",e._monthLabel)("rows",e._weeks)("todayValue",e._todayDate)("startValue",e._rangeStart)("endValue",e._rangeEnd)("comparisonStart",e._comparisonRangeStart)("comparisonEnd",e._comparisonRangeEnd)("previewStart",e._previewStart)("previewEnd",e._previewEnd)("isRange",e._isRange)("labelMinRequiredCells",3)("activeCell",e._dateAdapter.getDate(e.activeDate)-1))},directives:[o.k,W],encapsulation:2,changeDetection:0}),t})(),et=(()=>{class t{constructor(t,e,n){this._changeDetectorRef=t,this._dateAdapter=e,this._dir=n,this._rerenderSubscription=m.a.EMPTY,this.selectedChange=new s.o,this.yearSelected=new s.o,this.activeDateChange=new s.o,this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(t){let e=this._activeDate;const n=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(n,this.minDate,this.maxDate),nt(this._dateAdapter,e,this._activeDate,this.minDate,this.maxDate)||this._init()}get selected(){return this._selected}set selected(t){this._selected=t instanceof Z?t:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t)),this._setSelectedYear(t)}get minDate(){return this._minDate}set minDate(t){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}get maxDate(){return this._maxDate}set maxDate(t){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Object(_.a)(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_init(){this._todayYear=this._dateAdapter.getYear(this._dateAdapter.today());const t=this._dateAdapter.getYear(this._activeDate)-it(this._dateAdapter,this.activeDate,this.minDate,this.maxDate);this._years=[];for(let e=0,n=[];e<24;e++)n.push(t+e),4==n.length&&(this._years.push(n.map(t=>this._createCellForYear(t))),n=[]);this._changeDetectorRef.markForCheck()}_yearSelected(t){const e=t.value;this.yearSelected.emit(this._dateAdapter.createDate(e,0,1));let n=this._dateAdapter.getMonth(this.activeDate),i=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(e,n,1));this.selectedChange.emit(this._dateAdapter.createDate(e,n,Math.min(this._dateAdapter.getDate(this.activeDate),i)))}_handleCalendarBodyKeydown(t){const e=this._activeDate,n=this._isRtl();switch(t.keyCode){case g.h:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,n?1:-1);break;case g.l:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,n?-1:1);break;case g.o:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-4);break;case g.c:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,4);break;case g.g:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-it(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case g.d:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,24-it(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case g.k:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,t.altKey?-240:-24);break;case g.j:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,t.altKey?240:24);break;case g.e:case g.m:this._yearSelected({value:this._dateAdapter.getYear(this._activeDate),event:t});break;default:return}this._dateAdapter.compareDate(e,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),t.preventDefault()}_getActiveCell(){return it(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_createCellForYear(t){const e=this._dateAdapter.createDate(t,0,1),n=this._dateAdapter.getYearName(e),i=this.dateClass?this.dateClass(e,"multi-year"):void 0;return new B(t,n,n,this._shouldEnableYear(t),i)}_shouldEnableYear(t){if(null==t||this.maxDate&&t>this._dateAdapter.getYear(this.maxDate)||this.minDate&&t<this._dateAdapter.getYear(this.minDate))return!1;if(!this.dateFilter)return!0;for(let e=this._dateAdapter.createDate(t,0,1);this._dateAdapter.getYear(e)==t;e=this._dateAdapter.addCalendarDays(e,1))if(this.dateFilter(e))return!0;return!1}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setSelectedYear(t){if(this._selectedYear=null,t instanceof Z){const e=t.start||t.end;e&&(this._selectedYear=this._dateAdapter.getYear(e))}else t&&(this._selectedYear=this._dateAdapter.getYear(t))}}return t.\u0275fac=function(e){return new(e||t)(s.Nb(s.h),s.Nb(u.c,8),s.Nb(O.b,8))},t.\u0275cmp=s.Hb({type:t,selectors:[["mat-multi-year-view"]],viewQuery:function(t,e){if(1&t&&s.Lc(W,1),2&t){let t;s.uc(t=s.cc())&&(e._matCalendarBody=t.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",activeDateChange:"activeDateChange"},exportAs:["matMultiYearView"],decls:5,vars:7,consts:[["role","presentation",1,"mat-calendar-table"],[1,"mat-calendar-table-header"],["colspan","4",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"rows","todayValue","startValue","endValue","numCols","cellAspectRatio","activeCell","selectedValueChange","keydown"]],template:function(t,e){1&t&&(s.Tb(0,"table",0),s.Tb(1,"thead",1),s.Tb(2,"tr"),s.Ob(3,"th",2),s.Sb(),s.Sb(),s.Tb(4,"tbody",3),s.bc("selectedValueChange",function(t){return e._yearSelected(t)})("keydown",function(t){return e._handleCalendarBodyKeydown(t)}),s.Sb(),s.Sb()),2&t&&(s.Cb(4),s.nc("rows",e._years)("todayValue",e._todayYear)("startValue",e._selectedYear)("endValue",e._selectedYear)("numCols",4)("cellAspectRatio",4/7)("activeCell",e._getActiveCell()))},directives:[W],encapsulation:2,changeDetection:0}),t})();function nt(t,e,n,i,a){const r=t.getYear(e),o=t.getYear(n),s=at(t,i,a);return Math.floor((r-s)/24)===Math.floor((o-s)/24)}function it(t,e,n,i){return((t.getYear(e)-at(t,n,i))%24+24)%24}function at(t,e,n){let i=0;return n?i=t.getYear(n)-24+1:e&&(i=t.getYear(e)),i}let rt=(()=>{class t{constructor(t,e,n,i){this._changeDetectorRef=t,this._dateFormats=e,this._dateAdapter=n,this._dir=i,this._rerenderSubscription=m.a.EMPTY,this.selectedChange=new s.o,this.monthSelected=new s.o,this.activeDateChange=new s.o,this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(t){let e=this._activeDate;const n=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(n,this.minDate,this.maxDate),this._dateAdapter.getYear(e)!==this._dateAdapter.getYear(this._activeDate)&&this._init()}get selected(){return this._selected}set selected(t){this._selected=t instanceof Z?t:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t)),this._setSelectedMonth(t)}get minDate(){return this._minDate}set minDate(t){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}get maxDate(){return this._maxDate}set maxDate(t){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Object(_.a)(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_monthSelected(t){const e=t.value,n=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),e,1);this.monthSelected.emit(n);const i=this._dateAdapter.getNumDaysInMonth(n);this.selectedChange.emit(this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),e,Math.min(this._dateAdapter.getDate(this.activeDate),i)))}_handleCalendarBodyKeydown(t){const e=this._activeDate,n=this._isRtl();switch(t.keyCode){case g.h:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,n?1:-1);break;case g.l:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,n?-1:1);break;case g.o:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-4);break;case g.c:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,4);break;case g.g:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case g.d:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));break;case g.k:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,t.altKey?-10:-1);break;case g.j:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,t.altKey?10:1);break;case g.e:case g.m:this._monthSelected({value:this._dateAdapter.getMonth(this._activeDate),event:t});break;default:return}this._dateAdapter.compareDate(e,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),t.preventDefault()}_init(){this._setSelectedMonth(this.selected),this._todayMonth=this._getMonthInCurrentYear(this._dateAdapter.today()),this._yearLabel=this._dateAdapter.getYearName(this.activeDate);let t=this._dateAdapter.getMonthNames("short");this._months=[[0,1,2,3],[4,5,6,7],[8,9,10,11]].map(e=>e.map(e=>this._createCellForMonth(e,t[e]))),this._changeDetectorRef.markForCheck()}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_getMonthInCurrentYear(t){return t&&this._dateAdapter.getYear(t)==this._dateAdapter.getYear(this.activeDate)?this._dateAdapter.getMonth(t):null}_createCellForMonth(t,e){const n=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),t,1),i=this._dateAdapter.format(n,this._dateFormats.display.monthYearA11yLabel),a=this.dateClass?this.dateClass(n,"year"):void 0;return new B(t,e.toLocaleUpperCase(),i,this._shouldEnableMonth(t),a)}_shouldEnableMonth(t){const e=this._dateAdapter.getYear(this.activeDate);if(null==t||this._isYearAndMonthAfterMaxDate(e,t)||this._isYearAndMonthBeforeMinDate(e,t))return!1;if(!this.dateFilter)return!0;for(let n=this._dateAdapter.createDate(e,t,1);this._dateAdapter.getMonth(n)==t;n=this._dateAdapter.addCalendarDays(n,1))if(this.dateFilter(n))return!0;return!1}_isYearAndMonthAfterMaxDate(t,e){if(this.maxDate){const n=this._dateAdapter.getYear(this.maxDate),i=this._dateAdapter.getMonth(this.maxDate);return t>n||t===n&&e>i}return!1}_isYearAndMonthBeforeMinDate(t,e){if(this.minDate){const n=this._dateAdapter.getYear(this.minDate),i=this._dateAdapter.getMonth(this.minDate);return t<n||t===n&&e<i}return!1}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setSelectedMonth(t){this._selectedMonth=t instanceof Z?this._getMonthInCurrentYear(t.start)||this._getMonthInCurrentYear(t.end):this._getMonthInCurrentYear(t)}}return t.\u0275fac=function(e){return new(e||t)(s.Nb(s.h),s.Nb(u.e,8),s.Nb(u.c,8),s.Nb(O.b,8))},t.\u0275cmp=s.Hb({type:t,selectors:[["mat-year-view"]],viewQuery:function(t,e){if(1&t&&s.Lc(W,1),2&t){let t;s.uc(t=s.cc())&&(e._matCalendarBody=t.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass"},outputs:{selectedChange:"selectedChange",monthSelected:"monthSelected",activeDateChange:"activeDateChange"},exportAs:["matYearView"],decls:5,vars:9,consts:[["role","presentation",1,"mat-calendar-table"],[1,"mat-calendar-table-header"],["colspan","4",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"label","rows","todayValue","startValue","endValue","labelMinRequiredCells","numCols","cellAspectRatio","activeCell","selectedValueChange","keydown"]],template:function(t,e){1&t&&(s.Tb(0,"table",0),s.Tb(1,"thead",1),s.Tb(2,"tr"),s.Ob(3,"th",2),s.Sb(),s.Sb(),s.Tb(4,"tbody",3),s.bc("selectedValueChange",function(t){return e._monthSelected(t)})("keydown",function(t){return e._handleCalendarBodyKeydown(t)}),s.Sb(),s.Sb()),2&t&&(s.Cb(4),s.nc("label",e._yearLabel)("rows",e._months)("todayValue",e._todayMonth)("startValue",e._selectedMonth)("endValue",e._selectedMonth)("labelMinRequiredCells",2)("numCols",4)("cellAspectRatio",4/7)("activeCell",e._dateAdapter.getMonth(e.activeDate)))},directives:[W],encapsulation:2,changeDetection:0}),t})(),ot=0,st=(()=>{class t{constructor(t,e,n,i,a){this._intl=t,this.calendar=e,this._dateAdapter=n,this._dateFormats=i,this._buttonDescriptionId="mat-calendar-button-"+ot++,this.calendar.stateChanges.subscribe(()=>a.markForCheck())}get periodButtonText(){if("month"==this.calendar.currentView)return this._dateAdapter.format(this.calendar.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase();if("year"==this.calendar.currentView)return this._dateAdapter.getYearName(this.calendar.activeDate);const t=this._dateAdapter.getYear(this.calendar.activeDate)-it(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),e=t+24-1,n=this._dateAdapter.getYearName(this._dateAdapter.createDate(t,0,1)),i=this._dateAdapter.getYearName(this._dateAdapter.createDate(e,0,1));return this._intl.formatYearRange(n,i)}get periodButtonLabel(){return"month"==this.calendar.currentView?this._intl.switchToMultiYearViewLabel:this._intl.switchToMonthViewLabel}get prevButtonLabel(){return{month:this._intl.prevMonthLabel,year:this._intl.prevYearLabel,"multi-year":this._intl.prevMultiYearLabel}[this.calendar.currentView]}get nextButtonLabel(){return{month:this._intl.nextMonthLabel,year:this._intl.nextYearLabel,"multi-year":this._intl.nextMultiYearLabel}[this.calendar.currentView]}currentPeriodClicked(){this.calendar.currentView="month"==this.calendar.currentView?"multi-year":"month"}previousClicked(){this.calendar.activeDate="month"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,-1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,"year"==this.calendar.currentView?-1:-24)}nextClicked(){this.calendar.activeDate="month"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,"year"==this.calendar.currentView?1:24)}previousEnabled(){return!this.calendar.minDate||!this.calendar.minDate||!this._isSameView(this.calendar.activeDate,this.calendar.minDate)}nextEnabled(){return!this.calendar.maxDate||!this._isSameView(this.calendar.activeDate,this.calendar.maxDate)}_isSameView(t,e){return"month"==this.calendar.currentView?this._dateAdapter.getYear(t)==this._dateAdapter.getYear(e)&&this._dateAdapter.getMonth(t)==this._dateAdapter.getMonth(e):"year"==this.calendar.currentView?this._dateAdapter.getYear(t)==this._dateAdapter.getYear(e):nt(this._dateAdapter,t,e,this.calendar.minDate,this.calendar.maxDate)}}return t.\u0275fac=function(e){return new(e||t)(s.Nb(V),s.Nb(Object(s.V)(()=>lt)),s.Nb(u.c,8),s.Nb(u.e,8),s.Nb(s.h))},t.\u0275cmp=s.Hb({type:t,selectors:[["mat-calendar-header"]],exportAs:["matCalendarHeader"],ngContentSelectors:E,decls:10,vars:10,consts:[[1,"mat-calendar-header"],[1,"mat-calendar-controls"],["mat-button","","type","button","cdkAriaLive","polite",1,"mat-calendar-period-button",3,"click"],[1,"mat-calendar-arrow"],[1,"mat-calendar-spacer"],["mat-icon-button","","type","button",1,"mat-calendar-previous-button",3,"disabled","click"],["mat-icon-button","","type","button",1,"mat-calendar-next-button",3,"disabled","click"]],template:function(t,e){1&t&&(s.mc(),s.Tb(0,"div",0),s.Tb(1,"div",1),s.Tb(2,"button",2),s.bc("click",function(){return e.currentPeriodClicked()}),s.Tb(3,"span"),s.Hc(4),s.Sb(),s.Ob(5,"div",3),s.Sb(),s.Ob(6,"div",4),s.lc(7),s.Tb(8,"button",5),s.bc("click",function(){return e.previousClicked()}),s.Sb(),s.Tb(9,"button",6),s.bc("click",function(){return e.nextClicked()}),s.Sb(),s.Sb(),s.Sb()),2&t&&(s.Cb(2),s.Db("aria-label",e.periodButtonLabel)("aria-describedby",e._buttonDescriptionId),s.Cb(1),s.Db("id",e._buttonDescriptionId),s.Cb(1),s.Ic(e.periodButtonText),s.Cb(1),s.Fb("mat-calendar-invert","month"!==e.calendar.currentView),s.Cb(3),s.nc("disabled",!e.previousEnabled()),s.Db("aria-label",e.prevButtonLabel),s.Cb(1),s.nc("disabled",!e.nextEnabled()),s.Db("aria-label",e.nextButtonLabel))},directives:[l.a,i.d],encapsulation:2,changeDetection:0}),t})(),lt=(()=>{class t{constructor(t,e,n,i){this._dateAdapter=e,this._dateFormats=n,this._changeDetectorRef=i,this._moveFocusOnNextTick=!1,this.startView="month",this.selectedChange=new s.o,this.yearSelected=new s.o,this.monthSelected=new s.o,this.viewChanged=new s.o(!0),this._userSelection=new s.o,this.stateChanges=new h.a,this._intlChanges=t.changes.subscribe(()=>{i.markForCheck(),this.stateChanges.next()})}get startAt(){return this._startAt}set startAt(t){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}get selected(){return this._selected}set selected(t){this._selected=t instanceof Z?t:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}get minDate(){return this._minDate}set minDate(t){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}get maxDate(){return this._maxDate}set maxDate(t){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}get activeDate(){return this._clampedActiveDate}set activeDate(t){this._clampedActiveDate=this._dateAdapter.clampDate(t,this.minDate,this.maxDate),this.stateChanges.next(),this._changeDetectorRef.markForCheck()}get currentView(){return this._currentView}set currentView(t){const e=this._currentView!==t?t:null;this._currentView=t,this._moveFocusOnNextTick=!0,this._changeDetectorRef.markForCheck(),e&&this.viewChanged.emit(e)}ngAfterContentInit(){this._calendarHeaderPortal=new r.d(this.headerComponent||st),this.activeDate=this.startAt||this._dateAdapter.today(),this._currentView=this.startView}ngAfterViewChecked(){this._moveFocusOnNextTick&&(this._moveFocusOnNextTick=!1,this.focusActiveCell())}ngOnDestroy(){this._intlChanges.unsubscribe(),this.stateChanges.complete()}ngOnChanges(t){const e=t.minDate||t.maxDate||t.dateFilter;if(e&&!e.firstChange){const t=this._getCurrentViewComponent();t&&(this._changeDetectorRef.detectChanges(),t._init())}this.stateChanges.next()}focusActiveCell(){this._getCurrentViewComponent()._focusActiveCell(!1)}updateTodaysDate(){const t=this.currentView;let e;e="month"===t?this.monthView:"year"===t?this.yearView:this.multiYearView,e._init()}_dateSelected(t){const e=t.value;(this.selected instanceof Z||e&&!this._dateAdapter.sameDate(e,this.selected))&&this.selectedChange.emit(e),this._userSelection.emit(t)}_yearSelectedInMultiYearView(t){this.yearSelected.emit(t)}_monthSelectedInYearView(t){this.monthSelected.emit(t)}_goToDateInView(t,e){this.activeDate=t,this.currentView=e}_getCurrentViewComponent(){return this.monthView||this.yearView||this.multiYearView}}return t.\u0275fac=function(e){return new(e||t)(s.Nb(V),s.Nb(u.c,8),s.Nb(u.e,8),s.Nb(s.h))},t.\u0275cmp=s.Hb({type:t,selectors:[["mat-calendar"]],viewQuery:function(t,e){if(1&t&&(s.Lc(tt,1),s.Lc(rt,1),s.Lc(et,1)),2&t){let t;s.uc(t=s.cc())&&(e.monthView=t.first),s.uc(t=s.cc())&&(e.yearView=t.first),s.uc(t=s.cc())&&(e.multiYearView=t.first)}},hostAttrs:[1,"mat-calendar"],inputs:{startView:"startView",startAt:"startAt",selected:"selected",minDate:"minDate",maxDate:"maxDate",headerComponent:"headerComponent",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",_userSelection:"_userSelection"},exportAs:["matCalendar"],features:[s.Bb([K]),s.Ab],decls:5,vars:5,consts:[[3,"cdkPortalOutlet"],["cdkMonitorSubtreeFocus","","tabindex","-1",1,"mat-calendar-content",3,"ngSwitch"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","activeDateChange","_userSelection",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","monthSelected","selectedChange",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","yearSelected","selectedChange",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","activeDateChange","_userSelection"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","monthSelected","selectedChange"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","yearSelected","selectedChange"]],template:function(t,e){1&t&&(s.Fc(0,A,0,0,"ng-template",0),s.Tb(1,"div",1),s.Fc(2,I,1,8,"mat-month-view",2),s.Fc(3,R,1,6,"mat-year-view",3),s.Fc(4,N,1,6,"mat-multi-year-view",4),s.Sb()),2&t&&(s.nc("cdkPortalOutlet",e._calendarHeaderPortal),s.Cb(1),s.nc("ngSwitch",e.currentView),s.Cb(1),s.nc("ngSwitchCase","month"),s.Cb(1),s.nc("ngSwitchCase","year"),s.Cb(1),s.nc("ngSwitchCase","multi-year"))},directives:[r.c,i.e,o.n,o.o,tt,rt,et],styles:['.mat-calendar{display:block}.mat-calendar-header{padding:8px 8px 0 8px}.mat-calendar-content{padding:0 8px 8px 8px;outline:none}.mat-calendar-controls{display:flex;margin:5% calc(33% / 7 - 16px)}.mat-calendar-controls .mat-icon-button:hover .mat-button-focus-overlay{opacity:.04}.mat-calendar-spacer{flex:1 1 auto}.mat-calendar-period-button{min-width:0}.mat-calendar-arrow{display:inline-block;width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top-width:5px;border-top-style:solid;margin:0 0 0 5px;vertical-align:middle}.mat-calendar-arrow.mat-calendar-invert{transform:rotate(180deg)}[dir=rtl] .mat-calendar-arrow{margin:0 5px 0 0}.mat-calendar-previous-button,.mat-calendar-next-button{position:relative}.mat-calendar-previous-button::after,.mat-calendar-next-button::after{top:0;left:0;right:0;bottom:0;position:absolute;content:"";margin:15.5px;border:0 solid currentColor;border-top-width:2px}[dir=rtl] .mat-calendar-previous-button,[dir=rtl] .mat-calendar-next-button{transform:rotate(180deg)}.mat-calendar-previous-button::after{border-left-width:2px;transform:translateX(2px) rotate(-45deg)}.mat-calendar-next-button::after{border-right-width:2px;transform:translateX(-2px) rotate(45deg)}.mat-calendar-table{border-spacing:0;border-collapse:collapse;width:100%}.mat-calendar-table-header th{text-align:center;padding:0 0 8px 0}.mat-calendar-table-header-divider{position:relative;height:1px}.mat-calendar-table-header-divider::after{content:"";position:absolute;top:0;left:-8px;right:-8px;height:1px}\n'],encapsulation:2,changeDetection:0}),t})();const ct={transformPanel:Object(C.n)("transformPanel",[Object(C.k)("void",Object(C.l)({opacity:0,transform:"scale(1, 0.8)"})),Object(C.m)("void => enter",Object(C.e)("120ms cubic-bezier(0, 0, 0.2, 1)",Object(C.l)({opacity:1,transform:"scale(1, 1)"}))),Object(C.m)("* => void",Object(C.e)("100ms linear",Object(C.l)({opacity:0})))]),fadeInCalendar:Object(C.n)("fadeInCalendar",[Object(C.k)("void",Object(C.l)({opacity:0})),Object(C.k)("enter",Object(C.l)({opacity:1})),Object(C.m)("void => *",Object(C.e)("120ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"))])};let dt=0;const ut=new s.s("mat-datepicker-scroll-strategy"),ht={provide:ut,deps:[a.c],useFactory:function(t){return()=>t.scrollStrategies.reposition()}};class mt{constructor(t){this._elementRef=t}}const pt=Object(u.w)(mt);let ft=(()=>{class t extends pt{constructor(t,e,n,i,a,r){super(t),this._changeDetectorRef=e,this._globalModel=n,this._dateAdapter=i,this._rangeSelectionStrategy=a,this._subscriptions=new m.a,this._animationState="enter",this._animationDone=new h.a,this._actionsPortal=null,this._closeButtonText=(null==r?void 0:r.closeCalendarLabel)||"Close calendar"}ngOnInit(){this._model=this._actionsPortal?this._globalModel.clone():this._globalModel}ngAfterViewInit(){this._subscriptions.add(this.datepicker.stateChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})),this._calendar.focusActiveCell()}ngOnDestroy(){this._subscriptions.unsubscribe(),this._animationDone.complete()}_handleUserSelection(t){const e=this._model.selection,n=t.value,i=e instanceof Z;if(i&&this._rangeSelectionStrategy){const i=this._rangeSelectionStrategy.selectionFinished(n,e,t.event);this._model.updateSelection(i,this)}else!n||!i&&this._dateAdapter.sameDate(n,e)||this._model.add(n);this._model&&!this._model.isComplete()||this._actionsPortal||this.datepicker.close()}_startExitAnimation(){this._animationState="void",this._changeDetectorRef.markForCheck()}_getSelected(){return this._model.selection}_applyPendingSelection(){this._model!==this._globalModel&&this._globalModel.updateSelection(this._model.selection,this)}}return t.\u0275fac=function(e){return new(e||t)(s.Nb(s.l),s.Nb(s.h),s.Nb($),s.Nb(u.c),s.Nb(Q,8),s.Nb(V))},t.\u0275cmp=s.Hb({type:t,selectors:[["mat-datepicker-content"]],viewQuery:function(t,e){if(1&t&&s.Lc(lt,1),2&t){let t;s.uc(t=s.cc())&&(e._calendar=t.first)}},hostAttrs:[1,"mat-datepicker-content"],hostVars:3,hostBindings:function(t,e){1&t&&s.Dc("@transformPanel.done",function(){return e._animationDone.next()}),2&t&&(s.Ec("@transformPanel",e._animationState),s.Fb("mat-datepicker-content-touch",e.datepicker.touchUi))},inputs:{color:"color"},exportAs:["matDatepickerContent"],features:[s.zb],decls:5,vars:20,consts:[["cdkTrapFocus","",1,"mat-datepicker-content-container"],[3,"id","ngClass","startAt","startView","minDate","maxDate","dateFilter","headerComponent","selected","dateClass","comparisonStart","comparisonEnd","yearSelected","monthSelected","viewChanged","_userSelection"],[3,"cdkPortalOutlet"],["type","button","mat-raised-button","",1,"mat-datepicker-close-button",3,"color","focus","blur","click"]],template:function(t,e){1&t&&(s.Tb(0,"div",0),s.Tb(1,"mat-calendar",1),s.bc("yearSelected",function(t){return e.datepicker._selectYear(t)})("monthSelected",function(t){return e.datepicker._selectMonth(t)})("viewChanged",function(t){return e.datepicker._viewChanged(t)})("_userSelection",function(t){return e._handleUserSelection(t)}),s.Sb(),s.Fc(2,Y,0,0,"ng-template",2),s.Tb(3,"button",3),s.bc("focus",function(){return e._closeButtonFocused=!0})("blur",function(){return e._closeButtonFocused=!1})("click",function(){return e.datepicker.close()}),s.Hc(4),s.Sb(),s.Sb()),2&t&&(s.Fb("mat-datepicker-content-container-with-actions",e._actionsPortal),s.Cb(1),s.nc("id",e.datepicker.id)("ngClass",e.datepicker.panelClass)("startAt",e.datepicker.startAt)("startView",e.datepicker.startView)("minDate",e.datepicker._getMinDate())("maxDate",e.datepicker._getMaxDate())("dateFilter",e.datepicker._getDateFilter())("headerComponent",e.datepicker.calendarHeaderComponent)("selected",e._getSelected())("dateClass",e.datepicker.dateClass)("comparisonStart",e.comparisonStart)("comparisonEnd",e.comparisonEnd)("@fadeInCalendar","enter"),s.Cb(1),s.nc("cdkPortalOutlet",e._actionsPortal),s.Cb(1),s.Fb("cdk-visually-hidden",!e._closeButtonFocused),s.nc("color",e.color||"primary"),s.Cb(1),s.Ic(e._closeButtonText))},directives:[i.f,lt,o.j,r.c,l.a],styles:[".mat-datepicker-content{display:block;border-radius:4px}.mat-datepicker-content .mat-calendar{width:296px;height:354px}.mat-datepicker-content .mat-datepicker-close-button{position:absolute;top:100%;left:0;margin-top:8px}.ng-animating .mat-datepicker-content .mat-datepicker-close-button{display:none}.mat-datepicker-content-container{display:flex;flex-direction:column;justify-content:space-between}.mat-datepicker-content-touch{display:block;max-height:80vh;overflow:auto;margin:-24px}.mat-datepicker-content-touch .mat-datepicker-content-container{min-height:312px;max-height:788px;min-width:250px;max-width:750px}.mat-datepicker-content-touch .mat-calendar{width:100%;height:auto}@media all and (orientation: landscape){.mat-datepicker-content-touch .mat-datepicker-content-container{width:64vh;height:80vh}}@media all and (orientation: portrait){.mat-datepicker-content-touch .mat-datepicker-content-container{width:80vw;height:100vw}.mat-datepicker-content-touch .mat-datepicker-content-container-with-actions{height:115vw}}\n"],encapsulation:2,data:{animation:[ct.transformPanel,ct.fadeInCalendar]},changeDetection:0}),t})(),gt=(()=>{class t{constructor(t,e,n,i,a,r,o,l,c){this._dialog=t,this._overlay=e,this._ngZone=n,this._viewContainerRef=i,this._dateAdapter=r,this._dir=o,this._document=l,this._model=c,this._inputStateChanges=m.a.EMPTY,this.startView="month",this._touchUi=!1,this.xPosition="start",this.yPosition="below",this.yearSelected=new s.o,this.monthSelected=new s.o,this.viewChanged=new s.o(!0),this.openedStream=new s.o,this.closedStream=new s.o,this._opened=!1,this.id="mat-datepicker-"+dt++,this._focusedElementBeforeOpen=null,this._backdropHarnessClass=`${this.id}-backdrop`,this.stateChanges=new h.a,this._scrollStrategy=a}get startAt(){return this._startAt||(this.datepickerInput?this.datepickerInput.getStartValue():null)}set startAt(t){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}get color(){return this._color||(this.datepickerInput?this.datepickerInput.getThemePalette():void 0)}set color(t){this._color=t}get touchUi(){return this._touchUi}set touchUi(t){this._touchUi=Object(v.c)(t)}get disabled(){return void 0===this._disabled&&this.datepickerInput?this.datepickerInput.disabled:!!this._disabled}set disabled(t){const e=Object(v.c)(t);e!==this._disabled&&(this._disabled=e,this.stateChanges.next(void 0))}get panelClass(){return this._panelClass}set panelClass(t){this._panelClass=Object(v.g)(t)}get opened(){return this._opened}set opened(t){Object(v.c)(t)?this.open():this.close()}_getMinDate(){return this.datepickerInput&&this.datepickerInput.min}_getMaxDate(){return this.datepickerInput&&this.datepickerInput.max}_getDateFilter(){return this.datepickerInput&&this.datepickerInput.dateFilter}ngOnChanges(t){const e=t.xPosition||t.yPosition;e&&!e.firstChange&&this._popupRef&&(this._setConnectedPositions(this._popupRef.getConfig().positionStrategy),this.opened&&this._popupRef.updatePosition()),this.stateChanges.next(void 0)}ngOnDestroy(){this._destroyPopup(),this.close(),this._inputStateChanges.unsubscribe(),this.stateChanges.complete()}select(t){this._model.add(t)}_selectYear(t){this.yearSelected.emit(t)}_selectMonth(t){this.monthSelected.emit(t)}_viewChanged(t){this.viewChanged.emit(t)}registerInput(t){return this._inputStateChanges.unsubscribe(),this.datepickerInput=t,this._inputStateChanges=t.stateChanges.subscribe(()=>this.stateChanges.next(void 0)),this._model}registerActions(t){this._actionsPortal=t}removeActions(t){t===this._actionsPortal&&(this._actionsPortal=null)}open(){this._opened||this.disabled||(this._document&&(this._focusedElementBeforeOpen=this._document.activeElement),this.touchUi?this._openAsDialog():this._openAsPopup(),this._opened=!0,this.openedStream.emit())}close(){if(!this._opened)return;if(this._popupComponentRef&&this._popupRef){const t=this._popupComponentRef.instance;t._startExitAnimation(),t._animationDone.pipe(Object(b.a)(1)).subscribe(()=>this._destroyPopup())}this._dialogRef&&(this._dialogRef.close(),this._dialogRef=null);const t=()=>{this._opened&&(this._opened=!1,this.closedStream.emit(),this._focusedElementBeforeOpen=null)};this._focusedElementBeforeOpen&&"function"==typeof this._focusedElementBeforeOpen.focus?(this._focusedElementBeforeOpen.focus(),setTimeout(t)):t()}_applyPendingSelection(){var t,e;const n=(null===(t=this._popupComponentRef)||void 0===t?void 0:t.instance)||(null===(e=this._dialogRef)||void 0===e?void 0:e.componentInstance);null==n||n._applyPendingSelection()}_openAsDialog(){this._dialogRef&&this._dialogRef.close(),this._dialogRef=this._dialog.open(ft,{direction:this._dir?this._dir.value:"ltr",viewContainerRef:this._viewContainerRef,panelClass:"mat-datepicker-dialog",hasBackdrop:!0,disableClose:!1,backdropClass:["cdk-overlay-dark-backdrop",this._backdropHarnessClass],width:"",height:"",minWidth:"",minHeight:"",maxWidth:"80vw",maxHeight:"",position:{},autoFocus:!1,restoreFocus:!1}),this._dialogRef.afterClosed().subscribe(()=>this.close()),this._forwardContentValues(this._dialogRef.componentInstance)}_openAsPopup(){const t=new r.d(ft,this._viewContainerRef);this._destroyPopup(),this._createPopup(),this._popupComponentRef=this._popupRef.attach(t),this._forwardContentValues(this._popupComponentRef.instance),this._ngZone.onStable.pipe(Object(b.a)(1)).subscribe(()=>{this._popupRef.updatePosition()})}_forwardContentValues(t){t.datepicker=this,t.color=this.color,t._actionsPortal=this._actionsPortal}_createPopup(){const t=this._overlay.position().flexibleConnectedTo(this.datepickerInput.getConnectedOverlayOrigin()).withTransformOriginOn(".mat-datepicker-content").withFlexibleDimensions(!1).withViewportMargin(8).withLockedPosition(),e=new a.d({positionStrategy:this._setConnectedPositions(t),hasBackdrop:!0,backdropClass:["mat-overlay-transparent-backdrop",this._backdropHarnessClass],direction:this._dir,scrollStrategy:this._scrollStrategy(),panelClass:"mat-datepicker-popup"});this._popupRef=this._overlay.create(e),this._popupRef.overlayElement.setAttribute("role","dialog"),Object(p.a)(this._popupRef.backdropClick(),this._popupRef.detachments(),this._popupRef.keydownEvents().pipe(Object(y.a)(t=>t.keyCode===g.f&&!Object(g.r)(t)||this.datepickerInput&&Object(g.r)(t,"altKey")&&t.keyCode===g.o))).subscribe(t=>{t&&t.preventDefault(),this.close()})}_destroyPopup(){this._popupRef&&(this._popupRef.dispose(),this._popupRef=this._popupComponentRef=null)}_setConnectedPositions(t){const e="end"===this.xPosition?"end":"start",n="start"===e?"end":"start",i="above"===this.yPosition?"bottom":"top",a="top"===i?"bottom":"top";return t.withPositions([{originX:e,originY:a,overlayX:e,overlayY:i},{originX:e,originY:i,overlayX:e,overlayY:a},{originX:n,originY:a,overlayX:n,overlayY:i},{originX:n,originY:i,overlayX:n,overlayY:a}])}}return t.\u0275fac=function(e){return new(e||t)(s.Nb(c.b),s.Nb(a.c),s.Nb(s.B),s.Nb(s.R),s.Nb(ut),s.Nb(u.c,8),s.Nb(O.b,8),s.Nb(o.d,8),s.Nb($))},t.\u0275dir=s.Ib({type:t,inputs:{startView:"startView",xPosition:"xPosition",yPosition:"yPosition",startAt:"startAt",color:"color",touchUi:"touchUi",disabled:"disabled",panelClass:"panelClass",opened:"opened",calendarHeaderComponent:"calendarHeaderComponent",dateClass:"dateClass"},outputs:{yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",openedStream:"opened",closedStream:"closed"},features:[s.Ab]}),t})(),bt=(()=>{class t extends gt{}return t.\u0275fac=function(e){return _t(e||t)},t.\u0275cmp=s.Hb({type:t,selectors:[["mat-datepicker"]],exportAs:["matDatepicker"],features:[s.Bb([K,{provide:gt,useExisting:t}]),s.zb],decls:0,vars:0,template:function(t,e){},encapsulation:2,changeDetection:0}),t})();const _t=s.Vb(bt);class yt{constructor(t,e){this.target=t,this.targetElement=e,this.value=this.target.value}}let vt=(()=>{class t{constructor(t,e,n){this._elementRef=t,this._dateAdapter=e,this._dateFormats=n,this.dateChange=new s.o,this.dateInput=new s.o,this.stateChanges=new h.a,this._onTouched=()=>{},this._validatorOnChange=()=>{},this._cvaOnChange=()=>{},this._valueChangesSubscription=m.a.EMPTY,this._localeSubscription=m.a.EMPTY,this._parseValidator=()=>this._lastValueValid?null:{matDatepickerParse:{text:this._elementRef.nativeElement.value}},this._filterValidator=t=>{const e=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t.value));return!e||this._matchesFilter(e)?null:{matDatepickerFilter:!0}},this._minValidator=t=>{const e=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t.value)),n=this._getMinDate();return!n||!e||this._dateAdapter.compareDate(n,e)<=0?null:{matDatepickerMin:{min:n,actual:e}}},this._maxValidator=t=>{const e=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t.value)),n=this._getMaxDate();return!n||!e||this._dateAdapter.compareDate(n,e)>=0?null:{matDatepickerMax:{max:n,actual:e}}},this._lastValueValid=!1,this._localeSubscription=e.localeChanges.subscribe(()=>{this._assignValueProgrammatically(this.value)})}get value(){return this._model?this._getValueFromModel(this._model.selection):this._pendingValue}set value(t){this._assignValueProgrammatically(t)}get disabled(){return!!this._disabled||this._parentDisabled()}set disabled(t){const e=Object(v.c)(t),n=this._elementRef.nativeElement;this._disabled!==e&&(this._disabled=e,this.stateChanges.next(void 0)),e&&this._isInitialized&&n.blur&&n.blur()}_getValidators(){return[this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]}_registerModel(t){this._model=t,this._valueChangesSubscription.unsubscribe(),this._pendingValue&&this._assignValue(this._pendingValue),this._valueChangesSubscription=this._model.selectionChanged.subscribe(t=>{if(this._shouldHandleChangeEvent(t)){const e=this._getValueFromModel(t.selection);this._lastValueValid=this._isValidValue(e),this._cvaOnChange(e),this._onTouched(),this._formatValue(e),this.dateInput.emit(new yt(this,this._elementRef.nativeElement)),this.dateChange.emit(new yt(this,this._elementRef.nativeElement))}})}ngAfterViewInit(){this._isInitialized=!0}ngOnChanges(t){(function(t,e){const n=Object.keys(t);for(let i of n){const{previousValue:n,currentValue:a}=t[i];if(!e.isDateInstance(n)||!e.isDateInstance(a))return!0;if(!e.sameDate(n,a))return!0}return!1})(t,this._dateAdapter)&&this.stateChanges.next(void 0)}ngOnDestroy(){this._valueChangesSubscription.unsubscribe(),this._localeSubscription.unsubscribe(),this.stateChanges.complete()}registerOnValidatorChange(t){this._validatorOnChange=t}validate(t){return this._validator?this._validator(t):null}writeValue(t){this._assignValueProgrammatically(t)}registerOnChange(t){this._cvaOnChange=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t}_onKeydown(t){t.altKey&&t.keyCode===g.c&&!this._elementRef.nativeElement.readOnly&&(this._openPopup(),t.preventDefault())}_onInput(t){const e=this._lastValueValid;let n=this._dateAdapter.parse(t,this._dateFormats.parse.dateInput);this._lastValueValid=this._isValidValue(n),n=this._dateAdapter.getValidDateOrNull(n),this._dateAdapter.sameDate(n,this.value)?(t&&!this.value&&this._cvaOnChange(n),e!==this._lastValueValid&&this._validatorOnChange()):(this._assignValue(n),this._cvaOnChange(n),this.dateInput.emit(new yt(this,this._elementRef.nativeElement)))}_onChange(){this.dateChange.emit(new yt(this,this._elementRef.nativeElement))}_onBlur(){this.value&&this._formatValue(this.value),this._onTouched()}_formatValue(t){this._elementRef.nativeElement.value=t?this._dateAdapter.format(t,this._dateFormats.display.dateInput):""}_assignValue(t){this._model?(this._assignValueToModel(t),this._pendingValue=null):this._pendingValue=t}_isValidValue(t){return!t||this._dateAdapter.isValid(t)}_parentDisabled(){return!1}_assignValueProgrammatically(t){t=this._dateAdapter.deserialize(t),this._lastValueValid=this._isValidValue(t),t=this._dateAdapter.getValidDateOrNull(t),this._assignValue(t),this._formatValue(t)}_matchesFilter(t){const e=this._getDateFilter();return!e||e(t)}}return t.\u0275fac=function(e){return new(e||t)(s.Nb(s.l),s.Nb(u.c,8),s.Nb(u.e,8))},t.\u0275dir=s.Ib({type:t,inputs:{value:"value",disabled:"disabled"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[s.Ab]}),t})();const Ct={provide:w.m,useExisting:Object(s.V)(()=>xt),multi:!0},wt={provide:w.l,useExisting:Object(s.V)(()=>xt),multi:!0};let xt=(()=>{class t extends vt{constructor(t,e,n,i){super(t,e,n),this._formField=i,this._closedSubscription=m.a.EMPTY,this._validator=w.w.compose(super._getValidators())}set matDatepicker(t){t&&(this._datepicker=t,this._closedSubscription=t.closedStream.subscribe(()=>this._onTouched()),this._registerModel(t.registerInput(this)))}get min(){return this._min}set min(t){const e=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t));this._dateAdapter.sameDate(e,this._min)||(this._min=e,this._validatorOnChange())}get max(){return this._max}set max(t){const e=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t));this._dateAdapter.sameDate(e,this._max)||(this._max=e,this._validatorOnChange())}get dateFilter(){return this._dateFilter}set dateFilter(t){const e=this._matchesFilter(this.value);this._dateFilter=t,this._matchesFilter(this.value)!==e&&this._validatorOnChange()}getConnectedOverlayOrigin(){return this._formField?this._formField.getConnectedOverlayOrigin():this._elementRef}getThemePalette(){return this._formField?this._formField.color:void 0}getStartValue(){return this.value}ngOnDestroy(){super.ngOnDestroy(),this._closedSubscription.unsubscribe()}_openPopup(){this._datepicker&&this._datepicker.open()}_getValueFromModel(t){return t}_assignValueToModel(t){this._model&&this._model.updateSelection(t,this)}_getMinDate(){return this._min}_getMaxDate(){return this._max}_getDateFilter(){return this._dateFilter}_shouldHandleChangeEvent(t){return t.source!==this}}return t.\u0275fac=function(e){return new(e||t)(s.Nb(s.l),s.Nb(u.c,8),s.Nb(u.e,8),s.Nb(x.a,8))},t.\u0275dir=s.Ib({type:t,selectors:[["input","matDatepicker",""]],hostAttrs:[1,"mat-datepicker-input"],hostVars:6,hostBindings:function(t,e){1&t&&s.bc("input",function(t){return e._onInput(t.target.value)})("change",function(){return e._onChange()})("blur",function(){return e._onBlur()})("keydown",function(t){return e._onKeydown(t)}),2&t&&(s.Wb("disabled",e.disabled),s.Db("aria-haspopup",e._datepicker?"dialog":null)("aria-owns",(null==e._datepicker?null:e._datepicker.opened)&&e._datepicker.id||null)("min",e.min?e._dateAdapter.toIso8601(e.min):null)("max",e.max?e._dateAdapter.toIso8601(e.max):null)("data-mat-calendar",e._datepicker?e._datepicker.id:null))},inputs:{matDatepicker:"matDatepicker",min:"min",max:"max",dateFilter:["matDatepickerFilter","dateFilter"]},exportAs:["matDatepickerInput"],features:[s.Bb([Ct,wt,{provide:M.a,useExisting:t}]),s.zb]}),t})(),Mt=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=s.Ib({type:t,selectors:[["","matDatepickerToggleIcon",""]]}),t})(),Ot=(()=>{class t{constructor(t,e,n){this._intl=t,this._changeDetectorRef=e,this._stateChanges=m.a.EMPTY;const i=Number(n);this.tabIndex=i||0===i?i:null}get disabled(){return void 0===this._disabled&&this.datepicker?this.datepicker.disabled:!!this._disabled}set disabled(t){this._disabled=Object(v.c)(t)}ngOnChanges(t){t.datepicker&&this._watchStateChanges()}ngOnDestroy(){this._stateChanges.unsubscribe()}ngAfterContentInit(){this._watchStateChanges()}_open(t){this.datepicker&&!this.disabled&&(this.datepicker.open(),t.stopPropagation())}_watchStateChanges(){const t=this.datepicker?this.datepicker.stateChanges:Object(f.a)(),e=this.datepicker&&this.datepicker.datepickerInput?this.datepicker.datepickerInput.stateChanges:Object(f.a)(),n=this.datepicker?Object(p.a)(this.datepicker.openedStream,this.datepicker.closedStream):Object(f.a)();this._stateChanges.unsubscribe(),this._stateChanges=Object(p.a)(this._intl.changes,t,e,n).subscribe(()=>this._changeDetectorRef.markForCheck())}}return t.\u0275fac=function(e){return new(e||t)(s.Nb(V),s.Nb(s.h),s.Yb("tabindex"))},t.\u0275cmp=s.Hb({type:t,selectors:[["mat-datepicker-toggle"]],contentQueries:function(t,e,n){if(1&t&&s.Gb(n,Mt,1),2&t){let t;s.uc(t=s.cc())&&(e._customIcon=t.first)}},viewQuery:function(t,e){if(1&t&&s.Lc(H,1),2&t){let t;s.uc(t=s.cc())&&(e._button=t.first)}},hostAttrs:[1,"mat-datepicker-toggle"],hostVars:8,hostBindings:function(t,e){2&t&&(s.Db("tabindex",null)("data-mat-calendar",e.datepicker?e.datepicker.id:null),s.Fb("mat-datepicker-toggle-active",e.datepicker&&e.datepicker.opened)("mat-accent",e.datepicker&&"accent"===e.datepicker.color)("mat-warn",e.datepicker&&"warn"===e.datepicker.color))},inputs:{tabIndex:"tabIndex",disabled:"disabled",datepicker:["for","datepicker"],ariaLabel:["aria-label","ariaLabel"],disableRipple:"disableRipple"},exportAs:["matDatepickerToggle"],features:[s.Ab],ngContentSelectors:z,decls:4,vars:6,consts:[["mat-icon-button","","type","button",3,"disabled","disableRipple","click"],["button",""],["class","mat-datepicker-toggle-default-icon","viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false",4,"ngIf"],["viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false",1,"mat-datepicker-toggle-default-icon"],["d","M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z"]],template:function(t,e){1&t&&(s.mc(F),s.Tb(0,"button",0,1),s.bc("click",function(t){return e._open(t)}),s.Fc(2,j,2,0,"svg",2),s.lc(3),s.Sb()),2&t&&(s.nc("disabled",e.disabled)("disableRipple",e.disableRipple),s.Db("aria-haspopup",e.datepicker?"dialog":null)("aria-label",e.ariaLabel||e._intl.openCalendarLabel)("tabindex",e.disabled?-1:e.tabIndex),s.Cb(2),s.nc("ngIf",!e._customIcon))},directives:[l.a,o.l],styles:[".mat-form-field-appearance-legacy .mat-form-field-prefix .mat-datepicker-toggle-default-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-datepicker-toggle-default-icon{width:1em}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-datepicker-toggle-default-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-datepicker-toggle-default-icon{display:block;width:1.5em;height:1.5em}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-datepicker-toggle-default-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-datepicker-toggle-default-icon{margin:auto}\n"],encapsulation:2,changeDetection:0}),t})(),kt=(()=>{class t{}return t.\u0275mod=s.Lb({type:t}),t.\u0275inj=s.Kb({factory:function(e){return new(e||t)},providers:[V,ht],imports:[[o.c,l.b,c.e,a.f,i.a,r.f,u.j],d.b]}),t})()},TSSN:function(t,e,n){"use strict";n.d(e,"a",function(){return p}),n.d(e,"b",function(){return N}),n.d(e,"c",function(){return R}),n.d(e,"d",function(){return I});var i=n("8Y7J"),a=n("LRne"),r=n("7+OI"),o=n("cp0P"),s=n("GyhO"),l=n("NXyV"),c=n("IzEk"),d=n("UXun"),u=n("lJxs"),h=n("bOdf"),m=n("eIep");class p{}let f=(()=>{class t extends p{getTranslation(t){return Object(a.a)({})}}return t.\u0275fac=function(e){return g(e||t)},t.\u0275prov=i.Jb({token:t,factory:t.\u0275fac}),t})();const g=i.Vb(f);class b{}let _=(()=>{class t{handle(t){return t.key}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=i.Jb({token:t,factory:t.\u0275fac}),t})();function y(t,e){if(t===e)return!0;if(null===t||null===e)return!1;if(t!=t&&e!=e)return!0;let n,i,a,r=typeof t;if(r==typeof e&&"object"==r){if(!Array.isArray(t)){if(Array.isArray(e))return!1;for(i in a=Object.create(null),t){if(!y(t[i],e[i]))return!1;a[i]=!0}for(i in e)if(!(i in a)&&void 0!==e[i])return!1;return!0}if(!Array.isArray(e))return!1;if((n=t.length)==e.length){for(i=0;i<n;i++)if(!y(t[i],e[i]))return!1;return!0}}return!1}function v(t){return null!=t}function C(t){return t&&"object"==typeof t&&!Array.isArray(t)}function w(t,e){let n=Object.assign({},t);return C(t)&&C(e)&&Object.keys(e).forEach(i=>{C(e[i])?i in t?n[i]=w(t[i],e[i]):Object.assign(n,{[i]:e[i]}):Object.assign(n,{[i]:e[i]})}),n}class x{}let M=(()=>{class t extends x{constructor(){super(...arguments),this.templateMatcher=/{{\s?([^{}\s]*)\s?}}/g}interpolate(t,e){let n;return n="string"==typeof t?this.interpolateString(t,e):"function"==typeof t?this.interpolateFunction(t,e):t,n}getValue(t,e){let n="string"==typeof e?e.split("."):[e];e="";do{e+=n.shift(),!v(t)||!v(t[e])||"object"!=typeof t[e]&&n.length?n.length?e+=".":t=void 0:(t=t[e],e="")}while(n.length);return t}interpolateFunction(t,e){return t(e)}interpolateString(t,e){return e?t.replace(this.templateMatcher,(t,n)=>{let i=this.getValue(e,n);return v(i)?i:t}):t}}return t.\u0275fac=function(e){return O(e||t)},t.\u0275prov=i.Jb({token:t,factory:t.\u0275fac}),t})();const O=i.Vb(M);class k{}let S=(()=>{class t extends k{compile(t,e){return t}compileTranslations(t,e){return t}}return t.\u0275fac=function(e){return T(e||t)},t.\u0275prov=i.Jb({token:t,factory:t.\u0275fac}),t})();const T=i.Vb(S);class P{constructor(){this.currentLang=this.defaultLang,this.translations={},this.langs=[],this.onTranslationChange=new i.o,this.onLangChange=new i.o,this.onDefaultLangChange=new i.o}}const L=new i.s("USE_STORE"),D=new i.s("USE_DEFAULT_LANG"),E=new i.s("DEFAULT_LANGUAGE"),A=new i.s("USE_EXTEND");let I=(()=>{class t{constructor(t,e,n,a,r,o=!0,s=!1,l=!1,c){this.store=t,this.currentLoader=e,this.compiler=n,this.parser=a,this.missingTranslationHandler=r,this.useDefaultLang=o,this.isolate=s,this.extend=l,this.pending=!1,this._onTranslationChange=new i.o,this._onLangChange=new i.o,this._onDefaultLangChange=new i.o,this._langs=[],this._translations={},this._translationRequests={},c&&this.setDefaultLang(c)}get onTranslationChange(){return this.isolate?this._onTranslationChange:this.store.onTranslationChange}get onLangChange(){return this.isolate?this._onLangChange:this.store.onLangChange}get onDefaultLangChange(){return this.isolate?this._onDefaultLangChange:this.store.onDefaultLangChange}get defaultLang(){return this.isolate?this._defaultLang:this.store.defaultLang}set defaultLang(t){this.isolate?this._defaultLang=t:this.store.defaultLang=t}get currentLang(){return this.isolate?this._currentLang:this.store.currentLang}set currentLang(t){this.isolate?this._currentLang=t:this.store.currentLang=t}get langs(){return this.isolate?this._langs:this.store.langs}set langs(t){this.isolate?this._langs=t:this.store.langs=t}get translations(){return this.isolate?this._translations:this.store.translations}set translations(t){this.isolate?this._translations=t:this.store.translations=t}setDefaultLang(t){if(t===this.defaultLang)return;let e=this.retrieveTranslations(t);void 0!==e?(null==this.defaultLang&&(this.defaultLang=t),e.pipe(Object(c.a)(1)).subscribe(e=>{this.changeDefaultLang(t)})):this.changeDefaultLang(t)}getDefaultLang(){return this.defaultLang}use(t){if(t===this.currentLang)return Object(a.a)(this.translations[t]);let e=this.retrieveTranslations(t);return void 0!==e?(this.currentLang||(this.currentLang=t),e.pipe(Object(c.a)(1)).subscribe(e=>{this.changeLang(t)}),e):(this.changeLang(t),Object(a.a)(this.translations[t]))}retrieveTranslations(t){let e;return(void 0===this.translations[t]||this.extend)&&(this._translationRequests[t]=this._translationRequests[t]||this.getTranslation(t),e=this._translationRequests[t]),e}getTranslation(t){this.pending=!0;const e=this.currentLoader.getTranslation(t).pipe(Object(d.a)(1),Object(c.a)(1));return this.loadingTranslations=e.pipe(Object(u.a)(e=>this.compiler.compileTranslations(e,t)),Object(d.a)(1),Object(c.a)(1)),this.loadingTranslations.subscribe({next:e=>{this.translations[t]=this.extend&&this.translations[t]?Object.assign(Object.assign({},e),this.translations[t]):e,this.updateLangs(),this.pending=!1},error:t=>{this.pending=!1}}),e}setTranslation(t,e,n=!1){e=this.compiler.compileTranslations(e,t),this.translations[t]=(n||this.extend)&&this.translations[t]?w(this.translations[t],e):e,this.updateLangs(),this.onTranslationChange.emit({lang:t,translations:this.translations[t]})}getLangs(){return this.langs}addLangs(t){t.forEach(t=>{-1===this.langs.indexOf(t)&&this.langs.push(t)})}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResult(t,e,n){let i;if(e instanceof Array){let i={},s=!1;for(let a of e)i[a]=this.getParsedResult(t,a,n),Object(r.a)(i[a])&&(s=!0);if(s){const t=e.map(t=>Object(r.a)(i[t])?i[t]:Object(a.a)(i[t]));return Object(o.a)(t).pipe(Object(u.a)(t=>{let n={};return t.forEach((t,i)=>{n[e[i]]=t}),n}))}return i}if(t&&(i=this.parser.interpolate(this.parser.getValue(t,e),n)),void 0===i&&null!=this.defaultLang&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(i=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],e),n)),void 0===i){let t={key:e,translateService:this};void 0!==n&&(t.interpolateParams=n),i=this.missingTranslationHandler.handle(t)}return void 0!==i?i:e}get(t,e){if(!v(t)||!t.length)throw new Error('Parameter "key" required');if(this.pending)return this.loadingTranslations.pipe(Object(h.a)(n=>(n=this.getParsedResult(n,t,e),Object(r.a)(n)?n:Object(a.a)(n))));{let n=this.getParsedResult(this.translations[this.currentLang],t,e);return Object(r.a)(n)?n:Object(a.a)(n)}}getStreamOnTranslationChange(t,e){if(!v(t)||!t.length)throw new Error('Parameter "key" required');return Object(s.a)(Object(l.a)(()=>this.get(t,e)),this.onTranslationChange.pipe(Object(m.a)(n=>{const i=this.getParsedResult(n.translations,t,e);return"function"==typeof i.subscribe?i:Object(a.a)(i)})))}stream(t,e){if(!v(t)||!t.length)throw new Error('Parameter "key" required');return Object(s.a)(Object(l.a)(()=>this.get(t,e)),this.onLangChange.pipe(Object(m.a)(n=>{const i=this.getParsedResult(n.translations,t,e);return Object(r.a)(i)?i:Object(a.a)(i)})))}instant(t,e){if(!v(t)||!t.length)throw new Error('Parameter "key" required');let n=this.getParsedResult(this.translations[this.currentLang],t,e);if(Object(r.a)(n)){if(t instanceof Array){let e={};return t.forEach((n,i)=>{e[t[i]]=t[i]}),e}return t}return n}set(t,e,n=this.currentLang){this.translations[n][t]=this.compiler.compile(e,n),this.updateLangs(),this.onTranslationChange.emit({lang:n,translations:this.translations[n]})}changeLang(t){this.currentLang=t,this.onLangChange.emit({lang:t,translations:this.translations[t]}),null==this.defaultLang&&this.changeDefaultLang(t)}changeDefaultLang(t){this.defaultLang=t,this.onDefaultLangChange.emit({lang:t,translations:this.translations[t]})}reloadLang(t){return this.resetLang(t),this.getTranslation(t)}resetLang(t){this._translationRequests[t]=void 0,this.translations[t]=void 0}getBrowserLang(){if("undefined"==typeof window||void 0===window.navigator)return;let t=window.navigator.languages?window.navigator.languages[0]:null;return t=t||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,void 0!==t?(-1!==t.indexOf("-")&&(t=t.split("-")[0]),-1!==t.indexOf("_")&&(t=t.split("_")[0]),t):void 0}getBrowserCultureLang(){if("undefined"==typeof window||void 0===window.navigator)return;let t=window.navigator.languages?window.navigator.languages[0]:null;return t=t||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,t}}return t.\u0275fac=function(e){return new(e||t)(i.Xb(P),i.Xb(p),i.Xb(k),i.Xb(x),i.Xb(b),i.Xb(D),i.Xb(L),i.Xb(A),i.Xb(E))},t.\u0275prov=i.Jb({token:t,factory:t.\u0275fac}),t})(),R=(()=>{class t{constructor(t,e){this.translate=t,this._ref=e,this.value=""}updateValue(t,e,n){let i=e=>{this.value=void 0!==e?e:t,this.lastKey=t,this._ref.markForCheck()};if(n){let a=this.translate.getParsedResult(n,t,e);Object(r.a)(a.subscribe)?a.subscribe(i):i(a)}this.translate.get(t,e).subscribe(i)}transform(t,...e){if(!t||!t.length)return t;if(y(t,this.lastKey)&&y(e,this.lastParams))return this.value;let n;if(v(e[0])&&e.length)if("string"==typeof e[0]&&e[0].length){let t=e[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{n=JSON.parse(t)}catch(i){throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${e[0]}`)}}else"object"!=typeof e[0]||Array.isArray(e[0])||(n=e[0]);return this.lastKey=t,this.lastParams=e,this.updateValue(t,n),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(e=>{this.lastKey&&e.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(t,n,e.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(e=>{this.lastKey&&(this.lastKey=null,this.updateValue(t,n,e.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(t,n))})),this.value}_dispose(){void 0!==this.onTranslationChange&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),void 0!==this.onLangChange&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),void 0!==this.onDefaultLangChange&&(this.onDefaultLangChange.unsubscribe(),this.onDefaultLangChange=void 0)}ngOnDestroy(){this._dispose()}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(I),i.Zb())},t.\u0275pipe=i.Mb({name:"translate",type:t,pure:!1}),t.\u0275prov=i.Jb({token:t,factory:t.\u0275fac}),t})(),N=(()=>{class t{static forRoot(e={}){return{ngModule:t,providers:[e.loader||{provide:p,useClass:f},e.compiler||{provide:k,useClass:S},e.parser||{provide:x,useClass:M},e.missingTranslationHandler||{provide:b,useClass:_},P,{provide:L,useValue:e.isolate},{provide:D,useValue:e.useDefaultLang},{provide:A,useValue:e.extend},{provide:E,useValue:e.defaultLanguage},I]}}static forChild(e={}){return{ngModule:t,providers:[e.loader||{provide:p,useClass:f},e.compiler||{provide:k,useClass:S},e.parser||{provide:x,useClass:M},e.missingTranslationHandler||{provide:b,useClass:_},{provide:L,useValue:e.isolate},{provide:D,useValue:e.useDefaultLang},{provide:A,useValue:e.extend},{provide:E,useValue:e.defaultLanguage},I]}}}return t.\u0275mod=i.Lb({type:t}),t.\u0275inj=i.Kb({factory:function(e){return new(e||t)}}),t})()},Tj54:function(t,e,n){"use strict";n.d(e,"a",function(){return A}),n.d(e,"b",function(){return I});var i=n("8Y7J"),a=n("UhP/"),r=n("8LU1"),o=n("SVse"),s=n("LRne"),l=n("z6cu"),c=n("cp0P"),d=n("quSY"),u=n("vkgz"),h=n("lJxs"),m=n("JIr8"),p=n("nYR2"),f=n("w1tV"),g=n("IzEk"),b=n("IheW"),_=n("cUpR");const y=["*"];function v(t){return Error(`Unable to find icon with the name "${t}"`)}function C(t){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${t}".`)}function w(t){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${t}".`)}class x{constructor(t,e,n){this.url=t,this.svgText=e,this.options=n}}let M=(()=>{class t{constructor(t,e,n,i){this._httpClient=t,this._sanitizer=e,this._errorHandler=i,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass="material-icons",this._document=n}addSvgIcon(t,e,n){return this.addSvgIconInNamespace("",t,e,n)}addSvgIconLiteral(t,e,n){return this.addSvgIconLiteralInNamespace("",t,e,n)}addSvgIconInNamespace(t,e,n,i){return this._addSvgIconConfig(t,e,new x(n,null,i))}addSvgIconResolver(t){return this._resolvers.push(t),this}addSvgIconLiteralInNamespace(t,e,n,a){const r=this._sanitizer.sanitize(i.K.HTML,n);if(!r)throw w(n);return this._addSvgIconConfig(t,e,new x("",r,a))}addSvgIconSet(t,e){return this.addSvgIconSetInNamespace("",t,e)}addSvgIconSetLiteral(t,e){return this.addSvgIconSetLiteralInNamespace("",t,e)}addSvgIconSetInNamespace(t,e,n){return this._addSvgIconSetConfig(t,new x(e,null,n))}addSvgIconSetLiteralInNamespace(t,e,n){const a=this._sanitizer.sanitize(i.K.HTML,e);if(!a)throw w(e);return this._addSvgIconSetConfig(t,new x("",a,n))}registerFontClassAlias(t,e=t){return this._fontCssClassesByAlias.set(t,e),this}classNameForFontAlias(t){return this._fontCssClassesByAlias.get(t)||t}setDefaultFontSetClass(t){return this._defaultFontSetClass=t,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(t){const e=this._sanitizer.sanitize(i.K.RESOURCE_URL,t);if(!e)throw C(t);const n=this._cachedIconsByUrl.get(e);return n?Object(s.a)(O(n)):this._loadSvgIconFromConfig(new x(t,null)).pipe(Object(u.a)(t=>this._cachedIconsByUrl.set(e,t)),Object(h.a)(t=>O(t)))}getNamedSvgIcon(t,e=""){const n=k(e,t);let i=this._svgIconConfigs.get(n);if(i)return this._getSvgFromConfig(i);if(i=this._getIconConfigFromResolvers(e,t),i)return this._svgIconConfigs.set(n,i),this._getSvgFromConfig(i);const a=this._iconSetConfigs.get(e);return a?this._getSvgFromIconSetConfigs(t,a):Object(l.a)(v(n))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(t){return t.svgText?Object(s.a)(O(this._svgElementFromConfig(t))):this._loadSvgIconFromConfig(t).pipe(Object(h.a)(t=>O(t)))}_getSvgFromIconSetConfigs(t,e){const n=this._extractIconWithNameFromAnySet(t,e);if(n)return Object(s.a)(n);const a=e.filter(t=>!t.svgText).map(t=>this._loadSvgIconSetFromConfig(t).pipe(Object(m.a)(e=>{const n=this._sanitizer.sanitize(i.K.RESOURCE_URL,t.url);return this._errorHandler.handleError(new Error(`Loading icon set URL: ${n} failed: ${e.message}`)),Object(s.a)(null)})));return Object(c.a)(a).pipe(Object(h.a)(()=>{const n=this._extractIconWithNameFromAnySet(t,e);if(!n)throw v(t);return n}))}_extractIconWithNameFromAnySet(t,e){for(let n=e.length-1;n>=0;n--){const i=e[n];if(i.svgText&&i.svgText.indexOf(t)>-1){const e=this._svgElementFromConfig(i),n=this._extractSvgIconFromSet(e,t,i.options);if(n)return n}}return null}_loadSvgIconFromConfig(t){return this._fetchIcon(t).pipe(Object(u.a)(e=>t.svgText=e),Object(h.a)(()=>this._svgElementFromConfig(t)))}_loadSvgIconSetFromConfig(t){return t.svgText?Object(s.a)(null):this._fetchIcon(t).pipe(Object(u.a)(e=>t.svgText=e))}_extractSvgIconFromSet(t,e,n){const i=t.querySelector(`[id="${e}"]`);if(!i)return null;const a=i.cloneNode(!0);if(a.removeAttribute("id"),"svg"===a.nodeName.toLowerCase())return this._setSvgAttributes(a,n);if("symbol"===a.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(a),n);const r=this._svgElementFromString("<svg></svg>");return r.appendChild(a),this._setSvgAttributes(r,n)}_svgElementFromString(t){const e=this._document.createElement("DIV");e.innerHTML=t;const n=e.querySelector("svg");if(!n)throw Error("<svg> tag not found");return n}_toSvgElement(t){const e=this._svgElementFromString("<svg></svg>"),n=t.attributes;for(let i=0;i<n.length;i++){const{name:t,value:a}=n[i];"id"!==t&&e.setAttribute(t,a)}for(let i=0;i<t.childNodes.length;i++)t.childNodes[i].nodeType===this._document.ELEMENT_NODE&&e.appendChild(t.childNodes[i].cloneNode(!0));return e}_setSvgAttributes(t,e){return t.setAttribute("fit",""),t.setAttribute("height","100%"),t.setAttribute("width","100%"),t.setAttribute("preserveAspectRatio","xMidYMid meet"),t.setAttribute("focusable","false"),e&&e.viewBox&&t.setAttribute("viewBox",e.viewBox),t}_fetchIcon(t){var e;const{url:n,options:a}=t,r=null!==(e=null==a?void 0:a.withCredentials)&&void 0!==e&&e;if(!this._httpClient)throw Error("Could not find HttpClient provider for use with Angular Material icons. Please include the HttpClientModule from @angular/common/http in your app imports.");if(null==n)throw Error(`Cannot fetch icon from URL "${n}".`);const o=this._sanitizer.sanitize(i.K.RESOURCE_URL,n);if(!o)throw C(n);const s=this._inProgressUrlFetches.get(o);if(s)return s;const l=this._httpClient.get(o,{responseType:"text",withCredentials:r}).pipe(Object(p.a)(()=>this._inProgressUrlFetches.delete(o)),Object(f.a)());return this._inProgressUrlFetches.set(o,l),l}_addSvgIconConfig(t,e,n){return this._svgIconConfigs.set(k(t,e),n),this}_addSvgIconSetConfig(t,e){const n=this._iconSetConfigs.get(t);return n?n.push(e):this._iconSetConfigs.set(t,[e]),this}_svgElementFromConfig(t){if(!t.svgElement){const e=this._svgElementFromString(t.svgText);this._setSvgAttributes(e,t.options),t.svgElement=e}return t.svgElement}_getIconConfigFromResolvers(t,e){for(let i=0;i<this._resolvers.length;i++){const a=this._resolvers[i](e,t);if(a)return(n=a).url&&n.options?new x(a.url,null,a.options):new x(a,null)}var n}}return t.\u0275fac=function(e){return new(e||t)(i.Xb(b.b,8),i.Xb(_.b),i.Xb(o.d,8),i.Xb(i.n))},t.\u0275prov=Object(i.Jb)({factory:function(){return new t(Object(i.Xb)(b.b,8),Object(i.Xb)(_.b),Object(i.Xb)(o.d,8),Object(i.Xb)(i.n))},token:t,providedIn:"root"}),t})();function O(t){return t.cloneNode(!0)}function k(t,e){return t+":"+e}class S{constructor(t){this._elementRef=t}}const T=Object(a.w)(S),P=new i.s("mat-icon-location",{providedIn:"root",factory:function(){const t=Object(i.W)(o.d),e=t?t.location:null;return{getPathname:()=>e?e.pathname+e.search:""}}}),L=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],D=L.map(t=>`[${t}]`).join(", "),E=/^url\(['"]?#(.*?)['"]?\)$/;let A=(()=>{class t extends T{constructor(t,e,n,i,a){super(t),this._iconRegistry=e,this._location=i,this._errorHandler=a,this._inline=!1,this._currentIconFetch=d.a.EMPTY,n||t.nativeElement.setAttribute("aria-hidden","true")}get inline(){return this._inline}set inline(t){this._inline=Object(r.c)(t)}get svgIcon(){return this._svgIcon}set svgIcon(t){t!==this._svgIcon&&(t?this._updateSvgIcon(t):this._svgIcon&&this._clearSvgElement(),this._svgIcon=t)}get fontSet(){return this._fontSet}set fontSet(t){const e=this._cleanupFontValue(t);e!==this._fontSet&&(this._fontSet=e,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(t){const e=this._cleanupFontValue(t);e!==this._fontIcon&&(this._fontIcon=e,this._updateFontIconClasses())}_splitIconName(t){if(!t)return["",""];const e=t.split(":");switch(e.length){case 1:return["",e[0]];case 2:return e;default:throw Error(`Invalid icon name: "${t}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const t=this._elementsWithExternalReferences;if(t&&t.size){const t=this._location.getPathname();t!==this._previousPath&&(this._previousPath=t,this._prependPathToReferences(t))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(t){this._clearSvgElement();const e=t.querySelectorAll("style");for(let i=0;i<e.length;i++)e[i].textContent+=" ";const n=this._location.getPathname();this._previousPath=n,this._cacheChildrenWithExternalReferences(t),this._prependPathToReferences(n),this._elementRef.nativeElement.appendChild(t)}_clearSvgElement(){const t=this._elementRef.nativeElement;let e=t.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();e--;){const n=t.childNodes[e];1===n.nodeType&&"svg"!==n.nodeName.toLowerCase()||t.removeChild(n)}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const t=this._elementRef.nativeElement,e=this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet):this._iconRegistry.getDefaultFontSetClass();e!=this._previousFontSetClass&&(this._previousFontSetClass&&t.classList.remove(this._previousFontSetClass),e&&t.classList.add(e),this._previousFontSetClass=e),this.fontIcon!=this._previousFontIconClass&&(this._previousFontIconClass&&t.classList.remove(this._previousFontIconClass),this.fontIcon&&t.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(t){return"string"==typeof t?t.trim().split(" ")[0]:t}_prependPathToReferences(t){const e=this._elementsWithExternalReferences;e&&e.forEach((e,n)=>{e.forEach(e=>{n.setAttribute(e.name,`url('${t}#${e.value}')`)})})}_cacheChildrenWithExternalReferences(t){const e=t.querySelectorAll(D),n=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let i=0;i<e.length;i++)L.forEach(t=>{const a=e[i],r=a.getAttribute(t),o=r?r.match(E):null;if(o){let e=n.get(a);e||(e=[],n.set(a,e)),e.push({name:t,value:o[1]})}})}_updateSvgIcon(t){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),t){const[e,n]=this._splitIconName(t);e&&(this._svgNamespace=e),n&&(this._svgName=n),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(n,e).pipe(Object(g.a)(1)).subscribe(t=>this._setSvgElement(t),t=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${e}:${n}! ${t.message}`))})}}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.l),i.Nb(M),i.Yb("aria-hidden"),i.Nb(P),i.Nb(i.n))},t.\u0275cmp=i.Hb({type:t,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:7,hostBindings:function(t,e){2&t&&(i.Db("data-mat-icon-type",e._usingFontIcon()?"font":"svg")("data-mat-icon-name",e._svgName||e.fontIcon)("data-mat-icon-namespace",e._svgNamespace||e.fontSet),i.Fb("mat-icon-inline",e.inline)("mat-icon-no-color","primary"!==e.color&&"accent"!==e.color&&"warn"!==e.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[i.zb],ngContentSelectors:y,decls:1,vars:0,template:function(t,e){1&t&&(i.mc(),i.lc(0))},styles:[".mat-icon{background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}\n"],encapsulation:2,changeDetection:0}),t})(),I=(()=>{class t{}return t.\u0275mod=i.Lb({type:t}),t.\u0275inj=i.Kb({factory:function(e){return new(e||t)},imports:[[a.j],a.j]}),t})()},UDhR:function(t,e,n){!function(t){"use strict";t.defineLocale("id",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des".split("_"),weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|siang|sore|malam/,meridiemHour:function(t,e){return 12===t&&(t=0),"pagi"===e?t:"siang"===e?t>=11?t:t+12:"sore"===e||"malam"===e?t+12:void 0},meridiem:function(t,e,n){return t<11?"pagi":t<15?"siang":t<19?"sore":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",ss:"%d detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:0,doy:6}})}(n("wd/R"))},UPR3:function(t,e,n){"use strict";n.d(e,"a",function(){return w});var i=n("8Y7J"),a=n("s7LF"),r=n("UhP/"),o=n("wd/R"),s=n("v/fa"),l=n("DejY");const c=o;let d=(()=>{class t extends l.b{constructor(t){super(t)}parse(t,e){return t&&"string"==typeof t?this._createMoment2(t,e,this.locale,!0):t?this._createMoment2(t).locale(this.locale):null}_createMoment2(...t){return c(...t)}}return t.\u0275fac=function(e){return new(e||t)(i.Xb(r.f,8))},t.\u0275prov=i.Jb({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();var u=n("TSSN"),h=n("Q2Ze"),m=n("e6WT"),p=n("TN/R"),f=n("q6Qu"),g=n("SVse");function b(t,e){1&t&&(i.Tb(0,"mat-error"),i.Hc(1),i.gc(2,"translate"),i.Sb()),2&t&&(i.Cb(1),i.Ic(i.hc(2,1,"common.error.requis")))}function _(t,e){1&t&&(i.Tb(0,"mat-error"),i.Hc(1),i.gc(2,"translate"),i.Sb()),2&t&&(i.Cb(1),i.Ic(i.hc(2,1,"common.error.date")))}function y(t,e){if(1&t&&(i.Tb(0,"mat-error"),i.Hc(1),i.gc(2,"translate"),i.Sb()),2&t){const t=i.fc();i.Cb(1),i.Ic(i.hc(2,1,t.errorMessageMin))}}function v(t,e){if(1&t&&(i.Tb(0,"mat-error"),i.Hc(1),i.gc(2,"translate"),i.Sb()),2&t){const t=i.fc();i.Cb(1),i.Ic(i.hc(2,1,t.errorMessageMax))}}const C={parse:{dateInput:"DD/MM/YYYY"},display:{dateInput:"DD/MM/YYYY",dateA11yLabel:"DD/MM/YYYY",monthYearLabel:"MMMM YYYY",monthYearA11yLabel:"MMMM YYYY"}};let w=(()=>{class t extends s.a{constructor(t,e){super(t),this.translateService=t,this.changeDetectorRef=e,this.dateControl=new a.e,this.minDate=o().subtract(100,"years").toDate(),this.maxDate=new Date,this.startDate=o("1980-01-01").toDate(),this.errorMessageMin="common.error.date.min",this.errorMessageMax="common.error.date.max",this.dateChangeEvent=new i.o,this.onChange=t=>{},this.onTouched=()=>{}}writeValue(t){this.dateControl.setValue(t),t&&this.dateControl.markAsTouched()}onDateChange(t){const e=t.value?o(t.value).format("YYYY-MM-DD"):null;this.onChange(e),this.dateChangeEvent.emit()}doesControlHaveError(t){return this.dateControl.hasError(t)}registerOnChange(t){this.onChange=t,this.changeDetectorRef.markForCheck()}registerOnTouched(t){this.onTouched=t}setDisabledState(t){t?this.dateControl.disable():this.dateControl.enable()}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(u.d),i.Nb(i.h))},t.\u0275cmp=i.Hb({type:t,selectors:[["app-date-form-2"]],inputs:{inputTitle:"inputTitle",isRequired:"isRequired",minDate:"minDate",maxDate:"maxDate",startDate:"startDate",errorMessageMin:"errorMessageMin",errorMessageMax:"errorMessageMax"},outputs:{dateChangeEvent:"dateChangeEvent"},features:[i.Bb([{provide:r.c,useClass:d,deps:[r.f]},{provide:r.e,useValue:C},{provide:a.m,useExisting:Object(i.V)(()=>t),multi:!0}]),i.zb],decls:9,vars:11,consts:[["matInput","","data-cy","dp",3,"formControl","appLabel","matDatepicker","min","max","required","dateChange"],["matSuffix","",3,"for"],["color","primary"],["dp",""],[4,"ngIf"]],template:function(t,e){if(1&t&&(i.Tb(0,"mat-form-field"),i.Tb(1,"input",0),i.bc("dateChange",function(t){return e.onDateChange(t)}),i.Sb(),i.Ob(2,"mat-datepicker-toggle",1),i.Ob(3,"mat-datepicker",2,3),i.Fc(5,b,3,3,"mat-error",4),i.Fc(6,_,3,3,"mat-error",4),i.Fc(7,y,3,3,"mat-error",4),i.Fc(8,v,3,3,"mat-error",4),i.Sb()),2&t){const t=i.vc(4);i.Cb(1),i.nc("formControl",e.dateControl)("appLabel",e.inputTitle)("matDatepicker",t)("min",e.minDate)("max",e.maxDate)("required",e.isRequired),i.Cb(1),i.nc("for",t),i.Cb(3),i.nc("ngIf",e.doesControlHaveError("required")&&!e.doesControlHaveError("matDatepickerParse")),i.Cb(1),i.nc("ngIf",e.doesControlHaveError("matDatepickerParse")),i.Cb(1),i.nc("ngIf",e.doesControlHaveError("matDatepickerMin")),i.Cb(1),i.nc("ngIf",e.doesControlHaveError("matDatepickerMax"))}},directives:[h.c,m.b,a.c,p.b,a.o,a.f,f.a,a.v,p.d,h.h,p.a,g.l,h.b],pipes:[u.c],styles:["mat-form-field[_ngcontent-%COMP%]{width:100%}"],changeDetection:0}),t})()},USCx:function(t,e,n){!function(t){"use strict";t.defineLocale("ga",{months:["Ean\xe1ir","Feabhra","M\xe1rta","Aibre\xe1n","Bealtaine","Meitheamh","I\xfail","L\xfanasa","Me\xe1n F\xf3mhair","Deireadh F\xf3mhair","Samhain","Nollaig"],monthsShort:["Ean","Feabh","M\xe1rt","Aib","Beal","Meith","I\xfail","L\xfan","M.F.","D.F.","Samh","Noll"],monthsParseExact:!0,weekdays:["D\xe9 Domhnaigh","D\xe9 Luain","D\xe9 M\xe1irt","D\xe9 C\xe9adaoin","D\xe9ardaoin","D\xe9 hAoine","D\xe9 Sathairn"],weekdaysShort:["Domh","Luan","M\xe1irt","C\xe9ad","D\xe9ar","Aoine","Sath"],weekdaysMin:["Do","Lu","M\xe1","C\xe9","D\xe9","A","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Inniu ag] LT",nextDay:"[Am\xe1rach ag] LT",nextWeek:"dddd [ag] LT",lastDay:"[Inn\xe9 ag] LT",lastWeek:"dddd [seo caite] [ag] LT",sameElse:"L"},relativeTime:{future:"i %s",past:"%s \xf3 shin",s:"c\xfapla soicind",ss:"%d soicind",m:"n\xf3im\xe9ad",mm:"%d n\xf3im\xe9ad",h:"uair an chloig",hh:"%d uair an chloig",d:"l\xe1",dd:"%d l\xe1",M:"m\xed",MM:"%d m\xedonna",y:"bliain",yy:"%d bliain"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(t){return t+(1===t?"d":t%10==2?"na":"mh")},week:{dow:1,doy:4}})}(n("wd/R"))},UXun:function(t,e,n){"use strict";n.d(e,"a",function(){return a});var i=n("jtHE");function a(t,e,n){let a;return a=t&&"object"==typeof t?t:{bufferSize:t,windowTime:e,refCount:!1,scheduler:n},t=>t.lift(function({bufferSize:t=Number.POSITIVE_INFINITY,windowTime:e=Number.POSITIVE_INFINITY,refCount:n,scheduler:a}){let r,o,s=0,l=!1,c=!1;return function(d){let u;s++,!r||l?(l=!1,r=new i.a(t,e,a),u=r.subscribe(this),o=d.subscribe({next(t){r.next(t)},error(t){l=!0,r.error(t)},complete(){c=!0,o=void 0,r.complete()}})):u=r.subscribe(this),this.add(()=>{s--,u.unsubscribe(),o&&!c&&n&&0===s&&(o.unsubscribe(),o=void 0,r=void 0)})}}(a))}},"UhP/":function(t,e,n){"use strict";n.d(e,"a",function(){return _}),n.d(e,"b",function(){return y}),n.d(e,"c",function(){return L}),n.d(e,"d",function(){return A}),n.d(e,"e",function(){return D}),n.d(e,"f",function(){return P}),n.d(e,"g",function(){return tt}),n.d(e,"h",function(){return Z}),n.d(e,"i",function(){return W}),n.d(e,"j",function(){return w}),n.d(e,"k",function(){return I}),n.d(e,"l",function(){return Y}),n.d(e,"m",function(){return at}),n.d(e,"n",function(){return st}),n.d(e,"o",function(){return nt}),n.d(e,"p",function(){return G}),n.d(e,"q",function(){return J}),n.d(e,"r",function(){return U}),n.d(e,"s",function(){return q}),n.d(e,"t",function(){return B}),n.d(e,"u",function(){return rt}),n.d(e,"v",function(){return ot}),n.d(e,"w",function(){return M}),n.d(e,"x",function(){return O}),n.d(e,"y",function(){return x}),n.d(e,"z",function(){return S}),n.d(e,"A",function(){return T}),n.d(e,"B",function(){return k}),n.d(e,"C",function(){return R});var i=n("8Y7J"),a=n("YEUz"),r=n("9gLZ");const o=new i.Q("11.1.1");var s=n("SVse"),l=n("8LU1"),c=n("XNiG"),d=n("HDdC"),u=n("SCoL"),h=n("JX91"),m=n("omvX"),p=n("Ht+U");function f(t,e){if(1&t&&i.Ob(0,"mat-pseudo-checkbox",4),2&t){const t=i.fc();i.nc("state",t.selected?"checked":"unchecked")("disabled",t.disabled)}}function g(t,e){if(1&t&&(i.Tb(0,"span",5),i.Hc(1),i.Sb()),2&t){const t=i.fc();i.Cb(1),i.Jc("(",t.group.label,")")}}const b=["*"];let _=(()=>{class t{}return t.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)",t.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)",t.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)",t.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)",t})(),y=(()=>{class t{}return t.COMPLEX="375ms",t.ENTERING="225ms",t.EXITING="195ms",t})();const v=new i.Q("11.1.1"),C=new i.s("mat-sanity-checks",{providedIn:"root",factory:function(){return!0}});let w=(()=>{class t{constructor(t,e,n){this._hasDoneGlobalChecks=!1,this._document=n,t._applyBodyHighContrastModeCssClasses(),this._sanityChecks=e,this._hasDoneGlobalChecks||(this._checkDoctypeIsDefined(),this._checkThemeIsPresent(),this._checkCdkVersionMatch(),this._hasDoneGlobalChecks=!0)}_getWindow(){const t=this._document.defaultView||window;return"object"==typeof t&&t?t:null}_checksAreEnabled(){return Object(i.X)()&&!this._isTestEnv()}_isTestEnv(){const t=this._getWindow();return t&&(t.__karma__||t.jasmine)}_checkDoctypeIsDefined(){this._checksAreEnabled()&&(!0===this._sanityChecks||this._sanityChecks.doctype)&&!this._document.doctype&&console.warn("Current document does not have a doctype. This may cause some Angular Material components not to behave as expected.")}_checkThemeIsPresent(){if(!this._checksAreEnabled()||!1===this._sanityChecks||!this._sanityChecks.theme||!this._document.body||"function"!=typeof getComputedStyle)return;const t=this._document.createElement("div");t.classList.add("mat-theme-loaded-marker"),this._document.body.appendChild(t);const e=getComputedStyle(t);e&&"none"!==e.display&&console.warn("Could not find Angular Material core theme. Most Material components may not work as expected. For more info refer to the theming guide: https://material.angular.io/guide/theming"),this._document.body.removeChild(t)}_checkCdkVersionMatch(){this._checksAreEnabled()&&(!0===this._sanityChecks||this._sanityChecks.version)&&v.full!==o.full&&console.warn("The Angular Material version ("+v.full+") does not match the Angular CDK version ("+o.full+").\nPlease ensure the versions of these two packages exactly match.")}}return t.\u0275mod=i.Lb({type:t}),t.\u0275inj=i.Kb({factory:function(e){return new(e||t)(i.Xb(a.j),i.Xb(C,8),i.Xb(s.d))},imports:[[r.a],r.a]}),t})();function x(t){return class extends t{constructor(...t){super(...t),this._disabled=!1}get disabled(){return this._disabled}set disabled(t){this._disabled=Object(l.c)(t)}}}function M(t,e){return class extends t{constructor(...t){super(...t),this.defaultColor=e,this.color=e}get color(){return this._color}set color(t){const e=t||this.defaultColor;e!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),e&&this._elementRef.nativeElement.classList.add(`mat-${e}`),this._color=e)}}}function O(t){return class extends t{constructor(...t){super(...t),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(t){this._disableRipple=Object(l.c)(t)}}}function k(t,e=0){return class extends t{constructor(...t){super(...t),this._tabIndex=e,this.defaultTabIndex=e}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(t){this._tabIndex=null!=t?Object(l.f)(t):this.defaultTabIndex}}}function S(t){return class extends t{constructor(...t){super(...t),this.errorState=!1,this.stateChanges=new c.a}updateErrorState(){const t=this.errorState,e=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);e!==t&&(this.errorState=e,this.stateChanges.next())}}}function T(t){return class extends t{constructor(...t){super(...t),this._isInitialized=!1,this._pendingSubscribers=[],this.initialized=new d.a(t=>{this._isInitialized?this._notifySubscriber(t):this._pendingSubscribers.push(t)})}_markInitialized(){this._isInitialized=!0,this._pendingSubscribers.forEach(this._notifySubscriber),this._pendingSubscribers=null}_notifySubscriber(t){t.next(),t.complete()}}}const P=new i.s("MAT_DATE_LOCALE",{providedIn:"root",factory:function(){return Object(i.W)(i.w)}});class L{constructor(){this._localeChanges=new c.a,this.localeChanges=this._localeChanges}getValidDateOrNull(t){return this.isDateInstance(t)&&this.isValid(t)?t:null}deserialize(t){return null==t||this.isDateInstance(t)&&this.isValid(t)?t:this.invalid()}setLocale(t){this.locale=t,this._localeChanges.next()}compareDate(t,e){return this.getYear(t)-this.getYear(e)||this.getMonth(t)-this.getMonth(e)||this.getDate(t)-this.getDate(e)}sameDate(t,e){if(t&&e){let n=this.isValid(t),i=this.isValid(e);return n&&i?!this.compareDate(t,e):n==i}return t==e}clampDate(t,e,n){return e&&this.compareDate(t,e)<0?e:n&&this.compareDate(t,n)>0?n:t}}const D=new i.s("mat-date-formats");let E;try{E="undefined"!=typeof Intl}catch(lt){E=!1}let A=(()=>{class t{isErrorState(t,e){return!!(t&&t.invalid&&(t.touched||e&&e.submitted))}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Object(i.Jb)({factory:function(){return new t},token:t,providedIn:"root"}),t})(),I=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.Ib({type:t,selectors:[["","mat-line",""],["","matLine",""]],hostAttrs:[1,"mat-line"]}),t})();function R(t,e,n="mat"){t.changes.pipe(Object(h.a)(t)).subscribe(({length:t})=>{N(e,`${n}-2-line`,!1),N(e,`${n}-3-line`,!1),N(e,`${n}-multi-line`,!1),2===t||3===t?N(e,`${n}-${t}-line`,!0):t>3&&N(e,`${n}-multi-line`,!0)})}function N(t,e,n){const i=t.nativeElement.classList;n?i.add(e):i.remove(e)}let Y=(()=>{class t{}return t.\u0275mod=i.Lb({type:t}),t.\u0275inj=i.Kb({factory:function(e){return new(e||t)},imports:[[w],w]}),t})();class H{constructor(t,e,n){this._renderer=t,this.element=e,this.config=n,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const j={enterDuration:450,exitDuration:400},F=Object(u.f)({passive:!0}),z=["mousedown","touchstart"],V=["mouseup","mouseleave","touchend","touchcancel"];class B{constructor(t,e,n,i){this._target=t,this._ngZone=e,this._isPointerDown=!1,this._activeRipples=new Set,this._pointerUpEventsRegistered=!1,i.isBrowser&&(this._containerElement=Object(l.e)(n))}fadeInRipple(t,e,n={}){const i=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),a=Object.assign(Object.assign({},j),n.animation);n.centered&&(t=i.left+i.width/2,e=i.top+i.height/2);const r=n.radius||function(t,e,n){const i=Math.max(Math.abs(t-n.left),Math.abs(t-n.right)),a=Math.max(Math.abs(e-n.top),Math.abs(e-n.bottom));return Math.sqrt(i*i+a*a)}(t,e,i),o=t-i.left,s=e-i.top,l=a.enterDuration,c=document.createElement("div");c.classList.add("mat-ripple-element"),c.style.left=o-r+"px",c.style.top=s-r+"px",c.style.height=2*r+"px",c.style.width=2*r+"px",null!=n.color&&(c.style.backgroundColor=n.color),c.style.transitionDuration=`${l}ms`,this._containerElement.appendChild(c),window.getComputedStyle(c).getPropertyValue("opacity"),c.style.transform="scale(1)";const d=new H(this,c,n);return d.state=0,this._activeRipples.add(d),n.persistent||(this._mostRecentTransientRipple=d),this._runTimeoutOutsideZone(()=>{const t=d===this._mostRecentTransientRipple;d.state=1,n.persistent||t&&this._isPointerDown||d.fadeOut()},l),d}fadeOutRipple(t){const e=this._activeRipples.delete(t);if(t===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),this._activeRipples.size||(this._containerRect=null),!e)return;const n=t.element,i=Object.assign(Object.assign({},j),t.config.animation);n.style.transitionDuration=`${i.exitDuration}ms`,n.style.opacity="0",t.state=2,this._runTimeoutOutsideZone(()=>{t.state=3,n.parentNode.removeChild(n)},i.exitDuration)}fadeOutAll(){this._activeRipples.forEach(t=>t.fadeOut())}setupTriggerEvents(t){const e=Object(l.e)(t);e&&e!==this._triggerElement&&(this._removeTriggerEvents(),this._triggerElement=e,this._registerEvents(z))}handleEvent(t){"mousedown"===t.type?this._onMousedown(t):"touchstart"===t.type?this._onTouchStart(t):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(V),this._pointerUpEventsRegistered=!0)}_onMousedown(t){const e=Object(a.l)(t),n=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;this._target.rippleDisabled||e||n||(this._isPointerDown=!0,this.fadeInRipple(t.clientX,t.clientY,this._target.rippleConfig))}_onTouchStart(t){if(!this._target.rippleDisabled){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;const e=t.changedTouches;for(let t=0;t<e.length;t++)this.fadeInRipple(e[t].clientX,e[t].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._activeRipples.forEach(t=>{!t.config.persistent&&(1===t.state||t.config.terminateOnPointerUp&&0===t.state)&&t.fadeOut()}))}_runTimeoutOutsideZone(t,e=0){this._ngZone.runOutsideAngular(()=>setTimeout(t,e))}_registerEvents(t){this._ngZone.runOutsideAngular(()=>{t.forEach(t=>{this._triggerElement.addEventListener(t,this,F)})})}_removeTriggerEvents(){this._triggerElement&&(z.forEach(t=>{this._triggerElement.removeEventListener(t,this,F)}),this._pointerUpEventsRegistered&&V.forEach(t=>{this._triggerElement.removeEventListener(t,this,F)}))}}const W=new i.s("mat-ripple-global-options");let U=(()=>{class t{constructor(t,e,n,i,a){this._elementRef=t,this._animationMode=a,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=i||{},this._rippleRenderer=new B(this,e,t,n)}get disabled(){return this._disabled}set disabled(t){this._disabled=t,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(t){this._trigger=t,this._setupTriggerEventsIfEnabled()}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:Object.assign(Object.assign(Object.assign({},this._globalOptions.animation),"NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(t,e=0,n){return"number"==typeof t?this._rippleRenderer.fadeInRipple(t,e,Object.assign(Object.assign({},this.rippleConfig),n)):this._rippleRenderer.fadeInRipple(0,0,Object.assign(Object.assign({},this.rippleConfig),t))}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.l),i.Nb(i.B),i.Nb(u.a),i.Nb(W,8),i.Nb(m.a,8))},t.\u0275dir=i.Ib({type:t,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(t,e){2&t&&i.Fb("mat-ripple-unbounded",e.unbounded)},inputs:{radius:["matRippleRadius","radius"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"],color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],animation:["matRippleAnimation","animation"]},exportAs:["matRipple"]}),t})(),q=(()=>{class t{}return t.\u0275mod=i.Lb({type:t}),t.\u0275inj=i.Kb({factory:function(e){return new(e||t)},imports:[[w,u.b],w]}),t})(),G=(()=>{class t{constructor(t){this._animationMode=t,this.state="unchecked",this.disabled=!1}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(m.a,8))},t.\u0275cmp=i.Hb({type:t,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(t,e){2&t&&i.Fb("mat-pseudo-checkbox-indeterminate","indeterminate"===e.state)("mat-pseudo-checkbox-checked","checked"===e.state)("mat-pseudo-checkbox-disabled",e.disabled)("_mat-animation-noopable","NoopAnimations"===e._animationMode)},inputs:{state:"state",disabled:"disabled"},decls:0,vars:0,template:function(t,e){},styles:['.mat-pseudo-checkbox{width:16px;height:16px;border:2px solid;border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox.mat-pseudo-checkbox-indeterminate{border-color:transparent}._mat-animation-noopable.mat-pseudo-checkbox{transition:none;animation:none}._mat-animation-noopable.mat-pseudo-checkbox::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{top:5px;left:1px;width:10px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{top:2.4px;left:1px;width:8px;height:3px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}\n'],encapsulation:2,changeDetection:0}),t})(),J=(()=>{class t{}return t.\u0275mod=i.Lb({type:t}),t.\u0275inj=i.Kb({factory:function(e){return new(e||t)},imports:[[w]]}),t})();const Z=new i.s("MAT_OPTION_PARENT_COMPONENT");class ${}const X=x($);let K=0,Q=(()=>{class t extends X{constructor(t){var e;super(),this._labelId="mat-optgroup-label-"+K++,this._inert=null!==(e=null==t?void 0:t.inertGroups)&&void 0!==e&&e}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(Z,8))},t.\u0275dir=i.Ib({type:t,inputs:{label:"label"},features:[i.zb]}),t})();const tt=new i.s("MatOptgroup");let et=0;class nt{constructor(t,e=!1){this.source=t,this.isUserInput=e}}let it=(()=>{class t{constructor(t,e,n,a){this._element=t,this._changeDetectorRef=e,this._parent=n,this.group=a,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+et++,this.onSelectionChange=new i.o,this._stateChanges=new c.a}get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(t){this._disabled=Object(l.c)(t)}get disableRipple(){return this._parent&&this._parent.disableRipple}get active(){return this._active}get viewValue(){return(this._getHostElement().textContent||"").trim()}select(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}deselect(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}focus(t,e){const n=this._getHostElement();"function"==typeof n.focus&&n.focus(e)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(t){t.keyCode!==p.e&&t.keyCode!==p.m||Object(p.r)(t)||(this._selectViaInteraction(),t.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getAriaSelected(){return this.selected||!this.multiple&&null}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const t=this.viewValue;t!==this._mostRecentViewValue&&(this._mostRecentViewValue=t,this._stateChanges.next())}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(t=!1){this.onSelectionChange.emit(new nt(this,t))}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.l),i.Nb(i.h),i.Nb(void 0),i.Nb(Q))},t.\u0275dir=i.Ib({type:t,inputs:{id:"id",disabled:"disabled",value:"value"},outputs:{onSelectionChange:"onSelectionChange"}}),t})(),at=(()=>{class t extends it{constructor(t,e,n,i){super(t,e,n,i)}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.l),i.Nb(i.h),i.Nb(Z,8),i.Nb(tt,8))},t.\u0275cmp=i.Hb({type:t,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(t,e){1&t&&i.bc("click",function(){return e._selectViaInteraction()})("keydown",function(t){return e._handleKeydown(t)}),2&t&&(i.Wb("id",e.id),i.Db("tabindex",e._getTabIndex())("aria-selected",e._getAriaSelected())("aria-disabled",e.disabled.toString()),i.Fb("mat-selected",e.selected)("mat-option-multiple",e.multiple)("mat-active",e.active)("mat-option-disabled",e.disabled))},exportAs:["matOption"],features:[i.zb],ngContentSelectors:b,decls:5,vars:4,consts:[["class","mat-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mat-option-text"],["class","cdk-visually-hidden",4,"ngIf"],["mat-ripple","",1,"mat-option-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-option-pseudo-checkbox",3,"state","disabled"],[1,"cdk-visually-hidden"]],template:function(t,e){1&t&&(i.mc(),i.Fc(0,f,1,2,"mat-pseudo-checkbox",0),i.Tb(1,"span",1),i.lc(2),i.Sb(),i.Fc(3,g,2,1,"span",2),i.Ob(4,"div",3)),2&t&&(i.nc("ngIf",e.multiple),i.Cb(3),i.nc("ngIf",e.group&&e.group._inert),i.Cb(1),i.nc("matRippleTrigger",e._getHostElement())("matRippleDisabled",e.disabled||e.disableRipple))},directives:[s.l,U,G],styles:[".mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative;cursor:pointer;outline:none;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:transparent}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}.mat-option .mat-icon svg{vertical-align:top}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:32px}[dir=rtl] .mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:16px;padding-right:32px}.cdk-high-contrast-active .mat-option{margin:0 1px}.cdk-high-contrast-active .mat-option.mat-active{border:solid 1px currentColor;margin:0}.cdk-high-contrast-active .mat-option[aria-disabled=true]{opacity:.5}.mat-option-text{display:inline-block;flex-grow:1;overflow:hidden;text-overflow:ellipsis}.mat-option .mat-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}\n"],encapsulation:2,changeDetection:0}),t})();function rt(t,e,n){if(n.length){let i=e.toArray(),a=n.toArray(),r=0;for(let e=0;e<t+1;e++)i[e].group&&i[e].group===a[r]&&r++;return r}return 0}function ot(t,e,n,i){return t<n?t:t+e>n+i?Math.max(0,t-i+e):n}let st=(()=>{class t{}return t.\u0275mod=i.Lb({type:t}),t.\u0275inj=i.Kb({factory:function(e){return new(e||t)},imports:[[q,s.c,w,J]]}),t})()},UpQW:function(t,e,n){!function(t){"use strict";var e=["\u062c\u0646\u0648\u0631\u06cc","\u0641\u0631\u0648\u0631\u06cc","\u0645\u0627\u0631\u0686","\u0627\u067e\u0631\u06cc\u0644","\u0645\u0626\u06cc","\u062c\u0648\u0646","\u062c\u0648\u0644\u0627\u0626\u06cc","\u0627\u06af\u0633\u062a","\u0633\u062a\u0645\u0628\u0631","\u0627\u06a9\u062a\u0648\u0628\u0631","\u0646\u0648\u0645\u0628\u0631","\u062f\u0633\u0645\u0628\u0631"],n=["\u0627\u062a\u0648\u0627\u0631","\u067e\u06cc\u0631","\u0645\u0646\u06af\u0644","\u0628\u062f\u06be","\u062c\u0645\u0639\u0631\u0627\u062a","\u062c\u0645\u0639\u06c1","\u06c1\u0641\u062a\u06c1"];t.defineLocale("ur",{months:e,monthsShort:e,weekdays:n,weekdaysShort:n,weekdaysMin:n,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd\u060c D MMMM YYYY HH:mm"},meridiemParse:/\u0635\u0628\u062d|\u0634\u0627\u0645/,isPM:function(t){return"\u0634\u0627\u0645"===t},meridiem:function(t,e,n){return t<12?"\u0635\u0628\u062d":"\u0634\u0627\u0645"},calendar:{sameDay:"[\u0622\u062c \u0628\u0648\u0642\u062a] LT",nextDay:"[\u06a9\u0644 \u0628\u0648\u0642\u062a] LT",nextWeek:"dddd [\u0628\u0648\u0642\u062a] LT",lastDay:"[\u06af\u0630\u0634\u062a\u06c1 \u0631\u0648\u0632 \u0628\u0648\u0642\u062a] LT",lastWeek:"[\u06af\u0630\u0634\u062a\u06c1] dddd [\u0628\u0648\u0642\u062a] LT",sameElse:"L"},relativeTime:{future:"%s \u0628\u0639\u062f",past:"%s \u0642\u0628\u0644",s:"\u0686\u0646\u062f \u0633\u06cc\u06a9\u0646\u0688",ss:"%d \u0633\u06cc\u06a9\u0646\u0688",m:"\u0627\u06cc\u06a9 \u0645\u0646\u0679",mm:"%d \u0645\u0646\u0679",h:"\u0627\u06cc\u06a9 \u06af\u06be\u0646\u0679\u06c1",hh:"%d \u06af\u06be\u0646\u0679\u06d2",d:"\u0627\u06cc\u06a9 \u062f\u0646",dd:"%d \u062f\u0646",M:"\u0627\u06cc\u06a9 \u0645\u0627\u06c1",MM:"%d \u0645\u0627\u06c1",y:"\u0627\u06cc\u06a9 \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(t){return t.replace(/\u060c/g,",")},postformat:function(t){return t.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(n("wd/R"))},Ur1D:function(t,e,n){!function(t){"use strict";t.defineLocale("ss",{months:"Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split("_"),monthsShort:"Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo".split("_"),weekdays:"Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo".split("_"),weekdaysShort:"Lis_Umb_Lsb_Les_Lsi_Lsh_Umg".split("_"),weekdaysMin:"Li_Us_Lb_Lt_Ls_Lh_Ug".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Namuhla nga] LT",nextDay:"[Kusasa nga] LT",nextWeek:"dddd [nga] LT",lastDay:"[Itolo nga] LT",lastWeek:"dddd [leliphelile] [nga] LT",sameElse:"L"},relativeTime:{future:"nga %s",past:"wenteka nga %s",s:"emizuzwana lomcane",ss:"%d mzuzwana",m:"umzuzu",mm:"%d emizuzu",h:"lihora",hh:"%d emahora",d:"lilanga",dd:"%d emalanga",M:"inyanga",MM:"%d tinyanga",y:"umnyaka",yy:"%d iminyaka"},meridiemParse:/ekuseni|emini|entsambama|ebusuku/,meridiem:function(t,e,n){return t<11?"ekuseni":t<15?"emini":t<19?"entsambama":"ebusuku"},meridiemHour:function(t,e){return 12===t&&(t=0),"ekuseni"===e?t:"emini"===e?t>=11?t:t+12:"entsambama"===e||"ebusuku"===e?0===t?0:t+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}})}(n("wd/R"))},V2x9:function(t,e,n){!function(t){"use strict";t.defineLocale("tet",{months:"Janeiru_Fevereiru_Marsu_Abril_Maiu_Ju\xf1u_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu".split("_"),weekdaysShort:"Dom_Seg_Ters_Kua_Kint_Sest_Sab".split("_"),weekdaysMin:"Do_Seg_Te_Ku_Ki_Ses_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Ohin iha] LT",nextDay:"[Aban iha] LT",nextWeek:"dddd [iha] LT",lastDay:"[Horiseik iha] LT",lastWeek:"dddd [semana kotuk] [iha] LT",sameElse:"L"},relativeTime:{future:"iha %s",past:"%s liuba",s:"segundu balun",ss:"segundu %d",m:"minutu ida",mm:"minutu %d",h:"oras ida",hh:"oras %d",d:"loron ida",dd:"loron %d",M:"fulan ida",MM:"fulan %d",y:"tinan ida",yy:"tinan %d"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})}(n("wd/R"))},"VIK+":function(t,e,n){"use strict";n.d(e,"a",function(){return q});var i=n("iELJ"),a=n("5QHs"),r=n("LUZP"),o=n("p/g4"),s=n("Qaas"),l=n("IGtN"),c=n("8Y7J"),d=n("TSSN"),u=n("keau"),h=n("q6Qu"),m=n("SVse"),p=n("OaSA"),f=n("s7LF"),g=n("Q2Ze"),b=n("e6WT"),_=n("f3LI"),y=n("Dxy4"),v=n("Tj54"),C=n("pu8Q");const w=["sireneForm"];function x(t,e){1&t&&(c.Tb(0,"mat-error"),c.Hc(1),c.gc(2,"translate"),c.Sb()),2&t&&(c.Cb(1),c.Ic(c.hc(2,1,"common.error.requis")))}function M(t,e){if(1&t&&(c.Tb(0,"div",30),c.Hc(1),c.gc(2,"translate"),c.Sb()),2&t){const t=c.fc(2);c.Cb(1),c.Kc(" ",t.resultsLength," ",c.hc(2,2,"common.siret")," ")}}function O(t,e){if(1&t){const t=c.Ub();c.Tb(0,"form",21,22),c.Tb(2,"mat-form-field",23),c.Tb(3,"input",24,25),c.bc("ngModelChange",function(e){return c.yc(t),c.fc().search=e}),c.Sb(),c.Fc(5,x,3,3,"mat-error",5),c.Sb(),c.Tb(6,"mat-form-field",23),c.Tb(7,"input",26,27),c.bc("ngModelChange",function(e){return c.yc(t),c.fc().cp=e}),c.Sb(),c.Sb(),c.Tb(9,"button",28),c.bc("click",function(){return c.yc(t),c.fc().searchAction(!0)}),c.Tb(10,"mat-icon"),c.Hc(11,"search"),c.Sb(),c.Hc(12),c.gc(13,"translate"),c.Sb(),c.Fc(14,M,3,4,"div",29),c.Sb()}if(2&t){const t=c.vc(1),e=c.vc(4),n=c.fc();c.Cb(3),c.nc("ngModel",n.search)("disabled",n.disabled),c.Cb(2),c.nc("ngIf",e.hasError("required")),c.Cb(2),c.nc("ngModel",n.cp),c.Cb(2),c.nc("disabled",!t.valid),c.Cb(3),c.Jc(" ",c.hc(13,7,"dpd.sirene.submit")," "),c.Cb(2),c.nc("ngIf",n.dataSource.length>0)}}function k(t,e){1&t&&c.Ob(0,"mat-spinner")}function S(t,e){if(1&t){const t=c.Ub();c.Tb(0,"div",33),c.bc("click",function(){return c.yc(t),c.fc(2).noWs()}),c.Hc(1),c.gc(2,"translate"),c.Sb()}2&t&&(c.Cb(1),c.Jc(" ",c.hc(2,1,"dpd.sirene.error.indisponible")," "))}function T(t,e){if(1&t&&(c.Tb(0,"div",31),c.Fc(1,k,1,0,"mat-spinner",5),c.Fc(2,S,3,3,"div",32),c.Sb()),2&t){const t=c.fc();c.Cb(1),c.nc("ngIf",t.isLoadingResults),c.Cb(1),c.nc("ngIf",t.error)}}function P(t,e){1&t&&(c.Tb(0,"div"),c.Hc(1),c.gc(2,"translate"),c.Sb()),2&t&&(c.Cb(1),c.Ic(c.hc(2,1,"dpd.sirene.error.donnees.no")))}function L(t,e){1&t&&(c.Tb(0,"div",34),c.Hc(1),c.gc(2,"translate"),c.Sb()),2&t&&(c.Cb(1),c.Jc(" ",c.hc(2,1,"dpd.sirene.error")," "))}function D(t,e){1&t&&(c.Tb(0,"th",35),c.Hc(1),c.gc(2,"translate"),c.Sb()),2&t&&(c.Cb(1),c.Jc(" ",c.hc(2,1,"common.siret")," "))}function E(t,e){if(1&t&&(c.Tb(0,"td",36),c.Hc(1),c.Sb()),2&t){const t=e.$implicit;c.Cb(1),c.Jc(" ",t.siret," ")}}function A(t,e){1&t&&(c.Tb(0,"th",35),c.Hc(1),c.gc(2,"translate"),c.Sb()),2&t&&(c.Cb(1),c.Jc(" ",c.hc(2,1,"dpd.sirene.raisonsociale")," "))}function I(t,e){if(1&t&&(c.Tb(0,"td",36),c.Hc(1),c.Sb()),2&t){const t=e.$implicit;c.Cb(1),c.Jc(" ",t.rs," ")}}function R(t,e){1&t&&(c.Tb(0,"th",35),c.Hc(1),c.gc(2,"translate"),c.Sb()),2&t&&(c.Cb(1),c.Jc(" ",c.hc(2,1,"common.adresse")," "))}function N(t,e){if(1&t&&(c.Tb(0,"td",36),c.Hc(1),c.Sb()),2&t){const t=e.$implicit;c.Cb(1),c.Jc(" ",t.adresseSiren.adresse,"")}}function Y(t,e){1&t&&(c.Tb(0,"th",35),c.Hc(1),c.gc(2,"translate"),c.Sb()),2&t&&(c.Cb(1),c.Jc(" ",c.hc(2,1,"common.codepostal")," "))}function H(t,e){if(1&t&&(c.Tb(0,"td",36),c.Hc(1),c.Sb()),2&t){const t=e.$implicit;c.Cb(1),c.Jc(" ",t.adresseSiren.cp,"")}}function j(t,e){1&t&&(c.Tb(0,"th",35),c.Hc(1),c.gc(2,"translate"),c.Sb()),2&t&&(c.Cb(1),c.Jc(" ",c.hc(2,1,"common.ville")," "))}function F(t,e){if(1&t&&(c.Tb(0,"td",36),c.Hc(1),c.Sb()),2&t){const t=e.$implicit;c.Cb(1),c.Jc(" ",t.adresseSiren.ville,"")}}function z(t,e){1&t&&c.Ob(0,"th",35)}function V(t,e){if(1&t){const t=c.Ub();c.Tb(0,"td",37),c.Tb(1,"button",38),c.bc("click",function(){c.yc(t);const n=e.$implicit;return c.fc().defaultAddress(n)}),c.Sb(),c.Sb()}if(2&t){const t=e.index;c.Cb(1),c.Db("data-cy","button-select-"+t)}}function B(t,e){1&t&&c.Ob(0,"tr",39)}function W(t,e){1&t&&c.Ob(0,"tr",40)}const U=function(){return[50]};let q=(()=>{class t extends l.a{constructor(t,e,n,i,a){super(t),this.translateService=t,this.paginatorIntl=e,this.dialogRef=n,this.sireneService=i,this.data=a,this.search=null,this.cp=null,this.resultsLength=0,this.isLoadingResults=!1,this.error=!1,this.errorLength=!1,this.noResult=!1,this.dataSource=[],this.disabled=!1,this.displayedColumns=["siret","rs","adresse","cp","ville","action"],this.disableSearch=!1,a.sirens&&(this.dataSource=a.sirens,this.disableSearch=!0),this.search=a.siren,this.disabled=void 0!==a.siren,this.subscriptions.push(this.translateService.get("common.liste.nb.page").subscribe(t=>{this.paginatorIntl.itemsPerPageLabel=t}))}load(){this.sort.active="siret",this.sort.direction="desc",this.paginator.pageSize=50,this.subscriptions.push(this.paginator.page.subscribe(()=>this.searchAction())),null!=this.search&&this.searchAction()}searchAction(t=!1){this.errorLength=!1,t&&(this.paginator.pageSize=50,this.paginator.pageIndex=0),this.isLoadingResults=!0,this.dataSource=[];const e=[];if(9===this.search.toString().length?e.push({field:"siren",values:[this.search],operand:o.a.EQUAL}):14===this.search.toString().length?e.push({field:"siret",values:[this.search],operand:o.a.EQUAL}):(this.errorLength=!0,this.isLoadingResults=!1),!this.errorLength){if(null!==this.cp){const t=this.cp.toString().length<5?this.cp+"*":this.cp;e.push({field:"codePostalEtablissement",values:[t],operand:o.a.EQUAL})}this.subscriptions.push(this.sireneService.getSirets(e,this.sort.active,this.sort.direction,this.paginator.pageIndex,this.paginator.pageSize).subscribe(t=>{this.dataSource=t.items,this.resultsLength=t.total,this.isLoadingResults=!1,this.error=!1,this.noResult=!1},t=>{404===t.status?this.noResult=!0:this.error=!0,this.dataSource=[],this.isLoadingResults=!1}))}}noWs(){this.dialogRef.close({error:{type:"UNREACHABLE_SERVICE",reason:"WebService indisponible"}})}defaultAddress(t){this.dialogRef.close({rs:t.rs,siret:t.siret,address:new s.a({adresse:t.adresseSiren.adresse,cp:t.adresseSiren.cp,ville:t.adresseSiren.ville,complementAdresse:t.adresseSiren.complementAdresse,pays:t.adresseSiren.pays}),codeNaf:t.codeNaf})}}return t.\u0275fac=function(e){return new(e||t)(c.Nb(d.d),c.Nb(a.b),c.Nb(i.f),c.Nb(u.a),c.Nb(i.a))},t.\u0275cmp=c.Hb({type:t,selectors:[["app-siren-dialog"]],viewQuery:function(t,e){if(1&t&&(c.Lc(w,1),c.Lc(a.a,3),c.Lc(r.a,3)),2&t){let t;c.uc(t=c.cc())&&(e.sireneForm=t.first),c.uc(t=c.cc())&&(e.paginator=t.first),c.uc(t=c.cc())&&(e.sort=t.first)}},features:[c.zb],decls:30,vars:13,consts:[["id","popin-siren"],["mat-dialog-title","",3,"appLabel"],["mat-dialog-content",""],["id","sirene",4,"ngIf"],["class","loading",4,"ngIf"],[4,"ngIf"],["class","errorLength",4,"ngIf"],["id","sirene-table"],["mat-table","","id","sirene-result","matSort","","matSortDisableClear","",3,"dataSource"],["matColumnDef","siret"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","rs"],["matColumnDef","adresse"],["matColumnDef","cp"],["matColumnDef","ville"],["matColumnDef","action"],["mat-cell","","class","col-action",4,"matCellDef"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["showFirstLastButtons","",3,"length","pageSizeOptions"],["id","sirene"],["sireneForm","ngForm"],[1,"search-field"],["matInput","","type","text","name","sirenSearch","appLabel","dpd.sirene.libelle","appTextField","numeric","required","true",3,"ngModel","disabled","ngModelChange"],["searchField","ngModel"],["matInput","","type","text","name","cpSearch","appLabel","common.codepostal",3,"ngModel","ngModelChange"],["cpField","ngModel"],["mat-raised-button","","color","primary","aria-label","search",1,"search-field",3,"disabled","click"],["id","nbResult",4,"ngIf"],["id","nbResult"],[1,"loading"],["class","error",3,"click",4,"ngIf"],[1,"error",3,"click"],[1,"errorLength"],["mat-header-cell",""],["mat-cell",""],["mat-cell","",1,"col-action"],["mat-raised-button","","color","accent","aria-label","select","appLabel","dpd.sirene.selectionner",3,"click"],["mat-header-row",""],["mat-row",""]],template:function(t,e){1&t&&(c.Tb(0,"div",0),c.Ob(1,"h1",1),c.Tb(2,"div",2),c.Fc(3,O,15,9,"form",3),c.Fc(4,T,3,2,"div",4),c.Fc(5,P,3,3,"div",5),c.Fc(6,L,3,3,"div",6),c.Tb(7,"div",7),c.Tb(8,"table",8),c.Rb(9,9),c.Fc(10,D,3,3,"th",10),c.Fc(11,E,2,1,"td",11),c.Qb(),c.Rb(12,12),c.Fc(13,A,3,3,"th",10),c.Fc(14,I,2,1,"td",11),c.Qb(),c.Rb(15,13),c.Fc(16,R,3,3,"th",10),c.Fc(17,N,2,1,"td",11),c.Qb(),c.Rb(18,14),c.Fc(19,Y,3,3,"th",10),c.Fc(20,H,2,1,"td",11),c.Qb(),c.Rb(21,15),c.Fc(22,j,3,3,"th",10),c.Fc(23,F,2,1,"td",11),c.Qb(),c.Rb(24,16),c.Fc(25,z,1,0,"th",10),c.Fc(26,V,2,1,"td",17),c.Qb(),c.Fc(27,B,1,0,"tr",18),c.Fc(28,W,1,0,"tr",19),c.Sb(),c.Sb(),c.Ob(29,"mat-paginator",20),c.Sb(),c.Sb()),2&t&&(c.Cb(1),c.nc("appLabel",e.disableSearch?"dpd.client.etablissement.selection":"dpd.sirene.titre"),c.Cb(2),c.nc("ngIf",!e.disableSearch),c.Cb(1),c.nc("ngIf",e.isLoadingResults||e.error),c.Cb(1),c.nc("ngIf",e.noResult),c.Cb(1),c.nc("ngIf",e.errorLength),c.Cb(1),c.Cc("visibility",e.dataSource.length>0?"visible":"hidden"),c.Cb(1),c.nc("dataSource",e.dataSource),c.Cb(19),c.nc("matHeaderRowDef",e.displayedColumns),c.Cb(1),c.nc("matRowDefColumns",e.displayedColumns),c.Cb(1),c.nc("length",e.resultsLength)("pageSizeOptions",c.rc(12,U)))},directives:[i.g,h.a,i.d,m.l,p.j,r.a,p.c,p.e,p.b,p.g,p.i,a.a,f.x,f.p,f.q,g.c,b.b,f.c,_.a,f.v,f.o,f.r,y.a,v.a,g.b,C.b,p.d,p.a,p.f,p.h],pipes:[d.c],styles:[".search-field[_ngcontent-%COMP%]{margin-right:20px}#sirene-result[_ngcontent-%COMP%]{width:100%}#sirene-result[_ngcontent-%COMP%] .col-action[_ngcontent-%COMP%]{text-align:right}#nbResult[_ngcontent-%COMP%]{display:inline-block;font-weight:700}.loading[_ngcontent-%COMP%]{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}.loading[_ngcontent-%COMP%] .error[_ngcontent-%COMP%]{color:#980000;cursor:pointer}.errorLength[_ngcontent-%COMP%]{color:#980000}#popin-siren[_ngcontent-%COMP%] .mat-dialog-content[_ngcontent-%COMP%]{max-height:none}#popin-siren[_ngcontent-%COMP%] .mat-dialog-content[_ngcontent-%COMP%] #sirene-table[_ngcontent-%COMP%]{max-height:400px;overflow:auto}"]}),t})()},"VM/L":function(t,e,n){"use strict";n.d(e,"a",function(){return _});var i=n("v/fa"),a=n("8Y7J"),r=n("TSSN"),o=n("s7LF"),s=n("SVse"),l=n("Q2Ze"),c=n("e6WT"),d=n("q6Qu"),u=n("ro1A");function h(t,e){1&t&&(a.Tb(0,"mat-error"),a.Hc(1),a.gc(2,"translate"),a.Sb()),2&t&&(a.Cb(1),a.Jc(" ",a.hc(2,1,"common.error.requis")," "))}function m(t,e){1&t&&(a.Tb(0,"mat-error"),a.Hc(1),a.gc(2,"translate"),a.Sb()),2&t&&(a.Cb(1),a.Jc(" ",a.hc(2,1,"common.error.length")," "))}function p(t,e){if(1&t&&(a.Rb(0),a.Tb(1,"mat-form-field",3),a.Ob(2,"input",4),a.Fc(3,h,3,3,"mat-error",5),a.Fc(4,m,3,3,"mat-error",5),a.Sb(),a.Qb()),2&t){const t=a.fc();a.Cb(2),a.nc("required",t.isRequired),a.Cb(1),a.nc("ngIf",t.doesControlHaveError("adresse","required")),a.Cb(1),a.nc("ngIf",t.doesControlHaveError("adresse","maxlength"))}}function f(t,e){1&t&&(a.Tb(0,"mat-error"),a.Hc(1),a.gc(2,"translate"),a.Sb()),2&t&&(a.Cb(1),a.Jc(" ",a.hc(2,1,"common.error.requis")," "))}function g(t,e){1&t&&(a.Tb(0,"mat-error"),a.Hc(1),a.gc(2,"translate"),a.Sb()),2&t&&(a.Cb(1),a.Jc(" ",a.hc(2,1,"common.error.length")," "))}function b(t,e){if(1&t){const t=a.Ub();a.Tb(0,"app-collectif-autocomplete-2",6),a.bc("selectionChanged",function(e){return a.yc(t),a.fc().onAddressChange(e)}),a.Fc(1,f,3,3,"mat-error",5),a.Fc(2,g,3,3,"mat-error",5),a.Sb()}if(2&t){const t=a.fc();a.nc("name","address")("inputTitle","common.adresse")("isRequired",t.isRequired)("formControl",t.adresseCtrl),a.Cb(1),a.nc("ngIf",t.doesControlHaveError("adresse","required")),a.Cb(1),a.nc("ngIf",t.doesControlHaveError("adresse","maxlength"))}}let _=(()=>{class t extends i.a{constructor(t){super(t),this.translateService=t}set formGp(t){this.form=t}onAddressChange(t){t&&this.form.patchValue({adresse:t.adresse,cp:t.cp,ville:t.ville,complementAdresse:t.complementAdresse})}get adresseCtrl(){return this.form.get("adresse")}}return t.\u0275fac=function(e){return new(e||t)(a.Nb(r.d))},t.\u0275cmp=a.Hb({type:t,selectors:[["app-collectif-2"]],inputs:{isAutocompleteDisabled:"isAutocompleteDisabled",isRequired:"isRequired",formGp:"formGp"},features:[a.zb],decls:4,vars:3,consts:[[3,"formGroup"],[4,"ngIf","ngIfElse"],["autocompleteComponent",""],[1,"full-width"],["matInput","","data-cy","adresse","type","text","name","address","appLabel","common.adresse","formControlName","adresse",3,"required"],[4,"ngIf"],["formControlName","adresse",3,"name","inputTitle","isRequired","formControl","selectionChanged"]],template:function(t,e){if(1&t&&(a.Tb(0,"form",0),a.Fc(1,p,5,3,"ng-container",1),a.Fc(2,b,3,6,"ng-template",null,2,a.Gc),a.Sb()),2&t){const t=a.vc(3);a.nc("formGroup",e.form),a.Cb(1),a.nc("ngIf",e.isAutocompleteDisabled)("ngIfElse",t)}},directives:[o.x,o.p,o.i,s.l,l.c,c.b,o.c,d.a,o.o,o.g,o.v,l.b,u.a,o.f],pipes:[r.c],styles:[".full-width[_ngcontent-%COMP%]{width:100%}"]}),t})()},"VN+9":function(t,e,n){"use strict";n.d(e,"a",function(){return s});var i=n("8Y7J"),a=n("iELJ"),r=n("q6Qu"),o=n("iInd");let s=(()=>{class t{constructor(t){this.dialogRef=t}onClick(){this.dialogRef.close()}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(a.f))},t.\u0275cmp=i.Hb({type:t,selectors:[["app-inscription-choice-dialog"]],decls:6,vars:0,consts:[["mat-dialog-title","","appLabel","compte.inscription.choix"],["mat-dialog-content","",1,"thick-dialog"],["id","type-compte"],["id","inscription-entreprise","appLabel","compte.type.entreprise","routerLink","/inscription/entreprise","routerLinkActive","active",1,"block-type",3,"click"],["id","inscription-ordre","appLabel","compte.type.ordre","routerLink","/inscription/ordre","routerLinkActive","active",1,"block-type",3,"click"],["id","inscription-mandataire","appLabel","compte.type.mandataire","routerLink","/inscription/mandataire","routerLinkActive","active",1,"block-type",3,"click"]],template:function(t,e){1&t&&(i.Ob(0,"h1",0),i.Tb(1,"div",1),i.Tb(2,"div",2),i.Tb(3,"a",3),i.bc("click",function(){return e.onClick()}),i.Sb(),i.Tb(4,"a",4),i.bc("click",function(){return e.onClick()}),i.Sb(),i.Tb(5,"a",5),i.bc("click",function(){return e.onClick()}),i.Sb(),i.Sb(),i.Sb())},directives:[a.g,r.a,a.d,o.i,o.h],styles:[".mat-badge-content[_ngcontent-%COMP%]{font-weight:600;font-size:12px;font-family:Roboto,Helvetica Neue,sans-serif}.mat-badge-small[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{font-size:9px}.mat-badge-large[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{font-size:24px}.mat-h1[_ngcontent-%COMP%], .mat-headline[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font:400 24px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h2[_ngcontent-%COMP%], .mat-title[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font:500 20px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h3[_ngcontent-%COMP%], .mat-subheading-2[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font:400 16px/28px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h4[_ngcontent-%COMP%], .mat-subheading-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{font:400 15px/24px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h5[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{font:400 calc(14px * .83)/20px Roboto,Helvetica Neue,sans-serif;margin:0 0 12px}.mat-h6[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font:400 calc(14px * .67)/20px Roboto,Helvetica Neue,sans-serif;margin:0 0 12px}.mat-body-2[_ngcontent-%COMP%], .mat-body-strong[_ngcontent-%COMP%]{font:500 14px/24px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-body[_ngcontent-%COMP%], .mat-body-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%]{font:400 14px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-body-1[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .mat-body[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0 0 12px}.mat-caption[_ngcontent-%COMP%], .mat-small[_ngcontent-%COMP%]{font:400 12px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-display-4[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-4[_ngcontent-%COMP%]{font:300 112px/112px Roboto,Helvetica Neue,sans-serif;letter-spacing:-.05em;margin:0 0 56px}.mat-display-3[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-3[_ngcontent-%COMP%]{font:400 56px/56px Roboto,Helvetica Neue,sans-serif;letter-spacing:-.02em;margin:0 0 64px}.mat-display-2[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-2[_ngcontent-%COMP%]{font:400 45px/48px Roboto,Helvetica Neue,sans-serif;letter-spacing:-.005em;margin:0 0 64px}.mat-display-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-1[_ngcontent-%COMP%]{font:400 34px/40px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 64px}.mat-bottom-sheet-container[_ngcontent-%COMP%]{font:400 14px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-button[_ngcontent-%COMP%], .mat-fab[_ngcontent-%COMP%], .mat-flat-button[_ngcontent-%COMP%], .mat-icon-button[_ngcontent-%COMP%], .mat-mini-fab[_ngcontent-%COMP%], .mat-raised-button[_ngcontent-%COMP%], .mat-stroked-button[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:500}.mat-button-toggle[_ngcontent-%COMP%], .mat-card[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-card-title[_ngcontent-%COMP%]{font-size:24px;font-weight:500}.mat-card-header[_ngcontent-%COMP%] .mat-card-title[_ngcontent-%COMP%]{font-size:20px}.mat-card-content[_ngcontent-%COMP%], .mat-card-subtitle[_ngcontent-%COMP%]{font-size:14px}.mat-checkbox[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-checkbox-layout[_ngcontent-%COMP%] .mat-checkbox-label[_ngcontent-%COMP%]{line-height:24px}.mat-chip[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.mat-chip[_ngcontent-%COMP%] .mat-chip-remove.mat-icon[_ngcontent-%COMP%], .mat-chip[_ngcontent-%COMP%] .mat-chip-trailing-icon.mat-icon[_ngcontent-%COMP%]{font-size:18px}.mat-table[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-header-cell[_ngcontent-%COMP%]{font-size:12px;font-weight:500}.mat-cell[_ngcontent-%COMP%], .mat-footer-cell[_ngcontent-%COMP%]{font-size:14px}.mat-calendar[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-calendar-body[_ngcontent-%COMP%]{font-size:13px}.mat-calendar-body-label[_ngcontent-%COMP%], .mat-calendar-period-button[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.mat-calendar-table-header[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{font-size:11px;font-weight:400}.mat-dialog-title[_ngcontent-%COMP%]{font:500 20px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-expansion-panel-header[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:15px;font-weight:400}.mat-expansion-panel-content[_ngcontent-%COMP%]{font:400 14px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-form-field[_ngcontent-%COMP%]{font-size:inherit;font-weight:400;line-height:1.125;font-family:Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-form-field-wrapper[_ngcontent-%COMP%]{padding-bottom:1.34375em}.mat-form-field-prefix[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%], .mat-form-field-suffix[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{font-size:150%;line-height:1.125}.mat-form-field-prefix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%], .mat-form-field-suffix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%]{height:1.5em;width:1.5em}.mat-form-field-prefix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%], .mat-form-field-suffix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{height:1.125em;line-height:1.125}.mat-form-field-infix[_ngcontent-%COMP%]{padding:.5em 0;border-top:.84375em solid rgba(0,0,0,0)}.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-1.34375em) scale(.75);transform:translateY(-1.34375em) scale(.75);width:133.3333333333%}.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-1.34374em) scale(.75);transform:translateY(-1.34374em) scale(.75);width:133.3333433333%}.mat-form-field-label-wrapper[_ngcontent-%COMP%]{top:-.84375em;padding-top:.84375em}.mat-form-field-label[_ngcontent-%COMP%]{top:1.34375em}.mat-form-field-underline[_ngcontent-%COMP%]{bottom:1.34375em}.mat-form-field-subscript-wrapper[_ngcontent-%COMP%]{font-size:75%;margin-top:.6666666667em;top:calc(100% - 1.7916666667em)}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-wrapper[_ngcontent-%COMP%]{padding-bottom:1.25em}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]{padding:.4375em 0}.mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.001px);-ms-transform:translateY(-1.28125em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-form-field-autofill-control[_ngcontent-%COMP%]:-webkit-autofill + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00101px);-ms-transform:translateY(-1.28124em) scale(.75);width:133.3333433333%}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00102px);-ms-transform:translateY(-1.28123em) scale(.75);width:133.3333533333%}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{top:1.28125em}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]{bottom:1.25em}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-subscript-wrapper[_ngcontent-%COMP%]{margin-top:.5416666667em;top:calc(100% - 1.6666666667em)}@media print{.mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-1.28122em) scale(.75);transform:translateY(-1.28122em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-form-field-autofill-control[_ngcontent-%COMP%]:-webkit-autofill + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{transform:translateY(-1.28121em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-1.2812em) scale(.75);transform:translateY(-1.2812em) scale(.75)}}.mat-form-field-appearance-fill[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]{padding:.25em 0 .75em}.mat-form-field-appearance-fill[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{top:1.09375em;margin-top:-.5em}.mat-form-field-appearance-fill.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-fill.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-.59375em) scale(.75);transform:translateY(-.59375em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-fill.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-.59374em) scale(.75);transform:translateY(-.59374em) scale(.75);width:133.3333433333%}.mat-form-field-appearance-outline[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]{padding:1em 0}.mat-form-field-appearance-outline[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{top:1.84375em;margin-top:-.25em}.mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-outline.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-1.59375em) scale(.75);transform:translateY(-1.59375em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-outline.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-1.59374em) scale(.75);transform:translateY(-1.59374em) scale(.75);width:133.3333433333%}.mat-grid-tile-footer[_ngcontent-%COMP%], .mat-grid-tile-header[_ngcontent-%COMP%]{font-size:14px}.mat-grid-tile-footer[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%], .mat-grid-tile-header[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-grid-tile-footer[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2), .mat-grid-tile-header[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:12px}input.mat-input-element[_ngcontent-%COMP%]{margin-top:-.0625em}.mat-menu-item[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:400}.mat-paginator[_ngcontent-%COMP%], .mat-paginator-page-size[_ngcontent-%COMP%] .mat-select-trigger[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:12px}.mat-radio-button[_ngcontent-%COMP%], .mat-select[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-select-trigger[_ngcontent-%COMP%]{height:1.125em}.mat-slide-toggle-content[_ngcontent-%COMP%], .mat-slider-thumb-label-text[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-slider-thumb-label-text[_ngcontent-%COMP%]{font-size:12px;font-weight:500}.mat-stepper-horizontal[_ngcontent-%COMP%], .mat-stepper-vertical[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-step-label[_ngcontent-%COMP%]{font-size:14px;font-weight:400}.mat-step-sub-label-error[_ngcontent-%COMP%]{font-weight:400}.mat-step-label-error[_ngcontent-%COMP%]{font-size:14px}.mat-step-label-selected[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.mat-tab-group[_ngcontent-%COMP%], .mat-tab-label[_ngcontent-%COMP%], .mat-tab-link[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-tab-label[_ngcontent-%COMP%], .mat-tab-link[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.mat-toolbar[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font:500 20px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0}.mat-tooltip[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:10px;padding-top:6px;padding-bottom:6px}.mat-tooltip-handset[_ngcontent-%COMP%]{font-size:14px;padding-top:8px;padding-bottom:8px}.mat-list-item[_ngcontent-%COMP%], .mat-list-option[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]{font-size:16px}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:14px}.mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%]{font-size:16px}.mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:14px}.mat-list-base[_ngcontent-%COMP%] .mat-subheader[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:500}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]{font-size:12px}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2), .mat-list-base[dense][_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%]{font-size:12px}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:12px}.mat-list-base[dense][_ngcontent-%COMP%] .mat-subheader[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:12px;font-weight:500}.mat-option[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:16px}.mat-optgroup-label[_ngcontent-%COMP%]{font:500 14px/24px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-simple-snackbar[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px}.mat-simple-snackbar-action[_ngcontent-%COMP%]{line-height:1;font-family:inherit;font-size:inherit;font-weight:500}.mat-tree[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-nested-tree-node[_ngcontent-%COMP%], .mat-tree-node[_ngcontent-%COMP%]{font-weight:400;font-size:14px}.mat-ripple[_ngcontent-%COMP%]{overflow:hidden;position:relative}.mat-ripple[_ngcontent-%COMP%]:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded[_ngcontent-%COMP%]{overflow:visible}.mat-ripple-element[_ngcontent-%COMP%]{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0,0,.2,1);-ms-transform:scale(0);transform:scale(0)}.cdk-high-contrast-active[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{display:none}.cdk-visually-hidden[_ngcontent-%COMP%]{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;outline:0;-webkit-appearance:none;-moz-appearance:none}.cdk-global-overlay-wrapper[_ngcontent-%COMP%], .cdk-overlay-container[_ngcontent-%COMP%]{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container[_ngcontent-%COMP%]{position:fixed;z-index:1000}.cdk-overlay-container[_ngcontent-%COMP%]:empty{display:none}.cdk-global-overlay-wrapper[_ngcontent-%COMP%], .cdk-overlay-pane[_ngcontent-%COMP%]{display:-ms-flexbox;display:flex;position:absolute;z-index:1000}.cdk-overlay-pane[_ngcontent-%COMP%]{pointer-events:auto;box-sizing:border-box;max-width:100%;max-height:100%}.cdk-overlay-backdrop[_ngcontent-%COMP%]{position:absolute;top:0;bottom:0;left:0;right:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:transparent;transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:1}@media screen and (-ms-high-contrast:active){.cdk-overlay-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:.6}}.cdk-overlay-dark-backdrop[_ngcontent-%COMP%]{background:rgba(0,0,0,.32)}.cdk-overlay-transparent-backdrop[_ngcontent-%COMP%], .cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:0}.cdk-overlay-connected-position-bounding-box[_ngcontent-%COMP%]{position:absolute;z-index:1000;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock[_ngcontent-%COMP%]{position:fixed;width:100%;overflow-y:scroll}@-webkit-keyframes cdk-text-field-autofill-start{\n }@keyframes cdk-text-field-autofill-start{\n }@-webkit-keyframes cdk-text-field-autofill-end{\n }@keyframes cdk-text-field-autofill-end{\n }.cdk-text-field-autofill-monitored[_ngcontent-%COMP%]:-webkit-autofill{-webkit-animation:cdk-text-field-autofill-start 0s 1ms;animation:cdk-text-field-autofill-start 0s 1ms}.cdk-text-field-autofill-monitored[_ngcontent-%COMP%]:not(:-webkit-autofill){-webkit-animation:cdk-text-field-autofill-end 0s 1ms;animation:cdk-text-field-autofill-end 0s 1ms}textarea.cdk-textarea-autosize[_ngcontent-%COMP%]{resize:none}textarea.cdk-textarea-autosize-measuring[_ngcontent-%COMP%]{padding:2px 0!important;box-sizing:content-box!important;height:auto!important;overflow:hidden!important}textarea.cdk-textarea-autosize-measuring-firefox[_ngcontent-%COMP%]{padding:2px 0!important;box-sizing:content-box!important;height:0!important}.mat-focus-indicator[_ngcontent-%COMP%], .mat-mdc-focus-indicator[_ngcontent-%COMP%]{position:relative}#type-compte[_ngcontent-%COMP%]{background-color:#b3c7de;margin-left:-24px;margin-right:-24px;padding:30px 0}#type-compte[_ngcontent-%COMP%], #type-compte[_ngcontent-%COMP%] .block-type[_ngcontent-%COMP%]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center}#type-compte[_ngcontent-%COMP%] .block-type[_ngcontent-%COMP%]{-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;text-align:center;color:#2661a1;height:80px;width:200px;background-color:#fff;text-decoration:none;outline:none;box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12);margin:0 33px}#type-compte[_ngcontent-%COMP%] .block-type[_ngcontent-%COMP%]:hover{box-shadow:0 6px 6px -3px rgba(98,155,211,.2),0 10px 14px 1px rgba(98,155,211,.14),0 4px 18px 3px rgba(98,155,211,.12);cursor:pointer}#type-compte[_ngcontent-%COMP%] .block-type[_ngcontent-%COMP%] .home-creer-decla-separator[_ngcontent-%COMP%]{box-sizing:border-box;height:1px;width:135px;border:.5px solid #2661a1;margin:16px 0}#type-compte[_ngcontent-%COMP%] .block-type[_ngcontent-%COMP%] .home-creer-decla-title[_ngcontent-%COMP%]{font-weight:600;text-transform:uppercase;font-size:2rem}#type-compte[_ngcontent-%COMP%] .block-type[_ngcontent-%COMP%] .home-creer-decla-desc[_ngcontent-%COMP%]{font-size:1.25rem}"]}),t})()},VRyK:function(t,e,n){"use strict";n.d(e,"a",function(){return s});var i=n("HDdC"),a=n("z+Ro"),r=n("bHdf"),o=n("yCtX");function s(...t){let e=Number.POSITIVE_INFINITY,n=null,s=t[t.length-1];return Object(a.a)(s)?(n=t.pop(),t.length>1&&"number"==typeof t[t.length-1]&&(e=t.pop())):"number"==typeof s&&(e=t.pop()),null===n&&1===t.length&&t[0]instanceof i.a?t[0]:Object(r.a)(e)(Object(o.a)(t,n))}},VS7r:function(t,e,n){"use strict";n.d(e,"a",function(){return O});var i=n("8Y7J"),a=n("s7LF"),r=n("cYWD"),o=n("TSSN"),s=n("AkaL"),l=n("IheW");let c=(()=>{class t extends s.a{constructor(t){super(t),this.http=t,this.BASE_URL="/api/entreprises/search"}setLabel(t){t.autocomplete=t.numTVA?`${t.numTVA} - ${t.raisonSociale}`:`${t.raisonSociale}`}}return t.\u0275fac=function(e){return new(e||t)(i.Xb(l.b))},t.\u0275prov=i.Jb({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();var d=n("WiJD"),u=n("zaPX"),h=n("Q2Ze"),m=n("SVse"),p=n("e6WT"),f=n("vrAh"),g=n("q6Qu"),b=n("UhP/"),_=n("pu8Q");function y(t,e){if(1&t&&(i.Tb(0,"span",8),i.Hc(1),i.Sb()),2&t){const t=i.fc();i.Cc("opacity",t.searchControl.disabled?.7:1),i.Cb(1),i.Ic(t.prefix)}}function v(t,e){1&t&&(i.Tb(0,"mat-option",9),i.Ob(1,"mat-spinner",10),i.Sb())}function C(t,e){if(1&t&&(i.Tb(0,"mat-option",12),i.Hc(1),i.Sb()),2&t){const t=e.$implicit;i.nc("value",t),i.Cb(1),i.Jc(" ",t.autocomplete," ")}}function w(t,e){if(1&t&&i.Fc(0,C,2,2,"mat-option",11),2&t){const t=i.fc();i.nc("ngForOf",t.searchResult)}}const x=[[["mat-error"]],[["mat-icon"]],[["mat-spinner"]],"*"],M=["mat-error","mat-icon","mat-spinner","*"];let O=(()=>{class t extends r.a{constructor(t,e,n,i,a){super(t,e,n,i,a),this.translateService=t,this.searchService=e,this.configurationService=n,this.configSharedService=i,this.changeDetectorRef=a,this.fieldValue="raisonSociale"}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(o.d),i.Nb(c),i.Nb(d.a),i.Nb(u.a),i.Nb(i.h))},t.\u0275cmp=i.Hb({type:t,selectors:[["app-entreprise-autocomplete-2"]],features:[i.Bb([{provide:a.m,useExisting:Object(i.V)(()=>t),multi:!0}]),i.zb],ngContentSelectors:M,decls:15,vars:11,consts:[["matPrefix","","class","prefix",3,"opacity",4,"ngIf"],["type","text","matInput","","data-cy","autocomplete",3,"name","appLabel","formControl","matAutocomplete","matAutocompleteDisabled","errorStateMatcher","required","blur"],["searchElt",""],[1,"mat-error","otherMessages"],[3,"displayWith","optionSelected"],["auto","matAutocomplete"],["class","spinner",4,"ngIf","ngIfElse"],["listOptions",""],["matPrefix","",1,"prefix"],[1,"spinner"],["diameter","50"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(t,e){if(1&t&&(i.mc(x),i.Tb(0,"mat-form-field"),i.Fc(1,y,2,3,"span",0),i.Tb(2,"input",1,2),i.bc("blur",function(){return e.onBlur()}),i.Sb(),i.Tb(4,"mat-error"),i.lc(5),i.Sb(),i.lc(6,1),i.lc(7,2),i.Sb(),i.Tb(8,"div",3),i.lc(9,3),i.Sb(),i.Tb(10,"mat-autocomplete",4,5),i.bc("optionSelected",function(t){return e.selectOption(t)}),i.Fc(12,v,2,0,"mat-option",6),i.Fc(13,w,1,1,"ng-template",null,7,i.Gc),i.Sb()),2&t){const t=i.vc(11),n=i.vc(14);i.Cb(1),i.nc("ngIf",e.prefix),i.Cb(1),i.nc("name",e.name)("appLabel",e.inputTitle)("formControl",e.searchControl)("matAutocomplete",t)("matAutocompleteDisabled",e.isAutocompleteDisabled)("errorStateMatcher",e.errorStateMatcher)("required",e.isRequired),i.Cb(8),i.nc("displayWith",e.displayFn),i.Cb(2),i.nc("ngIf",e.isLoading)("ngIfElse",n)}},directives:[h.c,m.l,p.b,a.c,f.c,g.a,a.o,a.f,a.v,h.b,f.a,h.g,b.m,_.b,m.k],styles:["[_nghost-%COMP%]{-ms-flex:1;flex:1}[_nghost-%COMP%] mat-form-field[_ngcontent-%COMP%]{width:100%}[_nghost-%COMP%] .otherMessages[_ngcontent-%COMP%]{font-size:75%}[_nghost-%COMP%] .prefix[_ngcontent-%COMP%]{-ms-flex-item-align:center;align-self:center;margin-right:8px}"]}),t})()},Vclq:function(t,e,n){!function(t){"use strict";var e="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),i=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],a=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;t.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(t,i){return t?/-MMM-/.test(i)?n[t.month()]:e[t.month()]:e},monthsRegex:a,monthsShortRegex:a,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"MM/DD/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:0,doy:6}})}(n("wd/R"))},VjMq:function(t,e,n){"use strict";n.d(e,"a",function(){return _});var i=n("v/fa"),a=n("8Y7J"),r=n("TSSN"),o=n("s7LF"),s=n("SVse"),l=n("Q2Ze"),c=n("e6WT"),d=n("q6Qu"),u=n("eNrK");function h(t,e){1&t&&(a.Tb(0,"mat-error"),a.Hc(1),a.gc(2,"translate"),a.Sb()),2&t&&(a.Cb(1),a.Jc(" ",a.hc(2,1,"common.error.commune")," "))}function m(t,e){1&t&&(a.Tb(0,"mat-error"),a.Hc(1),a.gc(2,"translate"),a.Sb()),2&t&&(a.Cb(1),a.Jc(" ",a.hc(2,1,"common.error.length")," "))}function p(t,e){1&t&&(a.Tb(0,"mat-error"),a.Hc(1),a.gc(2,"translate"),a.Sb()),2&t&&(a.Cb(1),a.Jc(" ",a.hc(2,1,"common.error.commune")," "))}function f(t,e){1&t&&(a.Tb(0,"mat-error"),a.Hc(1),a.gc(2,"translate"),a.Sb()),2&t&&(a.Cb(1),a.Jc(" ",a.hc(2,1,"common.error.length")," "))}function g(t,e){if(1&t&&(a.Rb(0),a.Tb(1,"mat-form-field",3),a.Ob(2,"input",4),a.Fc(3,h,3,3,"mat-error",5),a.Fc(4,m,3,3,"mat-error",5),a.Sb(),a.Ob(5,"div",6),a.Tb(6,"mat-form-field",3),a.Ob(7,"input",7),a.Fc(8,p,3,3,"mat-error",5),a.Fc(9,f,3,3,"mat-error",5),a.Sb(),a.Qb()),2&t){const t=a.fc();a.Cb(2),a.nc("required",t.isRequired),a.Cb(1),a.nc("ngIf",t.doesControlHaveError("cp","required")),a.Cb(1),a.nc("ngIf",t.doesControlHaveError("cp","maxlength")),a.Cb(3),a.nc("required",t.isRequired),a.Cb(1),a.nc("ngIf",t.doesControlHaveError("ville","required")),a.Cb(1),a.nc("ngIf",t.doesControlHaveError("ville","maxlength"))}}function b(t,e){if(1&t){const t=a.Ub();a.Tb(0,"app-communes-autocomplete-2",8),a.bc("selectionChanged",function(e){return a.yc(t),a.fc().onCommuneChange(e)}),a.Sb()}if(2&t){const t=a.fc();a.nc("parentForm",t.form)("isRequired",t.isRequired)}}let _=(()=>{class t extends i.a{constructor(t){super(t),this.translateService=t}set formGp(t){this.form=t}onCommuneChange(t){this.form.patchValue({cp:t.codePostal,ville:t.commune}),this.showCoords&&this.form.patchValue({latitude:null,longitude:null})}}return t.\u0275fac=function(e){return new(e||t)(a.Nb(r.d))},t.\u0275cmp=a.Hb({type:t,selectors:[["app-communes-2"]],inputs:{isCountryFrance:"isCountryFrance",isRequired:"isRequired",showCoords:"showCoords",formGp:"formGp"},features:[a.zb],decls:4,vars:3,consts:[[1,"communes-container",3,"formGroup"],[4,"ngIf","ngIfElse"],["autocompleteComponent",""],[1,"inline-item"],["matInput","","data-cy","cp","type","text","appLabel","common.codepostal","formControlName","cp","name","cp-no-autocomplete",3,"required"],[4,"ngIf"],[1,"spacer"],["matInput","","data-cy","ville","type","text","appLabel","common.ville","name","city-no-autocomplete","formControlName","ville",3,"required"],[1,"inline-item",3,"parentForm","isRequired","selectionChanged"]],template:function(t,e){if(1&t&&(a.Tb(0,"form",0),a.Fc(1,g,10,6,"ng-container",1),a.Fc(2,b,1,2,"ng-template",null,2,a.Gc),a.Sb()),2&t){const t=a.vc(3);a.nc("formGroup",e.form),a.Cb(1),a.nc("ngIf",!e.isCountryFrance)("ngIfElse",t)}},directives:[o.x,o.p,o.i,s.l,l.c,c.b,o.c,d.a,o.o,o.g,o.v,l.b,u.a],pipes:[r.c],styles:[".communes-container[_ngcontent-%COMP%]{display:-ms-flexbox;display:flex;-ms-flex-flow:row;flex-flow:row}.communes-container[_ngcontent-%COMP%] .spacer[_ngcontent-%COMP%]{width:50px}.communes-container[_ngcontent-%COMP%] .inline-item[_ngcontent-%COMP%]{-ms-flex:1;flex:1}"]}),t})()},WMd4:function(t,e,n){"use strict";n.d(e,"a",function(){return o});var i=n("EY2u"),a=n("LRne"),r=n("z6cu");let o=(()=>{class t{constructor(t,e,n){this.kind=t,this.value=e,this.error=n,this.hasValue="N"===t}observe(t){switch(this.kind){case"N":return t.next&&t.next(this.value);case"E":return t.error&&t.error(this.error);case"C":return t.complete&&t.complete()}}do(t,e,n){switch(this.kind){case"N":return t&&t(this.value);case"E":return e&&e(this.error);case"C":return n&&n()}}accept(t,e,n){return t&&"function"==typeof t.next?this.observe(t):this.do(t,e,n)}toObservable(){switch(this.kind){case"N":return Object(a.a)(this.value);case"E":return Object(r.a)(this.error);case"C":return Object(i.b)()}throw new Error("unexpected notification kind value")}static createNext(e){return void 0!==e?new t("N",e):t.undefinedValueNotification}static createError(e){return new t("E",void 0,e)}static createComplete(){return t.completeNotification}}return t.completeNotification=new t("C"),t.undefinedValueNotification=new t("N",void 0),t})()},WTUP:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("2Vo4"),a=n("8Y7J");let r=(()=>{class t{constructor(){this._isLoadingSubj=new i.a(!1),this.isLoading$=this._isLoadingSubj.asObservable()}setLoading(t){this._isLoadingSubj.next(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=a.Jb({token:t,factory:t.\u0275fac,providedIn:"root"}),t})()},WYrj:function(t,e,n){!function(t){"use strict";var e=["\u0796\u07ac\u0782\u07aa\u0787\u07a6\u0783\u07a9","\u078a\u07ac\u0784\u07b0\u0783\u07aa\u0787\u07a6\u0783\u07a9","\u0789\u07a7\u0783\u07a8\u0797\u07aa","\u0787\u07ad\u0795\u07b0\u0783\u07a9\u078d\u07aa","\u0789\u07ad","\u0796\u07ab\u0782\u07b0","\u0796\u07aa\u078d\u07a6\u0787\u07a8","\u0787\u07af\u078e\u07a6\u0790\u07b0\u0793\u07aa","\u0790\u07ac\u0795\u07b0\u0793\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa","\u0787\u07ae\u0786\u07b0\u0793\u07af\u0784\u07a6\u0783\u07aa","\u0782\u07ae\u0788\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa","\u0791\u07a8\u0790\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa"],n=["\u0787\u07a7\u078b\u07a8\u0787\u07b0\u078c\u07a6","\u0780\u07af\u0789\u07a6","\u0787\u07a6\u0782\u07b0\u078e\u07a7\u0783\u07a6","\u0784\u07aa\u078b\u07a6","\u0784\u07aa\u0783\u07a7\u0790\u07b0\u078a\u07a6\u078c\u07a8","\u0780\u07aa\u0786\u07aa\u0783\u07aa","\u0780\u07ae\u0782\u07a8\u0780\u07a8\u0783\u07aa"];t.defineLocale("dv",{months:e,monthsShort:e,weekdays:n,weekdaysShort:n,weekdaysMin:"\u0787\u07a7\u078b\u07a8_\u0780\u07af\u0789\u07a6_\u0787\u07a6\u0782\u07b0_\u0784\u07aa\u078b\u07a6_\u0784\u07aa\u0783\u07a7_\u0780\u07aa\u0786\u07aa_\u0780\u07ae\u0782\u07a8".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0789\u0786|\u0789\u078a/,isPM:function(t){return"\u0789\u078a"===t},meridiem:function(t,e,n){return t<12?"\u0789\u0786":"\u0789\u078a"},calendar:{sameDay:"[\u0789\u07a8\u0787\u07a6\u078b\u07aa] LT",nextDay:"[\u0789\u07a7\u078b\u07a6\u0789\u07a7] LT",nextWeek:"dddd LT",lastDay:"[\u0787\u07a8\u0787\u07b0\u0794\u07ac] LT",lastWeek:"[\u078a\u07a7\u0787\u07a8\u078c\u07aa\u0788\u07a8] dddd LT",sameElse:"L"},relativeTime:{future:"\u078c\u07ac\u0783\u07ad\u078e\u07a6\u0787\u07a8 %s",past:"\u0786\u07aa\u0783\u07a8\u0782\u07b0 %s",s:"\u0790\u07a8\u0786\u07aa\u0782\u07b0\u078c\u07aa\u0786\u07ae\u0785\u07ac\u0787\u07b0",ss:"d% \u0790\u07a8\u0786\u07aa\u0782\u07b0\u078c\u07aa",m:"\u0789\u07a8\u0782\u07a8\u0793\u07ac\u0787\u07b0",mm:"\u0789\u07a8\u0782\u07a8\u0793\u07aa %d",h:"\u078e\u07a6\u0791\u07a8\u0787\u07a8\u0783\u07ac\u0787\u07b0",hh:"\u078e\u07a6\u0791\u07a8\u0787\u07a8\u0783\u07aa %d",d:"\u078b\u07aa\u0788\u07a6\u0780\u07ac\u0787\u07b0",dd:"\u078b\u07aa\u0788\u07a6\u0790\u07b0 %d",M:"\u0789\u07a6\u0780\u07ac\u0787\u07b0",MM:"\u0789\u07a6\u0790\u07b0 %d",y:"\u0787\u07a6\u0780\u07a6\u0783\u07ac\u0787\u07b0",yy:"\u0787\u07a6\u0780\u07a6\u0783\u07aa %d"},preparse:function(t){return t.replace(/\u060c/g,",")},postformat:function(t){return t.replace(/,/g,"\u060c")},week:{dow:7,doy:12}})}(n("wd/R"))},WiJD:function(t,e,n){"use strict";n.d(e,"a",function(){return c});var i=n("cXaA"),a=n("LRne"),r=n("JIr8"),o=n("lJxs"),s=n("8Y7J"),l=n("IheW");let c=(()=>{class t{constructor(t){this.http=t,this.log=i.a.create("ConfigurationService"),this.END_POINT="/api/configuration",this.END_POINT_VERSION="/api/version",this.obsData=null,this.versionData=null}getVersion(){return this.versionData||(this.log.data(`[HTTP] (GET) -> ${this.END_POINT_VERSION}`),this.versionData=this.http.get(this.END_POINT_VERSION).pipe(Object(r.a)(()=>(this.versionData=null,Object(a.a)(null))))),this.versionData}getData(){return this.obsData||(this.log.data(`[HTTP] (GET) -> ${this.END_POINT}`),this.obsData=this.http.get(this.END_POINT).pipe(Object(r.a)(()=>(this.obsData=null,Object(a.a)(null))))),this.obsData}getSiteKey(){return this.getData().pipe(Object(o.a)(t=>t?t.siteKey:null))}getNbItemByPage(){return this.getData().pipe(Object(o.a)(t=>t?t.nbItemByPage:null))}getAutocompleteCommuneNbMax(){return this.getData().pipe(Object(o.a)(t=>t?t.autocompleteCommune.nbMax:null))}getAutocompleteCommuneTimeLimit(){return this.getData().pipe(Object(o.a)(t=>t?t.autocompleteCommune.timeLimit:null))}getAutocompleteDpdNbMax(){return this.getData().pipe(Object(o.a)(t=>t?t.autocompleteDPD.nbMax:null))}getAutocompleteDpdTimeLimit(){return this.getData().pipe(Object(o.a)(t=>t?t.autocompleteDPD.timeLimit:null))}resetData(){this.obsData=null}}return t.\u0275fac=function(e){return new(e||t)(s.Xb(l.b))},t.\u0275prov=s.Jb({token:t,factory:t.\u0275fac,providedIn:"root"}),t})()},Wv91:function(t,e,n){!function(t){"use strict";var e={1:"'inji",5:"'inji",8:"'inji",70:"'inji",80:"'inji",2:"'nji",7:"'nji",20:"'nji",50:"'nji",3:"'\xfcnji",4:"'\xfcnji",100:"'\xfcnji",6:"'njy",9:"'unjy",10:"'unjy",30:"'unjy",60:"'ynjy",90:"'ynjy"};t.defineLocale("tk",{months:"\xddanwar_Fewral_Mart_Aprel_Ma\xfd_I\xfdun_I\xfdul_Awgust_Sent\xfdabr_Okt\xfdabr_No\xfdabr_Dekabr".split("_"),monthsShort:"\xddan_Few_Mar_Apr_Ma\xfd_I\xfdn_I\xfdl_Awg_Sen_Okt_No\xfd_Dek".split("_"),weekdays:"\xddek\u015fenbe_Du\u015fenbe_Si\u015fenbe_\xc7ar\u015fenbe_Pen\u015fenbe_Anna_\u015eenbe".split("_"),weekdaysShort:"\xddek_Du\u015f_Si\u015f_\xc7ar_Pen_Ann_\u015een".split("_"),weekdaysMin:"\xddk_D\u015f_S\u015f_\xc7r_Pn_An_\u015en".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn sagat] LT",nextDay:"[ertir sagat] LT",nextWeek:"[indiki] dddd [sagat] LT",lastDay:"[d\xfc\xfdn] LT",lastWeek:"[ge\xe7en] dddd [sagat] LT",sameElse:"L"},relativeTime:{future:"%s so\u0148",past:"%s \xf6\u0148",s:"birn\xe4\xe7e sekunt",m:"bir minut",mm:"%d minut",h:"bir sagat",hh:"%d sagat",d:"bir g\xfcn",dd:"%d g\xfcn",M:"bir a\xfd",MM:"%d a\xfd",y:"bir \xfdyl",yy:"%d \xfdyl"},ordinal:function(t,n){switch(n){case"d":case"D":case"Do":case"DD":return t;default:if(0===t)return t+"'unjy";var i=t%10;return t+(e[i]||e[t%100-i]||e[t>=100?100:null])}},week:{dow:1,doy:7}})}(n("wd/R"))},WxRl:function(t,e,n){!function(t){"use strict";var e="vas\xe1rnap h\xe9tf\u0151n kedden szerd\xe1n cs\xfct\xf6rt\xf6k\xf6n p\xe9nteken szombaton".split(" ");function n(t,e,n,i){var a=t;switch(n){case"s":return i||e?"n\xe9h\xe1ny m\xe1sodperc":"n\xe9h\xe1ny m\xe1sodperce";case"ss":return a+(i||e)?" m\xe1sodperc":" m\xe1sodperce";case"m":return"egy"+(i||e?" perc":" perce");case"mm":return a+(i||e?" perc":" perce");case"h":return"egy"+(i||e?" \xf3ra":" \xf3r\xe1ja");case"hh":return a+(i||e?" \xf3ra":" \xf3r\xe1ja");case"d":return"egy"+(i||e?" nap":" napja");case"dd":return a+(i||e?" nap":" napja");case"M":return"egy"+(i||e?" h\xf3nap":" h\xf3napja");case"MM":return a+(i||e?" h\xf3nap":" h\xf3napja");case"y":return"egy"+(i||e?" \xe9v":" \xe9ve");case"yy":return a+(i||e?" \xe9v":" \xe9ve")}return""}function i(t){return(t?"":"[m\xfalt] ")+"["+e[this.day()]+"] LT[-kor]"}t.defineLocale("hu",{months:"janu\xe1r_febru\xe1r_m\xe1rcius_\xe1prilis_m\xe1jus_j\xfanius_j\xfalius_augusztus_szeptember_okt\xf3ber_november_december".split("_"),monthsShort:"jan._feb._m\xe1rc._\xe1pr._m\xe1j._j\xfan._j\xfal._aug._szept._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"vas\xe1rnap_h\xe9tf\u0151_kedd_szerda_cs\xfct\xf6rt\xf6k_p\xe9ntek_szombat".split("_"),weekdaysShort:"vas_h\xe9t_kedd_sze_cs\xfct_p\xe9n_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM:function(t){return"u"===t.charAt(1).toLowerCase()},meridiem:function(t,e,n){return t<12?!0===n?"de":"DE":!0===n?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return i.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return i.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s m\xfalva",past:"%s",s:n,ss:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},X709:function(t,e,n){!function(t){"use strict";t.defineLocale("sv",{months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"s\xf6ndag_m\xe5ndag_tisdag_onsdag_torsdag_fredag_l\xf6rdag".split("_"),weekdaysShort:"s\xf6n_m\xe5n_tis_ons_tor_fre_l\xf6r".split("_"),weekdaysMin:"s\xf6_m\xe5_ti_on_to_fr_l\xf6".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[Ig\xe5r] LT",nextWeek:"[P\xe5] dddd LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"f\xf6r %s sedan",s:"n\xe5gra sekunder",ss:"%d sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en m\xe5nad",MM:"%d m\xe5nader",y:"ett \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}(\:e|\:a)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?":e":1===e||2===e?":a":":e")},week:{dow:1,doy:4}})}(n("wd/R"))},XDpg:function(t,e,n){!function(t){"use strict";t.defineLocale("zh-cn",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u5468\u65e5_\u5468\u4e00_\u5468\u4e8c_\u5468\u4e09_\u5468\u56db_\u5468\u4e94_\u5468\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5Ah\u70b9mm\u5206",LLLL:"YYYY\u5e74M\u6708D\u65e5ddddAh\u70b9mm\u5206",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u51cc\u6668"===e||"\u65e9\u4e0a"===e||"\u4e0a\u5348"===e?t:"\u4e0b\u5348"===e||"\u665a\u4e0a"===e?t+12:t>=11?t:t+12},meridiem:function(t,e,n){var i=100*t+e;return i<600?"\u51cc\u6668":i<900?"\u65e9\u4e0a":i<1130?"\u4e0a\u5348":i<1230?"\u4e2d\u5348":i<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:function(t){return t.week()!==this.week()?"[\u4e0b]dddLT":"[\u672c]dddLT"},lastDay:"[\u6628\u5929]LT",lastWeek:function(t){return this.week()!==t.week()?"[\u4e0a]dddLT":"[\u672c]dddLT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u5468)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"\u65e5";case"M":return t+"\u6708";case"w":case"W":return t+"\u5468";default:return t}},relativeTime:{future:"%s\u540e",past:"%s\u524d",s:"\u51e0\u79d2",ss:"%d \u79d2",m:"1 \u5206\u949f",mm:"%d \u5206\u949f",h:"1 \u5c0f\u65f6",hh:"%d \u5c0f\u65f6",d:"1 \u5929",dd:"%d \u5929",w:"1 \u5468",ww:"%d \u5468",M:"1 \u4e2a\u6708",MM:"%d \u4e2a\u6708",y:"1 \u5e74",yy:"%d \u5e74"},week:{dow:1,doy:4}})}(n("wd/R"))},XLvN:function(t,e,n){!function(t){"use strict";t.defineLocale("te",{months:"\u0c1c\u0c28\u0c35\u0c30\u0c3f_\u0c2b\u0c3f\u0c2c\u0c4d\u0c30\u0c35\u0c30\u0c3f_\u0c2e\u0c3e\u0c30\u0c4d\u0c1a\u0c3f_\u0c0f\u0c2a\u0c4d\u0c30\u0c3f\u0c32\u0c4d_\u0c2e\u0c47_\u0c1c\u0c42\u0c28\u0c4d_\u0c1c\u0c41\u0c32\u0c48_\u0c06\u0c17\u0c38\u0c4d\u0c1f\u0c41_\u0c38\u0c46\u0c2a\u0c4d\u0c1f\u0c46\u0c02\u0c2c\u0c30\u0c4d_\u0c05\u0c15\u0c4d\u0c1f\u0c4b\u0c2c\u0c30\u0c4d_\u0c28\u0c35\u0c02\u0c2c\u0c30\u0c4d_\u0c21\u0c3f\u0c38\u0c46\u0c02\u0c2c\u0c30\u0c4d".split("_"),monthsShort:"\u0c1c\u0c28._\u0c2b\u0c3f\u0c2c\u0c4d\u0c30._\u0c2e\u0c3e\u0c30\u0c4d\u0c1a\u0c3f_\u0c0f\u0c2a\u0c4d\u0c30\u0c3f._\u0c2e\u0c47_\u0c1c\u0c42\u0c28\u0c4d_\u0c1c\u0c41\u0c32\u0c48_\u0c06\u0c17._\u0c38\u0c46\u0c2a\u0c4d._\u0c05\u0c15\u0c4d\u0c1f\u0c4b._\u0c28\u0c35._\u0c21\u0c3f\u0c38\u0c46.".split("_"),monthsParseExact:!0,weekdays:"\u0c06\u0c26\u0c3f\u0c35\u0c3e\u0c30\u0c02_\u0c38\u0c4b\u0c2e\u0c35\u0c3e\u0c30\u0c02_\u0c2e\u0c02\u0c17\u0c33\u0c35\u0c3e\u0c30\u0c02_\u0c2c\u0c41\u0c27\u0c35\u0c3e\u0c30\u0c02_\u0c17\u0c41\u0c30\u0c41\u0c35\u0c3e\u0c30\u0c02_\u0c36\u0c41\u0c15\u0c4d\u0c30\u0c35\u0c3e\u0c30\u0c02_\u0c36\u0c28\u0c3f\u0c35\u0c3e\u0c30\u0c02".split("_"),weekdaysShort:"\u0c06\u0c26\u0c3f_\u0c38\u0c4b\u0c2e_\u0c2e\u0c02\u0c17\u0c33_\u0c2c\u0c41\u0c27_\u0c17\u0c41\u0c30\u0c41_\u0c36\u0c41\u0c15\u0c4d\u0c30_\u0c36\u0c28\u0c3f".split("_"),weekdaysMin:"\u0c06_\u0c38\u0c4b_\u0c2e\u0c02_\u0c2c\u0c41_\u0c17\u0c41_\u0c36\u0c41_\u0c36".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0c28\u0c47\u0c21\u0c41] LT",nextDay:"[\u0c30\u0c47\u0c2a\u0c41] LT",nextWeek:"dddd, LT",lastDay:"[\u0c28\u0c3f\u0c28\u0c4d\u0c28] LT",lastWeek:"[\u0c17\u0c24] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0c32\u0c4b",past:"%s \u0c15\u0c4d\u0c30\u0c3f\u0c24\u0c02",s:"\u0c15\u0c4a\u0c28\u0c4d\u0c28\u0c3f \u0c15\u0c4d\u0c37\u0c23\u0c3e\u0c32\u0c41",ss:"%d \u0c38\u0c46\u0c15\u0c28\u0c4d\u0c32\u0c41",m:"\u0c12\u0c15 \u0c28\u0c3f\u0c2e\u0c3f\u0c37\u0c02",mm:"%d \u0c28\u0c3f\u0c2e\u0c3f\u0c37\u0c3e\u0c32\u0c41",h:"\u0c12\u0c15 \u0c17\u0c02\u0c1f",hh:"%d \u0c17\u0c02\u0c1f\u0c32\u0c41",d:"\u0c12\u0c15 \u0c30\u0c4b\u0c1c\u0c41",dd:"%d \u0c30\u0c4b\u0c1c\u0c41\u0c32\u0c41",M:"\u0c12\u0c15 \u0c28\u0c46\u0c32",MM:"%d \u0c28\u0c46\u0c32\u0c32\u0c41",y:"\u0c12\u0c15 \u0c38\u0c02\u0c35\u0c24\u0c4d\u0c38\u0c30\u0c02",yy:"%d \u0c38\u0c02\u0c35\u0c24\u0c4d\u0c38\u0c30\u0c3e\u0c32\u0c41"},dayOfMonthOrdinalParse:/\d{1,2}\u0c35/,ordinal:"%d\u0c35",meridiemParse:/\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f|\u0c09\u0c26\u0c2f\u0c02|\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02|\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"===e?t<4?t:t+12:"\u0c09\u0c26\u0c2f\u0c02"===e?t:"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02"===e?t>=10?t:t+12:"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f":t<10?"\u0c09\u0c26\u0c2f\u0c02":t<17?"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02":t<20?"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02":"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"},week:{dow:0,doy:6}})}(n("wd/R"))},XNiG:function(t,e,n){"use strict";n.d(e,"b",function(){return c}),n.d(e,"a",function(){return d});var i=n("HDdC"),a=n("7o/Q"),r=n("quSY"),o=n("9ppp"),s=n("Ylt2"),l=n("2QA8");class c extends a.a{constructor(t){super(t),this.destination=t}}let d=(()=>{class t extends i.a{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[l.a](){return new c(this)}lift(t){const e=new u(this,this);return e.operator=t,e}next(t){if(this.closed)throw new o.a;if(!this.isStopped){const{observers:e}=this,n=e.length,i=e.slice();for(let a=0;a<n;a++)i[a].next(t)}}error(t){if(this.closed)throw new o.a;this.hasError=!0,this.thrownError=t,this.isStopped=!0;const{observers:e}=this,n=e.length,i=e.slice();for(let a=0;a<n;a++)i[a].error(t);this.observers.length=0}complete(){if(this.closed)throw new o.a;this.isStopped=!0;const{observers:t}=this,e=t.length,n=t.slice();for(let i=0;i<e;i++)n[i].complete();this.observers.length=0}unsubscribe(){this.isStopped=!0,this.closed=!0,this.observers=null}_trySubscribe(t){if(this.closed)throw new o.a;return super._trySubscribe(t)}_subscribe(t){if(this.closed)throw new o.a;return this.hasError?(t.error(this.thrownError),r.a.EMPTY):this.isStopped?(t.complete(),r.a.EMPTY):(this.observers.push(t),new s.a(this,t))}asObservable(){const t=new i.a;return t.source=this,t}}return t.create=(t,e)=>new u(t,e),t})();class u extends d{constructor(t,e){super(),this.destination=t,this.source=e}next(t){const{destination:e}=this;e&&e.next&&e.next(t)}error(t){const{destination:e}=this;e&&e.error&&this.destination.error(t)}complete(){const{destination:t}=this;t&&t.complete&&this.destination.complete()}_subscribe(t){const{source:e}=this;return e?this.source.subscribe(t):r.a.EMPTY}}},XoHu:function(t,e,n){"use strict";function i(t){return null!==t&&"object"==typeof t}n.d(e,"a",function(){return i})},XoVe:function(t,e,n){"use strict";n.d(e,"a",function(){return c});var i=n("8Y7J"),a=n("IGtN"),r=n("hGT6"),o=n("TSSN"),s=n("zaPX"),l=n("i+32");let c=(()=>{class t extends a.a{constructor(t,e){super(t),this.translateService=t,this.configSharedService=e,this.submitWorker=new i.o}load(){this.workerFormGp=this.configSharedService.form.get(r.a.SINGLE_WORKER)}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(o.d),i.Nb(s.a))},t.\u0275cmp=i.Hb({type:t,selectors:[["app-dpd-edit-single-worker-2"]],outputs:{submitWorker:"submitWorker"},features:[i.zb],decls:5,vars:4,consts:[[1,"box-margin"],[3,"formGp"]],template:function(t,e){1&t&&(i.Tb(0,"h3"),i.Hc(1),i.gc(2,"translate"),i.Sb(),i.Tb(3,"div",0),i.Ob(4,"app-single-worker-form-2",1),i.Sb()),2&t&&(i.Cb(1),i.Ic(i.hc(2,2,"dpd.menu.salarie")),i.Cb(3),i.nc("formGp",e.workerFormGp))},directives:[l.a],pipes:[o.c],styles:["h3[_ngcontent-%COMP%]{margin:0 0 8px;padding-bottom:16px;border-bottom:1px solid #999}.box-margin[_ngcontent-%COMP%]{margin:0 32px}"]}),t})()},Y7HM:function(t,e,n){"use strict";n.d(e,"a",function(){return a});var i=n("DH7j");function a(t){return!Object(i.a)(t)&&t-parseFloat(t)+1>=0}},Y7XA:function(t,e,n){"use strict";n.d(e,"a",function(){return Y});var i=n("s7LF"),a=n("EY2u"),r=n("lJxs"),o=n("nYR2"),s=n("JIr8"),l=n("v/fa"),c=n("Rqom"),d=n("p/g4"),u=n("AxuS"),h=n("8Y7J"),m=n("TSSN"),p=n("keau"),f=n("zaPX"),g=n("SVse"),b=n("Q2Ze"),_=n("e6WT"),y=n("q6Qu"),v=n("Tj54"),C=n("pu8Q"),w=n("o1lE");function x(t,e){1&t&&(h.Tb(0,"mat-error"),h.Hc(1),h.gc(2,"translate"),h.Sb()),2&t&&(h.Cb(1),h.Jc(" ",h.hc(2,1,"common.error.requis")," "))}function M(t,e){1&t&&(h.Tb(0,"mat-error"),h.Hc(1),h.gc(2,"translate"),h.Sb()),2&t&&(h.Cb(1),h.Jc(" ",h.hc(2,1,"common.error.siret")," "))}function O(t,e){1&t&&(h.Tb(0,"mat-error"),h.Hc(1),h.gc(2,"translate"),h.Sb()),2&t&&(h.Cb(1),h.Jc(" ",h.hc(2,1,"siret.error.introuvable")," "))}function k(t,e){1&t&&(h.Tb(0,"span",8),h.Hc(1),h.gc(2,"translate"),h.Sb()),2&t&&(h.Cb(1),h.Jc(" ",h.hc(2,1,"siret.error.indisponible")," "))}function S(t,e){1&t&&(h.Tb(0,"mat-icon",9),h.Hc(1,"check"),h.Sb())}function T(t,e){1&t&&h.Ob(0,"mat-spinner",10),2&t&&h.nc("diameter",20)}function P(t,e){if(1&t){const t=h.Ub();h.Rb(0),h.Tb(1,"mat-form-field"),h.Tb(2,"input",3),h.bc("blur",function(){return h.yc(t),h.fc().onInputChange()}),h.Sb(),h.Fc(3,x,3,3,"mat-error",4),h.Fc(4,M,3,3,"mat-error",4),h.Fc(5,O,3,3,"mat-error",4),h.Fc(6,k,3,3,"span",5),h.Fc(7,S,2,0,"mat-icon",6),h.Fc(8,T,1,1,"mat-spinner",7),h.Sb(),h.Qb()}if(2&t){const t=h.fc();h.Cb(3),h.nc("ngIf",t.doesControlHaveError("siret","required")),h.Cb(1),h.nc("ngIf",t.doesControlHaveError("siret","pattern")),h.Cb(1),h.nc("ngIf",t.state===t.siretStateEnum.INVALID),h.Cb(1),h.nc("ngIf",t.state===t.siretStateEnum.ERROR),h.Cb(1),h.nc("ngIf",t.state===t.siretStateEnum.VALID),h.Cb(1),h.nc("ngIf",t.isLoading)}}function L(t,e){1&t&&(h.Tb(0,"mat-error"),h.Hc(1),h.gc(2,"translate"),h.Sb()),2&t&&(h.Cb(1),h.Jc(" ",h.hc(2,1,"common.error.requis")," "))}function D(t,e){1&t&&(h.Tb(0,"mat-error"),h.Hc(1),h.gc(2,"translate"),h.Sb()),2&t&&(h.Cb(1),h.Jc(" ",h.hc(2,1,"common.error.siret")," "))}function E(t,e){1&t&&(h.Tb(0,"mat-error"),h.Hc(1),h.gc(2,"translate"),h.Sb()),2&t&&(h.Cb(1),h.Jc(" ",h.hc(2,1,"siret.error.introuvable")," "))}function A(t,e){1&t&&(h.Tb(0,"mat-icon",9),h.Hc(1,"check"),h.Sb())}function I(t,e){1&t&&h.Ob(0,"mat-spinner",10),2&t&&h.nc("diameter",20)}function R(t,e){1&t&&(h.Tb(0,"mat-error"),h.Hc(1),h.gc(2,"translate"),h.Sb()),2&t&&(h.Cb(1),h.Ic(h.hc(2,1,"siret.error.indisponible")))}function N(t,e){if(1&t){const t=h.Ub();h.Tb(0,"app-representant-autocomplete-2",11),h.bc("selectionChanged",function(e){return h.yc(t),h.fc().onSiretChange(e)})("inputChanged",function(){return h.yc(t),h.fc().onInputChange()}),h.Fc(1,L,3,3,"mat-error",4),h.Fc(2,D,3,3,"mat-error",4),h.Fc(3,E,3,3,"mat-error",4),h.Fc(4,A,2,0,"mat-icon",6),h.Fc(5,I,1,1,"mat-spinner",7),h.Sb(),h.Fc(6,R,3,3,"mat-error",4)}if(2&t){const t=h.fc();h.nc("name","siretInput")("inputTitle","common.siret")("isRequired",t.isRequired)("formControl",t.siretCtrl),h.Cb(1),h.nc("ngIf",t.doesControlHaveError("siret","required")),h.Cb(1),h.nc("ngIf",t.doesControlHaveError("siret","pattern")),h.Cb(1),h.nc("ngIf",t.state===t.siretStateEnum.INVALID),h.Cb(1),h.nc("ngIf",t.state===t.siretStateEnum.VALID),h.Cb(1),h.nc("ngIf",t.isLoading),h.Cb(1),h.nc("ngIf",t.state===t.siretStateEnum.ERROR)}}let Y=(()=>{class t extends l.a{constructor(t,e,n){super(t),this.translateService=t,this.sirenService=e,this.configSharedService=n,this.siretStateEnum=u.a}load(){this.form=this.formGp,this._countries=this.configSharedService.countries,this._siretSaved=this.sirenService.getSiret(),this.state=this.sirenService.getState(),this._siretSaved===this.siretCtrl.value||this.siretCtrl.disabled||this.check(this.siretCtrl.value),this.siretCtrl.setValidators([i.w.required,i.w.pattern("[0-9]{14}"),()=>c.a.siretValidator(this.state)])}get siretCtrl(){return this.form.get("siret")}check(t){this.isLoading=!0,this.subscriptions.push(this.getSiret(t).subscribe(t=>{let e={};t&&(this.state=u.a.VALID,this.sirenService.setState(this.state),this.siretCtrl.updateValueAndValidity(),e={raisonSociale:t.rs,adresse:{adresse:t.adresseSiren.adresse,complementAdresse:t.adresseSiren.complementAdresse,ville:t.adresseSiren.ville,cp:t.adresseSiren.cp,pays:this._countries.find(e=>e.code===t.adresseSiren.pays)}}),this.updateParentFormValues(e)}))}getSiret(t){return this.sirenService.getSirets([{field:"siret",values:[t],operand:d.a.EQUAL}]).pipe(Object(r.a)(t=>t.items[0]),Object(o.a)(()=>this.isLoading=!1),Object(s.a)(t=>(this.state=404===t.status?u.a.INVALID:u.a.ERROR,this.sirenService.setState(this.state),this.siretCtrl.updateValueAndValidity(),a.a)))}updateParentFormValues(t){this.form.patchValue(t)}onSiretChange(t){this.updateParentFormValues({adresse:{adresse:t.adresse,complementAdresse:t.complementAdresse,ville:t.ville,cp:t.cp},raisonSociale:t.raisonSociale,telephone:t.telephone,email:t.email,conservation:t.conservation,siret:t.siren})}onInputChange(){this.siretCtrl.hasError("pattern")||(this.check(this.siretCtrl.value),this.sirenService.setSiret(this.siretCtrl.value))}}return t.\u0275fac=function(e){return new(e||t)(h.Nb(m.d),h.Nb(p.a),h.Nb(f.a))},t.\u0275cmp=h.Hb({type:t,selectors:[["app-siret-check-2"]],inputs:{formGp:"formGp",isAutocompleteDisabled:"isAutocompleteDisabled",isRequired:"isRequired"},features:[h.zb],decls:4,vars:3,consts:[[3,"formGroup"],[4,"ngIf","ngIfElse"],["autocompleteComponent",""],["matInput","","type","text","name","siretInput","appLabel","common.siret","required","isRequired","formControlName","siret",3,"blur"],[4,"ngIf"],["class","miscall-api",4,"ngIf"],["color","accent",4,"ngIf"],["color","primary",3,"diameter",4,"ngIf"],[1,"miscall-api"],["color","accent"],["color","primary",3,"diameter"],["formControlName","siret",3,"name","inputTitle","isRequired","formControl","selectionChanged","inputChanged"]],template:function(t,e){if(1&t&&(h.Tb(0,"form",0),h.Fc(1,P,9,6,"ng-container",1),h.Fc(2,N,7,10,"ng-template",null,2,h.Gc),h.Sb()),2&t){const t=h.vc(3);h.nc("formGroup",e.form),h.Cb(1),h.nc("ngIf",e.isAutocompleteDisabled)("ngIfElse",t)}},directives:[i.x,i.p,i.i,g.l,b.c,_.b,i.c,y.a,i.v,i.o,i.g,b.b,v.a,C.b,w.a,i.f],pipes:[m.c],styles:["mat-form-field[_ngcontent-%COMP%]{width:100%}mat-icon[_ngcontent-%COMP%], mat-spinner[_ngcontent-%COMP%]{position:absolute;right:24px;top:0}.miscall-api[_ngcontent-%COMP%]{color:#e2001d;font-size:.9em;position:absolute;margin-top:26px;left:0}"]}),t})()},YEUz:function(t,e,n){"use strict";n.d(e,"a",function(){return W}),n.d(e,"b",function(){return O}),n.d(e,"c",function(){return C}),n.d(e,"d",function(){return N}),n.d(e,"e",function(){return V}),n.d(e,"f",function(){return E}),n.d(e,"g",function(){return k}),n.d(e,"h",function(){return F}),n.d(e,"i",function(){return D}),n.d(e,"j",function(){return B}),n.d(e,"k",function(){return R}),n.d(e,"l",function(){return Y});var i=n("SVse"),a=n("8Y7J"),r=n("XNiG"),o=n("quSY"),s=n("LRne"),l=n("Ht+U"),c=n("vkgz"),d=n("Kj3r"),u=n("pLZG"),h=n("lJxs"),m=n("IzEk"),p=n("8LU1"),f=n("SCoL"),g=n("9b/N");function b(t,e){return(t.getAttribute(e)||"").match(/\S+/g)||[]}let _=0;const y=new Map;let v=null,C=(()=>{class t{constructor(t){this._document=t}describe(t,e,n){if(!this._canBeDescribed(t,e))return;const i=w(e,n);"string"!=typeof e?(x(e),y.set(i,{messageElement:e,referenceCount:0})):y.has(i)||this._createMessageElement(e,n),this._isElementDescribedByMessage(t,i)||this._addMessageReference(t,i)}removeDescription(t,e,n){if(!e||!this._isElementNode(t))return;const i=w(e,n);if(this._isElementDescribedByMessage(t,i)&&this._removeMessageReference(t,i),"string"==typeof e){const t=y.get(i);t&&0===t.referenceCount&&this._deleteMessageElement(i)}v&&0===v.childNodes.length&&this._deleteMessagesContainer()}ngOnDestroy(){const t=this._document.querySelectorAll("[cdk-describedby-host]");for(let e=0;e<t.length;e++)this._removeCdkDescribedByReferenceIds(t[e]),t[e].removeAttribute("cdk-describedby-host");v&&this._deleteMessagesContainer(),y.clear()}_createMessageElement(t,e){const n=this._document.createElement("div");x(n),n.textContent=t,e&&n.setAttribute("role",e),this._createMessagesContainer(),v.appendChild(n),y.set(w(t,e),{messageElement:n,referenceCount:0})}_deleteMessageElement(t){const e=y.get(t),n=e&&e.messageElement;v&&n&&v.removeChild(n),y.delete(t)}_createMessagesContainer(){if(!v){const t=this._document.getElementById("cdk-describedby-message-container");t&&t.parentNode&&t.parentNode.removeChild(t),v=this._document.createElement("div"),v.id="cdk-describedby-message-container",v.style.visibility="hidden",v.classList.add("cdk-visually-hidden"),this._document.body.appendChild(v)}}_deleteMessagesContainer(){v&&v.parentNode&&(v.parentNode.removeChild(v),v=null)}_removeCdkDescribedByReferenceIds(t){const e=b(t,"aria-describedby").filter(t=>0!=t.indexOf("cdk-describedby-message"));t.setAttribute("aria-describedby",e.join(" "))}_addMessageReference(t,e){const n=y.get(e);!function(t,e,n){const i=b(t,e);i.some(t=>t.trim()==n.trim())||(i.push(n.trim()),t.setAttribute(e,i.join(" ")))}(t,"aria-describedby",n.messageElement.id),t.setAttribute("cdk-describedby-host",""),n.referenceCount++}_removeMessageReference(t,e){const n=y.get(e);n.referenceCount--,function(t,e,n){const i=b(t,e).filter(t=>t!=n.trim());i.length?t.setAttribute(e,i.join(" ")):t.removeAttribute(e)}(t,"aria-describedby",n.messageElement.id),t.removeAttribute("cdk-describedby-host")}_isElementDescribedByMessage(t,e){const n=b(t,"aria-describedby"),i=y.get(e),a=i&&i.messageElement.id;return!!a&&-1!=n.indexOf(a)}_canBeDescribed(t,e){if(!this._isElementNode(t))return!1;if(e&&"object"==typeof e)return!0;const n=null==e?"":`${e}`.trim(),i=t.getAttribute("aria-label");return!(!n||i&&i.trim()===n)}_isElementNode(t){return t.nodeType===this._document.ELEMENT_NODE}}return t.\u0275fac=function(e){return new(e||t)(a.Xb(i.d))},t.\u0275prov=Object(a.Jb)({factory:function(){return new t(Object(a.Xb)(i.d))},token:t,providedIn:"root"}),t})();function w(t,e){return"string"==typeof t?`${e||""}/${t}`:t}function x(t){t.id||(t.id="cdk-describedby-message-"+_++)}class M{constructor(t){this._items=t,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new r.a,this._typeaheadSubscription=o.a.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._skipPredicateFn=t=>t.disabled,this._pressedLetters=[],this.tabOut=new r.a,this.change=new r.a,t instanceof a.F&&t.changes.subscribe(t=>{if(this._activeItem){const e=t.toArray().indexOf(this._activeItem);e>-1&&e!==this._activeItemIndex&&(this._activeItemIndex=e)}})}skipPredicate(t){return this._skipPredicateFn=t,this}withWrap(t=!0){return this._wrap=t,this}withVerticalOrientation(t=!0){return this._vertical=t,this}withHorizontalOrientation(t){return this._horizontal=t,this}withAllowedModifierKeys(t){return this._allowedModifierKeys=t,this}withTypeAhead(t=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(Object(c.a)(t=>this._pressedLetters.push(t)),Object(d.a)(t),Object(u.a)(()=>this._pressedLetters.length>0),Object(h.a)(()=>this._pressedLetters.join(""))).subscribe(t=>{const e=this._getItemsArray();for(let n=1;n<e.length+1;n++){const i=(this._activeItemIndex+n)%e.length,a=e[i];if(!this._skipPredicateFn(a)&&0===a.getLabel().toUpperCase().trim().indexOf(t)){this.setActiveItem(i);break}}this._pressedLetters=[]}),this}withHomeAndEnd(t=!0){return this._homeAndEnd=t,this}setActiveItem(t){const e=this._activeItem;this.updateActiveItem(t),this._activeItem!==e&&this.change.next(this._activeItemIndex)}onKeydown(t){const e=t.keyCode,n=["altKey","ctrlKey","metaKey","shiftKey"].every(e=>!t[e]||this._allowedModifierKeys.indexOf(e)>-1);switch(e){case l.n:return void this.tabOut.next();case l.c:if(this._vertical&&n){this.setNextItemActive();break}return;case l.o:if(this._vertical&&n){this.setPreviousItemActive();break}return;case l.l:if(this._horizontal&&n){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case l.h:if(this._horizontal&&n){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case l.g:if(this._homeAndEnd&&n){this.setFirstItemActive();break}return;case l.d:if(this._homeAndEnd&&n){this.setLastItemActive();break}return;default:return void((n||Object(l.r)(t,"shiftKey"))&&(t.key&&1===t.key.length?this._letterKeyStream.next(t.key.toLocaleUpperCase()):(e>=l.a&&e<=l.p||e>=l.q&&e<=l.i)&&this._letterKeyStream.next(String.fromCharCode(e))))}this._pressedLetters=[],t.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(t){const e=this._getItemsArray(),n="number"==typeof t?t:e.indexOf(t),i=e[n];this._activeItem=null==i?null:i,this._activeItemIndex=n}_setActiveItemByDelta(t){this._wrap?this._setActiveInWrapMode(t):this._setActiveInDefaultMode(t)}_setActiveInWrapMode(t){const e=this._getItemsArray();for(let n=1;n<=e.length;n++){const i=(this._activeItemIndex+t*n+e.length)%e.length;if(!this._skipPredicateFn(e[i]))return void this.setActiveItem(i)}}_setActiveInDefaultMode(t){this._setActiveItemByIndex(this._activeItemIndex+t,t)}_setActiveItemByIndex(t,e){const n=this._getItemsArray();if(n[t]){for(;this._skipPredicateFn(n[t]);)if(!n[t+=e])return;this.setActiveItem(t)}}_getItemsArray(){return this._items instanceof a.F?this._items.toArray():this._items}}class O extends M{setActiveItem(t){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(t),this.activeItem&&this.activeItem.setActiveStyles()}}class k extends M{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(t){return this._origin=t,this}setActiveItem(t){super.setActiveItem(t),this.activeItem&&this.activeItem.focus(this._origin)}}let S=(()=>{class t{constructor(t){this._platform=t}isDisabled(t){return t.hasAttribute("disabled")}isVisible(t){return function(t){return!!(t.offsetWidth||t.offsetHeight||"function"==typeof t.getClientRects&&t.getClientRects().length)}(t)&&"visible"===getComputedStyle(t).visibility}isTabbable(t){if(!this._platform.isBrowser)return!1;const e=function(t){try{return t.frameElement}catch(e){return null}}((n=t).ownerDocument&&n.ownerDocument.defaultView||window);var n;if(e){if(-1===P(e))return!1;if(!this.isVisible(e))return!1}let i=t.nodeName.toLowerCase(),a=P(t);return t.hasAttribute("contenteditable")?-1!==a:"iframe"!==i&&"object"!==i&&!(this._platform.WEBKIT&&this._platform.IOS&&!function(t){let e=t.nodeName.toLowerCase(),n="input"===e&&t.type;return"text"===n||"password"===n||"select"===e||"textarea"===e}(t))&&("audio"===i?!!t.hasAttribute("controls")&&-1!==a:"video"===i?-1!==a&&(null!==a||this._platform.FIREFOX||t.hasAttribute("controls")):t.tabIndex>=0)}isFocusable(t,e){return function(t){return!function(t){return function(t){return"input"==t.nodeName.toLowerCase()}(t)&&"hidden"==t.type}(t)&&(function(t){let e=t.nodeName.toLowerCase();return"input"===e||"select"===e||"button"===e||"textarea"===e}(t)||function(t){return function(t){return"a"==t.nodeName.toLowerCase()}(t)&&t.hasAttribute("href")}(t)||t.hasAttribute("contenteditable")||T(t))}(t)&&!this.isDisabled(t)&&((null==e?void 0:e.ignoreVisibility)||this.isVisible(t))}}return t.\u0275fac=function(e){return new(e||t)(a.Xb(f.a))},t.\u0275prov=Object(a.Jb)({factory:function(){return new t(Object(a.Xb)(f.a))},token:t,providedIn:"root"}),t})();function T(t){if(!t.hasAttribute("tabindex")||void 0===t.tabIndex)return!1;let e=t.getAttribute("tabindex");return"-32768"!=e&&!(!e||isNaN(parseInt(e,10)))}function P(t){if(!T(t))return null;const e=parseInt(t.getAttribute("tabindex")||"",10);return isNaN(e)?-1:e}class L{constructor(t,e,n,i,a=!1){this._element=t,this._checker=e,this._ngZone=n,this._document=i,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,a||this.attachAnchors()}get enabled(){return this._enabled}set enabled(t){this._enabled=t,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))}destroy(){const t=this._startAnchor,e=this._endAnchor;t&&(t.removeEventListener("focus",this.startAnchorListener),t.parentNode&&t.parentNode.removeChild(t)),e&&(e.removeEventListener("focus",this.endAnchorListener),e.parentNode&&e.parentNode.removeChild(e)),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(){return new Promise(t=>{this._executeOnStable(()=>t(this.focusInitialElement()))})}focusFirstTabbableElementWhenReady(){return new Promise(t=>{this._executeOnStable(()=>t(this.focusFirstTabbableElement()))})}focusLastTabbableElementWhenReady(){return new Promise(t=>{this._executeOnStable(()=>t(this.focusLastTabbableElement()))})}_getRegionBoundary(t){let e=this._element.querySelectorAll(`[cdk-focus-region-${t}], [cdkFocusRegion${t}], [cdk-focus-${t}]`);for(let n=0;n<e.length;n++)e[n].hasAttribute(`cdk-focus-${t}`)?console.warn(`Found use of deprecated attribute 'cdk-focus-${t}', use 'cdkFocusRegion${t}' instead. The deprecated attribute will be removed in 8.0.0.`,e[n]):e[n].hasAttribute(`cdk-focus-region-${t}`)&&console.warn(`Found use of deprecated attribute 'cdk-focus-region-${t}', use 'cdkFocusRegion${t}' instead. The deprecated attribute will be removed in 8.0.0.`,e[n]);return"start"==t?e.length?e[0]:this._getFirstTabbableElement(this._element):e.length?e[e.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(){const t=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(t){if(t.hasAttribute("cdk-focus-initial")&&console.warn("Found use of deprecated attribute 'cdk-focus-initial', use 'cdkFocusInitial' instead. The deprecated attribute will be removed in 8.0.0",t),!this._checker.isFocusable(t)){const e=this._getFirstTabbableElement(t);return null==e||e.focus(),!!e}return t.focus(),!0}return this.focusFirstTabbableElement()}focusFirstTabbableElement(){const t=this._getRegionBoundary("start");return t&&t.focus(),!!t}focusLastTabbableElement(){const t=this._getRegionBoundary("end");return t&&t.focus(),!!t}hasAttached(){return this._hasAttached}_getFirstTabbableElement(t){if(this._checker.isFocusable(t)&&this._checker.isTabbable(t))return t;let e=t.children||t.childNodes;for(let n=0;n<e.length;n++){let t=e[n].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(e[n]):null;if(t)return t}return null}_getLastTabbableElement(t){if(this._checker.isFocusable(t)&&this._checker.isTabbable(t))return t;let e=t.children||t.childNodes;for(let n=e.length-1;n>=0;n--){let t=e[n].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[n]):null;if(t)return t}return null}_createAnchor(){const t=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,t),t.classList.add("cdk-visually-hidden"),t.classList.add("cdk-focus-trap-anchor"),t.setAttribute("aria-hidden","true"),t}_toggleAnchorTabIndex(t,e){t?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}toggleAnchors(t){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))}_executeOnStable(t){this._ngZone.isStable?t():this._ngZone.onStable.pipe(Object(m.a)(1)).subscribe(t)}}let D=(()=>{class t{constructor(t,e,n){this._checker=t,this._ngZone=e,this._document=n}create(t,e=!1){return new L(t,this._checker,this._ngZone,this._document,e)}}return t.\u0275fac=function(e){return new(e||t)(a.Xb(S),a.Xb(a.B),a.Xb(i.d))},t.\u0275prov=Object(a.Jb)({factory:function(){return new t(Object(a.Xb)(S),Object(a.Xb)(a.B),Object(a.Xb)(i.d))},token:t,providedIn:"root"}),t})(),E=(()=>{class t{constructor(t,e,n){this._elementRef=t,this._focusTrapFactory=e,this._previouslyFocusedElement=null,this._document=n,this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)}get enabled(){return this.focusTrap.enabled}set enabled(t){this.focusTrap.enabled=Object(p.c)(t)}get autoCapture(){return this._autoCapture}set autoCapture(t){this._autoCapture=Object(p.c)(t)}ngOnDestroy(){this.focusTrap.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){this.focusTrap.attachAnchors(),this.autoCapture&&this._captureFocus()}ngDoCheck(){this.focusTrap.hasAttached()||this.focusTrap.attachAnchors()}ngOnChanges(t){const e=t.autoCapture;e&&!e.firstChange&&this.autoCapture&&this.focusTrap.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=this._document.activeElement,this.focusTrap.focusInitialElementWhenReady()}}return t.\u0275fac=function(e){return new(e||t)(a.Nb(a.l),a.Nb(D),a.Nb(i.d))},t.\u0275dir=a.Ib({type:t,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:["cdkTrapFocus","enabled"],autoCapture:["cdkTrapFocusAutoCapture","autoCapture"]},exportAs:["cdkTrapFocus"],features:[a.Ab]}),t})();"undefined"!=typeof Element&&Element;const A=new a.s("liveAnnouncerElement",{providedIn:"root",factory:function(){return null}}),I=new a.s("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let R=(()=>{class t{constructor(t,e,n,i){this._ngZone=e,this._defaultOptions=i,this._document=n,this._liveElement=t||this._createLiveElement()}announce(t,...e){const n=this._defaultOptions;let i,a;return 1===e.length&&"number"==typeof e[0]?a=e[0]:[i,a]=e,this.clear(),clearTimeout(this._previousTimeout),i||(i=n&&n.politeness?n.politeness:"polite"),null==a&&n&&(a=n.duration),this._liveElement.setAttribute("aria-live",i),this._ngZone.runOutsideAngular(()=>new Promise(e=>{clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=t,e(),"number"==typeof a&&(this._previousTimeout=setTimeout(()=>this.clear(),a))},100)}))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement&&this._liveElement.parentNode&&(this._liveElement.parentNode.removeChild(this._liveElement),this._liveElement=null)}_createLiveElement(){const t=this._document.getElementsByClassName("cdk-live-announcer-element"),e=this._document.createElement("div");for(let n=0;n<t.length;n++)t[n].parentNode.removeChild(t[n]);return e.classList.add("cdk-live-announcer-element"),e.classList.add("cdk-visually-hidden"),e.setAttribute("aria-atomic","true"),e.setAttribute("aria-live","polite"),this._document.body.appendChild(e),e}}return t.\u0275fac=function(e){return new(e||t)(a.Xb(A,8),a.Xb(a.B),a.Xb(i.d),a.Xb(I,8))},t.\u0275prov=Object(a.Jb)({factory:function(){return new t(Object(a.Xb)(A,8),Object(a.Xb)(a.B),Object(a.Xb)(i.d),Object(a.Xb)(I,8))},token:t,providedIn:"root"}),t})(),N=(()=>{class t{constructor(t,e,n,i){this._elementRef=t,this._liveAnnouncer=e,this._contentObserver=n,this._ngZone=i,this._politeness="polite"}get politeness(){return this._politeness}set politeness(t){this._politeness="off"===t||"assertive"===t?t:"polite","off"===this._politeness?this._subscription&&(this._subscription.unsubscribe(),this._subscription=null):this._subscription||(this._subscription=this._ngZone.runOutsideAngular(()=>this._contentObserver.observe(this._elementRef).subscribe(()=>{const t=this._elementRef.nativeElement.textContent;t!==this._previousAnnouncedText&&(this._liveAnnouncer.announce(t,this._politeness),this._previousAnnouncedText=t)})))}ngOnDestroy(){this._subscription&&this._subscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(a.Nb(a.l),a.Nb(R),a.Nb(g.b),a.Nb(a.B))},t.\u0275dir=a.Ib({type:t,selectors:[["","cdkAriaLive",""]],inputs:{politeness:["cdkAriaLive","politeness"]},exportAs:["cdkAriaLive"]}),t})();function Y(t){return 0===t.buttons}const H=new a.s("cdk-focus-monitor-default-options"),j=Object(f.f)({passive:!0,capture:!0});let F=(()=>{class t{constructor(t,e,n,i){this._ngZone=t,this._platform=e,this._origin=null,this._windowFocused=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._documentKeydownListener=()=>{this._lastTouchTarget=null,this._setOriginForCurrentEventQueue("keyboard")},this._documentMousedownListener=t=>{if(!this._lastTouchTarget){const e=Y(t)?"keyboard":"mouse";this._setOriginForCurrentEventQueue(e)}},this._documentTouchstartListener=t=>{null!=this._touchTimeoutId&&clearTimeout(this._touchTimeoutId),this._lastTouchTarget=z(t),this._touchTimeoutId=setTimeout(()=>this._lastTouchTarget=null,650)},this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=setTimeout(()=>this._windowFocused=!1)},this._rootNodeFocusAndBlurListener=t=>{const e=z(t),n="focus"===t.type?this._onFocus:this._onBlur;for(let i=e;i;i=i.parentElement)n.call(this,t,i)},this._document=n,this._detectionMode=(null==i?void 0:i.detectionMode)||0}monitor(t,e=!1){const n=Object(p.e)(t);if(!this._platform.isBrowser||1!==n.nodeType)return Object(s.a)(null);const i=Object(f.c)(n)||this._getDocument(),a=this._elementInfo.get(n);if(a)return e&&(a.checkChildren=!0),a.subject;const o={checkChildren:e,subject:new r.a,rootNode:i};return this._elementInfo.set(n,o),this._registerGlobalListeners(o),o.subject}stopMonitoring(t){const e=Object(p.e)(t),n=this._elementInfo.get(e);n&&(n.subject.complete(),this._setClasses(e),this._elementInfo.delete(e),this._removeGlobalListeners(n))}focusVia(t,e,n){const i=Object(p.e)(t);i===this._getDocument().activeElement?this._getClosestElementsInfo(i).forEach(([t,n])=>this._originChanged(t,e,n)):(this._setOriginForCurrentEventQueue(e),"function"==typeof i.focus&&i.focus(n))}ngOnDestroy(){this._elementInfo.forEach((t,e)=>this.stopMonitoring(e))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_toggleClass(t,e,n){n?t.classList.add(e):t.classList.remove(e)}_getFocusOrigin(t){return this._origin?this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:this._wasCausedByTouch(t)?"touch":"program"}_setClasses(t,e){this._toggleClass(t,"cdk-focused",!!e),this._toggleClass(t,"cdk-touch-focused","touch"===e),this._toggleClass(t,"cdk-keyboard-focused","keyboard"===e),this._toggleClass(t,"cdk-mouse-focused","mouse"===e),this._toggleClass(t,"cdk-program-focused","program"===e)}_setOriginForCurrentEventQueue(t){this._ngZone.runOutsideAngular(()=>{this._origin=t,0===this._detectionMode&&(this._originTimeoutId=setTimeout(()=>this._origin=null,1))})}_wasCausedByTouch(t){const e=z(t);return this._lastTouchTarget instanceof Node&&e instanceof Node&&(e===this._lastTouchTarget||e.contains(this._lastTouchTarget))}_onFocus(t,e){const n=this._elementInfo.get(e);n&&(n.checkChildren||e===z(t))&&this._originChanged(e,this._getFocusOrigin(t),n)}_onBlur(t,e){const n=this._elementInfo.get(e);!n||n.checkChildren&&t.relatedTarget instanceof Node&&e.contains(t.relatedTarget)||(this._setClasses(e),this._emitOrigin(n.subject,null))}_emitOrigin(t,e){this._ngZone.run(()=>t.next(e))}_registerGlobalListeners(t){if(!this._platform.isBrowser)return;const e=t.rootNode,n=this._rootNodeFocusListenerCount.get(e)||0;n||this._ngZone.runOutsideAngular(()=>{e.addEventListener("focus",this._rootNodeFocusAndBlurListener,j),e.addEventListener("blur",this._rootNodeFocusAndBlurListener,j)}),this._rootNodeFocusListenerCount.set(e,n+1),1==++this._monitoredElementCount&&this._ngZone.runOutsideAngular(()=>{const t=this._getDocument(),e=this._getWindow();t.addEventListener("keydown",this._documentKeydownListener,j),t.addEventListener("mousedown",this._documentMousedownListener,j),t.addEventListener("touchstart",this._documentTouchstartListener,j),e.addEventListener("focus",this._windowFocusListener)})}_removeGlobalListeners(t){const e=t.rootNode;if(this._rootNodeFocusListenerCount.has(e)){const t=this._rootNodeFocusListenerCount.get(e);t>1?this._rootNodeFocusListenerCount.set(e,t-1):(e.removeEventListener("focus",this._rootNodeFocusAndBlurListener,j),e.removeEventListener("blur",this._rootNodeFocusAndBlurListener,j),this._rootNodeFocusListenerCount.delete(e))}if(!--this._monitoredElementCount){const t=this._getDocument(),e=this._getWindow();t.removeEventListener("keydown",this._documentKeydownListener,j),t.removeEventListener("mousedown",this._documentMousedownListener,j),t.removeEventListener("touchstart",this._documentTouchstartListener,j),e.removeEventListener("focus",this._windowFocusListener),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._touchTimeoutId),clearTimeout(this._originTimeoutId)}}_originChanged(t,e,n){this._setClasses(t,e),this._emitOrigin(n.subject,e),this._lastFocusOrigin=e}_getClosestElementsInfo(t){const e=[];return this._elementInfo.forEach((n,i)=>{(i===t||n.checkChildren&&i.contains(t))&&e.push([i,n])}),e}}return t.\u0275fac=function(e){return new(e||t)(a.Xb(a.B),a.Xb(f.a),a.Xb(i.d,8),a.Xb(H,8))},t.\u0275prov=Object(a.Jb)({factory:function(){return new t(Object(a.Xb)(a.B),Object(a.Xb)(f.a),Object(a.Xb)(i.d,8),Object(a.Xb)(H,8))},token:t,providedIn:"root"}),t})();function z(t){return t.composedPath?t.composedPath()[0]:t.target}let V=(()=>{class t{constructor(t,e){this._elementRef=t,this._focusMonitor=e,this.cdkFocusChange=new a.o}ngAfterViewInit(){const t=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(t,1===t.nodeType&&t.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(t=>this.cdkFocusChange.emit(t))}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(a.Nb(a.l),a.Nb(F))},t.\u0275dir=a.Ib({type:t,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"}}),t})(),B=(()=>{class t{constructor(t,e){this._platform=t,this._document=e}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const t=this._document.createElement("div");t.style.backgroundColor="rgb(1,2,3)",t.style.position="absolute",this._document.body.appendChild(t);const e=this._document.defaultView||window,n=e&&e.getComputedStyle?e.getComputedStyle(t):null,i=(n&&n.backgroundColor||"").replace(/ /g,"");switch(this._document.body.removeChild(t),i){case"rgb(0,0,0)":return 2;case"rgb(255,255,255)":return 1}return 0}_applyBodyHighContrastModeCssClasses(){if(this._platform.isBrowser&&this._document.body){const t=this._document.body.classList;t.remove("cdk-high-contrast-active"),t.remove("cdk-high-contrast-black-on-white"),t.remove("cdk-high-contrast-white-on-black");const e=this.getHighContrastMode();1===e?(t.add("cdk-high-contrast-active"),t.add("cdk-high-contrast-black-on-white")):2===e&&(t.add("cdk-high-contrast-active"),t.add("cdk-high-contrast-white-on-black"))}}}return t.\u0275fac=function(e){return new(e||t)(a.Xb(f.a),a.Xb(i.d))},t.\u0275prov=Object(a.Jb)({factory:function(){return new t(Object(a.Xb)(f.a),Object(a.Xb)(i.d))},token:t,providedIn:"root"}),t})(),W=(()=>{class t{constructor(t){t._applyBodyHighContrastModeCssClasses()}}return t.\u0275mod=a.Lb({type:t}),t.\u0275inj=a.Kb({factory:function(e){return new(e||t)(a.Xb(B))},imports:[[f.b,g.c]]}),t})()},YRex:function(t,e,n){!function(t){"use strict";t.defineLocale("ug-cn",{months:"\u064a\u0627\u0646\u06cb\u0627\u0631_\u0641\u06d0\u06cb\u0631\u0627\u0644_\u0645\u0627\u0631\u062a_\u0626\u0627\u067e\u0631\u06d0\u0644_\u0645\u0627\u064a_\u0626\u0649\u064a\u06c7\u0646_\u0626\u0649\u064a\u06c7\u0644_\u0626\u0627\u06cb\u063a\u06c7\u0633\u062a_\u0633\u06d0\u0646\u062a\u06d5\u0628\u0649\u0631_\u0626\u06c6\u0643\u062a\u06d5\u0628\u0649\u0631_\u0646\u0648\u064a\u0627\u0628\u0649\u0631_\u062f\u06d0\u0643\u0627\u0628\u0649\u0631".split("_"),monthsShort:"\u064a\u0627\u0646\u06cb\u0627\u0631_\u0641\u06d0\u06cb\u0631\u0627\u0644_\u0645\u0627\u0631\u062a_\u0626\u0627\u067e\u0631\u06d0\u0644_\u0645\u0627\u064a_\u0626\u0649\u064a\u06c7\u0646_\u0626\u0649\u064a\u06c7\u0644_\u0626\u0627\u06cb\u063a\u06c7\u0633\u062a_\u0633\u06d0\u0646\u062a\u06d5\u0628\u0649\u0631_\u0626\u06c6\u0643\u062a\u06d5\u0628\u0649\u0631_\u0646\u0648\u064a\u0627\u0628\u0649\u0631_\u062f\u06d0\u0643\u0627\u0628\u0649\u0631".split("_"),weekdays:"\u064a\u06d5\u0643\u0634\u06d5\u0646\u0628\u06d5_\u062f\u06c8\u0634\u06d5\u0646\u0628\u06d5_\u0633\u06d5\u064a\u0634\u06d5\u0646\u0628\u06d5_\u0686\u0627\u0631\u0634\u06d5\u0646\u0628\u06d5_\u067e\u06d5\u064a\u0634\u06d5\u0646\u0628\u06d5_\u062c\u06c8\u0645\u06d5_\u0634\u06d5\u0646\u0628\u06d5".split("_"),weekdaysShort:"\u064a\u06d5_\u062f\u06c8_\u0633\u06d5_\u0686\u0627_\u067e\u06d5_\u062c\u06c8_\u0634\u06d5".split("_"),weekdaysMin:"\u064a\u06d5_\u062f\u06c8_\u0633\u06d5_\u0686\u0627_\u067e\u06d5_\u062c\u06c8_\u0634\u06d5".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649",LLL:"YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649\u060c HH:mm",LLLL:"dddd\u060c YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649\u060c HH:mm"},meridiemParse:/\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5|\u0633\u06d5\u06be\u06d5\u0631|\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646|\u0686\u06c8\u0634|\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646|\u0643\u06d5\u0686/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5"===e||"\u0633\u06d5\u06be\u06d5\u0631"===e||"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646"===e?t:"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646"===e||"\u0643\u06d5\u0686"===e?t+12:t>=11?t:t+12},meridiem:function(t,e,n){var i=100*t+e;return i<600?"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5":i<900?"\u0633\u06d5\u06be\u06d5\u0631":i<1130?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646":i<1230?"\u0686\u06c8\u0634":i<1800?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646":"\u0643\u06d5\u0686"},calendar:{sameDay:"[\u0628\u06c8\u06af\u06c8\u0646 \u0633\u0627\u0626\u06d5\u062a] LT",nextDay:"[\u0626\u06d5\u062a\u06d5 \u0633\u0627\u0626\u06d5\u062a] LT",nextWeek:"[\u0643\u06d0\u0644\u06d5\u0631\u0643\u0649] dddd [\u0633\u0627\u0626\u06d5\u062a] LT",lastDay:"[\u062a\u06c6\u0646\u06c8\u06af\u06c8\u0646] LT",lastWeek:"[\u0626\u0627\u0644\u062f\u0649\u0646\u0642\u0649] dddd [\u0633\u0627\u0626\u06d5\u062a] LT",sameElse:"L"},relativeTime:{future:"%s \u0643\u06d0\u064a\u0649\u0646",past:"%s \u0628\u06c7\u0631\u06c7\u0646",s:"\u0646\u06d5\u0686\u0686\u06d5 \u0633\u06d0\u0643\u0648\u0646\u062a",ss:"%d \u0633\u06d0\u0643\u0648\u0646\u062a",m:"\u0628\u0649\u0631 \u0645\u0649\u0646\u06c7\u062a",mm:"%d \u0645\u0649\u0646\u06c7\u062a",h:"\u0628\u0649\u0631 \u0633\u0627\u0626\u06d5\u062a",hh:"%d \u0633\u0627\u0626\u06d5\u062a",d:"\u0628\u0649\u0631 \u0643\u06c8\u0646",dd:"%d \u0643\u06c8\u0646",M:"\u0628\u0649\u0631 \u0626\u0627\u064a",MM:"%d \u0626\u0627\u064a",y:"\u0628\u0649\u0631 \u064a\u0649\u0644",yy:"%d \u064a\u0649\u0644"},dayOfMonthOrdinalParse:/\d{1,2}(-\u0643\u06c8\u0646\u0649|-\u0626\u0627\u064a|-\u06be\u06d5\u067e\u062a\u06d5)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"-\u0643\u06c8\u0646\u0649";case"w":case"W":return t+"-\u06be\u06d5\u067e\u062a\u06d5";default:return t}},preparse:function(t){return t.replace(/\u060c/g,",")},postformat:function(t){return t.replace(/,/g,"\u060c")},week:{dow:1,doy:7}})}(n("wd/R"))},Ylt2:function(t,e,n){"use strict";n.d(e,"a",function(){return a});var i=n("quSY");class a extends i.a{constructor(t,e){super(),this.subject=t,this.subscriber=e,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const t=this.subject,e=t.observers;if(this.subject=null,!e||0===e.length||t.isStopped||t.closed)return;const n=e.indexOf(this.subscriber);-1!==n&&e.splice(n,1)}}},YuTi:function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},Z0nv:function(t,e,n){"use strict";n.d(e,"a",function(){return O});var i=n("8Y7J"),a=n("s7LF"),r=n("cYWD"),o=n("TSSN"),s=n("AkaL"),l=n("IheW"),c=n("SVse");let d=(()=>{class t extends s.a{constructor(t,e){super(t),this.http=t,this.datePipe=e,this.BASE_URL="/api/salaries/search"}setLabel(t){t.autocomplete=`${t.nom} ${t.prenom} ${this.formatDate(t.dateNaissance)}`}formatDate(t){return t?this.datePipe.transform(new Date(t),"dd/MM/yyyy"):""}}return t.\u0275fac=function(e){return new(e||t)(i.Xb(l.b),i.Xb(c.e))},t.\u0275prov=i.Jb({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();var u=n("WiJD"),h=n("zaPX"),m=n("Q2Ze"),p=n("e6WT"),f=n("vrAh"),g=n("q6Qu"),b=n("UhP/"),_=n("pu8Q");function y(t,e){if(1&t&&(i.Tb(0,"span",8),i.Hc(1),i.Sb()),2&t){const t=i.fc();i.Cc("opacity",t.searchControl.disabled?.7:1),i.Cb(1),i.Ic(t.prefix)}}function v(t,e){1&t&&(i.Tb(0,"mat-option",9),i.Ob(1,"mat-spinner",10),i.Sb())}function C(t,e){if(1&t&&(i.Tb(0,"mat-option",12),i.Hc(1),i.Sb()),2&t){const t=e.$implicit;i.nc("value",t),i.Cb(1),i.Jc(" ",t.autocomplete," ")}}function w(t,e){if(1&t&&i.Fc(0,C,2,2,"mat-option",11),2&t){const t=i.fc();i.nc("ngForOf",t.searchResult)}}const x=[[["mat-error"]],[["mat-icon"]],[["mat-spinner"]],"*"],M=["mat-error","mat-icon","mat-spinner","*"];let O=(()=>{class t extends r.a{constructor(t,e,n,i,a){super(t,e,n,i,a),this.translateService=t,this.searchService=e,this.configurationService=n,this.configSharedService=i,this.changeDetectorRef=a,this.fieldValue="nom"}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(o.d),i.Nb(d),i.Nb(u.a),i.Nb(h.a),i.Nb(i.h))},t.\u0275cmp=i.Hb({type:t,selectors:[["app-salarie-autocomplete-2"]],features:[i.Bb([{provide:a.m,useExisting:Object(i.V)(()=>t),multi:!0}]),i.zb],ngContentSelectors:M,decls:15,vars:11,consts:[["matPrefix","","class","prefix",3,"opacity",4,"ngIf"],["type","text","matInput","","data-cy","autocomplete",3,"name","appLabel","formControl","matAutocomplete","matAutocompleteDisabled","errorStateMatcher","required","blur"],["searchElt",""],[1,"mat-error","otherMessages"],[3,"displayWith","optionSelected"],["auto","matAutocomplete"],["class","spinner",4,"ngIf","ngIfElse"],["listOptions",""],["matPrefix","",1,"prefix"],[1,"spinner"],["diameter","50"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(t,e){if(1&t&&(i.mc(x),i.Tb(0,"mat-form-field"),i.Fc(1,y,2,3,"span",0),i.Tb(2,"input",1,2),i.bc("blur",function(){return e.onBlur()}),i.Sb(),i.Tb(4,"mat-error"),i.lc(5),i.Sb(),i.lc(6,1),i.lc(7,2),i.Sb(),i.Tb(8,"div",3),i.lc(9,3),i.Sb(),i.Tb(10,"mat-autocomplete",4,5),i.bc("optionSelected",function(t){return e.selectOption(t)}),i.Fc(12,v,2,0,"mat-option",6),i.Fc(13,w,1,1,"ng-template",null,7,i.Gc),i.Sb()),2&t){const t=i.vc(11),n=i.vc(14);i.Cb(1),i.nc("ngIf",e.prefix),i.Cb(1),i.nc("name",e.name)("appLabel",e.inputTitle)("formControl",e.searchControl)("matAutocomplete",t)("matAutocompleteDisabled",e.isAutocompleteDisabled)("errorStateMatcher",e.errorStateMatcher)("required",e.isRequired),i.Cb(8),i.nc("displayWith",e.displayFn),i.Cb(2),i.nc("ngIf",e.isLoading)("ngIfElse",n)}},directives:[m.c,c.l,p.b,a.c,f.c,g.a,a.o,a.f,a.v,m.b,f.a,m.g,b.m,_.b,c.k],styles:["[_nghost-%COMP%]{-ms-flex:1;flex:1}[_nghost-%COMP%] mat-form-field[_ngcontent-%COMP%]{width:100%}[_nghost-%COMP%] .otherMessages[_ngcontent-%COMP%]{font-size:75%}[_nghost-%COMP%] .prefix[_ngcontent-%COMP%]{-ms-flex-item-align:center;align-self:center;margin-right:8px}"]}),t})()},Z4QM:function(t,e,n){!function(t){"use strict";var e=["\u062c\u0646\u0648\u0631\u064a","\u0641\u064a\u0628\u0631\u0648\u0631\u064a","\u0645\u0627\u0631\u0686","\u0627\u067e\u0631\u064a\u0644","\u0645\u0626\u064a","\u062c\u0648\u0646","\u062c\u0648\u0644\u0627\u0621\u0650","\u0622\u06af\u0633\u067d","\u0633\u064a\u067e\u067d\u0645\u0628\u0631","\u0622\u06aa\u067d\u0648\u0628\u0631","\u0646\u0648\u0645\u0628\u0631","\u068a\u0633\u0645\u0628\u0631"],n=["\u0622\u0686\u0631","\u0633\u0648\u0645\u0631","\u0627\u06b1\u0627\u0631\u0648","\u0627\u0631\u0628\u0639","\u062e\u0645\u064a\u0633","\u062c\u0645\u0639","\u0687\u0646\u0687\u0631"];t.defineLocale("sd",{months:e,monthsShort:e,weekdays:n,weekdaysShort:n,weekdaysMin:n,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd\u060c D MMMM YYYY HH:mm"},meridiemParse:/\u0635\u0628\u062d|\u0634\u0627\u0645/,isPM:function(t){return"\u0634\u0627\u0645"===t},meridiem:function(t,e,n){return t<12?"\u0635\u0628\u062d":"\u0634\u0627\u0645"},calendar:{sameDay:"[\u0627\u0684] LT",nextDay:"[\u0633\u0680\u0627\u06bb\u064a] LT",nextWeek:"dddd [\u0627\u06b3\u064a\u0646 \u0647\u0641\u062a\u064a \u062a\u064a] LT",lastDay:"[\u06aa\u0627\u0644\u0647\u0647] LT",lastWeek:"[\u06af\u0632\u0631\u064a\u0644 \u0647\u0641\u062a\u064a] dddd [\u062a\u064a] LT",sameElse:"L"},relativeTime:{future:"%s \u067e\u0648\u0621",past:"%s \u0627\u06b3",s:"\u0686\u0646\u062f \u0633\u064a\u06aa\u0646\u068a",ss:"%d \u0633\u064a\u06aa\u0646\u068a",m:"\u0647\u06aa \u0645\u0646\u067d",mm:"%d \u0645\u0646\u067d",h:"\u0647\u06aa \u06aa\u0644\u0627\u06aa",hh:"%d \u06aa\u0644\u0627\u06aa",d:"\u0647\u06aa \u068f\u064a\u0646\u0647\u0646",dd:"%d \u068f\u064a\u0646\u0647\u0646",M:"\u0647\u06aa \u0645\u0647\u064a\u0646\u0648",MM:"%d \u0645\u0647\u064a\u0646\u0627",y:"\u0647\u06aa \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(t){return t.replace(/\u060c/g,",")},postformat:function(t){return t.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(n("wd/R"))},ZAMP:function(t,e,n){!function(t){"use strict";t.defineLocale("ms-my",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(t,e){return 12===t&&(t=0),"pagi"===e?t:"tengahari"===e?t>=11?t:t+12:"petang"===e||"malam"===e?t+12:void 0},meridiem:function(t,e,n){return t<11?"pagi":t<15?"tengahari":t<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(n("wd/R"))},"ZFy/":function(t,e,n){"use strict";n.d(e,"a",function(){return x}),n.d(e,"b",function(){return C}),n.d(e,"c",function(){return M}),n.d(e,"d",function(){return k});var i=n("1O3W"),a=n("YEUz"),r=n("SVse"),o=n("8Y7J"),s=n("UhP/"),l=n("7KAL"),c=n("8LU1"),d=n("Ht+U"),u=n("HeVh"),h=n("SCoL"),m=n("1z/I"),p=n("XNiG"),f=n("1G5W"),g=n("IzEk"),b=n("GS7A"),_=n("9gLZ");const y={tooltipState:Object(b.n)("state",[Object(b.k)("initial, void, hidden",Object(b.l)({opacity:0,transform:"scale(0)"})),Object(b.k)("visible",Object(b.l)({transform:"scale(1)"})),Object(b.m)("* => visible",Object(b.e)("200ms cubic-bezier(0, 0, 0.2, 1)",Object(b.h)([Object(b.l)({opacity:0,transform:"scale(0)",offset:0}),Object(b.l)({opacity:.5,transform:"scale(0.99)",offset:.5}),Object(b.l)({opacity:1,transform:"scale(1)",offset:1})]))),Object(b.m)("* => hidden",Object(b.e)("100ms cubic-bezier(0, 0, 0.2, 1)",Object(b.l)({opacity:0})))])},v=Object(h.f)({passive:!0}),C=new o.s("mat-tooltip-scroll-strategy"),w={provide:C,deps:[i.c],useFactory:function(t){return()=>t.scrollStrategies.reposition({scrollThrottle:20})}},x=new o.s("mat-tooltip-default-options",{providedIn:"root",factory:function(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}});let M=(()=>{class t{constructor(t,e,n,i,a,r,o,s,l,c,u,h){this._overlay=t,this._elementRef=e,this._scrollDispatcher=n,this._viewContainerRef=i,this._ngZone=a,this._platform=r,this._ariaDescriber=o,this._focusMonitor=s,this._dir=c,this._defaultOptions=u,this._position="below",this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this.showDelay=this._defaultOptions.showDelay,this.hideDelay=this._defaultOptions.hideDelay,this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new p.a,this._handleKeydown=t=>{this._isTooltipVisible()&&t.keyCode===d.f&&!Object(d.r)(t)&&(t.preventDefault(),t.stopPropagation(),this._ngZone.run(()=>this.hide(0)))},this._scrollStrategy=l,u&&(u.position&&(this.position=u.position),u.touchGestures&&(this.touchGestures=u.touchGestures)),a.runOutsideAngular(()=>{e.nativeElement.addEventListener("keydown",this._handleKeydown)})}get position(){return this._position}set position(t){t!==this._position&&(this._position=t,this._overlayRef&&(this._updatePosition(),this._tooltipInstance&&this._tooltipInstance.show(0),this._overlayRef.updatePosition()))}get disabled(){return this._disabled}set disabled(t){this._disabled=Object(c.c)(t),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get message(){return this._message}set message(t){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=t?String(t).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage(),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")})}))}get tooltipClass(){return this._tooltipClass}set tooltipClass(t){this._tooltipClass=t,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(Object(f.a)(this._destroyed)).subscribe(t=>{t?"keyboard"===t&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const t=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),t.removeEventListener("keydown",this._handleKeydown),this._passiveListeners.forEach(([e,n])=>{t.removeEventListener(e,n,v)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(t,this.message,"tooltip"),this._focusMonitor.stopMonitoring(t)}show(t=this.showDelay){if(this.disabled||!this.message||this._isTooltipVisible()&&!this._tooltipInstance._showTimeoutId&&!this._tooltipInstance._hideTimeoutId)return;const e=this._createOverlay();this._detach(),this._portal=this._portal||new m.d(O,this._viewContainerRef),this._tooltipInstance=e.attach(this._portal).instance,this._tooltipInstance.afterHidden().pipe(Object(f.a)(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),this._tooltipInstance.show(t)}hide(t=this.hideDelay){this._tooltipInstance&&this._tooltipInstance.hide(t)}toggle(){this._isTooltipVisible()?this.hide():this.show()}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(){if(this._overlayRef)return this._overlayRef;const t=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),e=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(".mat-tooltip").withFlexibleDimensions(!1).withViewportMargin(8).withScrollableContainers(t);return e.positionChanges.pipe(Object(f.a)(this._destroyed)).subscribe(t=>{this._tooltipInstance&&t.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:e,panelClass:"mat-tooltip-panel",scrollStrategy:this._scrollStrategy()}),this._updatePosition(),this._overlayRef.detachments().pipe(Object(f.a)(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(){const t=this._overlayRef.getConfig().positionStrategy,e=this._getOrigin(),n=this._getOverlayPosition();t.withPositions([Object.assign(Object.assign({},e.main),n.main),Object.assign(Object.assign({},e.fallback),n.fallback)])}_getOrigin(){const t=!this._dir||"ltr"==this._dir.value,e=this.position;let n;"above"==e||"below"==e?n={originX:"center",originY:"above"==e?"top":"bottom"}:"before"==e||"left"==e&&t||"right"==e&&!t?n={originX:"start",originY:"center"}:("after"==e||"right"==e&&t||"left"==e&&!t)&&(n={originX:"end",originY:"center"});const{x:i,y:a}=this._invertPosition(n.originX,n.originY);return{main:n,fallback:{originX:i,originY:a}}}_getOverlayPosition(){const t=!this._dir||"ltr"==this._dir.value,e=this.position;let n;"above"==e?n={overlayX:"center",overlayY:"bottom"}:"below"==e?n={overlayX:"center",overlayY:"top"}:"before"==e||"left"==e&&t||"right"==e&&!t?n={overlayX:"end",overlayY:"center"}:("after"==e||"right"==e&&t||"left"==e&&!t)&&(n={overlayX:"start",overlayY:"center"});const{x:i,y:a}=this._invertPosition(n.overlayX,n.overlayY);return{main:n,fallback:{overlayX:i,overlayY:a}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe(Object(g.a)(1),Object(f.a)(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(t){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=t,this._tooltipInstance._markForCheck())}_invertPosition(t,e){return"above"===this.position||"below"===this.position?"top"===e?e="bottom":"bottom"===e&&(e="top"):"end"===t?t="start":"start"===t&&(t="end"),{x:t,y:e}}_setupPointerEnterEventsIfNeeded(){!this._disabled&&this.message&&this._viewInitialized&&!this._passiveListeners.length&&(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",()=>{this._setupPointerExitEventsIfNeeded(),this.show()}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",()=>{this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(),500)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const t=[];if(this._platformSupportsMouseEvents())t.push(["mouseleave",()=>this.hide()],["wheel",t=>this._wheelListener(t)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const e=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};t.push(["touchend",e],["touchcancel",e])}this._addListeners(t),this._passiveListeners.push(...t)}_addListeners(t){t.forEach(([t,e])=>{this._elementRef.nativeElement.addEventListener(t,e,v)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(t){if(this._isTooltipVisible()){const e=(this._document||document).elementFromPoint(t.clientX,t.clientY),n=this._elementRef.nativeElement;e===n||n.contains(e)||this.hide()}}_disableNativeGesturesIfNecessary(){const t=this.touchGestures;if("off"!==t){const e=this._elementRef.nativeElement,n=e.style;("on"===t||"INPUT"!==e.nodeName&&"TEXTAREA"!==e.nodeName)&&(n.userSelect=n.msUserSelect=n.webkitUserSelect=n.MozUserSelect="none"),"on"!==t&&e.draggable||(n.webkitUserDrag="none"),n.touchAction="none",n.webkitTapHighlightColor="transparent"}}}return t.\u0275fac=function(e){return new(e||t)(o.Nb(i.c),o.Nb(o.l),o.Nb(l.c),o.Nb(o.R),o.Nb(o.B),o.Nb(h.a),o.Nb(a.c),o.Nb(a.h),o.Nb(C),o.Nb(_.b,8),o.Nb(x,8),o.Nb(r.d))},t.\u0275dir=o.Ib({type:t,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],inputs:{showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],position:["matTooltipPosition","position"],disabled:["matTooltipDisabled","disabled"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]},exportAs:["matTooltip"]}),t})(),O=(()=>{class t{constructor(t,e){this._changeDetectorRef=t,this._breakpointObserver=e,this._visibility="initial",this._closeOnInteraction=!1,this._onHide=new p.a,this._isHandset=this._breakpointObserver.observe(u.b.Handset)}show(t){this._hideTimeoutId&&(clearTimeout(this._hideTimeoutId),this._hideTimeoutId=null),this._closeOnInteraction=!0,this._showTimeoutId=setTimeout(()=>{this._visibility="visible",this._showTimeoutId=null,this._markForCheck()},t)}hide(t){this._showTimeoutId&&(clearTimeout(this._showTimeoutId),this._showTimeoutId=null),this._hideTimeoutId=setTimeout(()=>{this._visibility="hidden",this._hideTimeoutId=null,this._markForCheck()},t)}afterHidden(){return this._onHide}isVisible(){return"visible"===this._visibility}ngOnDestroy(){this._onHide.complete()}_animationStart(){this._closeOnInteraction=!1}_animationDone(t){const e=t.toState;"hidden"!==e||this.isVisible()||this._onHide.next(),"visible"!==e&&"hidden"!==e||(this._closeOnInteraction=!0)}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}}return t.\u0275fac=function(e){return new(e||t)(o.Nb(o.h),o.Nb(u.a))},t.\u0275cmp=o.Hb({type:t,selectors:[["mat-tooltip-component"]],hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(t,e){1&t&&o.bc("click",function(){return e._handleBodyInteraction()},!1,o.wc)("auxclick",function(){return e._handleBodyInteraction()},!1,o.wc),2&t&&o.Cc("zoom","visible"===e._visibility?1:null)},decls:3,vars:7,consts:[[1,"mat-tooltip",3,"ngClass"]],template:function(t,e){if(1&t&&(o.Tb(0,"div",0),o.bc("@state.start",function(){return e._animationStart()})("@state.done",function(t){return e._animationDone(t)}),o.gc(1,"async"),o.Hc(2),o.Sb()),2&t){let t=null;o.Fb("mat-tooltip-handset",null==(t=o.hc(1,5,e._isHandset))?null:t.matches),o.nc("ngClass",e.tooltipClass)("@state",e._visibility),o.Cb(2),o.Ic(e.message)}},directives:[r.j],pipes:[r.b],styles:[".mat-tooltip-panel{pointer-events:none !important}.mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis}.cdk-high-contrast-active .mat-tooltip{outline:solid 1px}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}\n"],encapsulation:2,data:{animation:[y.tooltipState]},changeDetection:0}),t})(),k=(()=>{class t{}return t.\u0275mod=o.Lb({type:t}),t.\u0275inj=o.Kb({factory:function(e){return new(e||t)},providers:[w],imports:[[a.a,r.c,i.f,s.j],s.j,l.b]}),t})()},ZIcu:function(t,e,n){"use strict";n.r(e),n.d(e,"DpdModule",function(){return er});var i=n("SVse"),a=n("PCNd"),r=n("iInd"),o=n("8Y7J"),s=n("qh/L");let l=(()=>{class t{constructor(t){this.sessionService=t}canDeactivate(t,e,n,i){return!this.sessionService.isLogged||!t.canDeactivate||t.canDeactivate()}}return t.\u0275fac=function(e){return new(e||t)(o.Xb(s.a))},t.\u0275prov=o.Jb({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();var c=n("cp0P"),d=n("LRne"),u=n("lJxs"),h=n("TMPf"),m=n("wd/R"),p=n("s7LF"),f=n("0h1T"),g=n("vuU3"),b=n("Qaas");class _ extends g.a{constructor(t,e,n,i,a,r=!0){super(t),this.fb=t,this.model=e,this.countries=n,this.isDisabled=i,this.isCountryDisabledInCompletion=a,this.isRequired=r}build(){return this.form=this.fb.group({adresse:this.fb.control({value:this.model.adresse,disabled:this.isDisabled},[...this.isRequired?[p.w.required]:[],p.w.maxLength(f.a.ADDRESS)]),pays:this.fb.control({value:this.countries.find(t=>t.code===this.model.pays),disabled:this.isCountryDisabledInCompletion},[...this.isRequired?[p.w.required]:[]]),cp:this.fb.control({value:this.model.cp,disabled:this.isDisabled},[...this.isRequired?[p.w.required]:[],p.w.maxLength(f.a.COMMON)]),ville:this.fb.control({value:this.model.ville,disabled:this.isDisabled},[...this.isRequired?[p.w.required]:[],p.w.maxLength(f.a.COMMON)]),complementAdresse:this.fb.control({value:this.model.complementAdresse,disabled:this.isDisabled},[p.w.maxLength(f.a.COMMON)]),latitude:this.fb.control({value:this.model.coordonnees?this.model.coordonnees.latitude:null,disabled:!0}),longitude:this.fb.control({value:this.model.coordonnees?this.model.coordonnees.longitude:null,disabled:!0})}),this.form}}class y extends g.a{constructor(t,e,n,i){super(t),this.fb=t,this.model=e,this.countries=n,this.isDisabled=i}build(){const t=this.countries.find(t=>t.code===this.model.adresse.pays);return this.form=this.fb.group({pays:this.fb.control({value:t,disabled:this.isDisabled},[p.w.required]),noTVA:this.fb.control({value:this.model.noTVA,disabled:!t||!t.hasTVA}),numTVA:this.fb.control({value:this.model.numTVA,disabled:this.isDisabled},[p.w.required,p.w.pattern("^\\w+$")]),raisonSociale:this.fb.control({value:this.model.raisonSociale,disabled:this.isDisabled},[p.w.required,p.w.maxLength(f.a.COMMON)]),adresse:new _(this.fb,this.getAddress(),this.countries,this.isDisabled,!0).build(),codeNaf:this.fb.control({value:this.model.codeNaf,disabled:!0})}),this.form}getAddress(){return this.model.adresse?this.model.adresse:new b.a({})}}class v extends g.a{constructor(t,e,n,i){super(t),this.fb=t,this.model=e,this.countries=n,this.isDisabled=i}build(){return this.fb.group({title:this.fb.control({disabled:!0}),client:new y(this.fb,this.model,this.countries,!0).build(),email:this.fb.control({value:this.model.email,disabled:this.isDisabled},{validators:[p.w.email,p.w.maxLength(f.a.EMAIL)]})})}}var C=n("kAim");class w extends g.a{constructor(t,e,n){super(t),this.fb=t,this.model=e,this.isDisabled=n}build(){return this.fb.group({tripExpenses:this.fb.group({type:this.fb.control({value:this.model.voyage.type,disabled:this.isDisabled}),amount:this.fb.control({value:this.model.voyage.montant,disabled:this.isAmountDisabled(this.model.voyage.type)},{updateOn:"blur",validators:[p.w.required]})}),foodExpenses:this.fb.group({type:this.fb.control({value:this.model.nourriture.type,disabled:!1}),amount:this.fb.control({value:this.model.nourriture.montant,disabled:this.isAmountDisabled(this.model.nourriture.type)},{updateOn:"blur",validators:[p.w.required]})}),hostingExpenses:this.fb.group({type:this.fb.control({value:this.model.hebergement.type,disabled:!1}),amount:this.fb.control({value:this.model.hebergement.montant,disabled:this.isAmountDisabled(this.model.hebergement.type)},{updateOn:"blur",validators:[p.w.required]})})})}isAmountDisabled(t){return this.isDisabled||t!==C.a.VERSEMENT}}var x=n("j9Ql"),M=n("+sEB");class O extends g.a{constructor(t,e,n,i,a){super(t),this.fb=t,this.model=e,this.countries=n,this.numeroModele=i,this.isDisabled=a}build(){return this.fb.group({raisonSociale:this.fb.control({value:this.model.raisonSociale,disabled:!0},[p.w.required,p.w.maxLength(f.a.COMMON)]),adresse:new _(this.fb,this.getAddress(),this.countries,this.isDisabled,!0).build(),telephone:this.fb.control({value:this.model.telephone,disabled:this.isDisabled},{validators:[p.w.required,p.w.maxLength(f.a.COMMON)],updateOn:"blur"}),email:this.fb.control({value:this.model.email,disabled:this.isDisabled},{validators:[p.w.required,p.w.maxLength(f.a.EMAIL),p.w.email],updateOn:"blur"}),status:this.fb.control({value:this.model.status,disabled:this.isDisabled},{validators:[p.w.required,p.w.maxLength(f.a.COMMON)],updateOn:"blur"}),noTVA:this.fb.control({value:this.model.noTVA,disabled:!0}),numTVA:this.fb.control({value:this.model.numTVA,disabled:!0}),registre:this.fb.control({value:this.model.registre,disabled:!0},{validators:[p.w.maxLength(f.a.COMMON)],updateOn:"blur"}),reference:this.fb.control({value:this.model.reference,disabled:!0},{validators:[p.w.maxLength(f.a.COMMON)],updateOn:"blur"}),dirigeant:new M.a(this.fb,this.getManager(),this.countries,this.isDisabled).build(),organisme:this.fb.control({value:this.model.organisme,disabled:this.isDisabled},{validators:3===this.numeroModele||5===this.numeroModele?[p.w.required,p.w.maxLength(f.a.COMMON)]:[p.w.maxLength(f.a.COMMON)]}),transporteur:this.fb.control({value:this.model.transporteur,disabled:this.isDisabled},{updateOn:"blur",validators:[p.w.maxLength(f.a.COMMON)]})})}getManager(){return this.model.dirigeant?this.model.dirigeant:new x.a({})}getAddress(){return this.model.adresse?this.model.adresse:new b.a({})}}var k=n("Rqom");class S extends g.a{constructor(t,e,n,i){super(t),this.fb=t,this.model=e,this.countries=n,this.isDisabled=i}build(){const t=this.fb.group({id:this.fb.control(this.model.id),type:this.fb.control({value:this.model.type,disabled:!0}),nom:this.fb.control({value:this.model.nom,disabled:!0},[p.w.required]),typeAdresse:this.fb.control({value:this.model.adresse.type,disabled:!0},[p.w.required]),adresse:new _(this.fb,this.model.adresse,this.countries,!0,!0,!1).build(),siret:this.fb.control({value:this.model.siret,disabled:!0}),codeNaf:this.fb.control({value:this.model.codeNaf,disabled:!0}),isHebergementCollectif:this.fb.control({value:this.model.isHebergementCollectif,disabled:this.isDisabled}),nomHebergement:this.fb.control({value:this.model.nomHebergement,disabled:this.isDisabled}),typeAdresseHebergement:this.fb.control({value:this.model.hebergementCollectif.type,disabled:this.isDisabled}),hebergementCollectif:new _(this.fb,this.model.hebergementCollectif,this.countries,!this.model.isHebergementCollectif||this.isDisabled,!1).build(),isSavedInArray:this.fb.control(!0)});return t.get("hebergementCollectif").setValidators(()=>k.a.coordonneesValidator(t.get("typeAdresseHebergement").value,t.get("hebergementCollectif"))),t.get("isSavedInArray").setValidators([()=>k.a.isSavedInArray(t.get("isSavedInArray").value)]),t}}class T extends g.a{constructor(t,e,n){super(t),this.fb=t,this.model=e,this.countries=n}build(){return this.fb.group({locations:this.fb.array(this.model.map(t=>new S(this.fb,t,this.countries,!1).build()),[p.w.required])})}}class P extends g.a{constructor(t,e,n,i,a){super(t),this.fb=t,this.model=e,this.numeroModele=n,this.activities=i,this.isDisabled=a}build(){return this.form=this.fb.group({activiteCodeNaf:this.fb.control(this.model),activite1:this.fb.control({value:this.model?this.getActivity1FromCode(this.model.activite1):this.isModele4or5or6()?this.getActivity1FromCode("H"):null,disabled:this.isModele4or5or6()},[p.w.required]),activite2:this.fb.control(this.model?this.getActivity2FromCode(this.model.activite2):null,[p.w.required]),activite3:this.fb.control(this.model?this.getActivity3FromCode(this.model.activite3):null,[p.w.required]),activite4:this.fb.control(this.model?this.getActivity4FromCode(this.model.activite4):null,[p.w.required])}),this.form}isModele4or5or6(){return this.isDisabled||4===this.numeroModele||5===this.numeroModele||6===this.numeroModele}getActivityFromCodeInList(t,e){return t.find(t=>t.code===e)||null}getActivity1FromCode(t){return t?this.getActivityFromCodeInList(this.activities,t):null}getActivity2FromCode(t){const e=this.getActivityFromCodeInList(this.activities,this.model.activite1);return e&&t?this.getActivityFromCodeInList(e.sousActivites,t):null}getActivity3FromCode(t){const e=this.getActivity2FromCode(this.model.activite2);return e&&t?this.getActivityFromCodeInList(e.sousActivites,t):null}getActivity4FromCode(t){const e=this.getActivity3FromCode(this.model.activite3);return e&&t?this.getActivityFromCodeInList(e.sousActivites,t):null}}class L extends g.a{constructor(t,e,n,i){super(t),this.fb=t,this.model=e,this.numeroModele=n,this.activities=i}build(){return this.form=this.fb.group({activities:new P(this.fb,this.model.activites,this.numeroModele,this.activities,!1).build(),isMaterialDangereux:this.fb.control(this.model.dangereux.actif,[p.w.required]),materielsDangereuxList:this.fb.control({value:this.model.dangereux.valeur,disabled:!this.model.dangereux.actif},{validators:[p.w.required],updateOn:"blur"}),horaireDebut:this.fb.control({value:this.model.horaireDebut,disabled:this.model.horairesAtypiques},[p.w.required,p.w.pattern("^([01][0-9]|2[0-3]):[0-5][0-9]$")]),horaireFin:this.fb.control({value:this.model.horaireFin,disabled:this.model.horairesAtypiques},[p.w.required,p.w.pattern("^([01][0-9]|2[0-3]):[0-5][0-9]$")]),nbJoursRepos:this.fb.control(this.model.nbJoursRepos,[p.w.required,p.w.pattern("^[0-6]$"),p.w.min(0),p.w.max(6)]),horairesAtypiques:this.fb.control(this.model.horairesAtypiques)}),this.form}}var D=n("DVMI"),E=n("K2tM"),A=n("zfSa");class I extends g.a{constructor(t,e,n,i,a){super(t),this.fb=t,this.dpd=e,this.user=n,this.countries=i,this.isDisabled=a,this.client=e.client,this.model=e.representant,this.foreignCompany=e.entrepriseEtrangere}build(){return this.form=this.fb.group({type:this.fb.control({value:this.getType(),disabled:!0},[p.w.required]),idSalarie:this.fb.control(this.getIdSalarie()),personne:new M.a(this.fb,this.getPerson(),this.countries,!0).build(),siret:this.fb.control({value:this.getSiret(),disabled:!0},[p.w.required,p.w.pattern("[0-9]{14}")]),raisonSociale:this.fb.control({value:this.getSocialReason(),disabled:!0},{validators:[p.w.required],updateOn:"blur"}),numTVA:this.fb.control({value:this.getNumTVA(),disabled:!0},{validators:[p.w.required],updateOn:"blur"}),adresse:new _(this.fb,this.getAddress(),this.countries,!0,!0).build(),telephone:this.fb.control({value:this.getPhone(),disabled:this.isDisabled||this.isUserMandataire},{validators:[p.w.required],updateOn:"blur"}),email:this.fb.control({value:this.getEmail(),disabled:this.isDisabled||this.isUserMandataire},[p.w.required,p.w.maxLength(256),p.w.email]),conservation:this.fb.control({value:this.getConservation(),disabled:this.isDisabled},[p.w.required])}),this.form}get isUserMandataire(){return this.user.role===A.a.MANDATAIRE}getType(){return this.isUserMandataire||4===this.dpd.numeroModele?E.a.MANDATAIRE:this.model.type}getIdSalarie(){const t=this.dpd.salaries.filter(t=>t.nom===this.model.personne.nom&&t.prenom===this.model.personne.prenom&&t.dateNaissance===this.model.personne.dateNaissance);if(t.length>1)console.error(t.length+" workers have the same lastname, firstname and date of birth, we don't know which one is the Representative. The first one has been chosen.");else if(0===t.length)return null;return t[0].id}getPerson(){return this.isType(E.a.DIRIGEANT)?this.foreignCompany.dirigeant:this.isType(E.a.SALARIE)?this.model.personne?this.model.personne:new h.a({}):this.isType(E.a.MANDATAIRE)?this.model.personne:new x.a({})}getSiret(){return this.isUserMandataire?this.user.entreprise.siret:this.model.siret}getSocialReason(){return this.isType(E.a.CLIENT)?this.client.raisonSociale:this.isUserMandataire?this.user.entreprise.raisonSociale:this.model.raisonSociale}getNumTVA(){return this.isType(E.a.CLIENT)&&"FR"===this.client.adresse.pays?this.client.numTVA:this.isType(E.a.MANDATAIRE)&&this.isUserMandataire?this.model.numTVA:null}getAddress(){return this.isType(E.a.CLIENT)&&"FR"===this.client.adresse.pays?this.client.adresse:this.isUserMandataire?this.user.entreprise.adresse:new b.a(this.model.adresse?this.model.adresse:{})}getPhone(){return this.isUserMandataire?this.user.entreprise.telephone:this.model.telephone}getEmail(){return this.isUserMandataire?this.user.entreprise.email:this.model.email}getConservation(){return 4===this.dpd.numeroModele?D.a.REPRESENTANT:this.model.conservation}isType(t){return this.getType()===t}}class R extends g.a{constructor(t,e,n,i,a=!0){super(t),this.fb=t,this.model=e,this.countries=n,this.isDisabled=i,this.isRequired=a}build(){return this.form=this.fb.group({nom:this.fb.control({value:this.model.nom,disabled:this.isDisabled},[...this.isRequired?[p.w.required]:[],p.w.maxLength(f.a.COMMON)]),prenom:this.fb.control({value:this.model.prenom,disabled:this.isDisabled},[...this.isRequired?[p.w.required]:[],p.w.maxLength(f.a.COMMON)]),dateNaissance:this.fb.control({value:this.model.dateNaissance,disabled:this.isDisabled},[...this.isRequired?[p.w.required]:[]]),villeNaissance:this.fb.control({value:this.model.villeNaissance,disabled:this.isDisabled},[...this.isRequired?[p.w.required]:[],p.w.maxLength(f.a.COMMON)]),paysNaissance:this.fb.control({value:this.countries.find(t=>t.code===this.model.paysNaissance),disabled:this.isDisabled},[...this.isRequired?[p.w.required]:[]])}),this.form}}class N extends g.a{constructor(t,e,n,i,a){super(t),this.fb=t,this.model=e,this.countries=n,this.numeroModele=i,this.isDisabled=a}build(){const t=this.fb.group({id:this.fb.control(this.model.id),sexe:this.fb.control({value:this.model.sexe,disabled:!0}),identite:new R(this.fb,this.model,this.countries,!0,!1).build(),nationalite:this.fb.control({value:this.countries.find(t=>t.code===this.model.nationalite),disabled:!0}),adresse:new _(this.fb,this.model.adresse,this.countries,this.isDisabled,!1,7!==this.numeroModele).build(),paysSecu:this.fb.control({value:this.countries.find(t=>t.code===this.model.paysSecu),disabled:this.isDisabled},[...this.getValidatorsModels()]),dateContrat:this.fb.control({value:this.model.dateContrat,disabled:this.isDisabled},[...this.getValidatorsModels()]),dateDebut:this.fb.control({value:this.model.dateDebut,disabled:this.isDisabled}),dateFin:this.fb.control({value:this.model.dateFin,disabled:this.isDisabled}),isDetachementLongueDuree:this.fb.control({value:this.model.isDetachementLongueDuree,disabled:this.isDisabled}),motifLongueDuree:this.fb.control({value:this.model.motifLongueDuree,disabled:this.isDisabled||!this.model.isDetachementLongueDuree}),emploi:this.fb.control({value:this.model.emploi,disabled:this.isDisabled},this.getValidatorsModels()),qualification:this.fb.control({value:this.model.qualification,disabled:this.isDisabled},this.getValidatorsModels()),salaire:this.fb.control({value:this.model.salaire,disabled:this.isDisabled||this.model.salaireSpecifique},this.getValidatorsModels()),salaireSpecifique:this.fb.control({value:this.model.salaireSpecifique,disabled:this.isDisabled}),paysRegistre:this.fb.control({value:this.countries.find(t=>t.code===this.model.paysRegistre),disabled:this.isPaysRegistreDisabled()},{validators:4===this.numeroModele?[p.w.required]:[]}),isSavedInDpd:this.fb.control(this.model.isSavedInDpd),isSavedInArray:this.fb.control(!0)});return t.get("motifLongueDuree").setValidators([this.makeValidatorMotifLD(t.get("isDetachementLongueDuree")),p.w.maxLength(f.a.LONG_PERIOD_MOTIVE)]),t.get("dateDebut").setValidators([...this.getValidatorsModels(),()=>k.a.dateDebut(t.get("dateDebut").value,t.get("dateFin").value,!0)]),t.get("dateFin").setValidators([...this.getValidatorsModels(),()=>k.a.dateFin(t.get("dateDebut").value,t.get("dateFin").value,!0)]),t.get("isSavedInArray").setValidators([()=>k.a.isSavedInArray(t.get("isSavedInArray").value)]),t}getValidatorsModels(){return 7!==this.numeroModele?[p.w.required,p.w.maxLength(f.a.COMMON)]:[]}isPaysRegistreDisabled(){return this.isDisabled||4!==this.numeroModele}makeValidatorMotifLD(t){return e=>t&&!0===t.value?p.w.required(e):null}}class Y extends g.a{constructor(t,e,n,i,a,r,o){super(t),this.fb=t,this.model=e,this.countries=n,this.numeroModele=i,this.dateDebut=a,this.dateFin=r,this.isDisabled=o}build(){return this.fb.group({dateDebut:this.fb.control({value:this.dateDebut,disabled:!0}),dateFin:this.fb.control({value:this.dateFin,disabled:!0}),workers:this.fb.array(this.model.map(t=>new N(this.fb,t,this.countries,this.numeroModele,this.isDisabled).build()),k.a.makeUnicityWorkersValidators())})}}class H{constructor(t,e,n,i,a,r=!1){this.fb=t,this.user=e,this.dpd=n,this.countries=i,this.activities=a,this.isRepresentativeDisabled=r,this.isDisabled=m(m().format("YYYY-MM-DD")).isAfter(m(n.prestation.dateFin).add(3,"day"))}build(){return this.form=this.fb.group({title:this.fb.control({value:this.dpd.titre,disabled:!0}),foreignCompanyStep:new O(this.fb,this.dpd.entrepriseEtrangere,this.countries,this.dpd.numeroModele,this.isDisabled).build(),expensesStep:new w(this.fb,this.dpd.frais,this.isDisabled).build(),singleWorkerStep:new N(this.fb,new h.a({}),this.countries,this.dpd.numeroModele,this.isDisabled).build(),workersStep:new Y(this.fb,this.dpd.salaries,this.countries,this.dpd.numeroModele,this.dpd.prestation.dateDebut,this.dpd.prestation.dateFin,this.isDisabled).build(),representativeStep:new I(this.fb,this.dpd,this.user,this.countries,this.isDisabled||this.isRepresentativeDisabled).build(),clientStep:new v(this.fb,this.dpd.client,this.countries,this.isDisabled).build(),locationsStep:new T(this.fb,this.dpd.prestation.lieus,this.countries).build(),prestationStep:new L(this.fb,this.dpd.prestation,this.dpd.numeroModele,this.activities).build()}),this.form}}var j=n("wa/n"),F=n("J+ds"),z=n("ji8I"),V=n("92Zs"),B=n("ePOw");class W extends g.a{constructor(t,e,n,i,a=!0){super(t),this.fb=t,this.model=e,this.countries=n,this.isDisabled=i,this.isRequired=a}build(){return this.fb.group({adresse:this.fb.control({value:this.model.adresse,disabled:this.isDisabled||this.isCoordonnees},[...this.isRequired?[p.w.required]:[],p.w.maxLength(f.a.ADDRESS)]),pays:this.fb.control({value:this.countries.find(t=>t.code===this.model.pays),disabled:this.isDisabled||this.isCoordonnees},[...this.isRequired?[p.w.required]:[]]),cp:this.fb.control({value:this.model.cp,disabled:this.isDisabled},[...this.isRequired?[p.w.required]:[],p.w.maxLength(f.a.COMMON)]),ville:this.fb.control({value:this.model.ville,disabled:this.isDisabled},[...this.isRequired?[p.w.required]:[],p.w.maxLength(f.a.COMMON)]),complementAdresse:this.fb.control({value:this.model.complementAdresse,disabled:this.isDisabled},[p.w.maxLength(f.a.ADDRESS)]),latitude:this.fb.control({value:this.model.coordonnees?this.model.coordonnees.latitude:null,disabled:!0}),longitude:this.fb.control({value:this.model.coordonnees?this.model.coordonnees.longitude:null,disabled:!0})})}get isCoordonnees(){return this.model.type===B.a.COORDONNEES}}class U extends g.a{constructor(t,e,n,i){super(t),this.fb=t,this.model=e,this.countries=n,this.isDisabled=i}build(){const t=this.countries.find(t=>t.code===this.model.adresse.pays);return this.form=this.fb.group({noTVA:this.fb.control({value:this.model.noTVA,disabled:!(t&&!this.isDisabled&&t.hasTVA)}),numTVA:this.fb.control({value:this.model.numTVA,disabled:this.model.noTVA||(t&&!this.isDisabled?!t.hasTVA:this.isDisabled)},[p.w.required,p.w.pattern("^\\w+$")]),raisonSociale:this.fb.control({value:this.model.raisonSociale,disabled:this.isDisabled},[p.w.required,p.w.maxLength(f.a.COMMON)]),adresse:new W(this.fb,this.getAddress(),this.countries,this.isDisabled).build(),codeNaf:this.fb.control({value:this.model.codeNaf,disabled:!0})}),this.form}getAddress(){return this.model.adresse?this.model.adresse:new b.a({})}}class q extends g.a{constructor(t,e,n,i){super(t),this.fb=t,this.model=e,this.countries=n,this.isDisabled=i}build(){return this.form=this.fb.group({title:this.fb.control({disabled:this.isDisabled}),client:new U(this.fb,this.model,this.countries,this.isDisabled).build(),email:this.fb.control({value:this.model.email,disabled:this.isDisabled},{validators:[p.w.email,p.w.maxLength(f.a.EMAIL)]})}),this.form}}class G extends g.a{constructor(t,e,n){super(t),this.fb=t,this.model=e,this.isDisabled=n}build(){return this.form=this.fb.group({tripExpenses:this.fb.group({type:this.fb.control({value:this.model.voyage.type,disabled:this.isDisabled}),amount:this.fb.control({value:this.model.voyage.montant,disabled:this.isAmountDisabled(this.model.voyage.type)},{updateOn:"blur",validators:[p.w.required]})}),foodExpenses:this.fb.group({type:this.fb.control({value:this.model.nourriture.type,disabled:this.isDisabled}),amount:this.fb.control({value:this.model.nourriture.montant,disabled:this.isAmountDisabled(this.model.nourriture.type)},{updateOn:"blur",validators:[p.w.required]})}),hostingExpenses:this.fb.group({type:this.fb.control({value:this.model.hebergement.type,disabled:this.isDisabled}),amount:this.fb.control({value:this.model.hebergement.montant,disabled:this.isAmountDisabled(this.model.hebergement.type)},{updateOn:"blur",validators:[p.w.required]})})}),this.form}isAmountDisabled(t){return this.isDisabled||t!==C.a.VERSEMENT}}class J extends g.a{constructor(t,e,n,i,a){super(t),this.fb=t,this.model=e,this.countries=n,this.isDisabled=i,this.numeroModele=a}build(){return this.form=this.fb.group({raisonSociale:this.fb.control({value:this.model.raisonSociale,disabled:this.isDisabled},[p.w.required,p.w.maxLength(f.a.COMMON)]),adresse:new W(this.fb,this.getAddress(),this.countries,this.isDisabled).build(),telephone:this.fb.control({value:this.model.telephone,disabled:this.isDisabled},{validators:[p.w.required,p.w.maxLength(f.a.COMMON)],updateOn:"blur"}),email:this.fb.control({value:this.model.email,disabled:this.isDisabled},{validators:[p.w.required,p.w.maxLength(f.a.EMAIL),p.w.email],updateOn:"blur"}),status:this.fb.control({value:this.model.status,disabled:this.isDisabled},{validators:[p.w.required,p.w.maxLength(f.a.COMMON)],updateOn:"blur"}),noTVA:this.fb.control({value:this.model.noTVA,disabled:this.isNoTVAControlDisabled()}),numTVA:this.fb.control({value:this.model.numTVA,disabled:this.isDisabled}),registre:this.fb.control({value:this.model.registre,disabled:this.isDisabled},{validators:[p.w.maxLength(f.a.COMMON)],updateOn:"blur"}),reference:this.fb.control({value:this.model.reference,disabled:this.isDisabled},{validators:[p.w.maxLength(f.a.COMMON)],updateOn:"blur"}),dirigeant:new M.a(this.fb,this.getManager(),this.countries,this.isDisabled).build(),organisme:this.fb.control({value:this.model.organisme,disabled:!this.hasOrganisme&&this.isDisabled},{validators:this.hasOrganisme?[p.w.required,p.w.maxLength(f.a.COMMON)]:[p.w.maxLength(f.a.COMMON)]}),transporteur:this.fb.control({value:this.model.transporteur,disabled:!1},{updateOn:"blur",validators:[p.w.maxLength(f.a.COMMON)]})}),this.form.get("numTVA").setValidators(()=>k.a.numTVAInForeignCompany(this.form)),this.form}isNoTVAControlDisabled(){return this.isDisabled||!this.doesCountryHaveTVA()}doesCountryHaveTVA(){let t;return this.model.adresse.pays&&(t=this.countries.find(t=>t.code===this.model.adresse.pays)),!!t&&!!this.model.adresse.pays&&t.hasTVA}getManager(){return this.model.dirigeant?this.model.dirigeant:new x.a({})}getAddress(){return this.model.adresse?this.model.adresse:new b.a({})}get hasOrganisme(){return 3===this.numeroModele||5===this.numeroModele}}class Z extends g.a{constructor(t,e,n,i){super(t),this.fb=t,this.model=e,this.countries=n,this.isDisabled=i}build(){const t=this.fb.group({type:this.fb.control({value:this.model.type,disabled:!1},[p.w.required]),nom:this.fb.control({value:this.model.nom,disabled:this.isDisabled},[p.w.required]),typeAdresse:this.fb.control({value:this.model.adresse.type,disabled:this.isDisabled},[p.w.required]),adresse:new W(this.fb,this.model.adresse,this.countries,this.isDisabled).build(),siret:this.fb.control({value:this.model.siret,disabled:!0}),codeNaf:this.fb.control({value:this.model.codeNaf,disabled:!0}),isHebergementCollectif:this.fb.control({value:this.model.isHebergementCollectif,disabled:this.isDisabled}),nomHebergement:this.fb.control({value:this.model.nomHebergement,disabled:!this.model.isHebergementCollectif||this.isDisabled},[p.w.required]),typeAdresseHebergement:this.fb.control({value:this.model.hebergementCollectif.type,disabled:!this.model.isHebergementCollectif||this.isDisabled},[p.w.required]),hebergementCollectif:new W(this.fb,this.model.hebergementCollectif,this.countries,!this.model.isHebergementCollectif||this.isDisabled).build(),isSavedInArray:this.fb.control(!0)});return t.get("adresse").setValidators(()=>k.a.coordonneesValidator(t.get("typeAdresse").value,t.get("adresse"))),t.get("hebergementCollectif").setValidators(()=>k.a.coordonneesValidator(t.get("typeAdresseHebergement").value,t.get("hebergementCollectif"))),t.get("isSavedInArray").setValidators(()=>k.a.isSavedInArray(t.get("isSavedInArray").value)),t}}class $ extends g.a{constructor(t,e,n,i){super(t),this.fb=t,this.model=e,this.countries=n,this.isDisabled=i}build(){return this.form=this.fb.group({locations:this.fb.array(this.model.map(t=>new Z(this.fb,t,this.countries,this.isDisabled).build()),[p.w.required])}),this.form}}class X extends g.a{constructor(t,e,n,i,a){super(t),this.fb=t,this.model=e,this.numeroModele=n,this.activities=i,this.isDisabled=a}build(){return this.form=this.fb.group({activities:new P(this.fb,this.model.activites,this.numeroModele,this.activities,this.isDisabled).build(),isMaterialDangereux:this.fb.control(this.model.dangereux.actif,[p.w.required]),materielsDangereuxList:this.fb.control({value:this.model.dangereux.valeur,disabled:!this.model.dangereux.actif},{validators:[p.w.required],updateOn:"blur"}),horaireDebut:this.fb.control({value:this.model.horaireDebut,disabled:this.model.horairesAtypiques},[p.w.required,p.w.pattern("^([01][0-9]|2[0-3]):[0-5][0-9]$")]),horaireFin:this.fb.control({value:this.model.horaireFin,disabled:this.model.horairesAtypiques},[p.w.required,p.w.pattern("^([01][0-9]|2[0-3]):[0-5][0-9]$")]),nbJoursRepos:this.fb.control(this.model.nbJoursRepos,[p.w.required,p.w.pattern("^[0-6]$"),p.w.min(0),p.w.max(6)]),horairesAtypiques:this.fb.control(this.model.horairesAtypiques)}),this.form}}class K extends g.a{constructor(t,e,n,i,a){super(t),this.fb=t,this.dpd=e,this.user=n,this.countries=i,this.isDisabled=a,this.client=e.client,this.model=e.representant,this.foreignCompany=e.entrepriseEtrangere}build(){return this.form=this.fb.group({type:this.fb.control({value:this.getType(),disabled:this.isDisabled},[p.w.required]),idSalarie:this.fb.control(this.getIdSalarie()),personne:new M.a(this.fb,this.model.personne,this.countries,!0).build(),siret:this.fb.control({value:this.model.siret,disabled:!0},[p.w.required,p.w.pattern("[0-9]{14}")]),raisonSociale:this.fb.control({value:this.model.raisonSociale,disabled:!0},{validators:[p.w.required],updateOn:"blur"}),numTVA:this.fb.control({value:this.model.numTVA,disabled:!0},{validators:[p.w.required],updateOn:"blur"}),adresse:new W(this.fb,this.model.adresse,this.countries,!0).build(),telephone:this.fb.control({value:this.model.telephone,disabled:this.isDisabled||this.isUserMandataire},{validators:[p.w.required],updateOn:"blur"}),email:this.fb.control({value:this.model.email,disabled:this.isDisabled||this.isUserMandataire},[p.w.required,p.w.maxLength(256),p.w.email]),conservation:this.fb.control({value:this.getConservation(),disabled:!1},[p.w.required])}),this.form}get isUserMandataire(){return this.user.role===A.a.MANDATAIRE}getType(){return this.isUserMandataire||4===this.dpd.numeroModele?E.a.MANDATAIRE:this.model.type}getIdSalarie(){const t=this.dpd.salaries.filter(t=>t.nom===this.model.personne.nom&&t.prenom===this.model.personne.prenom&&t.dateNaissance===this.model.personne.dateNaissance);if(t.length>1)console.error(t.length+" workers have the same lastname, firstname and date of birth, we don't know which one is the Representative. The first one has been chosen.");else if(0===t.length)return null;return t[0].id}getConservation(){return 4===this.dpd.numeroModele?D.a.REPRESENTANT:this.model.conservation}}class Q extends g.a{constructor(t,e,n,i,a,r){super(t),this.fb=t,this.model=e,this.countries=n,this.isDisabled=i,this.numeroModele=a,this.isSavedInArray=r}build(){return this.form=this.fb.group({id:this.fb.control(this.model.id),sexe:this.fb.control({value:this.model.sexe,disabled:this.isDisabled},[p.w.required]),identite:new M.a(this.fb,this.model,this.countries,this.isDisabled).build(),nationalite:this.fb.control({value:this.countries.find(t=>t.code===this.model.nationalite),disabled:this.isDisabled},[p.w.required]),adresse:new W(this.fb,this.model.adresse,this.countries,this.isDisabled,7!==this.numeroModele).build(),paysSecu:this.fb.control({value:this.countries.find(t=>t.code===this.model.paysSecu),disabled:this.isDisabled},[...this.getSecuCountryValidators()]),dateContrat:this.fb.control({value:this.model.dateContrat,disabled:this.isDisabled}),dateDebut:this.fb.control({value:this.model.dateDebut,disabled:this.isDisabled}),dateFin:this.fb.control({value:this.model.dateFin,disabled:this.isDisabled}),isDetachementLongueDuree:this.fb.control({value:this.model.isDetachementLongueDuree,disabled:this.isDisabled}),motifLongueDuree:this.fb.control({value:this.model.motifLongueDuree,disabled:this.isDisabled||!this.model.isDetachementLongueDuree},[p.w.required,p.w.maxLength(f.a.LONG_PERIOD_MOTIVE)]),emploi:this.fb.control({value:this.model.emploi,disabled:this.isDisabled},[...this.getSecuCountryValidators()]),qualification:this.fb.control({value:this.model.qualification,disabled:this.isDisabled},[...this.getSecuCountryValidators()]),salaire:this.fb.control({value:this.model.salaire,disabled:this.isDisabled||this.model.salaireSpecifique},[...this.getSecuCountryValidators()]),salaireSpecifique:this.fb.control({value:this.model.salaireSpecifique,disabled:this.isDisabled}),paysRegistre:this.fb.control({value:this.countries.find(t=>t.code===this.model.paysRegistre),disabled:this.isPaysRegistreDisabled()},{validators:4===this.numeroModele?[p.w.required]:[]}),isSavedInDpd:this.fb.control(this.model.isSavedInDpd),isSavedInArray:this.fb.control(this.isSavedInArray)}),this.form.get("dateDebut").setValidators([p.w.required,p.w.maxLength(f.a.COMMON),()=>k.a.dateDebut(this.form.get("dateDebut").value,this.form.get("dateFin").value,!1)]),this.form.get("dateFin").setValidators([p.w.required,p.w.maxLength(f.a.COMMON),()=>k.a.dateFin(this.form.get("dateDebut").value,this.form.get("dateFin").value,!1)]),this.form.get("dateContrat").setValidators([...this.getSecuCountryValidators(),()=>k.a.dateContrat(this.form.get("dateDebut").value,this.form.get("dateContrat").value)]),this.form.get("isSavedInArray").setValidators([()=>k.a.isSavedInArray(this.form.get("isSavedInArray").value)]),this.form}getSecuCountryValidators(){return 7!==this.numeroModele?[p.w.required,p.w.maxLength(f.a.COMMON)]:[]}isPaysRegistreDisabled(){return this.isDisabled||4!==this.numeroModele}}class tt extends g.a{constructor(t,e,n,i,a,r,o){super(t),this.fb=t,this.model=e,this.countries=n,this.isDisabled=i,this.numeroModele=a,this.dateDebut=r,this.dateFin=o}build(){return this.form=this.fb.group({dateDebut:this.fb.control({value:this.dateDebut,disabled:!0}),dateFin:this.fb.control({value:this.dateFin,disabled:!0}),workers:this.fb.array(this.model.map(t=>new Q(this.fb,t,this.countries,this.isDisabled,this.numeroModele,!0).build()),[p.w.required,k.a.makeUnicityWorkersValidators()])},{validators:k.a.prestationDatesValidator}),this.form}}class et{constructor(t,e,n,i,a){this.fb=t,this.user=e,this.dpd=n,this.countries=i,this.activities=a}build(){return this.form=this.fb.group({title:this.fb.control(this.dpd.titre),foreignCompanyStep:new J(this.fb,this.getForeignCompany(),this.countries,this.isForeignCompanyDisabled(),this.dpd.numeroModele).build(),expensesStep:new G(this.fb,this.getExpenses(),this.isExpensesDisabled()).build(),singleWorkerStep:new Q(this.fb,this.getSingleWorker(),this.countries,this.isSingleWorkerDisabled(),this.dpd.numeroModele,!0).build(),workersStep:new tt(this.fb,this.getWorkers(),this.countries,this.areWorkersDisabled(),this.dpd.numeroModele,this.dpd.prestation.dateDebut,this.dpd.prestation.dateFin).build(),representativeStep:new K(this.fb,this.dpd,this.user,this.countries,this.isRepresentativeDisabled()).build(),clientStep:new q(this.fb,this.getClient(),this.countries,this.isClientDisabled()).build(),locationsStep:new $(this.fb,this.getLocations(),this.countries,this.areLocationsDisabled()).build(),prestationStep:new X(this.fb,this.getPrestation(),this.dpd.numeroModele,this.activities,this.isPrestationDisabled()).build()}),this.form}getForeignCompany(){let t;return this.user.role===A.a.ENTREPRISE?(t=this.user.entreprise,t.organisme=this.dpd.entrepriseEtrangere?this.dpd.entrepriseEtrangere.organisme:null):t=this.dpd.entrepriseEtrangere,t}getPrestation(){return this.dpd.prestation?this.dpd.prestation:new z.a({})}getExpenses(){return this.dpd.frais?this.dpd.frais:new F.a({})}getSingleWorker(){return this.dpd.salaries[0]?this.dpd.salaries[0]:new h.a({})}getWorkers(){return this.dpd.salaries?this.dpd.salaries:[new h.a({})]}getClient(){if(this.user.role===A.a.DONNEUR_ORDRE){const t=V.a.convertCompanyToClient(this.user.entreprise);return new j.a(t)}return new j.a(this.dpd.client?this.dpd.client:{})}getLocations(){return this.dpd.prestation.lieus?this.dpd.prestation.lieus:[]}isForeignCompanyDisabled(){return this.user.role===A.a.ENTREPRISE}isExpensesDisabled(){return!1}isSingleWorkerDisabled(){return!1}areWorkersDisabled(){return!1}isClientDisabled(){return this.user.role===A.a.DONNEUR_ORDRE}isRepresentativeDisabled(){return 7===this.dpd.numeroModele}areLocationsDisabled(){return!1}isPrestationDisabled(){return!1}}var nt=n("JRaP"),it=n("71J3");class at{constructor(t){t&&Object.keys(t).forEach(e=>{this[e]=t[e]})}}var rt=n("hGT6"),ot=n("f4AX"),st=n("GH2U"),lt=n("cXaA"),ct=n("05l1"),dt=n("x+ZX"),ut=n("IheW");let ht=(()=>{class t{constructor(t){this.http=t,this.log=lt.a.create("ActivityService"),this.END_POINT="/api/activites"}getActivities(){const t=`${this.END_POINT}?langue=${localStorage.getItem("lang")}`;return this.log.data(`[HTTP] (GET) -> ${t}`),this.http.get(t).pipe(Object(ct.a)(),Object(dt.a)())}}return t.\u0275fac=function(e){return new(e||t)(o.Xb(ut.b))},t.\u0275prov=o.Jb({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();var mt=n("zaPX"),pt=n("bKjt"),ft=n("WiJD");let gt=(()=>{class t{constructor(t){this.http=t,this.log=lt.a.create("QualificationService"),this.END_POINT="/api/qualifications"}getQualifications(){const t=this.END_POINT;return this.log.data(`[HTTP] (GET) -> ${t}`),this.http.get(t).pipe(Object(ct.a)(),Object(dt.a)())}getQualificationsActives(){return this.getQualifications().pipe(Object(u.a)(t=>t.filter(t=>!0===t.actif)))}getQualificationFromCode(t){const e=`${this.END_POINT}/${t}`;return this.log.data(`[HTTP] (GET) -> ${e}`),this.http.get(e)}}return t.\u0275fac=function(e){return new(e||t)(o.Xb(ut.b))},t.\u0275prov=o.Jb({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();var bt=n("keau");let _t=(()=>{class t{constructor(t,e,n,i,a,r,o,s,l){this.fb=t,this.userService=e,this.declarationService=n,this.activityService=i,this.configSharedService=a,this.countryService=r,this.configurationService=o,this.qualificationService=s,this.sireneService=l}resolve(t){return Object(c.a)([this.userService.getUser(),this.activityService.getActivities(),this.countryService.getCountries(),this.getDeclaration(t),this.configurationService.getAutocompleteCommuneTimeLimit(),this.configurationService.getAutocompleteCommuneNbMax(),this.configurationService.getAutocompleteDpdTimeLimit(),this.configurationService.getAutocompleteDpdNbMax(),this.configurationService.getSiteKey(),this.qualificationService.getQualificationsActives()]).pipe(Object(u.a)(([e,n,i,a,r,o,s,l,c,d])=>{const u=t.data.mode;let h;if(u===nt.a.COMPLETION){const t=a.salaries.map(t=>(t.isSavedInDpd=!0,t));h=new it.a(Object.assign(Object.assign({},a),{salaries:t})),this.configSharedService.setForm(new H(this.fb,e,h,i,n,7===a.numeroModele).build())}else h=new it.a(a),this.configSharedService.setForm(new et(this.fb,e,new it.a(a),i,n).build());return this.configSharedService.setUser(e),this.configSharedService.setDPD(h),this.configSharedService.setCountries(i),this.configSharedService.setMode(u),this.configSharedService.setActivities(n),this.configSharedService.setAutocompleteCommuneTimeLimit(r),this.configSharedService.setAutocompleteCommuneNbMax(o),this.configSharedService.setAutocompleteDpdTimeLimit(s),this.configSharedService.setAutocompleteDpdNbMax(l),this.configSharedService.setSiteKey(c),this.configSharedService.setQualifications(d),this.configSharedService.setWorkerIndex(null),this.configSharedService.setLocationIndex(null),this.sireneService.setSiret(h.representant.siret),this.configSharedService.setlastSavedWorkersArrayRawValue(this.configSharedService.form.get(rt.a.WORKERS).get("workers").getRawValue()),this.configSharedService.setLastSavedLocationsArrayRawValue(this.configSharedService.form.get(rt.a.LOCATIONS).get("locations").getRawValue()),new at({user:e,activities:n,dpd:h})}))}getDeclaration(t){const e=t.data.mode;if(e===nt.a.CREATE)return this.createDeclaration(t.params.model);if(e===nt.a.UPDATE||e===nt.a.COMPLETION)return this.fetchDeclaration(t.params.code);if(e===nt.a.DUPLICATE)return this.duplicateDeclaration(t.params.code);throw new Error("Mode not work")}createDeclaration(t){return Object(d.a)(new it.a({numeroModele:+t}))}fetchDeclaration(t){return this.declarationService.getDeclaration(t)}duplicateDeclaration(t){return this.declarationService.getDeclaration(t).pipe(Object(u.a)(t=>(t.id=null,t.titre=null,t.code=null,t.etat=null,t.dateEtat=null,t.prestation.dateDebut=null,t.prestation.dateFin=null,t.salaries.forEach(t=>{t.dateDebut=null,t.dateFin=null,t.isDetachementLongueDuree=!1,t.motifLongueDuree=null}),t)))}}return t.\u0275fac=function(e){return new(e||t)(o.Xb(p.d),o.Xb(ot.a),o.Xb(st.a),o.Xb(ht),o.Xb(mt.a),o.Xb(pt.a),o.Xb(ft.a),o.Xb(gt),o.Xb(bt.a))},t.\u0275prov=o.Jb({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();var yt=n("IGtN");let vt=(()=>{class t extends yt.a{unloadNotification(t){if("fo.sipsi.dev.jv-its"===window.location.host)return;const e=this.canNotLeave();return"string"==typeof e?(t&&(t.returnValue=e),e):void 0}}return t.\u0275fac=function(e){return Ct(e||t)},t.\u0275cmp=o.Hb({type:t,selectors:[["ng-component"]],hostBindings:function(t,e){1&t&&o.bc("beforeunload",function(t){return e.unloadNotification(t)},!1,o.xc)},features:[o.zb],decls:0,vars:0,template:function(t,e){},encapsulation:2}),t})();const Ct=o.Vb(vt);var wt=n("PTv7"),xt=n("TSSN"),Mt=n("iELJ"),Ot=n("q6Qu"),kt=n("Dxy4"),St=n("Q2Ze"),Tt=n("e6WT"),Pt=n("mFvv");function Lt(t,e){if(1&t){const t=o.Ub();o.Tb(0,"div",2),o.Ob(1,"h1",3),o.Tb(2,"button",4),o.bc("click",function(){return o.yc(t),o.fc().back()}),o.Hc(3),o.gc(4,"translate"),o.Sb(),o.Sb()}2&t&&(o.Cb(3),o.Ic(o.hc(4,1,"common.accueil.revenir")))}function Dt(t,e){if(1&t&&(o.Tb(0,"form",5),o.Tb(1,"h1",6),o.Hc(2),o.gc(3,"translate"),o.Sb(),o.Tb(4,"h2",7),o.Tb(5,"span"),o.Hc(6),o.gc(7,"translate"),o.Sb(),o.Tb(8,"div",8),o.Hc(9,"\xa0\u2013\xa0"),o.Sb(),o.Tb(10,"span"),o.Hc(11),o.Sb(),o.Sb(),o.Tb(12,"div",9),o.Tb(13,"mat-form-field"),o.Ob(14,"input",10),o.Sb(),o.Sb(),o.Tb(15,"div",11),o.Tb(16,"div",12),o.Ob(17,"app-navigation"),o.Sb(),o.Tb(18,"div",13),o.Ob(19,"router-outlet",14),o.Sb(),o.Sb(),o.Sb()),2&t){const t=o.fc();o.nc("formGroup",t.form),o.Cb(2),o.Ic(o.hc(3,4,"dpd.show.titre")),o.Cb(4),o.Ic(o.hc(7,6,"dpd.modele."+t.numeroModele)),o.Cb(5),o.Ic(t.getModeTitle())}}let Et=(()=>{class t extends vt{constructor(t,e,n,i){super(t),this.translateService=t,this.router=e,this.configSharedService=n,this.dialog=i}load(){this.numeroModele=this.configSharedService.numeroModele.toString(),this.form=this.configSharedService.form,this.mode=this.configSharedService.mode}canDeactivate(){return!this.configSharedService.preventLeave||this.dialog.open(wt.a,{data:{title:"",question:this.translateService.instant("dpd.confirm.close"),okButtonText:this.translateService.instant("common.oui"),cancelButtonText:this.translateService.instant("common.non"),hasCaptcha:!1},id:"dpd-exit"}).afterClosed().pipe(Object(u.a)(t=>!0===t))}canNotLeave(){throw new Error("Method not implemented.")}back(){this.router.navigate(["/"])}getModeTitle(){let t="";switch(this.mode){case nt.a.CREATE:case nt.a.UPDATE:case nt.a.DUPLICATE:t=this.translateService.instant("dpd.mode.edition");break;case nt.a.COMPLETION:t=this.translateService.instant("dpd.mode.completion")}return t}}return t.\u0275fac=function(e){return new(e||t)(o.Nb(xt.d),o.Nb(r.f),o.Nb(mt.a),o.Nb(Mt.b))},t.\u0275cmp=o.Hb({type:t,selectors:[["app-dpd-edit2"]],features:[o.zb],decls:3,vars:2,consts:[["class","not-found",4,"ngIf","ngIfElse"],["editComponent",""],[1,"not-found"],["appLabel","dpd.introuvable"],["mat-raised-button","","aria-label","back","color","primary",3,"click"],["id","dpd-edit",3,"formGroup"],[1,"title1"],[1,"title2"],[1,"dash"],[1,"dpd-title"],["matInput","","type","text","name","titre","appLabel","dpd.intitule","formControlName","title"],[1,"dpd-menu-form"],[1,"dpd-sidebar"],[1,"dpd-form","mat-elevation-z2"],["name","onglet"]],template:function(t,e){if(1&t&&(o.Fc(0,Lt,5,3,"div",0),o.Fc(1,Dt,20,8,"ng-template",null,1,o.Gc)),2&t){const t=o.vc(2);o.nc("ngIf",!e.form)("ngIfElse",t)}},directives:[i.l,Ot.a,kt.a,p.x,p.p,p.i,St.c,Tt.b,p.c,p.o,p.g,Pt.a,r.k],pipes:[xt.c],styles:[".mat-badge-content[_ngcontent-%COMP%]{font-weight:600;font-size:12px;font-family:Roboto,Helvetica Neue,sans-serif}.mat-badge-small[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{font-size:9px}.mat-badge-large[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{font-size:24px}.mat-h1[_ngcontent-%COMP%], .mat-headline[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font:400 24px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h2[_ngcontent-%COMP%], .mat-title[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font:500 20px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h3[_ngcontent-%COMP%], .mat-subheading-2[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font:400 16px/28px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h4[_ngcontent-%COMP%], .mat-subheading-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{font:400 15px/24px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h5[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{font:400 calc(14px * .83)/20px Roboto,Helvetica Neue,sans-serif;margin:0 0 12px}.mat-h6[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font:400 calc(14px * .67)/20px Roboto,Helvetica Neue,sans-serif;margin:0 0 12px}.mat-body-2[_ngcontent-%COMP%], .mat-body-strong[_ngcontent-%COMP%]{font:500 14px/24px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-body[_ngcontent-%COMP%], .mat-body-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%]{font:400 14px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-body-1[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .mat-body[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0 0 12px}.mat-caption[_ngcontent-%COMP%], .mat-small[_ngcontent-%COMP%]{font:400 12px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-display-4[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-4[_ngcontent-%COMP%]{font:300 112px/112px Roboto,Helvetica Neue,sans-serif;letter-spacing:-.05em;margin:0 0 56px}.mat-display-3[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-3[_ngcontent-%COMP%]{font:400 56px/56px Roboto,Helvetica Neue,sans-serif;letter-spacing:-.02em;margin:0 0 64px}.mat-display-2[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-2[_ngcontent-%COMP%]{font:400 45px/48px Roboto,Helvetica Neue,sans-serif;letter-spacing:-.005em;margin:0 0 64px}.mat-display-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-1[_ngcontent-%COMP%]{font:400 34px/40px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 64px}.mat-bottom-sheet-container[_ngcontent-%COMP%]{font:400 14px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-button[_ngcontent-%COMP%], .mat-fab[_ngcontent-%COMP%], .mat-flat-button[_ngcontent-%COMP%], .mat-icon-button[_ngcontent-%COMP%], .mat-mini-fab[_ngcontent-%COMP%], .mat-raised-button[_ngcontent-%COMP%], .mat-stroked-button[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:500}.mat-button-toggle[_ngcontent-%COMP%], .mat-card[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-card-title[_ngcontent-%COMP%]{font-size:24px;font-weight:500}.mat-card-header[_ngcontent-%COMP%] .mat-card-title[_ngcontent-%COMP%]{font-size:20px}.mat-card-content[_ngcontent-%COMP%], .mat-card-subtitle[_ngcontent-%COMP%]{font-size:14px}.mat-checkbox[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-checkbox-layout[_ngcontent-%COMP%] .mat-checkbox-label[_ngcontent-%COMP%]{line-height:24px}.mat-chip[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.mat-chip[_ngcontent-%COMP%] .mat-chip-remove.mat-icon[_ngcontent-%COMP%], .mat-chip[_ngcontent-%COMP%] .mat-chip-trailing-icon.mat-icon[_ngcontent-%COMP%]{font-size:18px}.mat-table[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-header-cell[_ngcontent-%COMP%]{font-size:12px;font-weight:500}.mat-cell[_ngcontent-%COMP%], .mat-footer-cell[_ngcontent-%COMP%]{font-size:14px}.mat-calendar[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-calendar-body[_ngcontent-%COMP%]{font-size:13px}.mat-calendar-body-label[_ngcontent-%COMP%], .mat-calendar-period-button[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.mat-calendar-table-header[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{font-size:11px;font-weight:400}.mat-dialog-title[_ngcontent-%COMP%]{font:500 20px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-expansion-panel-header[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:15px;font-weight:400}.mat-expansion-panel-content[_ngcontent-%COMP%]{font:400 14px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-form-field[_ngcontent-%COMP%]{font-size:inherit;font-weight:400;line-height:1.125;font-family:Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-form-field-wrapper[_ngcontent-%COMP%]{padding-bottom:1.34375em}.mat-form-field-prefix[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%], .mat-form-field-suffix[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{font-size:150%;line-height:1.125}.mat-form-field-prefix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%], .mat-form-field-suffix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%]{height:1.5em;width:1.5em}.mat-form-field-prefix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%], .mat-form-field-suffix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{height:1.125em;line-height:1.125}.mat-form-field-infix[_ngcontent-%COMP%]{padding:.5em 0;border-top:.84375em solid rgba(0,0,0,0)}.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-1.34375em) scale(.75);transform:translateY(-1.34375em) scale(.75);width:133.3333333333%}.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-1.34374em) scale(.75);transform:translateY(-1.34374em) scale(.75);width:133.3333433333%}.mat-form-field-label-wrapper[_ngcontent-%COMP%]{top:-.84375em;padding-top:.84375em}.mat-form-field-label[_ngcontent-%COMP%]{top:1.34375em}.mat-form-field-underline[_ngcontent-%COMP%]{bottom:1.34375em}.mat-form-field-subscript-wrapper[_ngcontent-%COMP%]{font-size:75%;margin-top:.6666666667em;top:calc(100% - 1.7916666667em)}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-wrapper[_ngcontent-%COMP%]{padding-bottom:1.25em}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]{padding:.4375em 0}.mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.001px);-ms-transform:translateY(-1.28125em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-form-field-autofill-control[_ngcontent-%COMP%]:-webkit-autofill + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00101px);-ms-transform:translateY(-1.28124em) scale(.75);width:133.3333433333%}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00102px);-ms-transform:translateY(-1.28123em) scale(.75);width:133.3333533333%}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{top:1.28125em}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]{bottom:1.25em}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-subscript-wrapper[_ngcontent-%COMP%]{margin-top:.5416666667em;top:calc(100% - 1.6666666667em)}@media print{.mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-1.28122em) scale(.75);transform:translateY(-1.28122em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-form-field-autofill-control[_ngcontent-%COMP%]:-webkit-autofill + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{transform:translateY(-1.28121em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-1.2812em) scale(.75);transform:translateY(-1.2812em) scale(.75)}}.mat-form-field-appearance-fill[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]{padding:.25em 0 .75em}.mat-form-field-appearance-fill[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{top:1.09375em;margin-top:-.5em}.mat-form-field-appearance-fill.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-fill.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-.59375em) scale(.75);transform:translateY(-.59375em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-fill.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-.59374em) scale(.75);transform:translateY(-.59374em) scale(.75);width:133.3333433333%}.mat-form-field-appearance-outline[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]{padding:1em 0}.mat-form-field-appearance-outline[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{top:1.84375em;margin-top:-.25em}.mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-outline.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-1.59375em) scale(.75);transform:translateY(-1.59375em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-outline.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-1.59374em) scale(.75);transform:translateY(-1.59374em) scale(.75);width:133.3333433333%}.mat-grid-tile-footer[_ngcontent-%COMP%], .mat-grid-tile-header[_ngcontent-%COMP%]{font-size:14px}.mat-grid-tile-footer[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%], .mat-grid-tile-header[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-grid-tile-footer[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2), .mat-grid-tile-header[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:12px}input.mat-input-element[_ngcontent-%COMP%]{margin-top:-.0625em}.mat-menu-item[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:400}.mat-paginator[_ngcontent-%COMP%], .mat-paginator-page-size[_ngcontent-%COMP%] .mat-select-trigger[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:12px}.mat-radio-button[_ngcontent-%COMP%], .mat-select[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-select-trigger[_ngcontent-%COMP%]{height:1.125em}.mat-slide-toggle-content[_ngcontent-%COMP%], .mat-slider-thumb-label-text[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-slider-thumb-label-text[_ngcontent-%COMP%]{font-size:12px;font-weight:500}.mat-stepper-horizontal[_ngcontent-%COMP%], .mat-stepper-vertical[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-step-label[_ngcontent-%COMP%]{font-size:14px;font-weight:400}.mat-step-sub-label-error[_ngcontent-%COMP%]{font-weight:400}.mat-step-label-error[_ngcontent-%COMP%]{font-size:14px}.mat-step-label-selected[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.mat-tab-group[_ngcontent-%COMP%], .mat-tab-label[_ngcontent-%COMP%], .mat-tab-link[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-tab-label[_ngcontent-%COMP%], .mat-tab-link[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.mat-toolbar[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font:500 20px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0}.mat-tooltip[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:10px;padding-top:6px;padding-bottom:6px}.mat-tooltip-handset[_ngcontent-%COMP%]{font-size:14px;padding-top:8px;padding-bottom:8px}.mat-list-item[_ngcontent-%COMP%], .mat-list-option[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]{font-size:16px}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:14px}.mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%]{font-size:16px}.mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:14px}.mat-list-base[_ngcontent-%COMP%] .mat-subheader[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:500}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]{font-size:12px}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2), .mat-list-base[dense][_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%]{font-size:12px}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:12px}.mat-list-base[dense][_ngcontent-%COMP%] .mat-subheader[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:12px;font-weight:500}.mat-option[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:16px}.mat-optgroup-label[_ngcontent-%COMP%]{font:500 14px/24px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-simple-snackbar[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px}.mat-simple-snackbar-action[_ngcontent-%COMP%]{line-height:1;font-family:inherit;font-size:inherit;font-weight:500}.mat-tree[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-nested-tree-node[_ngcontent-%COMP%], .mat-tree-node[_ngcontent-%COMP%]{font-weight:400;font-size:14px}.mat-ripple[_ngcontent-%COMP%]{overflow:hidden;position:relative}.mat-ripple[_ngcontent-%COMP%]:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded[_ngcontent-%COMP%]{overflow:visible}.mat-ripple-element[_ngcontent-%COMP%]{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0,0,.2,1);-ms-transform:scale(0);transform:scale(0)}.cdk-high-contrast-active[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{display:none}.cdk-visually-hidden[_ngcontent-%COMP%]{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;outline:0;-webkit-appearance:none;-moz-appearance:none}.cdk-global-overlay-wrapper[_ngcontent-%COMP%], .cdk-overlay-container[_ngcontent-%COMP%]{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container[_ngcontent-%COMP%]{position:fixed;z-index:1000}.cdk-overlay-container[_ngcontent-%COMP%]:empty{display:none}.cdk-global-overlay-wrapper[_ngcontent-%COMP%], .cdk-overlay-pane[_ngcontent-%COMP%]{display:-ms-flexbox;display:flex;position:absolute;z-index:1000}.cdk-overlay-pane[_ngcontent-%COMP%]{pointer-events:auto;box-sizing:border-box;max-width:100%;max-height:100%}.cdk-overlay-backdrop[_ngcontent-%COMP%]{position:absolute;top:0;bottom:0;left:0;right:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:transparent;transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:1}@media screen and (-ms-high-contrast:active){.cdk-overlay-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:.6}}.cdk-overlay-dark-backdrop[_ngcontent-%COMP%]{background:rgba(0,0,0,.32)}.cdk-overlay-transparent-backdrop[_ngcontent-%COMP%], .cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:0}.cdk-overlay-connected-position-bounding-box[_ngcontent-%COMP%]{position:absolute;z-index:1000;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock[_ngcontent-%COMP%]{position:fixed;width:100%;overflow-y:scroll}@-webkit-keyframes cdk-text-field-autofill-start{\n }@keyframes cdk-text-field-autofill-start{\n }@-webkit-keyframes cdk-text-field-autofill-end{\n }@keyframes cdk-text-field-autofill-end{\n }.cdk-text-field-autofill-monitored[_ngcontent-%COMP%]:-webkit-autofill{-webkit-animation:cdk-text-field-autofill-start 0s 1ms;animation:cdk-text-field-autofill-start 0s 1ms}.cdk-text-field-autofill-monitored[_ngcontent-%COMP%]:not(:-webkit-autofill){-webkit-animation:cdk-text-field-autofill-end 0s 1ms;animation:cdk-text-field-autofill-end 0s 1ms}textarea.cdk-textarea-autosize[_ngcontent-%COMP%]{resize:none}textarea.cdk-textarea-autosize-measuring[_ngcontent-%COMP%]{padding:2px 0!important;box-sizing:content-box!important;height:auto!important;overflow:hidden!important}textarea.cdk-textarea-autosize-measuring-firefox[_ngcontent-%COMP%]{padding:2px 0!important;box-sizing:content-box!important;height:0!important}.mat-focus-indicator[_ngcontent-%COMP%], .mat-mdc-focus-indicator[_ngcontent-%COMP%]{position:relative}#dpd-edit[_ngcontent-%COMP%]{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}#dpd-edit[_ngcontent-%COMP%] .title1[_ngcontent-%COMP%]{font-size:2rem;margin:12px 0 0}#dpd-edit[_ngcontent-%COMP%] .title2[_ngcontent-%COMP%]{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}#dpd-edit[_ngcontent-%COMP%] .title2[_ngcontent-%COMP%] .dash[_ngcontent-%COMP%]{padding-bottom:1.74px}#dpd-edit[_ngcontent-%COMP%] .dpd-title[_ngcontent-%COMP%]{width:500px;margin-bottom:8px}#dpd-edit[_ngcontent-%COMP%] .dpd-title[_ngcontent-%COMP%] mat-form-field[_ngcontent-%COMP%]{width:100%}#dpd-edit[_ngcontent-%COMP%] .dpd-menu-form[_ngcontent-%COMP%]{display:-ms-flexbox;display:flex;width:100%}#dpd-edit[_ngcontent-%COMP%] .dpd-menu-form[_ngcontent-%COMP%] .dpd-sidebar[_ngcontent-%COMP%]{position:fixed;margin:0 12px;width:24rem}#dpd-edit[_ngcontent-%COMP%] .dpd-menu-form[_ngcontent-%COMP%] .dpd-form[_ngcontent-%COMP%]{-ms-flex:1;flex:1;margin:0 12px 0 calc(24rem + 24px);padding:12px;background:#fff}.not-found[_ngcontent-%COMP%]{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center}@media screen and (max-height:820px){#dpd-edit[_ngcontent-%COMP%] .title1[_ngcontent-%COMP%]{font-size:1.7rem;margin-left:calc(24rem - 2rem)}#dpd-edit[_ngcontent-%COMP%] .title2[_ngcontent-%COMP%]{font-size:1.3rem;margin-top:0;margin-bottom:0}#dpd-edit[_ngcontent-%COMP%] .dpd-title[_ngcontent-%COMP%], #dpd-edit[_ngcontent-%COMP%] .title2[_ngcontent-%COMP%]{margin-left:calc(24rem - 2rem)}#dpd-edit[_ngcontent-%COMP%] .dpd-menu-form[_ngcontent-%COMP%] .dpd-sidebar[_ngcontent-%COMP%]{width:24rem}#dpd-edit[_ngcontent-%COMP%] .dpd-menu-form[_ngcontent-%COMP%] .dpd-form[_ngcontent-%COMP%]{margin-left:calc(24rem + 24px)}#dpd-edit[_ngcontent-%COMP%] .dpd-menu-form[_ngcontent-%COMP%] .dpd-menu[_ngcontent-%COMP%]{width:calc(24rem - 2rem)}}@media screen and (max-height:680px){.dpd-sidebar[_ngcontent-%COMP%]{margin-top:-4rem}}"]}),t})();var At=n("v/fa"),It=n("NVUN"),Rt=n("0MyW");function Nt(t,e){1&t&&(o.Tb(0,"span"),o.Hc(1),o.gc(2,"translate"),o.Sb()),2&t&&(o.Cb(1),o.Ic(o.hc(2,1,"dpd.lecture.seule")))}function Yt(t,e){1&t&&(o.Tb(0,"mat-error"),o.Hc(1),o.gc(2,"translate"),o.Sb()),2&t&&(o.Cb(1),o.Jc(" ",o.hc(2,1,"common.error.length")," "))}function Ht(t,e){1&t&&(o.Tb(0,"mat-error"),o.Hc(1),o.gc(2,"translate"),o.Sb()),2&t&&(o.Cb(1),o.Jc(" ",o.hc(2,1,"common.error.email")," "))}let jt=(()=>{class t extends At.a{constructor(t,e){super(t),this.translateService=t,this.configSharedService=e}load(){this.form=this.configSharedService.form.get(rt.a.CLIENT),this.numeroModele=this.configSharedService.numeroModele,this.isTitleDisplayed=this.form.get("title").disabled,this.isCompletion=this.configSharedService.mode===nt.a.COMPLETION}get clientFg(){return this.form.get("client")}}return t.\u0275fac=function(e){return new(e||t)(o.Nb(xt.d),o.Nb(mt.a))},t.\u0275cmp=o.Hb({type:t,selectors:[["app-dpd-edit-client-2"]],features:[o.zb],decls:12,vars:12,consts:[[3,"formGroup"],[4,"ngIf"],[3,"message"],[1,"box-margin"],[3,"formGp","modeDpd","completion","isAutocompleteDisabled"],[1,"full-width"],["matInput","","data-cy","email","name","email","formControlName","email","appLabel","common.email"]],template:function(t,e){1&t&&(o.Tb(0,"form",0),o.Tb(1,"h3"),o.Hc(2),o.gc(3,"translate"),o.Fc(4,Nt,3,3,"span",1),o.Ob(5,"app-infobulle",2),o.Sb(),o.Tb(6,"div",3),o.Ob(7,"app-client-form-2",4),o.Tb(8,"mat-form-field",5),o.Ob(9,"input",6),o.Fc(10,Yt,3,3,"mat-error",1),o.Fc(11,Ht,3,3,"mat-error",1),o.Sb(),o.Sb(),o.Sb()),2&t&&(o.nc("formGroup",e.form),o.Cb(2),o.Jc(" ",o.hc(3,10,"dpd.client.modele."+e.numeroModele)," "),o.Cb(2),o.nc("ngIf",e.isTitleDisplayed),o.Cb(1),o.pc("message","dpd.client.modele.",e.numeroModele,"._info"),o.Cb(2),o.nc("formGp",e.clientFg)("modeDpd",!0)("completion",e.isCompletion)("isAutocompleteDisabled",!1),o.Cb(3),o.nc("ngIf",e.doesControlHaveError("email","maxlength")),o.Cb(1),o.nc("ngIf",e.doesControlHaveError("email","email")))},directives:[p.x,p.p,p.i,i.l,It.a,Rt.a,St.c,Tt.b,p.c,p.o,p.g,Ot.a,St.b],pipes:[xt.c],styles:[".mat-badge-content[_ngcontent-%COMP%]{font-weight:600;font-size:12px;font-family:Roboto,Helvetica Neue,sans-serif}.mat-badge-small[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{font-size:9px}.mat-badge-large[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{font-size:24px}.mat-h1[_ngcontent-%COMP%], .mat-headline[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font:400 24px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h2[_ngcontent-%COMP%], .mat-title[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font:500 20px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h3[_ngcontent-%COMP%], .mat-subheading-2[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font:400 16px/28px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h4[_ngcontent-%COMP%], .mat-subheading-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{font:400 15px/24px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h5[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{font:400 calc(14px * .83)/20px Roboto,Helvetica Neue,sans-serif;margin:0 0 12px}.mat-h6[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font:400 calc(14px * .67)/20px Roboto,Helvetica Neue,sans-serif;margin:0 0 12px}.mat-body-2[_ngcontent-%COMP%], .mat-body-strong[_ngcontent-%COMP%]{font:500 14px/24px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-body[_ngcontent-%COMP%], .mat-body-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%]{font:400 14px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-body-1[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .mat-body[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0 0 12px}.mat-caption[_ngcontent-%COMP%], .mat-small[_ngcontent-%COMP%]{font:400 12px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-display-4[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-4[_ngcontent-%COMP%]{font:300 112px/112px Roboto,Helvetica Neue,sans-serif;letter-spacing:-.05em;margin:0 0 56px}.mat-display-3[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-3[_ngcontent-%COMP%]{font:400 56px/56px Roboto,Helvetica Neue,sans-serif;letter-spacing:-.02em;margin:0 0 64px}.mat-display-2[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-2[_ngcontent-%COMP%]{font:400 45px/48px Roboto,Helvetica Neue,sans-serif;letter-spacing:-.005em;margin:0 0 64px}.mat-display-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-1[_ngcontent-%COMP%]{font:400 34px/40px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 64px}.mat-bottom-sheet-container[_ngcontent-%COMP%]{font:400 14px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-button[_ngcontent-%COMP%], .mat-fab[_ngcontent-%COMP%], .mat-flat-button[_ngcontent-%COMP%], .mat-icon-button[_ngcontent-%COMP%], .mat-mini-fab[_ngcontent-%COMP%], .mat-raised-button[_ngcontent-%COMP%], .mat-stroked-button[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:500}.mat-button-toggle[_ngcontent-%COMP%], .mat-card[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-card-title[_ngcontent-%COMP%]{font-size:24px;font-weight:500}.mat-card-header[_ngcontent-%COMP%] .mat-card-title[_ngcontent-%COMP%]{font-size:20px}.mat-card-content[_ngcontent-%COMP%], .mat-card-subtitle[_ngcontent-%COMP%]{font-size:14px}.mat-checkbox[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-checkbox-layout[_ngcontent-%COMP%] .mat-checkbox-label[_ngcontent-%COMP%]{line-height:24px}.mat-chip[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.mat-chip[_ngcontent-%COMP%] .mat-chip-remove.mat-icon[_ngcontent-%COMP%], .mat-chip[_ngcontent-%COMP%] .mat-chip-trailing-icon.mat-icon[_ngcontent-%COMP%]{font-size:18px}.mat-table[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-header-cell[_ngcontent-%COMP%]{font-size:12px;font-weight:500}.mat-cell[_ngcontent-%COMP%], .mat-footer-cell[_ngcontent-%COMP%]{font-size:14px}.mat-calendar[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-calendar-body[_ngcontent-%COMP%]{font-size:13px}.mat-calendar-body-label[_ngcontent-%COMP%], .mat-calendar-period-button[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.mat-calendar-table-header[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{font-size:11px;font-weight:400}.mat-dialog-title[_ngcontent-%COMP%]{font:500 20px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-expansion-panel-header[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:15px;font-weight:400}.mat-expansion-panel-content[_ngcontent-%COMP%]{font:400 14px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-form-field[_ngcontent-%COMP%]{font-size:inherit;font-weight:400;line-height:1.125;font-family:Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-form-field-wrapper[_ngcontent-%COMP%]{padding-bottom:1.34375em}.mat-form-field-prefix[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%], .mat-form-field-suffix[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{font-size:150%;line-height:1.125}.mat-form-field-prefix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%], .mat-form-field-suffix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%]{height:1.5em;width:1.5em}.mat-form-field-prefix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%], .mat-form-field-suffix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{height:1.125em;line-height:1.125}.mat-form-field-infix[_ngcontent-%COMP%]{padding:.5em 0;border-top:.84375em solid rgba(0,0,0,0)}.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-1.34375em) scale(.75);transform:translateY(-1.34375em) scale(.75);width:133.3333333333%}.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-1.34374em) scale(.75);transform:translateY(-1.34374em) scale(.75);width:133.3333433333%}.mat-form-field-label-wrapper[_ngcontent-%COMP%]{top:-.84375em;padding-top:.84375em}.mat-form-field-label[_ngcontent-%COMP%]{top:1.34375em}.mat-form-field-underline[_ngcontent-%COMP%]{bottom:1.34375em}.mat-form-field-subscript-wrapper[_ngcontent-%COMP%]{font-size:75%;margin-top:.6666666667em;top:calc(100% - 1.7916666667em)}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-wrapper[_ngcontent-%COMP%]{padding-bottom:1.25em}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]{padding:.4375em 0}.mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.001px);-ms-transform:translateY(-1.28125em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-form-field-autofill-control[_ngcontent-%COMP%]:-webkit-autofill + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00101px);-ms-transform:translateY(-1.28124em) scale(.75);width:133.3333433333%}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00102px);-ms-transform:translateY(-1.28123em) scale(.75);width:133.3333533333%}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{top:1.28125em}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]{bottom:1.25em}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-subscript-wrapper[_ngcontent-%COMP%]{margin-top:.5416666667em;top:calc(100% - 1.6666666667em)}@media print{.mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-1.28122em) scale(.75);transform:translateY(-1.28122em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-form-field-autofill-control[_ngcontent-%COMP%]:-webkit-autofill + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{transform:translateY(-1.28121em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-1.2812em) scale(.75);transform:translateY(-1.2812em) scale(.75)}}.mat-form-field-appearance-fill[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]{padding:.25em 0 .75em}.mat-form-field-appearance-fill[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{top:1.09375em;margin-top:-.5em}.mat-form-field-appearance-fill.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-fill.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-.59375em) scale(.75);transform:translateY(-.59375em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-fill.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-.59374em) scale(.75);transform:translateY(-.59374em) scale(.75);width:133.3333433333%}.mat-form-field-appearance-outline[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]{padding:1em 0}.mat-form-field-appearance-outline[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{top:1.84375em;margin-top:-.25em}.mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-outline.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-1.59375em) scale(.75);transform:translateY(-1.59375em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-outline.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-1.59374em) scale(.75);transform:translateY(-1.59374em) scale(.75);width:133.3333433333%}.mat-grid-tile-footer[_ngcontent-%COMP%], .mat-grid-tile-header[_ngcontent-%COMP%]{font-size:14px}.mat-grid-tile-footer[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%], .mat-grid-tile-header[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-grid-tile-footer[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2), .mat-grid-tile-header[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:12px}input.mat-input-element[_ngcontent-%COMP%]{margin-top:-.0625em}.mat-menu-item[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:400}.mat-paginator[_ngcontent-%COMP%], .mat-paginator-page-size[_ngcontent-%COMP%] .mat-select-trigger[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:12px}.mat-radio-button[_ngcontent-%COMP%], .mat-select[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-select-trigger[_ngcontent-%COMP%]{height:1.125em}.mat-slide-toggle-content[_ngcontent-%COMP%], .mat-slider-thumb-label-text[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-slider-thumb-label-text[_ngcontent-%COMP%]{font-size:12px;font-weight:500}.mat-stepper-horizontal[_ngcontent-%COMP%], .mat-stepper-vertical[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-step-label[_ngcontent-%COMP%]{font-size:14px;font-weight:400}.mat-step-sub-label-error[_ngcontent-%COMP%]{font-weight:400}.mat-step-label-error[_ngcontent-%COMP%]{font-size:14px}.mat-step-label-selected[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.mat-tab-group[_ngcontent-%COMP%], .mat-tab-label[_ngcontent-%COMP%], .mat-tab-link[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-tab-label[_ngcontent-%COMP%], .mat-tab-link[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.mat-toolbar[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font:500 20px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0}.mat-tooltip[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:10px;padding-top:6px;padding-bottom:6px}.mat-tooltip-handset[_ngcontent-%COMP%]{font-size:14px;padding-top:8px;padding-bottom:8px}.mat-list-item[_ngcontent-%COMP%], .mat-list-option[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]{font-size:16px}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:14px}.mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%]{font-size:16px}.mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:14px}.mat-list-base[_ngcontent-%COMP%] .mat-subheader[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:500}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]{font-size:12px}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2), .mat-list-base[dense][_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%]{font-size:12px}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:12px}.mat-list-base[dense][_ngcontent-%COMP%] .mat-subheader[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:12px;font-weight:500}.mat-option[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:16px}.mat-optgroup-label[_ngcontent-%COMP%]{font:500 14px/24px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-simple-snackbar[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px}.mat-simple-snackbar-action[_ngcontent-%COMP%]{line-height:1;font-family:inherit;font-size:inherit;font-weight:500}.mat-tree[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-nested-tree-node[_ngcontent-%COMP%], .mat-tree-node[_ngcontent-%COMP%]{font-weight:400;font-size:14px}.mat-ripple[_ngcontent-%COMP%]{overflow:hidden;position:relative}.mat-ripple[_ngcontent-%COMP%]:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded[_ngcontent-%COMP%]{overflow:visible}.mat-ripple-element[_ngcontent-%COMP%]{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0,0,.2,1);-ms-transform:scale(0);transform:scale(0)}.cdk-high-contrast-active[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{display:none}.cdk-visually-hidden[_ngcontent-%COMP%]{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;outline:0;-webkit-appearance:none;-moz-appearance:none}.cdk-global-overlay-wrapper[_ngcontent-%COMP%], .cdk-overlay-container[_ngcontent-%COMP%]{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container[_ngcontent-%COMP%]{position:fixed;z-index:1000}.cdk-overlay-container[_ngcontent-%COMP%]:empty{display:none}.cdk-global-overlay-wrapper[_ngcontent-%COMP%], .cdk-overlay-pane[_ngcontent-%COMP%]{display:-ms-flexbox;display:flex;position:absolute;z-index:1000}.cdk-overlay-pane[_ngcontent-%COMP%]{pointer-events:auto;box-sizing:border-box;max-width:100%;max-height:100%}.cdk-overlay-backdrop[_ngcontent-%COMP%]{position:absolute;top:0;bottom:0;left:0;right:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:transparent;transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:1}@media screen and (-ms-high-contrast:active){.cdk-overlay-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:.6}}.cdk-overlay-dark-backdrop[_ngcontent-%COMP%]{background:rgba(0,0,0,.32)}.cdk-overlay-transparent-backdrop[_ngcontent-%COMP%], .cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:0}.cdk-overlay-connected-position-bounding-box[_ngcontent-%COMP%]{position:absolute;z-index:1000;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock[_ngcontent-%COMP%]{position:fixed;width:100%;overflow-y:scroll}@-webkit-keyframes cdk-text-field-autofill-start{\n }@keyframes cdk-text-field-autofill-start{\n }@-webkit-keyframes cdk-text-field-autofill-end{\n }@keyframes cdk-text-field-autofill-end{\n }.cdk-text-field-autofill-monitored[_ngcontent-%COMP%]:-webkit-autofill{-webkit-animation:cdk-text-field-autofill-start 0s 1ms;animation:cdk-text-field-autofill-start 0s 1ms}.cdk-text-field-autofill-monitored[_ngcontent-%COMP%]:not(:-webkit-autofill){-webkit-animation:cdk-text-field-autofill-end 0s 1ms;animation:cdk-text-field-autofill-end 0s 1ms}textarea.cdk-textarea-autosize[_ngcontent-%COMP%]{resize:none}textarea.cdk-textarea-autosize-measuring[_ngcontent-%COMP%]{padding:2px 0!important;box-sizing:content-box!important;height:auto!important;overflow:hidden!important}textarea.cdk-textarea-autosize-measuring-firefox[_ngcontent-%COMP%]{padding:2px 0!important;box-sizing:content-box!important;height:0!important}.mat-focus-indicator[_ngcontent-%COMP%], .mat-mdc-focus-indicator[_ngcontent-%COMP%]{position:relative}h3[_ngcontent-%COMP%]{margin:0 0 8px;padding-bottom:16px;border-bottom:1px solid #999}h3[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#ff9800;font-weight:400;font-size:1rem;padding-left:12px}.box-margin[_ngcontent-%COMP%]{margin:0 32px}.box-margin[_ngcontent-%COMP%] .full-width[_ngcontent-%COMP%]{width:100%}.box-margin[_ngcontent-%COMP%] .checkbox[_ngcontent-%COMP%]{padding:8px 0}"]}),t})();var Ft=n("zQhy"),zt=n("/o2W");function Vt(t,e){1&t&&(o.Tb(0,"mat-error"),o.Hc(1),o.gc(2,"translate"),o.Sb()),2&t&&(o.Cb(1),o.Jc(" ",o.hc(2,1,"common.error.requis")," "))}function Bt(t,e){if(1&t&&(o.Tb(0,"mat-form-field"),o.Ob(1,"input",23),o.Fc(2,Vt,3,3,"mat-error",9),o.Sb()),2&t){const t=o.fc();o.Cb(1),o.nc("min",1),o.Cb(1),o.nc("ngIf",t.doesControlHaveError("tripExpenses","required"))}}function Wt(t,e){1&t&&(o.Tb(0,"mat-error"),o.Hc(1),o.gc(2,"translate"),o.Sb()),2&t&&(o.Cb(1),o.Jc(" ",o.hc(2,1,"common.error.requis")," "))}function Ut(t,e){if(1&t&&(o.Tb(0,"mat-form-field"),o.Ob(1,"input",24),o.Fc(2,Wt,3,3,"mat-error",9),o.Sb()),2&t){const t=o.fc();o.Cb(1),o.nc("min",1),o.Cb(1),o.nc("ngIf",t.doesControlHaveError("foodExpenses","required"))}}function qt(t,e){1&t&&(o.Tb(0,"mat-error"),o.Hc(1),o.gc(2,"translate"),o.Sb()),2&t&&(o.Cb(1),o.Jc(" ",o.hc(2,1,"common.error.requis")," "))}function Gt(t,e){if(1&t&&(o.Tb(0,"mat-form-field"),o.Ob(1,"input",25),o.Fc(2,qt,3,3,"mat-error",9),o.Sb()),2&t){const t=o.fc();o.Cb(1),o.nc("min",1),o.Cb(1),o.nc("ngIf",t.doesControlHaveError("hostingExpenses","required"))}}let Jt=(()=>{class t extends yt.a{constructor(t,e){super(t),this.translateService=t,this.configSharedService=e,this.expenseType=C.a}load(){this.form=this.configSharedService.form.get(rt.a.EXPENSES),this.tripExpensesFg=this.getControlFromName("tripExpenses"),this.foodExpensesFg=this.getControlFromName("foodExpenses"),this.hostingExpensesFg=this.getControlFromName("hostingExpenses")}getControlFromName(t){return this.form.get(t)}doesControlHaveError(t,e){return this.getControlFromName(t).get("amount").getError(e)}getType(t){return this.getControlFromName(t).get("type").value}onExpenseTypeChange(t,e){const n=t.value;n&&(n===C.a.VERSEMENT?e.get("amount").enable():e.get("amount").disable())}}return t.\u0275fac=function(e){return new(e||t)(o.Nb(xt.d),o.Nb(mt.a))},t.\u0275cmp=o.Hb({type:t,selectors:[["app-dpd-edit-expenses-2"]],features:[o.zb],decls:30,vars:19,consts:[[3,"formGroup"],["appLabel","dpd.menu.frais"],[1,"box-margin"],[1,"expense-box"],["appLabel","dpd.frais.voyage"],["name","fraisVoyage","formControlName","type",1,"expense",3,"change"],["data-cy","voyage-frais-employeur","appLabel","dpd.frais.employeur","color","primary",1,"prisEnChargeChoice",3,"value"],["data-cy","voyage-frais-travailleur","appLabel","dpd.frais.travailleur","color","primary",1,"avancesChoice",3,"value"],["data-cy","voyage-frais-versement","appLabel","dpd.frais.versement","color","primary",1,"versementChoice",3,"value"],[4,"ngIf"],["data-cy","voyage-frais-autre","appLabel","dpd.frais.autre","color","primary",1,"autreChoice",3,"value"],["appLabel","dpd.frais.nourriture"],["name","fraisNourriture","formControlName","type",1,"expense",3,"change"],["data-cy","nourriture-frais-employeur","appLabel","dpd.frais.employeur","color","primary",1,"prisEnChargeChoice",3,"value"],["data-cy","nourriture-frais-travailleur","appLabel","dpd.frais.travailleur","color","primary",1,"avancesChoice",3,"value"],["data-cy","nourriture-frais-versement","appLabel","dpd.frais.versement","color","primary",1,"versementChoice",3,"value"],["data-cy","nourriture-frais-autre","appLabel","dpd.frais.autre","color","primary",1,"autreChoice",3,"value"],["appLabel","dpd.frais.hebergement"],["name","fraisHebergement","formControlName","type",1,"expense",3,"change"],["data-cy","hebergement-frais-employeur","appLabel","dpd.frais.employeur","color","primary",1,"prisEnChargeChoice",3,"value"],["data-cy","hebergement-frais-travailleur","appLabel","dpd.frais.travailleur","color","primary",1,"avancesChoice",3,"value"],["data-cy","hebergement-frais-versement","appLabel","dpd.frais.versement","color","primary",1,"versementChoice",3,"value"],["data-cy","hebergement-frais-autre","appLabel","dpd.frais.autre","color","primary",1,"autreChoice",3,"value"],["matInput","","data-cy","voyage-versement-montant","type","text","appNumber","float","appLabel","dpd.frais.versement.montant","formControlName","amount","required","",3,"min"],["matInput","","data-cy","nourriture-versement-montant","type","text","appNumber","float","appLabel","dpd.frais.versement.montant","formControlName","amount","required","",3,"min"],["matInput","","data-cy","hebergement-versement-montant","type","text","appNumber","float","appLabel","dpd.frais.versement.montant","formControlName","amount","required","",3,"min"]],template:function(t,e){1&t&&(o.Tb(0,"form",0),o.Ob(1,"h3",1),o.Tb(2,"div",2),o.Tb(3,"div",3),o.Ob(4,"h4",4),o.Tb(5,"form",0),o.Tb(6,"mat-radio-group",5),o.bc("change",function(t){return e.onExpenseTypeChange(t,e.tripExpensesFg)}),o.Ob(7,"mat-radio-button",6),o.Ob(8,"mat-radio-button",7),o.Ob(9,"mat-radio-button",8),o.Fc(10,Bt,3,2,"mat-form-field",9),o.Ob(11,"mat-radio-button",10),o.Sb(),o.Sb(),o.Sb(),o.Tb(12,"div",3),o.Ob(13,"h4",11),o.Tb(14,"form",0),o.Tb(15,"mat-radio-group",12),o.bc("change",function(t){return e.onExpenseTypeChange(t,e.foodExpensesFg)}),o.Ob(16,"mat-radio-button",13),o.Ob(17,"mat-radio-button",14),o.Ob(18,"mat-radio-button",15),o.Fc(19,Ut,3,2,"mat-form-field",9),o.Ob(20,"mat-radio-button",16),o.Sb(),o.Sb(),o.Sb(),o.Tb(21,"div",3),o.Ob(22,"h4",17),o.Tb(23,"form",0),o.Tb(24,"mat-radio-group",18),o.bc("change",function(t){return e.onExpenseTypeChange(t,e.hostingExpensesFg)}),o.Ob(25,"mat-radio-button",19),o.Ob(26,"mat-radio-button",20),o.Ob(27,"mat-radio-button",21),o.Fc(28,Gt,3,2,"mat-form-field",9),o.Ob(29,"mat-radio-button",22),o.Sb(),o.Sb(),o.Sb(),o.Sb(),o.Sb()),2&t&&(o.nc("formGroup",e.form),o.Cb(5),o.nc("formGroup",e.tripExpensesFg),o.Cb(2),o.nc("value",e.expenseType.PRIS_EN_CHARGE),o.Cb(1),o.nc("value",e.expenseType.AVANCES),o.Cb(1),o.nc("value",e.expenseType.VERSEMENT),o.Cb(1),o.nc("ngIf",e.getType("tripExpenses")===e.expenseType.VERSEMENT),o.Cb(1),o.nc("value",e.expenseType.AUTRE),o.Cb(3),o.nc("formGroup",e.foodExpensesFg),o.Cb(2),o.nc("value",e.expenseType.PRIS_EN_CHARGE),o.Cb(1),o.nc("value",e.expenseType.AVANCES),o.Cb(1),o.nc("value",e.expenseType.VERSEMENT),o.Cb(1),o.nc("ngIf",e.getType("foodExpenses")===e.expenseType.VERSEMENT),o.Cb(1),o.nc("value",e.expenseType.AUTRE),o.Cb(3),o.nc("formGroup",e.hostingExpensesFg),o.Cb(2),o.nc("value",e.expenseType.PRIS_EN_CHARGE),o.Cb(1),o.nc("value",e.expenseType.AVANCES),o.Cb(1),o.nc("value",e.expenseType.VERSEMENT),o.Cb(1),o.nc("ngIf",e.getType("hostingExpenses")===e.expenseType.VERSEMENT),o.Cb(1),o.nc("value",e.expenseType.AUTRE))},directives:[p.x,p.p,p.i,Ot.a,Ft.b,p.o,p.g,Ft.a,i.l,St.c,Tt.b,p.c,zt.a,p.v,St.b],pipes:[xt.c],styles:["h3[_ngcontent-%COMP%]{margin:0 0 8px}h3[_ngcontent-%COMP%], h4[_ngcontent-%COMP%]{padding-bottom:16px;border-bottom:1px solid #999}h4[_ngcontent-%COMP%]{margin:0 0 8px -16px;padding-top:8px}.box-margin[_ngcontent-%COMP%]{margin:0 32px}.box-margin[_ngcontent-%COMP%] .expense-box[_ngcontent-%COMP%]{margin-bottom:16px}.box-margin[_ngcontent-%COMP%] .expense-box[_ngcontent-%COMP%] .expense[_ngcontent-%COMP%]{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.box-margin[_ngcontent-%COMP%] .expense-box[_ngcontent-%COMP%] .expense[_ngcontent-%COMP%] mat-radio-button[_ngcontent-%COMP%]{margin:8px 0}.box-margin[_ngcontent-%COMP%] .full-width[_ngcontent-%COMP%]{width:100%}.box-margin[_ngcontent-%COMP%] .inline-form[_ngcontent-%COMP%]{display:-ms-flexbox;display:flex;-ms-flex-flow:row;flex-flow:row}.box-margin[_ngcontent-%COMP%] .inline-form[_ngcontent-%COMP%] .spacer[_ngcontent-%COMP%]{width:50px}.box-margin[_ngcontent-%COMP%] .inline-form[_ngcontent-%COMP%] mat-form-field[_ngcontent-%COMP%]{-ms-flex:1;flex:1}"]}),t})();var Zt=n("VS7r"),$t=n("48lP"),Xt=n("7pfu"),Kt=n("pMoy"),Qt=n("Mkv7");function te(t,e){1&t&&(o.Tb(0,"span",24),o.Hc(1),o.gc(2,"translate"),o.Sb()),2&t&&(o.Cb(1),o.Jc(" ",o.hc(2,1,"dpd.lecture.seule")," "))}function ee(t,e){1&t&&(o.Tb(0,"mat-error"),o.Hc(1),o.gc(2,"translate"),o.Sb()),2&t&&(o.Cb(1),o.Jc(" ",o.hc(2,1,"common.error.requis")," "))}function ne(t,e){1&t&&(o.Tb(0,"mat-error"),o.Hc(1),o.gc(2,"translate"),o.Sb()),2&t&&(o.Cb(1),o.Jc(" ",o.hc(2,1,"common.error.length")," "))}function ie(t,e){1&t&&(o.Tb(0,"mat-error"),o.Hc(1),o.gc(2,"translate"),o.Sb()),2&t&&(o.Cb(1),o.Jc(" ",o.hc(2,1,"common.error.requis")," "))}function ae(t,e){1&t&&(o.Tb(0,"mat-error"),o.Hc(1),o.gc(2,"translate"),o.Sb()),2&t&&(o.Cb(1),o.Jc(" ",o.hc(2,1,"common.error.length")," "))}function re(t,e){1&t&&(o.Tb(0,"mat-error"),o.Hc(1),o.gc(2,"translate"),o.Sb()),2&t&&(o.Cb(1),o.Jc(" ",o.hc(2,1,"common.error.requis")," "))}function oe(t,e){1&t&&(o.Tb(0,"mat-error"),o.Hc(1),o.gc(2,"translate"),o.Sb()),2&t&&(o.Cb(1),o.Jc(" ",o.hc(2,1,"common.error.email")," "))}function se(t,e){1&t&&(o.Tb(0,"mat-error"),o.Hc(1),o.gc(2,"translate"),o.Sb()),2&t&&(o.Cb(1),o.Jc(" ",o.hc(2,1,"common.error.length")," "))}function le(t,e){1&t&&(o.Tb(0,"mat-error"),o.Hc(1),o.gc(2,"translate"),o.Sb()),2&t&&(o.Cb(1),o.Jc(" ",o.hc(2,1,"common.error.requis")," "))}function ce(t,e){1&t&&(o.Tb(0,"mat-error"),o.Hc(1),o.gc(2,"translate"),o.Sb()),2&t&&(o.Cb(1),o.Jc(" ",o.hc(2,1,"common.error.length")," "))}function de(t,e){if(1&t){const t=o.Ub();o.Tb(0,"div",25),o.Tb(1,"mat-checkbox",26),o.bc("change",function(e){return o.yc(t),o.fc().onNoTVACheckboxChange(e.checked)}),o.Hc(2),o.gc(3,"translate"),o.Sb(),o.Sb()}if(2&t){const t=o.fc();o.Cb(1),o.nc("indeterminate",!t.doesCountryHaveTVA),o.Cb(1),o.Jc(" ",o.hc(3,2,"dpd.tva.no")," ")}}function ue(t,e){if(1&t){const t=o.Ub();o.Tb(0,"div",15),o.Tb(1,"app-tva-check-2",27),o.bc("stateChangeEvent",function(e){return o.yc(t),o.fc().onStateChange(e)}),o.Sb(),o.Sb()}if(2&t){const t=o.fc();o.Cb(1),o.nc("state",t.state)("formCtrl",t.numTVACtrl)("countryCode",t.countryCodeTVA)("isAutocompleteDisabled",!0)}}function he(t,e){1&t&&(o.Tb(0,"mat-error"),o.Hc(1),o.gc(2,"translate"),o.Sb()),2&t&&(o.Cb(1),o.Jc(" ",o.hc(2,1,"common.error.requis")," "))}function me(t,e){1&t&&(o.Tb(0,"mat-error"),o.Hc(1),o.gc(2,"translate"),o.Sb()),2&t&&(o.Cb(1),o.Jc(" ",o.hc(2,1,"common.error.length")," "))}function pe(t,e){if(1&t&&(o.Tb(0,"mat-form-field",15),o.Ob(1,"input",28),o.Fc(2,he,3,3,"mat-error",7),o.Fc(3,me,3,3,"mat-error",7),o.Sb()),2&t){const t=o.fc();o.Cb(2),o.nc("ngIf",t.doesControlHaveError("registre","required")),o.Cb(1),o.nc("ngIf",t.doesControlHaveError("registre","maxlength"))}}function fe(t,e){1&t&&(o.Tb(0,"mat-error"),o.Hc(1),o.gc(2,"translate"),o.Sb()),2&t&&(o.Cb(1),o.Jc(" ",o.hc(2,1,"common.error.requis")," "))}function ge(t,e){1&t&&(o.Tb(0,"mat-error"),o.Hc(1),o.gc(2,"translate"),o.Sb()),2&t&&(o.Cb(1),o.Jc(" ",o.hc(2,1,"common.error.length")," "))}function be(t,e){if(1&t&&(o.Tb(0,"mat-form-field",15),o.Ob(1,"input",29),o.Fc(2,fe,3,3,"mat-error",7),o.Fc(3,ge,3,3,"mat-error",7),o.Sb()),2&t){const t=o.fc();o.Cb(2),o.nc("ngIf",t.doesControlHaveError("reference","required")),o.Cb(1),o.nc("ngIf",t.doesControlHaveError("reference","maxlength"))}}function _e(t,e){1&t&&(o.Tb(0,"mat-error"),o.Hc(1),o.gc(2,"translate"),o.Sb()),2&t&&(o.Cb(1),o.Jc(" ",o.hc(2,1,"common.error.requis")," "))}function ye(t,e){1&t&&(o.Tb(0,"mat-error"),o.Hc(1),o.gc(2,"translate"),o.Sb()),2&t&&(o.Cb(1),o.Jc(" ",o.hc(2,1,"common.error.length")," "))}function ve(t,e){if(1&t&&(o.Tb(0,"div",30),o.Ob(1,"h4",31),o.Tb(2,"mat-form-field",15),o.Ob(3,"input",32),o.Fc(4,_e,3,3,"mat-error",7),o.Fc(5,ye,3,3,"mat-error",7),o.Sb(),o.Sb()),2&t){const t=o.fc();o.Cb(4),o.nc("ngIf",t.doesControlHaveError("organisme","required")),o.Cb(1),o.nc("ngIf",t.doesControlHaveError("organisme","maxlength"))}}function Ce(t,e){1&t&&(o.Tb(0,"mat-error"),o.Hc(1),o.gc(2,"translate"),o.Sb()),2&t&&(o.Cb(1),o.Jc(" ",o.hc(2,1,"common.error.length")," "))}function we(t,e){if(1&t&&(o.Tb(0,"div",33),o.Ob(1,"h4",34),o.Tb(2,"mat-form-field",15),o.Ob(3,"input",35),o.Fc(4,Ce,3,3,"mat-error",7),o.Sb(),o.Sb()),2&t){const t=o.fc();o.Cb(4),o.nc("ngIf",t.doesControlHaveError("transporteur","maxlength"))}}let xe=(()=>{class t extends At.a{constructor(t,e,n){super(t),this.translateService=t,this.configSharedService=e,this.route=n}load(){this.isROMode=this.configSharedService.user.role===A.a.ENTREPRISE,this.form=this.configSharedService.form.get(rt.a.FOREIGN_COMPANY),this._numeroModele=this.configSharedService.numeroModele,this._countries=this.configSharedService.countries,this.state=this.route.snapshot.data.resolvedData.state}get addressFg(){return this.form.get("adresse")}get managerFg(){return this.form.get("dirigeant")}get isAutocompleteCompanyDisabled(){return this._autocompleteCompanyDisabled}get _country(){return this.form.get("adresse").get("pays").value}get doesCountryHaveTVA(){return this._country?this._country.hasTVA:null}get countryCodeTVA(){return this._country?this._country.codeTVA:null}get doesForeignCompanyHaveTVA(){return!this.form.get("noTVA").value}get numTVACtrl(){return this.form.get("numTVA")}get raisonSocialeCtrl(){return this.form.get("raisonSociale")}get referenceCtrl(){return this.form.get("reference")}get registreCtrl(){return this.form.get("registre")}get isTVANumberDisplayed(){return this.doesForeignCompanyHaveTVA&&this.doesCountryHaveTVA}get isRegisterOrReferenceDisplayed(){return!(4===this._numeroModele||this.doesForeignCompanyHaveTVA&&this.doesCountryHaveTVA)}get isOrganismeDisplayed(){return 3===this._numeroModele||5===this._numeroModele}get isTransporterDisplayed(){return 4===this._numeroModele}onCompanyChange(t){t&&this.form.patchValue({raisonSociale:t.raisonSociale,adresse:{adresse:t.adresse,pays:this._countries.find(e=>e.code===t.pays),cp:t.cp,ville:t.ville,complementAdresse:t.complementAdresse},telephone:t.telephone,email:t.email,status:t.status,noTVA:t.noTVA,numTVA:t.numTVA,registre:t.registre,reference:t.reference,dirigeant:{nom:t.dirigeantNom,prenom:t.dirigeantPrenom,dateNaissance:t.dirigeantDateNaissance,villeNaissance:t.dirigeantVilleNaissance,paysNaissance:this._countries.find(e=>t.dirigeantPaysNaissance===e.code)},organisme:t.organisme})}onNoTVACheckboxChange(t){this.cleanTvaRegistreReference(),t?(this.referenceCtrl.enable(),this.registreCtrl.enable()):(this.referenceCtrl.disable(),this.registreCtrl.disable())}onCountryChange(t){this.cleanTvaRegistreReference(),t&&t.hasTVA?(this.form.get("noTVA").setValue(!1),this.form.get("noTVA").enable(),this.referenceCtrl.disable(),this.registreCtrl.disable()):(this.form.get("noTVA").disable(),this.referenceCtrl.enable(),this.registreCtrl.enable()),this.form.get("numTVA").updateValueAndValidity()}onStateChange(t){this.state=t,this.numTVACtrl.updateValueAndValidity()}cleanTvaRegistreReference(){this.form.patchValue({numTVA:null,reference:null,registre:null})}}return t.\u0275fac=function(e){return new(e||t)(o.Nb(xt.d),o.Nb(mt.a),o.Nb(r.a))},t.\u0275cmp=o.Hb({type:t,selectors:[["app-foreign-company-2"]],features:[o.zb],decls:39,vars:28,consts:[[3,"formGroup"],["data-cy","readonly-message","id","readonly-message",4,"ngIf"],["message","dpd.menu.entreprise._info"],[1,"box-margin"],["id","bloc-coordonnes"],["appLabel","dpd.coordonnees"],["data-cy","entreprise-etrangere-rs","formControlName","raisonSociale",3,"name","inputTitle","isRequired","formControl","selectionChanged"],[4,"ngIf"],["data-cy","entreprise-etrangere-adresse",3,"formGp","showFR","isRequired","countryChangeEvent"],[1,"inline-form"],["matInput","","data-cy","telephone","type","text","appLabel","common.tel","formControlName","telephone","required",""],[1,"spacer"],["matInput","","data-cy","email","appLabel","common.email","formControlName","email","required",""],["id","bloc-infos"],["appLabel","dpd.entreprise.info"],[1,"full-width"],["matInput","","data-cy","forme-juridique","type","text","appLabel","dpd.forme.juridique","formControlName","status","required",""],["class","checkbox",4,"ngIf"],["class","full-width",4,"ngIf"],["id","bloc-dirigeant"],["appLabel","dpd.dirigeant"],["data-cy","dirigeant",3,"formGp"],["id","bloc-organisme",4,"ngIf"],["id","bloc-transporteur",4,"ngIf"],["data-cy","readonly-message","id","readonly-message"],[1,"checkbox"],["color","primary","formControlName","noTVA",3,"indeterminate","change"],[3,"state","formCtrl","countryCode","isAutocompleteDisabled","stateChangeEvent"],["matInput","","type","text","appLabel","dpd.registre","formControlName","registre","required",""],["matInput","","type","text","appLabel","dpd.reference","formControlName","reference","required",""],["id","bloc-organisme"],["appLabel","dpd.organisme"],["matInput","","data-cy","organisme","type","text","name","organisme","appLabel","dpd.organisme.info","formControlName","organisme","required",""],["id","bloc-transporteur"],["appLabel","dpd.registre.transporteur"],["matInput","","type","text","name","transporteur","appLabel","dpd.registre.transporteur","formControlName","transporteur"]],template:function(t,e){1&t&&(o.Tb(0,"form",0),o.Tb(1,"h3"),o.Hc(2),o.gc(3,"translate"),o.Fc(4,te,3,3,"span",1),o.Ob(5,"app-infobulle",2),o.Sb(),o.Tb(6,"div",3),o.Tb(7,"div",4),o.Ob(8,"h4",5),o.Tb(9,"app-entreprise-autocomplete-2",6),o.bc("selectionChanged",function(t){return e.onCompanyChange(t)}),o.Fc(10,ee,3,3,"mat-error",7),o.Fc(11,ne,3,3,"mat-error",7),o.Sb(),o.Tb(12,"app-address-form-2",8),o.bc("countryChangeEvent",function(t){return e.onCountryChange(t)}),o.Sb(),o.Tb(13,"div",9),o.Tb(14,"mat-form-field"),o.Ob(15,"input",10),o.Fc(16,ie,3,3,"mat-error",7),o.Fc(17,ae,3,3,"mat-error",7),o.Sb(),o.Ob(18,"div",11),o.Tb(19,"mat-form-field"),o.Ob(20,"input",12),o.Fc(21,re,3,3,"mat-error",7),o.Fc(22,oe,3,3,"mat-error",7),o.Fc(23,se,3,3,"mat-error",7),o.Sb(),o.Sb(),o.Sb(),o.Tb(24,"div",13),o.Ob(25,"h4",14),o.Tb(26,"mat-form-field",15),o.Ob(27,"input",16),o.Fc(28,le,3,3,"mat-error",7),o.Fc(29,ce,3,3,"mat-error",7),o.Sb(),o.Fc(30,de,4,4,"div",17),o.Fc(31,ue,2,4,"div",18),o.Fc(32,pe,4,2,"mat-form-field",18),o.Fc(33,be,4,2,"mat-form-field",18),o.Sb(),o.Tb(34,"div",19),o.Ob(35,"h4",20),o.Ob(36,"app-person-form-2",21),o.Sb(),o.Fc(37,ve,6,2,"div",22),o.Fc(38,we,5,1,"div",23),o.Sb(),o.Sb()),2&t&&(o.nc("formGroup",e.form),o.Cb(2),o.Jc(" ",o.hc(3,26,"dpd.menu.entreprise")," "),o.Cb(2),o.nc("ngIf",e.isROMode),o.Cb(5),o.nc("name","socialReason")("inputTitle","dpd.raisonsociale")("isRequired",!0)("formControl",e.raisonSocialeCtrl),o.Cb(1),o.nc("ngIf",e.doesControlHaveError("raisonSociale","required")),o.Cb(1),o.nc("ngIf",e.doesControlHaveError("raisonSociale","maxlength")),o.Cb(1),o.nc("formGp",e.addressFg)("showFR",!1)("isRequired",!0),o.Cb(4),o.nc("ngIf",e.doesControlHaveError("telephone","required")),o.Cb(1),o.nc("ngIf",e.doesControlHaveError("telephone","maxlength")),o.Cb(4),o.nc("ngIf",e.doesControlHaveError("email","required")),o.Cb(1),o.nc("ngIf",e.doesControlHaveError("email","email")),o.Cb(1),o.nc("ngIf",e.doesControlHaveError("email","maxlength")),o.Cb(5),o.nc("ngIf",e.doesControlHaveError("status","required")),o.Cb(1),o.nc("ngIf",e.doesControlHaveError("status","maxlength")),o.Cb(1),o.nc("ngIf",!e.isROMode),o.Cb(1),o.nc("ngIf",e.isTVANumberDisplayed),o.Cb(1),o.nc("ngIf",e.isRegisterOrReferenceDisplayed),o.Cb(1),o.nc("ngIf",e.isRegisterOrReferenceDisplayed),o.Cb(3),o.nc("formGp",e.managerFg),o.Cb(1),o.nc("ngIf",e.isOrganismeDisplayed),o.Cb(1),o.nc("ngIf",e.isTransporterDisplayed))},directives:[p.x,p.p,p.i,i.l,It.a,Ot.a,Zt.a,p.o,p.g,p.f,$t.a,St.c,Tt.b,p.c,p.v,Xt.a,St.b,Kt.a,Qt.a],pipes:[xt.c],styles:[".mat-badge-content[_ngcontent-%COMP%]{font-weight:600;font-size:12px;font-family:Roboto,Helvetica Neue,sans-serif}.mat-badge-small[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{font-size:9px}.mat-badge-large[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{font-size:24px}.mat-h1[_ngcontent-%COMP%], .mat-headline[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font:400 24px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h2[_ngcontent-%COMP%], .mat-title[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font:500 20px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h3[_ngcontent-%COMP%], .mat-subheading-2[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font:400 16px/28px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h4[_ngcontent-%COMP%], .mat-subheading-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{font:400 15px/24px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h5[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{font:400 calc(14px * .83)/20px Roboto,Helvetica Neue,sans-serif;margin:0 0 12px}.mat-h6[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font:400 calc(14px * .67)/20px Roboto,Helvetica Neue,sans-serif;margin:0 0 12px}.mat-body-2[_ngcontent-%COMP%], .mat-body-strong[_ngcontent-%COMP%]{font:500 14px/24px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-body[_ngcontent-%COMP%], .mat-body-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%]{font:400 14px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-body-1[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .mat-body[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0 0 12px}.mat-caption[_ngcontent-%COMP%], .mat-small[_ngcontent-%COMP%]{font:400 12px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-display-4[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-4[_ngcontent-%COMP%]{font:300 112px/112px Roboto,Helvetica Neue,sans-serif;letter-spacing:-.05em;margin:0 0 56px}.mat-display-3[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-3[_ngcontent-%COMP%]{font:400 56px/56px Roboto,Helvetica Neue,sans-serif;letter-spacing:-.02em;margin:0 0 64px}.mat-display-2[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-2[_ngcontent-%COMP%]{font:400 45px/48px Roboto,Helvetica Neue,sans-serif;letter-spacing:-.005em;margin:0 0 64px}.mat-display-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-1[_ngcontent-%COMP%]{font:400 34px/40px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 64px}.mat-bottom-sheet-container[_ngcontent-%COMP%]{font:400 14px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-button[_ngcontent-%COMP%], .mat-fab[_ngcontent-%COMP%], .mat-flat-button[_ngcontent-%COMP%], .mat-icon-button[_ngcontent-%COMP%], .mat-mini-fab[_ngcontent-%COMP%], .mat-raised-button[_ngcontent-%COMP%], .mat-stroked-button[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:500}.mat-button-toggle[_ngcontent-%COMP%], .mat-card[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-card-title[_ngcontent-%COMP%]{font-size:24px;font-weight:500}.mat-card-header[_ngcontent-%COMP%] .mat-card-title[_ngcontent-%COMP%]{font-size:20px}.mat-card-content[_ngcontent-%COMP%], .mat-card-subtitle[_ngcontent-%COMP%]{font-size:14px}.mat-checkbox[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-checkbox-layout[_ngcontent-%COMP%] .mat-checkbox-label[_ngcontent-%COMP%]{line-height:24px}.mat-chip[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.mat-chip[_ngcontent-%COMP%] .mat-chip-remove.mat-icon[_ngcontent-%COMP%], .mat-chip[_ngcontent-%COMP%] .mat-chip-trailing-icon.mat-icon[_ngcontent-%COMP%]{font-size:18px}.mat-table[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-header-cell[_ngcontent-%COMP%]{font-size:12px;font-weight:500}.mat-cell[_ngcontent-%COMP%], .mat-footer-cell[_ngcontent-%COMP%]{font-size:14px}.mat-calendar[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-calendar-body[_ngcontent-%COMP%]{font-size:13px}.mat-calendar-body-label[_ngcontent-%COMP%], .mat-calendar-period-button[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.mat-calendar-table-header[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{font-size:11px;font-weight:400}.mat-dialog-title[_ngcontent-%COMP%]{font:500 20px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-expansion-panel-header[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:15px;font-weight:400}.mat-expansion-panel-content[_ngcontent-%COMP%]{font:400 14px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-form-field[_ngcontent-%COMP%]{font-size:inherit;font-weight:400;line-height:1.125;font-family:Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-form-field-wrapper[_ngcontent-%COMP%]{padding-bottom:1.34375em}.mat-form-field-prefix[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%], .mat-form-field-suffix[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{font-size:150%;line-height:1.125}.mat-form-field-prefix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%], .mat-form-field-suffix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%]{height:1.5em;width:1.5em}.mat-form-field-prefix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%], .mat-form-field-suffix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{height:1.125em;line-height:1.125}.mat-form-field-infix[_ngcontent-%COMP%]{padding:.5em 0;border-top:.84375em solid rgba(0,0,0,0)}.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-1.34375em) scale(.75);transform:translateY(-1.34375em) scale(.75);width:133.3333333333%}.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-1.34374em) scale(.75);transform:translateY(-1.34374em) scale(.75);width:133.3333433333%}.mat-form-field-label-wrapper[_ngcontent-%COMP%]{top:-.84375em;padding-top:.84375em}.mat-form-field-label[_ngcontent-%COMP%]{top:1.34375em}.mat-form-field-underline[_ngcontent-%COMP%]{bottom:1.34375em}.mat-form-field-subscript-wrapper[_ngcontent-%COMP%]{font-size:75%;margin-top:.6666666667em;top:calc(100% - 1.7916666667em)}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-wrapper[_ngcontent-%COMP%]{padding-bottom:1.25em}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]{padding:.4375em 0}.mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.001px);-ms-transform:translateY(-1.28125em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-form-field-autofill-control[_ngcontent-%COMP%]:-webkit-autofill + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00101px);-ms-transform:translateY(-1.28124em) scale(.75);width:133.3333433333%}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00102px);-ms-transform:translateY(-1.28123em) scale(.75);width:133.3333533333%}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{top:1.28125em}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]{bottom:1.25em}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-subscript-wrapper[_ngcontent-%COMP%]{margin-top:.5416666667em;top:calc(100% - 1.6666666667em)}@media print{.mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-1.28122em) scale(.75);transform:translateY(-1.28122em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-form-field-autofill-control[_ngcontent-%COMP%]:-webkit-autofill + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{transform:translateY(-1.28121em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-1.2812em) scale(.75);transform:translateY(-1.2812em) scale(.75)}}.mat-form-field-appearance-fill[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]{padding:.25em 0 .75em}.mat-form-field-appearance-fill[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{top:1.09375em;margin-top:-.5em}.mat-form-field-appearance-fill.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-fill.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-.59375em) scale(.75);transform:translateY(-.59375em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-fill.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-.59374em) scale(.75);transform:translateY(-.59374em) scale(.75);width:133.3333433333%}.mat-form-field-appearance-outline[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]{padding:1em 0}.mat-form-field-appearance-outline[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{top:1.84375em;margin-top:-.25em}.mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-outline.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-1.59375em) scale(.75);transform:translateY(-1.59375em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-outline.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-1.59374em) scale(.75);transform:translateY(-1.59374em) scale(.75);width:133.3333433333%}.mat-grid-tile-footer[_ngcontent-%COMP%], .mat-grid-tile-header[_ngcontent-%COMP%]{font-size:14px}.mat-grid-tile-footer[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%], .mat-grid-tile-header[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-grid-tile-footer[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2), .mat-grid-tile-header[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:12px}input.mat-input-element[_ngcontent-%COMP%]{margin-top:-.0625em}.mat-menu-item[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:400}.mat-paginator[_ngcontent-%COMP%], .mat-paginator-page-size[_ngcontent-%COMP%] .mat-select-trigger[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:12px}.mat-radio-button[_ngcontent-%COMP%], .mat-select[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-select-trigger[_ngcontent-%COMP%]{height:1.125em}.mat-slide-toggle-content[_ngcontent-%COMP%], .mat-slider-thumb-label-text[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-slider-thumb-label-text[_ngcontent-%COMP%]{font-size:12px;font-weight:500}.mat-stepper-horizontal[_ngcontent-%COMP%], .mat-stepper-vertical[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-step-label[_ngcontent-%COMP%]{font-size:14px;font-weight:400}.mat-step-sub-label-error[_ngcontent-%COMP%]{font-weight:400}.mat-step-label-error[_ngcontent-%COMP%]{font-size:14px}.mat-step-label-selected[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.mat-tab-group[_ngcontent-%COMP%], .mat-tab-label[_ngcontent-%COMP%], .mat-tab-link[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-tab-label[_ngcontent-%COMP%], .mat-tab-link[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.mat-toolbar[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font:500 20px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0}.mat-tooltip[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:10px;padding-top:6px;padding-bottom:6px}.mat-tooltip-handset[_ngcontent-%COMP%]{font-size:14px;padding-top:8px;padding-bottom:8px}.mat-list-item[_ngcontent-%COMP%], .mat-list-option[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]{font-size:16px}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:14px}.mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%]{font-size:16px}.mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:14px}.mat-list-base[_ngcontent-%COMP%] .mat-subheader[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:500}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]{font-size:12px}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2), .mat-list-base[dense][_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%]{font-size:12px}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:12px}.mat-list-base[dense][_ngcontent-%COMP%] .mat-subheader[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:12px;font-weight:500}.mat-option[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:16px}.mat-optgroup-label[_ngcontent-%COMP%]{font:500 14px/24px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-simple-snackbar[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px}.mat-simple-snackbar-action[_ngcontent-%COMP%]{line-height:1;font-family:inherit;font-size:inherit;font-weight:500}.mat-tree[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-nested-tree-node[_ngcontent-%COMP%], .mat-tree-node[_ngcontent-%COMP%]{font-weight:400;font-size:14px}.mat-ripple[_ngcontent-%COMP%]{overflow:hidden;position:relative}.mat-ripple[_ngcontent-%COMP%]:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded[_ngcontent-%COMP%]{overflow:visible}.mat-ripple-element[_ngcontent-%COMP%]{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0,0,.2,1);-ms-transform:scale(0);transform:scale(0)}.cdk-high-contrast-active[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{display:none}.cdk-visually-hidden[_ngcontent-%COMP%]{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;outline:0;-webkit-appearance:none;-moz-appearance:none}.cdk-global-overlay-wrapper[_ngcontent-%COMP%], .cdk-overlay-container[_ngcontent-%COMP%]{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container[_ngcontent-%COMP%]{position:fixed;z-index:1000}.cdk-overlay-container[_ngcontent-%COMP%]:empty{display:none}.cdk-global-overlay-wrapper[_ngcontent-%COMP%], .cdk-overlay-pane[_ngcontent-%COMP%]{display:-ms-flexbox;display:flex;position:absolute;z-index:1000}.cdk-overlay-pane[_ngcontent-%COMP%]{pointer-events:auto;box-sizing:border-box;max-width:100%;max-height:100%}.cdk-overlay-backdrop[_ngcontent-%COMP%]{position:absolute;top:0;bottom:0;left:0;right:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:transparent;transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:1}@media screen and (-ms-high-contrast:active){.cdk-overlay-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:.6}}.cdk-overlay-dark-backdrop[_ngcontent-%COMP%]{background:rgba(0,0,0,.32)}.cdk-overlay-transparent-backdrop[_ngcontent-%COMP%], .cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:0}.cdk-overlay-connected-position-bounding-box[_ngcontent-%COMP%]{position:absolute;z-index:1000;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock[_ngcontent-%COMP%]{position:fixed;width:100%;overflow-y:scroll}@-webkit-keyframes cdk-text-field-autofill-start{\n }@keyframes cdk-text-field-autofill-start{\n }@-webkit-keyframes cdk-text-field-autofill-end{\n }@keyframes cdk-text-field-autofill-end{\n }.cdk-text-field-autofill-monitored[_ngcontent-%COMP%]:-webkit-autofill{-webkit-animation:cdk-text-field-autofill-start 0s 1ms;animation:cdk-text-field-autofill-start 0s 1ms}.cdk-text-field-autofill-monitored[_ngcontent-%COMP%]:not(:-webkit-autofill){-webkit-animation:cdk-text-field-autofill-end 0s 1ms;animation:cdk-text-field-autofill-end 0s 1ms}textarea.cdk-textarea-autosize[_ngcontent-%COMP%]{resize:none}textarea.cdk-textarea-autosize-measuring[_ngcontent-%COMP%]{padding:2px 0!important;box-sizing:content-box!important;height:auto!important;overflow:hidden!important}textarea.cdk-textarea-autosize-measuring-firefox[_ngcontent-%COMP%]{padding:2px 0!important;box-sizing:content-box!important;height:0!important}.mat-focus-indicator[_ngcontent-%COMP%], .mat-mdc-focus-indicator[_ngcontent-%COMP%]{position:relative}h3[_ngcontent-%COMP%]{margin:0 0 8px;padding-bottom:16px;border-bottom:1px solid #999}h3[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#ff9800;font-weight:400;font-size:1rem;padding-left:12px}.box-margin[_ngcontent-%COMP%]{margin:0 32px}.box-margin[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{margin:0 0 8px -16px;padding-bottom:16px;padding-top:8px;border-bottom:1px solid #999}.box-margin[_ngcontent-%COMP%] .inline-form[_ngcontent-%COMP%]{display:-ms-flexbox;display:flex;-ms-flex-flow:row wrap;flex-flow:row wrap}.box-margin[_ngcontent-%COMP%] .inline-form[_ngcontent-%COMP%] .spacer[_ngcontent-%COMP%]{width:50px}.box-margin[_ngcontent-%COMP%] .inline-form[_ngcontent-%COMP%] mat-form-field[_ngcontent-%COMP%]{-ms-flex:1;flex:1}.box-margin[_ngcontent-%COMP%] .full-width[_ngcontent-%COMP%]{width:100%}.box-margin[_ngcontent-%COMP%] .checkbox[_ngcontent-%COMP%]{padding:8px 0}"]}),t})();var Me=n("Tj54");function Oe(t,e){if(1&t&&o.Ob(0,"mat-icon",6),2&t){const t=o.fc();o.nc("color",t.areAllWorkersValid?"accent":"warn")("innerHtml",t.areAllWorkersValid?"check_circle":"error_outline",o.zc)}}function ke(t,e){1&t&&(o.Tb(0,"span"),o.Tb(1,"mat-error"),o.Hc(2,"Vous n'avez pas encore saisi d'informations sur les salari\xe9s d\xe9tach\xe9s"),o.Sb(),o.Sb())}function Se(t,e){if(1&t&&(o.Tb(0,"span"),o.Hc(1),o.Sb(),o.Ob(2,"mat-icon",7)),2&t){const t=o.fc();o.Cb(1),o.Ic(t.summary),o.Cb(1),o.nc("innerHtml",t.isDropdownOpened?"arrow_drop_up":"arrow_drop_down",o.zc)}}function Te(t,e){if(1&t&&o.Ob(0,"mat-icon",6),2&t){const t=o.fc().$implicit;o.nc("color",t.valid?"accent":"warn")("innerHtml",t.valid?"check_circle":"error_outline",o.zc)}}function Pe(t,e){if(1&t){const t=o.Ub();o.Rb(0),o.Tb(1,"button",17),o.bc("click",function(){o.yc(t);const e=o.fc().index;return o.fc(2).edit(e)}),o.Tb(2,"mat-icon",18),o.Hc(3,"edit"),o.Sb(),o.Sb(),o.Tb(4,"button",19),o.bc("click",function(){o.yc(t);const e=o.fc().index;return o.fc(2).remove(e)}),o.Tb(5,"mat-icon",20),o.Hc(6,"delete"),o.Sb(),o.Sb(),o.Qb()}if(2&t){const t=o.fc(),e=t.index,n=t.$implicit,i=o.fc(2);o.Cb(1),o.Db("data-cy","button-edit-worker-"+e),o.Cb(3),o.nc("title",i.getRemoveTooltipMessage(n))("disabled",i.isWorkerRepresentant(n)||i.isWorkerNotRemovable(n))}}const Le=function(t){return{"row-click":t}};function De(t,e){if(1&t){const t=o.Ub();o.Tb(0,"div",14),o.bc("click",function(){o.yc(t);const n=e.$implicit;return o.fc(2).selectRepresentativeWorker(n)}),o.Fc(1,Te,1,2,"mat-icon",2),o.Tb(2,"span",15),o.Hc(3),o.Sb(),o.Fc(4,Pe,7,3,"ng-container",16),o.Sb()}if(2&t){const t=e.$implicit,n=o.fc(2);o.nc("ngClass",o.sc(4,Le,!n.editionMode)),o.Cb(1),o.nc("ngIf",n.editionMode),o.Cb(2),o.Ic(n.getWorkerFullName(t)),o.Cb(1),o.nc("ngIf",n.editionMode)}}function Ee(t,e){if(1&t&&(o.Tb(0,"div",8),o.Tb(1,"div",9),o.Tb(2,"mat-form-field"),o.Tb(3,"mat-label"),o.Hc(4,"Recherche"),o.Sb(),o.Tb(5,"span",10),o.Tb(6,"mat-icon"),o.Hc(7,"search"),o.Sb(),o.Sb(),o.Ob(8,"input",11),o.Sb(),o.Sb(),o.Tb(9,"div",12),o.Fc(10,De,5,6,"div",13),o.Sb(),o.Sb()),2&t){const t=o.fc();o.Cb(8),o.nc("formControl",t.inputSearch),o.Cb(2),o.nc("ngForOf",t.filteredFgWorkers)}}const Ae=function(t){return{"padding-left":t}};let Ie=(()=>{class t extends yt.a{constructor(t,e,n){super(t),this.translateService=t,this.configSharedService=e,this.dialog=n,this.editWorkerEvent=new o.o,this.removeWorkerEvent=new o.o,this.setRepresentativeWorkerEvent=new o.o,this.isDropdownOpened=!1,this.inputSearch=new p.e("")}get areAllWorkersValid(){return this.workersArray.valid}get summary(){const t=this.workersArray.controls.length;return 1===t?"1 Salari\xe9":`${t} Salari\xe9s`}load(){this.filteredFgWorkers=this.workersArray.controls,this.subscriptions.push(this.inputSearch.valueChanges.subscribe(t=>{this.filteredFgWorkers=t&&""!==t?this.workersArray.controls.filter(e=>this._checkIfFilterWorker(e.get("identite"),t)):this.workersArray.controls}))}toggleDropdown(){this.isDropdownOpened=!this.isDropdownOpened}getWorkerFullName(t){const e=t.get("identite").getRawValue();return`${e.nom||"Pas de nom"} ${e.prenom||"Pas de pr\xe9nom"}`}selectRepresentativeWorker(t){this.editionMode||(this.setRepresentativeWorkerEvent.emit(t),this.isDropdownOpened=!1)}edit(t){this.editWorkerEvent.emit(t),this.isDropdownOpened=!1}remove(t){this.dialog.open(wt.a,{data:{title:this.translateService.instant("dpd.salarie.supprimer"),question:this.translateService.instant("dpd.salarie.supprimer.question"),okButtonText:this.translateService.instant("common.oui"),cancelButtonText:this.translateService.instant("common.non")}}).afterClosed().subscribe(e=>{!0===e&&(this.removeWorkerEvent.emit(t),this.isDropdownOpened=!1)})}isWorkerRepresentant(t){return!!this.idSalarieRepresentant&&t.get("id").value===this.idSalarieRepresentant}isWorkerNotRemovable(t){return this.configSharedService.mode===nt.a.COMPLETION&&t.get("isSavedInDpd").value}getRemoveTooltipMessage(t){return this.isWorkerRepresentant(t)?"Il n'est pas possible de supprimer le salari\xe9 d\xe9fini en tant que repr\xe9sentant en France.":"Supprimer"}_checkIfFilterWorker(t,e){const n=t.getRawValue();return n.nom&&n.nom.includes(e)||n.prenom&&n.prenom.includes(e)}}return t.\u0275fac=function(e){return new(e||t)(o.Nb(xt.d),o.Nb(mt.a),o.Nb(Mt.b))},t.\u0275cmp=o.Hb({type:t,selectors:[["app-dpd-edit-workers-dropdown-2"]],inputs:{editionMode:"editionMode",idSalarieRepresentant:"idSalarieRepresentant",workersArray:"workersArray"},outputs:{editWorkerEvent:"editWorkerEvent",removeWorkerEvent:"removeWorkerEvent",setRepresentativeWorkerEvent:"setRepresentativeWorkerEvent"},features:[o.zb],decls:7,vars:7,consts:[["id","workers-dropdown"],[1,"trigger",3,"ngStyle","click"],[3,"color","innerHtml",4,"ngIf"],[4,"ngIf","ngIfElse"],["item",""],["class","dropdown mat-elevation-z4",4,"ngIf"],[3,"color","innerHtml"],["data-cy","salaries-drop-down",3,"innerHtml"],[1,"dropdown","mat-elevation-z4"],[1,"search"],["matPrefix",""],["matInput","","type","text","name","search",3,"formControl"],[1,"list"],["class","row",3,"ngClass","click",4,"ngFor","ngForOf"],[1,"row",3,"ngClass","click"],[1,"worker-name"],[4,"ngIf"],["mat-icon-button","","aria-label","edit","title","Modifier",1,"edit-worker",3,"click"],["color","primary",1,"action"],["mat-icon-button","","aria-label","delete",1,"delete-worker",3,"title","disabled","click"],["color","warn",1,"action"]],template:function(t,e){if(1&t&&(o.Tb(0,"div",0),o.Tb(1,"span",1),o.bc("click",function(){return e.toggleDropdown()}),o.Fc(2,Oe,1,2,"mat-icon",2),o.Fc(3,ke,3,0,"span",3),o.Fc(4,Se,3,2,"ng-template",null,4,o.Gc),o.Sb(),o.Fc(6,Ee,11,2,"div",5),o.Sb()),2&t){const t=o.vc(5);o.Cb(1),o.nc("ngStyle",o.sc(5,Ae,e.editionMode?0:"12px")),o.Cb(1),o.nc("ngIf",e.editionMode),o.Cb(1),o.nc("ngIf",0===e.workersArray.length&&!e.editionMode)("ngIfElse",t),o.Cb(3),o.nc("ngIf",e.isDropdownOpened)}},directives:[i.m,i.l,Me.a,St.b,St.c,St.f,St.g,Tt.b,p.c,p.o,p.f,i.k,i.j,kt.a],styles:[".mat-badge-content[_ngcontent-%COMP%]{font-weight:600;font-size:12px;font-family:Roboto,Helvetica Neue,sans-serif}.mat-badge-small[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{font-size:9px}.mat-badge-large[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{font-size:24px}.mat-h1[_ngcontent-%COMP%], .mat-headline[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font:400 24px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h2[_ngcontent-%COMP%], .mat-title[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font:500 20px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h3[_ngcontent-%COMP%], .mat-subheading-2[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font:400 16px/28px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h4[_ngcontent-%COMP%], .mat-subheading-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{font:400 15px/24px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h5[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{font:400 calc(14px * .83)/20px Roboto,Helvetica Neue,sans-serif;margin:0 0 12px}.mat-h6[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font:400 calc(14px * .67)/20px Roboto,Helvetica Neue,sans-serif;margin:0 0 12px}.mat-body-2[_ngcontent-%COMP%], .mat-body-strong[_ngcontent-%COMP%]{font:500 14px/24px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-body[_ngcontent-%COMP%], .mat-body-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%]{font:400 14px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-body-1[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .mat-body[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0 0 12px}.mat-caption[_ngcontent-%COMP%], .mat-small[_ngcontent-%COMP%]{font:400 12px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-display-4[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-4[_ngcontent-%COMP%]{font:300 112px/112px Roboto,Helvetica Neue,sans-serif;letter-spacing:-.05em;margin:0 0 56px}.mat-display-3[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-3[_ngcontent-%COMP%]{font:400 56px/56px Roboto,Helvetica Neue,sans-serif;letter-spacing:-.02em;margin:0 0 64px}.mat-display-2[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-2[_ngcontent-%COMP%]{font:400 45px/48px Roboto,Helvetica Neue,sans-serif;letter-spacing:-.005em;margin:0 0 64px}.mat-display-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-1[_ngcontent-%COMP%]{font:400 34px/40px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 64px}.mat-bottom-sheet-container[_ngcontent-%COMP%]{font:400 14px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-button[_ngcontent-%COMP%], .mat-fab[_ngcontent-%COMP%], .mat-flat-button[_ngcontent-%COMP%], .mat-icon-button[_ngcontent-%COMP%], .mat-mini-fab[_ngcontent-%COMP%], .mat-raised-button[_ngcontent-%COMP%], .mat-stroked-button[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:500}.mat-button-toggle[_ngcontent-%COMP%], .mat-card[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-card-title[_ngcontent-%COMP%]{font-size:24px;font-weight:500}.mat-card-header[_ngcontent-%COMP%] .mat-card-title[_ngcontent-%COMP%]{font-size:20px}.mat-card-content[_ngcontent-%COMP%], .mat-card-subtitle[_ngcontent-%COMP%]{font-size:14px}.mat-checkbox[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-checkbox-layout[_ngcontent-%COMP%] .mat-checkbox-label[_ngcontent-%COMP%]{line-height:24px}.mat-chip[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.mat-chip[_ngcontent-%COMP%] .mat-chip-remove.mat-icon[_ngcontent-%COMP%], .mat-chip[_ngcontent-%COMP%] .mat-chip-trailing-icon.mat-icon[_ngcontent-%COMP%]{font-size:18px}.mat-table[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-header-cell[_ngcontent-%COMP%]{font-size:12px;font-weight:500}.mat-cell[_ngcontent-%COMP%], .mat-footer-cell[_ngcontent-%COMP%]{font-size:14px}.mat-calendar[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-calendar-body[_ngcontent-%COMP%]{font-size:13px}.mat-calendar-body-label[_ngcontent-%COMP%], .mat-calendar-period-button[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.mat-calendar-table-header[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{font-size:11px;font-weight:400}.mat-dialog-title[_ngcontent-%COMP%]{font:500 20px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-expansion-panel-header[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:15px;font-weight:400}.mat-expansion-panel-content[_ngcontent-%COMP%]{font:400 14px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-form-field[_ngcontent-%COMP%]{font-size:inherit;font-weight:400;line-height:1.125;font-family:Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-form-field-wrapper[_ngcontent-%COMP%]{padding-bottom:1.34375em}.mat-form-field-prefix[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%], .mat-form-field-suffix[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{font-size:150%;line-height:1.125}.mat-form-field-prefix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%], .mat-form-field-suffix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%]{height:1.5em;width:1.5em}.mat-form-field-prefix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%], .mat-form-field-suffix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{height:1.125em;line-height:1.125}.mat-form-field-infix[_ngcontent-%COMP%]{padding:.5em 0;border-top:.84375em solid rgba(0,0,0,0)}.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-1.34375em) scale(.75);transform:translateY(-1.34375em) scale(.75);width:133.3333333333%}.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-1.34374em) scale(.75);transform:translateY(-1.34374em) scale(.75);width:133.3333433333%}.mat-form-field-label-wrapper[_ngcontent-%COMP%]{top:-.84375em;padding-top:.84375em}.mat-form-field-label[_ngcontent-%COMP%]{top:1.34375em}.mat-form-field-underline[_ngcontent-%COMP%]{bottom:1.34375em}.mat-form-field-subscript-wrapper[_ngcontent-%COMP%]{font-size:75%;margin-top:.6666666667em;top:calc(100% - 1.7916666667em)}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-wrapper[_ngcontent-%COMP%]{padding-bottom:1.25em}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]{padding:.4375em 0}.mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.001px);-ms-transform:translateY(-1.28125em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-form-field-autofill-control[_ngcontent-%COMP%]:-webkit-autofill + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00101px);-ms-transform:translateY(-1.28124em) scale(.75);width:133.3333433333%}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00102px);-ms-transform:translateY(-1.28123em) scale(.75);width:133.3333533333%}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{top:1.28125em}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]{bottom:1.25em}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-subscript-wrapper[_ngcontent-%COMP%]{margin-top:.5416666667em;top:calc(100% - 1.6666666667em)}@media print{.mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-1.28122em) scale(.75);transform:translateY(-1.28122em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-form-field-autofill-control[_ngcontent-%COMP%]:-webkit-autofill + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{transform:translateY(-1.28121em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-1.2812em) scale(.75);transform:translateY(-1.2812em) scale(.75)}}.mat-form-field-appearance-fill[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]{padding:.25em 0 .75em}.mat-form-field-appearance-fill[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{top:1.09375em;margin-top:-.5em}.mat-form-field-appearance-fill.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-fill.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-.59375em) scale(.75);transform:translateY(-.59375em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-fill.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-.59374em) scale(.75);transform:translateY(-.59374em) scale(.75);width:133.3333433333%}.mat-form-field-appearance-outline[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]{padding:1em 0}.mat-form-field-appearance-outline[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{top:1.84375em;margin-top:-.25em}.mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-outline.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-1.59375em) scale(.75);transform:translateY(-1.59375em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-outline.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-1.59374em) scale(.75);transform:translateY(-1.59374em) scale(.75);width:133.3333433333%}.mat-grid-tile-footer[_ngcontent-%COMP%], .mat-grid-tile-header[_ngcontent-%COMP%]{font-size:14px}.mat-grid-tile-footer[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%], .mat-grid-tile-header[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-grid-tile-footer[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2), .mat-grid-tile-header[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:12px}input.mat-input-element[_ngcontent-%COMP%]{margin-top:-.0625em}.mat-menu-item[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:400}.mat-paginator[_ngcontent-%COMP%], .mat-paginator-page-size[_ngcontent-%COMP%] .mat-select-trigger[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:12px}.mat-radio-button[_ngcontent-%COMP%], .mat-select[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-select-trigger[_ngcontent-%COMP%]{height:1.125em}.mat-slide-toggle-content[_ngcontent-%COMP%], .mat-slider-thumb-label-text[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-slider-thumb-label-text[_ngcontent-%COMP%]{font-size:12px;font-weight:500}.mat-stepper-horizontal[_ngcontent-%COMP%], .mat-stepper-vertical[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-step-label[_ngcontent-%COMP%]{font-size:14px;font-weight:400}.mat-step-sub-label-error[_ngcontent-%COMP%]{font-weight:400}.mat-step-label-error[_ngcontent-%COMP%]{font-size:14px}.mat-step-label-selected[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.mat-tab-group[_ngcontent-%COMP%], .mat-tab-label[_ngcontent-%COMP%], .mat-tab-link[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-tab-label[_ngcontent-%COMP%], .mat-tab-link[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.mat-toolbar[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font:500 20px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0}.mat-tooltip[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:10px;padding-top:6px;padding-bottom:6px}.mat-tooltip-handset[_ngcontent-%COMP%]{font-size:14px;padding-top:8px;padding-bottom:8px}.mat-list-item[_ngcontent-%COMP%], .mat-list-option[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]{font-size:16px}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:14px}.mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%]{font-size:16px}.mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:14px}.mat-list-base[_ngcontent-%COMP%] .mat-subheader[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:500}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]{font-size:12px}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2), .mat-list-base[dense][_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%]{font-size:12px}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:12px}.mat-list-base[dense][_ngcontent-%COMP%] .mat-subheader[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:12px;font-weight:500}.mat-option[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:16px}.mat-optgroup-label[_ngcontent-%COMP%]{font:500 14px/24px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-simple-snackbar[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px}.mat-simple-snackbar-action[_ngcontent-%COMP%]{line-height:1;font-family:inherit;font-size:inherit;font-weight:500}.mat-tree[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-nested-tree-node[_ngcontent-%COMP%], .mat-tree-node[_ngcontent-%COMP%]{font-weight:400;font-size:14px}.mat-ripple[_ngcontent-%COMP%]{overflow:hidden;position:relative}.mat-ripple[_ngcontent-%COMP%]:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded[_ngcontent-%COMP%]{overflow:visible}.mat-ripple-element[_ngcontent-%COMP%]{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0,0,.2,1);-ms-transform:scale(0);transform:scale(0)}.cdk-high-contrast-active[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{display:none}.cdk-visually-hidden[_ngcontent-%COMP%]{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;outline:0;-webkit-appearance:none;-moz-appearance:none}.cdk-global-overlay-wrapper[_ngcontent-%COMP%], .cdk-overlay-container[_ngcontent-%COMP%]{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container[_ngcontent-%COMP%]{position:fixed;z-index:1000}.cdk-overlay-container[_ngcontent-%COMP%]:empty{display:none}.cdk-global-overlay-wrapper[_ngcontent-%COMP%], .cdk-overlay-pane[_ngcontent-%COMP%]{display:-ms-flexbox;display:flex;position:absolute;z-index:1000}.cdk-overlay-pane[_ngcontent-%COMP%]{pointer-events:auto;box-sizing:border-box;max-width:100%;max-height:100%}.cdk-overlay-backdrop[_ngcontent-%COMP%]{position:absolute;top:0;bottom:0;left:0;right:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:transparent;transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:1}@media screen and (-ms-high-contrast:active){.cdk-overlay-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:.6}}.cdk-overlay-dark-backdrop[_ngcontent-%COMP%]{background:rgba(0,0,0,.32)}.cdk-overlay-transparent-backdrop[_ngcontent-%COMP%], .cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:0}.cdk-overlay-connected-position-bounding-box[_ngcontent-%COMP%]{position:absolute;z-index:1000;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock[_ngcontent-%COMP%]{position:fixed;width:100%;overflow-y:scroll}@-webkit-keyframes cdk-text-field-autofill-start{\n }@keyframes cdk-text-field-autofill-start{\n }@-webkit-keyframes cdk-text-field-autofill-end{\n }@keyframes cdk-text-field-autofill-end{\n }.cdk-text-field-autofill-monitored[_ngcontent-%COMP%]:-webkit-autofill{-webkit-animation:cdk-text-field-autofill-start 0s 1ms;animation:cdk-text-field-autofill-start 0s 1ms}.cdk-text-field-autofill-monitored[_ngcontent-%COMP%]:not(:-webkit-autofill){-webkit-animation:cdk-text-field-autofill-end 0s 1ms;animation:cdk-text-field-autofill-end 0s 1ms}textarea.cdk-textarea-autosize[_ngcontent-%COMP%]{resize:none}textarea.cdk-textarea-autosize-measuring[_ngcontent-%COMP%]{padding:2px 0!important;box-sizing:content-box!important;height:auto!important;overflow:hidden!important}textarea.cdk-textarea-autosize-measuring-firefox[_ngcontent-%COMP%]{padding:2px 0!important;box-sizing:content-box!important;height:0!important}#workers-dropdown[_ngcontent-%COMP%], .mat-focus-indicator[_ngcontent-%COMP%], .mat-mdc-focus-indicator[_ngcontent-%COMP%]{position:relative}#workers-dropdown[_ngcontent-%COMP%] .trigger[_ngcontent-%COMP%]{display:-ms-flexbox;display:flex;line-height:48px;font-size:1.2rem}#workers-dropdown[_ngcontent-%COMP%] .trigger[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{-ms-flex:1;flex:1}#workers-dropdown[_ngcontent-%COMP%] .trigger[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{width:32px;height:32px;padding:8px;font-size:32px;opacity:.7}#workers-dropdown[_ngcontent-%COMP%] .overlay[_ngcontent-%COMP%]{position:fixed;top:0;left:0;bottom:0;right:0}#workers-dropdown[_ngcontent-%COMP%] .dropdown[_ngcontent-%COMP%]{display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:column;flex-direction:column;border-top:1px solid #d3d3d3;width:100%;max-height:55vh;background:#fff;z-index:1}#workers-dropdown[_ngcontent-%COMP%] .dropdown[_ngcontent-%COMP%] .search[_ngcontent-%COMP%]{margin-left:32px}#workers-dropdown[_ngcontent-%COMP%] .dropdown[_ngcontent-%COMP%] .search[_ngcontent-%COMP%] mat-form-field[_ngcontent-%COMP%]{width:80%}#workers-dropdown[_ngcontent-%COMP%] .dropdown[_ngcontent-%COMP%] .list[_ngcontent-%COMP%] .row[_ngcontent-%COMP%]{overflow-y:auto;display:-ms-flexbox;display:flex;line-height:48px;font-size:1.2rem}#workers-dropdown[_ngcontent-%COMP%] .dropdown[_ngcontent-%COMP%] .list[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{-ms-flex:1;flex:1}#workers-dropdown[_ngcontent-%COMP%] .dropdown[_ngcontent-%COMP%] .list[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] > mat-icon[_ngcontent-%COMP%]{width:32px;height:32px;padding:8px;font-size:32px;opacity:.7}#workers-dropdown[_ngcontent-%COMP%] .dropdown[_ngcontent-%COMP%] .list[_ngcontent-%COMP%] .row-click[_ngcontent-%COMP%]{padding-left:40px;cursor:pointer}#workers-dropdown[_ngcontent-%COMP%] .dropdown[_ngcontent-%COMP%] .list[_ngcontent-%COMP%] .row-click[_ngcontent-%COMP%]:hover{background:#eee}#workers-dropdown[_ngcontent-%COMP%] .dropdown[_ngcontent-%COMP%] .list[_ngcontent-%COMP%] .row-click[_ngcontent-%COMP%]:active{background:#e0e0e0}#workers-dropdown[_ngcontent-%COMP%] .dropdown[_ngcontent-%COMP%] .list[_ngcontent-%COMP%] button[disabled][_ngcontent-%COMP%] .mat-icon.mat-warn[_ngcontent-%COMP%]{cursor:default;opacity:.5;color:#ccc}"]}),t})();var Re=n("Y7XA"),Ne=n("f3LI");function Ye(t,e){1&t&&(o.Tb(0,"span"),o.Hc(1),o.gc(2,"translate"),o.Sb()),2&t&&(o.Cb(1),o.Ic(o.hc(2,1,"dpd.lecture.seule")))}function He(t,e){if(1&t){const t=o.Ub();o.Tb(0,"div",29),o.Tb(1,"mat-label"),o.Tb(2,"b"),o.Hc(3),o.gc(4,"translate"),o.Sb(),o.Sb(),o.Ob(5,"app-infobulle",30),o.Ob(6,"br"),o.Tb(7,"mat-radio-group",31),o.bc("change",function(){return o.yc(t),o.fc().onTypeChange()}),o.Ob(8,"mat-radio-button",32),o.Ob(9,"mat-radio-button",33),o.Ob(10,"mat-radio-button",34),o.Ob(11,"mat-radio-button",35),o.Sb(),o.Tb(12,"div",3),o.Tb(13,"mat-icon"),o.Hc(14,"info"),o.Sb(),o.Tb(15,"span"),o.Hc(16),o.gc(17,"translate"),o.Sb(),o.Ob(18,"app-infobulle",36),o.Sb(),o.Sb()}if(2&t){const t=o.fc();o.Cb(3),o.Ic(o.hc(4,6,"dpd.representant.type")),o.Cb(5),o.nc("value",t.representativeTypeEnum.DIRIGEANT),o.Cb(1),o.nc("value",t.representativeTypeEnum.SALARIE),o.Cb(1),o.nc("value",t.representativeTypeEnum.CLIENT),o.Cb(1),o.nc("value",t.representativeTypeEnum.MANDATAIRE),o.Cb(5),o.Ic(o.hc(17,8,"dpd.representant.info.details"))}}function je(t,e){1&t&&(o.Tb(0,"mat-error",37),o.Hc(1),o.gc(2,"translate"),o.Sb()),2&t&&(o.Cb(1),o.Jc(" ",o.hc(2,1,"dpd.representant.error.fr")," "))}function Fe(t,e){1&t&&(o.Tb(0,"mat-error",37),o.Hc(1),o.gc(2,"translate"),o.Sb()),2&t&&(o.Cb(1),o.Jc(" ",o.hc(2,1,"tva.error.invalide")," "))}function ze(t,e){1&t&&(o.Tb(0,"mat-error",37),o.Hc(1),o.gc(2,"translate"),o.Sb()),2&t&&(o.Cb(1),o.Jc(" ",o.hc(2,1,"dpd.representant.error.client")," "))}function Ve(t,e){1&t&&(o.Tb(0,"mat-error",37),o.Hc(1),o.gc(2,"translate"),o.Sb()),2&t&&(o.Cb(1),o.Jc(" ",o.hc(2,1,"dpd.representant.error.dirigeant")," "))}function Be(t,e){if(1&t){const t=o.Ub();o.Tb(0,"div",38),o.Tb(1,"app-dpd-edit-workers-dropdown-2",39),o.bc("setRepresentativeWorkerEvent",function(e){return o.yc(t),o.fc().setRepresentativeWorker(e)}),o.Sb(),o.Sb()}if(2&t){const t=o.fc();o.Cb(1),o.nc("workersArray",t.workersArrayCtrl)("editionMode",!1)("idSalarieRepresentant",t.idSalarieRepresentant)}}function We(t,e){if(1&t&&o.Ob(0,"app-person-form-2",40),2&t){const t=o.fc();o.nc("formGp",t.representativePersonFg)("isAutocompleteDisabled",!0)}}function Ue(t,e){if(1&t&&o.Ob(0,"app-siret-check-2",41),2&t){const t=o.fc();o.nc("formGp",t.form)("isAutocompleteDisabled",!1)("isRequired",!0)}}function qe(t,e){1&t&&(o.Tb(0,"mat-form-field",42),o.Ob(1,"input",43),o.Sb())}function Ge(t,e){1&t&&(o.Tb(0,"mat-form-field",42),o.Ob(1,"input",44),o.Sb())}function Je(t,e){if(1&t&&o.Ob(0,"app-address-form-2",45),2&t){const t=o.fc();o.nc("formGp",t.addressFg)("showCountry",!1)("isRequired",!0)}}function Ze(t,e){1&t&&(o.Tb(0,"mat-error"),o.Hc(1),o.gc(2,"translate"),o.Sb()),2&t&&(o.Cb(1),o.Jc(" ",o.hc(2,1,"common.error.requis")," "))}function $e(t,e){1&t&&(o.Tb(0,"mat-error"),o.Hc(1),o.gc(2,"translate"),o.Sb()),2&t&&(o.Cb(1),o.Jc(" ",o.hc(2,1,"common.error.requis")," "))}function Xe(t,e){1&t&&(o.Tb(0,"mat-error"),o.Hc(1),o.gc(2,"translate"),o.Sb()),2&t&&(o.Cb(1),o.Jc(" ",o.hc(2,1,"common.error.email")," "))}function Ke(t,e){if(1&t&&o.Ob(0,"mat-radio-button",46),2&t){const t=o.fc();o.nc("value",t.conservationTypeEnum.LIEU_PRESTATION)}}function Qe(t,e){if(1&t&&o.Ob(0,"mat-radio-button",47),2&t){const t=o.fc();o.nc("value",t.conservationTypeEnum.REPRESENTANT)}}const tn=function(t){return{"app-field-readonly":t}},en=function(t){return{"full-width":!0,"app-field-readonly":t}};var nn=function(t){return t.LIEU_PRESTATION="LIEU_PRESTATION",t.REPRESENTANT="REPRESENTANT",t.SERVEUR="SERVEUR",t}({});let an=(()=>{class t extends At.a{constructor(t,e){super(t),this.translateService=t,this.configSharedService=e,this.representativeTypeEnum=E.a,this.conservationTypeEnum=nn}load(){this.form=this.configSharedService.form.get(rt.a.REPRESENTATIVE),this.numeroModele=this.configSharedService.numeroModele,this.isUserMandataire=this.configSharedService.user.role===A.a.MANDATAIRE,this.isCompletion=this.configSharedService.mode===nt.a.COMPLETION,this.countries=this.configSharedService.countries,this.copyValues(),this.form.setValidators(()=>k.a.representativeValidator(this.representativeTypeCtrl.value,this.dirigeantFg,this.clientFg,this.workersArrayCtrl,this.idSalarieRepresentant))}getTitle(){return 4===this.numeroModele?"dpd.menu.representant":"dpd.menu.representant.modele4"}getDetailsMessage(){return 4===this.numeroModele?"dpd.representant.details.modele4":"dpd.representant.details"}getDocumentMessage(){return 4===this.numeroModele?"dpd.representant.document.modele4":"dpd.representant.document"}isType(t){return this.representativeTypeCtrl.value===t}get idSalarieRepresentant(){return this.form.get("idSalarie").value}get clientFg(){return this.configSharedService.form.get(rt.a.CLIENT).get("client")}get foreignCompanyFg(){return this.configSharedService.form.get(rt.a.FOREIGN_COMPANY)}get dirigeantFg(){return this.foreignCompanyFg.get("dirigeant")}get representativeTypeCtrl(){return this.form.get("type")}get representativePersonFg(){return this.form.get("personne")}get siretCtrl(){return this.form.get("siret")}get representativeIdSalarieCtrl(){return this.form.get("idSalarie")}get addressFg(){return this.form.get("adresse")}get socialReasonCtrl(){return this.form.get("raisonSociale")}get numTVACtrl(){return this.form.get("numTVA")}get workersArrayCtrl(){return this.configSharedService.form.get(rt.a.WORKERS).get("workers")}get workerFg(){const t=this.workersArrayCtrl?this.workersArrayCtrl.controls.find(t=>t.get("id").value===this.getRepresentativeIdSalarie()):null;return t?t.get("identite"):null}isClientAndValid(){return this.isType(E.a.CLIENT)&&this.isClientAddressValid()&&this.isClientSocialReasonDefined()}get isSocialReasonDisplayed(){return this.isType(E.a.MANDATAIRE)||this.isClientAndValid()&&this.isClientFR()}get isTVADisplayed(){return this.isClientAndValid()&&this.isClientNumTVADefined()}get isAddressDisplayed(){return this.isType(E.a.MANDATAIRE)||this.isClientAndValid()}get isPersonDisplayed(){return this.isType(E.a.DIRIGEANT)&&this.isDirigeantAndValid()||this.isType(E.a.SALARIE)&&!!this.form.get("personne").value.nom}doesFormHaveError(t){return this.form.hasError(t)}onTypeChange(){this.isCompletion||this.resetForm(),this.disableForm(),this.copyValues()}resetForm(){this.siretCtrl.reset(),this.numTVACtrl.reset(),this.addressFg.reset(),this.socialReasonCtrl.reset(),this.representativePersonFg.reset()}disableForm(){this.siretCtrl.disable(),this.numTVACtrl.disable(),this.addressFg.disable(),this.socialReasonCtrl.disable(),this.representativePersonFg.disable()}copyValues(){if(this.isUserMandataire){const t=this.configSharedService.user.entreprise;let e={};e={siret:t.siret,raisonSociale:t.raisonSociale,telephone:t.telephone,email:t.email,adresse:t.adresse},this.form.patchValue(e),this.form.setErrors(t.siret&&t.raisonSociale&&t.telephone&&t.email&&t.adresse&&t.adresse.cp&&t.adresse.ville?null:{invalid:!0})}else this.isType(E.a.MANDATAIRE)&&!this.isCompletion&&(this.siretCtrl.enable(),this.socialReasonCtrl.enable(),this.addressFg.enable(),this.addressFg.get("pays").setValue(this.countries.find(t=>"FR"===t.code))),this.isType(E.a.CLIENT)&&this.isClientFR()&&(this.isClientNumTVADefined()&&this.numTVACtrl.setValue(this.clientFg.get("numTVA").value),this.isClientAndValid()&&(this.socialReasonCtrl.setValue(this.clientFg.get("raisonSociale").value),this.addressFg.patchValue(this.clientFg.get("adresse").getRawValue()))),this.isType(E.a.DIRIGEANT)&&this.isDirigeantAndValid&&this.representativePersonFg.patchValue(this.dirigeantFg.value),this.isType(E.a.SALARIE)&&this.idSalarieRepresentant&&this.representativePersonFg.patchValue(this.workerFg.value)}isClientFR(){return this.clientFg?this.clientFg.get("adresse").get("pays").value&&"FR"===this.clientFg.get("adresse").get("pays").value.code:"FR"===this.configSharedService.dpd.client.adresse.pays}isClientAddressValid(){return this.clientFg?this.clientFg.get("adresse").valid||this.clientFg.get("adresse").disabled:this.configSharedService.dpd.client.adresse.isValid()}isClientSocialReasonDefined(){return this.clientFg?!!this.clientFg.get("raisonSociale").value||this.clientFg.get("raisonSociale").disabled:!!this.configSharedService.dpd.client.raisonSociale}isClientNumTVADefined(){return this.clientFg?!!this.clientFg.get("numTVA").value:!!this.configSharedService.dpd.client.numTVA}getRepresentativeIdSalarie(){return this.representativeIdSalarieCtrl.value?this.representativeIdSalarieCtrl.value:null}isForeignCompanyManagerValid(){return this.foreignCompanyFg?this.foreignCompanyFg.get("dirigeant").valid||this.foreignCompanyFg.get("dirigeant").disabled:this.configSharedService.dpd.entrepriseEtrangere.dirigeant.isValid()}isDirigeantAndValid(){return this.dirigeantFg&&(this.dirigeantFg.valid||this.dirigeantFg.disabled)}setRepresentativeWorker(t){this.form.patchValue({idSalarie:t.get("id").value,personne:t.get("identite").value})}}return t.\u0275fac=function(e){return new(e||t)(o.Nb(xt.d),o.Nb(mt.a))},t.\u0275cmp=o.Hb({type:t,selectors:[["app-dpd-edit-representative-2"]],features:[o.zb],decls:44,vars:34,consts:[[3,"formGroup"],[3,"appLabel"],[1,"box-margin"],[1,"description"],[3,"innerHTML"],[3,"message"],["id","bloc-representant"],[4,"ngIf"],["message","dpd.representant.identite._info"],["class","radio representative-type",4,"ngIf"],["class","client-error mat-elevation-z4",4,"ngIf"],["class","workers-list mat-elevation-z4",4,"ngIf"],[3,"formGp","isAutocompleteDisabled",4,"ngIf"],[3,"formGp","isAutocompleteDisabled","isRequired",4,"ngIf"],["class","full-width",4,"ngIf"],["name","address",3,"formGp","showCountry","isRequired",4,"ngIf"],["id","bloc-modalite"],["appLabel","dpd.representant.contact"],[1,"inline-form"],[3,"ngClass"],["matInput","","data-cy","telephone","type","text","name","telephone","appLabel","common.tel","formControlName","telephone","required",""],[1,"spacer"],["matInput","","data-cy","email","name","email","appLabel","common.email","formControlName","email","required",""],["id","bloc-lieu"],[1,"radio"],["name","conservation","formControlName","conservation","required",""],["id","lieuPrestation","color","primary","appLabel","dpd.representant.document.lieu",3,"value",4,"ngIf"],["id","representant","color","primary","appLabel","dpd.representant.document.adresse",3,"value",4,"ngIf"],["id","serveur","color","primary","appLabel","dpd.representant.document.serveur",3,"value"],[1,"radio","representative-type"],["message","dpd.representant.type._info"],["name","typeRepresentant","formControlName","type","required","",3,"change"],["data-cy","dirigeant-choice","id","dirigeantChoice","color","primary","appLabel","dpd.representant.type.dirigeant",3,"value"],["data-cy","salarie-choice","id","salarieChoice","color","primary","appLabel","dpd.representant.type.salarie",3,"value"],["data-cy","client-fr-choice","id","clientFrChoice","color","primary","appLabel","dpd.representant.type.client",3,"value"],["data-cy","mandataire-choice","id","mandataireChoice","color","primary","appLabel","dpd.representant.type.mandataire",3,"value"],["message","dpd.representant.info.details._info"],[1,"client-error","mat-elevation-z4"],[1,"workers-list","mat-elevation-z4"],[3,"workersArray","editionMode","idSalarieRepresentant","setRepresentativeWorkerEvent"],[3,"formGp","isAutocompleteDisabled"],[3,"formGp","isAutocompleteDisabled","isRequired"],[1,"full-width"],["matInput","","type","text","name","nom","appLabel","dpd.raisonsociale","appTextField","text","formControlName","raisonSociale","required",""],["matInput","","type","text","name","numTVA","formControlName","numTVA","appLabel","dpd.tva","required",""],["name","address",3,"formGp","showCountry","isRequired"],["id","lieuPrestation","color","primary","appLabel","dpd.representant.document.lieu",3,"value"],["id","representant","color","primary","appLabel","dpd.representant.document.adresse",3,"value"]],template:function(t,e){1&t&&(o.Tb(0,"form",0),o.Ob(1,"h3",1),o.Tb(2,"div",2),o.Tb(3,"div",3),o.Tb(4,"mat-icon"),o.Hc(5,"info"),o.Sb(),o.Ob(6,"span",4),o.gc(7,"translate"),o.Ob(8,"app-infobulle",5),o.Sb(),o.Tb(9,"div",6),o.Tb(10,"h4"),o.Hc(11),o.gc(12,"translate"),o.Fc(13,Ye,3,3,"span",7),o.Ob(14,"app-infobulle",8),o.Sb(),o.Fc(15,He,19,10,"div",9),o.Fc(16,je,3,3,"mat-error",10),o.Fc(17,Fe,3,3,"mat-error",10),o.Fc(18,ze,3,3,"mat-error",10),o.Fc(19,Ve,3,3,"mat-error",10),o.Fc(20,Be,2,3,"div",11),o.Fc(21,We,1,2,"app-person-form-2",12),o.Fc(22,Ue,1,3,"app-siret-check-2",13),o.Fc(23,qe,2,0,"mat-form-field",14),o.Fc(24,Ge,2,0,"mat-form-field",14),o.Fc(25,Je,1,3,"app-address-form-2",15),o.Sb(),o.Tb(26,"div",16),o.Ob(27,"h4",17),o.Tb(28,"div",18),o.Tb(29,"mat-form-field",19),o.Ob(30,"input",20),o.Fc(31,Ze,3,3,"mat-error",7),o.Sb(),o.Ob(32,"div",21),o.Tb(33,"mat-form-field",19),o.Ob(34,"input",22),o.Fc(35,$e,3,3,"mat-error",7),o.Fc(36,Xe,3,3,"mat-error",7),o.Sb(),o.Sb(),o.Sb(),o.Tb(37,"div",23),o.Ob(38,"h4",1),o.Tb(39,"div",24),o.Tb(40,"mat-radio-group",25),o.Fc(41,Ke,1,1,"mat-radio-button",26),o.Fc(42,Qe,1,1,"mat-radio-button",27),o.Ob(43,"mat-radio-button",28),o.Sb(),o.Sb(),o.Sb(),o.Sb(),o.Sb()),2&t&&(o.nc("formGroup",e.form),o.Cb(1),o.oc("appLabel",e.getTitle()),o.Cb(5),o.nc("innerHTML",o.hc(7,26,e.getDetailsMessage()),o.zc),o.Cb(2),o.pc("message","",e.getDetailsMessage(),"._info"),o.Cb(3),o.Jc(" ",o.hc(12,28,"dpd.representant.identite")," "),o.Cb(2),o.nc("ngIf",e.isType(e.representativeTypeEnum.MANDATAIRE)&&e.isUserMandataire),o.Cb(2),o.nc("ngIf",!e.isUserMandataire&&4!==e.numeroModele),o.Cb(1),o.nc("ngIf",e.isType(e.representativeTypeEnum.CLIENT)&&e.doesFormHaveError("clientNotFrench")),o.Cb(1),o.nc("ngIf",e.isType(e.representativeTypeEnum.CLIENT)&&e.doesFormHaveError("clientTVANotValid")),o.Cb(1),o.nc("ngIf",e.isType(e.representativeTypeEnum.CLIENT)&&e.doesFormHaveError("clientNotValid")),o.Cb(1),o.nc("ngIf",e.isType(e.representativeTypeEnum.DIRIGEANT)&&e.doesFormHaveError("managerNotValid")),o.Cb(1),o.nc("ngIf",e.isType(e.representativeTypeEnum.SALARIE)&&!e.isCompletion),o.Cb(1),o.nc("ngIf",e.isPersonDisplayed),o.Cb(1),o.nc("ngIf",e.isType(e.representativeTypeEnum.MANDATAIRE)),o.Cb(1),o.nc("ngIf",e.isSocialReasonDisplayed),o.Cb(1),o.nc("ngIf",e.isTVADisplayed),o.Cb(1),o.nc("ngIf",e.isAddressDisplayed),o.Cb(4),o.nc("ngClass",o.sc(30,tn,e.isUserMandataire)),o.Cb(2),o.nc("ngIf",e.doesControlHaveError("telephone","required")),o.Cb(2),o.nc("ngClass",o.sc(32,en,e.isUserMandataire)),o.Cb(2),o.nc("ngIf",e.doesControlHaveError("email","required")),o.Cb(1),o.nc("ngIf",e.doesControlHaveError("email","email")),o.Cb(2),o.oc("appLabel",e.getDocumentMessage()),o.Cb(3),o.nc("ngIf",4!==e.numeroModele),o.Cb(1),o.nc("ngIf",e.isType(e.representativeTypeEnum.CLIENT)||e.isType(e.representativeTypeEnum.MANDATAIRE)),o.Cb(1),o.nc("value",e.conservationTypeEnum.SERVEUR))},directives:[p.x,p.p,p.i,Ot.a,Me.a,It.a,i.l,St.c,i.j,Tt.b,p.c,p.o,p.g,p.v,Ft.b,Ft.a,St.f,St.b,Ie,Xt.a,Re.a,Ne.a,$t.a],pipes:[xt.c],styles:[".mat-badge-content[_ngcontent-%COMP%]{font-weight:600;font-size:12px;font-family:Roboto,Helvetica Neue,sans-serif}.mat-badge-small[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{font-size:9px}.mat-badge-large[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{font-size:24px}.mat-h1[_ngcontent-%COMP%], .mat-headline[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font:400 24px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h2[_ngcontent-%COMP%], .mat-title[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font:500 20px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h3[_ngcontent-%COMP%], .mat-subheading-2[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font:400 16px/28px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h4[_ngcontent-%COMP%], .mat-subheading-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{font:400 15px/24px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h5[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{font:400 calc(14px * .83)/20px Roboto,Helvetica Neue,sans-serif;margin:0 0 12px}.mat-h6[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font:400 calc(14px * .67)/20px Roboto,Helvetica Neue,sans-serif;margin:0 0 12px}.mat-body-2[_ngcontent-%COMP%], .mat-body-strong[_ngcontent-%COMP%]{font:500 14px/24px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-body[_ngcontent-%COMP%], .mat-body-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%]{font:400 14px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-body-1[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .mat-body[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0 0 12px}.mat-caption[_ngcontent-%COMP%], .mat-small[_ngcontent-%COMP%]{font:400 12px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-display-4[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-4[_ngcontent-%COMP%]{font:300 112px/112px Roboto,Helvetica Neue,sans-serif;letter-spacing:-.05em;margin:0 0 56px}.mat-display-3[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-3[_ngcontent-%COMP%]{font:400 56px/56px Roboto,Helvetica Neue,sans-serif;letter-spacing:-.02em;margin:0 0 64px}.mat-display-2[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-2[_ngcontent-%COMP%]{font:400 45px/48px Roboto,Helvetica Neue,sans-serif;letter-spacing:-.005em;margin:0 0 64px}.mat-display-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-1[_ngcontent-%COMP%]{font:400 34px/40px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 64px}.mat-bottom-sheet-container[_ngcontent-%COMP%]{font:400 14px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-button[_ngcontent-%COMP%], .mat-fab[_ngcontent-%COMP%], .mat-flat-button[_ngcontent-%COMP%], .mat-icon-button[_ngcontent-%COMP%], .mat-mini-fab[_ngcontent-%COMP%], .mat-raised-button[_ngcontent-%COMP%], .mat-stroked-button[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:500}.mat-button-toggle[_ngcontent-%COMP%], .mat-card[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-card-title[_ngcontent-%COMP%]{font-size:24px;font-weight:500}.mat-card-header[_ngcontent-%COMP%] .mat-card-title[_ngcontent-%COMP%]{font-size:20px}.mat-card-content[_ngcontent-%COMP%], .mat-card-subtitle[_ngcontent-%COMP%]{font-size:14px}.mat-checkbox[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-checkbox-layout[_ngcontent-%COMP%] .mat-checkbox-label[_ngcontent-%COMP%]{line-height:24px}.mat-chip[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.mat-chip[_ngcontent-%COMP%] .mat-chip-remove.mat-icon[_ngcontent-%COMP%], .mat-chip[_ngcontent-%COMP%] .mat-chip-trailing-icon.mat-icon[_ngcontent-%COMP%]{font-size:18px}.mat-table[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-header-cell[_ngcontent-%COMP%]{font-size:12px;font-weight:500}.mat-cell[_ngcontent-%COMP%], .mat-footer-cell[_ngcontent-%COMP%]{font-size:14px}.mat-calendar[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-calendar-body[_ngcontent-%COMP%]{font-size:13px}.mat-calendar-body-label[_ngcontent-%COMP%], .mat-calendar-period-button[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.mat-calendar-table-header[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{font-size:11px;font-weight:400}.mat-dialog-title[_ngcontent-%COMP%]{font:500 20px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-expansion-panel-header[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:15px;font-weight:400}.mat-expansion-panel-content[_ngcontent-%COMP%]{font:400 14px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-form-field[_ngcontent-%COMP%]{font-size:inherit;font-weight:400;line-height:1.125;font-family:Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-form-field-wrapper[_ngcontent-%COMP%]{padding-bottom:1.34375em}.mat-form-field-prefix[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%], .mat-form-field-suffix[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{font-size:150%;line-height:1.125}.mat-form-field-prefix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%], .mat-form-field-suffix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%]{height:1.5em;width:1.5em}.mat-form-field-prefix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%], .mat-form-field-suffix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{height:1.125em;line-height:1.125}.mat-form-field-infix[_ngcontent-%COMP%]{padding:.5em 0;border-top:.84375em solid rgba(0,0,0,0)}.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-1.34375em) scale(.75);transform:translateY(-1.34375em) scale(.75);width:133.3333333333%}.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-1.34374em) scale(.75);transform:translateY(-1.34374em) scale(.75);width:133.3333433333%}.mat-form-field-label-wrapper[_ngcontent-%COMP%]{top:-.84375em;padding-top:.84375em}.mat-form-field-label[_ngcontent-%COMP%]{top:1.34375em}.mat-form-field-underline[_ngcontent-%COMP%]{bottom:1.34375em}.mat-form-field-subscript-wrapper[_ngcontent-%COMP%]{font-size:75%;margin-top:.6666666667em;top:calc(100% - 1.7916666667em)}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-wrapper[_ngcontent-%COMP%]{padding-bottom:1.25em}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]{padding:.4375em 0}.mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.001px);-ms-transform:translateY(-1.28125em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-form-field-autofill-control[_ngcontent-%COMP%]:-webkit-autofill + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00101px);-ms-transform:translateY(-1.28124em) scale(.75);width:133.3333433333%}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00102px);-ms-transform:translateY(-1.28123em) scale(.75);width:133.3333533333%}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{top:1.28125em}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]{bottom:1.25em}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-subscript-wrapper[_ngcontent-%COMP%]{margin-top:.5416666667em;top:calc(100% - 1.6666666667em)}@media print{.mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-1.28122em) scale(.75);transform:translateY(-1.28122em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-form-field-autofill-control[_ngcontent-%COMP%]:-webkit-autofill + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{transform:translateY(-1.28121em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-1.2812em) scale(.75);transform:translateY(-1.2812em) scale(.75)}}.mat-form-field-appearance-fill[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]{padding:.25em 0 .75em}.mat-form-field-appearance-fill[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{top:1.09375em;margin-top:-.5em}.mat-form-field-appearance-fill.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-fill.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-.59375em) scale(.75);transform:translateY(-.59375em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-fill.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-.59374em) scale(.75);transform:translateY(-.59374em) scale(.75);width:133.3333433333%}.mat-form-field-appearance-outline[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]{padding:1em 0}.mat-form-field-appearance-outline[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{top:1.84375em;margin-top:-.25em}.mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-outline.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-1.59375em) scale(.75);transform:translateY(-1.59375em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-outline.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-1.59374em) scale(.75);transform:translateY(-1.59374em) scale(.75);width:133.3333433333%}.mat-grid-tile-footer[_ngcontent-%COMP%], .mat-grid-tile-header[_ngcontent-%COMP%]{font-size:14px}.mat-grid-tile-footer[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%], .mat-grid-tile-header[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-grid-tile-footer[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2), .mat-grid-tile-header[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:12px}input.mat-input-element[_ngcontent-%COMP%]{margin-top:-.0625em}.mat-menu-item[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:400}.mat-paginator[_ngcontent-%COMP%], .mat-paginator-page-size[_ngcontent-%COMP%] .mat-select-trigger[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:12px}.mat-radio-button[_ngcontent-%COMP%], .mat-select[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-select-trigger[_ngcontent-%COMP%]{height:1.125em}.mat-slide-toggle-content[_ngcontent-%COMP%], .mat-slider-thumb-label-text[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-slider-thumb-label-text[_ngcontent-%COMP%]{font-size:12px;font-weight:500}.mat-stepper-horizontal[_ngcontent-%COMP%], .mat-stepper-vertical[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-step-label[_ngcontent-%COMP%]{font-size:14px;font-weight:400}.mat-step-sub-label-error[_ngcontent-%COMP%]{font-weight:400}.mat-step-label-error[_ngcontent-%COMP%]{font-size:14px}.mat-step-label-selected[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.mat-tab-group[_ngcontent-%COMP%], .mat-tab-label[_ngcontent-%COMP%], .mat-tab-link[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-tab-label[_ngcontent-%COMP%], .mat-tab-link[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.mat-toolbar[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font:500 20px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0}.mat-tooltip[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:10px;padding-top:6px;padding-bottom:6px}.mat-tooltip-handset[_ngcontent-%COMP%]{font-size:14px;padding-top:8px;padding-bottom:8px}.mat-list-item[_ngcontent-%COMP%], .mat-list-option[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]{font-size:16px}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:14px}.mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%]{font-size:16px}.mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:14px}.mat-list-base[_ngcontent-%COMP%] .mat-subheader[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:500}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]{font-size:12px}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2), .mat-list-base[dense][_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%]{font-size:12px}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:12px}.mat-list-base[dense][_ngcontent-%COMP%] .mat-subheader[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:12px;font-weight:500}.mat-option[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:16px}.mat-optgroup-label[_ngcontent-%COMP%]{font:500 14px/24px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-simple-snackbar[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px}.mat-simple-snackbar-action[_ngcontent-%COMP%]{line-height:1;font-family:inherit;font-size:inherit;font-weight:500}.mat-tree[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-nested-tree-node[_ngcontent-%COMP%], .mat-tree-node[_ngcontent-%COMP%]{font-weight:400;font-size:14px}.mat-ripple[_ngcontent-%COMP%]{overflow:hidden;position:relative}.mat-ripple[_ngcontent-%COMP%]:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded[_ngcontent-%COMP%]{overflow:visible}.mat-ripple-element[_ngcontent-%COMP%]{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0,0,.2,1);-ms-transform:scale(0);transform:scale(0)}.cdk-high-contrast-active[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{display:none}.cdk-visually-hidden[_ngcontent-%COMP%]{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;outline:0;-webkit-appearance:none;-moz-appearance:none}.cdk-global-overlay-wrapper[_ngcontent-%COMP%], .cdk-overlay-container[_ngcontent-%COMP%]{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container[_ngcontent-%COMP%]{position:fixed;z-index:1000}.cdk-overlay-container[_ngcontent-%COMP%]:empty{display:none}.cdk-global-overlay-wrapper[_ngcontent-%COMP%], .cdk-overlay-pane[_ngcontent-%COMP%]{display:-ms-flexbox;display:flex;position:absolute;z-index:1000}.cdk-overlay-pane[_ngcontent-%COMP%]{pointer-events:auto;box-sizing:border-box;max-width:100%;max-height:100%}.cdk-overlay-backdrop[_ngcontent-%COMP%]{position:absolute;top:0;bottom:0;left:0;right:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:transparent;transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:1}@media screen and (-ms-high-contrast:active){.cdk-overlay-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:.6}}.cdk-overlay-dark-backdrop[_ngcontent-%COMP%]{background:rgba(0,0,0,.32)}.cdk-overlay-transparent-backdrop[_ngcontent-%COMP%], .cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:0}.cdk-overlay-connected-position-bounding-box[_ngcontent-%COMP%]{position:absolute;z-index:1000;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock[_ngcontent-%COMP%]{position:fixed;width:100%;overflow-y:scroll}@-webkit-keyframes cdk-text-field-autofill-start{\n }@keyframes cdk-text-field-autofill-start{\n }@-webkit-keyframes cdk-text-field-autofill-end{\n }@keyframes cdk-text-field-autofill-end{\n }.cdk-text-field-autofill-monitored[_ngcontent-%COMP%]:-webkit-autofill{-webkit-animation:cdk-text-field-autofill-start 0s 1ms;animation:cdk-text-field-autofill-start 0s 1ms}.cdk-text-field-autofill-monitored[_ngcontent-%COMP%]:not(:-webkit-autofill){-webkit-animation:cdk-text-field-autofill-end 0s 1ms;animation:cdk-text-field-autofill-end 0s 1ms}textarea.cdk-textarea-autosize[_ngcontent-%COMP%]{resize:none}textarea.cdk-textarea-autosize-measuring[_ngcontent-%COMP%]{padding:2px 0!important;box-sizing:content-box!important;height:auto!important;overflow:hidden!important}textarea.cdk-textarea-autosize-measuring-firefox[_ngcontent-%COMP%]{padding:2px 0!important;box-sizing:content-box!important;height:0!important}.mat-focus-indicator[_ngcontent-%COMP%], .mat-mdc-focus-indicator[_ngcontent-%COMP%]{position:relative}h3[_ngcontent-%COMP%]{margin:0 0 8px}h3[_ngcontent-%COMP%], h4[_ngcontent-%COMP%]{padding-bottom:16px;border-bottom:1px solid #999}h4[_ngcontent-%COMP%]{margin:0 0 8px -16px;padding-top:8px}h4[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#ff9800;font-weight:400;font-size:1rem;padding-left:12px}.box-margin[_ngcontent-%COMP%]{margin:0 32px}.box-margin[_ngcontent-%COMP%] .radio[_ngcontent-%COMP%]{padding:8px 0}.box-margin[_ngcontent-%COMP%] .radio[_ngcontent-%COMP%] mat-radio-button[_ngcontent-%COMP%]{margin:8px 12px 0}.box-margin[_ngcontent-%COMP%] .radio.representative-type[_ngcontent-%COMP%]{padding-bottom:12px}.box-margin[_ngcontent-%COMP%] .radio.representative-type[_ngcontent-%COMP%] mat-radio-group[_ngcontent-%COMP%]{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.box-margin[_ngcontent-%COMP%] .full-width[_ngcontent-%COMP%]{width:100%}.box-margin[_ngcontent-%COMP%] .inline-form[_ngcontent-%COMP%]{display:-ms-flexbox;display:flex;-ms-flex-flow:row;flex-flow:row}.box-margin[_ngcontent-%COMP%] .inline-form[_ngcontent-%COMP%] .spacer[_ngcontent-%COMP%]{width:50px}.box-margin[_ngcontent-%COMP%] .inline-form[_ngcontent-%COMP%] mat-form-field[_ngcontent-%COMP%]{-ms-flex:1;flex:1}.box-margin[_ngcontent-%COMP%] .inline-form[_ngcontent-%COMP%] mat-form-field.birthdate[_ngcontent-%COMP%]{max-width:250px}.box-margin[_ngcontent-%COMP%] .inline-form[_ngcontent-%COMP%] app-country-form[_ngcontent-%COMP%]{-ms-flex:1;flex:1}.box-margin[_ngcontent-%COMP%] .client-error[_ngcontent-%COMP%]{font-size:1.2rem;display:-ms-flexbox;display:flex;line-height:48px;padding-left:12px}.box-margin[_ngcontent-%COMP%] .error[_ngcontent-%COMP%] mat-error[_ngcontent-%COMP%]{display:-ms-flexbox;display:flex;padding:10px;-ms-flex-align:center;align-items:center}.box-margin[_ngcontent-%COMP%] .error[_ngcontent-%COMP%] mat-error[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{margin-right:12px}.box-margin[_ngcontent-%COMP%] .workers-list[_ngcontent-%COMP%]{margin-bottom:12px}.box-margin[_ngcontent-%COMP%] .description[_ngcontent-%COMP%]{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.box-margin[_ngcontent-%COMP%] .description[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{opacity:.7;margin-right:8px}.box-margin[_ngcontent-%COMP%] .description[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-style:italic}.box-margin[_ngcontent-%COMP%] #bloc-representant[_ngcontent-%COMP%] .description[_ngcontent-%COMP%]{padding-top:16px}"]}),t})();var rn=n("/uUt"),on=n("vzmS"),sn=n("INw2"),ln=n("H3+n");function cn(t,e){1&t&&(o.Tb(0,"mat-error"),o.Hc(1),o.gc(2,"translate"),o.Sb()),2&t&&(o.Cb(1),o.Jc(" ",o.hc(2,1,"common.error.requis")," "))}function dn(t,e){if(1&t&&(o.Tb(0,"mat-form-field",21),o.Ob(1,"input",22),o.Fc(2,cn,3,3,"mat-error",18),o.Sb()),2&t){const t=o.fc();o.Cb(2),o.nc("ngIf",t.doesControlHaveError("materielsDangereuxList","required"))}}function un(t,e){1&t&&(o.Tb(0,"mat-error"),o.Hc(1),o.gc(2,"translate"),o.Sb()),2&t&&(o.Cb(1),o.Jc(" ",o.hc(2,1,"common.error.requis")," "))}function hn(t,e){1&t&&(o.Tb(0,"mat-error"),o.Hc(1),o.gc(2,"translate"),o.Sb()),2&t&&(o.Cb(1),o.Jc(" ",o.hc(2,1,"dpd.travail.error.repos")," "))}let mn=(()=>{class t extends At.a{constructor(t,e){super(t),this.translateService=t,this.configSharedService=e}load(){this.form=this.configSharedService.form.get(rt.a.PRESTATION),this.activities=this.configSharedService.activities,this.updateListActiviteCodeNaf(),this.numeroModele=this.configSharedService.numeroModele,this.subscriptions.push(this.clientFg.valueChanges.pipe(Object(u.a)(t=>t.codeNaf),Object(rn.a)()).subscribe(t=>this.updateListActiviteCodeNaf())),this.locationsArrFg.forEach(t=>{this.subscriptions.push(t.valueChanges.pipe(Object(u.a)(t=>t.codeNaf),Object(rn.a)()).subscribe(t=>this.updateListActiviteCodeNaf()))})}get isMaterialDangereux(){return this.form.get("isMaterialDangereux").value}get clientFg(){return this.configSharedService.form.get(rt.a.CLIENT).get("client")}get clientCodeNaf(){return this.clientFg.get("codeNaf").value}get locationsArrFg(){return this.configSharedService.form.get(rt.a.LOCATIONS).get("locations").controls}get locationsCodeNaf(){return this.locationsArrFg.map(t=>t.get("codeNaf").value)}get activitiesFg(){return this.form.get("activities")}get horaireDebutCtrl(){return this.form.get("horaireDebut")}get horaireFinCtrl(){return this.form.get("horaireFin")}updateListActiviteCodeNaf(){const t=[];if(this.clientCodeNaf&&t.push(this.clientCodeNaf),this.locationsCodeNaf){const e=this.locationsCodeNaf.filter(t=>t&&t!==this.clientCodeNaf);t.push(...e)}this.activitesForCodeNaf=t.map(t=>this.getActiviteFromCodeNaf(t))}getActiviteFromCodeNaf(t){if(t)return new on.a({activite1:this.getParentActivite(t.substring(0,2)),activite2:t.substring(0,2),activite3:t.substring(0,4),activite4:t.substring(0,5)})}getParentActivite(t){if(this.activities){const e=this.activities.find(e=>!!e.sousActivites&&!!e.sousActivites.find(e=>t===e.code));return e?e.code:null}return null}onClearHoraire(t){t.checked?(this.form.patchValue({horaireDebut:null,horaireFin:null}),this.horaireDebutCtrl.disable(),this.horaireFinCtrl.disable()):(this.horaireDebutCtrl.enable(),this.horaireFinCtrl.enable())}onRadioChange(t){t.value?this.form.get("materielsDangereuxList").enable():(this.form.get("materielsDangereuxList").disable(),this.form.patchValue({materielsDangereuxList:null}))}}return t.\u0275fac=function(e){return new(e||t)(o.Nb(xt.d),o.Nb(mt.a))},t.\u0275cmp=o.Hb({type:t,selectors:[["app-dpd-edit-service-info-2"]],features:[o.zb],decls:33,vars:26,consts:[[3,"formGroup"],["appLabel","dpd.menu.prestation.info"],[1,"box-margin"],[1,"description"],[3,"innerHTML"],["message","dpd.prestation.info.details._info"],["name","activite",3,"formFg","activities","listActiviteCodeNaf","hideSubActivites"],[1,"radio","inline-form"],["appLabel","dpd.travail.dangereux","required","",1,"radio-group-label"],["name","dangereuxActive","formControlName","isMaterialDangereux","required","",3,"change"],["data-cy","dangereux-oui","color","primary",3,"value"],["data-cy","dangereux-non","color","primary",3,"value"],["class","full-width",4,"ngIf"],[1,"inline-form"],["data-cy","horaire-debut","formControlName","horaireDebut",3,"inputTitle"],[1,"spacer"],["data-cy","horaire-fin","formControlName","horaireFin",3,"inputTitle"],["matInput","","data-cy","nb-jours-repos","type","number","name","nbJoursRepos","appLabel","dpd.travail.repos","formControlName","nbJoursRepos","required","",3,"min","max"],[4,"ngIf"],["name","horairesAtypiques","data-cy","horaires-atypiques","color","primary","formControlName","horairesAtypiques",3,"change"],["message","dpd.travail.horaires.atypiques._info"],[1,"full-width"],["matInput","","data-cy","dangereux","type","text","name","dangereux","appLabel","dpd.travail.dangereux.details","appTextField","text","formControlName","materielsDangereuxList","required",""]],template:function(t,e){1&t&&(o.Tb(0,"form",0),o.Ob(1,"h3",1),o.Tb(2,"div",2),o.Tb(3,"div",3),o.Tb(4,"mat-icon"),o.Hc(5,"info"),o.Sb(),o.Ob(6,"span",4),o.gc(7,"translate"),o.Ob(8,"app-infobulle",5),o.Sb(),o.Ob(9,"app-activite-form-2",6),o.Tb(10,"div",7),o.Ob(11,"mat-label",8),o.Tb(12,"mat-radio-group",9),o.bc("change",function(t){return e.onRadioChange(t)}),o.Tb(13,"mat-radio-button",10),o.Hc(14),o.gc(15,"translate"),o.Sb(),o.Tb(16,"mat-radio-button",11),o.Hc(17),o.gc(18,"translate"),o.Sb(),o.Sb(),o.Sb(),o.Fc(19,dn,3,1,"mat-form-field",12),o.Tb(20,"div",13),o.Ob(21,"app-time-form-2",14),o.Ob(22,"div",15),o.Ob(23,"app-time-form-2",16),o.Ob(24,"div",15),o.Tb(25,"mat-form-field"),o.Ob(26,"input",17),o.Fc(27,un,3,3,"mat-error",18),o.Fc(28,hn,3,3,"mat-error",18),o.Sb(),o.Sb(),o.Tb(29,"mat-checkbox",19),o.bc("change",function(t){return e.onClearHoraire(t)}),o.Hc(30),o.gc(31,"translate"),o.Ob(32,"app-infobulle",20),o.Sb(),o.Sb(),o.Sb()),2&t&&(o.nc("formGroup",e.form),o.Cb(6),o.nc("innerHTML",o.hc(7,18,"dpd.prestation.info.details"),o.zc),o.Cb(3),o.nc("formFg",e.activitiesFg)("activities",e.activities)("listActiviteCodeNaf",e.activitesForCodeNaf)("hideSubActivites",4===e.numeroModele||5===e.numeroModele||6===e.numeroModele),o.Cb(4),o.nc("value",!0),o.Cb(1),o.Jc(" ",o.hc(15,20,"common.oui")," "),o.Cb(2),o.nc("value",!1),o.Cb(1),o.Jc(" ",o.hc(18,22,"common.non")," "),o.Cb(2),o.nc("ngIf",e.isMaterialDangereux),o.Cb(2),o.nc("inputTitle","dpd.travail.horaire.debut"),o.Cb(2),o.nc("inputTitle","dpd.travail.horaire.fin"),o.Cb(3),o.nc("min",0)("max",6),o.Cb(1),o.nc("ngIf",e.doesControlHaveError("nbJoursRepos","required")),o.Cb(1),o.nc("ngIf",e.doesControlHaveError("nbJoursRepos","pattern")),o.Cb(2),o.Jc(" ",o.hc(31,24,"dpd.travail.horaires.atypiques")," "))},directives:[p.x,p.p,p.i,Ot.a,Me.a,It.a,sn.a,St.f,Ft.b,p.o,p.g,p.v,Ft.a,i.l,ln.a,St.c,Tt.b,p.s,p.c,Kt.a,Ne.a,St.b],pipes:[xt.c],styles:["h3[_ngcontent-%COMP%]{margin:0 0 8px;padding-bottom:16px;border-bottom:1px solid #999}.box-margin[_ngcontent-%COMP%]{margin:0 32px}.box-margin[_ngcontent-%COMP%] .description[_ngcontent-%COMP%]{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;margin-bottom:16px}.box-margin[_ngcontent-%COMP%] .description[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{opacity:.7;margin-right:8px}.box-margin[_ngcontent-%COMP%] .description[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-style:italic}.box-margin[_ngcontent-%COMP%] .full-width[_ngcontent-%COMP%]{width:100%}.box-margin[_ngcontent-%COMP%] .inline-form[_ngcontent-%COMP%]{display:-ms-flexbox;display:flex;-ms-flex-flow:row;flex-flow:row;margin-bottom:16px}.box-margin[_ngcontent-%COMP%] .inline-form[_ngcontent-%COMP%] .spacer[_ngcontent-%COMP%]{width:50px}.box-margin[_ngcontent-%COMP%] .inline-form[_ngcontent-%COMP%] app-country-form[_ngcontent-%COMP%], .box-margin[_ngcontent-%COMP%] .inline-form[_ngcontent-%COMP%] app-time-form-2[_ngcontent-%COMP%], .box-margin[_ngcontent-%COMP%] .inline-form[_ngcontent-%COMP%] mat-form-field[_ngcontent-%COMP%]{-ms-flex:1;flex:1;-ms-flex-item-align:end;align-self:flex-end}.box-margin[_ngcontent-%COMP%] .inline-form[_ngcontent-%COMP%] mat-radio-button[_ngcontent-%COMP%]{margin:0 12px}.box-margin[_ngcontent-%COMP%] .inline-form[_ngcontent-%COMP%] .mat-form-field-wrapper{margin-bottom:-1.25em}.box-margin[_ngcontent-%COMP%] .radio[_ngcontent-%COMP%]{padding:8px 0}.box-margin[_ngcontent-%COMP%] .radio[_ngcontent-%COMP%] .radio-group-label[_ngcontent-%COMP%]{margin-top:-8px}"]}),t})();var pn=n("n33M"),fn=n("OaSA"),gn=n("kLGl"),bn=n("Nd6I");function _n(t,e){1&t&&(o.Tb(0,"th",20),o.Hc(1),o.gc(2,"translate"),o.Sb()),2&t&&(o.Cb(1),o.Jc(" ",o.hc(2,1,"common.nom")," "))}function yn(t,e){if(1&t&&(o.Tb(0,"td",21),o.Hc(1),o.gc(2,"translate"),o.Sb()),2&t){const t=e.$implicit;o.Cb(1),o.Jc(" ",t.getRawValue().nom?t.getRawValue().nom:o.hc(2,1,"common.nonrenseigne")," ")}}function vn(t,e){1&t&&(o.Tb(0,"th",22),o.Hc(1),o.gc(2,"translate"),o.Sb()),2&t&&(o.Cb(1),o.Jc(" ",o.hc(2,1,"common.adresse")," "))}function Cn(t,e){1&t&&(o.Ob(0,"td",23),o.gc(1,"formatAddress")),2&t&&o.nc("innerHTML",o.hc(1,1,e.$implicit.getRawValue().adresse),o.zc)}function wn(t,e){1&t&&(o.Tb(0,"th",24),o.Hc(1),o.gc(2,"translate"),o.Sb()),2&t&&(o.Cb(1),o.Jc(" ",o.hc(2,1,"dpd.hebergement.collectif")," "))}function xn(t,e){1&t&&(o.Ob(0,"td",23),o.gc(1,"formatAddress")),2&t&&o.nc("innerHTML",o.hc(1,1,e.$implicit.getRawValue().hebergementCollectif),o.zc)}function Mn(t,e){1&t&&o.Ob(0,"th",25)}function On(t,e){if(1&t){const t=o.Ub();o.Tb(0,"td",21),o.Tb(1,"div"),o.Tb(2,"button",26),o.bc("click",function(){o.yc(t);const n=e.index;return o.fc(2).editLocation(n)}),o.Tb(3,"mat-icon",27),o.Hc(4,"edit"),o.Sb(),o.Sb(),o.Tb(5,"button",28),o.bc("click",function(){o.yc(t);const n=e.index;return o.fc(2).removeLocation(n)}),o.Tb(6,"mat-icon",29),o.Hc(7,"delete"),o.Sb(),o.Sb(),o.Sb(),o.Sb()}if(2&t){const t=e.index,n=o.fc(2);o.Cb(2),o.pc("id","edit_",t,""),o.Db("data-cy","button-edit-lieu-"+t),o.Cb(3),o.pc("id","delete_",t,""),o.nc("disabled",n.isDisableRemoveLocation(t)),o.Db("data-cy","button-delete-lieu-"+t)}}function kn(t,e){1&t&&o.Ob(0,"tr",30)}function Sn(t,e){1&t&&o.Ob(0,"tr",31)}function Tn(t,e){if(1&t&&(o.Tb(0,"div",6),o.Tb(1,"table",7),o.Rb(2,8),o.Fc(3,_n,3,3,"th",9),o.Fc(4,yn,3,3,"td",10),o.Qb(),o.Rb(5,11),o.Fc(6,vn,3,3,"th",12),o.Fc(7,Cn,2,3,"td",13),o.Qb(),o.Rb(8,14),o.Fc(9,wn,3,3,"th",15),o.Fc(10,xn,2,3,"td",13),o.Qb(),o.Rb(11,16),o.Fc(12,Mn,1,0,"th",17),o.Fc(13,On,8,5,"td",10),o.Qb(),o.Fc(14,kn,1,0,"tr",18),o.Fc(15,Sn,1,0,"tr",19),o.Sb(),o.Sb()),2&t){const t=o.fc();o.Cb(1),o.nc("dataSource",t.dataSource),o.Cb(13),o.nc("matHeaderRowDef",t.displayedColumns),o.Cb(1),o.nc("matRowDefColumns",t.displayedColumns)}}function Pn(t,e){1&t&&(o.Tb(0,"span"),o.Hc(1),o.gc(2,"translate"),o.Sb()),2&t&&(o.Cb(1),o.Ic(o.hc(2,1,"dpd.prestation.error.limite")))}function Ln(t,e){if(1&t){const t=o.Ub();o.Tb(0,"div",32),o.Tb(1,"button",33),o.bc("click",function(){return o.yc(t),o.fc().addLocation()}),o.gc(2,"translate"),o.Hc(3),o.gc(4,"translate"),o.Sb(),o.Fc(5,Pn,3,3,"span",34),o.Sb()}if(2&t){const t=o.fc();o.Cb(1),o.nc("title",o.hc(2,4,t.locationsFgArr.controls.length>=5?"dpd.prestation.error.limite":"dpd.prestation.lieu.ajouter"))("disabled",t.locationsFgArr.controls.length>=5),o.Cb(2),o.Jc(" ",o.hc(4,6,"dpd.prestation.lieu.ajouter")," "),o.Cb(2),o.nc("ngIf",t.locationsFgArr.controls.length>=5)}}function Dn(t,e){if(1&t){const t=o.Ub();o.Tb(0,"div",35),o.Tb(1,"app-location-form-2",36),o.bc("saveOrUpdateLocationEvent",function(e){return o.yc(t),o.fc().onSaveOrUpdateLocation(e)})("closeEvent",function(){return o.yc(t),o.fc().onCancel()}),o.Sb(),o.Sb()}if(2&t){const t=o.fc();o.Cb(1),o.nc("isCompletionMode",t.isCompletionMode)("locationFg",t.selectedLocationFg)("isClientValid",t.isClientValid)("isClientFrench",t.isClientFrench)("numTVAClient",t.numTVA)}}let En=(()=>{class t extends At.a{constructor(t,e,n,i){super(t),this.translateService=t,this.fb=e,this.dialog=n,this.configSharedService=i,this.displayedColumns=["nom","adresse","hebergement","actions"],this.dataSource=[]}get isClientValid(){return this._isClientValid}get numTVA(){return this._numTVACtrl.value}get locationsFgArr(){return this.form.get("locations")}load(){this.form=this.configSharedService.form.get(rt.a.LOCATIONS);const t=this.configSharedService.form.get(rt.a.CLIENT);this._numTVACtrl=t.get("client").get("numTVA"),this.isClientFrench=t.get("client").get("adresse").get("pays").value&&"FR"===t.get("client").get("adresse").get("pays").value.code,this._isClientValid=t.valid&&!this._numTVACtrl.invalid&&!!this._numTVACtrl.value,0===this.locationsFgArr.controls.length?this.addLocation():this.dataSource=this.locationsFgArr.controls,null!==this.indexOfSelectedLocation&&-1!==this.indexOfSelectedLocation&&(this.selectedLocationFg=this.locationsFgArr.at(this.indexOfSelectedLocation)),this.isCompletionMode=this.configSharedService.mode===nt.a.COMPLETION,this.form.setValidators(()=>k.a.locationValidator(this.form,this._numTVACtrl))}addLocation(){this.configSharedService.setLocationIndex(-1),this.selectedLocationFg=new Z(this.fb,new pn.a({adresse:new b.a({pays:"FR"}),hebergementCollectif:new b.a({pays:"FR"})}),this.configSharedService.countries,!1).build()}editLocation(t){this.configSharedService.setLocationIndex(t),this.selectedLocationFg=this.locationsFgArr.at(t),this.selectedLocationFg.get("isSavedInArray").setValue(!1)}removeLocation(t){this.dialog.open(wt.a,{data:{title:this.translateService.instant("dpd.prestation.lieu.supprimer"),question:this.translateService.instant("dpd.prestation.lieu.supprimer.question"),okButtonText:this.translateService.instant("common.oui"),cancelButtonText:this.translateService.instant("common.non")}}).afterClosed().subscribe(e=>{if(!0===e){if(t<0||t>=this.dataSource.length)return;this.locationsFgArr.removeAt(t),this.configSharedService.setLastSavedLocationsArrayRawValue(this.locationsFgArr.getRawValue()),this.dataSource=[...this.locationsFgArr.controls],0===this.locationsFgArr.controls.length?this.addLocation():this._cleanSelection()}})}onSaveOrUpdateLocation(t){-1===this.indexOfSelectedLocation?this.locationsFgArr.push(t):this.locationsFgArr.setControl(this.indexOfSelectedLocation,this.selectedLocationFg),t.get("isSavedInArray").setValue(!0),this.configSharedService.setLastSavedLocationsArrayRawValue(this.locationsFgArr.getRawValue()),this._cleanSelection(),this.dataSource=[...this.locationsFgArr.controls]}onCancel(){this.selectedLocationFg.reset(this.configSharedService.lastSavedLocationsArrayRawValue[this.indexOfSelectedLocation]),this.selectedLocationFg.get("isSavedInArray").setValue(!0),this.selectedLocationFg.get("isHebergementCollectif").value?this.selectedLocationFg.get("hebergementCollectif").enable():this.selectedLocationFg.get("hebergementCollectif").disable(),this._cleanSelection()}isDisableRemoveLocation(t){const e=this.locationsFgArr.at(t);return this.configSharedService.mode===nt.a.COMPLETION&&null!==e.get("id")&&null!==e.get("id").value}_cleanSelection(){this.selectedLocationFg=null,this.configSharedService.setLocationIndex(null)}get indexOfSelectedLocation(){return this.configSharedService.locationIndex}displayAddLocationBtn(){return!this.selectedLocationFg&&(null===this.indexOfSelectedLocation||-1===this.indexOfSelectedLocation)}}return t.\u0275fac=function(e){return new(e||t)(o.Nb(xt.d),o.Nb(p.d),o.Nb(Mt.b),o.Nb(mt.a))},t.\u0275cmp=o.Hb({type:t,selectors:[["app-dpd-edit-service-place-2"]],features:[o.zb],decls:6,vars:4,consts:[[3,"formGroup"],["appLabel","dpd.menu.prestation.lieu"],[1,"box-margin"],["class","places-list mat-elevation-z4",4,"ngIf"],["class","places-action",4,"ngIf"],["class","full-width place-details",4,"ngIf"],[1,"places-list","mat-elevation-z4"],["mat-table","",3,"dataSource"],["matColumnDef","nom"],["id","nom","mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","adresse"],["id","adresse","mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",3,"innerHTML",4,"matCellDef"],["matColumnDef","hebergement"],["id","hebergementCollectif","mat-header-cell","",4,"matHeaderCellDef"],["matColumnDef","actions"],["id","actions","mat-header-cell","",4,"matHeaderCellDef"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["id","nom","mat-header-cell",""],["mat-cell",""],["id","adresse","mat-header-cell",""],["mat-cell","",3,"innerHTML"],["id","hebergementCollectif","mat-header-cell",""],["id","actions","mat-header-cell",""],["type","button","aria-label","edit","mat-icon-button","",3,"id","click"],["color","primary"],["type","button","aria-label","delete","color","primary","mat-icon-button","",3,"id","disabled","click"],["color","warn"],["mat-header-row",""],["mat-row",""],[1,"places-action"],["mat-raised-button","","aria-label","Add","color","primary",1,"add-place",3,"title","disabled","click"],[4,"ngIf"],[1,"full-width","place-details"],[3,"isCompletionMode","locationFg","isClientValid","isClientFrench","numTVAClient","saveOrUpdateLocationEvent","closeEvent"]],template:function(t,e){1&t&&(o.Tb(0,"form",0),o.Ob(1,"h3",1),o.Tb(2,"div",2),o.Fc(3,Tn,16,3,"div",3),o.Fc(4,Ln,6,8,"div",4),o.Fc(5,Dn,2,5,"div",5),o.Sb(),o.Sb()),2&t&&(o.nc("formGroup",e.form),o.Cb(3),o.nc("ngIf",e.locationsFgArr.controls.length>0),o.Cb(1),o.nc("ngIf",e.displayAddLocationBtn()&&!e.isCompletionMode),o.Cb(1),o.nc("ngIf",e.selectedLocationFg))},directives:[p.x,p.p,p.i,Ot.a,i.l,fn.j,fn.c,fn.e,fn.b,fn.g,fn.i,fn.d,fn.a,kt.a,Me.a,fn.f,fn.h,gn.a],pipes:[xt.c,bn.a],styles:[".mat-badge-content[_ngcontent-%COMP%]{font-weight:600;font-size:12px;font-family:Roboto,Helvetica Neue,sans-serif}.mat-badge-small[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{font-size:9px}.mat-badge-large[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{font-size:24px}.mat-h1[_ngcontent-%COMP%], .mat-headline[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font:400 24px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h2[_ngcontent-%COMP%], .mat-title[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font:500 20px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h3[_ngcontent-%COMP%], .mat-subheading-2[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font:400 16px/28px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h4[_ngcontent-%COMP%], .mat-subheading-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{font:400 15px/24px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h5[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{font:400 calc(14px * .83)/20px Roboto,Helvetica Neue,sans-serif;margin:0 0 12px}.mat-h6[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font:400 calc(14px * .67)/20px Roboto,Helvetica Neue,sans-serif;margin:0 0 12px}.mat-body-2[_ngcontent-%COMP%], .mat-body-strong[_ngcontent-%COMP%]{font:500 14px/24px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-body[_ngcontent-%COMP%], .mat-body-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%]{font:400 14px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-body-1[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .mat-body[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0 0 12px}.mat-caption[_ngcontent-%COMP%], .mat-small[_ngcontent-%COMP%]{font:400 12px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-display-4[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-4[_ngcontent-%COMP%]{font:300 112px/112px Roboto,Helvetica Neue,sans-serif;letter-spacing:-.05em;margin:0 0 56px}.mat-display-3[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-3[_ngcontent-%COMP%]{font:400 56px/56px Roboto,Helvetica Neue,sans-serif;letter-spacing:-.02em;margin:0 0 64px}.mat-display-2[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-2[_ngcontent-%COMP%]{font:400 45px/48px Roboto,Helvetica Neue,sans-serif;letter-spacing:-.005em;margin:0 0 64px}.mat-display-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-1[_ngcontent-%COMP%]{font:400 34px/40px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 64px}.mat-bottom-sheet-container[_ngcontent-%COMP%]{font:400 14px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-button[_ngcontent-%COMP%], .mat-fab[_ngcontent-%COMP%], .mat-flat-button[_ngcontent-%COMP%], .mat-icon-button[_ngcontent-%COMP%], .mat-mini-fab[_ngcontent-%COMP%], .mat-raised-button[_ngcontent-%COMP%], .mat-stroked-button[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:500}.mat-button-toggle[_ngcontent-%COMP%], .mat-card[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-card-title[_ngcontent-%COMP%]{font-size:24px;font-weight:500}.mat-card-header[_ngcontent-%COMP%] .mat-card-title[_ngcontent-%COMP%]{font-size:20px}.mat-card-content[_ngcontent-%COMP%], .mat-card-subtitle[_ngcontent-%COMP%]{font-size:14px}.mat-checkbox[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-checkbox-layout[_ngcontent-%COMP%] .mat-checkbox-label[_ngcontent-%COMP%]{line-height:24px}.mat-chip[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.mat-chip[_ngcontent-%COMP%] .mat-chip-remove.mat-icon[_ngcontent-%COMP%], .mat-chip[_ngcontent-%COMP%] .mat-chip-trailing-icon.mat-icon[_ngcontent-%COMP%]{font-size:18px}.mat-table[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-header-cell[_ngcontent-%COMP%]{font-size:12px;font-weight:500}.mat-cell[_ngcontent-%COMP%], .mat-footer-cell[_ngcontent-%COMP%]{font-size:14px}.mat-calendar[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-calendar-body[_ngcontent-%COMP%]{font-size:13px}.mat-calendar-body-label[_ngcontent-%COMP%], .mat-calendar-period-button[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.mat-calendar-table-header[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{font-size:11px;font-weight:400}.mat-dialog-title[_ngcontent-%COMP%]{font:500 20px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-expansion-panel-header[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:15px;font-weight:400}.mat-expansion-panel-content[_ngcontent-%COMP%]{font:400 14px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-form-field[_ngcontent-%COMP%]{font-size:inherit;font-weight:400;line-height:1.125;font-family:Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-form-field-wrapper[_ngcontent-%COMP%]{padding-bottom:1.34375em}.mat-form-field-prefix[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%], .mat-form-field-suffix[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{font-size:150%;line-height:1.125}.mat-form-field-prefix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%], .mat-form-field-suffix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%]{height:1.5em;width:1.5em}.mat-form-field-prefix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%], .mat-form-field-suffix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{height:1.125em;line-height:1.125}.mat-form-field-infix[_ngcontent-%COMP%]{padding:.5em 0;border-top:.84375em solid rgba(0,0,0,0)}.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-1.34375em) scale(.75);transform:translateY(-1.34375em) scale(.75);width:133.3333333333%}.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-1.34374em) scale(.75);transform:translateY(-1.34374em) scale(.75);width:133.3333433333%}.mat-form-field-label-wrapper[_ngcontent-%COMP%]{top:-.84375em;padding-top:.84375em}.mat-form-field-label[_ngcontent-%COMP%]{top:1.34375em}.mat-form-field-underline[_ngcontent-%COMP%]{bottom:1.34375em}.mat-form-field-subscript-wrapper[_ngcontent-%COMP%]{font-size:75%;margin-top:.6666666667em;top:calc(100% - 1.7916666667em)}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-wrapper[_ngcontent-%COMP%]{padding-bottom:1.25em}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]{padding:.4375em 0}.mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.001px);-ms-transform:translateY(-1.28125em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-form-field-autofill-control[_ngcontent-%COMP%]:-webkit-autofill + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00101px);-ms-transform:translateY(-1.28124em) scale(.75);width:133.3333433333%}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00102px);-ms-transform:translateY(-1.28123em) scale(.75);width:133.3333533333%}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{top:1.28125em}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]{bottom:1.25em}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-subscript-wrapper[_ngcontent-%COMP%]{margin-top:.5416666667em;top:calc(100% - 1.6666666667em)}@media print{.mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-1.28122em) scale(.75);transform:translateY(-1.28122em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-form-field-autofill-control[_ngcontent-%COMP%]:-webkit-autofill + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{transform:translateY(-1.28121em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-1.2812em) scale(.75);transform:translateY(-1.2812em) scale(.75)}}.mat-form-field-appearance-fill[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]{padding:.25em 0 .75em}.mat-form-field-appearance-fill[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{top:1.09375em;margin-top:-.5em}.mat-form-field-appearance-fill.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-fill.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-.59375em) scale(.75);transform:translateY(-.59375em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-fill.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-.59374em) scale(.75);transform:translateY(-.59374em) scale(.75);width:133.3333433333%}.mat-form-field-appearance-outline[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]{padding:1em 0}.mat-form-field-appearance-outline[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{top:1.84375em;margin-top:-.25em}.mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-outline.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-1.59375em) scale(.75);transform:translateY(-1.59375em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-outline.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-1.59374em) scale(.75);transform:translateY(-1.59374em) scale(.75);width:133.3333433333%}.mat-grid-tile-footer[_ngcontent-%COMP%], .mat-grid-tile-header[_ngcontent-%COMP%]{font-size:14px}.mat-grid-tile-footer[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%], .mat-grid-tile-header[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-grid-tile-footer[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2), .mat-grid-tile-header[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:12px}input.mat-input-element[_ngcontent-%COMP%]{margin-top:-.0625em}.mat-menu-item[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:400}.mat-paginator[_ngcontent-%COMP%], .mat-paginator-page-size[_ngcontent-%COMP%] .mat-select-trigger[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:12px}.mat-radio-button[_ngcontent-%COMP%], .mat-select[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-select-trigger[_ngcontent-%COMP%]{height:1.125em}.mat-slide-toggle-content[_ngcontent-%COMP%], .mat-slider-thumb-label-text[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-slider-thumb-label-text[_ngcontent-%COMP%]{font-size:12px;font-weight:500}.mat-stepper-horizontal[_ngcontent-%COMP%], .mat-stepper-vertical[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-step-label[_ngcontent-%COMP%]{font-size:14px;font-weight:400}.mat-step-sub-label-error[_ngcontent-%COMP%]{font-weight:400}.mat-step-label-error[_ngcontent-%COMP%]{font-size:14px}.mat-step-label-selected[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.mat-tab-group[_ngcontent-%COMP%], .mat-tab-label[_ngcontent-%COMP%], .mat-tab-link[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-tab-label[_ngcontent-%COMP%], .mat-tab-link[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.mat-toolbar[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font:500 20px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0}.mat-tooltip[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:10px;padding-top:6px;padding-bottom:6px}.mat-tooltip-handset[_ngcontent-%COMP%]{font-size:14px;padding-top:8px;padding-bottom:8px}.mat-list-item[_ngcontent-%COMP%], .mat-list-option[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]{font-size:16px}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:14px}.mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%]{font-size:16px}.mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:14px}.mat-list-base[_ngcontent-%COMP%] .mat-subheader[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:500}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]{font-size:12px}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2), .mat-list-base[dense][_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%]{font-size:12px}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:12px}.mat-list-base[dense][_ngcontent-%COMP%] .mat-subheader[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:12px;font-weight:500}.mat-option[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:16px}.mat-optgroup-label[_ngcontent-%COMP%]{font:500 14px/24px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-simple-snackbar[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px}.mat-simple-snackbar-action[_ngcontent-%COMP%]{line-height:1;font-family:inherit;font-size:inherit;font-weight:500}.mat-tree[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-nested-tree-node[_ngcontent-%COMP%], .mat-tree-node[_ngcontent-%COMP%]{font-weight:400;font-size:14px}.mat-ripple[_ngcontent-%COMP%]{overflow:hidden;position:relative}.mat-ripple[_ngcontent-%COMP%]:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded[_ngcontent-%COMP%]{overflow:visible}.mat-ripple-element[_ngcontent-%COMP%]{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0,0,.2,1);-ms-transform:scale(0);transform:scale(0)}.cdk-high-contrast-active[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{display:none}.cdk-visually-hidden[_ngcontent-%COMP%]{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;outline:0;-webkit-appearance:none;-moz-appearance:none}.cdk-global-overlay-wrapper[_ngcontent-%COMP%], .cdk-overlay-container[_ngcontent-%COMP%]{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container[_ngcontent-%COMP%]{position:fixed;z-index:1000}.cdk-overlay-container[_ngcontent-%COMP%]:empty{display:none}.cdk-global-overlay-wrapper[_ngcontent-%COMP%], .cdk-overlay-pane[_ngcontent-%COMP%]{display:-ms-flexbox;display:flex;position:absolute;z-index:1000}.cdk-overlay-pane[_ngcontent-%COMP%]{pointer-events:auto;box-sizing:border-box;max-width:100%;max-height:100%}.cdk-overlay-backdrop[_ngcontent-%COMP%]{position:absolute;top:0;bottom:0;left:0;right:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:transparent;transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:1}@media screen and (-ms-high-contrast:active){.cdk-overlay-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:.6}}.cdk-overlay-dark-backdrop[_ngcontent-%COMP%]{background:rgba(0,0,0,.32)}.cdk-overlay-transparent-backdrop[_ngcontent-%COMP%], .cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:0}.cdk-overlay-connected-position-bounding-box[_ngcontent-%COMP%]{position:absolute;z-index:1000;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock[_ngcontent-%COMP%]{position:fixed;width:100%;overflow-y:scroll}@-webkit-keyframes cdk-text-field-autofill-start{\n }@keyframes cdk-text-field-autofill-start{\n }@-webkit-keyframes cdk-text-field-autofill-end{\n }@keyframes cdk-text-field-autofill-end{\n }.cdk-text-field-autofill-monitored[_ngcontent-%COMP%]:-webkit-autofill{-webkit-animation:cdk-text-field-autofill-start 0s 1ms;animation:cdk-text-field-autofill-start 0s 1ms}.cdk-text-field-autofill-monitored[_ngcontent-%COMP%]:not(:-webkit-autofill){-webkit-animation:cdk-text-field-autofill-end 0s 1ms;animation:cdk-text-field-autofill-end 0s 1ms}textarea.cdk-textarea-autosize[_ngcontent-%COMP%]{resize:none}textarea.cdk-textarea-autosize-measuring[_ngcontent-%COMP%]{padding:2px 0!important;box-sizing:content-box!important;height:auto!important;overflow:hidden!important}textarea.cdk-textarea-autosize-measuring-firefox[_ngcontent-%COMP%]{padding:2px 0!important;box-sizing:content-box!important;height:0!important}.mat-focus-indicator[_ngcontent-%COMP%], .mat-mdc-focus-indicator[_ngcontent-%COMP%]{position:relative}h3[_ngcontent-%COMP%]{margin:0 0 8px;padding-bottom:16px;border-bottom:1px solid #999}.box-margin[_ngcontent-%COMP%]{margin:0 32px}.box-margin[_ngcontent-%COMP%] .full-width[_ngcontent-%COMP%]{width:100%}.box-margin[_ngcontent-%COMP%] .places-list[_ngcontent-%COMP%]{margin-top:8px}.box-margin[_ngcontent-%COMP%] .places-list[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{width:100%}.box-margin[_ngcontent-%COMP%] .places-list[_ngcontent-%COMP%] .empty-table[_ngcontent-%COMP%]{text-align:center;padding:8px 0}.box-margin[_ngcontent-%COMP%] .places-list[_ngcontent-%COMP%] button[disabled][_ngcontent-%COMP%] .mat-icon.mat-warn[_ngcontent-%COMP%]{cursor:default;opacity:.5;color:#ccc}.box-margin[_ngcontent-%COMP%] .places-action[_ngcontent-%COMP%]{display:-ms-flexbox;display:flex;-ms-flex-direction:row-reverse;flex-direction:row-reverse;-ms-flex-align:center;align-items:center}.box-margin[_ngcontent-%COMP%] .places-action[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{padding-right:12px;color:#ff9800;-ms-flex:1;flex:1}"]}),t})();var An=n("XoVe"),In=n("UPR3"),Rn=n("i+32");function Nn(t,e){if(1&t){const t=o.Ub();o.Tb(0,"div",14),o.Tb(1,"app-dpd-edit-workers-dropdown-2",15),o.bc("editWorkerEvent",function(e){return o.yc(t),o.fc().onEditWorkerChange(e)})("removeWorkerEvent",function(e){return o.yc(t),o.fc().onRemoveWorkerChange(e)}),o.Sb(),o.Sb()}if(2&t){const t=o.fc();o.Cb(1),o.nc("workersArray",t.workersFormArray)("editionMode",!0)("idSalarieRepresentant",t.idSalarieRepresentant)}}function Yn(t,e){if(1&t){const t=o.Ub();o.Tb(0,"div",16),o.Tb(1,"button",17),o.bc("click",function(){return o.yc(t),o.fc().addWorker()}),o.gc(2,"translate"),o.Hc(3),o.gc(4,"translate"),o.Sb(),o.Sb()}2&t&&(o.Cb(1),o.nc("title",o.hc(2,2,"dpd.salarie.ajouter")),o.Cb(2),o.Jc(" ",o.hc(4,4,"dpd.salarie.ajouter")," "))}function Hn(t,e){1&t&&(o.Tb(0,"mat-error"),o.Hc(1),o.gc(2,"translate"),o.Sb()),2&t&&(o.Cb(1),o.Jc(" ",o.hc(2,1,"dpd.salarie.error.unicity")," "))}function jn(t,e){if(1&t){const t=o.Ub();o.Tb(0,"app-single-worker-form-2",18),o.bc("submitWorkerEvent",function(e){return o.yc(t),o.fc().onSaveOrUpdateWorker(e)})("closeEvent",function(){return o.yc(t),o.fc().onCancel()}),o.Sb()}if(2&t){const t=o.fc();o.nc("formGp",t.selectedWorkerFg)}}let Fn=(()=>{class t extends At.a{constructor(t,e,n){super(t),this.translateService=t,this.configSharedService=e,this.fb=n}get prestationStartDateCtrl(){return this.form.get("dateDebut")}get prestationEndDateCtrl(){return this.form.get("dateFin")}load(){this.numeroModele=this.configSharedService.numeroModele,this.form=this.configSharedService.form.get(rt.a.WORKERS),this.workersFormArray=this.form.get("workers"),this._updatePrestationDates();const t=this.configSharedService.form.get(rt.a.REPRESENTATIVE);this.idSalarieRepresentant=t.get("idSalarie").value,this.subscriptions.push(t.valueChanges.pipe(Object(u.a)(t=>t.idSalarie),Object(rn.a)()).subscribe(t=>this.idSalarieRepresentant=t)),0===this.workersFormArray.length&&this.addWorker(),null!==this.indexOfSelectedWorker&&(this.selectedWorkerFg=this.workersFormArray.at(this.indexOfSelectedWorker))}addWorker(){this.selectedWorkerFg=new Q(this.fb,new h.a({}),this.configSharedService.countries,!1,this.numeroModele,!1).build(),this.workersFormArray.push(this.selectedWorkerFg);const t=this.workersFormArray.controls.findIndex(t=>t.get("id").value===this.selectedWorkerFg.get("id").value);this.configSharedService.setWorkerIndex(t)}onEditWorkerChange(t){this.configSharedService.setWorkerIndex(t),this.selectedWorkerFg=this.workersFormArray.at(t),this.selectedWorkerFg.get("isSavedInArray").setValue(!1)}onSaveOrUpdateWorker(t){this.configSharedService.setlastSavedWorkersArrayRawValue(this.workersFormArray.getRawValue()),this._cleanSelection(),this._updatePrestationDates(),t.get("isSavedInArray").setValue(!0),this.updateRepresentativeForm()}onCancel(){this.configSharedService.lastSavedWorkersArrayRawValue[this.indexOfSelectedWorker]?(this.selectedWorkerFg.reset(this.configSharedService.lastSavedWorkersArrayRawValue[this.indexOfSelectedWorker]),this.selectedWorkerFg.get("isSavedInArray").setValue(!0),this._cleanSelection()):this.onRemoveWorkerChange(this.indexOfSelectedWorker)}onRemoveWorkerChange(t){this.workersFormArray.removeAt(t),this.configSharedService.setlastSavedWorkersArrayRawValue(this.workersFormArray.getRawValue()),0===this.workersFormArray.controls.length?this.addWorker():this._cleanSelection(),this._updatePrestationDates()}_cleanSelection(){this.selectedWorkerFg=null,this.configSharedService.setWorkerIndex(null)}_updatePrestationDates(){const t=[],e=[];this.workersFormArray.controls.forEach(n=>{const i=n.get("dateDebut"),a=n.get("dateFin");i&&i.value&&t.push(new Date(i.value)),a&&a.value&&e.push(new Date(a.value))});const n=0===t.length?null:new Date(Math.min(...t)),i=0===e.length?null:new Date(Math.max(...e));this.prestationStartDateCtrl.setValue(n?new Date(n):null),this.prestationEndDateCtrl.setValue(i?new Date(i):null)}updateRepresentativeForm(){this.configSharedService.form.get(rt.a.REPRESENTATIVE).updateValueAndValidity()}get indexOfSelectedWorker(){return this.configSharedService.workerIndex}displayDropdown(){return 1===this.workersFormArray.length&&!0===this.workersFormArray.at(0).get("isSavedInArray").value||this.workersFormArray.length>1}}return t.\u0275fac=function(e){return new(e||t)(o.Nb(xt.d),o.Nb(mt.a),o.Nb(p.d))},t.\u0275cmp=o.Hb({type:t,selectors:[["app-dpd-edit-workers-2"]],features:[o.zb],decls:19,vars:12,consts:[["appLabel","dpd.menu.salaries"],[1,"box-margin",3,"formGroup"],[1,"inline-form"],["data-cy","prestation-date-debut","formControlName","dateDebut",1,"inline-item",3,"inputTitle","isRequired"],[1,"spacer"],["data-cy","prestation-date-fin","formControlName","dateFin",1,"inline-item",3,"inputTitle","isRequired"],[1,"box-margin"],[1,"description"],[3,"innerHTML"],["message","dpd.salarie.info.details._info"],["class","workers-list mat-elevation-z4",4,"ngIf"],["class","workers-action",4,"ngIf","ngIfElse"],[4,"ngIf"],["singleWorkerComponent",""],[1,"workers-list","mat-elevation-z4"],[3,"workersArray","editionMode","idSalarieRepresentant","editWorkerEvent","removeWorkerEvent"],[1,"workers-action"],["mat-raised-button","","aria-label","add","color","primary",1,"add-worker",3,"title","click"],[3,"formGp","submitWorkerEvent","closeEvent"]],template:function(t,e){if(1&t&&(o.Ob(0,"h3",0),o.Tb(1,"div",1),o.Tb(2,"div",2),o.Ob(3,"app-date-form-2",3),o.Ob(4,"div",4),o.Ob(5,"app-date-form-2",5),o.Sb(),o.Sb(),o.Tb(6,"div",6),o.Tb(7,"div",7),o.Tb(8,"mat-icon"),o.Hc(9,"info"),o.Sb(),o.Ob(10,"span",8),o.gc(11,"translate"),o.Ob(12,"app-infobulle",9),o.Sb(),o.Rb(13),o.Fc(14,Nn,2,3,"div",10),o.Fc(15,Yn,5,6,"div",11),o.Fc(16,Hn,3,3,"mat-error",12),o.Qb(),o.Fc(17,jn,1,1,"ng-template",null,13,o.Gc),o.Sb()),2&t){const t=o.vc(18);o.Cb(1),o.nc("formGroup",e.form),o.Cb(2),o.nc("inputTitle","dpd.prestation.date.debut")("isRequired",!0),o.Cb(2),o.nc("inputTitle","dpd.prestation.date.fin")("isRequired",!0),o.Cb(5),o.nc("innerHTML",o.hc(11,10,"dpd.salarie.info.details"),o.zc),o.Cb(4),o.nc("ngIf",e.displayDropdown()),o.Cb(1),o.nc("ngIf",null===e.indexOfSelectedWorker)("ngIfElse",t),o.Cb(1),o.nc("ngIf",e.doesControlHaveError("workers","unicityWorkers"))}},directives:[Ot.a,p.p,p.i,In.a,p.o,p.g,Me.a,It.a,i.l,Ie,kt.a,St.b,Rn.a],pipes:[xt.c],styles:["h3[_ngcontent-%COMP%]{margin:0 0 8px;padding-bottom:16px;border-bottom:1px solid #999}.box-margin[_ngcontent-%COMP%]{margin:0 32px}.box-margin[_ngcontent-%COMP%] .description[_ngcontent-%COMP%]{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.box-margin[_ngcontent-%COMP%] .description[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{opacity:.7;margin-right:8px}.box-margin[_ngcontent-%COMP%] .description[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-style:italic}.box-margin[_ngcontent-%COMP%] .inline-form[_ngcontent-%COMP%]{display:-ms-flexbox;display:flex;-ms-flex-flow:row;flex-flow:row;margin:0 20px}.box-margin[_ngcontent-%COMP%] .inline-form[_ngcontent-%COMP%] .spacer[_ngcontent-%COMP%]{width:50px}.box-margin[_ngcontent-%COMP%] .inline-form[_ngcontent-%COMP%] .inline-item[_ngcontent-%COMP%]{-ms-flex:1;flex:1}.box-margin[_ngcontent-%COMP%] .workers-list[_ngcontent-%COMP%] .trigger[_ngcontent-%COMP%]{cursor:pointer;display:-ms-flexbox;display:flex;line-height:48px;font-size:1.2rem}.box-margin[_ngcontent-%COMP%] .workers-action[_ngcontent-%COMP%]{display:-ms-flexbox;display:flex;-ms-flex-direction:row-reverse;flex-direction:row-reverse}"]}),t})();var zn=n("5QHs"),Vn=n("LUZP"),Bn=n("CtHx"),Wn=n("XNiG"),Un=n("VRyK"),qn=n("JX91"),Gn=n("eIep"),Jn=n("JIr8"),Zn=n("Q9JA"),$n=n("PDjf"),Xn=n("BTe0"),Kn=n("ZFy/"),Qn=n("lawv");function ti(t,e){1&t&&(o.Tb(0,"h1"),o.Hc(1),o.gc(2,"translate"),o.Sb()),2&t&&(o.Cb(1),o.Ic(o.hc(2,1,"dpd.list.nontransmis.titre")))}function ei(t,e){1&t&&(o.Tb(0,"h1"),o.Hc(1),o.gc(2,"translate"),o.Sb()),2&t&&(o.Cb(1),o.Ic(o.hc(2,1,"dpd.list.transmis.titre")))}function ni(t,e){1&t&&(o.Tb(0,"div",32),o.Hc(1),o.gc(2,"translate"),o.Sb()),2&t&&(o.Cb(1),o.Jc(" ",o.hc(2,1,"dpd.list.transmis.explication")," "))}function ii(t,e){1&t&&o.Ob(0,"mat-progress-bar",33)}function ai(t,e){1&t&&o.Ob(0,"div",36)}function ri(t,e){if(1&t&&(o.Tb(0,"div",34),o.Fc(1,ai,1,0,"div",35),o.Sb()),2&t){const t=o.fc();o.Cb(1),o.nc("ngIf",t.isRateLimitReached)}}function oi(t,e){1&t&&(o.Tb(0,"th",37),o.Hc(1),o.gc(2,"translate"),o.Sb()),2&t&&(o.Cb(1),o.Jc(" ",o.hc(2,1,"dpd.list.result.code")," "))}function si(t,e){if(1&t&&(o.Tb(0,"td",38),o.Hc(1),o.Sb()),2&t){const t=e.$implicit;o.Cb(1),o.Ic(t.code)}}function li(t,e){1&t&&(o.Tb(0,"th",39),o.Hc(1),o.gc(2,"translate"),o.Sb()),2&t&&(o.Cb(1),o.Jc(" ",o.hc(2,1,"dpd.list.result.titre")," "))}function ci(t,e){if(1&t&&(o.Tb(0,"td",38),o.Hc(1),o.Sb()),2&t){const t=e.$implicit;o.Cb(1),o.Ic(t.titre)}}function di(t,e){1&t&&(o.Tb(0,"span"),o.Hc(1),o.gc(2,"translate"),o.Sb()),2&t&&(o.Cb(1),o.Ic(o.hc(2,1,"dpd.list.result.date.transmission")))}function ui(t,e){1&t&&(o.Tb(0,"span"),o.Hc(1),o.gc(2,"translate"),o.Sb()),2&t&&(o.Cb(1),o.Ic(o.hc(2,1,"dpd.list.result.date.maj")))}function hi(t,e){if(1&t&&(o.Tb(0,"th",40),o.Fc(1,di,3,3,"span",1),o.Fc(2,ui,3,3,"span",1),o.Sb()),2&t){const t=o.fc();o.Cb(1),o.nc("ngIf",t.isTransmited),o.Cb(1),o.nc("ngIf",!t.isTransmited)}}function mi(t,e){if(1&t&&(o.Tb(0,"span"),o.Hc(1),o.Sb()),2&t){const t=o.fc().$implicit;o.Cb(1),o.Ic(t.dateEtat)}}function pi(t,e){if(1&t&&(o.Tb(0,"td",38),o.Fc(1,mi,2,1,"span",1),o.Sb()),2&t){const t=e.$implicit;o.Cb(1),o.nc("ngIf",t.dateEtat)}}function fi(t,e){1&t&&(o.Tb(0,"th",39),o.Hc(1),o.gc(2,"translate"),o.Sb()),2&t&&(o.Cb(1),o.Jc(" ",o.hc(2,1,"dpd.list.result.prestataire")," "))}function gi(t,e){if(1&t&&(o.Tb(0,"td",38),o.Hc(1),o.Sb()),2&t){const t=e.$implicit;o.Cb(1),o.Ic(t.entrepriseEtrangere.raisonSociale)}}function bi(t,e){1&t&&(o.Tb(0,"th",39),o.Hc(1),o.gc(2,"translate"),o.Sb()),2&t&&(o.Cb(1),o.Jc(" ",o.hc(2,1,"dpd.list.result.destinataire")," "))}function _i(t,e){if(1&t&&(o.Tb(0,"td",38),o.Hc(1),o.Sb()),2&t){const t=e.$implicit;o.Cb(1),o.Ic(null==t.client?null:t.client.raisonSociale)}}function yi(t,e){1&t&&(o.Tb(0,"th",40),o.Hc(1),o.gc(2,"translate"),o.Sb()),2&t&&(o.Cb(1),o.Jc(" ",o.hc(2,1,"dpd.list.result.date.debut")," "))}function vi(t,e){if(1&t&&(o.Tb(0,"span"),o.Hc(1),o.gc(2,"amDateFormat"),o.gc(3,"amParse"),o.Sb()),2&t){const t=o.fc().$implicit;o.Cb(1),o.Ic(o.ic(2,1,o.ic(3,4,t.prestation.dateDebut,"YYYY-MM-DD"),"DD/MM/YYYY"))}}function Ci(t,e){if(1&t&&(o.Tb(0,"td",38),o.Fc(1,vi,4,7,"span",1),o.Sb()),2&t){const t=e.$implicit,n=o.fc();o.Cb(1),o.nc("ngIf",n.showDate(t.prestation.dateDebut))}}function wi(t,e){1&t&&(o.Tb(0,"th",40),o.Hc(1),o.gc(2,"translate"),o.Sb()),2&t&&(o.Cb(1),o.Jc(" ",o.hc(2,1,"dpd.list.result.date.fin")," "))}function xi(t,e){if(1&t&&(o.Tb(0,"span"),o.Hc(1),o.gc(2,"amDateFormat"),o.gc(3,"amParse"),o.Sb()),2&t){const t=o.fc().$implicit;o.Cb(1),o.Ic(o.ic(2,1,o.ic(3,4,t.prestation.dateFin,"YYYY-MM-DD"),"DD/MM/YYYY"))}}function Mi(t,e){if(1&t&&(o.Tb(0,"td",38),o.Fc(1,xi,4,7,"span",1),o.Sb()),2&t){const t=e.$implicit,n=o.fc();o.Cb(1),o.nc("ngIf",n.showDate(t.prestation.dateFin))}}function Oi(t,e){1&t&&(o.Tb(0,"th",41),o.Hc(1),o.gc(2,"translate"),o.Sb()),2&t&&(o.Cb(1),o.Jc(" ",o.hc(2,1,"dpd.list.result.actions")," "))}function ki(t,e){if(1&t){const t=o.Ub();o.Tb(0,"div",44),o.Tb(1,"button",45),o.bc("click",function(){o.yc(t);const e=o.fc().$implicit;return o.fc().editerDPD(e.code)}),o.gc(2,"translate"),o.Tb(3,"mat-icon",46),o.Hc(4,"edit"),o.Sb(),o.Sb(),o.Tb(5,"button",47),o.bc("click",function(){o.yc(t);const e=o.fc().$implicit;return o.fc().supprimerDPD(e.code)}),o.gc(6,"translate"),o.Tb(7,"mat-icon",13),o.Hc(8,"delete"),o.Sb(),o.Sb(),o.Sb()}2&t&&(o.Cb(1),o.nc("matTooltip",o.hc(2,2,"dpd.editer")),o.Cb(4),o.nc("matTooltip",o.hc(6,4,"dpd.supprimer")))}function Si(t,e){if(1&t){const t=o.Ub();o.Tb(0,"button",45),o.bc("click",function(){o.yc(t);const e=o.fc(2).$implicit;return o.fc().editerDPD(e.code)}),o.gc(1,"translate"),o.Tb(2,"mat-icon",46),o.Hc(3,"edit"),o.Sb(),o.Sb()}2&t&&o.nc("matTooltip",o.hc(1,1,"dpd.completer"))}function Ti(t,e){1&t&&(o.Tb(0,"button",54),o.Ob(1,"mat-icon",46),o.Sb())}function Pi(t,e){if(1&t){const t=o.Ub();o.Tb(0,"button",55),o.bc("click",function(){o.yc(t);const e=o.fc(2).$implicit;return o.fc().annulerDPD(e.code)}),o.gc(1,"translate"),o.Tb(2,"mat-icon",13),o.Hc(3,"delete"),o.Sb(),o.Sb()}2&t&&o.nc("matTooltip",o.hc(1,1,"dpd.annuler"))}function Li(t,e){if(1&t){const t=o.Ub();o.Tb(0,"div",44),o.Tb(1,"button",48),o.bc("click",function(){o.yc(t);const e=o.fc().$implicit;return o.fc().voirDPD(e.code)}),o.gc(2,"translate"),o.Tb(3,"mat-icon",46),o.Hc(4,"visibility"),o.Sb(),o.Sb(),o.Tb(5,"button",49),o.bc("click",function(){o.yc(t);const e=o.fc().$implicit;return o.fc().telechargerDPD(e.code)}),o.gc(6,"translate"),o.Tb(7,"mat-icon",46),o.Hc(8,"cloud_download"),o.Sb(),o.Sb(),o.Fc(9,Si,4,3,"button",50),o.Fc(10,Ti,2,0,"button",51),o.Tb(11,"a",52),o.gc(12,"translate"),o.Tb(13,"mat-icon",46),o.Hc(14,"content_copy"),o.Sb(),o.Sb(),o.Fc(15,Pi,4,3,"button",53),o.Sb()}if(2&t){const t=o.fc().$implicit,e=o.fc();o.Cb(1),o.nc("matTooltip",o.hc(2,7,"dpd.consulter")),o.Cb(4),o.nc("matTooltip",o.hc(6,9,"dpd.telecharger")),o.Cb(4),o.nc("ngIf",e.canBeCompleted(t)),o.Cb(1),o.nc("ngIf",!e.canBeCompleted(t)),o.Cb(1),o.pc("routerLink","/dpd/duplicate/",t.code,""),o.nc("matTooltip",o.hc(12,11,"dpd.dupliquer")),o.Cb(4),o.nc("ngIf",e.canBeCanceled(t))}}function Di(t,e){if(1&t&&(o.Tb(0,"td",38),o.Fc(1,ki,9,6,"div",42),o.Fc(2,Li,16,13,"ng-template",null,43,o.Gc),o.Sb()),2&t){const t=o.vc(3),e=o.fc();o.Cb(1),o.nc("ngIf",!e.isTransmited)("ngIfElse",t)}}function Ei(t,e){1&t&&o.Ob(0,"tr",56)}function Ai(t,e){1&t&&o.Ob(0,"tr",57)}let Ii=(()=>{class t extends yt.a{constructor(t,e,n,i,a,r,o){super(t),this.translateService=t,this.declarationService=e,this.router=n,this.route=i,this.paginatorIntl=a,this.dialog=r,this.configurationService=o,this.data=[],this.filterIdModel="",this.filterTitreModel="",this.filterSalarieModel="",this.resultsLength=0,this.isLoadingResults=!0,this.isRateLimitReached=!1,this.filterChange=new Wn.a,this.selection=new Bn.c(!0,[]),this.subscriptions.push(this.translateService.get("common.liste.nb.page").subscribe(t=>{this.paginatorIntl.itemsPerPageLabel=t})),this.subscriptions.push(this.configurationService.getNbItemByPage().subscribe(t=>this.nbItemByPage=t))}load(){this.subscriptions.push(this.route.data.subscribe(t=>{this.isTransmited=t.isTransmited})),this.displayedColumns=["code","titre","date_etat","raison_sociale_entreprise","raison_sociale_client","date_debut_prestation","date_fin_prestation","action"],this.sort.active="date_etat",this.sort.direction="desc",this.paginator.pageSize=5,this.sort.sortChange.subscribe(()=>this.paginator.pageIndex=0),this.loadDeclarations()}filterId(){this.toId&&clearTimeout(this.toId),this.toId=setTimeout(()=>{this.toId=null,this.filterChange.next()},800)}filterTitre(){this.toTitre&&clearTimeout(this.toTitre),this.toTitre=setTimeout(()=>{this.toTitre=null,this.filterChange.next()},800)}filterSalarie(){this.toSalarie&&clearTimeout(this.toSalarie),this.toSalarie=setTimeout(()=>{this.toSalarie=null,this.filterChange.next()},800)}clearFilters(){this.filterIdModel="",this.filterTitreModel="",this.filterSalarieModel="",this.filterChange.next()}showDate(t){return t&&"Invalid date"!==t}annulerDPD(t){this.dialog.open(wt.a,{id:"dialog-annuler-dpd",data:{title:this.translateService.instant("dpd.list.annuler")+" "+t,question:this.translateService.instant("dpd.list.annuler.question"),okButtonText:this.translateService.instant("common.oui"),cancelButtonText:this.translateService.instant("common.non")}}).afterClosed().subscribe(e=>{!0===e&&this.declarationService.supprimerDeclaration(t).subscribe(()=>{this.loadDeclarations()})})}supprimerDPD(t){this.dialog.open(wt.a,{id:"dialog-supprimer-dpd",data:{title:this.translateService.instant("dpd.list.supprimer")+" "+t,question:this.translateService.instant("dpd.list.supprimer.question"),okButtonText:this.translateService.instant("common.oui"),cancelButtonText:this.translateService.instant("common.non")}}).afterClosed().subscribe(e=>{!0===e&&this.declarationService.supprimerDeclaration(t).subscribe(()=>{this.loadDeclarations()})})}editerDPD(t){this.router.navigate(this.isTransmited?["/dpd/complete/",t]:["/dpd/edit/",t])}canBeCompleted(t){return m(m().format("YYYY-MM-DD")).isSameOrBefore(m(t.prestation.dateFin).add(3,"day"))&&4!==t.numeroModele}canBeCanceled(t){return m(m().format("YYYY-MM-DD")).isSameOrBefore(m(t.prestation.dateFin))}voirDPD(t){this.router.navigate(["/dpd/show/",t])}telechargerDPD(t){const e=this.dialog.open(Zn.a,{data:{message:"dpd.download.enCours"}});this.declarationService.getAccuseReception(t).subscribe(t=>{if(window.navigator.msSaveBlob){const e=atob(t.file),n=new ArrayBuffer(e.length),i=new Uint8Array(n);for(let t=0;t<e.length;t++)i[t]=e.charCodeAt(t);const a=new Blob([n],{type:"application/pdf"});window.navigator.msSaveOrOpenBlob(a,t.nom)}else{const e=document.getElementById("dwnldLnk");e.href="data:application/octet-stream;base64,"+t.file,e.setAttribute("download",t.nom),e.click()}e.close()})}loadDeclarations(){const t=[this.filterChange,this.paginator.page,this.sort.sortChange];Object(Un.a)(...t).pipe(Object(qn.a)({}),Object(Gn.a)(()=>(this.isLoadingResults=!0,this.declarationService.searchDeclarations(this.isTransmited,this.filterIdModel,this.filterTitreModel,this.filterSalarieModel,this.sort.active,this.sort.direction,this.paginator.pageIndex,this.paginator.pageSize))),Object(u.a)(t=>(this.isLoadingResults=!1,this.isRateLimitReached=!1,this.resultsLength=t.total,t.items)),Object(Jn.a)(()=>(this.isLoadingResults=!1,this.isRateLimitReached=!0,Object(d.a)([])))).subscribe(t=>{this.data=t,this.data.forEach(t=>{const e=m.utc(t.dateEtat).format(),n=m(e);t.dateEtat=n.format("DD/MM/YYYY HH:mm")})})}}return t.\u0275fac=function(e){return new(e||t)(o.Nb(xt.d),o.Nb(st.a),o.Nb(r.f),o.Nb(r.a),o.Nb(zn.b),o.Nb(Mt.b),o.Nb(ft.a))},t.\u0275cmp=o.Hb({type:t,selectors:[["app-dpd-list"]],viewQuery:function(t,e){if(1&t&&(o.Lc(zn.a,3),o.Lc(Vn.a,3)),2&t){let t;o.uc(t=o.cc())&&(e.paginator=t.first),o.uc(t=o.cc())&&(e.sort=t.first)}},features:[o.zb],decls:58,vars:22,consts:[["id","list-dpd"],[4,"ngIf"],["class","transmission-explication alert-green",4,"ngIf"],["mode","indeterminate",4,"ngIf"],[1,"example-container"],["class","example-loading-shade",4,"ngIf"],[1,"example-table-container"],["id","table-filters"],["appearance","outline"],["matInput","","aria-label","code","name","code-filter",3,"ngModel","ngModelChange","keyup"],["matInput","","aria-label","title","name","titre-filter",3,"ngModel","ngModelChange","keyup"],["matInput","","aria-label","salarie","name","salarie-filter",3,"ngModel","ngModelChange","keyup"],["mat-icon-button","","aria-label","Clear",3,"click"],["color","warn"],["mat-table","","matSort","","matSortDisableClear","",1,"example-table",3,"dataSource"],["matColumnDef","code"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","titre"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["matColumnDef","date_etat"],["mat-header-cell","","mat-sort-header","","disableClear","",4,"matHeaderCellDef"],["matColumnDef","raison_sociale_entreprise"],["matColumnDef","raison_sociale_client"],["matColumnDef","date_debut_prestation"],["matColumnDef","date_fin_prestation"],["matColumnDef","action"],["mat-header-cell","","class","action-col",4,"matHeaderCellDef"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["showFirstLastButtons","",3,"length","pageSizeOptions"],["id","dwnldLnk",2,"display","none"],[1,"transmission-explication","alert-green"],["mode","indeterminate"],[1,"example-loading-shade"],["class","example-rate-limit-reached","appLabel","dpd.list.indispo",4,"ngIf"],["appLabel","dpd.list.indispo",1,"example-rate-limit-reached"],["mat-header-cell",""],["mat-cell",""],["mat-header-cell","","mat-sort-header",""],["mat-header-cell","","mat-sort-header","","disableClear",""],["mat-header-cell","",1,"action-col"],["class","action-ligne",4,"ngIf","ngIfElse"],["transmitted",""],[1,"action-ligne"],["mat-icon-button","","aria-label","Edit","matTooltipClass","warnTooltip","matTooltipPosition","right",1,"editer-dpd",3,"matTooltip","click"],["color","primary"],["mat-icon-button","","aria-label","Delete","matTooltipClass","warnTooltip","matTooltipPosition","right",1,"supprimer-dpd",3,"matTooltip","click"],["mat-icon-button","","aria-label","See","matTooltipClass","warnTooltip","matTooltipPosition","right",1,"voir-dpd",3,"matTooltip","click"],["mat-icon-button","","aria-label","Download","matTooltipClass","warnTooltip","matTooltipPosition","right",1,"telecharger-dpd",3,"matTooltip","click"],["mat-icon-button","","aria-label","Edit","class","editer-dpd","matTooltipClass","warnTooltip","matTooltipPosition","right",3,"matTooltip","click",4,"ngIf"],["mat-icon-button","","aria-label","Edit","class","no-act-dpd","disabled","true",4,"ngIf"],["aria-label","Duplicate","routerLinkActive","active","matTooltipClass","warnTooltip","matTooltipPosition","right",1,"cursor-pointer","last","duplicate-dpd",3,"routerLink","matTooltip"],["mat-icon-button","","aria-label","Undo","class","annuler-dpd","matTooltipClass","warnTooltip","matTooltipPosition","right",3,"matTooltip","click",4,"ngIf"],["mat-icon-button","","aria-label","Edit","disabled","true",1,"no-act-dpd"],["mat-icon-button","","aria-label","Undo","matTooltipClass","warnTooltip","matTooltipPosition","right",1,"annuler-dpd",3,"matTooltip","click"],["mat-header-row",""],["mat-row",""]],template:function(t,e){1&t&&(o.Tb(0,"div",0),o.Fc(1,ti,3,3,"h1",1),o.Fc(2,ei,3,3,"h1",1),o.Fc(3,ni,3,3,"div",2),o.Tb(4,"mat-card"),o.Fc(5,ii,1,0,"mat-progress-bar",3),o.Tb(6,"mat-card-content"),o.Tb(7,"div",4),o.Fc(8,ri,2,1,"div",5),o.Tb(9,"div",6),o.Tb(10,"div",7),o.Tb(11,"mat-form-field",8),o.Tb(12,"mat-label"),o.Hc(13),o.gc(14,"translate"),o.Sb(),o.Tb(15,"input",9),o.bc("ngModelChange",function(t){return e.filterIdModel=t})("keyup",function(){return e.filterId()}),o.Sb(),o.Sb(),o.Tb(16,"mat-form-field",8),o.Tb(17,"mat-label"),o.Hc(18),o.gc(19,"translate"),o.Sb(),o.Tb(20,"input",10),o.bc("ngModelChange",function(t){return e.filterTitreModel=t})("keyup",function(){return e.filterTitre()}),o.Sb(),o.Sb(),o.Tb(21,"mat-form-field",8),o.Tb(22,"mat-label"),o.Hc(23),o.gc(24,"translate"),o.Sb(),o.Tb(25,"input",11),o.bc("ngModelChange",function(t){return e.filterSalarieModel=t})("keyup",function(){return e.filterSalarie()}),o.Sb(),o.Sb(),o.Tb(26,"button",12),o.bc("click",function(){return e.clearFilters()}),o.Tb(27,"mat-icon",13),o.Hc(28,"clear"),o.Sb(),o.Sb(),o.Sb(),o.Tb(29,"table",14),o.Rb(30,15),o.Fc(31,oi,3,3,"th",16),o.Fc(32,si,2,1,"td",17),o.Qb(),o.Rb(33,18),o.Fc(34,li,3,3,"th",19),o.Fc(35,ci,2,1,"td",17),o.Qb(),o.Rb(36,20),o.Fc(37,hi,3,2,"th",21),o.Fc(38,pi,2,1,"td",17),o.Qb(),o.Rb(39,22),o.Fc(40,fi,3,3,"th",19),o.Fc(41,gi,2,1,"td",17),o.Qb(),o.Rb(42,23),o.Fc(43,bi,3,3,"th",19),o.Fc(44,_i,2,1,"td",17),o.Qb(),o.Rb(45,24),o.Fc(46,yi,3,3,"th",21),o.Fc(47,Ci,2,1,"td",17),o.Qb(),o.Rb(48,25),o.Fc(49,wi,3,3,"th",21),o.Fc(50,Mi,2,1,"td",17),o.Qb(),o.Rb(51,26),o.Fc(52,Oi,3,3,"th",27),o.Fc(53,Di,4,2,"td",17),o.Qb(),o.Fc(54,Ei,1,0,"tr",28),o.Fc(55,Ai,1,0,"tr",29),o.Sb(),o.Sb(),o.Ob(56,"mat-paginator",30),o.Sb(),o.Sb(),o.Sb(),o.Sb(),o.Ob(57,"a",31)),2&t&&(o.Cb(1),o.nc("ngIf",!e.isTransmited),o.Cb(1),o.nc("ngIf",e.isTransmited),o.Cb(1),o.nc("ngIf",e.isTransmited),o.Cb(2),o.nc("ngIf",e.isLoadingResults||e.isRateLimitReached),o.Cb(3),o.nc("ngIf",e.isLoadingResults||e.isRateLimitReached),o.Cb(5),o.Ic(o.hc(14,16,"dpd.list.filtre.code")),o.Cb(2),o.nc("ngModel",e.filterIdModel),o.Cb(3),o.Ic(o.hc(19,18,"dpd.list.filtre.titre")),o.Cb(2),o.nc("ngModel",e.filterTitreModel),o.Cb(3),o.Ic(o.hc(24,20,"dpd.list.filtre.salarie")),o.Cb(2),o.nc("ngModel",e.filterSalarieModel),o.Cb(4),o.nc("dataSource",e.data),o.Cb(25),o.nc("matHeaderRowDef",e.displayedColumns),o.Cb(1),o.nc("matRowDefColumns",e.displayedColumns),o.Cb(1),o.nc("length",e.resultsLength)("pageSizeOptions",e.nbItemByPage))},directives:[i.l,$n.a,$n.b,St.c,St.f,Tt.b,p.c,p.o,p.r,kt.a,Me.a,fn.j,Vn.a,fn.c,fn.e,fn.b,fn.g,fn.i,zn.a,Xn.a,Ot.a,fn.d,fn.a,Vn.b,Kn.c,r.i,r.h,fn.f,fn.h],pipes:[xt.c,Qn.a,Qn.c],styles:["#list-dpd{margin:0 100px}#list-dpd .example-container{position:relative}#list-dpd .example-container .example-loading-shade{position:absolute;top:0;left:0;bottom:56px;right:0;background:rgba(0,0,0,.15);z-index:1;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}#list-dpd .example-container .example-loading-shade .example-rate-limit-reached{color:#980000;max-width:360px;text-align:center}#list-dpd .example-container .example-table-container{position:relative}#list-dpd .example-container .example-table-container #table-filters{margin-top:8px;margin-bottom:-27px}#list-dpd .example-container .example-table-container #table-filters .mat-form-field{margin:0 15px}#list-dpd .example-container .example-table-container table{width:100%}#list-dpd .example-container .example-table-container table .action-col{width:230px}#list-dpd .example-container .example-table-container table .action-ligne{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}#list-dpd .transmission-explication{text-align:justify;font-size:14px;white-space:pre-line}"],encapsulation:2}),t})();var Ri=function(t){return t.ENREGISTRE="ENREGISTRE",t.TRANSMIS="TRANSMIS",t}({}),Ni=function(t){return t.MANDATAIRE="MANDATAIRE",t.ENTREPRISE="ENTREPRISE",t.DONNEUR_ORDRE="DONNEUR_ORDRE",t}({});function Yi(t,e){if(1&t&&(o.Tb(0,"p",2),o.Hc(1),o.gc(2,"translate"),o.Sb()),2&t){const t=o.fc();o.oc("id",t.id),o.Cb(1),o.Ic(o.hc(2,2,t.label))}}function Hi(t,e){if(1&t&&(o.Tb(0,"span"),o.Hc(1),o.Sb()),2&t){const t=o.fc(3);o.Cb(1),o.Jc(" ",t.suffix,"")}}function ji(t,e){if(1&t&&(o.Tb(0,"p",4),o.Hc(1),o.gc(2,"translate"),o.Tb(3,"span",2),o.Hc(4),o.Fc(5,Hi,2,1,"span",5),o.Sb(),o.Sb()),2&t){const t=o.fc(2);o.Cb(1),o.Jc(" ",o.hc(2,4,t.label)," : "),o.Cb(2),o.oc("id",t.id),o.Cb(1),o.Ic(t.value),o.Cb(1),o.nc("ngIf",t.suffix)}}function Fi(t,e){if(1&t&&o.Fc(0,ji,6,6,"p",3),2&t){const t=o.fc();o.nc("ngIf",t.visible&&null!==t.value)}}let zi=(()=>{class t{constructor(){this.visible=!0,this.labelOnly=!1}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=o.Hb({type:t,selectors:[["app-dpd-show-row"]],inputs:{label:"label",value:"value",suffix:"suffix",visible:"visible",labelOnly:"labelOnly",id:"id"},decls:3,vars:2,consts:[["class","show-row-value",3,"id",4,"ngIf","ngIfElse"],["label_value",""],[1,"show-row-value",3,"id"],["class","show-row-label",4,"ngIf"],[1,"show-row-label"],[4,"ngIf"]],template:function(t,e){if(1&t&&(o.Fc(0,Yi,3,4,"p",0),o.Fc(1,Fi,1,1,"ng-template",null,1,o.Gc)),2&t){const t=o.vc(2);o.nc("ngIf",e.labelOnly&&e.visible)("ngIfElse",t)}},directives:[i.l],pipes:[xt.c],styles:[".show-row-label[_ngcontent-%COMP%]{color:rgba(0,0,0,.6)}.show-row-value[_ngcontent-%COMP%]{font-size:16px;color:#000}"]}),t})();const Vi=["*"];let Bi=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=o.Hb({type:t,selectors:[["app-dpd-show-group"]],inputs:{titre:"titre"},ngContentSelectors:Vi,decls:5,vars:3,consts:[[1,"show-group"]],template:function(t,e){1&t&&(o.mc(),o.Tb(0,"div",0),o.Tb(1,"h3"),o.Hc(2),o.gc(3,"translate"),o.Sb(),o.lc(4),o.Sb()),2&t&&(o.Cb(2),o.Ic(o.hc(3,1,e.titre)))},pipes:[xt.c],styles:["h3[_ngcontent-%COMP%]{padding-bottom:16px;border-bottom:1px solid #999;margin:50px 0 8px}.show-group[_ngcontent-%COMP%]{page-break-inside:avoid}"]}),t})();function Wi(t,e){if(1&t&&(o.Tb(0,"h4",2),o.Hc(1),o.gc(2,"translate"),o.Sb()),2&t){const t=o.fc();o.Cc("margin-left",t.subSubGroup?"0px":""),o.nc("id",t.id),o.Cb(1),o.Ic(o.hc(2,4,t.titre))}}const Ui=["*"];let qi=(()=>{class t{constructor(){this.subSubGroup=!1}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=o.Hb({type:t,selectors:[["app-dpd-show-subgroup"]],inputs:{titre:"titre",subSubGroup:"subSubGroup",id:"id"},ngContentSelectors:Ui,decls:3,vars:1,consts:[[1,"box-margin"],[3,"margin-left","id",4,"ngIf"],[3,"id"]],template:function(t,e){1&t&&(o.mc(),o.Tb(0,"div",0),o.Fc(1,Wi,3,6,"h4",1),o.lc(2),o.Sb()),2&t&&(o.Cb(1),o.nc("ngIf",e.titre))},directives:[i.l],pipes:[xt.c],styles:[".box-margin[_ngcontent-%COMP%]{margin:0 32px}.box-margin[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{margin:0 0 8px -16px;padding-bottom:16px;padding-top:8px;border-bottom:1px solid #999}"]}),t})(),Gi=(()=>{class t{getPays(){const t=this.listPays.find(t=>t.code===this.pays);return void 0!==t?t.nom:this.pays}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=o.Hb({type:t,selectors:[["app-dpd-show-country"]],inputs:{label:"label",pays:"pays",listPays:"listPays",id:"id"},decls:1,vars:3,consts:[[3,"id","label","value"]],template:function(t,e){1&t&&o.Ob(0,"app-dpd-show-row",0),2&t&&o.nc("id",e.id)("label",e.label)("value",e.getPays())},directives:[zi],styles:[""]}),t})();var Ji=n("mSn9");function Zi(t,e){if(1&t&&o.Ob(0,"app-dpd-show-row",3),2&t){const t=o.fc();o.nc("id",t.id+"-adresse")("label","common.adresse")("value",null==t.adresse?null:t.adresse.adresse)}}function $i(t,e){if(1&t&&o.Ob(0,"app-dpd-show-country",6),2&t){const t=o.fc();o.nc("id",t.id+"-pays")("label","common.pays")("pays",null==t.adresse?null:t.adresse.pays)("listPays",t.listPays)}}function Xi(t,e){if(1&t&&o.Ob(0,"app-dpd-show-row",3),2&t){const t=o.fc();o.nc("id",t.id+"-cmpl")("label","common.adresse.complement")("value",null==t.adresse?null:t.adresse.complementAdresse)}}function Ki(t,e){if(1&t&&o.Ob(0,"app-dpd-show-row",3),2&t){const t=o.fc();o.nc("id",t.id+"-latitude")("label","common.latitude")("value",null==t.adresse?null:t.adresse.coordonnees.latitude)}}function Qi(t,e){if(1&t&&o.Ob(0,"app-dpd-show-row",3),2&t){const t=o.fc();o.nc("id",t.id+"-longitude")("label","common.longitude")("value",null==t.adresse?null:t.adresse.coordonnees.longitude)}}function ta(t,e){if(1&t){const t=o.Ub();o.Tb(0,"app-map",7),o.bc("ngModelChange",function(e){return o.yc(t),o.fc().adresse.coordonnees=e}),o.Sb()}if(2&t){const t=o.fc();o.nc("ngModel",t.adresse.coordonnees)("address",t.adresse)}}let ea=(()=>{class t{constructor(){this.adresseType=B.a}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=o.Hb({type:t,selectors:[["app-dpd-show-adresse"]],inputs:{adresse:"adresse",listPays:"listPays",id:"id"},decls:11,vars:12,consts:[[1,"address-group"],[3,"id","label","value",4,"ngIf"],[1,"col-2"],[3,"id","label","value"],[3,"id","label","pays","listPays",4,"ngIf"],["name","map","readonly","",3,"ngModel","address","ngModelChange",4,"ngIf"],[3,"id","label","pays","listPays"],["name","map","readonly","",3,"ngModel","address","ngModelChange"]],template:function(t,e){1&t&&(o.Tb(0,"div",0),o.Fc(1,Zi,1,3,"app-dpd-show-row",1),o.Tb(2,"div",2),o.Ob(3,"app-dpd-show-row",3),o.Ob(4,"app-dpd-show-row",3),o.Fc(5,$i,1,4,"app-dpd-show-country",4),o.Sb(),o.Fc(6,Xi,1,3,"app-dpd-show-row",1),o.Tb(7,"div",2),o.Fc(8,Ki,1,3,"app-dpd-show-row",1),o.Fc(9,Qi,1,3,"app-dpd-show-row",1),o.Sb(),o.Fc(10,ta,1,2,"app-map",5),o.Sb()),2&t&&(o.Cb(1),o.nc("ngIf",e.adresse.type==e.adresseType.ADRESSE),o.Cb(2),o.nc("id",e.id+"-cp")("label","common.codepostal")("value",null==e.adresse?null:e.adresse.cp),o.Cb(1),o.nc("id",e.id+"-ville")("label","common.ville")("value",null==e.adresse?null:e.adresse.ville),o.Cb(1),o.nc("ngIf",e.adresse.type==e.adresseType.ADRESSE),o.Cb(1),o.nc("ngIf",e.adresse.type==e.adresseType.ADRESSE),o.Cb(2),o.nc("ngIf",e.adresse.type==e.adresseType.COORDONNEES),o.Cb(1),o.nc("ngIf",e.adresse.type==e.adresseType.COORDONNEES),o.Cb(1),o.nc("ngIf",e.adresse.type==e.adresseType.COORDONNEES))},directives:[i.l,zi,Gi,Ji.a,p.o,p.r],styles:[".col-2[_ngcontent-%COMP%]{display:-ms-flexbox;display:flex;margin:-14px 0}.col-2[_ngcontent-%COMP%] app-dpd-show-row[_ngcontent-%COMP%]{-ms-flex:1;flex:1}.address-group[_ngcontent-%COMP%]{margin-bottom:25px}"]}),t})();function na(t,e){if(1&t&&o.Ob(0,"app-dpd-show-country",2),2&t){const t=o.fc();o.nc("id",t.id+"-nationalite")("label","common.nationalite")("pays",t.person.nationalite)("listPays",t.listPays)}}let ia=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=o.Hb({type:t,selectors:[["app-dpd-show-person"]],inputs:{person:"person",listPays:"listPays",id:"id"},decls:10,vars:20,consts:[[1,"col-2"],[3,"id","label","value"],[3,"id","label","pays","listPays"],[3,"id","label","pays","listPays",4,"ngIf"]],template:function(t,e){1&t&&(o.Tb(0,"div",0),o.Ob(1,"app-dpd-show-row",1),o.Ob(2,"app-dpd-show-row",1),o.Sb(),o.Tb(3,"div",0),o.Ob(4,"app-dpd-show-row",1),o.Ob(5,"app-dpd-show-country",2),o.Sb(),o.Tb(6,"div",0),o.Ob(7,"app-dpd-show-row",1),o.gc(8,"date"),o.Fc(9,na,1,4,"app-dpd-show-country",3),o.Sb()),2&t&&(o.Cb(1),o.nc("id",e.id+"-nom")("label","common.nom")("value",e.person.nom),o.Cb(1),o.nc("id",e.id+"-prenom")("label","common.prenom")("value",e.person.prenom),o.Cb(2),o.nc("id",e.id+"-ville-naissance")("label","common.ville.naissance")("value",e.person.villeNaissance),o.Cb(1),o.nc("id",e.id+"-pays-naissance")("label","common.pays.naissance")("pays",e.person.paysNaissance)("listPays",e.listPays),o.Cb(2),o.nc("id",e.id+"-date-naissance")("label","common.date.naissance")("value",o.ic(8,17,e.person.dateNaissance,"dd/MM/yyyy")),o.Cb(2),o.nc("ngIf",e.person.nationalite))},directives:[zi,Gi,i.l],pipes:[i.e],styles:[".col-2[_ngcontent-%COMP%]{display:-ms-flexbox;display:flex}.col-2[_ngcontent-%COMP%] app-dpd-show-country[_ngcontent-%COMP%], .col-2[_ngcontent-%COMP%] app-dpd-show-row[_ngcontent-%COMP%]{-ms-flex:1;flex:1}"]}),t})();function aa(t,e){if(1&t&&o.Ob(0,"app-dpd-show-row",1),2&t){const t=o.fc();o.nc("id","entreprise-notva")("label","dpd.tva")("value",t.entreprise.numTVA)}}function ra(t,e){if(1&t&&(o.Tb(0,"app-dpd-show-subgroup",7),o.Ob(1,"app-dpd-show-row",8),o.Sb()),2&t){const t=o.fc();o.nc("id","entreprise-organisme")("titre","dpd.organisme"),o.Cb(1),o.nc("label","dpd.organisme.info")("value",t.entreprise.organisme)}}function oa(t,e){if(1&t&&(o.Tb(0,"app-dpd-show-subgroup",7),o.Ob(1,"app-dpd-show-row",8),o.Sb()),2&t){const t=o.fc();o.nc("id","bloc-transporteur")("titre","dpd.registre.transporteur"),o.Cb(1),o.nc("label","dpd.registre.transporteur")("value",t.entreprise.transporteur)}}let sa=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=o.Hb({type:t,selectors:[["app-dpd-show-foreign-compagny"]],inputs:{entreprise:"entreprise",numeroModele:"numeroModele",pays:"pays"},decls:16,vars:31,consts:[[3,"titre"],[3,"id","label","value"],[3,"id","adresse","listPays"],[1,"col-2"],[3,"id","label","value",4,"ngIf"],[3,"id","person","listPays"],[3,"id","titre",4,"ngIf"],[3,"id","titre"],[3,"label","value"]],template:function(t,e){1&t&&(o.Tb(0,"app-dpd-show-group",0),o.Tb(1,"app-dpd-show-subgroup",0),o.Ob(2,"app-dpd-show-row",1),o.Ob(3,"app-dpd-show-adresse",2),o.Tb(4,"div",3),o.Ob(5,"app-dpd-show-row",1),o.Ob(6,"app-dpd-show-row",1),o.Sb(),o.Sb(),o.Tb(7,"app-dpd-show-subgroup",0),o.Ob(8,"app-dpd-show-row",1),o.Fc(9,aa,1,3,"app-dpd-show-row",4),o.Ob(10,"app-dpd-show-row",1),o.Ob(11,"app-dpd-show-row",1),o.Sb(),o.Tb(12,"app-dpd-show-subgroup",0),o.Ob(13,"app-dpd-show-person",5),o.Sb(),o.Fc(14,ra,2,4,"app-dpd-show-subgroup",6),o.Fc(15,oa,2,4,"app-dpd-show-subgroup",6),o.Sb()),2&t&&(o.nc("titre","dpd.menu.entreprise"),o.Cb(1),o.nc("titre","dpd.coordonnees"),o.Cb(1),o.nc("id","raison-sociale")("label","dpd.raisonsociale")("value",e.entreprise.raisonSociale),o.Cb(1),o.nc("id","entreprise")("adresse",e.entreprise.adresse)("listPays",e.pays),o.Cb(2),o.nc("id","entreprise-phone")("label","common.tel")("value",e.entreprise.telephone),o.Cb(1),o.nc("id","entreprise-email")("label","common.email")("value",e.entreprise.email),o.Cb(1),o.nc("titre","dpd.entreprise.info"),o.Cb(1),o.nc("id","entreprise-legal")("label","dpd.forme.juridique")("value",e.entreprise.status),o.Cb(1),o.nc("ngIf",!e.entreprise.noTVA),o.Cb(1),o.nc("id","entreprise-register")("label","dpd.registre")("value",e.entreprise.registre),o.Cb(1),o.nc("id","entreprise-reference")("label","dpd.reference")("value",e.entreprise.reference),o.Cb(1),o.nc("titre","dpd.dirigeant"),o.Cb(1),o.nc("id","dirigeant")("person",e.entreprise.dirigeant)("listPays",e.pays),o.Cb(1),o.nc("ngIf",3===e.numeroModele||5===e.numeroModele),o.Cb(1),o.nc("ngIf",4===e.numeroModele&&e.entreprise.transporteur))},directives:[Bi,qi,zi,ea,i.l,ia],styles:[""]}),t})();function la(t,e){if(1&t&&(o.Ob(0,"app-dpd-show-row",2),o.gc(1,"translate")),2&t){const t=o.fc();o.nc("id",t.id)("label",t.label)("value",o.hc(1,3,"dpd.frais.employeur"))}}function ca(t,e){if(1&t&&(o.Ob(0,"app-dpd-show-row",2),o.gc(1,"translate")),2&t){const t=o.fc();o.nc("id",t.id)("label",t.label)("value",o.hc(1,3,"dpd.frais.travailleur"))}}function da(t,e){if(1&t&&(o.Tb(0,"div",3),o.Ob(1,"app-dpd-show-row",2),o.gc(2,"translate"),o.Ob(3,"app-dpd-show-row",2),o.gc(4,"translate"),o.Sb()),2&t){const t=o.fc();o.Cb(1),o.nc("id",t.id)("label",t.label)("value",o.hc(2,6,"dpd.frais.versement")),o.Cb(2),o.nc("id",t.id+"-montant")("label",o.hc(4,8,"dpd.show.montant"))("value",t.frais.montant)}}function ua(t,e){if(1&t&&(o.Ob(0,"app-dpd-show-row",2),o.gc(1,"translate")),2&t){const t=o.fc();o.nc("id",t.id)("label",t.label)("value",o.hc(1,3,"dpd.frais.autre"))}}let ha=(()=>{class t{constructor(){this.types=C.a}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=o.Hb({type:t,selectors:[["app-dpd-show-frais"]],inputs:{label:"label",frais:"frais",id:"id"},decls:4,vars:4,consts:[[3,"id","label","value",4,"ngIf"],["class","col-2-frais",4,"ngIf"],[3,"id","label","value"],[1,"col-2-frais"]],template:function(t,e){1&t&&(o.Fc(0,la,2,5,"app-dpd-show-row",0),o.Fc(1,ca,2,5,"app-dpd-show-row",0),o.Fc(2,da,5,10,"div",1),o.Fc(3,ua,2,5,"app-dpd-show-row",0)),2&t&&(o.nc("ngIf",e.frais.type==e.types.PRIS_EN_CHARGE),o.Cb(1),o.nc("ngIf",e.frais.type==e.types.AVANCES),o.Cb(1),o.nc("ngIf",e.frais.type==e.types.VERSEMENT),o.Cb(1),o.nc("ngIf",e.frais.type==e.types.AUTRE))},directives:[i.l,zi],pipes:[xt.c],styles:[".col-2-frais[_ngcontent-%COMP%]{display:-ms-flexbox;display:flex;margin:-14px 0}.col-2-frais[_ngcontent-%COMP%] app-dpd-show-row[_ngcontent-%COMP%]:first-child{-ms-flex:2;flex:2}.col-2-frais[_ngcontent-%COMP%] app-dpd-show-row[_ngcontent-%COMP%]:nth-child(2){-ms-flex:1;flex:1}"]}),t})(),ma=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=o.Hb({type:t,selectors:[["app-dpd-show-frais-group"]],inputs:{frais:"frais"},decls:5,vars:10,consts:[[3,"titre"],[3,"id","label","frais"]],template:function(t,e){1&t&&(o.Tb(0,"app-dpd-show-group",0),o.Tb(1,"app-dpd-show-subgroup"),o.Ob(2,"app-dpd-show-frais",1),o.Ob(3,"app-dpd-show-frais",1),o.Ob(4,"app-dpd-show-frais",1),o.Sb(),o.Sb()),2&t&&(o.nc("titre","dpd.menu.frais"),o.Cb(2),o.nc("id","frais-voyage")("label","dpd.frais.voyage")("frais",e.frais.voyage),o.Cb(1),o.nc("id","frais-nourriture")("label","dpd.frais.nourriture")("frais",e.frais.nourriture),o.Cb(1),o.nc("id","frais-hebergement")("label","dpd.frais.hebergement")("frais",e.frais.hebergement))},directives:[Bi,qi,ha],styles:[""]}),t})();function pa(t,e){if(1&t&&o.Ob(0,"app-dpd-show-row",1),2&t){const t=o.fc();o.nc("id","client-tva")("label","dpd.tva")("value",t.client.numTVA)}}let fa=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=o.Hb({type:t,selectors:[["app-dpd-show-client"]],inputs:{pays:"pays",typeClient:"typeClient",client:"client"},decls:7,vars:16,consts:[[3,"titre"],[3,"id","label","value"],[3,"id","adresse","listPays"],[3,"id","label","labelOnly","visible"],[3,"id","label","value",4,"ngIf"]],template:function(t,e){1&t&&(o.Tb(0,"app-dpd-show-group",0),o.Tb(1,"app-dpd-show-subgroup",0),o.Ob(2,"app-dpd-show-row",1),o.Ob(3,"app-dpd-show-adresse",2),o.Ob(4,"app-dpd-show-row",3),o.Fc(5,pa,1,3,"app-dpd-show-row",4),o.Ob(6,"app-dpd-show-row",1),o.Sb(),o.Sb()),2&t&&(o.nc("titre",e.typeClient),o.Cb(1),o.nc("titre","dpd.coordonnees"),o.Cb(1),o.nc("id","client-rs")("label","dpd.raisonsociale")("value",e.client.raisonSociale),o.Cb(1),o.nc("id","client")("adresse",e.client.adresse)("listPays",e.pays),o.Cb(1),o.nc("id","client-notva")("label","dpd.tva.no")("labelOnly",!0)("visible",e.client.noTVA),o.Cb(1),o.nc("ngIf",!e.client.noTVA),o.Cb(1),o.nc("id","client-email")("label","common.email")("value",e.client.email))},directives:[Bi,qi,zi,ea,i.l],styles:[""]}),t})(),ga=(()=>{class t extends yt.a{constructor(t){super(t),this.translateService=t}set activites(t){this._activites=t,this.retrieveDetails()}get activites(){return this._activites}set listActivites(t){this._listActivites=t,this.retrieveDetails()}get listActivites(){return this._listActivites}showActivity(t){return t?t.code+" - "+t.libelle:""}retrieveDetails(){this.activites&&this.listActivites&&(this.activite1=this.findActivite(this.listActivites,this.activites.activite1),this.activite2=this.findActivite(this.activite1.sousActivites,this.activites.activite2),this.activite3=this.findActivite(this.activite2.sousActivites,this.activites.activite3),this.activite4=this.findActivite(this.activite3.sousActivites,this.activites.activite4))}findActivite(t,e){return t.find(t=>t.code===e)}}return t.\u0275fac=function(e){return new(e||t)(o.Nb(xt.d))},t.\u0275cmp=o.Hb({type:t,selectors:[["app-dpd-show-activite"]],inputs:{activites:"activites",listActivites:"listActivites"},features:[o.zb],decls:4,vars:4,consts:[["id","activite-1","label","dpd.show.activite1",3,"value"],["id","activite-2","label","dpd.show.activite2",3,"value"],["id","activite-3","label","dpd.show.activite3",3,"value"],["id","activite-4","label","dpd.show.activite4",3,"value"]],template:function(t,e){1&t&&(o.Ob(0,"app-dpd-show-row",0),o.Ob(1,"app-dpd-show-row",1),o.Ob(2,"app-dpd-show-row",2),o.Ob(3,"app-dpd-show-row",3)),2&t&&(o.nc("value",e.showActivity(e.activite1)),o.Cb(1),o.nc("value",e.showActivity(e.activite2)),o.Cb(1),o.nc("value",e.showActivity(e.activite3)),o.Cb(1),o.nc("value",e.showActivity(e.activite4)))},directives:[zi],styles:[""]}),t})();function ba(t,e){if(1&t&&o.Ob(0,"app-dpd-show-row",4),2&t){const t=o.fc();o.nc("id","presta-dangereux")("label","dpd.travail.dangereux")("value",t.prestation.dangereux.valeur)}}let _a=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=o.Hb({type:t,selectors:[["app-dpd-show-prestation"]],inputs:{prestation:"prestation",listActivites:"listActivites"},decls:9,vars:17,consts:[[3,"titre"],[3,"activites","listActivites"],[3,"id","label","value",4,"ngIf"],[1,"col-2"],[3,"id","label","value"],[3,"id","label","labelOnly","visible"]],template:function(t,e){1&t&&(o.Tb(0,"app-dpd-show-group",0),o.Tb(1,"app-dpd-show-subgroup"),o.Ob(2,"app-dpd-show-activite",1),o.Fc(3,ba,1,3,"app-dpd-show-row",2),o.Tb(4,"div",3),o.Ob(5,"app-dpd-show-row",4),o.Ob(6,"app-dpd-show-row",4),o.Sb(),o.Ob(7,"app-dpd-show-row",4),o.Ob(8,"app-dpd-show-row",5),o.Sb(),o.Sb()),2&t&&(o.nc("titre","dpd.menu.prestation.info"),o.Cb(2),o.nc("activites",e.prestation.activites)("listActivites",e.listActivites),o.Cb(1),o.nc("ngIf",e.prestation.dangereux.actif),o.Cb(2),o.nc("id","presta-debut")("label","dpd.travail.horaire.debut")("value",e.prestation.horaireDebut),o.Cb(1),o.nc("id","presta-fin")("label","dpd.travail.horaire.fin")("value",e.prestation.horaireFin),o.Cb(1),o.nc("id","presta-repos")("label","dpd.travail.repos")("value",e.prestation.nbJoursRepos),o.Cb(1),o.nc("id","presta-horaire-atypique")("label","dpd.travail.horaires.atypiques")("labelOnly",!0)("visible",e.prestation.horairesAtypiques))},directives:[Bi,qi,ga,i.l,zi],styles:[""]}),t})();function ya(t,e){if(1&t&&(o.Ob(0,"app-dpd-show-row",7),o.gc(1,"translate")),2&t){const t=o.fc();o.nc("id","salarie-sexe-"+t.selectedIndex)("label","common.sexe")("value",o.hc(1,3,"common.sexe.masculin"))}}function va(t,e){if(1&t&&(o.Ob(0,"app-dpd-show-row",7),o.gc(1,"translate")),2&t){const t=o.fc();o.nc("id","salarie-sexe-"+t.selectedIndex)("label","common.sexe")("value",o.hc(1,3,"common.sexe.feminin"))}}function Ca(t,e){if(1&t&&(o.Tb(0,"app-dpd-show-subgroup",5),o.gc(1,"translate"),o.Ob(2,"app-dpd-show-adresse",12),o.Sb()),2&t){const t=o.fc();o.nc("titre",o.hc(1,5,"common.adresse"))("subSubGroup",!0),o.Cb(2),o.nc("id","salarie-adresse-"+t.selectedIndex)("adresse",t.selectedWorker.adresse)("listPays",t.pays)}}function wa(t,e){if(1&t&&(o.Tb(0,"div",13),o.Ob(1,"app-dpd-show-row",7),o.gc(2,"date"),o.Ob(3,"app-dpd-show-row",7),o.gc(4,"date"),o.Ob(5,"app-dpd-show-row",7),o.gc(6,"translate"),o.gc(7,"translate"),o.Ob(8,"app-dpd-show-row",7),o.Sb()),2&t){const t=o.fc();o.Cb(1),o.nc("id","salarie-debut-"+t.selectedIndex)("label","dpd.salarie.date.detachement.debut")("value",o.ic(2,12,t.selectedWorker.dateDebut,"dd/MM/yyyy")),o.Cb(2),o.nc("id","salarie-fin-"+t.selectedIndex)("label","dpd.salarie.date.detachement.fin")("value",o.ic(4,15,t.selectedWorker.dateFin,"dd/MM/yyyy")),o.Cb(2),o.nc("id","longue-duree-detachement")("label","dpd.salarie.duree.detachement")("value",t.selectedWorker.isDetachementLongueDuree?o.hc(6,18,"common.oui"):o.hc(7,20,"common.non")),o.Cb(3),o.nc("id","motif-longue-duree-detachement")("label","dpd.salarie.motif.detachement")("value",t.selectedWorker.motifLongueDuree)}}function xa(t,e){if(1&t&&o.Ob(0,"app-dpd-show-row",14),2&t){const t=o.fc();o.nc("id","salarie-salaire-"+t.selectedIndex)("label","dpd.salarie.salaire")("value",t.selectedWorker.salaire)("suffix","\u20ac")}}function Ma(t,e){if(1&t&&o.Ob(0,"app-dpd-show-country",6),2&t){const t=o.fc();o.nc("id","salarie-droit-"+t.selectedIndex)("label","dpd.droit.travail")("pays",t.selectedWorker.paysRegistre)("listPays",t.pays)}}let Oa=(()=>{class t extends yt.a{constructor(t,e){super(t),this.translateService=t,this.qualificationService=e,this.selectedWorker=null,this.selectedIndex=-1,this.qualifications=[]}load(){this.subscriptions.push(this.qualificationService.getQualifications().subscribe(t=>this.qualifications=t))}getQualification(){const t=this.qualifications.find(t=>t.code===this.selectedWorker.qualification);return void 0!==t?t.nom:this.selectedWorker.qualification}get showAdresse(){return null!==this.selectedWorker.adresse&&null!==this.selectedWorker.adresse.adresse}}return t.\u0275fac=function(e){return new(e||t)(o.Nb(xt.d),o.Nb(gt))},t.\u0275cmp=o.Hb({type:t,selectors:[["app-dpd-show-worker"]],inputs:{pays:"pays",selectedWorker:"selectedWorker",selectedIndex:"selectedIndex",numeroModele:"numeroModele"},features:[o.zb],decls:18,vars:37,consts:[[1,"show-salarie"],[3,"titre","id"],[3,"id","label","value",4,"ngIf"],[3,"id","person","listPays"],[3,"titre","subSubGroup",4,"ngIf"],[3,"titre","subSubGroup"],[3,"id","label","pays","listPays"],[3,"id","label","value"],["class","col-2",4,"ngIf"],[3,"id","label","labelOnly","visible"],[3,"id","label","value","suffix",4,"ngIf"],[3,"id","label","pays","listPays",4,"ngIf"],[3,"id","adresse","listPays"],[1,"col-2"],[3,"id","label","value","suffix"]],template:function(t,e){1&t&&(o.Tb(0,"div",0),o.Tb(1,"app-dpd-show-subgroup",1),o.gc(2,"translate"),o.Fc(3,ya,2,5,"app-dpd-show-row",2),o.Fc(4,va,2,5,"app-dpd-show-row",2),o.Ob(5,"app-dpd-show-person",3),o.Sb(),o.Fc(6,Ca,3,7,"app-dpd-show-subgroup",4),o.Tb(7,"app-dpd-show-subgroup",5),o.gc(8,"translate"),o.Ob(9,"app-dpd-show-country",6),o.Ob(10,"app-dpd-show-row",7),o.gc(11,"date"),o.Fc(12,wa,9,22,"div",8),o.Ob(13,"app-dpd-show-row",7),o.Ob(14,"app-dpd-show-row",7),o.Ob(15,"app-dpd-show-row",9),o.Fc(16,xa,1,4,"app-dpd-show-row",10),o.Fc(17,Ma,1,4,"app-dpd-show-country",11),o.Sb(),o.Sb()),2&t&&(o.Cb(1),o.nc("titre",o.hc(2,30,"dpd.menu.salarie")+" "+e.selectedWorker.nom+" "+e.selectedWorker.prenom)("id","salarie-nom-"+e.selectedIndex),o.Cb(2),o.nc("ngIf","MASCULIN"==e.selectedWorker.sexe),o.Cb(1),o.nc("ngIf","FEMININ"==e.selectedWorker.sexe),o.Cb(1),o.nc("id","salarie-personne-"+e.selectedIndex)("person",e.selectedWorker)("listPays",e.pays),o.Cb(1),o.nc("ngIf",e.showAdresse),o.Cb(1),o.nc("titre",o.hc(8,32,"dpd.salarie.info.detachement"))("subSubGroup",!0),o.Cb(2),o.nc("id","salarie-secu-"+e.selectedIndex)("label","dpd.salarie.secu")("pays",e.selectedWorker.paysSecu)("listPays",e.pays),o.Cb(1),o.nc("id","salarie-contrat-"+e.selectedIndex)("label","dpd.salarie.date.contrat")("value",o.ic(11,34,e.selectedWorker.dateContrat,"dd/MM/yyyy")),o.Cb(2),o.nc("ngIf",4!==e.numeroModele),o.Cb(1),o.nc("id","salarie-emploi-"+e.selectedIndex)("label","dpd.salarie.emploi")("value",e.selectedWorker.emploi),o.Cb(1),o.nc("id","salarie-qualif-"+e.selectedIndex)("label","dpd.salarie.qualification")("value",e.getQualification()),o.Cb(1),o.nc("id","salarie-salaire-spe-"+e.selectedIndex)("label","dpd.salarie.salaire.specifique")("labelOnly",!0)("visible",e.selectedWorker.salaireSpecifique),o.Cb(1),o.nc("ngIf",!e.selectedWorker.salaireSpecifique),o.Cb(1),o.nc("ngIf",4===e.numeroModele))},directives:[qi,i.l,ia,Gi,zi,ea],pipes:[xt.c,i.e],styles:[".show-salarie[_ngcontent-%COMP%]{page-break-inside:avoid}"]}),t})();function ka(t,e){if(1&t&&o.Ob(0,"app-dpd-show-person",7),2&t){const t=o.fc();o.nc("id","representant-personne")("person",t.representant.personne)("listPays",t.pays)}}function Sa(t,e){if(1&t&&o.Ob(0,"app-dpd-show-row",6),2&t){const t=o.fc();o.nc("id","representant-siret")("label","common.siret")("value",t.representant.siret)}}function Ta(t,e){if(1&t&&(o.Tb(0,"div"),o.Ob(1,"app-dpd-show-row",6),o.Ob(2,"app-dpd-show-row",6),o.Ob(3,"app-dpd-show-adresse",8),o.Sb()),2&t){const t=o.fc();o.Cb(1),o.nc("id","representant-rs")("label","dpd.raisonsociale")("value",t.representant.raisonSociale),o.Cb(1),o.nc("id","representant-tva")("label","dpd.tva")("value",t.representant.numTVA),o.Cb(1),o.nc("id","representant-pays")("adresse",t.representant.adresse)("listPays",t.pays)}}let Pa=(()=>{class t extends yt.a{constructor(t){super(t),this.translateService=t}get titre(){return 4===this.numeroModele?"dpd.menu.representant.modele4":"dpd.menu.representant"}get document(){return 4===this.numeroModele?"dpd.representant.document.modele4":"dpd.representant.document"}}return t.\u0275fac=function(e){return new(e||t)(o.Nb(xt.d))},t.\u0275cmp=o.Hb({type:t,selectors:[["app-dpd-show-representant"]],inputs:{pays:"pays",representant:"representant",numeroModele:"numeroModele"},features:[o.zb],decls:17,vars:41,consts:[[3,"titre"],[3,"id","label","labelOnly","visible"],[3,"id","person","listPays",4,"ngIf"],[3,"id","label","value",4,"ngIf"],[4,"ngIf"],[1,"col-2"],[3,"id","label","value"],[3,"id","person","listPays"],[3,"id","adresse","listPays"]],template:function(t,e){1&t&&(o.Tb(0,"app-dpd-show-group",0),o.Tb(1,"app-dpd-show-subgroup",0),o.Ob(2,"app-dpd-show-row",1),o.Ob(3,"app-dpd-show-row",1),o.Ob(4,"app-dpd-show-row",1),o.Ob(5,"app-dpd-show-row",1),o.Fc(6,ka,1,3,"app-dpd-show-person",2),o.Fc(7,Sa,1,3,"app-dpd-show-row",3),o.Fc(8,Ta,4,9,"div",4),o.Sb(),o.Tb(9,"app-dpd-show-subgroup",0),o.Tb(10,"div",5),o.Ob(11,"app-dpd-show-row",6),o.Ob(12,"app-dpd-show-row",6),o.Sb(),o.Sb(),o.Tb(13,"app-dpd-show-subgroup",0),o.Ob(14,"app-dpd-show-row",1),o.Ob(15,"app-dpd-show-row",1),o.Ob(16,"app-dpd-show-row",1),o.Sb(),o.Sb()),2&t&&(o.nc("titre",e.titre),o.Cb(1),o.nc("titre","dpd.representant.identite"),o.Cb(1),o.nc("id","representant-type")("label","dpd.representant.type.dirigeant")("labelOnly",!0)("visible","DIRIGEANT"==e.representant.type),o.Cb(1),o.nc("id","representant-type")("label","dpd.representant.type.salarie")("labelOnly",!0)("visible","SALARIE"==e.representant.type),o.Cb(1),o.nc("id","representant-type")("label","dpd.representant.type.client")("labelOnly",!0)("visible","CLIENT"==e.representant.type),o.Cb(1),o.nc("id","representant-type")("label","dpd.representant.type.mandataire")("labelOnly",!0)("visible","MANDATAIRE"==e.representant.type&&e.representant.siret),o.Cb(1),o.nc("ngIf","SALARIE"==e.representant.type||"DIRIGEANT"==e.representant.type||"MANDATAIRE"==e.representant.type&&!e.representant.siret),o.Cb(1),o.nc("ngIf","MANDATAIRE"==e.representant.type),o.Cb(1),o.nc("ngIf","CLIENT"==e.representant.type||"MANDATAIRE"==e.representant.type),o.Cb(1),o.nc("titre","dpd.representant.contact"),o.Cb(2),o.nc("id","representant-phone")("label","common.tel")("value",e.representant.telephone),o.Cb(1),o.nc("id","representant-email")("label","common.email")("value",e.representant.email),o.Cb(1),o.nc("titre",e.document),o.Cb(1),o.nc("id","representant-conservation")("label","dpd.representant.document.lieu")("labelOnly",!0)("visible","LIEU_PRESTATION"==e.representant.conservation),o.Cb(1),o.nc("id","representant-conservation")("label","dpd.representant.document.adresse")("labelOnly",!0)("visible","REPRESENTANT"==e.representant.conservation),o.Cb(1),o.nc("id","representant-conservation")("label","dpd.representant.document.serveur")("labelOnly",!0)("visible","SERVEUR"==e.representant.conservation))},directives:[Bi,qi,zi,i.l,ia,ea],styles:[""]}),t})();function La(t,e){if(1&t&&o.Ob(0,"app-dpd-show-row",13),2&t){const t=o.fc();o.nc("value",t.dpd.titre)}}function Da(t,e){if(1&t&&o.Ob(0,"app-dpd-show-row",14),2&t){const t=o.fc();o.nc("value",t.dpd.code)}}function Ea(t,e){if(1&t&&o.Ob(0,"app-dpd-show-row",15),2&t){const t=o.fc();o.nc("value",t.getRaisonSocialeDeclarant())}}function Aa(t,e){if(1&t&&o.Ob(0,"app-dpd-show-client",16),2&t){const t=o.fc();o.nc("pays",t.pays)("client",t.dpd.client)("typeClient",t.typeClient)}}function Ia(t,e){if(1&t&&(o.Tb(0,"div",25),o.Tb(1,"h4"),o.Hc(2),o.gc(3,"translate"),o.Sb(),o.Ob(4,"app-dpd-show-adresse",22),o.Sb()),2&t){const t=o.fc(),e=t.index,n=t.$implicit,i=o.fc(2);o.pc("id","lieu-collectif-",e,""),o.Cb(2),o.Kc("",o.hc(3,6,"dpd.hebergement.collectif")," : ",n.nomHebergement,""),o.Cb(2),o.pc("id","lieu-collectif-adresse-",e,""),o.nc("adresse",n.hebergementCollectif)("listPays",i.pays)}}function Ra(t,e){if(1&t&&(o.Tb(0,"app-dpd-show-subgroup",21),o.Ob(1,"app-dpd-show-adresse",22),o.Ob(2,"app-dpd-show-row",23),o.Fc(3,Ia,5,8,"div",24),o.Sb()),2&t){const t=e.$implicit,n=e.index,i=o.fc(2);o.pc("id","lieu-rs-",n,""),o.nc("titre",i.getLieuNom(t)),o.Cb(1),o.pc("id","lieu-adresse-",n,""),o.nc("adresse",t.adresse)("listPays",i.pays),o.Cb(1),o.pc("id","codeNaf-",n,""),o.nc("value",t.codeNaf),o.Cb(1),o.nc("ngIf",t.isHebergementCollectif)}}function Na(t,e){if(1&t&&(o.Tb(0,"app-dpd-show-group",17),o.Tb(1,"app-dpd-show-subgroup"),o.Ob(2,"app-dpd-show-row",18),o.gc(3,"date"),o.Ob(4,"app-dpd-show-row",19),o.gc(5,"date"),o.Sb(),o.Fc(6,Ra,4,8,"app-dpd-show-subgroup",20),o.Sb()),2&t){const t=o.fc();o.nc("titre","dpd.menu.prestation.lieu"),o.Cb(2),o.nc("value",o.ic(3,4,t.dpd.prestation.dateDebut,"dd/MM/yyyy")),o.Cb(2),o.nc("value",o.ic(5,7,t.dpd.prestation.dateFin,"dd/MM/yyyy")),o.Cb(2),o.nc("ngForOf",t.dpd.prestation.lieus)}}function Ya(t,e){if(1&t&&o.Ob(0,"app-dpd-show-prestation",26),2&t){const t=o.fc();o.nc("prestation",t.dpd.prestation)("listActivites",t.listActivites)}}function Ha(t,e){if(1&t&&(o.Tb(0,"app-dpd-show-group",17),o.Tb(1,"app-dpd-show-subgroup"),o.Ob(2,"app-dpd-show-row",27),o.gc(3,"date"),o.Ob(4,"app-dpd-show-row",28),o.gc(5,"date"),o.Sb(),o.Sb()),2&t){const t=o.fc();o.nc("titre","dpd.menu.attestation"),o.Cb(2),o.nc("value",o.ic(3,3,t.dpd.prestation.dateDebut,"dd/MM/yyyy")),o.Cb(2),o.nc("value",o.ic(5,6,t.dpd.prestation.dateFin,"dd/MM/yyyy"))}}function ja(t,e){if(1&t&&(o.Tb(0,"div",30),o.Ob(1,"app-dpd-show-worker",31),o.Sb()),2&t){const t=e.$implicit,n=e.index,i=o.fc(2);o.Cb(1),o.nc("selectedIndex",n)("selectedWorker",t)("pays",i.pays)("numeroModele",i.dpd.numeroModele)}}function Fa(t,e){if(1&t&&(o.Tb(0,"app-dpd-show-group",17),o.Fc(1,ja,2,4,"div",29),o.Sb()),2&t){const t=o.fc();o.nc("titre","dpd.menu.salaries"),o.Cb(1),o.nc("ngForOf",t.dpd.salaries)}}function za(t,e){if(1&t&&(o.Tb(0,"app-dpd-show-group",17),o.Tb(1,"div",30),o.Ob(2,"app-dpd-show-worker",31),o.Sb(),o.Sb()),2&t){const t=o.fc();o.nc("titre","dpd.menu.salarie"),o.Cb(2),o.nc("selectedIndex",0)("selectedWorker",t.dpd.salaries[0])("pays",t.pays)("numeroModele",t.dpd.numeroModele)}}function Va(t,e){if(1&t&&o.Ob(0,"app-dpd-show-representant",32),2&t){const t=o.fc();o.nc("pays",t.pays)("representant",t.dpd.representant)("numeroModele",t.dpd.numeroModele)}}let Ba=(()=>{class t extends yt.a{constructor(t,e,n,i,a,r){super(t),this.translateService=t,this.activiteService=e,this.route=n,this.router=i,this.declarationService=a,this.countryService=r,this.loaded=!1,this.notFound=!1,this.dpd=new it.a({}),this.pays=[],this.listActivites=[],this.modele="",this.typeClient=""}load(){this.subscriptions.push(this.countryService.getCountries().subscribe(t=>this.pays=t)),this.subscriptions.push(this.activiteService.getActivities().subscribe(t=>this.listActivites=t)),this.subscriptions.push(this.route.params.subscribe(t=>{this.declarationService.getDeclaration(t.code).subscribe(t=>{t.etat!==Ri.TRANSMIS&&this.router.navigate(["/home"]),this.translateService.get("dpd.modele."+t.numeroModele).subscribe(t=>this.modele=t),this.translateService.get("dpd.client.modele."+t.numeroModele).subscribe(t=>this.typeClient=t),this.dpd=new it.a(t);const e=m.utc(this.dpd.dateEtat).format(),n=m(e);this.dpd.dateEtat=n.format("DD/MM/YYYY HH:mm")},()=>{this.router.navigate(["/home"])})}))}back(){this.router.navigate(["/home"])}getLieuNom(t){return t.siret?t.nom+" ("+t.siret+")":t.nom}getTypeCompteDeclarant(){switch(this.dpd.typeDeclarant){case Ni.ENTREPRISE:return"Entreprise etrang\xe8re";case Ni.DONNEUR_ORDRE:return"Donneur d'ordre";case Ni.MANDATAIRE:return"Mandataire";default:return""}}getRaisonSocialeDeclarant(){return this.dpd.raisonSocialeDeclarant}}return t.\u0275fac=function(e){return new(e||t)(o.Nb(xt.d),o.Nb(ht),o.Nb(r.a),o.Nb(r.f),o.Nb(st.a),o.Nb(pt.a))},t.\u0275cmp=o.Hb({type:t,selectors:[["app-dpd-show"]],features:[o.zb],decls:23,vars:21,consts:[["id","dpd-show",1,"content"],["id","titre","label","dpd.intitule",3,"value",4,"ngIf"],["id","code","label","dpd.show.code",3,"value",4,"ngIf"],["id","dateTransmission","label","dpd.show.date.transmission",3,"value"],["id","version","label","dpd.show.version",1,"dpd-show-version",3,"value"],["id","type-compte","label","dpd.show.declarant.type",3,"value"],["id","raison-sociale-compte","label","dpd.show.declarant.raisonsociale",3,"value",4,"ngIf"],[3,"entreprise","numeroModele","pays"],[3,"pays","client","typeClient",4,"ngIf"],[3,"titre",4,"ngIf"],[3,"prestation","listActivites",4,"ngIf"],[3,"frais"],[3,"pays","representant","numeroModele",4,"ngIf"],["id","titre","label","dpd.intitule",3,"value"],["id","code","label","dpd.show.code",3,"value"],["id","raison-sociale-compte","label","dpd.show.declarant.raisonsociale",3,"value"],[3,"pays","client","typeClient"],[3,"titre"],["id","lieu-debut","label","dpd.prestation.date.debut",3,"value"],["id","lieu-fin","label","dpd.prestation.date.fin",3,"value"],[3,"titre","id",4,"ngFor","ngForOf"],[3,"titre","id"],[3,"id","adresse","listPays"],["label","client.codeNaf",3,"id","value"],["class","subGroupHebergement",3,"id",4,"ngIf"],[1,"subGroupHebergement",3,"id"],[3,"prestation","listActivites"],["id","lieu-debut","label","dpd.attestation.debut",3,"value"],["id","lieu-fin","label","dpd.attestation.fin",3,"value"],["class","show-salarie",4,"ngFor","ngForOf"],[1,"show-salarie"],[3,"selectedIndex","selectedWorker","pays","numeroModele"],[3,"pays","representant","numeroModele"]],template:function(t,e){1&t&&(o.Tb(0,"div",0),o.Tb(1,"mat-card"),o.Tb(2,"mat-card-content"),o.Tb(3,"h1"),o.Hc(4),o.gc(5,"translate"),o.Sb(),o.Tb(6,"h2"),o.Hc(7),o.Sb(),o.Fc(8,La,1,1,"app-dpd-show-row",1),o.Fc(9,Da,1,1,"app-dpd-show-row",2),o.Ob(10,"app-dpd-show-row",3),o.Ob(11,"app-dpd-show-row",4),o.Ob(12,"app-dpd-show-row",5),o.Fc(13,Ea,1,1,"app-dpd-show-row",6),o.Ob(14,"app-dpd-show-foreign-compagny",7),o.Fc(15,Aa,1,3,"app-dpd-show-client",8),o.Fc(16,Na,7,10,"app-dpd-show-group",9),o.Fc(17,Ya,1,2,"app-dpd-show-prestation",10),o.Fc(18,Ha,6,9,"app-dpd-show-group",9),o.Ob(19,"app-dpd-show-frais-group",11),o.Fc(20,Fa,2,2,"app-dpd-show-group",9),o.Fc(21,za,3,5,"app-dpd-show-group",9),o.Fc(22,Va,1,3,"app-dpd-show-representant",12),o.Sb(),o.Sb(),o.Sb()),2&t&&(o.Cb(4),o.Ic(o.hc(5,19,"dpd.show.titre")),o.Cb(3),o.Ic(e.modele),o.Cb(1),o.nc("ngIf",e.dpd.titre),o.Cb(1),o.nc("ngIf",e.dpd.code),o.Cb(1),o.nc("value",e.dpd.dateEtat),o.Cb(1),o.nc("value",e.dpd.version),o.Cb(1),o.nc("value",e.getTypeCompteDeclarant()),o.Cb(1),o.nc("ngIf",4!==e.dpd.numeroModele||"DONNEUR_ORDRE"!==e.dpd.typeDeclarant),o.Cb(1),o.nc("entreprise",e.dpd.entrepriseEtrangere)("numeroModele",e.dpd.numeroModele)("pays",e.pays),o.Cb(1),o.nc("ngIf",4!==e.dpd.numeroModele),o.Cb(1),o.nc("ngIf",4!==e.dpd.numeroModele),o.Cb(1),o.nc("ngIf",4!==e.dpd.numeroModele),o.Cb(1),o.nc("ngIf",4===e.dpd.numeroModele),o.Cb(1),o.nc("frais",e.dpd.frais),o.Cb(1),o.nc("ngIf",4!==e.dpd.numeroModele),o.Cb(1),o.nc("ngIf",4===e.dpd.numeroModele),o.Cb(1),o.nc("ngIf",7!==e.dpd.numeroModele))},directives:[$n.a,$n.b,i.l,zi,sa,ma,fa,Bi,qi,i.k,ea,_a,Oa,Pa],pipes:[xt.c,i.e],styles:["#dpd-show[_ngcontent-%COMP%]{-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}#dpd-show[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:2rem}#dpd-show[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], #dpd-show[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{text-align:center}#dpd-show[_ngcontent-%COMP%] .col-2[_ngcontent-%COMP%]{display:-ms-flexbox;display:flex;margin:-14px 0}#dpd-show[_ngcontent-%COMP%] .col-2[_ngcontent-%COMP%] app-dpd-show-row[_ngcontent-%COMP%]{-ms-flex:1;flex:1}#dpd-show[_ngcontent-%COMP%] .show-salarie[_ngcontent-%COMP%]{page-break-inside:avoid}#dpd-show[_ngcontent-%COMP%] .subGroupHebergement[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{margin-bottom:8px;padding-bottom:16px;padding-top:8px;border-bottom:1px solid #999}@media print{.dpd-show-version[_ngcontent-%COMP%]{display:none}}"]}),t})();var Wa=n("NXyV"),Ua=n("EY2u"),qa=n("5+tZ"),Ga=n("p/g4"),Ja=n("Gnk8"),Za=n("uc2U"),$a=n("SKrM");let Xa=(()=>{class t{constructor(t,e,n){this.configSharedService=t,this.sireneService=e,this.tvaService=n}resolve(t){let e,n,i;const a=t.routeConfig.path;if(a===Ja.a.FOREIGN_COMPANY?(n=this.configSharedService.form.get(rt.a.FOREIGN_COMPANY).get("numTVA").value,i=this.configSharedService.form.get(rt.a.FOREIGN_COMPANY).get("adresse").get("pays").value):a===Ja.a.CLIENT?(n=this.configSharedService.form.get(rt.a.CLIENT).get("client").get("numTVA").value,i=this.configSharedService.form.get(rt.a.CLIENT).get("client").get("adresse").get("pays").value):this.configSharedService.form&&this.configSharedService.form.get("entreprise")&&this.configSharedService.form.get("entreprise").get("numTVA")&&(n=this.configSharedService.form.get("entreprise").get("numTVA").value,i=this.configSharedService.form.get("entreprise").get("adresse").get("pays").value),n)if("FR"===n.slice(0,2)&&13===n.length){const t=+n.substring(4);e=+n.substring(2,4)==(12+t%97*3)%97?(i&&"FR"===i.code?this.checkSiren(n):Object(d.a)(!0)).pipe(Object(u.a)(t=>({eligible:t,state:Za.a.VALID,socialReason:"---",address:"---"}))):this.constructResolvedData(n)}else e=this.constructResolvedData(n);else e=Object(d.a)({eligible:!0,state:Za.a.VALIDATE,socialReason:null,address:null});return e}constructResolvedData(t){return this.checkTVAViaService(t).pipe(Object(qa.a)(e=>function(t,e=Ua.a,n=Ua.a){return Object(Wa.a)(()=>t()?e:n)}(()=>e.state===Za.a.VALID&&"FR"===t.slice(0,2),this.checkSiren(t).pipe(Object(u.a)(t=>Object.assign(Object.assign({},e),{eligible:t}))),Object(d.a)(e))))}checkSiren(t){const e=[{field:"siren",values:[t.slice(-9)],operand:Ga.a.EQUAL}];return this.sireneService.getSirets(e).pipe(Object(u.a)(t=>!0),Object(Jn.a)(t=>Object(d.a)(404!==t.status)))}checkTVAViaService(t){return this.tvaService.checkTva(t).pipe(Object(u.a)(t=>({state:Za.a.VALID,socialReason:t.raisonSociale,address:t.adresse,eligible:!0})),Object(Jn.a)(t=>Object(d.a)({state:404===t.status?Za.a.INVALID:Za.a.ERROR,socialReason:"---",address:"---",eligible:!0})))}}return t.\u0275fac=function(e){return new(e||t)(o.Xb(mt.a),o.Xb(bt.a),o.Xb($a.a))},t.\u0275prov=o.Jb({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const Ka=[{path:"entreprise-etrangere",component:xe,outlet:"onglet",resolve:{resolvedData:Xa}},{path:"client",component:jt,outlet:"onglet",resolve:{resolvedData:Xa}},{path:"lieux",component:En,outlet:"onglet"},{path:"prestation",component:mn,outlet:"onglet"},{path:"frais",component:Jt,outlet:"onglet"},{path:"salarie",component:An.a,outlet:"onglet"},{path:"salaries",component:Fn,outlet:"onglet"},{path:"representant",component:an,outlet:"onglet"}],Qa=[{path:"show/:code",component:Ba},{path:"new/:model",component:Et,children:Ka,data:{mode:nt.a.CREATE},resolve:{resolvedData:_t},canDeactivate:[l]},{path:"duplicate/:code",component:Et,children:Ka,data:{mode:nt.a.DUPLICATE},resolve:{resolvedData:_t},canDeactivate:[l]},{path:"edit/:code",component:Et,children:Ka,data:{mode:nt.a.UPDATE},resolve:{resolvedData:_t},canDeactivate:[l]},{path:"complete/:code",component:Et,children:Ka,data:{mode:nt.a.COMPLETION},resolve:{resolvedData:_t}},{path:"transmise",component:Ii,data:{isTransmited:!0}},{path:"non-transmise",component:Ii,data:{isTransmited:!1}}];let tr=(()=>{class t{}return t.\u0275mod=o.Lb({type:t}),t.\u0275inj=o.Kb({factory:function(e){return new(e||t)},providers:[l],imports:[[r.j.forChild(Qa)],r.j]}),t})(),er=(()=>{class t{}return t.\u0275mod=o.Lb({type:t}),t.\u0275inj=o.Kb({factory:function(e){return new(e||t)},imports:[[tr,i.c,a.a]]}),t})()},"ZTz/":function(t,e,n){"use strict";n.d(e,"a",function(){return U}),n.d(e,"b",function(){return G});var i=n("1O3W"),a=n("SVse"),r=n("8Y7J"),o=n("UhP/"),s=n("Q2Ze"),l=n("7KAL"),c=n("YEUz"),d=n("8LU1"),u=n("CtHx"),h=n("Ht+U"),m=n("XNiG"),p=n("NXyV"),f=n("VRyK"),g=n("JX91"),b=n("eIep"),_=n("IzEk"),y=n("pLZG"),v=n("lJxs"),C=n("/uUt"),w=n("1G5W"),x=n("GS7A"),M=n("9gLZ"),O=n("s7LF");const k=["trigger"],S=["panel"];function T(t,e){if(1&t&&(r.Tb(0,"span",8),r.Hc(1),r.Sb()),2&t){const t=r.fc();r.Cb(1),r.Ic(t.placeholder||"\xa0")}}function P(t,e){if(1&t&&(r.Tb(0,"span"),r.Hc(1),r.Sb()),2&t){const t=r.fc(2);r.Cb(1),r.Ic(t.triggerValue||"\xa0")}}function L(t,e){1&t&&r.lc(0,0,["*ngSwitchCase","true"])}function D(t,e){if(1&t&&(r.Tb(0,"span",9),r.Fc(1,P,2,1,"span",10),r.Fc(2,L,1,0,"ng-content",11),r.Sb()),2&t){const t=r.fc();r.nc("ngSwitch",!!t.customTrigger),r.Cb(2),r.nc("ngSwitchCase",!0)}}function E(t,e){if(1&t){const t=r.Ub();r.Tb(0,"div",12),r.Tb(1,"div",13,14),r.bc("@transformPanel.done",function(e){return r.yc(t),r.fc()._panelDoneAnimatingStream.next(e.toState)})("keydown",function(e){return r.yc(t),r.fc()._handleKeydown(e)}),r.lc(3,1),r.Sb(),r.Sb()}if(2&t){const t=r.fc();r.nc("@transformPanelWrap",void 0),r.Cb(1),r.Eb("mat-select-panel ",t._getPanelTheme(),""),r.Cc("transform-origin",t._transformOrigin)("font-size",t._triggerFontSize,"px"),r.nc("ngClass",t.panelClass)("@transformPanel",t.multiple?"showing-multiple":"showing"),r.Db("id",t.id+"-panel")("aria-multiselectable",t.multiple)("aria-label",t.ariaLabel||null)("aria-labelledby",t._getPanelAriaLabelledby())}}const A=[[["mat-select-trigger"]],"*"],I=["mat-select-trigger","*"],R={transformPanelWrap:Object(x.n)("transformPanelWrap",[Object(x.m)("* => void",Object(x.i)("@transformPanel",[Object(x.f)()],{optional:!0}))]),transformPanel:Object(x.n)("transformPanel",[Object(x.k)("void",Object(x.l)({transform:"scaleY(0.8)",minWidth:"100%",opacity:0})),Object(x.k)("showing",Object(x.l)({opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"})),Object(x.k)("showing-multiple",Object(x.l)({opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"})),Object(x.m)("void => *",Object(x.e)("120ms cubic-bezier(0, 0, 0.2, 1)")),Object(x.m)("* => void",Object(x.e)("100ms 25ms linear",Object(x.l)({opacity:0})))])};let N=0;const Y=new r.s("mat-select-scroll-strategy"),H=new r.s("MAT_SELECT_CONFIG"),j={provide:Y,deps:[i.c],useFactory:function(t){return()=>t.scrollStrategies.reposition()}};class F{constructor(t,e){this.source=t,this.value=e}}class z{constructor(t,e,n,i,a){this._elementRef=t,this._defaultErrorStateMatcher=e,this._parentForm=n,this._parentFormGroup=i,this.ngControl=a}}const V=Object(o.x)(Object(o.B)(Object(o.y)(Object(o.z)(z)))),B=new r.s("MatSelectTrigger");let W=(()=>{class t extends V{constructor(t,e,n,i,a,o,s,l,c,d,u,h,C,w){var x,M,O;super(a,i,s,l,d),this._viewportRuler=t,this._changeDetectorRef=e,this._ngZone=n,this._dir=o,this._parentFormField=c,this.ngControl=d,this._liveAnnouncer=C,this._defaultOptions=w,this._panelOpen=!1,this._compareWith=(t,e)=>t===e,this._uid="mat-select-"+N++,this._triggerAriaLabelledBy=null,this._destroy=new m.a,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+N++,this._panelDoneAnimatingStream=new m.a,this._overlayPanelClass=(null===(x=this._defaultOptions)||void 0===x?void 0:x.overlayPanelClass)||"",this._focused=!1,this.controlType="mat-select",this._required=!1,this._multiple=!1,this._disableOptionCentering=null!==(O=null===(M=this._defaultOptions)||void 0===M?void 0:M.disableOptionCentering)&&void 0!==O&&O,this.ariaLabel="",this.optionSelectionChanges=Object(p.a)(()=>{const t=this.options;return t?t.changes.pipe(Object(g.a)(t),Object(b.a)(()=>Object(f.a)(...t.map(t=>t.onSelectionChange)))):this._ngZone.onStable.pipe(Object(_.a)(1),Object(b.a)(()=>this.optionSelectionChanges))}),this.openedChange=new r.o,this._openedStream=this.openedChange.pipe(Object(y.a)(t=>t),Object(v.a)(()=>{})),this._closedStream=this.openedChange.pipe(Object(y.a)(t=>!t),Object(v.a)(()=>{})),this.selectionChange=new r.o,this.valueChange=new r.o,this.ngControl&&(this.ngControl.valueAccessor=this),null!=(null==w?void 0:w.typeaheadDebounceInterval)&&(this._typeaheadDebounceInterval=w.typeaheadDebounceInterval),this._scrollStrategyFactory=h,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(u)||0,this.id=this.id}get focused(){return this._focused||this._panelOpen}get placeholder(){return this._placeholder}set placeholder(t){this._placeholder=t,this.stateChanges.next()}get required(){return this._required}set required(t){this._required=Object(d.c)(t),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(t){this._multiple=Object(d.c)(t)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(t){this._disableOptionCentering=Object(d.c)(t)}get compareWith(){return this._compareWith}set compareWith(t){this._compareWith=t,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(t){t!==this._value&&(this.options&&this._setSelectionByValue(t),this._value=t)}get typeaheadDebounceInterval(){return this._typeaheadDebounceInterval}set typeaheadDebounceInterval(t){this._typeaheadDebounceInterval=Object(d.f)(t)}get id(){return this._id}set id(t){this._id=t||this._uid,this.stateChanges.next()}ngOnInit(){this._selectionModel=new u.c(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(Object(C.a)(),Object(w.a)(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen))}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe(Object(w.a)(this._destroy)).subscribe(t=>{t.added.forEach(t=>t.select()),t.removed.forEach(t=>t.deselect())}),this.options.changes.pipe(Object(g.a)(null),Object(w.a)(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const t=this._getTriggerAriaLabelledby();if(t!==this._triggerAriaLabelledBy){const e=this._elementRef.nativeElement;this._triggerAriaLabelledBy=t,t?e.setAttribute("aria-labelledby",t):e.removeAttribute("aria-labelledby")}this.ngControl&&this.updateErrorState()}ngOnChanges(t){t.disabled&&this.stateChanges.next(),t.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this._typeaheadDebounceInterval)}ngOnDestroy(){this._destroy.next(),this._destroy.complete(),this.stateChanges.complete()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck())}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())}writeValue(t){this.value=t}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){return this.multiple?this._selectionModel.selected:this._selectionModel.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){const t=this._selectionModel.selected.map(t=>t.viewValue);return this._isRtl()&&t.reverse(),t.join(", ")}return this._selectionModel.selected[0].viewValue}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(t){this.disabled||(this.panelOpen?this._handleOpenKeydown(t):this._handleClosedKeydown(t))}_handleClosedKeydown(t){const e=t.keyCode,n=e===h.c||e===h.o||e===h.h||e===h.l,i=e===h.e||e===h.m,a=this._keyManager;if(!a.isTyping()&&i&&!Object(h.r)(t)||(this.multiple||t.altKey)&&n)t.preventDefault(),this.open();else if(!this.multiple){const e=this.selected;a.onKeydown(t);const n=this.selected;n&&e!==n&&this._liveAnnouncer.announce(n.viewValue,1e4)}}_handleOpenKeydown(t){const e=this._keyManager,n=t.keyCode,i=n===h.c||n===h.o,a=e.isTyping();if(i&&t.altKey)t.preventDefault(),this.close();else if(a||n!==h.e&&n!==h.m||!e.activeItem||Object(h.r)(t))if(!a&&this._multiple&&n===h.a&&t.ctrlKey){t.preventDefault();const e=this.options.some(t=>!t.disabled&&!t.selected);this.options.forEach(t=>{t.disabled||(e?t.select():t.deselect())})}else{const n=e.activeItemIndex;e.onKeydown(t),this._multiple&&i&&t.shiftKey&&e.activeItem&&e.activeItemIndex!==n&&e.activeItem._selectViaInteraction()}else t.preventDefault(),e.activeItem._selectViaInteraction()}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,this.disabled||this.panelOpen||(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this.overlayDir.positionChange.pipe(Object(_.a)(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()})}_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this._setSelectionByValue(this.ngControl?this.ngControl.value:this._value),this.stateChanges.next()})}_setSelectionByValue(t){if(this._selectionModel.selected.forEach(t=>t.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&t)Array.isArray(t),t.forEach(t=>this._selectValue(t)),this._sortValues();else{const e=this._selectValue(t);e?this._keyManager.updateActiveItem(e):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectValue(t){const e=this.options.find(e=>{try{return null!=e.value&&this._compareWith(e.value,t)}catch(n){return!1}});return e&&this._selectionModel.select(e),e}_initKeyManager(){this._keyManager=new c.b(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.pipe(Object(w.a)(this._destroy)).subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.pipe(Object(w.a)(this._destroy)).subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):this._panelOpen||this.multiple||!this._keyManager.activeItem||this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){const t=Object(f.a)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(Object(w.a)(t)).subscribe(t=>{this._onSelect(t.source,t.isUserInput),t.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),Object(f.a)(...this.options.map(t=>t._stateChanges)).pipe(Object(w.a)(t)).subscribe(()=>{this._changeDetectorRef.markForCheck(),this.stateChanges.next()})}_onSelect(t,e){const n=this._selectionModel.isSelected(t);null!=t.value||this._multiple?(n!==t.selected&&(t.selected?this._selectionModel.select(t):this._selectionModel.deselect(t)),e&&this._keyManager.setActiveItem(t),this.multiple&&(this._sortValues(),e&&this.focus())):(t.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(t.value)),n!==this._selectionModel.isSelected(t)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const t=this.options.toArray();this._selectionModel.sort((e,n)=>this.sortComparator?this.sortComparator(e,n,t):t.indexOf(e)-t.indexOf(n)),this.stateChanges.next()}}_propagateChanges(t){let e=null;e=this.multiple?this.selected.map(t=>t.value):this.selected?this.selected.value:t,this._value=e,this.valueChange.emit(e),this._onChange(e),this.selectionChange.emit(this._getChangeEvent(e)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))}_canOpen(){var t;return!this._panelOpen&&!this.disabled&&(null===(t=this.options)||void 0===t?void 0:t.length)>0}focus(t){this._elementRef.nativeElement.focus(t)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;const t=this._getLabelId();return this.ariaLabelledby?t+" "+this.ariaLabelledby:t}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getLabelId(){var t;return(null===(t=this._parentFormField)||void 0===t?void 0:t.getLabelId())||""}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;let t=this._getLabelId()+" "+this._valueId;return this.ariaLabelledby&&(t+=" "+this.ariaLabelledby),t}_panelDoneAnimating(t){this.openedChange.emit(t)}setDescribedByIds(t){this._ariaDescribedby=t.join(" ")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this._panelOpen||!this.empty}}return t.\u0275fac=function(e){return new(e||t)(r.Nb(l.e),r.Nb(r.h),r.Nb(r.B),r.Nb(o.d),r.Nb(r.l),r.Nb(M.b,8),r.Nb(O.q,8),r.Nb(O.i,8),r.Nb(s.a,8),r.Nb(O.n,10),r.Yb("tabindex"),r.Nb(Y),r.Nb(c.k),r.Nb(H,8))},t.\u0275dir=r.Ib({type:t,viewQuery:function(t,e){if(1&t&&(r.Lc(k,1),r.Lc(S,1),r.Lc(i.a,1)),2&t){let t;r.uc(t=r.cc())&&(e.trigger=t.first),r.uc(t=r.cc())&&(e.panel=t.first),r.uc(t=r.cc())&&(e.overlayDir=t.first)}},inputs:{ariaLabel:["aria-label","ariaLabel"],id:"id",placeholder:"placeholder",required:"required",multiple:"multiple",disableOptionCentering:"disableOptionCentering",compareWith:"compareWith",value:"value",typeaheadDebounceInterval:"typeaheadDebounceInterval",panelClass:"panelClass",ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",sortComparator:"sortComparator"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},features:[r.zb,r.Ab]}),t})(),U=(()=>{class t extends W{constructor(){super(...arguments),this._scrollTop=0,this._triggerFontSize=0,this._transformOrigin="top",this._offsetY=0,this._positions=[{originX:"start",originY:"top",overlayX:"start",overlayY:"top"},{originX:"start",originY:"bottom",overlayX:"start",overlayY:"bottom"}]}_calculateOverlayScroll(t,e,n){const i=this._getItemHeight();return Math.min(Math.max(0,i*t-e+i/2),n)}ngOnInit(){super.ngOnInit(),this._viewportRuler.change().pipe(Object(w.a)(this._destroy)).subscribe(()=>{this.panelOpen&&(this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._changeDetectorRef.markForCheck())})}open(){super._canOpen()&&(super.open(),this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._triggerFontSize=parseInt(getComputedStyle(this.trigger.nativeElement).fontSize||"0"),this._calculateOverlayPosition(),this._ngZone.onStable.pipe(Object(_.a)(1)).subscribe(()=>{this._triggerFontSize&&this.overlayDir.overlayRef&&this.overlayDir.overlayRef.overlayElement&&(this.overlayDir.overlayRef.overlayElement.style.fontSize=`${this._triggerFontSize}px`)}))}_scrollOptionIntoView(t){const e=Object(o.u)(t,this.options,this.optionGroups),n=this._getItemHeight();this.panel.nativeElement.scrollTop=Object(o.v)((t+e)*n,n,this.panel.nativeElement.scrollTop,256)}_positioningSettled(){this._calculateOverlayOffsetX(),this.panel.nativeElement.scrollTop=this._scrollTop}_panelDoneAnimating(t){this.panelOpen?this._scrollTop=0:(this.overlayDir.offsetX=0,this._changeDetectorRef.markForCheck()),super._panelDoneAnimating(t)}_getChangeEvent(t){return new F(this,t)}_calculateOverlayOffsetX(){const t=this.overlayDir.overlayRef.overlayElement.getBoundingClientRect(),e=this._viewportRuler.getViewportSize(),n=this._isRtl(),i=this.multiple?56:32;let a;if(this.multiple)a=40;else{let t=this._selectionModel.selected[0]||this.options.first;a=t&&t.group?32:16}n||(a*=-1);const r=0-(t.left+a-(n?i:0)),o=t.right+a-e.width+(n?0:i);r>0?a+=r+8:o>0&&(a-=o+8),this.overlayDir.offsetX=Math.round(a),this.overlayDir.overlayRef.updatePosition()}_calculateOverlayOffsetY(t,e,n){const i=this._getItemHeight(),a=(i-this._triggerRect.height)/2,r=Math.floor(256/i);let o;return this.disableOptionCentering?0:(o=0===this._scrollTop?t*i:this._scrollTop===n?(t-(this._getItemCount()-r))*i+(i-(this._getItemCount()*i-256)%i):e-i/2,Math.round(-1*o-a))}_checkOverlayWithinViewport(t){const e=this._getItemHeight(),n=this._viewportRuler.getViewportSize(),i=this._triggerRect.top-8,a=n.height-this._triggerRect.bottom-8,r=Math.abs(this._offsetY),o=Math.min(this._getItemCount()*e,256)-r-this._triggerRect.height;o>a?this._adjustPanelUp(o,a):r>i?this._adjustPanelDown(r,i,t):this._transformOrigin=this._getOriginBasedOnOption()}_adjustPanelUp(t,e){const n=Math.round(t-e);this._scrollTop-=n,this._offsetY-=n,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop<=0&&(this._scrollTop=0,this._offsetY=0,this._transformOrigin="50% bottom 0px")}_adjustPanelDown(t,e,n){const i=Math.round(t-e);if(this._scrollTop+=i,this._offsetY+=i,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=n)return this._scrollTop=n,this._offsetY=0,void(this._transformOrigin="50% top 0px")}_calculateOverlayPosition(){const t=this._getItemHeight(),e=this._getItemCount(),n=Math.min(e*t,256),i=e*t-n;let a;a=this.empty?0:Math.max(this.options.toArray().indexOf(this._selectionModel.selected[0]),0),a+=Object(o.u)(a,this.options,this.optionGroups);const r=n/2;this._scrollTop=this._calculateOverlayScroll(a,r,i),this._offsetY=this._calculateOverlayOffsetY(a,r,i),this._checkOverlayWithinViewport(i)}_getOriginBasedOnOption(){const t=this._getItemHeight(),e=(t-this._triggerRect.height)/2;return`50% ${Math.abs(this._offsetY)-e+t/2}px 0px`}_getItemHeight(){return 3*this._triggerFontSize}_getItemCount(){return this.options.length+this.optionGroups.length}}return t.\u0275fac=function(e){return q(e||t)},t.\u0275cmp=r.Hb({type:t,selectors:[["mat-select"]],contentQueries:function(t,e,n){if(1&t&&(r.Gb(n,B,1),r.Gb(n,o.m,1),r.Gb(n,o.g,1)),2&t){let t;r.uc(t=r.cc())&&(e.customTrigger=t.first),r.uc(t=r.cc())&&(e.options=t),r.uc(t=r.cc())&&(e.optionGroups=t)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","true",1,"mat-select"],hostVars:20,hostBindings:function(t,e){1&t&&r.bc("keydown",function(t){return e._handleKeydown(t)})("focus",function(){return e._onFocus()})("blur",function(){return e._onBlur()}),2&t&&(r.Db("id",e.id)("tabindex",e.tabIndex)("aria-controls",e.panelOpen?e.id+"-panel":null)("aria-expanded",e.panelOpen)("aria-label",e.ariaLabel||null)("aria-required",e.required.toString())("aria-disabled",e.disabled.toString())("aria-invalid",e.errorState)("aria-describedby",e._ariaDescribedby||null)("aria-activedescendant",e._getAriaActiveDescendant()),r.Fb("mat-select-disabled",e.disabled)("mat-select-invalid",e.errorState)("mat-select-required",e.required)("mat-select-empty",e.empty)("mat-select-multiple",e.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matSelect"],features:[r.Bb([{provide:s.d,useExisting:t},{provide:o.h,useExisting:t}]),r.zb],ngContentSelectors:I,decls:9,vars:12,consts:[["cdk-overlay-origin","",1,"mat-select-trigger",3,"click"],["origin","cdkOverlayOrigin","trigger",""],[1,"mat-select-value",3,"ngSwitch"],["class","mat-select-placeholder",4,"ngSwitchCase"],["class","mat-select-value-text",3,"ngSwitch",4,"ngSwitchCase"],[1,"mat-select-arrow-wrapper"],[1,"mat-select-arrow"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayMinWidth","cdkConnectedOverlayOffsetY","backdropClick","attach","detach"],[1,"mat-select-placeholder"],[1,"mat-select-value-text",3,"ngSwitch"],[4,"ngSwitchDefault"],[4,"ngSwitchCase"],[1,"mat-select-panel-wrap"],["role","listbox","tabindex","-1",3,"ngClass","keydown"],["panel",""]],template:function(t,e){if(1&t&&(r.mc(A),r.Tb(0,"div",0,1),r.bc("click",function(){return e.toggle()}),r.Tb(3,"div",2),r.Fc(4,T,2,1,"span",3),r.Fc(5,D,3,2,"span",4),r.Sb(),r.Tb(6,"div",5),r.Ob(7,"div",6),r.Sb(),r.Sb(),r.Fc(8,E,4,14,"ng-template",7),r.bc("backdropClick",function(){return e.close()})("attach",function(){return e._onAttached()})("detach",function(){return e.close()})),2&t){const t=r.vc(1);r.Db("aria-owns",e.panelOpen?e.id+"-panel":null),r.Cb(3),r.nc("ngSwitch",e.empty),r.Db("id",e._valueId),r.Cb(1),r.nc("ngSwitchCase",!0),r.Cb(1),r.nc("ngSwitchCase",!1),r.Cb(3),r.nc("cdkConnectedOverlayPanelClass",e._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",e._scrollStrategy)("cdkConnectedOverlayOrigin",t)("cdkConnectedOverlayOpen",e.panelOpen)("cdkConnectedOverlayPositions",e._positions)("cdkConnectedOverlayMinWidth",null==e._triggerRect?null:e._triggerRect.width)("cdkConnectedOverlayOffsetY",e._offsetY)}},directives:[i.b,a.n,a.o,i.a,a.p,a.j],styles:[".mat-select{display:inline-block;width:100%;outline:none}.mat-select-trigger{display:inline-table;cursor:pointer;position:relative;box-sizing:border-box}.mat-select-disabled .mat-select-trigger{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-select-value{display:table-cell;max-width:0;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-select-arrow-wrapper{display:table-cell;vertical-align:middle}.mat-form-field-appearance-fill .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-outline .mat-select-arrow-wrapper{transform:translateY(-25%)}.mat-form-field-appearance-standard.mat-form-field-has-label .mat-select:not(.mat-select-empty) .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:none}.mat-select-arrow{width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;margin:0 4px}.mat-select-panel-wrap{flex-basis:100%}.mat-select-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;padding-top:0;padding-bottom:0;max-height:256px;min-width:100%;border-radius:4px;outline:0}.cdk-high-contrast-active .mat-select-panel{outline:solid 1px}.mat-select-panel .mat-optgroup-label,.mat-select-panel .mat-option{font-size:inherit;line-height:3em;height:3em}.mat-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-form-field-flex{cursor:pointer}.mat-form-field-type-mat-select .mat-form-field-label{width:calc(100% - 18px)}.mat-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable .mat-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-select-placeholder{color:transparent;-webkit-text-fill-color:transparent;transition:none;display:block}\n"],encapsulation:2,data:{animation:[R.transformPanelWrap,R.transformPanel]},changeDetection:0}),t})();const q=r.Vb(U);let G=(()=>{class t{}return t.\u0275mod=r.Lb({type:t}),t.\u0275inj=r.Kb({factory:function(e){return new(e||t)},providers:[j],imports:[[a.c,i.f,o.n,o.j],l.b,s.e,o.n,o.j]}),t})()},"Zd/F":function(t,e,n){"use strict";n.d(e,"a",function(){return o});var i=n("Qaas"),a=n("j9Ql"),r=n("DVMI");class o{constructor({type:t=null,raisonSociale:e=null,idSalarie:n=null,numTVA:o=null,siret:s=null,adresse:l={},personne:c={},telephone:d=null,email:u=null,conservation:h=r.a.LIEU_PRESTATION}){this.type=t,this.raisonSociale=e,this.idSalarie=n,this.numTVA=o,this.siret=s,this.adresse=new i.a(l),this.personne=new a.a(c),this.telephone=d,this.email=u,this.conservation=h}getForPost(){const t=Object.assign(Object.assign({},this),{adresse:this.adresse.getForPost(),personne:this.personne.getForPost()});return delete t.idSalarie,t}}},Zduo:function(t,e,n){!function(t){"use strict";t.defineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_a\u016dgusto_septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_mart_apr_maj_jun_jul_a\u016dg_sept_okt_nov_dec".split("_"),weekdays:"diman\u0109o_lundo_mardo_merkredo_\u0135a\u016ddo_vendredo_sabato".split("_"),weekdaysShort:"dim_lun_mard_merk_\u0135a\u016d_ven_sab".split("_"),weekdaysMin:"di_lu_ma_me_\u0135a_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"[la] D[-an de] MMMM, YYYY",LLL:"[la] D[-an de] MMMM, YYYY HH:mm",LLLL:"dddd[n], [la] D[-an de] MMMM, YYYY HH:mm",llll:"ddd, [la] D[-an de] MMM, YYYY HH:mm"},meridiemParse:/[ap]\.t\.m/i,isPM:function(t){return"p"===t.charAt(0).toLowerCase()},meridiem:function(t,e,n){return t>11?n?"p.t.m.":"P.T.M.":n?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodia\u016d je] LT",nextDay:"[Morga\u016d je] LT",nextWeek:"dddd[n je] LT",lastDay:"[Hiera\u016d je] LT",lastWeek:"[pasintan] dddd[n je] LT",sameElse:"L"},relativeTime:{future:"post %s",past:"anta\u016d %s",s:"kelkaj sekundoj",ss:"%d sekundoj",m:"unu minuto",mm:"%d minutoj",h:"unu horo",hh:"%d horoj",d:"unu tago",dd:"%d tagoj",M:"unu monato",MM:"%d monatoj",y:"unu jaro",yy:"%d jaroj"},dayOfMonthOrdinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}})}(n("wd/R"))},ZgVP:function(t,e,n){"use strict";function i(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function a(t,e,n){return e&&i(t.prototype,e),n&&i(t,n),t}function r(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function o(t){return(o=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function s(t,e){return(s=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function l(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function c(t,e,n){return(c=l()?Reflect.construct:function(t,e,n){var i=[null];i.push.apply(i,e);var a=new(Function.bind.apply(t,i));return n&&s(a,n.prototype),a}).apply(null,arguments)}function d(t){var e="function"==typeof Map?new Map:void 0;return(d=function(t){if(null===t||-1===Function.toString.call(t).indexOf("[native code]"))return t;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,n)}function n(){return c(t,arguments,o(this).constructor)}return n.prototype=Object.create(t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),s(n,t)})(t)}function u(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function h(t){var e=0;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(t=function(t,e){if(t){if("string"==typeof t)return u(t,void 0);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?u(t,void 0):void 0}}(t)))return function(){return e>=t.length?{done:!0}:{done:!1,value:t[e++]}};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(e=t[Symbol.iterator]()).next.bind(e)}Object.defineProperty(e,"__esModule",{value:!0});var m=function(t){function e(){return t.apply(this,arguments)||this}return r(e,t),e}(d(Error)),p=function(t){function e(e){return t.call(this,"Invalid DateTime: "+e.toMessage())||this}return r(e,t),e}(m),f=function(t){function e(e){return t.call(this,"Invalid Interval: "+e.toMessage())||this}return r(e,t),e}(m),g=function(t){function e(e){return t.call(this,"Invalid Duration: "+e.toMessage())||this}return r(e,t),e}(m),b=function(t){function e(){return t.apply(this,arguments)||this}return r(e,t),e}(m),_=function(t){function e(e){return t.call(this,"Invalid unit "+e)||this}return r(e,t),e}(m),y=function(t){function e(){return t.apply(this,arguments)||this}return r(e,t),e}(m),v=function(t){function e(){return t.call(this,"Zone is an abstract class")||this}return r(e,t),e}(m),C="numeric",w="short",x="long",M={year:C,month:C,day:C},O={year:C,month:w,day:C},k={year:C,month:x,day:C},S={year:C,month:x,day:C,weekday:x},T={hour:C,minute:C},P={hour:C,minute:C,second:C},L={hour:C,minute:C,second:C,timeZoneName:w},D={hour:C,minute:C,second:C,timeZoneName:x},E={hour:C,minute:C,hour12:!1},A={hour:C,minute:C,second:C,hour12:!1},I={hour:C,minute:C,second:C,hour12:!1,timeZoneName:w},R={hour:C,minute:C,second:C,hour12:!1,timeZoneName:x},N={year:C,month:C,day:C,hour:C,minute:C},Y={year:C,month:C,day:C,hour:C,minute:C,second:C},H={year:C,month:w,day:C,hour:C,minute:C},j={year:C,month:w,day:C,hour:C,minute:C,second:C},F={year:C,month:w,day:C,weekday:w,hour:C,minute:C},z={year:C,month:x,day:C,hour:C,minute:C,timeZoneName:w},V={year:C,month:x,day:C,hour:C,minute:C,second:C,timeZoneName:w},B={year:C,month:x,day:C,weekday:x,hour:C,minute:C,timeZoneName:x},W={year:C,month:x,day:C,weekday:x,hour:C,minute:C,second:C,timeZoneName:x};function U(t){return void 0===t}function q(t){return"number"==typeof t}function G(t){return"number"==typeof t&&t%1==0}function J(){try{return"undefined"!=typeof Intl&&Intl.DateTimeFormat}catch(t){return!1}}function Z(){return!U(Intl.DateTimeFormat.prototype.formatToParts)}function $(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function X(t,e,n){if(0!==t.length)return t.reduce(function(t,i){var a=[e(i),i];return t&&n(t[0],a[0])===t[0]?t:a},null)[1]}function K(t,e){return e.reduce(function(e,n){return e[n]=t[n],e},{})}function Q(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function tt(t,e,n){return G(t)&&t>=e&&t<=n}function et(t,e){return void 0===e&&(e=2),t.toString().length<e?("0".repeat(e)+t).slice(-e):t.toString()}function nt(t){return U(t)||null===t||""===t?void 0:parseInt(t,10)}function it(t){if(!U(t)&&null!==t&&""!==t){var e=1e3*parseFloat("0."+t);return Math.floor(e)}}function at(t,e,n){void 0===n&&(n=!1);var i=Math.pow(10,e);return(n?Math.trunc:Math.round)(t*i)/i}function rt(t){return t%4==0&&(t%100!=0||t%400==0)}function ot(t){return rt(t)?366:365}function st(t,e){var n,i=(n=e-1)-12*Math.floor(n/12)+1;return 2===i?rt(t+(e-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function lt(t){var e=Date.UTC(t.year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond);return t.year<100&&t.year>=0&&(e=new Date(e)).setUTCFullYear(e.getUTCFullYear()-1900),+e}function ct(t){var e=(t+Math.floor(t/4)-Math.floor(t/100)+Math.floor(t/400))%7,n=t-1,i=(n+Math.floor(n/4)-Math.floor(n/100)+Math.floor(n/400))%7;return 4===e||3===i?53:52}function dt(t){return t>99?t:t>60?1900+t:2e3+t}function ut(t,e,n,i){void 0===i&&(i=null);var a=new Date(t),r={hour12:!1,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};i&&(r.timeZone=i);var o=Object.assign({timeZoneName:e},r),s=J();if(s&&Z()){var l=new Intl.DateTimeFormat(n,o).formatToParts(a).find(function(t){return"timezonename"===t.type.toLowerCase()});return l?l.value:null}if(s){var c=new Intl.DateTimeFormat(n,r).format(a);return new Intl.DateTimeFormat(n,o).format(a).substring(c.length).replace(/^[, \u200e]+/,"")}return null}function ht(t,e){var n=parseInt(t,10);Number.isNaN(n)&&(n=0);var i=parseInt(e,10)||0;return 60*n+(n<0||Object.is(n,-0)?-i:i)}function mt(t){var e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new y("Invalid unit value "+t);return e}function pt(t,e,n){var i={};for(var a in t)if(Q(t,a)){if(n.indexOf(a)>=0)continue;var r=t[a];if(null==r)continue;i[e(a)]=mt(r)}return i}function ft(t,e){var n=Math.trunc(t/60),i=Math.abs(t%60),a=n>=0&&!Object.is(n,-0)?"+":"-",r=""+a+Math.abs(n);switch(e){case"short":return""+a+et(Math.abs(n),2)+":"+et(i,2);case"narrow":return i>0?r+":"+i:r;case"techie":return""+a+et(Math.abs(n),2)+et(i,2);default:throw new RangeError("Value format "+e+" is out of range for property format")}}function gt(t){return K(t,["hour","minute","second","millisecond"])}var bt=/[A-Za-z_+-]{1,256}(:?\/[A-Za-z_+-]{1,256}(\/[A-Za-z_+-]{1,256})?)?/;function _t(t){return JSON.stringify(t,Object.keys(t).sort())}var yt=["January","February","March","April","May","June","July","August","September","October","November","December"],vt=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],Ct=["J","F","M","A","M","J","J","A","S","O","N","D"];function wt(t){switch(t){case"narrow":return Ct;case"short":return vt;case"long":return yt;case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}var xt=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],Mt=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],Ot=["M","T","W","T","F","S","S"];function kt(t){switch(t){case"narrow":return Ot;case"short":return Mt;case"long":return xt;case"numeric":return["1","2","3","4","5","6","7"];default:return null}}var St=["AM","PM"],Tt=["Before Christ","Anno Domini"],Pt=["BC","AD"],Lt=["B","A"];function Dt(t){switch(t){case"narrow":return Lt;case"short":return Pt;case"long":return Tt;default:return null}}function Et(t,e){for(var n,i="",a=h(t);!(n=a()).done;){var r=n.value;i+=r.literal?r.val:e(r.val)}return i}var At={D:M,DD:O,DDD:k,DDDD:S,t:T,tt:P,ttt:L,tttt:D,T:E,TT:A,TTT:I,TTTT:R,f:N,ff:H,fff:z,ffff:B,F:Y,FF:j,FFF:V,FFFF:W},It=function(){function t(t,e){this.opts=e,this.loc=t,this.systemLoc=null}t.create=function(e,n){return void 0===n&&(n={}),new t(e,n)},t.parseFormat=function(t){for(var e=null,n="",i=!1,a=[],r=0;r<t.length;r++){var o=t.charAt(r);"'"===o?(n.length>0&&a.push({literal:i,val:n}),e=null,n="",i=!i):i||o===e?n+=o:(n.length>0&&a.push({literal:!1,val:n}),n=o,e=o)}return n.length>0&&a.push({literal:i,val:n}),a},t.macroTokenToFormatOpts=function(t){return At[t]};var e=t.prototype;return e.formatWithSystemDefault=function(t,e){return null===this.systemLoc&&(this.systemLoc=this.loc.redefaultToSystem()),this.systemLoc.dtFormatter(t,Object.assign({},this.opts,e)).format()},e.formatDateTime=function(t,e){return void 0===e&&(e={}),this.loc.dtFormatter(t,Object.assign({},this.opts,e)).format()},e.formatDateTimeParts=function(t,e){return void 0===e&&(e={}),this.loc.dtFormatter(t,Object.assign({},this.opts,e)).formatToParts()},e.resolvedOptions=function(t,e){return void 0===e&&(e={}),this.loc.dtFormatter(t,Object.assign({},this.opts,e)).resolvedOptions()},e.num=function(t,e){if(void 0===e&&(e=0),this.opts.forceSimple)return et(t,e);var n=Object.assign({},this.opts);return e>0&&(n.padTo=e),this.loc.numberFormatter(n).format(t)},e.formatDateTimeFromString=function(e,n){var i=this,a="en"===this.loc.listingMode(),r=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar&&Z(),o=function(t,n){return i.loc.extract(e,t,n)},s=function(t){return e.isOffsetFixed&&0===e.offset&&t.allowZ?"Z":e.isValid?e.zone.formatOffset(e.ts,t.format):""},l=function(t,n){return a?function(t,e){return wt(e)[t.month-1]}(e,t):o(n?{month:t}:{month:t,day:"numeric"},"month")},c=function(t,n){return a?function(t,e){return kt(e)[t.weekday-1]}(e,t):o(n?{weekday:t}:{weekday:t,month:"long",day:"numeric"},"weekday")},d=function(t){return a?function(t,e){return Dt(e)[t.year<0?0:1]}(e,t):o({era:t},"era")};return Et(t.parseFormat(n),function(n){switch(n){case"S":return i.num(e.millisecond);case"u":case"SSS":return i.num(e.millisecond,3);case"s":return i.num(e.second);case"ss":return i.num(e.second,2);case"m":return i.num(e.minute);case"mm":return i.num(e.minute,2);case"h":return i.num(e.hour%12==0?12:e.hour%12);case"hh":return i.num(e.hour%12==0?12:e.hour%12,2);case"H":return i.num(e.hour);case"HH":return i.num(e.hour,2);case"Z":return s({format:"narrow",allowZ:i.opts.allowZ});case"ZZ":return s({format:"short",allowZ:i.opts.allowZ});case"ZZZ":return s({format:"techie",allowZ:i.opts.allowZ});case"ZZZZ":return console.log(e.zone),e.zone.offsetName(e.ts,{format:"short",locale:i.loc.locale});case"ZZZZZ":return e.zone.offsetName(e.ts,{format:"long",locale:i.loc.locale});case"z":return e.zoneName;case"a":return a?function(t){return St[t.hour<12?0:1]}(e):o({hour:"numeric",hour12:!0},"dayperiod");case"d":return r?o({day:"numeric"},"day"):i.num(e.day);case"dd":return r?o({day:"2-digit"},"day"):i.num(e.day,2);case"c":return i.num(e.weekday);case"ccc":return c("short",!0);case"cccc":return c("long",!0);case"ccccc":return c("narrow",!0);case"E":return i.num(e.weekday);case"EEE":return c("short",!1);case"EEEE":return c("long",!1);case"EEEEE":return c("narrow",!1);case"L":return r?o({month:"numeric",day:"numeric"},"month"):i.num(e.month);case"LL":return r?o({month:"2-digit",day:"numeric"},"month"):i.num(e.month,2);case"LLL":return l("short",!0);case"LLLL":return l("long",!0);case"LLLLL":return l("narrow",!0);case"M":return r?o({month:"numeric"},"month"):i.num(e.month);case"MM":return r?o({month:"2-digit"},"month"):i.num(e.month,2);case"MMM":return l("short",!1);case"MMMM":return l("long",!1);case"MMMMM":return l("narrow",!1);case"y":return r?o({year:"numeric"},"year"):i.num(e.year);case"yy":return r?o({year:"2-digit"},"year"):i.num(e.year.toString().slice(-2),2);case"yyyy":return r?o({year:"numeric"},"year"):i.num(e.year,4);case"yyyyyy":return r?o({year:"numeric"},"year"):i.num(e.year,6);case"G":return d("short");case"GG":return d("long");case"GGGGG":return d("narrow");case"kk":return i.num(e.weekYear.toString().slice(-2),2);case"kkkk":return i.num(e.weekYear,4);case"W":return i.num(e.weekNumber);case"WW":return i.num(e.weekNumber,2);case"o":return i.num(e.ordinal);case"ooo":return i.num(e.ordinal,3);case"q":return i.num(e.quarter);case"qq":return i.num(e.quarter,2);case"X":return i.num(Math.floor(e.ts/1e3));case"x":return i.num(e.ts);default:return function(n){var a=t.macroTokenToFormatOpts(n);return a?i.formatWithSystemDefault(e,a):n}(n)}})},e.formatDurationFromString=function(e,n){var i,a=this,r=function(t){switch(t[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"M":return"month";case"y":return"year";default:return null}},o=t.parseFormat(n),s=o.reduce(function(t,e){return e.literal?t:t.concat(e.val)},[]),l=e.shiftTo.apply(e,s.map(r).filter(function(t){return t}));return Et(o,(i=l,function(t){var e=r(t);return e?a.num(i.get(e),t.length):t}))},t}(),Rt=function(){function t(t,e){this.reason=t,this.explanation=e}return t.prototype.toMessage=function(){return this.explanation?this.reason+": "+this.explanation:this.reason},t}(),Nt=function(){function t(){}var e=t.prototype;return e.offsetName=function(t,e){throw new v},e.formatOffset=function(t,e){throw new v},e.offset=function(t){throw new v},e.equals=function(t){throw new v},a(t,[{key:"type",get:function(){throw new v}},{key:"name",get:function(){throw new v}},{key:"universal",get:function(){throw new v}},{key:"isValid",get:function(){throw new v}}]),t}(),Yt=null,Ht=function(t){function e(){return t.apply(this,arguments)||this}r(e,t);var n=e.prototype;return n.offsetName=function(t,e){return ut(t,e.format,e.locale)},n.formatOffset=function(t,e){return ft(this.offset(t),e)},n.offset=function(t){return-new Date(t).getTimezoneOffset()},n.equals=function(t){return"local"===t.type},a(e,[{key:"type",get:function(){return"local"}},{key:"name",get:function(){return J()?(new Intl.DateTimeFormat).resolvedOptions().timeZone:"local"}},{key:"universal",get:function(){return!1}},{key:"isValid",get:function(){return!0}}],[{key:"instance",get:function(){return null===Yt&&(Yt=new e),Yt}}]),e}(Nt),jt=RegExp("^"+bt.source+"$"),Ft={},zt={year:0,month:1,day:2,hour:3,minute:4,second:5},Vt={},Bt=function(t){function e(n){var i;return(i=t.call(this)||this).zoneName=n,i.valid=e.isValidZone(n),i}r(e,t),e.create=function(t){return Vt[t]||(Vt[t]=new e(t)),Vt[t]},e.resetCache=function(){Vt={},Ft={}},e.isValidSpecifier=function(t){return!(!t||!t.match(jt))},e.isValidZone=function(t){try{return new Intl.DateTimeFormat("en-US",{timeZone:t}).format(),!0}catch(e){return!1}},e.parseGMTOffset=function(t){if(t){var e=t.match(/^Etc\/GMT([+-]\d{1,2})$/i);if(e)return-60*parseInt(e[1])}return null};var n=e.prototype;return n.offsetName=function(t,e){return ut(t,e.format,e.locale,this.name)},n.formatOffset=function(t,e){return ft(this.offset(t),e)},n.offset=function(t){var e,n=new Date(t),i=(Ft[e=this.name]||(Ft[e]=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:e,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"})),Ft[e]),a=i.formatToParts?function(t,e){for(var n=t.formatToParts(e),i=[],a=0;a<n.length;a++){var r=n[a],o=r.value,s=zt[r.type];U(s)||(i[s]=parseInt(o,10))}return i}(i,n):function(t,e){var n=t.format(e).replace(/\u200E/g,""),i=/(\d+)\/(\d+)\/(\d+),? (\d+):(\d+):(\d+)/.exec(n);return[i[3],i[1],i[2],i[4],i[5],i[6]]}(i,n),r=a[3],o=+n,s=o%1e3;return(lt({year:a[0],month:a[1],day:a[2],hour:24===r?0:r,minute:a[4],second:a[5],millisecond:0})-(o-=s>=0?s:1e3+s))/6e4},n.equals=function(t){return"iana"===t.type&&t.name===this.name},a(e,[{key:"type",get:function(){return"iana"}},{key:"name",get:function(){return this.zoneName}},{key:"universal",get:function(){return!1}},{key:"isValid",get:function(){return this.valid}}]),e}(Nt),Wt=null,Ut=function(t){function e(e){var n;return(n=t.call(this)||this).fixed=e,n}r(e,t),e.instance=function(t){return 0===t?e.utcInstance:new e(t)},e.parseSpecifier=function(t){if(t){var n=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(n)return new e(ht(n[1],n[2]))}return null},a(e,null,[{key:"utcInstance",get:function(){return null===Wt&&(Wt=new e(0)),Wt}}]);var n=e.prototype;return n.offsetName=function(){return this.name},n.formatOffset=function(t,e){return ft(this.fixed,e)},n.offset=function(){return this.fixed},n.equals=function(t){return"fixed"===t.type&&t.fixed===this.fixed},a(e,[{key:"type",get:function(){return"fixed"}},{key:"name",get:function(){return 0===this.fixed?"UTC":"UTC"+ft(this.fixed,"narrow")}},{key:"universal",get:function(){return!0}},{key:"isValid",get:function(){return!0}}]),e}(Nt),qt=function(t){function e(e){var n;return(n=t.call(this)||this).zoneName=e,n}r(e,t);var n=e.prototype;return n.offsetName=function(){return null},n.formatOffset=function(){return""},n.offset=function(){return NaN},n.equals=function(){return!1},a(e,[{key:"type",get:function(){return"invalid"}},{key:"name",get:function(){return this.zoneName}},{key:"universal",get:function(){return!1}},{key:"isValid",get:function(){return!1}}]),e}(Nt);function Gt(t,e){var n;if(U(t)||null===t)return e;if(t instanceof Nt)return t;if("string"==typeof t){var i=t.toLowerCase();return"local"===i?e:"utc"===i||"gmt"===i?Ut.utcInstance:null!=(n=Bt.parseGMTOffset(t))?Ut.instance(n):Bt.isValidSpecifier(i)?Bt.create(t):Ut.parseSpecifier(i)||new qt(t)}return q(t)?Ut.instance(t):"object"==typeof t&&t.offset&&"number"==typeof t.offset?t:new qt(t)}var Jt=function(){return Date.now()},Zt=null,$t=null,Xt=null,Kt=null,Qt=!1,te=function(){function t(){}return t.resetCaches=function(){de.resetCache(),Bt.resetCache()},a(t,null,[{key:"now",get:function(){return Jt},set:function(t){Jt=t}},{key:"defaultZoneName",get:function(){return t.defaultZone.name},set:function(t){Zt=t?Gt(t):null}},{key:"defaultZone",get:function(){return Zt||Ht.instance}},{key:"defaultLocale",get:function(){return $t},set:function(t){$t=t}},{key:"defaultNumberingSystem",get:function(){return Xt},set:function(t){Xt=t}},{key:"defaultOutputCalendar",get:function(){return Kt},set:function(t){Kt=t}},{key:"throwOnInvalid",get:function(){return Qt},set:function(t){Qt=t}}]),t}(),ee={};function ne(t,e){void 0===e&&(e={});var n=JSON.stringify([t,e]),i=ee[n];return i||(i=new Intl.DateTimeFormat(t,e),ee[n]=i),i}var ie={},ae={},re=null;function oe(t,e,n,i,a){var r=t.listingMode(n);return"error"===r?null:"en"===r?i(e):a(e)}var se=function(){function t(t,e,n){if(this.padTo=n.padTo||0,this.floor=n.floor||!1,!e&&J()){var i={useGrouping:!1};n.padTo>0&&(i.minimumIntegerDigits=n.padTo),this.inf=function(t,e){void 0===e&&(e={});var n=JSON.stringify([t,e]),i=ie[n];return i||(i=new Intl.NumberFormat(t,e),ie[n]=i),i}(t,i)}}return t.prototype.format=function(t){if(this.inf){var e=this.floor?Math.floor(t):t;return this.inf.format(e)}return et(this.floor?Math.floor(t):at(t,3),this.padTo)},t}(),le=function(){function t(t,e,n){var i;if(this.opts=n,this.hasIntl=J(),t.zone.universal&&this.hasIntl?(i="UTC",this.dt=n.timeZoneName||0===t.offset?t:ii.fromMillis(t.ts+60*t.offset*1e3)):"local"===t.zone.type?this.dt=t:(this.dt=t,i=t.zone.name),this.hasIntl){var a=Object.assign({},this.opts);i&&(a.timeZone=i),this.dtf=ne(e,a)}}var e=t.prototype;return e.format=function(){if(this.hasIntl)return this.dtf.format(this.dt.toJSDate());var t=function(t){switch(_t(K(t,["weekday","era","year","month","day","hour","minute","second","timeZoneName","hour12"]))){case _t(M):return"M/d/yyyy";case _t(O):return"LLL d, yyyy";case _t(k):return"LLLL d, yyyy";case _t(S):return"EEEE, LLLL d, yyyy";case _t(T):return"h:mm a";case _t(P):return"h:mm:ss a";case _t(L):case _t(D):return"h:mm a";case _t(E):return"HH:mm";case _t(A):return"HH:mm:ss";case _t(I):case _t(R):return"HH:mm";case _t(N):return"M/d/yyyy, h:mm a";case _t(H):return"LLL d, yyyy, h:mm a";case _t(z):return"LLLL d, yyyy, h:mm a";case _t(B):return"EEEE, LLLL d, yyyy, h:mm a";case _t(Y):return"M/d/yyyy, h:mm:ss a";case _t(j):return"LLL d, yyyy, h:mm:ss a";case _t(F):return"EEE, d LLL yyyy, h:mm a";case _t(V):return"LLLL d, yyyy, h:mm:ss a";case _t(W):return"EEEE, LLLL d, yyyy, h:mm:ss a";default:return"EEEE, LLLL d, yyyy, h:mm a"}}(this.opts),e=de.create("en-US");return It.create(e).formatDateTimeFromString(this.dt,t)},e.formatToParts=function(){return this.hasIntl&&Z()?this.dtf.formatToParts(this.dt.toJSDate()):[]},e.resolvedOptions=function(){return this.hasIntl?this.dtf.resolvedOptions():{locale:"en-US",numberingSystem:"latn",outputCalendar:"gregory"}},t}(),ce=function(){function t(t,e,n){this.opts=Object.assign({style:"long"},n),!e&&$()&&(this.rtf=function(t,e){void 0===e&&(e={});var n=function(t,e){if(null==t)return{};var n,i,a={},r=Object.keys(t);for(i=0;i<r.length;i++)e.indexOf(n=r[i])>=0||(a[n]=t[n]);return a}(e,["base"]),i=JSON.stringify([t,n]),a=ae[i];return a||(a=new Intl.RelativeTimeFormat(t,e),ae[i]=a),a}(t,n))}var e=t.prototype;return e.format=function(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,n,i){void 0===n&&(n="always"),void 0===i&&(i=!1);var a={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},r=-1===["hours","minutes","seconds"].indexOf(t);if("auto"===n&&r){var o="days"===t;switch(e){case 1:return o?"tomorrow":"next "+a[t][0];case-1:return o?"yesterday":"last "+a[t][0];case 0:return o?"today":"this "+a[t][0]}}var s=Object.is(e,-0)||e<0,l=Math.abs(e),c=1===l,d=a[t],u=i?c?d[1]:d[2]||d[1]:c?a[t][0]:t;return s?l+" "+u+" ago":"in "+l+" "+u}(e,t,this.opts.numeric,"long"!==this.opts.style)},e.formatToParts=function(t,e){return this.rtf?this.rtf.formatToParts(t,e):[]},t}(),de=function(){function t(t,e,n,i){var a=function(t){var e=t.indexOf("-u-");if(-1===e)return[t];var n,i=t.substring(0,e);try{n=ne(t).resolvedOptions()}catch(a){n=ne(i).resolvedOptions()}return[i,n.numberingSystem,n.calendar]}(t),r=a[1],o=a[2];this.locale=a[0],this.numberingSystem=e||r||null,this.outputCalendar=n||o||null,this.intl=function(t,e,n){return J()?n||e?(t+="-u",n&&(t+="-ca-"+n),e&&(t+="-nu-"+e),t):t:[]}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=i,this.fastNumbersCached=null}t.fromOpts=function(e){return t.create(e.locale,e.numberingSystem,e.outputCalendar,e.defaultToEN)},t.create=function(e,n,i,a){void 0===a&&(a=!1);var r=e||te.defaultLocale;return new t(r||(a?"en-US":function(){if(re)return re;if(J()){var t=(new Intl.DateTimeFormat).resolvedOptions().locale;return re=t&&"und"!==t?t:"en-US"}return re="en-US"}()),n||te.defaultNumberingSystem,i||te.defaultOutputCalendar,r)},t.resetCache=function(){re=null,ee={},ie={},ae={}},t.fromObject=function(e){var n=void 0===e?{}:e;return t.create(n.locale,n.numberingSystem,n.outputCalendar)};var e=t.prototype;return e.listingMode=function(t){void 0===t&&(t=!0);var e=J()&&Z(),n=this.isEnglish(),i=!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar);return e||n&&i||t?!e||n&&i?"en":"intl":"error"},e.clone=function(e){return e&&0!==Object.getOwnPropertyNames(e).length?t.create(e.locale||this.specifiedLocale,e.numberingSystem||this.numberingSystem,e.outputCalendar||this.outputCalendar,e.defaultToEN||!1):this},e.redefaultToEN=function(t){return void 0===t&&(t={}),this.clone(Object.assign({},t,{defaultToEN:!0}))},e.redefaultToSystem=function(t){return void 0===t&&(t={}),this.clone(Object.assign({},t,{defaultToEN:!1}))},e.months=function(t,e,n){var i=this;return void 0===e&&(e=!1),void 0===n&&(n=!0),oe(this,t,n,wt,function(){var n=e?{month:t,day:"numeric"}:{month:t},a=e?"format":"standalone";return i.monthsCache[a][t]||(i.monthsCache[a][t]=function(t){for(var e=[],n=1;n<=12;n++){var i=ii.utc(2016,n,1);e.push(t(i))}return e}(function(t){return i.extract(t,n,"month")})),i.monthsCache[a][t]})},e.weekdays=function(t,e,n){var i=this;return void 0===e&&(e=!1),void 0===n&&(n=!0),oe(this,t,n,kt,function(){var n=e?{weekday:t,year:"numeric",month:"long",day:"numeric"}:{weekday:t},a=e?"format":"standalone";return i.weekdaysCache[a][t]||(i.weekdaysCache[a][t]=function(t){for(var e=[],n=1;n<=7;n++){var i=ii.utc(2016,11,13+n);e.push(t(i))}return e}(function(t){return i.extract(t,n,"weekday")})),i.weekdaysCache[a][t]})},e.meridiems=function(t){var e=this;return void 0===t&&(t=!0),oe(this,void 0,t,function(){return St},function(){if(!e.meridiemCache){var t={hour:"numeric",hour12:!0};e.meridiemCache=[ii.utc(2016,11,13,9),ii.utc(2016,11,13,19)].map(function(n){return e.extract(n,t,"dayperiod")})}return e.meridiemCache})},e.eras=function(t,e){var n=this;return void 0===e&&(e=!0),oe(this,t,e,Dt,function(){var e={era:t};return n.eraCache[t]||(n.eraCache[t]=[ii.utc(-40,1,1),ii.utc(2017,1,1)].map(function(t){return n.extract(t,e,"era")})),n.eraCache[t]})},e.extract=function(t,e,n){var i=this.dtFormatter(t,e).formatToParts().find(function(t){return t.type.toLowerCase()===n});return i?i.value:null},e.numberFormatter=function(t){return void 0===t&&(t={}),new se(this.intl,t.forceSimple||this.fastNumbers,t)},e.dtFormatter=function(t,e){return void 0===e&&(e={}),new le(t,this.intl,e)},e.relFormatter=function(t){return void 0===t&&(t={}),new ce(this.intl,this.isEnglish(),t)},e.isEnglish=function(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||J()&&new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us")},e.equals=function(t){return this.locale===t.locale&&this.numberingSystem===t.numberingSystem&&this.outputCalendar===t.outputCalendar},a(t,[{key:"fastNumbers",get:function(){return null==this.fastNumbersCached&&(this.fastNumbersCached=(!this.numberingSystem||"latn"===this.numberingSystem)&&("latn"===this.numberingSystem||!this.locale||this.locale.startsWith("en")||J()&&"latn"===new Intl.DateTimeFormat(this.intl).resolvedOptions().numberingSystem)),this.fastNumbersCached}}]),t}();function ue(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i=e.reduce(function(t,e){return t+e.source},"");return RegExp("^"+i+"$")}function he(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return function(t){return e.reduce(function(e,n){var i=e[0],a=e[1],r=n(t,e[2]),o=r[1],s=r[2];return[Object.assign(i,r[0]),a||o,s]},[{},null,1]).slice(0,2)}}function me(t){if(null==t)return[null,null];for(var e=arguments.length,n=new Array(e>1?e-1:0),i=1;i<e;i++)n[i-1]=arguments[i];for(var a=0,r=n;a<r.length;a++){var o=r[a],s=o[0],l=o[1],c=s.exec(t);if(c)return l(c)}return[null,null]}function pe(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return function(t,n){var i,a={};for(i=0;i<e.length;i++)a[e[i]]=nt(t[n+i]);return[a,null,n+i]}}var fe=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,ge=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,9}))?)?)?/,be=RegExp(""+ge.source+fe.source+"?"),_e=RegExp("(?:T"+be.source+")?"),ye=pe("weekYear","weekNumber","weekDay"),ve=pe("year","ordinal"),Ce=RegExp(ge.source+" ?(?:"+fe.source+"|("+bt.source+"))?"),we=RegExp("(?: "+Ce.source+")?");function xe(t,e,n){var i=t[e];return U(i)?n:nt(i)}function Me(t,e){return[{year:xe(t,e),month:xe(t,e+1,1),day:xe(t,e+2,1)},null,e+3]}function Oe(t,e){return[{hour:xe(t,e,0),minute:xe(t,e+1,0),second:xe(t,e+2,0),millisecond:it(t[e+3])},null,e+4]}function ke(t,e){var n=!t[e]&&!t[e+1],i=ht(t[e+1],t[e+2]);return[{},n?null:Ut.instance(i),e+3]}function Se(t,e){return[{},t[e]?Bt.create(t[e]):null,e+1]}var Te=/^-?P(?:(?:(-?\d{1,9})Y)?(?:(-?\d{1,9})M)?(?:(-?\d{1,9})W)?(?:(-?\d{1,9})D)?(?:T(?:(-?\d{1,9})H)?(?:(-?\d{1,9})M)?(?:(-?\d{1,9})(?:[.,](-?\d{1,9}))?S)?)?)$/;function Pe(t){var e=t[2],n=t[3],i=t[4],a=t[5],r=t[6],o=t[7],s=t[8],l="-"===t[0][0],c=function(t){return t&&l?-t:t};return[{years:c(nt(t[1])),months:c(nt(e)),weeks:c(nt(n)),days:c(nt(i)),hours:c(nt(a)),minutes:c(nt(r)),seconds:c(nt(o)),milliseconds:c(it(s))}]}var Le={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function De(t,e,n,i,a,r,o){var s={year:2===e.length?dt(nt(e)):nt(e),month:vt.indexOf(n)+1,day:nt(i),hour:nt(a),minute:nt(r)};return o&&(s.second=nt(o)),t&&(s.weekday=t.length>3?xt.indexOf(t)+1:Mt.indexOf(t)+1),s}var Ee=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function Ae(t){var e,n=t[8],i=t[9],a=t[10],r=t[11],o=De(t[1],t[4],t[3],t[2],t[5],t[6],t[7]);return e=n?Le[n]:i?0:ht(a,r),[o,new Ut(e)]}var Ie=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,Re=/^(Monday|Tuesday|Wedsday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,Ne=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function Ye(t){return[De(t[1],t[4],t[3],t[2],t[5],t[6],t[7]),Ut.utcInstance]}function He(t){return[De(t[1],t[7],t[2],t[3],t[4],t[5],t[6]),Ut.utcInstance]}var je=ue(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,_e),Fe=ue(/(\d{4})-?W(\d\d)(?:-?(\d))?/,_e),ze=ue(/(\d{4})-?(\d{3})/,_e),Ve=ue(be),Be=he(Me,Oe,ke),We=he(ye,Oe,ke),Ue=he(ve,Oe),qe=he(Oe,ke),Ge=ue(/(\d{4})-(\d\d)-(\d\d)/,we),Je=ue(Ce),Ze=he(Me,Oe,ke,Se),$e=he(Oe,ke,Se),Xe={weeks:{days:7,hours:168,minutes:10080,seconds:604800,milliseconds:6048e5},days:{hours:24,minutes:1440,seconds:86400,milliseconds:864e5},hours:{minutes:60,seconds:3600,milliseconds:36e5},minutes:{seconds:60,milliseconds:6e4},seconds:{milliseconds:1e3}},Ke=Object.assign({years:{months:12,weeks:52,days:365,hours:8760,minutes:525600,seconds:31536e3,milliseconds:31536e6},quarters:{months:3,weeks:13,days:91,hours:2184,minutes:131040,milliseconds:78624e5},months:{weeks:4,days:30,hours:720,minutes:43200,seconds:2592e3,milliseconds:2592e6}},Xe),Qe=Object.assign({years:{months:12,weeks:52.1775,days:365.2425,hours:8765.82,minutes:525949.2,seconds:525949.2*60,milliseconds:525949.2*60*1e3},quarters:{months:3,weeks:13.044375,days:91.310625,hours:2191.455,minutes:131487.3,seconds:525949.2*60/4,milliseconds:7889237999.999999},months:{weeks:30.436875/7,days:30.436875,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3}},Xe),tn=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],en=tn.slice(0).reverse();function nn(t,e,n){void 0===n&&(n=!1);var i={values:n?e.values:Object.assign({},t.values,e.values||{}),loc:t.loc.clone(e.loc),conversionAccuracy:e.conversionAccuracy||t.conversionAccuracy};return new on(i)}function an(t,e,n,i,a){var r=t[a][n],o=e[n]/r,s=Math.sign(o)!==Math.sign(i[a])&&0!==i[a]&&Math.abs(o)<=1?function(t){return t<0?Math.floor(t):Math.ceil(t)}(o):Math.trunc(o);i[a]+=s,e[n]-=s*r}function rn(t,e){en.reduce(function(n,i){return U(e[i])?n:(n&&an(t,e,n,e,i),i)},null)}var on=function(){function t(t){var e="longterm"===t.conversionAccuracy||!1;this.values=t.values,this.loc=t.loc||de.create(),this.conversionAccuracy=e?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=e?Qe:Ke,this.isLuxonDuration=!0}t.fromMillis=function(e,n){return t.fromObject(Object.assign({milliseconds:e},n))},t.fromObject=function(e){if(null==e||"object"!=typeof e)throw new y("Duration.fromObject: argument expected to be an object, got "+(null===e?"null":typeof e));return new t({values:pt(e,t.normalizeUnit,["locale","numberingSystem","conversionAccuracy","zone"]),loc:de.fromObject(e),conversionAccuracy:e.conversionAccuracy})},t.fromISO=function(e,n){var i=function(t){return me(t,[Te,Pe])}(e)[0];if(i){var a=Object.assign(i,n);return t.fromObject(a)}return t.invalid("unparsable",'the input "'+e+"\" can't be parsed as ISO 8601")},t.invalid=function(e,n){if(void 0===n&&(n=null),!e)throw new y("need to specify a reason the Duration is invalid");var i=e instanceof Rt?e:new Rt(e,n);if(te.throwOnInvalid)throw new g(i);return new t({invalid:i})},t.normalizeUnit=function(t){var e={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[t?t.toLowerCase():t];if(!e)throw new _(t);return e},t.isDuration=function(t){return t&&t.isLuxonDuration||!1};var e=t.prototype;return e.toFormat=function(t,e){void 0===e&&(e={});var n=Object.assign({},e,{floor:!1!==e.round&&!1!==e.floor});return this.isValid?It.create(this.loc,n).formatDurationFromString(this,t):"Invalid Duration"},e.toObject=function(t){if(void 0===t&&(t={}),!this.isValid)return{};var e=Object.assign({},this.values);return t.includeConfig&&(e.conversionAccuracy=this.conversionAccuracy,e.numberingSystem=this.loc.numberingSystem,e.locale=this.loc.locale),e},e.toISO=function(){if(!this.isValid)return null;var t="P";return 0!==this.years&&(t+=this.years+"Y"),0===this.months&&0===this.quarters||(t+=this.months+3*this.quarters+"M"),0!==this.weeks&&(t+=this.weeks+"W"),0!==this.days&&(t+=this.days+"D"),0===this.hours&&0===this.minutes&&0===this.seconds&&0===this.milliseconds||(t+="T"),0!==this.hours&&(t+=this.hours+"H"),0!==this.minutes&&(t+=this.minutes+"M"),0===this.seconds&&0===this.milliseconds||(t+=at(this.seconds+this.milliseconds/1e3,3)+"S"),"P"===t&&(t+="T0S"),t},e.toJSON=function(){return this.toISO()},e.toString=function(){return this.toISO()},e.valueOf=function(){return this.as("milliseconds")},e.plus=function(t){if(!this.isValid)return this;for(var e,n=sn(t),i={},a=h(tn);!(e=a()).done;){var r=e.value;(Q(n.values,r)||Q(this.values,r))&&(i[r]=n.get(r)+this.get(r))}return nn(this,{values:i},!0)},e.minus=function(t){if(!this.isValid)return this;var e=sn(t);return this.plus(e.negate())},e.mapUnits=function(t){if(!this.isValid)return this;for(var e={},n=0,i=Object.keys(this.values);n<i.length;n++){var a=i[n];e[a]=mt(t(this.values[a],a))}return nn(this,{values:e},!0)},e.get=function(e){return this[t.normalizeUnit(e)]},e.set=function(e){return this.isValid?nn(this,{values:Object.assign(this.values,pt(e,t.normalizeUnit,[]))}):this},e.reconfigure=function(t){var e=void 0===t?{}:t,n=e.conversionAccuracy,i={loc:this.loc.clone({locale:e.locale,numberingSystem:e.numberingSystem})};return n&&(i.conversionAccuracy=n),nn(this,i)},e.as=function(t){return this.isValid?this.shiftTo(t).get(t):NaN},e.normalize=function(){if(!this.isValid)return this;var t=this.toObject();return rn(this.matrix,t),nn(this,{values:t},!0)},e.shiftTo=function(){for(var e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];if(!this.isValid)return this;if(0===n.length)return this;n=n.map(function(e){return t.normalizeUnit(e)});var a,r={},o={},s=this.toObject();rn(this.matrix,s);for(var l,c=h(tn);!(l=c()).done;){var d=l.value;if(n.indexOf(d)>=0){a=d;var u=0;for(var m in o)u+=this.matrix[m][d]*o[m],o[m]=0;q(s[d])&&(u+=s[d]);var p=Math.trunc(u);for(var f in r[d]=p,o[d]=u-p,s)tn.indexOf(f)>tn.indexOf(d)&&an(this.matrix,s,f,r,d)}else q(s[d])&&(o[d]=s[d])}for(var g in o)0!==o[g]&&(r[a]+=g===a?o[g]:o[g]/this.matrix[a][g]);return nn(this,{values:r},!0).normalize()},e.negate=function(){if(!this.isValid)return this;for(var t={},e=0,n=Object.keys(this.values);e<n.length;e++){var i=n[e];t[i]=-this.values[i]}return nn(this,{values:t},!0)},e.equals=function(t){if(!this.isValid||!t.isValid)return!1;if(!this.loc.equals(t.loc))return!1;for(var e,n=h(tn);!(e=n()).done;){var i=e.value;if(this.values[i]!==t.values[i])return!1}return!0},a(t,[{key:"locale",get:function(){return this.isValid?this.loc.locale:null}},{key:"numberingSystem",get:function(){return this.isValid?this.loc.numberingSystem:null}},{key:"years",get:function(){return this.isValid?this.values.years||0:NaN}},{key:"quarters",get:function(){return this.isValid?this.values.quarters||0:NaN}},{key:"months",get:function(){return this.isValid?this.values.months||0:NaN}},{key:"weeks",get:function(){return this.isValid?this.values.weeks||0:NaN}},{key:"days",get:function(){return this.isValid?this.values.days||0:NaN}},{key:"hours",get:function(){return this.isValid?this.values.hours||0:NaN}},{key:"minutes",get:function(){return this.isValid?this.values.minutes||0:NaN}},{key:"seconds",get:function(){return this.isValid?this.values.seconds||0:NaN}},{key:"milliseconds",get:function(){return this.isValid?this.values.milliseconds||0:NaN}},{key:"isValid",get:function(){return null===this.invalid}},{key:"invalidReason",get:function(){return this.invalid?this.invalid.reason:null}},{key:"invalidExplanation",get:function(){return this.invalid?this.invalid.explanation:null}}]),t}();function sn(t){if(q(t))return on.fromMillis(t);if(on.isDuration(t))return t;if("object"==typeof t)return on.fromObject(t);throw new y("Unknown duration argument "+t+" of type "+typeof t)}var ln="Invalid Interval";function cn(t,e){return t&&t.isValid?e&&e.isValid?e<t?dn.invalid("end before start","The end of an interval must be after its start, but you had start="+t.toISO()+" and end="+e.toISO()):null:dn.invalid("missing or invalid end"):dn.invalid("missing or invalid start")}var dn=function(){function t(t){this.s=t.start,this.e=t.end,this.invalid=t.invalid||null,this.isLuxonInterval=!0}t.invalid=function(e,n){if(void 0===n&&(n=null),!e)throw new y("need to specify a reason the Interval is invalid");var i=e instanceof Rt?e:new Rt(e,n);if(te.throwOnInvalid)throw new f(i);return new t({invalid:i})},t.fromDateTimes=function(e,n){var i=ai(e),a=ai(n),r=cn(i,a);return null==r?new t({start:i,end:a}):r},t.after=function(e,n){var i=sn(n),a=ai(e);return t.fromDateTimes(a,a.plus(i))},t.before=function(e,n){var i=sn(n),a=ai(e);return t.fromDateTimes(a.minus(i),a)},t.fromISO=function(e,n){var i=(e||"").split("/",2),a=i[0],r=i[1];if(a&&r){var o=ii.fromISO(a,n),s=ii.fromISO(r,n);if(o.isValid&&s.isValid)return t.fromDateTimes(o,s);if(o.isValid){var l=on.fromISO(r,n);if(l.isValid)return t.after(o,l)}else if(s.isValid){var c=on.fromISO(a,n);if(c.isValid)return t.before(s,c)}}return t.invalid("unparsable",'the input "'+e+"\" can't be parsed as ISO 8601")},t.isInterval=function(t){return t&&t.isLuxonInterval||!1};var e=t.prototype;return e.length=function(t){return void 0===t&&(t="milliseconds"),this.isValid?this.toDuration.apply(this,[t]).get(t):NaN},e.count=function(t){if(void 0===t&&(t="milliseconds"),!this.isValid)return NaN;var e=this.start.startOf(t),n=this.end.startOf(t);return Math.floor(n.diff(e,t).get(t))+1},e.hasSame=function(t){return!!this.isValid&&this.e.minus(1).hasSame(this.s,t)},e.isEmpty=function(){return this.s.valueOf()===this.e.valueOf()},e.isAfter=function(t){return!!this.isValid&&this.s>t},e.isBefore=function(t){return!!this.isValid&&this.e<=t},e.contains=function(t){return!!this.isValid&&this.s<=t&&this.e>t},e.set=function(e){var n=void 0===e?{}:e;return this.isValid?t.fromDateTimes(n.start||this.s,n.end||this.e):this},e.splitAt=function(){var e=this;if(!this.isValid)return[];for(var n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];for(var r=i.map(ai).filter(function(t){return e.contains(t)}).sort(),o=[],s=this.s,l=0;s<this.e;){var c=r[l]||this.e,d=+c>+this.e?this.e:c;o.push(t.fromDateTimes(s,d)),s=d,l+=1}return o},e.splitBy=function(e){var n=sn(e);if(!this.isValid||!n.isValid||0===n.as("milliseconds"))return[];for(var i,a,r=this.s,o=[];r<this.e;)i=r.plus(n),o.push(t.fromDateTimes(r,a=+i>+this.e?this.e:i)),r=a;return o},e.divideEqually=function(t){return this.isValid?this.splitBy(this.length()/t).slice(0,t):[]},e.overlaps=function(t){return this.e>t.s&&this.s<t.e},e.abutsStart=function(t){return!!this.isValid&&+this.e==+t.s},e.abutsEnd=function(t){return!!this.isValid&&+t.e==+this.s},e.engulfs=function(t){return!!this.isValid&&this.s<=t.s&&this.e>=t.e},e.equals=function(t){return!(!this.isValid||!t.isValid)&&this.s.equals(t.s)&&this.e.equals(t.e)},e.intersection=function(e){if(!this.isValid)return this;var n=this.s>e.s?this.s:e.s,i=this.e<e.e?this.e:e.e;return n>i?null:t.fromDateTimes(n,i)},e.union=function(e){return this.isValid?t.fromDateTimes(this.s<e.s?this.s:e.s,this.e>e.e?this.e:e.e):this},t.merge=function(t){var e=t.sort(function(t,e){return t.s-e.s}).reduce(function(t,e){var n=t[0],i=t[1];return i?i.overlaps(e)||i.abutsStart(e)?[n,i.union(e)]:[n.concat([i]),e]:[n,e]},[[],null]),n=e[0],i=e[1];return i&&n.push(i),n},t.xor=function(e){for(var n,i,a=null,r=0,o=[],s=e.map(function(t){return[{time:t.s,type:"s"},{time:t.e,type:"e"}]}),l=h((n=Array.prototype).concat.apply(n,s).sort(function(t,e){return t.time-e.time}));!(i=l()).done;){var c=i.value;1===(r+="s"===c.type?1:-1)?a=c.time:(a&&+a!=+c.time&&o.push(t.fromDateTimes(a,c.time)),a=null)}return t.merge(o)},e.difference=function(){for(var e=this,n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];return t.xor([this].concat(i)).map(function(t){return e.intersection(t)}).filter(function(t){return t&&!t.isEmpty()})},e.toString=function(){return this.isValid?"["+this.s.toISO()+" \u2013 "+this.e.toISO()+")":ln},e.toISO=function(t){return this.isValid?this.s.toISO(t)+"/"+this.e.toISO(t):ln},e.toISODate=function(){return this.isValid?this.s.toISODate()+"/"+this.e.toISODate():ln},e.toISOTime=function(t){return this.isValid?this.s.toISOTime(t)+"/"+this.e.toISOTime(t):ln},e.toFormat=function(t,e){var n=(void 0===e?{}:e).separator,i=void 0===n?" \u2013 ":n;return this.isValid?""+this.s.toFormat(t)+i+this.e.toFormat(t):ln},e.toDuration=function(t,e){return this.isValid?this.e.diff(this.s,t,e):on.invalid(this.invalidReason)},e.mapEndpoints=function(e){return t.fromDateTimes(e(this.s),e(this.e))},a(t,[{key:"start",get:function(){return this.isValid?this.s:null}},{key:"end",get:function(){return this.isValid?this.e:null}},{key:"isValid",get:function(){return null===this.invalidReason}},{key:"invalidReason",get:function(){return this.invalid?this.invalid.reason:null}},{key:"invalidExplanation",get:function(){return this.invalid?this.invalid.explanation:null}}]),t}(),un=function(){function t(){}return t.hasDST=function(t){void 0===t&&(t=te.defaultZone);var e=ii.local().setZone(t).set({month:12});return!t.universal&&e.offset!==e.set({month:6}).offset},t.isValidIANAZone=function(t){return Bt.isValidSpecifier(t)&&Bt.isValidZone(t)},t.normalizeZone=function(t){return Gt(t,te.defaultZone)},t.months=function(t,e){void 0===t&&(t="long");var n=void 0===e?{}:e,i=n.locale,a=n.numberingSystem,r=n.outputCalendar;return de.create(void 0===i?null:i,void 0===a?null:a,void 0===r?"gregory":r).months(t)},t.monthsFormat=function(t,e){void 0===t&&(t="long");var n=void 0===e?{}:e,i=n.locale,a=n.numberingSystem,r=n.outputCalendar;return de.create(void 0===i?null:i,void 0===a?null:a,void 0===r?"gregory":r).months(t,!0)},t.weekdays=function(t,e){void 0===t&&(t="long");var n=void 0===e?{}:e,i=n.locale,a=n.numberingSystem;return de.create(void 0===i?null:i,void 0===a?null:a,null).weekdays(t)},t.weekdaysFormat=function(t,e){void 0===t&&(t="long");var n=void 0===e?{}:e,i=n.locale,a=n.numberingSystem;return de.create(void 0===i?null:i,void 0===a?null:a,null).weekdays(t,!0)},t.meridiems=function(t){var e=(void 0===t?{}:t).locale;return de.create(void 0===e?null:e).meridiems()},t.eras=function(t,e){void 0===t&&(t="short");var n=(void 0===e?{}:e).locale;return de.create(void 0===n?null:n,null,"gregory").eras(t)},t.features=function(){var t=!1,e=!1,n=!1,i=!1;if(J()){t=!0,e=Z(),i=$();try{n="America/New_York"===new Intl.DateTimeFormat("en",{timeZone:"America/New_York"}).resolvedOptions().timeZone}catch(a){n=!1}}return{intl:t,intlTokens:e,zones:n,relative:i}},t}();function hn(t,e){var n=function(t){return t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf()},i=n(e)-n(t);return Math.floor(on.fromMillis(i).as("days"))}var mn={arab:"[\u0660-\u0669]",arabext:"[\u06f0-\u06f9]",bali:"[\u1b50-\u1b59]",beng:"[\u09e6-\u09ef]",deva:"[\u0966-\u096f]",fullwide:"[\uff10-\uff19]",gujr:"[\u0ae6-\u0aef]",hanidec:"[\u3007|\u4e00|\u4e8c|\u4e09|\u56db|\u4e94|\u516d|\u4e03|\u516b|\u4e5d]",khmr:"[\u17e0-\u17e9]",knda:"[\u0ce6-\u0cef]",laoo:"[\u0ed0-\u0ed9]",limb:"[\u1946-\u194f]",mlym:"[\u0d66-\u0d6f]",mong:"[\u1810-\u1819]",mymr:"[\u1040-\u1049]",orya:"[\u0b66-\u0b6f]",tamldec:"[\u0be6-\u0bef]",telu:"[\u0c66-\u0c6f]",thai:"[\u0e50-\u0e59]",tibt:"[\u0f20-\u0f29]",latn:"\\d"},pn={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},fn=mn.hanidec.replace(/[\[|\]]/g,"").split("");function gn(t,e){return void 0===e&&(e=""),new RegExp(""+mn[t.numberingSystem||"latn"]+e)}function bn(t,e){return void 0===e&&(e=function(t){return t}),{regex:t,deser:function(t){return e(function(t){var e=parseInt(t,10);if(isNaN(e)){e="";for(var n=0;n<t.length;n++){var i=t.charCodeAt(n);if(-1!==t[n].search(mn.hanidec))e+=fn.indexOf(t[n]);else for(var a in pn){var r=pn[a],o=r[0];i>=o&&i<=r[1]&&(e+=i-o)}}return parseInt(e,10)}return e}(t[0]))}}}function _n(t){return t.replace(/\./,"\\.?")}function yn(t){return t.replace(/\./,"").toLowerCase()}function vn(t,e){return null===t?null:{regex:RegExp(t.map(_n).join("|")),deser:function(n){var i=n[0];return t.findIndex(function(t){return yn(i)===yn(t)})+e}}}function Cn(t,e){return{regex:t,deser:function(t){return ht(t[1],t[2])},groups:e}}function wn(t){return{regex:t,deser:function(t){return t[0]}}}var xn={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour:{numeric:"h","2-digit":"hh"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"}},Mn=null;function On(t,e,n){var i=function(t,e){var n;return(n=Array.prototype).concat.apply(n,t.map(function(t){return function(t,e){if(t.literal)return t;var n=It.macroTokenToFormatOpts(t.val);if(!n)return t;var i=It.create(e,n).formatDateTimeParts((Mn||(Mn=ii.fromMillis(1555555555555)),Mn)).map(function(t){return function(t,e,n){var i=t.type;if("literal"===i)return{literal:!0,val:t.value};var a=xn[i];return"object"==typeof a&&(a=a[n[i]]),a?{literal:!1,val:a}:void 0}(t,0,n)});return i.includes(void 0)?t:i}(t,e)}))}(It.parseFormat(n),t),a=i.map(function(e){return n=e,a=gn(i=t),r=gn(i,"{2}"),o=gn(i,"{3}"),s=gn(i,"{4}"),l=gn(i,"{6}"),c=gn(i,"{1,2}"),d=gn(i,"{1,3}"),u=gn(i,"{1,6}"),h=gn(i,"{1,9}"),m=gn(i,"{2,4}"),p=gn(i,"{4,6}"),f=function(t){return{regex:RegExp((e=t.val,e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"))),deser:function(t){return t[0]},literal:!0};var e},(g=function(t){if(n.literal)return f(t);switch(t.val){case"G":return vn(i.eras("short",!1),0);case"GG":return vn(i.eras("long",!1),0);case"y":return bn(u);case"yy":return bn(m,dt);case"yyyy":return bn(s);case"yyyyy":return bn(p);case"yyyyyy":return bn(l);case"M":return bn(c);case"MM":return bn(r);case"MMM":return vn(i.months("short",!0,!1),1);case"MMMM":return vn(i.months("long",!0,!1),1);case"L":return bn(c);case"LL":return bn(r);case"LLL":return vn(i.months("short",!1,!1),1);case"LLLL":return vn(i.months("long",!1,!1),1);case"d":return bn(c);case"dd":return bn(r);case"o":return bn(d);case"ooo":return bn(o);case"HH":return bn(r);case"H":return bn(c);case"hh":return bn(r);case"h":return bn(c);case"mm":return bn(r);case"m":case"q":return bn(c);case"qq":return bn(r);case"s":return bn(c);case"ss":return bn(r);case"S":return bn(d);case"SSS":return bn(o);case"u":return wn(h);case"a":return vn(i.meridiems(),0);case"kkkk":return bn(s);case"kk":return bn(m,dt);case"W":return bn(c);case"WW":return bn(r);case"E":case"c":return bn(a);case"EEE":return vn(i.weekdays("short",!1,!1),1);case"EEEE":return vn(i.weekdays("long",!1,!1),1);case"ccc":return vn(i.weekdays("short",!0,!1),1);case"cccc":return vn(i.weekdays("long",!0,!1),1);case"Z":case"ZZ":return Cn(new RegExp("([+-]"+c.source+")(?::("+r.source+"))?"),2);case"ZZZ":return Cn(new RegExp("([+-]"+c.source+")("+r.source+")?"),2);case"z":return wn(/[a-z_+-/]{1,256}?/i);default:return f(t)}}(n)||{invalidReason:"missing Intl.DateTimeFormat.formatToParts support"}).token=n,g;var n,i,a,r,o,s,l,c,d,u,h,m,p,f,g}),r=a.find(function(t){return t.invalidReason});if(r)return{input:e,tokens:i,invalidReason:r.invalidReason};var o=function(t){return["^"+t.map(function(t){return t.regex}).reduce(function(t,e){return t+"("+e.source+")"},"")+"$",t]}(a),s=o[1],l=RegExp(o[0],"i"),c=function(t,e,n){var i=t.match(e);if(i){var a={},r=1;for(var o in n)if(Q(n,o)){var s=n[o],l=s.groups?s.groups+1:1;!s.literal&&s.token&&(a[s.token.val[0]]=s.deser(i.slice(r,r+l))),r+=l}return[i,a]}return[i,{}]}(e,l,s),d=c[0],u=c[1],h=u?function(t){var e;return e=U(t.Z)?U(t.z)?null:Bt.create(t.z):new Ut(t.Z),U(t.q)||(t.M=3*(t.q-1)+1),U(t.h)||(t.h<12&&1===t.a?t.h+=12:12===t.h&&0===t.a&&(t.h=0)),0===t.G&&t.y&&(t.y=-t.y),U(t.u)||(t.S=it(t.u)),[Object.keys(t).reduce(function(e,n){var i=function(t){switch(t){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}}(n);return i&&(e[i]=t[n]),e},{}),e]}(u):[null,null],m=h[0],p=h[1];if(Q(u,"a")&&Q(u,"H"))throw new b("Can't include meridiem when specifying 24-hour format");return{input:e,tokens:i,regex:l,rawMatches:d,matches:u,result:m,zone:p}}var kn=[0,31,59,90,120,151,181,212,243,273,304,334],Sn=[0,31,60,91,121,152,182,213,244,274,305,335];function Tn(t,e){return new Rt("unit out of range","you specified "+e+" (of type "+typeof e+") as a "+t+", which is invalid")}function Pn(t,e,n){var i=new Date(Date.UTC(t,e-1,n)).getUTCDay();return 0===i?7:i}function Ln(t,e,n){return n+(rt(t)?Sn:kn)[e-1]}function Dn(t,e){var n=rt(t)?Sn:kn,i=n.findIndex(function(t){return t<e});return{month:i+1,day:e-n[i]}}function En(t){var e,n=t.year,i=t.month,a=t.day,r=Ln(n,i,a),o=Pn(n,i,a),s=Math.floor((r-o+10)/7);return s<1?s=ct(e=n-1):s>ct(n)?(e=n+1,s=1):e=n,Object.assign({weekYear:e,weekNumber:s,weekday:o},gt(t))}function An(t){var e,n=t.weekYear,i=t.weekNumber,a=t.weekday,r=Pn(n,1,4),o=ot(n),s=7*i+a-r-3;s<1?s+=ot(e=n-1):s>o?(e=n+1,s-=ot(n)):e=n;var l=Dn(e,s);return Object.assign({year:e,month:l.month,day:l.day},gt(t))}function In(t){var e=t.year,n=Ln(e,t.month,t.day);return Object.assign({year:e,ordinal:n},gt(t))}function Rn(t){var e=t.year,n=Dn(e,t.ordinal);return Object.assign({year:e,month:n.month,day:n.day},gt(t))}function Nn(t){var e=G(t.year),n=tt(t.month,1,12),i=tt(t.day,1,st(t.year,t.month));return e?n?!i&&Tn("day",t.day):Tn("month",t.month):Tn("year",t.year)}function Yn(t){var e=t.hour,n=t.minute,i=t.second,a=t.millisecond,r=tt(e,0,23)||24===e&&0===n&&0===i&&0===a,o=tt(n,0,59),s=tt(i,0,59),l=tt(a,0,999);return r?o?s?!l&&Tn("millisecond",a):Tn("second",i):Tn("minute",n):Tn("hour",e)}function Hn(t){return new Rt("unsupported zone",'the zone "'+t.name+'" is not supported')}function jn(t){return null===t.weekData&&(t.weekData=En(t.c)),t.weekData}function Fn(t,e){var n={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new ii(Object.assign({},n,e,{old:n}))}function zn(t,e,n){var i=t-60*e*1e3,a=n.offset(i);if(e===a)return[i,e];var r=n.offset(i-=60*(a-e)*1e3);return a===r?[i,a]:[t-60*Math.min(a,r)*1e3,Math.max(a,r)]}function Vn(t,e){var n=new Date(t+=60*e*1e3);return{year:n.getUTCFullYear(),month:n.getUTCMonth()+1,day:n.getUTCDate(),hour:n.getUTCHours(),minute:n.getUTCMinutes(),second:n.getUTCSeconds(),millisecond:n.getUTCMilliseconds()}}function Bn(t,e,n){return zn(lt(t),e,n)}function Wn(t,e){var n,i=Object.keys(e.values);-1===i.indexOf("milliseconds")&&i.push("milliseconds"),e=(n=e).shiftTo.apply(n,i);var a=t.o,r=t.c.year+e.years,o=t.c.month+e.months+3*e.quarters,s=Object.assign({},t.c,{year:r,month:o,day:Math.min(t.c.day,st(r,o))+e.days+7*e.weeks}),l=on.fromObject({hours:e.hours,minutes:e.minutes,seconds:e.seconds,milliseconds:e.milliseconds}).as("milliseconds"),c=zn(lt(s),a,t.zone),d=c[0],u=c[1];return 0!==l&&(u=t.zone.offset(d+=l)),{ts:d,o:u}}function Un(t,e,n,i,a){var r=n.setZone,o=n.zone;if(t&&0!==Object.keys(t).length){var s=ii.fromObject(Object.assign(t,n,{zone:e||o,setZone:void 0}));return r?s:s.setZone(o)}return ii.invalid(new Rt("unparsable",'the input "'+a+"\" can't be parsed as "+i))}function qn(t,e,n){return void 0===n&&(n=!0),t.isValid?It.create(de.create("en-US"),{allowZ:n,forceSimple:!0}).formatDateTimeFromString(t,e):null}function Gn(t,e){var n=e.suppressSeconds,i=e.suppressMilliseconds,a=e.includeOffset,r=e.includeZone,o=void 0!==r&&r,s=e.spaceZone,l=e.format,c=void 0===l?"extended":l,d="basic"===c?"HHmm":"HH:mm";return void 0!==n&&n&&0===t.second&&0===t.millisecond||(d+="basic"===c?"ss":":ss",void 0!==i&&i&&0===t.millisecond||(d+=".SSS")),(o||a)&&void 0!==s&&s&&(d+=" "),o?d+="z":a&&(d+="basic"===c?"ZZZ":"ZZ"),qn(t,d)}var Jn={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},Zn={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},$n={ordinal:1,hour:0,minute:0,second:0,millisecond:0},Xn=["year","month","day","hour","minute","second","millisecond"],Kn=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],Qn=["year","ordinal","hour","minute","second","millisecond"];function ti(t){var e={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[t.toLowerCase()];if(!e)throw new _(t);return e}function ei(t,e){for(var n,i=h(Xn);!(n=i()).done;){var a=n.value;U(t[a])&&(t[a]=Jn[a])}var r=Nn(t)||Yn(t);if(r)return ii.invalid(r);var o=te.now(),s=Bn(t,e.offset(o),e);return new ii({ts:s[0],zone:e,o:s[1]})}function ni(t,e,n){var i=!!U(n.round)||n.round,a=function(t,a){return t=at(t,i||n.calendary?0:2,!0),e.loc.clone(n).relFormatter(n).format(t,a)},r=function(i){return n.calendary?e.hasSame(t,i)?0:e.startOf(i).diff(t.startOf(i),i).get(i):e.diff(t,i).get(i)};if(n.unit)return a(r(n.unit),n.unit);for(var o,s=h(n.units);!(o=s()).done;){var l=o.value,c=r(l);if(Math.abs(c)>=1)return a(c,l)}return a(0,n.units[n.units.length-1])}var ii=function(){function t(t){var e=t.zone||te.defaultZone,n=t.invalid||(Number.isNaN(t.ts)?new Rt("invalid input"):null)||(e.isValid?null:Hn(e));this.ts=U(t.ts)?te.now():t.ts;var i=null,a=null;if(!n)if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(e)){var r=[t.old.c,t.old.o];i=r[0],a=r[1]}else{var o=e.offset(this.ts);i=Vn(this.ts,o),i=(n=Number.isNaN(i.year)?new Rt("invalid input"):null)?null:i,a=n?null:o}this._zone=e,this.loc=t.loc||de.create(),this.invalid=n,this.weekData=null,this.c=i,this.o=a,this.isLuxonDateTime=!0}t.local=function(e,n,i,a,r,o,s){return U(e)?new t({ts:te.now()}):ei({year:e,month:n,day:i,hour:a,minute:r,second:o,millisecond:s},te.defaultZone)},t.utc=function(e,n,i,a,r,o,s){return U(e)?new t({ts:te.now(),zone:Ut.utcInstance}):ei({year:e,month:n,day:i,hour:a,minute:r,second:o,millisecond:s},Ut.utcInstance)},t.fromJSDate=function(e,n){void 0===n&&(n={});var i="[object Date]"===Object.prototype.toString.call(e)?e.valueOf():NaN;if(Number.isNaN(i))return t.invalid("invalid input");var a=Gt(n.zone,te.defaultZone);return a.isValid?new t({ts:i,zone:a,loc:de.fromObject(n)}):t.invalid(Hn(a))},t.fromMillis=function(e,n){if(void 0===n&&(n={}),q(e))return e<-864e13||e>864e13?t.invalid("Timestamp out of range"):new t({ts:e,zone:Gt(n.zone,te.defaultZone),loc:de.fromObject(n)});throw new y("fromMillis requires a numerical input, but received a "+typeof e+" with value "+e)},t.fromSeconds=function(e,n){if(void 0===n&&(n={}),q(e))return new t({ts:1e3*e,zone:Gt(n.zone,te.defaultZone),loc:de.fromObject(n)});throw new y("fromSeconds requires a numerical input")},t.fromObject=function(e){var n=Gt(e.zone,te.defaultZone);if(!n.isValid)return t.invalid(Hn(n));var i=te.now(),a=n.offset(i),r=pt(e,ti,["zone","locale","outputCalendar","numberingSystem"]),o=!U(r.ordinal),s=!U(r.year),l=!U(r.month)||!U(r.day),c=s||l,d=r.weekYear||r.weekNumber,u=de.fromObject(e);if((c||o)&&d)throw new b("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(l&&o)throw new b("Can't mix ordinal dates with month/day");var m,p,f=d||r.weekday&&!c,g=Vn(i,a);f?(m=Kn,p=Zn,g=En(g)):o?(m=Qn,p=$n,g=In(g)):(m=Xn,p=Jn);for(var _,y=!1,v=h(m);!(_=v()).done;){var C=_.value;U(r[C])?r[C]=y?p[C]:g[C]:y=!0}var w=(f?function(t){var e=G(t.weekYear),n=tt(t.weekNumber,1,ct(t.weekYear)),i=tt(t.weekday,1,7);return e?n?!i&&Tn("weekday",t.weekday):Tn("week",t.week):Tn("weekYear",t.weekYear)}(r):o?function(t){var e=G(t.year),n=tt(t.ordinal,1,ot(t.year));return e?!n&&Tn("ordinal",t.ordinal):Tn("year",t.year)}(r):Nn(r))||Yn(r);if(w)return t.invalid(w);var x=Bn(f?An(r):o?Rn(r):r,a,n),M=new t({ts:x[0],zone:n,o:x[1],loc:u});return r.weekday&&c&&e.weekday!==M.weekday?t.invalid("mismatched weekday","you can't specify both a weekday of "+r.weekday+" and a date of "+M.toISO()):M},t.fromISO=function(t,e){void 0===e&&(e={});var n=function(t){return me(t,[je,Be],[Fe,We],[ze,Ue],[Ve,qe])}(t);return Un(n[0],n[1],e,"ISO 8601",t)},t.fromRFC2822=function(t,e){void 0===e&&(e={});var n=function(t){return me(function(t){return t.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[Ee,Ae])}(t);return Un(n[0],n[1],e,"RFC 2822",t)},t.fromHTTP=function(t,e){void 0===e&&(e={});var n=function(t){return me(t,[Ie,Ye],[Re,Ye],[Ne,He])}(t);return Un(n[0],n[1],e,"HTTP",e)},t.fromFormat=function(e,n,i){if(void 0===i&&(i={}),U(e)||U(n))throw new y("fromFormat requires an input string and a format");var a,r=i.locale,o=i.numberingSystem,s=[(a=On(de.fromOpts({locale:void 0===r?null:r,numberingSystem:void 0===o?null:o,defaultToEN:!0}),e,n)).result,a.zone,a.invalidReason],l=s[0],c=s[1],d=s[2];return d?t.invalid(d):Un(l,c,i,"format "+n,e)},t.fromString=function(e,n,i){return void 0===i&&(i={}),t.fromFormat(e,n,i)},t.fromSQL=function(t,e){void 0===e&&(e={});var n=function(t){return me(t,[Ge,Ze],[Je,$e])}(t);return Un(n[0],n[1],e,"SQL",t)},t.invalid=function(e,n){if(void 0===n&&(n=null),!e)throw new y("need to specify a reason the DateTime is invalid");var i=e instanceof Rt?e:new Rt(e,n);if(te.throwOnInvalid)throw new p(i);return new t({invalid:i})},t.isDateTime=function(t){return t&&t.isLuxonDateTime||!1};var e=t.prototype;return e.get=function(t){return this[t]},e.resolvedLocaleOpts=function(t){void 0===t&&(t={});var e=It.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e.locale,numberingSystem:e.numberingSystem,outputCalendar:e.calendar}},e.toUTC=function(t,e){return void 0===t&&(t=0),void 0===e&&(e={}),this.setZone(Ut.instance(t),e)},e.toLocal=function(){return this.setZone(te.defaultZone)},e.setZone=function(e,n){var i=void 0===n?{}:n,a=i.keepLocalTime,r=void 0!==a&&a,o=i.keepCalendarTime,s=void 0!==o&&o;if((e=Gt(e,te.defaultZone)).equals(this.zone))return this;if(e.isValid){var l=this.ts;if(r||s){var c=e.offset(this.ts);l=Bn(this.toObject(),c,e)[0]}return Fn(this,{ts:l,zone:e})}return t.invalid(Hn(e))},e.reconfigure=function(t){var e=void 0===t?{}:t;return Fn(this,{loc:this.loc.clone({locale:e.locale,numberingSystem:e.numberingSystem,outputCalendar:e.outputCalendar})})},e.setLocale=function(t){return this.reconfigure({locale:t})},e.set=function(t){if(!this.isValid)return this;var e,n=pt(t,ti,[]);U(n.weekYear)&&U(n.weekNumber)&&U(n.weekday)?U(n.ordinal)?(e=Object.assign(this.toObject(),n),U(n.day)&&(e.day=Math.min(st(e.year,e.month),e.day))):e=Rn(Object.assign(In(this.c),n)):e=An(Object.assign(En(this.c),n));var i=Bn(e,this.o,this.zone);return Fn(this,{ts:i[0],o:i[1]})},e.plus=function(t){return this.isValid?Fn(this,Wn(this,sn(t))):this},e.minus=function(t){return this.isValid?Fn(this,Wn(this,sn(t).negate())):this},e.startOf=function(t){if(!this.isValid)return this;var e={},n=on.normalizeUnit(t);switch(n){case"years":e.month=1;case"quarters":case"months":e.day=1;case"weeks":case"days":e.hour=0;case"hours":e.minute=0;case"minutes":e.second=0;case"seconds":e.millisecond=0}if("weeks"===n&&(e.weekday=1),"quarters"===n){var i=Math.ceil(this.month/3);e.month=3*(i-1)+1}return this.set(e)},e.endOf=function(t){var e;return this.isValid?this.plus((e={},e[t]=1,e)).startOf(t).minus(1):this},e.toFormat=function(t,e){return void 0===e&&(e={}),this.isValid?It.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):"Invalid DateTime"},e.toLocaleString=function(t){return void 0===t&&(t=M),this.isValid?It.create(this.loc.clone(t),t).formatDateTime(this):"Invalid DateTime"},e.toLocaleParts=function(t){return void 0===t&&(t={}),this.isValid?It.create(this.loc.clone(t),t).formatDateTimeParts(this):[]},e.toISO=function(t){return void 0===t&&(t={}),this.isValid?this.toISODate(t)+"T"+this.toISOTime(t):null},e.toISODate=function(t){var e=(void 0===t?{}:t).format,n="basic"===(void 0===e?"extended":e)?"yyyyMMdd":"yyyy-MM-dd";return this.year>9999&&(n="+"+n),qn(this,n)},e.toISOWeekDate=function(){return qn(this,"kkkk-'W'WW-c")},e.toISOTime=function(t){var e=void 0===t?{}:t,n=e.suppressMilliseconds,i=e.suppressSeconds,a=e.includeOffset,r=e.format;return Gn(this,{suppressSeconds:void 0!==i&&i,suppressMilliseconds:void 0!==n&&n,includeOffset:void 0===a||a,format:void 0===r?"extended":r})},e.toRFC2822=function(){return qn(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)},e.toHTTP=function(){return qn(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")},e.toSQLDate=function(){return qn(this,"yyyy-MM-dd")},e.toSQLTime=function(t){var e=void 0===t?{}:t,n=e.includeOffset,i=e.includeZone;return Gn(this,{includeOffset:void 0===n||n,includeZone:void 0!==i&&i,spaceZone:!0})},e.toSQL=function(t){return void 0===t&&(t={}),this.isValid?this.toSQLDate()+" "+this.toSQLTime(t):null},e.toString=function(){return this.isValid?this.toISO():"Invalid DateTime"},e.valueOf=function(){return this.toMillis()},e.toMillis=function(){return this.isValid?this.ts:NaN},e.toSeconds=function(){return this.isValid?this.ts/1e3:NaN},e.toJSON=function(){return this.toISO()},e.toBSON=function(){return this.toJSDate()},e.toObject=function(t){if(void 0===t&&(t={}),!this.isValid)return{};var e=Object.assign({},this.c);return t.includeConfig&&(e.outputCalendar=this.outputCalendar,e.numberingSystem=this.loc.numberingSystem,e.locale=this.loc.locale),e},e.toJSDate=function(){return new Date(this.isValid?this.ts:NaN)},e.diff=function(t,e,n){if(void 0===e&&(e="milliseconds"),void 0===n&&(n={}),!this.isValid||!t.isValid)return on.invalid(this.invalid||t.invalid,"created by diffing an invalid DateTime");var i,a=Object.assign({locale:this.locale,numberingSystem:this.numberingSystem},n),r=(i=e,Array.isArray(i)?i:[i]).map(on.normalizeUnit),o=t.valueOf()>this.valueOf(),s=function(t,e,n,i){var a,r=function(t,e,n){for(var i,a,r={},o=0,s=[["years",function(t,e){return e.year-t.year}],["months",function(t,e){return e.month-t.month+12*(e.year-t.year)}],["weeks",function(t,e){var n=hn(t,e);return(n-n%7)/7}],["days",hn]];o<s.length;o++){var l=s[o],c=l[0],d=l[1];if(n.indexOf(c)>=0){var u;i=c;var h,m=d(t,e);(a=t.plus(((u={})[c]=m,u)))>e?(t=t.plus(((h={})[c]=m-1,h)),m-=1):t=a,r[c]=m}}return[t,r,a,i]}(t,e,n),o=r[0],s=r[1],l=r[2],c=r[3],d=e-o,u=n.filter(function(t){return["hours","minutes","seconds","milliseconds"].indexOf(t)>=0});0===u.length&&(l<e&&(l=o.plus(((a={})[c]=1,a))),l!==o&&(s[c]=(s[c]||0)+d/(l-o)));var h,m=on.fromObject(Object.assign(s,i));return u.length>0?(h=on.fromMillis(d,i)).shiftTo.apply(h,u).plus(m):m}(o?this:t,o?t:this,r,a);return o?s.negate():s},e.diffNow=function(e,n){return void 0===e&&(e="milliseconds"),void 0===n&&(n={}),this.diff(t.local(),e,n)},e.until=function(t){return this.isValid?dn.fromDateTimes(this,t):this},e.hasSame=function(t,e){if(!this.isValid)return!1;if("millisecond"===e)return this.valueOf()===t.valueOf();var n=t.valueOf();return this.startOf(e)<=n&&n<=this.endOf(e)},e.equals=function(t){return this.isValid&&t.isValid&&this.valueOf()===t.valueOf()&&this.zone.equals(t.zone)&&this.loc.equals(t.loc)},e.toRelative=function(e){if(void 0===e&&(e={}),!this.isValid)return null;var n=e.base||t.fromObject({zone:this.zone});return ni(n,this.plus(e.padding?this<n?-e.padding:e.padding:0),Object.assign(e,{numeric:"always",units:["years","months","days","hours","minutes","seconds"]}))},e.toRelativeCalendar=function(e){return void 0===e&&(e={}),this.isValid?ni(e.base||t.fromObject({zone:this.zone}),this,Object.assign(e,{numeric:"auto",units:["years","months","days"],calendary:!0})):null},t.min=function(){for(var e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];if(!n.every(t.isDateTime))throw new y("min requires all arguments be DateTimes");return X(n,function(t){return t.valueOf()},Math.min)},t.max=function(){for(var e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];if(!n.every(t.isDateTime))throw new y("max requires all arguments be DateTimes");return X(n,function(t){return t.valueOf()},Math.max)},t.fromFormatExplain=function(t,e,n){void 0===n&&(n={});var i=n.locale,a=n.numberingSystem;return On(de.fromOpts({locale:void 0===i?null:i,numberingSystem:void 0===a?null:a,defaultToEN:!0}),t,e)},t.fromStringExplain=function(e,n,i){return void 0===i&&(i={}),t.fromFormatExplain(e,n,i)},a(t,[{key:"isValid",get:function(){return null===this.invalid}},{key:"invalidReason",get:function(){return this.invalid?this.invalid.reason:null}},{key:"invalidExplanation",get:function(){return this.invalid?this.invalid.explanation:null}},{key:"locale",get:function(){return this.isValid?this.loc.locale:null}},{key:"numberingSystem",get:function(){return this.isValid?this.loc.numberingSystem:null}},{key:"outputCalendar",get:function(){return this.isValid?this.loc.outputCalendar:null}},{key:"zone",get:function(){return this._zone}},{key:"zoneName",get:function(){return this.isValid?this.zone.name:null}},{key:"year",get:function(){return this.isValid?this.c.year:NaN}},{key:"quarter",get:function(){return this.isValid?Math.ceil(this.c.month/3):NaN}},{key:"month",get:function(){return this.isValid?this.c.month:NaN}},{key:"day",get:function(){return this.isValid?this.c.day:NaN}},{key:"hour",get:function(){return this.isValid?this.c.hour:NaN}},{key:"minute",get:function(){return this.isValid?this.c.minute:NaN}},{key:"second",get:function(){return this.isValid?this.c.second:NaN}},{key:"millisecond",get:function(){return this.isValid?this.c.millisecond:NaN}},{key:"weekYear",get:function(){return this.isValid?jn(this).weekYear:NaN}},{key:"weekNumber",get:function(){return this.isValid?jn(this).weekNumber:NaN}},{key:"weekday",get:function(){return this.isValid?jn(this).weekday:NaN}},{key:"ordinal",get:function(){return this.isValid?In(this.c).ordinal:NaN}},{key:"monthShort",get:function(){return this.isValid?un.months("short",{locale:this.locale})[this.month-1]:null}},{key:"monthLong",get:function(){return this.isValid?un.months("long",{locale:this.locale})[this.month-1]:null}},{key:"weekdayShort",get:function(){return this.isValid?un.weekdays("short",{locale:this.locale})[this.weekday-1]:null}},{key:"weekdayLong",get:function(){return this.isValid?un.weekdays("long",{locale:this.locale})[this.weekday-1]:null}},{key:"offset",get:function(){return this.isValid?+this.o:NaN}},{key:"offsetNameShort",get:function(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}},{key:"offsetNameLong",get:function(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}},{key:"isOffsetFixed",get:function(){return this.isValid?this.zone.universal:null}},{key:"isInDST",get:function(){return!this.isOffsetFixed&&(this.offset>this.set({month:1}).offset||this.offset>this.set({month:5}).offset)}},{key:"isInLeapYear",get:function(){return rt(this.year)}},{key:"daysInMonth",get:function(){return st(this.year,this.month)}},{key:"daysInYear",get:function(){return this.isValid?ot(this.year):NaN}},{key:"weeksInWeekYear",get:function(){return this.isValid?ct(this.weekYear):NaN}}],[{key:"DATE_SHORT",get:function(){return M}},{key:"DATE_MED",get:function(){return O}},{key:"DATE_FULL",get:function(){return k}},{key:"DATE_HUGE",get:function(){return S}},{key:"TIME_SIMPLE",get:function(){return T}},{key:"TIME_WITH_SECONDS",get:function(){return P}},{key:"TIME_WITH_SHORT_OFFSET",get:function(){return L}},{key:"TIME_WITH_LONG_OFFSET",get:function(){return D}},{key:"TIME_24_SIMPLE",get:function(){return E}},{key:"TIME_24_WITH_SECONDS",get:function(){return A}},{key:"TIME_24_WITH_SHORT_OFFSET",get:function(){return I}},{key:"TIME_24_WITH_LONG_OFFSET",get:function(){return R}},{key:"DATETIME_SHORT",get:function(){return N}},{key:"DATETIME_SHORT_WITH_SECONDS",get:function(){return Y}},{key:"DATETIME_MED",get:function(){return H}},{key:"DATETIME_MED_WITH_SECONDS",get:function(){return j}},{key:"DATETIME_MED_WITH_WEEKDAY",get:function(){return F}},{key:"DATETIME_FULL",get:function(){return z}},{key:"DATETIME_FULL_WITH_SECONDS",get:function(){return V}},{key:"DATETIME_HUGE",get:function(){return B}},{key:"DATETIME_HUGE_WITH_SECONDS",get:function(){return W}}]),t}();function ai(t){if(ii.isDateTime(t))return t;if(t&&t.valueOf&&q(t.valueOf()))return ii.fromJSDate(t);if(t&&"object"==typeof t)return ii.fromObject(t);throw new y("Unknown datetime argument: "+t+", of type "+typeof t)}e.DateTime=ii,e.Duration=on,e.FixedOffsetZone=Ut,e.IANAZone=Bt,e.Info=un,e.Interval=dn,e.InvalidZone=qt,e.LocalZone=Ht,e.Settings=te,e.Zone=Nt},aF9I:function(t,e,n){"use strict";n.d(e,"a",function(){return o});var i=n("8Y7J"),a=n("iInd"),r=n("TSSN");let o=(()=>{class t{constructor(){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=i.Hb({type:t,selectors:[["app-footer"]],decls:13,vars:9,consts:[["id","footer"],[1,"footer-separator"],["routerLink","/legals","routerLinkActive","active"],["routerLink","/faq","routerLinkActive","active"],["routerLink","/contact","routerLinkActive","active"]],template:function(t,e){1&t&&(i.Tb(0,"div",0),i.Tb(1,"span",1),i.Tb(2,"a",2),i.Hc(3),i.gc(4,"translate"),i.Sb(),i.Sb(),i.Tb(5,"span",1),i.Tb(6,"a",3),i.Hc(7),i.gc(8,"translate"),i.Sb(),i.Sb(),i.Tb(9,"span"),i.Tb(10,"a",4),i.Hc(11),i.gc(12,"translate"),i.Sb(),i.Sb(),i.Sb()),2&t&&(i.Cb(3),i.Ic(i.hc(4,3,"footer.mentions")),i.Cb(4),i.Ic(i.hc(8,5,"footer.faq")),i.Cb(4),i.Ic(i.hc(12,7,"footer.contact")))},directives:[a.i,a.h],pipes:[r.c],styles:["#footer[_ngcontent-%COMP%]{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;height:4rem}#footer[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{margin-right:.375rem}#footer[_ngcontent-%COMP%] span[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:none;color:#000}#footer[_ngcontent-%COMP%] span[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}#footer[_ngcontent-%COMP%] .footer-separator[_ngcontent-%COMP%]{border-right:1px solid #000;padding-right:.375rem}"]}),t})()},aIdf:function(t,e,n){!function(t){"use strict";function e(t,e,n){return t+" "+function(t,e){return 2===e?function(t){var e={m:"v",b:"v",d:"z"};return void 0===e[t.charAt(0)]?t:e[t.charAt(0)]+t.substring(1)}(t):t}({mm:"munutenn",MM:"miz",dd:"devezh"}[n],t)}function n(t){return t>9?n(t%10):t}var i=[/^gen/i,/^c[\u02bc\']hwe/i,/^meu/i,/^ebr/i,/^mae/i,/^(mez|eve)/i,/^gou/i,/^eos/i,/^gwe/i,/^her/i,/^du/i,/^ker/i],a=/^(genver|c[\u02bc\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu|gen|c[\u02bc\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,r=[/^Su/i,/^Lu/i,/^Me([^r]|$)/i,/^Mer/i,/^Ya/i,/^Gw/i,/^Sa/i];t.defineLocale("br",{months:"Genver_C\u02bchwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_C\u02bchwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Merc\u02bcher_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParse:r,fullWeekdaysParse:[/^sul/i,/^lun/i,/^meurzh/i,/^merc[\u02bc\']her/i,/^yaou/i,/^gwener/i,/^sadorn/i],shortWeekdaysParse:[/^Sul/i,/^Lun/i,/^Meu/i,/^Mer/i,/^Yao/i,/^Gwe/i,/^Sad/i],minWeekdaysParse:r,monthsRegex:a,monthsShortRegex:a,monthsStrictRegex:/^(genver|c[\u02bc\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu)/i,monthsShortStrictRegex:/^(gen|c[\u02bc\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY HH:mm",LLLL:"dddd, D [a viz] MMMM YYYY HH:mm"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warc\u02bchoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Dec\u02bch da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s \u02bczo",s:"un nebeud segondenno\xf9",ss:"%d eilenn",m:"ur vunutenn",mm:e,h:"un eur",hh:"%d eur",d:"un devezh",dd:e,M:"ur miz",MM:e,y:"ur bloaz",yy:function(t){switch(n(t)){case 1:case 3:case 4:case 5:case 9:return t+" bloaz";default:return t+" vloaz"}}},dayOfMonthOrdinalParse:/\d{1,2}(a\xf1|vet)/,ordinal:function(t){return t+(1===t?"a\xf1":"vet")},week:{dow:1,doy:4},meridiemParse:/a.m.|g.m./,isPM:function(t){return"g.m."===t},meridiem:function(t,e,n){return t<12?"a.m.":"g.m."}})}(n("wd/R"))},aIsn:function(t,e,n){!function(t){"use strict";t.defineLocale("mi",{months:"Kohi-t\u0101te_Hui-tanguru_Pout\u016b-te-rangi_Paenga-wh\u0101wh\u0101_Haratua_Pipiri_H\u014dngoingoi_Here-turi-k\u014dk\u0101_Mahuru_Whiringa-\u0101-nuku_Whiringa-\u0101-rangi_Hakihea".split("_"),monthsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_H\u014dngoi_Here_Mahu_Whi-nu_Whi-ra_Haki".split("_"),monthsRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i,weekdays:"R\u0101tapu_Mane_T\u016brei_Wenerei_T\u0101ite_Paraire_H\u0101tarei".split("_"),weekdaysShort:"Ta_Ma_T\u016b_We_T\u0101i_Pa_H\u0101".split("_"),weekdaysMin:"Ta_Ma_T\u016b_We_T\u0101i_Pa_H\u0101".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [i] HH:mm",LLLL:"dddd, D MMMM YYYY [i] HH:mm"},calendar:{sameDay:"[i teie mahana, i] LT",nextDay:"[apopo i] LT",nextWeek:"dddd [i] LT",lastDay:"[inanahi i] LT",lastWeek:"dddd [whakamutunga i] LT",sameElse:"L"},relativeTime:{future:"i roto i %s",past:"%s i mua",s:"te h\u0113kona ruarua",ss:"%d h\u0113kona",m:"he meneti",mm:"%d meneti",h:"te haora",hh:"%d haora",d:"he ra",dd:"%d ra",M:"he marama",MM:"%d marama",y:"he tau",yy:"%d tau"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(n("wd/R"))},aQkU:function(t,e,n){!function(t){"use strict";t.defineLocale("mk",{months:"\u0458\u0430\u043d\u0443\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0458_\u0458\u0443\u043d\u0438_\u0458\u0443\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438_\u043e\u043a\u0442\u043e\u043c\u0432\u0440\u0438_\u043d\u043e\u0435\u043c\u0432\u0440\u0438_\u0434\u0435\u043a\u0435\u043c\u0432\u0440\u0438".split("_"),monthsShort:"\u0458\u0430\u043d_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433_\u0441\u0435\u043f_\u043e\u043a\u0442_\u043d\u043e\u0435_\u0434\u0435\u043a".split("_"),weekdays:"\u043d\u0435\u0434\u0435\u043b\u0430_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0440\u0442\u043e\u043a_\u043f\u0435\u0442\u043e\u043a_\u0441\u0430\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434_\u043f\u043e\u043d_\u0432\u0442\u043e_\u0441\u0440\u0435_\u0447\u0435\u0442_\u043f\u0435\u0442_\u0441\u0430\u0431".split("_"),weekdaysMin:"\u043de_\u043fo_\u0432\u0442_\u0441\u0440_\u0447\u0435_\u043f\u0435_\u0441a".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[\u0414\u0435\u043d\u0435\u0441 \u0432\u043e] LT",nextDay:"[\u0423\u0442\u0440\u0435 \u0432\u043e] LT",nextWeek:"[\u0412\u043e] dddd [\u0432\u043e] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430 \u0432\u043e] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[\u0418\u0437\u043c\u0438\u043d\u0430\u0442\u0430\u0442\u0430] dddd [\u0432\u043e] LT";case 1:case 2:case 4:case 5:return"[\u0418\u0437\u043c\u0438\u043d\u0430\u0442\u0438\u043e\u0442] dddd [\u0432\u043e] LT"}},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"\u043f\u0440\u0435\u0434 %s",s:"\u043d\u0435\u043a\u043e\u043b\u043a\u0443 \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434\u0438",m:"\u0435\u0434\u043d\u0430 \u043c\u0438\u043d\u0443\u0442\u0430",mm:"%d \u043c\u0438\u043d\u0443\u0442\u0438",h:"\u0435\u0434\u0435\u043d \u0447\u0430\u0441",hh:"%d \u0447\u0430\u0441\u0430",d:"\u0435\u0434\u0435\u043d \u0434\u0435\u043d",dd:"%d \u0434\u0435\u043d\u0430",M:"\u0435\u0434\u0435\u043d \u043c\u0435\u0441\u0435\u0446",MM:"%d \u043c\u0435\u0441\u0435\u0446\u0438",y:"\u0435\u0434\u043d\u0430 \u0433\u043e\u0434\u0438\u043d\u0430",yy:"%d \u0433\u043e\u0434\u0438\u043d\u0438"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0435\u0432|\u0435\u043d|\u0442\u0438|\u0432\u0438|\u0440\u0438|\u043c\u0438)/,ordinal:function(t){var e=t%10,n=t%100;return 0===t?t+"-\u0435\u0432":0===n?t+"-\u0435\u043d":n>10&&n<20?t+"-\u0442\u0438":1===e?t+"-\u0432\u0438":2===e?t+"-\u0440\u0438":7===e||8===e?t+"-\u043c\u0438":t+"-\u0442\u0438"},week:{dow:1,doy:7}})}(n("wd/R"))},aZ8m:function(t,e,n){"use strict";n.d(e,"a",function(){return k});var i=n("VN+9"),a=n("PTv7"),r=n("8Y7J"),o=n("lxpx"),s=n("WiJD"),l=n("qh/L"),c=n("f4AX"),d=n("iELJ"),u=n("iInd"),h=n("jKJn"),m=n("SVse"),p=n("Dxy4"),f=n("rJgo"),g=n("Tj54"),b=n("TSSN");function _(t,e){if(1&t&&(r.Tb(0,"div",14),r.Hc(1),r.Sb()),2&t){const t=r.fc();r.Cb(1),r.Ic(t.raisonSociale)}}function y(t,e){1&t&&(r.Tb(0,"a",15),r.Tb(1,"span"),r.Hc(2),r.gc(3,"translate"),r.Sb(),r.Sb()),2&t&&(r.Cb(2),r.Ic(r.hc(3,1,"header.menu.accueil")))}function v(t,e){1&t&&(r.Tb(0,"a",16),r.Tb(1,"span"),r.Hc(2),r.gc(3,"translate"),r.Sb(),r.Sb()),2&t&&(r.Cb(2),r.Ic(r.hc(3,1,"header.menu.compte")))}function C(t,e){if(1&t){const t=r.Ub();r.Tb(0,"a",17),r.bc("click",function(){return r.yc(t),r.fc().logout()}),r.Tb(1,"span"),r.Hc(2),r.gc(3,"translate"),r.Sb(),r.Sb()}2&t&&(r.Cb(2),r.Ic(r.hc(3,1,"header.menu.deconnexion")))}function w(t,e){1&t&&(r.Tb(0,"a",18),r.Tb(1,"span"),r.Hc(2),r.gc(3,"translate"),r.Sb(),r.Sb()),2&t&&(r.Cb(2),r.Ic(r.hc(3,1,"header.menu.connexion")))}function x(t,e){if(1&t){const t=r.Ub();r.Tb(0,"span",19),r.bc("click",function(){return r.yc(t),r.fc().inscription()}),r.Tb(1,"span"),r.Hc(2),r.gc(3,"translate"),r.Sb(),r.Sb()}2&t&&(r.Cb(2),r.Ic(r.hc(3,1,"header.menu.inscription")))}function M(t,e){if(1&t){const t=r.Ub();r.Tb(0,"button",24),r.bc("click",function(){r.yc(t);const n=e.$implicit;return r.fc(2).changeLangue(n)}),r.Hc(1),r.Sb()}if(2&t){const t=e.$implicit,n=r.fc(2);r.Cb(1),r.Ic(n.translationService.getLangueLabel(t))}}function O(t,e){if(1&t&&(r.Tb(0,"div",20),r.Tb(1,"button",21),r.Hc(2),r.Tb(3,"mat-icon"),r.Hc(4,"arrow_drop_down"),r.Sb(),r.Sb(),r.Tb(5,"mat-menu",null,22),r.Fc(7,M,2,1,"button",23),r.Sb(),r.Sb()),2&t){const t=r.vc(6),e=r.fc();r.Cb(1),r.nc("matMenuTriggerFor",t),r.Cb(1),r.Jc("",e.translationService.getCurrentLangueLabel()," "),r.Cb(5),r.nc("ngForOf",e.translationService.getLangs())}}let k=(()=>{class t{constructor(t,e,n,i,a,r,o){this.translationService=t,this.configurationService=e,this.sessionService=n,this.userService=i,this.dialog=a,this.router=r,this.alertService=o,this.title="Sipsi",this.configurationService.getVersion().subscribe(t=>this._version=t.version)}get raisonSociale(){return this.userService.raisonSociale}get isLogged(){return this.sessionService.isLogged}get version(){return this._version}logout(){this.dialog.open(a.a,{data:{title:this.translationService.instant("logout.dialog.titre"),question:this.translationService.instant("logout.dialog.question"),okButtonText:this.translationService.instant("common.oui"),cancelButtonText:this.translationService.instant("common.non")}}).afterClosed().subscribe(t=>{!0===t&&(this.sessionService.logout(),this.alertService.notifyByKey("logout.done"))})}changeLangue(t){this.translationService.use(t)}inscription(){this.dialog.open(i.a,{id:"popin-type-compte"})}modifierCompte(){const t=JSON.parse(localStorage.getItem("me")).role.toLowerCase();this.router.navigate([`mon-compte/${t}`])}}return t.\u0275fac=function(e){return new(e||t)(r.Nb(o.a),r.Nb(s.a),r.Nb(l.a),r.Nb(c.a),r.Nb(d.b),r.Nb(u.f),r.Nb(h.a))},t.\u0275cmp=r.Hb({type:t,selectors:[["app-header"]],decls:22,vars:20,consts:[["id","header"],["id","header-shadow",1,"mat-elevation-z1"],["id","title"],["routerLink","home","routerLinkActive","active",3,"title"],["alt","Minist\xe8re du travail, de l'emploi et de l'insertion","width","115px","srcset","assets/img/MIN_Travail_Emploi_et_Insertion_RVB.svg","src","assets/img/MIN_Travail_Emploi_et_Insertion_RVB.png"],[1,"version"],["id","menu"],["id","raison-sociale",4,"ngIf"],["id","accueil","class","header-separator","routerLink","/home","routerLinkActive","active",4,"ngIf"],["id","mon-compte","class","cursor-pointer header-separator","routerLink","/compte","routerLinkActive","active",4,"ngIf"],["id","logout-btn","class","cursor-pointer last",3,"click",4,"ngIf"],["id","login-btn","class","header-separator","routerLink","/auth/login","routerLinkActive","active",4,"ngIf"],["id","inscription","class","cursor-pointer last header-separator",3,"click",4,"ngIf"],["id","langue-select",4,"ngIf"],["id","raison-sociale"],["id","accueil","routerLink","/home","routerLinkActive","active",1,"header-separator"],["id","mon-compte","routerLink","/compte","routerLinkActive","active",1,"cursor-pointer","header-separator"],["id","logout-btn",1,"cursor-pointer","last",3,"click"],["id","login-btn","routerLink","/auth/login","routerLinkActive","active",1,"header-separator"],["id","inscription",1,"cursor-pointer","last","header-separator",3,"click"],["id","langue-select"],["mat-button","","aria-label","show languages","disableRipple","true",3,"matMenuTriggerFor"],["menu","matMenu"],["mat-menu-item","",3,"click",4,"ngFor","ngForOf"],["mat-menu-item","",3,"click"]],template:function(t,e){1&t&&(r.Tb(0,"div",0),r.Tb(1,"div",1),r.Tb(2,"div",2),r.Tb(3,"a",3),r.gc(4,"translate"),r.gc(5,"translate"),r.Ob(6,"img",4),r.Sb(),r.Tb(7,"div"),r.Tb(8,"span"),r.Hc(9),r.gc(10,"translate"),r.gc(11,"translate"),r.Sb(),r.Tb(12,"span",5),r.Hc(13),r.Sb(),r.Sb(),r.Sb(),r.Tb(14,"div",6),r.Fc(15,_,2,1,"div",7),r.Fc(16,y,4,3,"a",8),r.Fc(17,v,4,3,"a",9),r.Fc(18,C,4,3,"a",10),r.Fc(19,w,4,3,"a",11),r.Fc(20,x,4,3,"span",12),r.Sb(),r.Fc(21,O,8,3,"div",13),r.Sb(),r.Sb()),2&t&&(r.Cb(3),r.qc("title","",r.hc(4,12,"header.titre.1")," ",r.hc(5,14,"header.titre.2"),""),r.Cb(6),r.Kc("",r.hc(10,16,"header.titre.1")," ",r.hc(11,18,"header.titre.2"),""),r.Cb(4),r.Ic(e.version),r.Cb(2),r.nc("ngIf",e.raisonSociale),r.Cb(1),r.nc("ngIf",e.isLogged),r.Cb(1),r.nc("ngIf",e.isLogged),r.Cb(1),r.nc("ngIf",e.isLogged),r.Cb(1),r.nc("ngIf",!e.isLogged),r.Cb(1),r.nc("ngIf",!e.isLogged),r.Cb(1),r.nc("ngIf",!e.isLogged))},directives:[u.i,u.h,m.l,p.a,f.d,g.a,f.a,m.k,f.b],pipes:[b.c],styles:[".mat-badge-content{font-weight:600;font-size:12px;font-family:Roboto,Helvetica Neue,sans-serif}.mat-badge-small .mat-badge-content{font-size:9px}.mat-badge-large .mat-badge-content{font-size:24px}.mat-h1,.mat-headline,.mat-typography h1{font:400 24px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h2,.mat-title,.mat-typography h2{font:500 20px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h3,.mat-subheading-2,.mat-typography h3{font:400 16px/28px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h4,.mat-subheading-1,.mat-typography h4{font:400 15px/24px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h5,.mat-typography h5{font:400 calc(14px * .83)/20px Roboto,Helvetica Neue,sans-serif;margin:0 0 12px}.mat-h6,.mat-typography h6{font:400 calc(14px * .67)/20px Roboto,Helvetica Neue,sans-serif;margin:0 0 12px}.mat-body-2,.mat-body-strong{font:500 14px/24px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-body,.mat-body-1,.mat-typography{font:400 14px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-body-1 p,.mat-body p,.mat-typography p{margin:0 0 12px}.mat-caption,.mat-small{font:400 12px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-display-4,.mat-typography .mat-display-4{font:300 112px/112px Roboto,Helvetica Neue,sans-serif;letter-spacing:-.05em;margin:0 0 56px}.mat-display-3,.mat-typography .mat-display-3{font:400 56px/56px Roboto,Helvetica Neue,sans-serif;letter-spacing:-.02em;margin:0 0 64px}.mat-display-2,.mat-typography .mat-display-2{font:400 45px/48px Roboto,Helvetica Neue,sans-serif;letter-spacing:-.005em;margin:0 0 64px}.mat-display-1,.mat-typography .mat-display-1{font:400 34px/40px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 64px}.mat-bottom-sheet-container{font:400 14px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-button,.mat-fab,.mat-flat-button,.mat-icon-button,.mat-mini-fab,.mat-raised-button,.mat-stroked-button{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:500}.mat-button-toggle,.mat-card{font-family:Roboto,Helvetica Neue,sans-serif}.mat-card-title{font-size:24px;font-weight:500}.mat-card-header .mat-card-title{font-size:20px}.mat-card-content,.mat-card-subtitle{font-size:14px}.mat-checkbox{font-family:Roboto,Helvetica Neue,sans-serif}.mat-checkbox-layout .mat-checkbox-label{line-height:24px}.mat-chip{font-size:14px;font-weight:500}.mat-chip .mat-chip-remove.mat-icon,.mat-chip .mat-chip-trailing-icon.mat-icon{font-size:18px}.mat-table{font-family:Roboto,Helvetica Neue,sans-serif}.mat-header-cell{font-size:12px;font-weight:500}.mat-cell,.mat-footer-cell{font-size:14px}.mat-calendar{font-family:Roboto,Helvetica Neue,sans-serif}.mat-calendar-body{font-size:13px}.mat-calendar-body-label,.mat-calendar-period-button{font-size:14px;font-weight:500}.mat-calendar-table-header th{font-size:11px;font-weight:400}.mat-dialog-title{font:500 20px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-expansion-panel-header{font-family:Roboto,Helvetica Neue,sans-serif;font-size:15px;font-weight:400}.mat-expansion-panel-content{font:400 14px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-form-field{font-size:inherit;font-weight:400;line-height:1.125;font-family:Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-form-field-wrapper{padding-bottom:1.34375em}.mat-form-field-prefix .mat-icon,.mat-form-field-suffix .mat-icon{font-size:150%;line-height:1.125}.mat-form-field-prefix .mat-icon-button,.mat-form-field-suffix .mat-icon-button{height:1.5em;width:1.5em}.mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field-suffix .mat-icon-button .mat-icon{height:1.125em;line-height:1.125}.mat-form-field-infix{padding:.5em 0;border-top:.84375em solid rgba(0,0,0,0)}.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label{-ms-transform:translateY(-1.34375em) scale(.75);transform:translateY(-1.34375em) scale(.75);width:133.3333333333%}.mat-form-field-can-float .mat-input-server[label]:not(:label-shown)+.mat-form-field-label-wrapper .mat-form-field-label{-ms-transform:translateY(-1.34374em) scale(.75);transform:translateY(-1.34374em) scale(.75);width:133.3333433333%}.mat-form-field-label-wrapper{top:-.84375em;padding-top:.84375em}.mat-form-field-label{top:1.34375em}.mat-form-field-underline{bottom:1.34375em}.mat-form-field-subscript-wrapper{font-size:75%;margin-top:.6666666667em;top:calc(100% - 1.7916666667em)}.mat-form-field-appearance-legacy .mat-form-field-wrapper{padding-bottom:1.25em}.mat-form-field-appearance-legacy .mat-form-field-infix{padding:.4375em 0}.mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.001px);-ms-transform:translateY(-1.28125em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00101px);-ms-transform:translateY(-1.28124em) scale(.75);width:133.3333433333%}.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-input-server[label]:not(:label-shown)+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00102px);-ms-transform:translateY(-1.28123em) scale(.75);width:133.3333533333%}.mat-form-field-appearance-legacy .mat-form-field-label{top:1.28125em}.mat-form-field-appearance-legacy .mat-form-field-underline{bottom:1.25em}.mat-form-field-appearance-legacy .mat-form-field-subscript-wrapper{margin-top:.5416666667em;top:calc(100% - 1.6666666667em)}@media print{.mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label{-ms-transform:translateY(-1.28122em) scale(.75);transform:translateY(-1.28122em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.28121em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-input-server[label]:not(:label-shown)+.mat-form-field-label-wrapper .mat-form-field-label{-ms-transform:translateY(-1.2812em) scale(.75);transform:translateY(-1.2812em) scale(.75)}}.mat-form-field-appearance-fill .mat-form-field-infix{padding:.25em 0 .75em}.mat-form-field-appearance-fill .mat-form-field-label{top:1.09375em;margin-top:-.5em}.mat-form-field-appearance-fill.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-appearance-fill.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label{-ms-transform:translateY(-.59375em) scale(.75);transform:translateY(-.59375em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-fill.mat-form-field-can-float .mat-input-server[label]:not(:label-shown)+.mat-form-field-label-wrapper .mat-form-field-label{-ms-transform:translateY(-.59374em) scale(.75);transform:translateY(-.59374em) scale(.75);width:133.3333433333%}.mat-form-field-appearance-outline .mat-form-field-infix{padding:1em 0}.mat-form-field-appearance-outline .mat-form-field-label{top:1.84375em;margin-top:-.25em}.mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-appearance-outline.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label{-ms-transform:translateY(-1.59375em) scale(.75);transform:translateY(-1.59375em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-outline.mat-form-field-can-float .mat-input-server[label]:not(:label-shown)+.mat-form-field-label-wrapper .mat-form-field-label{-ms-transform:translateY(-1.59374em) scale(.75);transform:translateY(-1.59374em) scale(.75);width:133.3333433333%}.mat-grid-tile-footer,.mat-grid-tile-header{font-size:14px}.mat-grid-tile-footer .mat-line,.mat-grid-tile-header .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-grid-tile-footer .mat-line:nth-child(n+2),.mat-grid-tile-header .mat-line:nth-child(n+2){font-size:12px}input.mat-input-element{margin-top:-.0625em}.mat-menu-item{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:400}.mat-paginator,.mat-paginator-page-size .mat-select-trigger{font-family:Roboto,Helvetica Neue,sans-serif;font-size:12px}.mat-radio-button,.mat-select{font-family:Roboto,Helvetica Neue,sans-serif}.mat-select-trigger{height:1.125em}.mat-slide-toggle-content,.mat-slider-thumb-label-text{font-family:Roboto,Helvetica Neue,sans-serif}.mat-slider-thumb-label-text{font-size:12px;font-weight:500}.mat-stepper-horizontal,.mat-stepper-vertical{font-family:Roboto,Helvetica Neue,sans-serif}.mat-step-label{font-size:14px;font-weight:400}.mat-step-sub-label-error{font-weight:400}.mat-step-label-error{font-size:14px}.mat-step-label-selected{font-size:14px;font-weight:500}.mat-tab-group,.mat-tab-label,.mat-tab-link{font-family:Roboto,Helvetica Neue,sans-serif}.mat-tab-label,.mat-tab-link{font-size:14px;font-weight:500}.mat-toolbar,.mat-toolbar h1,.mat-toolbar h2,.mat-toolbar h3,.mat-toolbar h4,.mat-toolbar h5,.mat-toolbar h6{font:500 20px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0}.mat-tooltip{font-family:Roboto,Helvetica Neue,sans-serif;font-size:10px;padding-top:6px;padding-bottom:6px}.mat-tooltip-handset{font-size:14px;padding-top:8px;padding-bottom:8px}.mat-list-item,.mat-list-option{font-family:Roboto,Helvetica Neue,sans-serif}.mat-list-base .mat-list-item{font-size:16px}.mat-list-base .mat-list-item .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base .mat-list-item .mat-line:nth-child(n+2){font-size:14px}.mat-list-base .mat-list-option{font-size:16px}.mat-list-base .mat-list-option .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base .mat-list-option .mat-line:nth-child(n+2){font-size:14px}.mat-list-base .mat-subheader{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:500}.mat-list-base[dense] .mat-list-item{font-size:12px}.mat-list-base[dense] .mat-list-item .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[dense] .mat-list-item .mat-line:nth-child(n+2),.mat-list-base[dense] .mat-list-option{font-size:12px}.mat-list-base[dense] .mat-list-option .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[dense] .mat-list-option .mat-line:nth-child(n+2){font-size:12px}.mat-list-base[dense] .mat-subheader{font-family:Roboto,Helvetica Neue,sans-serif;font-size:12px;font-weight:500}.mat-option{font-family:Roboto,Helvetica Neue,sans-serif;font-size:16px}.mat-optgroup-label{font:500 14px/24px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-simple-snackbar{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px}.mat-simple-snackbar-action{line-height:1;font-family:inherit;font-size:inherit;font-weight:500}.mat-tree{font-family:Roboto,Helvetica Neue,sans-serif}.mat-nested-tree-node,.mat-tree-node{font-weight:400;font-size:14px}.mat-ripple{overflow:hidden;position:relative}.mat-ripple:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded{overflow:visible}.mat-ripple-element{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0,0,.2,1);-ms-transform:scale(0);transform:scale(0)}.cdk-high-contrast-active .mat-ripple-element{display:none}.cdk-visually-hidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;outline:0;-webkit-appearance:none;-moz-appearance:none}.cdk-global-overlay-wrapper,.cdk-overlay-container{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed;z-index:1000}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper,.cdk-overlay-pane{display:-ms-flexbox;display:flex;position:absolute;z-index:1000}.cdk-overlay-pane{pointer-events:auto;box-sizing:border-box;max-width:100%;max-height:100%}.cdk-overlay-backdrop{position:absolute;top:0;bottom:0;left:0;right:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:transparent;transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:1}@media screen and (-ms-high-contrast:active){.cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:.6}}.cdk-overlay-dark-backdrop{background:rgba(0,0,0,.32)}.cdk-overlay-transparent-backdrop,.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing{opacity:0}.cdk-overlay-connected-position-bounding-box{position:absolute;z-index:1000;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}@-webkit-keyframes cdk-text-field-autofill-start{\n /*!*/}@keyframes cdk-text-field-autofill-start{\n /*!*/}@-webkit-keyframes cdk-text-field-autofill-end{\n /*!*/}@keyframes cdk-text-field-autofill-end{\n /*!*/}.cdk-text-field-autofill-monitored:-webkit-autofill{-webkit-animation:cdk-text-field-autofill-start 0s 1ms;animation:cdk-text-field-autofill-start 0s 1ms}.cdk-text-field-autofill-monitored:not(:-webkit-autofill){-webkit-animation:cdk-text-field-autofill-end 0s 1ms;animation:cdk-text-field-autofill-end 0s 1ms}textarea.cdk-textarea-autosize{resize:none}textarea.cdk-textarea-autosize-measuring{padding:2px 0!important;box-sizing:content-box!important;height:auto!important;overflow:hidden!important}textarea.cdk-textarea-autosize-measuring-firefox{padding:2px 0!important;box-sizing:content-box!important;height:0!important}.mat-focus-indicator,.mat-mdc-focus-indicator{position:relative}#header{padding-bottom:5px;position:fixed;width:100%;z-index:1000}#header #header-shadow{padding:0 6.25rem;height:7rem;display:-ms-flexbox;display:flex;background-color:#fff}#header #header-shadow #title{-ms-flex:1 0 auto;flex:1 0 auto}#header #header-shadow #title,#header #header-shadow #title a{display:-ms-flexbox;display:flex}#header #header-shadow #title a img{-ms-flex-item-align:center;align-self:center}#header #header-shadow #title div{margin-left:80px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;font-weight:700;font-size:1.5rem}#header #header-shadow #title div .version{display:none}#header #header-shadow #menu,#header #header-shadow #menu a{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}#header #header-shadow #menu a{height:1.375rem;padding-right:1.25rem;margin-right:1.25rem;text-decoration:none;color:#000}#header #header-shadow #menu a:hover{text-decoration:underline}#header #header-shadow #menu a.last{padding-right:0;margin-right:0}#header #header-shadow #menu .header-separator{border-right:1px solid #000}#header #header-shadow #menu #inscription{padding-right:1.25rem}#header #header-shadow #menu #inscription:hover{text-decoration:underline}#header #header-shadow #menu #raison-sociale{margin-right:25px;padding:7px;font-weight:700}#header #header-shadow #langue-select{width:40px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}#header #header-shadow #langue-select .mat-button{height:40px;font-size:17px}#header #header-shadow #langue-select .mat-button .mat-button-focus-overlay{background-color:rgba(0,0,0,0)}::ng-deep .mat-simple-snackbar{-ms-flex-pack:center!important;justify-content:center!important}"],encapsulation:2}),t})()},b1Dy:function(t,e,n){!function(t){"use strict";t.defineLocale("en-nz",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})}(n("wd/R"))},bHdf:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("5+tZ"),a=n("SpAZ");function r(t=Number.POSITIVE_INFINITY){return Object(i.a)(a.a,t)}},bKjt:function(t,e,n){"use strict";n.d(e,"a",function(){return o});var i=n("cXaA"),a=n("8Y7J"),r=n("IheW");let o=(()=>{class t{constructor(t){this.http=t,this.log=i.a.create("CountryService"),this.END_POINT="/api/countries"}getCountries(){const t=this.END_POINT;return this.log.data(`[HTTP] (GET) -> ${t}`),this.http.get(t)}getCoutryFromCode(t){const e=`${this.END_POINT}/${t}`;return this.log.data(`[HTTP] (GET) -> ${e}`),this.http.get(e)}}return t.\u0275fac=function(e){return new(e||t)(a.Xb(r.b))},t.\u0275prov=a.Jb({token:t,factory:t.\u0275fac,providedIn:"root"}),t})()},bOMt:function(t,e,n){!function(t){"use strict";t.defineLocale("nb",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"s\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xf8rdag".split("_"),weekdaysShort:"s\xf8._ma._ti._on._to._fr._l\xf8.".split("_"),weekdaysMin:"s\xf8_ma_ti_on_to_fr_l\xf8".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[i g\xe5r kl.] LT",lastWeek:"[forrige] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",ss:"%d sekunder",m:"ett minutt",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dager",w:"en uke",ww:"%d uker",M:"en m\xe5ned",MM:"%d m\xe5neder",y:"ett \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},bOdf:function(t,e,n){"use strict";n.d(e,"a",function(){return a});var i=n("5+tZ");function a(t,e){return Object(i.a)(t,e,1)}},bXm7:function(t,e,n){!function(t){"use strict";var e={0:"-\u0448\u0456",1:"-\u0448\u0456",2:"-\u0448\u0456",3:"-\u0448\u0456",4:"-\u0448\u0456",5:"-\u0448\u0456",6:"-\u0448\u044b",7:"-\u0448\u0456",8:"-\u0448\u0456",9:"-\u0448\u044b",10:"-\u0448\u044b",20:"-\u0448\u044b",30:"-\u0448\u044b",40:"-\u0448\u044b",50:"-\u0448\u0456",60:"-\u0448\u044b",70:"-\u0448\u0456",80:"-\u0448\u0456",90:"-\u0448\u044b",100:"-\u0448\u0456"};t.defineLocale("kk",{months:"\u049b\u0430\u04a3\u0442\u0430\u0440_\u0430\u049b\u043f\u0430\u043d_\u043d\u0430\u0443\u0440\u044b\u0437_\u0441\u04d9\u0443\u0456\u0440_\u043c\u0430\u043c\u044b\u0440_\u043c\u0430\u0443\u0441\u044b\u043c_\u0448\u0456\u043b\u0434\u0435_\u0442\u0430\u043c\u044b\u0437_\u049b\u044b\u0440\u043a\u04af\u0439\u0435\u043a_\u049b\u0430\u0437\u0430\u043d_\u049b\u0430\u0440\u0430\u0448\u0430_\u0436\u0435\u043b\u0442\u043e\u049b\u0441\u0430\u043d".split("_"),monthsShort:"\u049b\u0430\u04a3_\u0430\u049b\u043f_\u043d\u0430\u0443_\u0441\u04d9\u0443_\u043c\u0430\u043c_\u043c\u0430\u0443_\u0448\u0456\u043b_\u0442\u0430\u043c_\u049b\u044b\u0440_\u049b\u0430\u0437_\u049b\u0430\u0440_\u0436\u0435\u043b".split("_"),weekdays:"\u0436\u0435\u043a\u0441\u0435\u043d\u0431\u0456_\u0434\u04af\u0439\u0441\u0435\u043d\u0431\u0456_\u0441\u0435\u0439\u0441\u0435\u043d\u0431\u0456_\u0441\u04d9\u0440\u0441\u0435\u043d\u0431\u0456_\u0431\u0435\u0439\u0441\u0435\u043d\u0431\u0456_\u0436\u04b1\u043c\u0430_\u0441\u0435\u043d\u0431\u0456".split("_"),weekdaysShort:"\u0436\u0435\u043a_\u0434\u04af\u0439_\u0441\u0435\u0439_\u0441\u04d9\u0440_\u0431\u0435\u0439_\u0436\u04b1\u043c_\u0441\u0435\u043d".split("_"),weekdaysMin:"\u0436\u043a_\u0434\u0439_\u0441\u0439_\u0441\u0440_\u0431\u0439_\u0436\u043c_\u0441\u043d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0411\u04af\u0433\u0456\u043d \u0441\u0430\u0493\u0430\u0442] LT",nextDay:"[\u0415\u0440\u0442\u0435\u04a3 \u0441\u0430\u0493\u0430\u0442] LT",nextWeek:"dddd [\u0441\u0430\u0493\u0430\u0442] LT",lastDay:"[\u041a\u0435\u0448\u0435 \u0441\u0430\u0493\u0430\u0442] LT",lastWeek:"[\u04e8\u0442\u043a\u0435\u043d \u0430\u043f\u0442\u0430\u043d\u044b\u04a3] dddd [\u0441\u0430\u0493\u0430\u0442] LT",sameElse:"L"},relativeTime:{future:"%s \u0456\u0448\u0456\u043d\u0434\u0435",past:"%s \u0431\u04b1\u0440\u044b\u043d",s:"\u0431\u0456\u0440\u043d\u0435\u0448\u0435 \u0441\u0435\u043a\u0443\u043d\u0434",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434",m:"\u0431\u0456\u0440 \u043c\u0438\u043d\u0443\u0442",mm:"%d \u043c\u0438\u043d\u0443\u0442",h:"\u0431\u0456\u0440 \u0441\u0430\u0493\u0430\u0442",hh:"%d \u0441\u0430\u0493\u0430\u0442",d:"\u0431\u0456\u0440 \u043a\u04af\u043d",dd:"%d \u043a\u04af\u043d",M:"\u0431\u0456\u0440 \u0430\u0439",MM:"%d \u0430\u0439",y:"\u0431\u0456\u0440 \u0436\u044b\u043b",yy:"%d \u0436\u044b\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0448\u0456|\u0448\u044b)/,ordinal:function(t){return t+(e[t]||e[t%10]||e[t>=100?100:null])},week:{dow:1,doy:7}})}(n("wd/R"))},bYM6:function(t,e,n){!function(t){"use strict";t.defineLocale("ar-tn",{months:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),monthsShort:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:1,doy:4}})}(n("wd/R"))},bpih:function(t,e,n){!function(t){"use strict";t.defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_luned\xec_marted\xec_mercoled\xec_gioved\xec_venerd\xec_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:function(){return"[Oggi a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextDay:function(){return"[Domani a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextWeek:function(){return"dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastDay:function(){return"[Ieri a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastWeek:function(){switch(this.day()){case 0:return"[La scorsa] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT";default:return"[Lo scorso] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"}},sameElse:"L"},relativeTime:{future:"tra %s",past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",w:"una settimana",ww:"%d settimane",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(n("wd/R"))},bxKX:function(t,e,n){!function(t){"use strict";t.defineLocale("it-ch",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_luned\xec_marted\xec_mercoled\xec_gioved\xec_venerd\xec_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){switch(this.day()){case 0:return"[la scorsa] dddd [alle] LT";default:return"[lo scorso] dddd [alle] LT"}},sameElse:"L"},relativeTime:{future:function(t){return(/^[0-9].+$/.test(t)?"tra":"in")+" "+t},past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(n("wd/R"))},c2HN:function(t,e,n){"use strict";function i(t){return!!t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}n.d(e,"a",function(){return i})},cRix:function(t,e,n){!function(t){"use strict";var e="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),n="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_");t.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(t,i){return t?/-MMM-/.test(i)?n[t.month()]:e[t.month()]:e},monthsParseExact:!0,weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[hjoed om] LT",nextDay:"[moarn om] LT",nextWeek:"dddd [om] LT",lastDay:"[juster om] LT",lastWeek:"[\xf4fr\xfbne] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",ss:"%d sekonden",m:"ien min\xfat",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(t){return t+(1===t||8===t||t>=20?"ste":"de")},week:{dow:1,doy:4}})}(n("wd/R"))},cUpR:function(t,e,n){"use strict";n.d(e,"a",function(){return Y}),n.d(e,"b",function(){return D}),n.d(e,"c",function(){return R}),n.d(e,"d",function(){return C});var i=n("SVse"),a=n("8Y7J");class r extends i.w{constructor(){super()}supportsDOMEvents(){return!0}}class o extends r{static makeCurrent(){Object(i.A)(new o)}getProperty(t,e){return t[e]}log(t){window.console&&window.console.log&&window.console.log(t)}logGroup(t){window.console&&window.console.group&&window.console.group(t)}logGroupEnd(){window.console&&window.console.groupEnd&&window.console.groupEnd()}onAndCancel(t,e,n){return t.addEventListener(e,n,!1),()=>{t.removeEventListener(e,n,!1)}}dispatchEvent(t,e){t.dispatchEvent(e)}remove(t){return t.parentNode&&t.parentNode.removeChild(t),t}getValue(t){return t.value}createElement(t,e){return(e=e||this.getDefaultDocument()).createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,e){return"window"===e?window:"document"===e?t:"body"===e?t.body:null}getHistory(){return window.history}getLocation(){return window.location}getBaseHref(t){const e=l||(l=document.querySelector("base"),l)?l.getAttribute("href"):null;return null==e?null:(n=e,s||(s=document.createElement("a")),s.setAttribute("href",n),"/"===s.pathname.charAt(0)?s.pathname:"/"+s.pathname);var n}resetBaseElement(){l=null}getUserAgent(){return window.navigator.userAgent}performanceNow(){return window.performance&&window.performance.now?window.performance.now():(new Date).getTime()}supportsCookies(){return!0}getCookie(t){return Object(i.z)(document.cookie,t)}}let s,l=null;const c=new a.s("TRANSITION_ID"),d=[{provide:a.d,useFactory:function(t,e,n){return()=>{n.get(a.e).donePromise.then(()=>{const n=Object(i.y)();Array.prototype.slice.apply(e.querySelectorAll("style[ng-transition]")).filter(e=>e.getAttribute("ng-transition")===t).forEach(t=>n.remove(t))})}},deps:[c,i.d,a.t],multi:!0}];class u{static init(){Object(a.Z)(new u)}addToWindow(t){a.qb.getAngularTestability=(e,n=!0)=>{const i=t.findTestabilityInTree(e,n);if(null==i)throw new Error("Could not find testability for element.");return i},a.qb.getAllAngularTestabilities=()=>t.getAllTestabilities(),a.qb.getAllAngularRootElements=()=>t.getAllRootElements(),a.qb.frameworkStabilizers||(a.qb.frameworkStabilizers=[]),a.qb.frameworkStabilizers.push(t=>{const e=a.qb.getAllAngularTestabilities();let n=e.length,i=!1;const r=function(e){i=i||e,n--,0==n&&t(i)};e.forEach(function(t){t.whenStable(r)})})}findTestabilityInTree(t,e,n){if(null==e)return null;const a=t.getTestability(e);return null!=a?a:n?Object(i.y)().isShadowRoot(e)?this.findTestabilityInTree(t,e.host,!0):this.findTestabilityInTree(t,e.parentElement,!0):null}}const h=new a.s("EventManagerPlugins");let m=(()=>{class t{constructor(t,e){this._zone=e,this._eventNameToPlugin=new Map,t.forEach(t=>t.manager=this),this._plugins=t.slice().reverse()}addEventListener(t,e,n){return this._findPluginFor(e).addEventListener(t,e,n)}addGlobalEventListener(t,e,n){return this._findPluginFor(e).addGlobalEventListener(t,e,n)}getZone(){return this._zone}_findPluginFor(t){const e=this._eventNameToPlugin.get(t);if(e)return e;const n=this._plugins;for(let i=0;i<n.length;i++){const e=n[i];if(e.supports(t))return this._eventNameToPlugin.set(t,e),e}throw new Error(`No event manager plugin found for event ${t}`)}}return t.\u0275fac=function(e){return new(e||t)(a.Xb(h),a.Xb(a.B))},t.\u0275prov=a.Jb({token:t,factory:t.\u0275fac}),t})();class p{constructor(t){this._doc=t}addGlobalEventListener(t,e,n){const a=Object(i.y)().getGlobalEventTarget(this._doc,t);if(!a)throw new Error(`Unsupported event target ${a} for event ${e}`);return this.addEventListener(a,e,n)}}let f=(()=>{class t{constructor(){this._stylesSet=new Set}addStyles(t){const e=new Set;t.forEach(t=>{this._stylesSet.has(t)||(this._stylesSet.add(t),e.add(t))}),this.onStylesAdded(e)}onStylesAdded(t){}getAllStyles(){return Array.from(this._stylesSet)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=a.Jb({token:t,factory:t.\u0275fac}),t})(),g=(()=>{class t extends f{constructor(t){super(),this._doc=t,this._hostNodes=new Set,this._styleNodes=new Set,this._hostNodes.add(t.head)}_addStylesToHost(t,e){t.forEach(t=>{const n=this._doc.createElement("style");n.textContent=t,this._styleNodes.add(e.appendChild(n))})}addHost(t){this._addStylesToHost(this._stylesSet,t),this._hostNodes.add(t)}removeHost(t){this._hostNodes.delete(t)}onStylesAdded(t){this._hostNodes.forEach(e=>this._addStylesToHost(t,e))}ngOnDestroy(){this._styleNodes.forEach(t=>Object(i.y)().remove(t))}}return t.\u0275fac=function(e){return new(e||t)(a.Xb(i.d))},t.\u0275prov=a.Jb({token:t,factory:t.\u0275fac}),t})();const b={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},_=/%COMP%/g;function y(t,e,n){for(let i=0;i<e.length;i++){let a=e[i];Array.isArray(a)?y(t,a,n):(a=a.replace(_,t),n.push(a))}return n}function v(t){return e=>{if("__ngUnwrap__"===e)return t;!1===t(e)&&(e.preventDefault(),e.returnValue=!1)}}let C=(()=>{class t{constructor(t,e,n){this.eventManager=t,this.sharedStylesHost=e,this.appId=n,this.rendererByCompId=new Map,this.defaultRenderer=new w(t)}createRenderer(t,e){if(!t||!e)return this.defaultRenderer;switch(e.encapsulation){case a.S.Emulated:{let n=this.rendererByCompId.get(e.id);return n||(n=new x(this.eventManager,this.sharedStylesHost,e,this.appId),this.rendererByCompId.set(e.id,n)),n.applyToHost(t),n}case 1:case a.S.ShadowDom:return new M(this.eventManager,this.sharedStylesHost,t,e);default:if(!this.rendererByCompId.has(e.id)){const t=y(e.id,e.styles,[]);this.sharedStylesHost.addStyles(t),this.rendererByCompId.set(e.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return t.\u0275fac=function(e){return new(e||t)(a.Xb(m),a.Xb(g),a.Xb(a.c))},t.\u0275prov=a.Jb({token:t,factory:t.\u0275fac}),t})();class w{constructor(t){this.eventManager=t,this.data=Object.create(null)}destroy(){}createElement(t,e){return e?document.createElementNS(b[e]||e,t):document.createElement(t)}createComment(t){return document.createComment(t)}createText(t){return document.createTextNode(t)}appendChild(t,e){t.appendChild(e)}insertBefore(t,e,n){t&&t.insertBefore(e,n)}removeChild(t,e){t&&t.removeChild(e)}selectRootElement(t,e){let n="string"==typeof t?document.querySelector(t):t;if(!n)throw new Error(`The selector "${t}" did not match any elements`);return e||(n.textContent=""),n}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,e,n,i){if(i){e=i+":"+e;const a=b[i];a?t.setAttributeNS(a,e,n):t.setAttribute(e,n)}else t.setAttribute(e,n)}removeAttribute(t,e,n){if(n){const i=b[n];i?t.removeAttributeNS(i,e):t.removeAttribute(`${n}:${e}`)}else t.removeAttribute(e)}addClass(t,e){t.classList.add(e)}removeClass(t,e){t.classList.remove(e)}setStyle(t,e,n,i){i&(a.I.DashCase|a.I.Important)?t.style.setProperty(e,n,i&a.I.Important?"important":""):t.style[e]=n}removeStyle(t,e,n){n&a.I.DashCase?t.style.removeProperty(e):t.style[e]=""}setProperty(t,e,n){t[e]=n}setValue(t,e){t.nodeValue=e}listen(t,e,n){return"string"==typeof t?this.eventManager.addGlobalEventListener(t,e,v(n)):this.eventManager.addEventListener(t,e,v(n))}}class x extends w{constructor(t,e,n,i){super(t),this.component=n;const a=y(i+"-"+n.id,n.styles,[]);e.addStyles(a),this.contentAttr="_ngcontent-%COMP%".replace(_,i+"-"+n.id),this.hostAttr="_nghost-%COMP%".replace(_,i+"-"+n.id)}applyToHost(t){super.setAttribute(t,this.hostAttr,"")}createElement(t,e){const n=super.createElement(t,e);return super.setAttribute(n,this.contentAttr,""),n}}class M extends w{constructor(t,e,n,i){super(t),this.sharedStylesHost=e,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const a=y(i.id,i.styles,[]);for(let r=0;r<a.length;r++){const t=document.createElement("style");t.textContent=a[r],this.shadowRoot.appendChild(t)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(t,e){return super.appendChild(this.nodeOrShadowRoot(t),e)}insertBefore(t,e,n){return super.insertBefore(this.nodeOrShadowRoot(t),e,n)}removeChild(t,e){return super.removeChild(this.nodeOrShadowRoot(t),e)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}}let O=(()=>{class t extends p{constructor(t){super(t)}supports(t){return!0}addEventListener(t,e,n){return t.addEventListener(e,n,!1),()=>this.removeEventListener(t,e,n)}removeEventListener(t,e,n){return t.removeEventListener(e,n)}}return t.\u0275fac=function(e){return new(e||t)(a.Xb(i.d))},t.\u0275prov=a.Jb({token:t,factory:t.\u0275fac}),t})();const k=["alt","control","meta","shift"],S={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},T={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},P={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey};let L=(()=>{class t extends p{constructor(t){super(t)}supports(e){return null!=t.parseEventName(e)}addEventListener(e,n,a){const r=t.parseEventName(n),o=t.eventCallback(r.fullKey,a,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Object(i.y)().onAndCancel(e,r.domEventName,o))}static parseEventName(e){const n=e.toLowerCase().split("."),i=n.shift();if(0===n.length||"keydown"!==i&&"keyup"!==i)return null;const a=t._normalizeKey(n.pop());let r="";if(k.forEach(t=>{const e=n.indexOf(t);e>-1&&(n.splice(e,1),r+=t+".")}),r+=a,0!=n.length||0===a.length)return null;const o={};return o.domEventName=i,o.fullKey=r,o}static getEventFullKey(t){let e="",n=function(t){let e=t.key;if(null==e){if(e=t.keyIdentifier,null==e)return"Unidentified";e.startsWith("U+")&&(e=String.fromCharCode(parseInt(e.substring(2),16)),3===t.location&&T.hasOwnProperty(e)&&(e=T[e]))}return S[e]||e}(t);return n=n.toLowerCase()," "===n?n="space":"."===n&&(n="dot"),k.forEach(i=>{i!=n&&(0,P[i])(t)&&(e+=i+".")}),e+=n,e}static eventCallback(e,n,i){return a=>{t.getEventFullKey(a)===e&&i.runGuarded(()=>n(a))}}static _normalizeKey(t){switch(t){case"esc":return"escape";default:return t}}}return t.\u0275fac=function(e){return new(e||t)(a.Xb(i.d))},t.\u0275prov=a.Jb({token:t,factory:t.\u0275fac}),t})(),D=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Object(a.Jb)({factory:function(){return Object(a.Xb)(A)},token:t,providedIn:"root"}),t})();function E(t){return new A(t.get(i.d))}let A=(()=>{class t extends D{constructor(t){super(),this._doc=t}sanitize(t,e){if(null==e)return null;switch(t){case a.K.NONE:return e;case a.K.HTML:return Object(a.fb)(e,"HTML")?Object(a.yb)(e):Object(a.db)(this._doc,String(e)).toString();case a.K.STYLE:return Object(a.fb)(e,"Style")?Object(a.yb)(e):e;case a.K.SCRIPT:if(Object(a.fb)(e,"Script"))return Object(a.yb)(e);throw new Error("unsafe value used in a script context");case a.K.URL:return Object(a.pb)(e),Object(a.fb)(e,"URL")?Object(a.yb)(e):Object(a.eb)(String(e));case a.K.RESOURCE_URL:if(Object(a.fb)(e,"ResourceURL"))return Object(a.yb)(e);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${t} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(t){return Object(a.gb)(t)}bypassSecurityTrustStyle(t){return Object(a.jb)(t)}bypassSecurityTrustScript(t){return Object(a.ib)(t)}bypassSecurityTrustUrl(t){return Object(a.kb)(t)}bypassSecurityTrustResourceUrl(t){return Object(a.hb)(t)}}return t.\u0275fac=function(e){return new(e||t)(a.Xb(i.d))},t.\u0275prov=Object(a.Jb)({factory:function(){return E(Object(a.Xb)(a.p))},token:t,providedIn:"root"}),t})();const I=[{provide:a.D,useValue:i.x},{provide:a.E,useValue:function(){o.makeCurrent(),u.init()},multi:!0},{provide:i.d,useFactory:function(){return Object(a.wb)(document),document},deps:[]}],R=Object(a.T)(a.Y,"browser",I),N=[[],{provide:a.bb,useValue:"root"},{provide:a.n,useFactory:function(){return new a.n},deps:[]},{provide:h,useClass:O,multi:!0,deps:[i.d,a.B,a.D]},{provide:h,useClass:L,multi:!0,deps:[i.d]},[],{provide:C,useClass:C,deps:[m,g,a.c]},{provide:a.H,useExisting:C},{provide:f,useExisting:g},{provide:g,useClass:g,deps:[i.d]},{provide:a.O,useClass:a.O,deps:[a.B]},{provide:m,useClass:m,deps:[h,a.B]},[]];let Y=(()=>{class t{constructor(t){if(t)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}static withServerTransition(e){return{ngModule:t,providers:[{provide:a.c,useValue:e.appId},{provide:c,useExisting:a.c},d]}}}return t.\u0275mod=a.Lb({type:t}),t.\u0275inj=a.Kb({factory:function(e){return new(e||t)(a.Xb(t,12))},providers:N,imports:[i.c,a.f]}),t})();"undefined"!=typeof window&&window},cXaA:function(t,e,n){"use strict";var i;n.d(e,"a",function(){return c}),function(t){t[t.DATA=0]="DATA",t[t.INFO=1]="INFO",t[t.WARN=2]="WARN",t[t.ERROR=3]="ERROR",t[t.__NOTHING=4]="__NOTHING"}(i||(i={})),global&&!global.ENV&&(global.ENV={});class a{static get isBrowser(){return a.simulateBrowser||!("undefined"==typeof window||!window.document)}static get isNode(){return a.simulateBrowser||!a.isBrowser}static contain(t,e){return t.filter(t=>t instanceof RegExp?t.test(e):t===e||!(!e.match||"function"!=typeof e.match||!e.match(t))).length>0}}a.simulateBrowser=!1;const r={};["static","dev","prod","stage","online","test","qa","custom"].forEach(t=>{r[t]=t});const o={_gitignore:".gitignore",_npmrc:".npmrc",_npmignore:".npmignore",tslint_json:"tslint.json",_editorconfig:".editorconfig",_angularCli_json:".angular-cli.json",_vscode_launch_json:".vscode/launch.json"},s=(Object.assign({controllers_ts:"controllers.ts",entities_ts:"entities.ts",autob_actions_js:"auto-actions.js",package_json:"package.json",package_json__tnp_json:"package.json_tnp.json",package_json__devDependencies_json:"package.json_devDependencies.json",yarn_lock:"yarn.lock",package_lock_json:"package-lock.json",tnpEnvironment_json:"tmp-environment.json",environment:"environment",environment_js:"environment.js",tmp_transaction_pid_txt:"tmp-transaction-pid.txt",manifest_webmanifest:"manifest.webmanifest",publicApi_ts:"public_api.ts",publicApi_d_ts:"public_api.d.ts",_babelrc:".babelrc",index_d_ts:"index.d.ts",index_ts:"index.ts",index_js:"index.js",index_js_map:"index.js.map",db_json:"db.json",db_for_tests_json:"db-for-tests.json",tmpDockerImageId:"tmp-docker-image-id",tmp_recent_json:"recent.json",tmpIsomorphicPackagesJson:"tmp-isomorphic-packages.json",tsconfig_json:"tsconfig.json",README_MD:"README.md"},o),{bundle:"bundle",vendor:"vendor",docs:"docs",dist:"dist",tmp:"tmp",tmpBundleRelease:"tmp-bundle-release",tempSrc:"tmp-src",tempSrcDist:"tmp-src-dist",previewDistApp:"dist-app",preview:"preview",browser:"browser",_browser:".browser",module:"module",backup:"backup",node_modules:"node_modules",client:"client",tnp_tests_context:"tmp-tests-context",tmpPackage:"tmp-package"});Object.assign({scripts:"scripts",bower:"bower",src:"src",custom:"custom",components:"components",assets:"assets",apps:"apps",workspace:"workspace",container:"container",bin:"bin",_bin:".bin",_vscode:".vscode",project:"project"},s),global.frameworkName&&global,Object.keys(o).map(t=>o[t]);class l{static msg(t,e,n,r,o,s,l){if(l)return;let c="gray";if(o===i.INFO&&(c="deepskyblue"),o===i.ERROR&&(c="red"),o===i.WARN&&(c="orange"),s){const t=s-n.length;if(t>0)for(let e=0;e<t;e++)n+=" "}if(a.isBrowser)if(document.documentMode||/Edge/.test(navigator.userAgent)){if("string"==typeof t)e.unshift("[[ "+n+" ]] "+t+" ");else{let i="[[ "+n+"]] ";e.push(t),e.unshift(i)}o===i.INFO?console.info.apply(console,e):o===i.ERROR?console.error.apply(console,e):o===i.WARN?console.warn.apply(console,e):console.log.apply(console,e)}else{if("string"==typeof t){let i="%c "+n+" %c "+t+" ",a="background: "+r+";color:white; border: 1px solid "+r+"; ";e.unshift("border: 1px solid "+c+"; "),e.unshift(a),e.unshift(i)}else{let i="%c "+n+" ",a="background: "+r+";color:white; border: 1px solid "+c+"; ";e.push(t),e.unshift(a),e.unshift(i)}console.log.apply(console,e)}}}class c{constructor(){this._logOnly=!1,this._logModules=!1,this.isDevelopmentMode=!0,this.modeIsSet=!1,this.fixedWidth=0,this.instances={},this.levels=[],this.modules=[]}static get instance(){return this._instance||(this._instance=new c),this._instance}static create(t,...e){return c.instance.create(t,...e)}setProductionMode(){if(this.modeIsSet)throw this.modeIsSet=!1,"[ng2-logger] Production mode is already set";this.modeIsSet=!0,setTimeout(()=>{this.modeIsSet&&void 0!==console&&void 0!==console.clear&&(console.clear(),console.log=()=>{},console.error=()=>{},console.warn=()=>{},console.info=()=>{})}),this.isDevelopmentMode=!1}onlyModules(...t){if(this._logModules)throw"[ng2-logger] You should use funcion onlyModules only once";this._logModules||(this._logModules=!0),0!==t.length&&(this.modules=t,this.muteAllOtherModules())}onlyLevel(...t){if(this._logOnly)throw"[ng2-logger] You should use funcion onlyLevel only once";this._logOnly||(this._logOnly=!0),this.levels=Array.isArray(t)?t:[t];for(const e in this.instances)this.instances.hasOwnProperty(e)&&(this.instances[e].allowed=this.levels)}create(t,...e){let n;return Array.isArray(this.levels)&&this.levels.length>0&&(e=this.levels),void 0===this.instances[t]?(n=new c.Logger(t,d(),this.isDevelopmentMode,e,this.isMutedModule(t),this.levels.length>0?this.fixedWidth:void 0),this.instances[t]=n):n=this.instances[t],n}isMutedModule(t){return 0!=this.modules.length&&!a.contain(this.modules,t)}muteAllOtherModules(){for(var t in this.instances)a.contain(this.modules,t)||this.instances[t].mute()}}function d(){let t="012345".split(""),e="#";e+=t[Math.round(5*Math.random())],t="0123456789ABCDEF".split("");for(let n=0;n<5;n++)e+=t[Math.round(15*Math.random())];return void 0===e?d():e}c.Logger=class{constructor(t,e,n,i,a,r){this.name=t,this.color=e,this.developmentMode=n,this.allowed=i,this.isMuted=a,this.fixedWidth=r,this.d=(t,...e)=>this._data(t,e),this.er=(t,...e)=>this._error(t,e),this.i=(t,...e)=>this._info(t,e),this.w=(t,...e)=>this._warn(t,e),this.data=(t,...e)=>this._data(t,e),this.error=(t,...e)=>this._error(t,e),this.info=(t,...e)=>this._info(t,e),this.warn=(t,...e)=>this._warn(t,e)}setLevel(t){return this._level=t,this}get isProductionMode(){return!this.developmentMode}setProductionMode(t){return this.developmentMode=!t,this}mute(){return this.isMuted=!0,this}onlyWhen(t){"function"==typeof t?this.isMuted=!t():"boolean"==typeof t&&(this.isMuted=!t)}_data(t,...e){return this.isMuted||this.allowed.length>=1&&a.contain(this.allowed,i.__NOTHING)&&!a.contain(this.allowed,i.DATA)||(0===this.allowed.length||a.contain(this.allowed,i.DATA))&&l.msg.apply(void 0,[t,...e,this.name,this.color,i.DATA,this.fixedWidth,this.isProductionMode]),this}_error(t,...e){return this.isMuted||this.allowed.length>=1&&a.contain(this.allowed,i.__NOTHING)&&!a.contain(this.allowed,i.ERROR)||(0===this.allowed.length||a.contain(this.allowed,i.ERROR))&&l.msg.apply(void 0,[t,...e,this.name,this.color,i.ERROR,this.fixedWidth,this.isProductionMode]),this}_info(t,...e){return this.isMuted||this.allowed.length>=1&&a.contain(this.allowed,i.__NOTHING)&&!a.contain(this.allowed,i.INFO)||(0===this.allowed.length||a.contain(this.allowed,i.INFO))&&l.msg.apply(void 0,[t,...e,this.name,this.color,i.INFO,this.fixedWidth,this.isProductionMode]),this}_warn(t,...e){return this.isMuted||this.allowed.length>=1&&a.contain(this.allowed,i.__NOTHING)&&!a.contain(this.allowed,i.WARN)||(0===this.allowed.length||a.contain(this.allowed,i.WARN))&&l.msg.apply(void 0,[t,...e,this.name,this.color,i.WARN,this.fixedWidth,this.isProductionMode]),this}}},cYWD:function(t,e,n){"use strict";n.d(e,"a",function(){return b});var i=n("8Y7J"),a=n("s7LF"),r=n("xgIS"),o=n("pLZG"),s=n("Kj3r"),l=n("nYR2"),c=n("IGtN");class d{constructor(t){this.parentFormCtrl=t}isErrorState(t,e){return t&&t.touched&&(t.invalid||this.parentFormCtrl&&this.parentFormCtrl.invalid)}}var u=n("TSSN"),h=n("AkaL"),m=n("WiJD"),p=n("zaPX");const f=["searchElt"],g=["auto"];let b=(()=>{class t extends c.a{constructor(t,e,n,r,o){super(t),this.translateService=t,this.searchService=e,this.configurationService=n,this.configSharedService=r,this.changeDetectorRef=o,this.selectionChanged=new i.o,this.inputChanged=new i.o,this.searchControl=new a.e(""),this.displayFn=t=>t?"string"==typeof t?t:t[this.fieldValue]:""}load(){this.subscriptions.push(Object(r.a)(this.searchElt.nativeElement,"keyup").pipe(Object(o.a)(t=>!["ArrowDown","ArrowUp","ArrowRight","ArrowLeft"].includes(t.key)),Object(s.a)(this.configSharedService.autocompleteCommuneTimeLimit)).subscribe(t=>{const e=this.searchControl.value;e&&"string"==typeof e&&!this.isAutocompleteDisabled&&this.searchControl.enabled&&this.onSearchChange(e)}),this.formControl.valueChanges.pipe(Object(o.a)(t=>null===t)).subscribe(t=>this._prevValue=null)),this.errorStateMatcher=new d(this.formControl)}onBlur(){"numTVA"===this.fieldValue?setTimeout(()=>{this._triggerChange()},500):this._triggerChange()}_triggerChange(){let t;t=this.searchControl.value?this.prefix?`${this.prefix}${this.searchControl.value.trim()}`:this.searchControl.value.trim():null,this.propagateChange(t),"numTVA"!==this.fieldValue&&"siren"!==this.fieldValue||this._prevValue===t||this.inputChanged.emit(),this._prevValue=t}onSearchChange(t){const e=this.prefix?`${this.prefix.trim()}${t.trim()}`:`${t.trim()}`;e&&e.length>0&&this.lastInputSearch!==e&&(this.isLoading=!0,this.lastInputSearch=e,this.searchForResults(e))}searchForResults(t){this.subscriptions.push(this.searchService.search(t,this.configSharedService.autocompleteDpdNbMax).pipe(Object(l.a)(()=>this.isLoading=!1)).subscribe(t=>{t&&t.length>0?(this.searchResult=t,this.changeDetectorRef.markForCheck()):(this.searchResult=[],this.changeDetectorRef.markForCheck())}))}selectOption(t){const e=t.option.value;this.setSearchControlValue(e[this.fieldValue]),this.selectionChanged.emit(e)}setSearchControlValue(t){const e="numTVA"===this.fieldValue&&t?t.slice(2):t;this.searchControl.setValue(e)}writeValue(t){this._prevValue=t,this.setSearchControlValue(t)}registerOnChange(t){this.propagateChange=t}registerOnTouched(t){this.onTouched=t}propagateChange(t){}onTouched(){}setDisabledState(t){t?this.searchControl.disable():this.searchControl.enable()}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(u.d),i.Nb(h.a),i.Nb(m.a),i.Nb(p.a),i.Nb(i.h))},t.\u0275cmp=i.Hb({type:t,selectors:[["ng-component"]],viewQuery:function(t,e){if(1&t&&(i.Lc(f,3),i.Lc(g,3)),2&t){let t;i.uc(t=i.cc())&&(e.searchElt=t.first),i.uc(t=i.cc())&&(e.autocomplete=t.first)}},inputs:{name:"name",inputTitle:"inputTitle",prefix:"prefix",isRequired:"isRequired",isAutocompleteDisabled:"isAutocompleteDisabled",formControl:"formControl"},outputs:{selectionChanged:"selectionChanged",inputChanged:"inputChanged"},features:[i.zb],decls:0,vars:0,template:function(t,e){},encapsulation:2}),t})()},cp0P:function(t,e,n){"use strict";n.d(e,"a",function(){return l});var i=n("HDdC"),a=n("DH7j"),r=n("lJxs"),o=n("XoHu"),s=n("Cfvw");function l(...t){if(1===t.length){const e=t[0];if(Object(a.a)(e))return c(e,null);if(Object(o.a)(e)&&Object.getPrototypeOf(e)===Object.prototype){const t=Object.keys(e);return c(t.map(t=>e[t]),t)}}if("function"==typeof t[t.length-1]){const e=t.pop();return c(t=1===t.length&&Object(a.a)(t[0])?t[0]:t,null).pipe(Object(r.a)(t=>e(...t)))}return c(t,null)}function c(t,e){return new i.a(n=>{const i=t.length;if(0===i)return void n.complete();const a=new Array(i);let r=0,o=0;for(let l=0;l<i;l++){const c=Object(s.a)(t[l]);let d=!1;n.add(c.subscribe({next:t=>{d||(d=!0,o++),a[l]=t},error:t=>n.error(t),complete:()=>{r++,r!==i&&d||(o===i&&n.next(e?e.reduce((t,e,n)=>(t[e]=a[n],t),{}):a),n.complete())}}))}})}},cv7C:function(t,e,n){"use strict";n.d(e,"a",function(){return l});var i=n("cXaA"),a=n("05l1"),r=n("x+ZX"),o=n("8Y7J"),s=n("IheW");let l=(()=>{class t{constructor(t){this.http=t,this.log=i.a.create("LangueService"),this.END_POINT="/api/langues"}getLangues(){const t=this.END_POINT;return this.log.data(`[HTTP] (GET) -> ${t}`),this.http.get(t).pipe(Object(a.a)(),Object(r.a)())}}return t.\u0275fac=function(e){return new(e||t)(o.Xb(s.b))},t.\u0275prov=o.Jb({token:t,factory:t.\u0275fac,providedIn:"root"}),t})()},cw5Z:function(t,e,n){"use strict";function i(t,e,n,i){var a,r=arguments.length,o=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var s=t.length-1;s>=0;s--)(a=t[s])&&(o=(r<3?a(o):r>3?a(e,n,o):a(e,n))||o);return r>3&&o&&Object.defineProperty(e,n,o),o}function a(t,e){return function(n,i){e(n,i,t)}}n.d(e,"a",function(){return ft}),n.d(e,"b",function(){return Vt}),n.d(e,"c",function(){return yt}),n.d(e,"d",function(){return bt});var r=n("8Y7J"),o=n("SVse"),s=n("XNiG"),l=n("2Vo4"),c=n("VRyK"),d=n("UXun"),u=n("1G5W"),h=n("pLZG"),m=(n("vkgz"),n("lJxs"),n("/uUt"),n("GS7A")),p=n("ZgVP"),f=n("s7LF");function g(t,e){if(1&t){const t=r.Ub();r.Tb(0,"ngx-material-timepicker-24-hours-face",17),r.bc("hourChange",function(e){return r.yc(t),r.fc(2).onHourChange(e)})("hourSelected",function(e){return r.yc(t),r.fc(2).onHourSelected(e)}),r.gc(1,"async"),r.Sb()}if(2&t){const t=r.fc(2);r.nc("selectedHour",r.hc(1,4,t.selectedHour))("minTime",t.minTime)("maxTime",t.maxTime)("format",t.format)}}function b(t,e){if(1&t){const t=r.Ub();r.Tb(0,"ngx-material-timepicker-12-hours-face",18),r.bc("hourChange",function(e){return r.yc(t),r.fc(2).onHourChange(e)})("hourSelected",function(e){return r.yc(t),r.fc(2).onHourSelected(e)}),r.gc(1,"async"),r.gc(2,"async"),r.Sb()}if(2&t){const t=r.fc(2);r.nc("selectedHour",r.hc(1,4,t.selectedHour))("period",r.hc(2,6,t.selectedPeriod))("minTime",t.minTime)("maxTime",t.maxTime)}}function _(t,e){if(1&t&&(r.Tb(0,"div"),r.Fc(1,g,2,6,"ngx-material-timepicker-24-hours-face",15),r.Fc(2,b,3,8,"ng-template",null,16,r.Gc),r.Sb()),2&t){const t=r.vc(3),e=r.fc();r.Cb(1),r.nc("ngIf",24===e.format)("ngIfElse",t)}}function y(t,e){if(1&t){const t=r.Ub();r.Tb(0,"ngx-material-timepicker-minutes-face",19),r.bc("minuteChange",function(e){return r.yc(t),r.fc().onMinuteChange(e)}),r.gc(1,"async"),r.gc(2,"async"),r.gc(3,"async"),r.Sb()}if(2&t){const t=r.fc();let e=null;r.nc("selectedMinute",r.hc(1,7,t.selectedMinute))("selectedHour",null==(e=r.hc(2,9,t.selectedHour))?null:e.time)("minTime",t.minTime)("maxTime",t.maxTime)("format",t.format)("period",r.hc(3,11,t.selectedPeriod))("minutesGap",t.minutesGap)}}function v(t,e){1&t&&r.Pb(0)}function C(t,e){1&t&&r.Pb(0)}function w(t,e){1&t&&(r.Tb(0,"ngx-material-timepicker-button"),r.Hc(1,"Cancel"),r.Sb())}function x(t,e){1&t&&(r.Tb(0,"ngx-material-timepicker-button"),r.Hc(1,"Ok"),r.Sb())}const M=function(t){return{"timepicker-backdrop-overlay--transparent":t}};function O(t,e){1&t&&(r.ec(),r.Tb(0,"svg",2),r.Ob(1,"path",3),r.Sb())}const k=[[["","ngxMaterialTimepickerToggleIcon",""]]],S=["[ngxMaterialTimepickerToggleIcon]"],T=["clockFace"],P=["clockHand"],L=function(t){return{transform:t}},D=function(t,e){return{active:t,disabled:e}};function E(t,e){if(1&t&&(r.Tb(0,"div",9),r.Tb(1,"span",10),r.gc(2,"activeHour"),r.Hc(3),r.gc(4,"timeLocalizer"),r.Sb(),r.Sb()),2&t){const t=e.$implicit,n=r.fc(2);r.nc("ngStyle",r.sc(11,L,"rotateZ("+t.angle+"deg) translateX(-50%)")),r.Cb(1),r.nc("ngStyle",r.sc(13,L,"rotateZ(-"+t.angle+"deg)"))("ngClass",r.tc(15,D,r.jc(2,4,t.time,n.selectedTime.time,n.isClockFaceDisabled),t.disabled)),r.Cb(2),r.Jc(" ",r.ic(4,8,t.time,n.timeUnit.HOUR)," ")}}function A(t,e){if(1&t&&(r.Tb(0,"div",13),r.Tb(1,"span",10),r.gc(2,"activeHour"),r.Hc(3),r.gc(4,"timeLocalizer"),r.Sb(),r.Sb()),2&t){const t=e.$implicit,n=r.fc(3);r.Cc("height",n.innerClockFaceSize,"px"),r.nc("ngStyle",r.sc(13,L,"rotateZ("+t.angle+"deg) translateX(-50%)")),r.Cb(1),r.nc("ngStyle",r.sc(15,L,"rotateZ(-"+t.angle+"deg)"))("ngClass",r.tc(17,D,r.jc(2,6,t.time,null==n.selectedTime?null:n.selectedTime.time,n.isClockFaceDisabled),t.disabled)),r.Cb(2),r.Jc(" ",r.ic(4,10,t.time,n.timeUnit.HOUR),"")}}function I(t,e){if(1&t&&(r.Tb(0,"div",11),r.Fc(1,A,5,20,"div",12),r.gc(2,"slice"),r.Sb()),2&t){const t=r.fc(2);r.Cc("top","calc(50% - "+t.innerClockFaceSize+"px)"),r.Cb(1),r.nc("ngForOf",r.jc(2,4,t.faceTime,12,24))("ngForTrackBy",t.trackByTime)}}function R(t,e){if(1&t&&(r.Tb(0,"div",6),r.Fc(1,E,5,18,"div",7),r.gc(2,"slice"),r.Fc(3,I,3,8,"div",8),r.Sb()),2&t){const t=r.fc();r.Cb(1),r.nc("ngForOf",r.jc(2,3,t.faceTime,0,12))("ngForTrackBy",t.trackByTime),r.Cb(2),r.nc("ngIf",t.faceTime.length>12)}}function N(t,e){if(1&t&&(r.Tb(0,"div",9),r.Tb(1,"span",10),r.gc(2,"activeMinute"),r.Hc(3),r.gc(4,"timeLocalizer"),r.gc(5,"minutesFormatter"),r.Sb(),r.Sb()),2&t){const t=e.$implicit,n=r.fc(2);r.nc("ngStyle",r.sc(15,L,"rotateZ("+t.angle+"deg) translateX(-50%)")),r.Cb(1),r.nc("ngStyle",r.sc(17,L,"rotateZ(-"+t.angle+"deg)"))("ngClass",r.tc(19,D,r.kc(2,4,t.time,null==n.selectedTime?null:n.selectedTime.time,n.minutesGap,n.isClockFaceDisabled),t.disabled)),r.Cb(2),r.Jc(" ",r.ic(4,9,r.ic(5,12,t.time,n.minutesGap),n.timeUnit.MINUTE),"")}}function Y(t,e){if(1&t&&(r.Tb(0,"div",6),r.Fc(1,N,6,22,"div",7),r.Sb()),2&t){const t=r.fc();r.Cb(1),r.nc("ngForOf",t.faceTime)("ngForTrackBy",t.trackByTime)}}const H=function(t){return{"clock-face__clock-hand_minute":t}},j=["*"];function F(t,e){1&t&&r.Pb(0)}function z(t,e){1&t&&(r.Tb(0,"small",10),r.Hc(1," * use arrows ("),r.Tb(2,"span"),r.Hc(3,"\u21c5"),r.Sb(),r.Hc(4,") to change the time"),r.Sb())}const V=function(t){return{"timepicker-dial__hint-container--hidden":t}};function B(t,e){if(1&t&&(r.Tb(0,"div",7),r.Fc(1,F,1,0,"ng-container",8),r.Fc(2,z,5,0,"ng-template",null,9,r.Gc),r.Sb()),2&t){const t=r.vc(3),e=r.fc();r.nc("ngClass",r.sc(2,V,!e.isHintVisible)),r.Cb(1),r.nc("ngTemplateOutlet",e.editableHintTmpl?e.editableHintTmpl:t)}}const W=function(t){return{"timepicker-dial__period--hidden":t}},U=function(t){return{"timepicker-dial__item_active":t}};function q(t,e){if(1&t){const t=r.Ub();r.Tb(0,"input",2),r.bc("ngModelChange",function(e){return r.yc(t),r.fc().time=e})("input",function(){return r.yc(t),r.fc().updateTime()})("focus",function(e){r.yc(t);const n=r.fc();return n.saveTimeAndChangeTimeUnit(e,n.timeUnit)}),r.gc(1,"timeLocalizer"),r.Sb()}if(2&t){const t=r.fc();r.nc("ngClass",r.sc(7,U,t.isActive))("ngModel",r.ic(1,4,t.time,t.timeUnit))("disabled",t.disabled)("timepickerAutofocus",t.isActive)}}function G(t,e){if(1&t){const t=r.Ub();r.Tb(0,"input",3),r.bc("ngModelChange",function(e){return r.yc(t),r.fc().onModelChange(e)})("input",function(){return r.yc(t),r.fc().updateTime()})("focus",function(e){r.yc(t);const n=r.fc();return n.saveTimeAndChangeTimeUnit(e,n.timeUnit)})("keydown",function(e){return r.yc(t),r.fc().onKeydown(e)})("keypress",function(e){return r.yc(t),r.fc().changeTimeByKeyboard(e)}),r.gc(1,"timeLocalizer"),r.gc(2,"timeParser"),r.Sb()}if(2&t){const t=r.fc();r.nc("ngClass",r.sc(11,U,t.isActive))("ngModel",r.jc(1,4,r.ic(2,8,t.time,t.timeUnit),t.timeUnit,!0))("disabled",t.disabled)("timepickerAutofocus",t.isActive)}}function J(t,e){if(1&t){const t=r.Ub();r.Tb(0,"div",3),r.bc("@scaleInOut.done",function(){return r.yc(t),r.fc().animationDone()}),r.Tb(1,"p"),r.Hc(2,"Current time would be invalid in this period."),r.Sb(),r.Sb()}2&t&&r.nc("@scaleInOut",void 0)}function Z(t,e){1&t&&r.Pb(0)}function $(t,e){if(1&t&&(r.Tb(0,"div",3),r.Fc(1,Z,1,0,"ng-container",4),r.Sb()),2&t){const t=r.fc(),e=r.vc(4);r.nc("ngxAppendToInput",t.inputElement),r.Cb(1),r.nc("ngTemplateOutlet",e)}}function X(t,e){1&t&&r.Pb(0)}function K(t,e){if(1&t&&r.Fc(0,X,1,0,"ng-container",4),2&t){r.fc();const t=r.vc(4);r.nc("ngTemplateOutlet",t)}}function Q(t,e){1&t&&r.lc(0)}let tt=(()=>{let t=class{constructor(){this.backdropClickSubject=new s.a,this.keydownEventSubject=new s.a}get backdropClick(){return this.backdropClickSubject.asObservable().pipe(Object(d.a)({bufferSize:1,refCount:!0}))}get keydownEvent(){return this.keydownEventSubject.asObservable().pipe(Object(d.a)({bufferSize:1,refCount:!0}))}dispatchEvent(t){switch(t.type){case"click":this.backdropClickSubject.next(t);break;case"keydown":this.keydownEventSubject.next(t);break;default:throw new Error("no such event type")}}};return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=r.Jb({token:t,factory:function(e){return t.\u0275fac(e)},providedIn:"root"}),t.ngInjectableDef=Object(r.Jb)({factory:function(){return new t},token:t,providedIn:"root"}),t})(),et=(()=>{let t=class{constructor(t,e,n,i){this.cfr=t,this.appRef=e,this.injector=n,this.document=i}appendTimepickerToBody(t,e){this.componentRef=this.cfr.resolveComponentFactory(t).create(this.injector),Object.keys(e).forEach(t=>this.componentRef.instance[t]=e[t]),this.appRef.attachView(this.componentRef.hostView),this.document.body.appendChild(this.componentRef.hostView.rootNodes[0])}destroyTimepicker(){this.componentRef.destroy(),this.appRef.detachView(this.componentRef.hostView)}};return t.\u0275fac=function(e){return new(e||t)(r.Xb(r.j),r.Xb(r.g),r.Xb(r.t),r.Xb(o.d,8))},t.\u0275prov=r.Jb({token:t,factory:function(e){return t.\u0275fac(e)},providedIn:"root"}),t.ngInjectableDef=Object(r.Jb)({factory:function(){return new t(Object(r.Xb)(r.j),Object(r.Xb)(r.g),Object(r.Xb)(r.p),Object(r.Xb)(o.d,8))},token:t,providedIn:"root"}),t=i([a(3,Object(r.C)()),a(3,Object(r.q)(o.d))],t),t})();var nt=function(t){return t[t.HOUR=0]="HOUR",t[t.MINUTE=1]="MINUTE",t}({}),it=function(t){return t.AM="AM",t.PM="PM",t}({}),at=function(t){return t.TWELVE="hh:mm a",t.TWELVE_SHORT="h:m a",t.TWENTY_FOUR="HH:mm",t.TWENTY_FOUR_SHORT="H:m",t}({});function rt(t,e,n="minutes"){return"hours"===n?t.hour>=e.hour:"minutes"===n?t.hasSame(e,n)||t.valueOf()>e.valueOf():void 0}function ot(t,e,n="minutes"){return"hours"===n?t.hour<=e.hour:"minutes"===n?t.hasSame(e,n)||t.valueOf()<=e.valueOf():void 0}let st=(()=>{class t{static parseTime(e,n){const{numberingSystem:i,locale:a}=t.getLocaleOptionsByTime(e,n),r=2===e.split(" ").length;return p.DateTime.fromFormat(e,r?at.TWELVE_SHORT:at.TWENTY_FOUR_SHORT,{numberingSystem:i,locale:a})}static formatTime(e,n){if(!e)return"Invalid Time";const{format:i}=n,a=t.parseTime(e,n).setLocale(t.DEFAULT_LOCALE);return 24!==i?a.toLocaleString(Object.assign({},p.DateTime.TIME_SIMPLE,{hour12:24!==i,numberingSystem:t.DEFAULT_NUMBERING_SYSTEM})).replace(/\u200E/g,""):a.toISOTime({includeOffset:!1,suppressMilliseconds:!0,suppressSeconds:!0}).replace(/\u200E/g,"")}static toLocaleTimeString(e,n={}){const{format:i=t.DEFAULT_FORMAT,locale:a=t.DEFAULT_LOCALE}=n,r=Object.assign({},p.DateTime.TIME_SIMPLE,{hourCycle:24===i?"h23":"h12"});return p.DateTime.fromFormat(e,24===i?at.TWENTY_FOUR_SHORT:at.TWELVE_SHORT).setLocale(a).toLocaleString(r)}static isTimeAvailable(t,e,n,i,a,r){if(!t)return;const o=this.parseTime(t,{format:r}),s=o.minute;if(a&&s==s&&s%a!=0)throw new Error(`Your minutes - ${s} doesn't match your minutesGap - ${a}`);const l=e&&!n&&rt(o,e,i),c=n&&!e&&ot(o,n,i),d=e&&n&&function(t,e,n,i="minutes"){return"hours"===i?ot(t,n,i)&&rt(t,e,i):"minutes"===i?ot(t,n)&&rt(t,e):void 0}(o,e,n,i);return l||c||d||!e&&!n}static formatHour(t,e,n){if(24===e)return t;const i=n===it.AM?t:t+12;return n===it.AM&&12===i?0:n===it.PM&&24===i?12:i}static fromDateTimeToString(e,n){const i=24===n?at.TWENTY_FOUR:at.TWELVE;return e.reconfigure({numberingSystem:t.DEFAULT_NUMBERING_SYSTEM,locale:t.DEFAULT_LOCALE}).toFormat(i)}static getLocaleOptionsByTime(e,n){const{numberingSystem:i,locale:a}=p.DateTime.local().setLocale(n.locale).resolvedLocaleOpts(),r={numberingSystem:i,locale:a},o={numberingSystem:t.DEFAULT_NUMBERING_SYSTEM,locale:t.DEFAULT_LOCALE};return isNaN(parseInt(e,10))?r:o}}return t.DEFAULT_FORMAT=12,t.DEFAULT_LOCALE="en-US",t.DEFAULT_NUMBERING_SYSTEM="latn",t})();const lt={time:12,angle:360},ct={time:0,angle:360};let dt=(()=>{let t=class{constructor(){this.hourSubject=new l.a(lt),this.minuteSubject=new l.a(ct),this.periodSubject=new l.a(it.AM)}set hour(t){this.hourSubject.next(t)}get selectedHour(){return this.hourSubject.asObservable()}set minute(t){this.minuteSubject.next(t)}get selectedMinute(){return this.minuteSubject.asObservable()}set period(t){(t===it.AM||t===it.PM)&&this.periodSubject.next(t)}get selectedPeriod(){return this.periodSubject.asObservable()}setDefaultTimeIfAvailable(t,e,n,i,a){try{st.isTimeAvailable(t,e,n,"minutes",a)&&this.setDefaultTime(t,i)}catch(r){console.error(r)}}getFullTime(t){const e=this.hourSubject.getValue().time,n=this.minuteSubject.getValue().time,i=`${null!=e?e:lt.time}:${null!=n?n:ct.time} ${12===t?this.periodSubject.getValue():""}`.trim();return st.formatTime(i,{format:t})}setDefaultTime(t,e){const n=st.parseTime(t,{format:e}).toJSDate();if(p.DateTime.fromJSDate(n).isValid){const e=t.substr(t.length-2).toUpperCase(),i=n.getHours();this.hour=Object.assign({},lt,{time:ut(i,e)}),this.minute=Object.assign({},ct,{time:n.getMinutes()}),this.period=e}else this.resetTime()}resetTime(){this.hour=Object.assign({},lt),this.minute=Object.assign({},ct),this.period=it.AM}};return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=r.Jb({token:t,factory:function(e){return t.\u0275fac(e)},providedIn:"root"}),t.ngInjectableDef=Object(r.Jb)({factory:function(){return new t},token:t,providedIn:"root"}),t})();function ut(t,e){switch(e){case it.AM:return 0===t?12:t;case it.PM:return 12===t?12:t-12;default:return t}}const ht=new r.s("TimeLocale",{providedIn:"root",factory:()=>st.DEFAULT_LOCALE});var mt=function(t){return t.ENTER="enter",t.LEAVE="leave",t}({});let pt=(()=>{let t=class{constructor(t,e,n){this.timepickerService=t,this.eventService=e,this.locale=n,this.timeUnit=nt,this.activeTimeUnit=nt.HOUR,this.unsubscribe=new s.a}set defaultTime(t){this._defaultTime=t,this.setDefaultTime(t)}get defaultTime(){return this._defaultTime}onKeydown(t){this.eventService.dispatchEvent(t),t.stopPropagation()}ngOnInit(){this.animationState=!this.disableAnimation&&mt.ENTER,this.defineTime(),this.selectedHour=this.timepickerService.selectedHour.pipe(Object(d.a)({bufferSize:1,refCount:!0})),this.selectedMinute=this.timepickerService.selectedMinute.pipe(Object(d.a)({bufferSize:1,refCount:!0})),this.selectedPeriod=this.timepickerService.selectedPeriod.pipe(Object(d.a)({bufferSize:1,refCount:!0})),this.timepickerBaseRef.timeUpdated.pipe(Object(u.a)(this.unsubscribe)).subscribe(this.setDefaultTime.bind(this))}onHourChange(t){this.timepickerService.hour=t,this.onTimeChange()}onHourSelected(t){this.hoursOnly||this.changeTimeUnit(nt.MINUTE),this.timepickerBaseRef.hourSelected.next(t)}onMinuteChange(t){this.timepickerService.minute=t,this.onTimeChange()}changePeriod(t){this.timepickerService.period=t,this.onTimeChange()}changeTimeUnit(t){this.activeTimeUnit=t}setTime(){this.timepickerBaseRef.timeSet.next(this.timepickerService.getFullTime(this.format)),this.close()}close(){this.disableAnimation?this.timepickerBaseRef.close():this.animationState=mt.LEAVE}animationDone(t){"done"===t.phaseName&&t.toState===mt.LEAVE&&this.timepickerBaseRef.close()}ngOnDestroy(){this.unsubscribe.next(),this.unsubscribe.complete()}setDefaultTime(t){this.timepickerService.setDefaultTimeIfAvailable(t,this.minTime,this.maxTime,this.format,this.minutesGap)}defineTime(){const t=this.minTime;if(t&&!this.time&&!this.defaultTime){const e=st.fromDateTimeToString(t,this.format);this.setDefaultTime(e)}}onTimeChange(){const t=st.toLocaleTimeString(this.timepickerService.getFullTime(this.format),{locale:this.locale,format:this.format});this.timepickerBaseRef.timeChanged.emit(t)}};return t.\u0275fac=function(e){return new(e||t)(r.Nb(dt),r.Nb(tt),r.Nb(ht))},t.\u0275cmp=r.Hb({type:t,selectors:[["ngx-material-timepicker-container"]],hostBindings:function(t,e){1&t&&r.bc("keydown",function(t){return e.onKeydown(t)})},inputs:{defaultTime:"defaultTime"},features:[r.Bb([dt])],decls:22,vars:31,consts:[[1,"timepicker-backdrop-overlay",3,"overlay","ngClass"],[1,"timepicker-overlay"],[3,"appendToInput","inputElement","ngxMaterialTimepickerTheme"],[1,"timepicker",3,"ngClass"],[1,"timepicker__header"],[3,"format","hour","minute","period","activeTimeUnit","minTime","maxTime","isEditable","editableHintTmpl","minutesGap","hoursOnly","periodChanged","timeUnitChanged","hourChanged","minuteChanged"],[1,"timepicker__main-content"],[1,"timepicker__body",3,"ngSwitch"],[4,"ngSwitchCase"],[3,"selectedMinute","selectedHour","minTime","maxTime","format","period","minutesGap","minuteChange",4,"ngSwitchCase"],[1,"timepicker__actions"],[3,"click"],[4,"ngTemplateOutlet"],["cancelBtnDefault",""],["confirmBtnDefault",""],[3,"selectedHour","minTime","maxTime","format","hourChange","hourSelected",4,"ngIf","ngIfElse"],["ampmHours",""],[3,"selectedHour","minTime","maxTime","format","hourChange","hourSelected"],[3,"selectedHour","period","minTime","maxTime","hourChange","hourSelected"],[3,"selectedMinute","selectedHour","minTime","maxTime","format","period","minutesGap","minuteChange"]],template:function(t,e){if(1&t&&(r.Ob(0,"div",0),r.Tb(1,"div",1),r.Tb(2,"ngx-material-timepicker-content",2),r.Tb(3,"div",3),r.bc("@timepicker.done",function(t){return e.animationDone(t)}),r.Tb(4,"header",4),r.Tb(5,"ngx-material-timepicker-dial",5),r.bc("periodChanged",function(t){return e.changePeriod(t)})("timeUnitChanged",function(t){return e.changeTimeUnit(t)})("hourChanged",function(t){return e.onHourChange(t)})("minuteChanged",function(t){return e.onMinuteChange(t)}),r.gc(6,"async"),r.gc(7,"async"),r.gc(8,"async"),r.Sb(),r.Sb(),r.Tb(9,"div",6),r.Tb(10,"div",7),r.Fc(11,_,4,2,"div",8),r.Fc(12,y,4,13,"ngx-material-timepicker-minutes-face",9),r.Sb(),r.Tb(13,"div",10),r.Tb(14,"div",11),r.bc("click",function(){return e.close()}),r.Fc(15,v,1,0,"ng-container",12),r.Sb(),r.Tb(16,"div",11),r.bc("click",function(){return e.setTime()}),r.Fc(17,C,1,0,"ng-container",12),r.Sb(),r.Sb(),r.Sb(),r.Sb(),r.Sb(),r.Sb(),r.Fc(18,w,2,0,"ng-template",null,13,r.Gc),r.Fc(20,x,2,0,"ng-template",null,14,r.Gc)),2&t){const t=r.vc(19),n=r.vc(21);let i=null,a=null;r.nc("overlay",e.preventOverlayClick)("ngClass",r.sc(29,M,e.appendToInput)),r.Cb(2),r.nc("appendToInput",e.appendToInput)("inputElement",e.inputElement)("ngxMaterialTimepickerTheme",e.theme),r.Cb(1),r.nc("@timepicker",e.animationState)("ngClass",e.timepickerClass),r.Cb(2),r.nc("format",e.format)("hour",null==(i=r.hc(6,23,e.selectedHour))?null:i.time)("minute",null==(a=r.hc(7,25,e.selectedMinute))?null:a.time)("period",r.hc(8,27,e.selectedPeriod))("activeTimeUnit",e.activeTimeUnit)("minTime",e.minTime)("maxTime",e.maxTime)("isEditable",e.enableKeyboardInput)("editableHintTmpl",e.editableHintTmpl)("minutesGap",e.minutesGap)("hoursOnly",e.hoursOnly),r.Cb(5),r.nc("ngSwitch",e.activeTimeUnit),r.Cb(1),r.nc("ngSwitchCase",e.timeUnit.HOUR),r.Cb(1),r.nc("ngSwitchCase",e.timeUnit.MINUTE),r.Cb(3),r.nc("ngTemplateOutlet",e.cancelBtnTmpl?e.cancelBtnTmpl:t),r.Cb(2),r.nc("ngTemplateOutlet",e.confirmBtnTmpl?e.confirmBtnTmpl:n)}},directives:function(){return[At,o.j,jt,vt,Tt,o.n,o.o,o.q,o.l,xt,Mt,Ot,St]},pipes:function(){return[o.b]},styles:["[_nghost-%COMP%]{--body-background-color:#fff;--primary-font-family:'Roboto',sans-serif;--button-color:deepskyblue;--dial-active-color:#fff;--dial-inactive-color:rgba(255, 255, 255, .5);--dial-background-color:deepskyblue;--dial-editable-active-color:deepskyblue;--dial-editable-background-color:#fff;--clock-face-time-active-color:#fff;--clock-face-time-inactive-color:#6c6c6c;--clock-face-inner-time-inactive-color:#929292;--clock-face-time-disabled-color:#c5c5c5;--clock-face-background-color:#f0f0f0;--clock-hand-color:deepskyblue}.timepicker-backdrop-overlay[_ngcontent-%COMP%]{position:fixed;top:0;bottom:0;right:0;left:0;background-color:rgba(0,0,0,.3);z-index:999;pointer-events:auto}.timepicker-backdrop-overlay--transparent[_ngcontent-%COMP%]{background-color:transparent}.timepicker-overlay[_ngcontent-%COMP%]{position:fixed;top:0;left:0;width:100%;height:100%;display:flex;justify-content:center;align-items:center;z-index:999;pointer-events:none}.timepicker[_ngcontent-%COMP%]{width:300px;border-radius:2px;box-shadow:rgba(0,0,0,.25) 0 14px 45px,rgba(0,0,0,.22) 0 10px 18px;outline:0;position:static;z-index:999;pointer-events:auto}.timepicker__header[_ngcontent-%COMP%]{padding:15px 30px;background-color:#00bfff}@supports (background-color:var(--dial-background-color)){.timepicker__header[_ngcontent-%COMP%]{background-color:var(--dial-background-color)}}.timepicker__body[_ngcontent-%COMP%]{padding:15px 5px;display:flex;justify-content:center;align-items:center;background-color:#fff}@supports (background-color:var(--body-background-color)){.timepicker__body[_ngcontent-%COMP%]{background-color:var(--body-background-color)}}.timepicker__actions[_ngcontent-%COMP%]{display:flex;justify-content:flex-end;padding:15px;background-color:#fff}@supports (background-color:var(--body-background-color)){.timepicker__actions[_ngcontent-%COMP%]{background-color:var(--body-background-color)}}@media (max-device-width:1023px) and (orientation:landscape){.timepicker[_ngcontent-%COMP%]{display:flex;width:515px}.timepicker__header[_ngcontent-%COMP%]{display:flex;align-items:center}.timepicker__main-content[_ngcontent-%COMP%]{display:flex;flex-direction:column;width:100%}.timepicker__actions[_ngcontent-%COMP%]{padding:5px;margin-top:-1px}}"],data:{animation:[Object(m.n)("timepicker",[Object(m.m)(`* => ${mt.ENTER}`,[Object(m.l)({transform:"translateY(-30%)"}),Object(m.e)("0.2s ease-out",Object(m.l)({transform:"translateY(0)"}))]),Object(m.m)(`${mt.ENTER} => ${mt.LEAVE}`,[Object(m.l)({transform:"translateY(0)",opacity:1}),Object(m.e)("0.2s ease-out",Object(m.l)({transform:"translateY(-30%)",opacity:0}))])])]}}),t=i([a(2,Object(r.q)(ht))],t),t})(),ft=(()=>{let t=class{constructor(t,e){this.eventService=t,this.domService=e,this.timeUpdated=new s.a,this.isEsc=!0,this.hoursOnly=!1,this.timeSet=new r.o,this.opened=new r.o,this.closed=new r.o,this.hourSelected=new r.o,this.timeChanged=new r.o,this.unsubscribe=new s.a}set ngxMaterialTimepickerTheme(t){console.warn("'ngxMaterialTimepickerTheme' is deprecated. Use 'theme' instead"),this._ngxMaterialTimepickerTheme=t}set format(t){this._format=24===t?24:12}get format(){return this.timepickerInput?this.timepickerInput.format:this._format}set minutesGap(t){null!=t&&(t=Math.floor(t),this._minutesGap=t<=59?t:1)}get minutesGap(){return this._minutesGap}get minTime(){return this.timepickerInput?this.timepickerInput.min:this.min}get maxTime(){return this.timepickerInput?this.timepickerInput.max:this.max}get disabled(){return this.timepickerInput&&this.timepickerInput.disabled}get time(){return this.timepickerInput&&this.timepickerInput.value}get inputElement(){return this.timepickerInput&&this.timepickerInput.element}registerInput(t){if(this.timepickerInput)throw Error("A Timepicker can only be associated with a single input.");this.timepickerInput=t}open(){this.domService.appendTimepickerToBody(pt,{timepickerBaseRef:this,time:this.time,defaultTime:this.defaultTime,maxTime:this.maxTime,minTime:this.minTime,format:this.format,minutesGap:this.minutesGap,disableAnimation:this.disableAnimation,cancelBtnTmpl:this.cancelBtnTmpl,confirmBtnTmpl:this.confirmBtnTmpl,editableHintTmpl:this.editableHintTmpl,disabled:this.disabled,enableKeyboardInput:this.enableKeyboardInput,preventOverlayClick:this.preventOverlayClick,appendToInput:this.appendToInput,hoursOnly:this.hoursOnly,theme:this.theme||this._ngxMaterialTimepickerTheme,timepickerClass:this.timepickerClass,inputElement:this.inputElement}),this.opened.next(),this.subscribeToEvents()}close(){this.domService.destroyTimepicker(),this.closed.next(),this.unsubscribeFromEvents()}updateTime(t){this.timeUpdated.next(t)}subscribeToEvents(){Object(c.a)(this.eventService.backdropClick,this.eventService.keydownEvent.pipe(Object(h.a)(t=>27===t.keyCode&&this.isEsc))).pipe(Object(u.a)(this.unsubscribe)).subscribe(()=>this.close())}unsubscribeFromEvents(){this.unsubscribe.next(),this.unsubscribe.complete()}};return t.\u0275fac=function(e){return new(e||t)(r.Nb(tt),r.Nb(et))},t.\u0275cmp=r.Hb({type:t,selectors:[["ngx-material-timepicker"]],inputs:{isEsc:["ESC","isEsc"],hoursOnly:"hoursOnly",ngxMaterialTimepickerTheme:"ngxMaterialTimepickerTheme",format:"format",minutesGap:"minutesGap",cancelBtnTmpl:"cancelBtnTmpl",editableHintTmpl:"editableHintTmpl",confirmBtnTmpl:"confirmBtnTmpl",enableKeyboardInput:"enableKeyboardInput",preventOverlayClick:"preventOverlayClick",disableAnimation:"disableAnimation",appendToInput:"appendToInput",defaultTime:"defaultTime",timepickerClass:"timepickerClass",theme:"theme",min:"min",max:"max"},outputs:{timeSet:"timeSet",opened:"opened",closed:"closed",hourSelected:"hourSelected",timeChanged:"timeChanged"},decls:0,vars:0,template:function(t,e){},encapsulation:2}),t})(),gt=(()=>{let t=class{};return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=r.Ib({type:t,selectors:[["","ngxMaterialTimepickerToggleIcon",""]]}),t})(),bt=(()=>{let t=class{get disabled(){return void 0===this._disabled?this.timepicker.disabled:this._disabled}set disabled(t){this._disabled=t}open(t){this.timepicker&&(this.timepicker.open(),t.stopPropagation())}};return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=r.Hb({type:t,selectors:[["ngx-material-timepicker-toggle"]],contentQueries:function(t,e,n){if(1&t&&r.Gb(n,gt,3),2&t){let t;r.uc(t=r.cc())&&(e.customIcon=t.first)}},inputs:{disabled:"disabled",timepicker:["for","timepicker"]},ngContentSelectors:S,decls:3,vars:2,consts:[["type","button",1,"ngx-material-timepicker-toggle",3,"disabled","click"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24","width","24px","height","24px",4,"ngIf"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24","width","24px","height","24px"],["d","M 12 2 C 6.4889971 2 2 6.4889971 2 12 C 2 17.511003 6.4889971 22 12 22 C 17.511003 22 22 17.511003 22 12 C 22 6.4889971 17.511003 2 12 2 z M 12 4 C 16.430123 4 20 7.5698774 20 12 C 20 16.430123 16.430123 20 12 20 C 7.5698774 20 4 16.430123 4 12 C 4 7.5698774 7.5698774 4 12 4 z M 11 6 L 11 12.414062 L 15.292969 16.707031 L 16.707031 15.292969 L 13 11.585938 L 13 6 L 11 6 z"]],template:function(t,e){1&t&&(r.mc(k),r.Tb(0,"button",0),r.bc("click",function(t){return e.open(t)}),r.Fc(1,O,2,0,"svg",1),r.lc(2),r.Sb()),2&t&&(r.nc("disabled",e.disabled),r.Cb(1),r.nc("ngIf",!e.customIcon))},directives:[o.l],styles:[".ngx-material-timepicker-toggle[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;padding:4px;background-color:transparent;border-radius:50%;text-align:center;border:none;outline:0;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:background-color .3s;cursor:pointer}.ngx-material-timepicker-toggle[_ngcontent-%COMP%]:focus{background-color:rgba(0,0,0,.07)}"]}),t})();var _t;let yt=(()=>{let t=_t=class{constructor(t,e){this.elementRef=t,this.locale=e,this._format=12,this._value="",this.timepickerSubscriptions=[],this.onTouched=()=>{},this.onChange=()=>{}}set format(t){this._format=24===t?24:12,t&&this.previousFormat&&this.previousFormat!==this._format&&(this.value=this._value,this._timepicker.updateTime(this._value)),this.previousFormat=this._format}get format(){return this._format}set min(t){this._min="string"!=typeof t?t:st.parseTime(t,{locale:this.locale,format:this.format})}get min(){return this._min}set max(t){this._max="string"!=typeof t?t:st.parseTime(t,{locale:this.locale,format:this.format})}get max(){return this._max}set timepicker(t){this.registerTimepicker(t)}set value(t){if(!t)return this._value="",void this.updateInputValue();const e=st.formatTime(t,{locale:this.locale,format:this.format});if(st.isTimeAvailable(e,this._min,this._max,"minutes",this._timepicker.minutesGap,this._format))return this._value=e,void this.updateInputValue();console.warn("Selected time doesn't match min or max value")}get value(){return this._value?st.toLocaleTimeString(this._value,{format:this.format,locale:this.locale}):""}get element(){return this.elementRef&&this.elementRef.nativeElement}set defaultTime(t){this._timepicker.defaultTime=st.formatTime(t,{locale:this.locale,format:this.format})}updateValue(t){this.value=t,this.onChange(t)}ngOnChanges(t){t.value&&t.value.currentValue&&(this.defaultTime=t.value.currentValue)}onClick(t){this.disableClick||(this._timepicker.open(),t.stopPropagation())}writeValue(t){this.value=t,t&&(this.defaultTime=t)}registerOnChange(t){this.onChange=t}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this.disabled=t}ngOnDestroy(){this.timepickerSubscriptions.forEach(t=>t.unsubscribe())}registerTimepicker(t){if(!t)throw new Error("NgxMaterialTimepickerComponent is not defined. Please make sure you passed the timepicker to ngxTimepicker directive");this._timepicker=t,this._timepicker.registerInput(this),this.timepickerSubscriptions.push(this._timepicker.timeSet.subscribe(t=>{this.value=t,this.onChange(this.value),this.onTouched(),this.defaultTime=this._value}))}updateInputValue(){this.elementRef.nativeElement.value=this.value}};return t.\u0275fac=function(e){return new(e||t)(r.Nb(r.l),r.Nb(ht))},t.\u0275dir=r.Ib({type:t,selectors:[["","ngxTimepicker",""]],hostVars:1,hostBindings:function(t,e){1&t&&r.bc("change",function(t){return e.updateValue(t.target.value)})("blur",function(){return e.onTouched()})("click",function(t){return e.onClick(t)}),2&t&&r.Wb("disabled",e.disabled)},inputs:{format:"format",value:"value",min:"min",max:"max",timepicker:["ngxTimepicker","timepicker"],disabled:"disabled",disableClick:"disableClick"},features:[r.Bb([{provide:f.m,useExisting:_t,multi:!0}]),r.Ab]}),t=_t=i([a(1,Object(r.q)(ht))],t),t})(),vt=(()=>{let t=class{constructor(t){this.element=t.nativeElement}ngAfterViewInit(){this.theme&&this.setTheme(this.theme)}setTheme(t){for(const n in t)if(t.hasOwnProperty(n)){if("string"==typeof t[n]){for(const n in t)t.hasOwnProperty(n)&&this.element.style.setProperty(`--${e=n,e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}`,t[n]);return}this.setTheme(t[n])}var e}};return t.\u0275fac=function(e){return new(e||t)(r.Nb(r.l))},t.\u0275dir=r.Ib({type:t,selectors:[["","ngxMaterialTimepickerTheme",""]],inputs:{theme:["ngxMaterialTimepickerTheme","theme"]}}),t})();class Ct{static getHours(t){return Array(t).fill(1).map((t,e)=>{const n=t+e;return{time:24===n?0:n,angle:30*n}})}static disableHours(t,e){return e.min||e.max?t.map(t=>{const n=24===e.format?t.time:st.formatHour(t.time,e.format,e.period),i=p.DateTime.fromObject({hour:n}).toFormat(at.TWELVE);return Object.assign({},t,{disabled:!st.isTimeAvailable(i,e.min,e.max,"hours")})}):t}static getMinutes(t=1){const e=[];for(let n=0;n<60;n++){const i=6*n;n%t==0&&e.push({time:n,angle:0!==i?i:360})}return e}static disableMinutes(t,e,n){if(n.min||n.max){const i=st.formatHour(e,n.format,n.period);return t.map(t=>{const e=p.DateTime.fromObject({hour:i,minute:t.time}).toFormat(at.TWELVE);return Object.assign({},t,{disabled:!st.isTimeAvailable(e,n.min,n.max,"minutes")})})}return t}}let wt=(()=>{class t{constructor(t){this.hourChange=new r.o,this.hourSelected=new r.o,this.hoursList=[],this.hoursList=Ct.getHours(t)}onTimeSelected(t){this.hourSelected.next(t)}}return t.\u0275fac=function(t){r.ac()},t.\u0275dir=r.Ib({type:t,inputs:{selectedHour:"selectedHour",minTime:"minTime",maxTime:"maxTime",format:"format"},outputs:{hourChange:"hourChange",hourSelected:"hourSelected"}}),t})(),xt=(()=>{let t=class extends wt{constructor(){super(24)}ngAfterContentInit(){this.hoursList=Ct.disableHours(this.hoursList,{min:this.minTime,max:this.maxTime,format:this.format})}};return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=r.Hb({type:t,selectors:[["ngx-material-timepicker-24-hours-face"]],features:[r.zb],decls:1,vars:3,consts:[[3,"selectedTime","faceTime","format","timeChange","timeSelected"]],template:function(t,e){1&t&&(r.Tb(0,"ngx-material-timepicker-face",0),r.bc("timeChange",function(t){return e.hourChange.next(t)})("timeSelected",function(t){return e.onTimeSelected(t)}),r.Sb()),2&t&&r.nc("selectedTime",e.selectedHour)("faceTime",e.hoursList)("format",e.format)},directives:function(){return[kt]},encapsulation:2,changeDetection:0}),t})(),Mt=(()=>{let t=class extends wt{constructor(){super(12)}ngOnChanges(t){t.period&&t.period.currentValue&&(this.hoursList=Ct.disableHours(this.hoursList,{min:this.minTime,max:this.maxTime,format:this.format,period:this.period}))}};return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=r.Hb({type:t,selectors:[["ngx-material-timepicker-12-hours-face"]],inputs:{period:"period"},features:[r.zb,r.Ab],decls:1,vars:2,consts:[[3,"selectedTime","faceTime","timeChange","timeSelected"]],template:function(t,e){1&t&&(r.Tb(0,"ngx-material-timepicker-face",0),r.bc("timeChange",function(t){return e.hourChange.next(t)})("timeSelected",function(t){return e.onTimeSelected(t)}),r.Sb()),2&t&&r.nc("selectedTime",e.selectedHour)("faceTime",e.hoursList)},directives:function(){return[kt]},encapsulation:2,changeDetection:0}),t})(),Ot=(()=>{let t=class{constructor(){this.minutesList=[],this.timeUnit=nt,this.minuteChange=new r.o}ngOnChanges(t){if(t.period&&t.period.currentValue){const t=Ct.getMinutes(this.minutesGap);this.minutesList=Ct.disableMinutes(t,this.selectedHour,{min:this.minTime,max:this.maxTime,format:this.format,period:this.period})}}};return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=r.Hb({type:t,selectors:[["ngx-material-timepicker-minutes-face"]],inputs:{selectedMinute:"selectedMinute",selectedHour:"selectedHour",period:"period",minTime:"minTime",maxTime:"maxTime",format:"format",minutesGap:"minutesGap"},outputs:{minuteChange:"minuteChange"},features:[r.Ab],decls:1,vars:4,consts:[[3,"faceTime","selectedTime","minutesGap","unit","timeChange"]],template:function(t,e){1&t&&(r.Tb(0,"ngx-material-timepicker-face",0),r.bc("timeChange",function(t){return e.minuteChange.next(t)}),r.Sb()),2&t&&r.nc("faceTime",e.minutesList)("selectedTime",e.selectedMinute)("minutesGap",e.minutesGap)("unit",e.timeUnit.MINUTE)},directives:function(){return[kt]},encapsulation:2}),t})();let kt=(()=>{let t=class{constructor(){this.timeUnit=nt,this.innerClockFaceSize=85,this.timeChange=new r.o,this.timeSelected=new r.o}ngAfterViewInit(){this.setClockHandPosition(),this.addTouchEvents()}ngOnChanges(t){const e=t.faceTime,n=t.selectedTime;e&&e.currentValue&&n&&n.currentValue&&(this.selectedTime=this.faceTime.find(t=>t.time===this.selectedTime.time)),n&&n.currentValue&&this.setClockHandPosition(),e&&e.currentValue&&setTimeout(()=>this.selectAvailableTime())}trackByTime(t,e){return e.time}onMousedown(t){t.preventDefault(),this.isStarted=!0}selectTime(t){if(!this.isStarted&&t instanceof MouseEvent&&"click"!==t.type)return;const e=this.clockFace.nativeElement.getBoundingClientRect(),n=e.left+e.width/2,i=e.top+e.height/2,a=180*Math.atan(Math.abs(t.clientX-n)/Math.abs(t.clientY-i))/Math.PI,r=(o=n,l=t.clientX,d=a,(c=t.clientY)>(s=i)&&l>=o?180-d:c>s&&l<o?180+d:c<s&&l<o?360-d:d);var o,s,l,c,d;const u=this.format&&this.isInnerClockFace(n,i,t.clientX,t.clientY),h=(function(t,e){return Math.round(t/e)*e}(r,this.unit===nt.MINUTE?6*(this.minutesGap||1):30)||360)+(u?360:0),m=this.faceTime.find(t=>t.angle===h);m&&!m.disabled&&(this.timeChange.next(m),this.isStarted||this.timeSelected.next(m.time))}onMouseup(t){t.preventDefault(),this.isStarted=!1}ngOnDestroy(){this.removeTouchEvents()}addTouchEvents(){this.touchStartHandler=this.onMousedown.bind(this),this.touchEndHandler=this.onMouseup.bind(this),this.clockFace.nativeElement.addEventListener("touchstart",this.touchStartHandler),this.clockFace.nativeElement.addEventListener("touchend",this.touchEndHandler)}removeTouchEvents(){this.clockFace.nativeElement.removeEventListener("touchstart",this.touchStartHandler),this.clockFace.nativeElement.removeEventListener("touchend",this.touchEndHandler)}setClockHandPosition(){24===this.format&&(this.selectedTime.time>12||0===this.selectedTime.time?this.decreaseClockHand():this.increaseClockHand()),this.clockHand.nativeElement.style.transform=`rotate(${this.selectedTime.angle}deg)`}selectAvailableTime(){const t=this.faceTime.find(t=>this.selectedTime.time===t.time);if(this.isClockFaceDisabled=this.faceTime.every(t=>t.disabled),t&&t.disabled&&!this.isClockFaceDisabled){const t=this.faceTime.find(t=>!t.disabled);this.timeChange.next(t)}}isInnerClockFace(t,e,n,i){return Math.sqrt(Math.pow(n-t,2)+Math.pow(i-e,2))<this.innerClockFaceSize}decreaseClockHand(){this.clockHand.nativeElement.style.height="75px",this.clockHand.nativeElement.style.top="calc(50% - 75px)"}increaseClockHand(){this.clockHand.nativeElement.style.height="103px",this.clockHand.nativeElement.style.top="calc(50% - 103px)"}};return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=r.Hb({type:t,selectors:[["ngx-material-timepicker-face"]],viewQuery:function(t,e){if(1&t&&(r.Lc(T,3),r.Lc(P,3)),2&t){let t;r.uc(t=r.cc())&&(e.clockFace=t.first),r.uc(t=r.cc())&&(e.clockHand=t.first)}},hostBindings:function(t,e){1&t&&r.bc("mousedown",function(t){return e.onMousedown(t)})("click",function(t){return e.selectTime(t)})("touchmove",function(t){return e.selectTime(t.changedTouches[0])})("touchend",function(t){return e.selectTime(t.changedTouches[0])})("mousemove",function(t){return e.selectTime(t)})("mouseup",function(t){return e.onMouseup(t)})},inputs:{selectedTime:"selectedTime",faceTime:"faceTime",unit:"unit",format:"format",minutesGap:"minutesGap"},outputs:{timeChange:"timeChange",timeSelected:"timeSelected"},features:[r.Ab],decls:7,vars:6,consts:[[1,"clock-face"],["clockFace",""],["class","clock-face__container",4,"ngIf","ngIfElse"],[1,"clock-face__clock-hand",3,"ngClass","hidden"],["clockHand",""],["minutesFace",""],[1,"clock-face__container"],["class","clock-face__number clock-face__number--outer",3,"ngStyle",4,"ngFor","ngForOf","ngForTrackBy"],["class","clock-face__inner",3,"top",4,"ngIf"],[1,"clock-face__number","clock-face__number--outer",3,"ngStyle"],[3,"ngStyle","ngClass"],[1,"clock-face__inner"],["class","clock-face__number clock-face__number--inner",3,"ngStyle","height",4,"ngFor","ngForOf","ngForTrackBy"],[1,"clock-face__number","clock-face__number--inner",3,"ngStyle"]],template:function(t,e){if(1&t&&(r.Tb(0,"div",0,1),r.Fc(2,R,4,7,"div",2),r.Ob(3,"span",3,4),r.Sb(),r.Fc(5,Y,2,2,"ng-template",null,5,r.Gc)),2&t){const t=r.vc(6);r.Cb(2),r.nc("ngIf",e.unit!==e.timeUnit.MINUTE)("ngIfElse",t),r.Cb(1),r.nc("ngClass",r.sc(4,H,e.unit===e.timeUnit.MINUTE))("hidden",e.isClockFaceDisabled)}},directives:function(){return[o.l,o.j,o.k,o.m]},pipes:function(){return[o.t,Yt,Nt,Ht,It]},styles:[".clock-face[_ngcontent-%COMP%]{width:290px;height:290px;border-radius:50%;position:relative;display:flex;justify-content:center;padding:20px;box-sizing:border-box;background-color:#f0f0f0}@supports (background-color:var(--clock-face-background-color)){.clock-face[_ngcontent-%COMP%]{background-color:var(--clock-face-background-color)}}.clock-face__inner[_ngcontent-%COMP%]{position:absolute}.clock-face__container[_ngcontent-%COMP%]{margin-left:-2px}.clock-face__number[_ngcontent-%COMP%]{position:absolute;transform-origin:0 100%;width:50px;text-align:center;z-index:2}.clock-face__number--outer[_ngcontent-%COMP%]{height:calc(290px / 2 - 20px)}.clock-face__number--outer[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{font-size:16px;color:#6c6c6c}@supports (color:var(--clock-face-time-inactive-color)){.clock-face__number--outer[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{color:var(--clock-face-time-inactive-color)}}.clock-face__number--inner[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{font-size:14px;color:#929292}@supports (color:var(--clock-face-inner-time-inactive-color)){.clock-face__number--inner[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{color:var(--clock-face-inner-time-inactive-color)}}.clock-face__number[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;width:30px;height:30px;display:flex;justify-content:center;align-items:center;margin:auto;border-radius:50%;font-weight:500;font-family:Roboto,sans-serif}@supports (font-family:var(--primary-font-family)){.clock-face__number[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{font-family:var(--primary-font-family)}}.clock-face__number[_ngcontent-%COMP%] > span.active[_ngcontent-%COMP%]{background-color:#00bfff;color:#fff}@supports (background-color:var(--clock-hand-color)){.clock-face__number[_ngcontent-%COMP%] > span.active[_ngcontent-%COMP%]{background-color:var(--clock-hand-color);color:var(--clock-face-time-active-color)}}.clock-face__number[_ngcontent-%COMP%] > span.disabled[_ngcontent-%COMP%]{color:#c5c5c5}@supports (color:var(--clock-face-time-disabled-color)){.clock-face__number[_ngcontent-%COMP%] > span.disabled[_ngcontent-%COMP%]{color:var(--clock-face-time-disabled-color)}}.clock-face__clock-hand[_ngcontent-%COMP%]{height:103px;width:2px;transform-origin:0 100%;position:absolute;top:calc(50% - 103px);z-index:1;background-color:#00bfff}@supports (background-color:var(--clock-hand-color)){.clock-face__clock-hand[_ngcontent-%COMP%]{background-color:var(--clock-hand-color)}}.clock-face__clock-hand[_ngcontent-%COMP%]:after{content:'';width:7px;height:7px;border-radius:50%;background-color:inherit;position:absolute;bottom:-3px;left:-3.5px}.clock-face__clock-hand_minute[_ngcontent-%COMP%]:before{content:'';width:7px;height:7px;background-color:#fff;border-radius:50%;position:absolute;top:-8px;left:calc(50% - 8px);box-sizing:content-box;border:4px solid #00bfff}@supports (border-color:var(--clock-hand-color)){.clock-face__clock-hand_minute[_ngcontent-%COMP%]:before{border-color:var(--clock-hand-color)}}@media (max-device-width:1023px) and (orientation:landscape){.clock-face[_ngcontent-%COMP%]{width:225px;height:225px;padding:5px}.clock-face__number--outer[_ngcontent-%COMP%]{height:calc(225px / 2 - 5px)}.clock-face__clock-hand_minute[_ngcontent-%COMP%]:before{top:0}}"],changeDetection:0}),t})(),St=(()=>{let t=class{};return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=r.Hb({type:t,selectors:[["ngx-material-timepicker-button"]],ngContentSelectors:j,decls:3,vars:0,consts:[["type","button",1,"timepicker-button"]],template:function(t,e){1&t&&(r.mc(),r.Tb(0,"button",0),r.Tb(1,"span"),r.lc(2),r.Sb(),r.Sb())},styles:[".timepicker-button[_ngcontent-%COMP%]{display:inline-block;height:36px;min-width:88px;line-height:36px;border:12px;border-radius:2px;background-color:transparent;text-align:center;transition:450ms cubic-bezier(.23,1,.32,1);overflow:hidden;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;position:relative;cursor:pointer;outline:0;color:#00bfff}@supports (color:var(--button-color)){.timepicker-button[_ngcontent-%COMP%]{color:var(--button-color)}}.timepicker-button[_ngcontent-%COMP%]:focus, .timepicker-button[_ngcontent-%COMP%]:hover{background-color:rgba(153,153,153,.2)}.timepicker-button[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{font-size:14px;text-transform:uppercase;font-weight:600;padding-left:16px;padding-right:16px;font-family:Roboto,sans-serif}@supports (font-family:var(--primary-font-family)){.timepicker-button[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{font-family:var(--primary-font-family)}}"]}),t})(),Tt=(()=>{let t=class{constructor(t){this.locale=t,this.timeUnit=nt,this.meridiems=p.Info.meridiems({locale:this.locale}),this.periodChanged=new r.o,this.timeUnitChanged=new r.o,this.hourChanged=new r.o,this.minuteChanged=new r.o}ngOnChanges(t){if(t.period&&t.period.currentValue||t.format&&t.format.currentValue){const t=Ct.getHours(this.format);this.hours=Ct.disableHours(t,{min:this.minTime,max:this.maxTime,format:this.format,period:this.period})}if(t.period&&t.period.currentValue||t.hour&&t.hour.currentValue){const t=Ct.getMinutes(this.minutesGap);this.minutes=Ct.disableMinutes(t,+this.hour,{min:this.minTime,max:this.maxTime,format:this.format,period:this.period})}}changeTimeUnit(t){this.timeUnitChanged.next(t)}changePeriod(t){this.periodChanged.next(t)}changeHour(t){this.hourChanged.next(t)}changeMinute(t){this.minuteChanged.next(t)}showHint(){this.isHintVisible=!0}hideHint(){this.isHintVisible=!1}};return t.\u0275fac=function(e){return new(e||t)(r.Nb(ht))},t.\u0275cmp=r.Hb({type:t,selectors:[["ngx-material-timepicker-dial"]],inputs:{editableHintTmpl:"editableHintTmpl",hour:"hour",minute:"minute",format:"format",period:"period",activeTimeUnit:"activeTimeUnit",minTime:"minTime",maxTime:"maxTime",isEditable:"isEditable",minutesGap:"minutesGap",hoursOnly:"hoursOnly"},outputs:{periodChanged:"periodChanged",timeUnitChanged:"timeUnitChanged",hourChanged:"hourChanged",minuteChanged:"minuteChanged"},features:[r.Ab],decls:9,vars:25,consts:[[1,"timepicker-dial"],[1,"timepicker-dial__container"],[1,"timepicker-dial__time"],[3,"timeList","time","timeUnit","isActive","isEditable","timeUnitChanged","timeChanged","focused","unfocused"],[3,"timeList","time","timeUnit","isActive","isEditable","minutesGap","disabled","timeUnitChanged","timeChanged","focused","unfocused"],[1,"timepicker-dial__period",3,"ngClass","selectedPeriod","activeTimeUnit","maxTime","minTime","format","hours","minutes","selectedHour","meridiems","periodChanged"],[3,"ngClass",4,"ngIf"],[3,"ngClass"],[4,"ngTemplateOutlet"],["editableHintDefault",""],[1,"timepicker-dial__hint"]],template:function(t,e){1&t&&(r.Tb(0,"div",0),r.Tb(1,"div",1),r.Tb(2,"div",2),r.Tb(3,"ngx-material-timepicker-dial-control",3),r.bc("timeUnitChanged",function(t){return e.changeTimeUnit(t)})("timeChanged",function(t){return e.changeHour(t)})("focused",function(){return e.showHint()})("unfocused",function(){return e.hideHint()}),r.Sb(),r.Tb(4,"span"),r.Hc(5,":"),r.Sb(),r.Tb(6,"ngx-material-timepicker-dial-control",4),r.bc("timeUnitChanged",function(t){return e.changeTimeUnit(t)})("timeChanged",function(t){return e.changeMinute(t)})("focused",function(){return e.showHint()})("unfocused",function(){return e.hideHint()}),r.Sb(),r.Sb(),r.Tb(7,"ngx-material-timepicker-period",5),r.bc("periodChanged",function(t){return e.changePeriod(t)}),r.Sb(),r.Sb(),r.Fc(8,B,4,4,"div",6),r.Sb()),2&t&&(r.Cb(3),r.nc("timeList",e.hours)("time",e.hour)("timeUnit",e.timeUnit.HOUR)("isActive",e.activeTimeUnit===e.timeUnit.HOUR)("isEditable",e.isEditable),r.Cb(3),r.nc("timeList",e.minutes)("time",e.minute)("timeUnit",e.timeUnit.MINUTE)("isActive",e.activeTimeUnit===e.timeUnit.MINUTE)("isEditable",e.isEditable)("minutesGap",e.minutesGap)("disabled",e.hoursOnly),r.Cb(1),r.nc("ngClass",r.sc(23,W,24===e.format))("selectedPeriod",e.period)("activeTimeUnit",e.activeTimeUnit)("maxTime",e.maxTime)("minTime",e.minTime)("format",e.format)("hours",e.hours)("minutes",e.minutes)("selectedHour",e.hour)("meridiems",e.meridiems),r.Cb(1),r.nc("ngIf",e.isEditable||e.editableHintTmpl))},directives:function(){return[Lt,Et,o.j,o.l,o.q]},styles:[".timepicker-dial[_ngcontent-%COMP%]{text-align:right}.timepicker-dial__container[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:flex-end;-webkit-tap-highlight-color:transparent}.timepicker-dial__time[_ngcontent-%COMP%]{display:flex;align-items:baseline;line-height:normal;font-size:50px;color:rgba(255,255,255,.5);font-family:Roboto,sans-serif}@supports (font-family:var(--primary-font-family)){.timepicker-dial__time[_ngcontent-%COMP%]{font-family:var(--primary-font-family);color:var(--dial-inactive-color)}}.timepicker-dial__period[_ngcontent-%COMP%]{display:block;margin-left:10px}.timepicker-dial__hint-container--hidden[_ngcontent-%COMP%], .timepicker-dial__period--hidden[_ngcontent-%COMP%]{visibility:hidden}.timepicker-dial__hint[_ngcontent-%COMP%]{display:inline-block;font-size:10px;color:#fff}@supports (color:var(--dial-active-color)){.timepicker-dial__hint[_ngcontent-%COMP%]{color:var(--dial-active-color)}}.timepicker-dial__hint[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:14px}@media (max-device-width:1023px) and (orientation:landscape){.timepicker-dial__container[_ngcontent-%COMP%]{flex-direction:column}.timepicker-dial__period[_ngcontent-%COMP%]{margin-left:0}}"],changeDetection:0}),t=i([a(0,Object(r.q)(ht))],t),t})(),Pt=(()=>{let t=class{constructor(t){this.locale=t,this.numberingSystem=p.DateTime.local().setLocale(this.locale).resolvedLocaleOpts().numberingSystem}transform(t,e=nt.HOUR){return null==t||""===t?"":isNaN(+t)?e===nt.MINUTE?this.parseTime(t,"m","minute"):this.parseTime(t,"H","hour"):t}parseTime(t,e,n){const i=p.DateTime.fromFormat(String(t),e,{numberingSystem:this.numberingSystem})[n];if(!isNaN(i))return i;throw new Error(`Cannot parse time - ${t}`)}};return t.\u0275fac=function(e){return new(e||t)(r.Nb(ht))},t.\u0275pipe=r.Mb({name:"timeParser",type:t,pure:!0}),t.\u0275prov=r.Jb({token:t,factory:function(e){return t.\u0275fac(e)}}),t=i([a(0,Object(r.q)(ht))],t),t})(),Lt=(()=>{let t=class{constructor(t){this.timeParserPipe=t,this.timeUnitChanged=new r.o,this.timeChanged=new r.o,this.focused=new r.o,this.unfocused=new r.o}get selectedTime(){if(this.time)return this.timeList.find(t=>t.time===+this.time)}saveTimeAndChangeTimeUnit(t,e){t.preventDefault(),this.previousTime=this.time,this.timeUnitChanged.next(e),this.focused.next()}updateTime(){const t=this.selectedTime;t&&(this.timeChanged.next(t),this.previousTime=t.time)}changeTimeByKeyboard(t){const e=String.fromCharCode(t.keyCode);(function(t,e,n){if(/\d/.test(e))return Dt(t+e,n)})(this.time,e,this.timeList)&&t.preventDefault()}onKeydown(t){!function(t){return!!([46,8,9,27,13].some(e=>e===t.keyCode)||65==t.keyCode&&(!0===t.ctrlKey||!0===t.metaKey)||67==t.keyCode&&(!0===t.ctrlKey||!0===t.metaKey)||88==t.keyCode&&(!0===t.ctrlKey||!0===t.metaKey)||t.keyCode>=35&&t.keyCode<=40)||!((t.keyCode<48||t.keyCode>57)&&(t.keyCode<96||t.keyCode>105))}(t)?t.preventDefault():this.changeTimeByArrow(t.keyCode)}onModelChange(t){this.time=this.timeParserPipe.transform(t,this.timeUnit).toString()}changeTimeByArrow(t){let e;38===t?e=String(+this.time+(this.minutesGap||1)):40===t&&(e=String(+this.time-(this.minutesGap||1))),Dt(e,this.timeList)||(this.time=e,this.updateTime())}};return t.\u0275fac=function(e){return new(e||t)(r.Nb(Pt))},t.\u0275cmp=r.Hb({type:t,selectors:[["ngx-material-timepicker-dial-control"]],inputs:{time:"time",timeList:"timeList",timeUnit:"timeUnit",isActive:"isActive",isEditable:"isEditable",minutesGap:"minutesGap",disabled:"disabled"},outputs:{timeUnitChanged:"timeUnitChanged",timeChanged:"timeChanged",focused:"focused",unfocused:"unfocused"},features:[r.Bb([Pt])],decls:3,vars:2,consts:[["class","timepicker-dial__control timepicker-dial__item","readonly","",3,"ngClass","ngModel","disabled","timepickerAutofocus","ngModelChange","input","focus",4,"ngIf","ngIfElse"],["editableTemplate",""],["readonly","",1,"timepicker-dial__control","timepicker-dial__item",3,"ngClass","ngModel","disabled","timepickerAutofocus","ngModelChange","input","focus"],[1,"timepicker-dial__control","timepicker-dial__item","timepicker-dial__control_editable",3,"ngClass","ngModel","disabled","timepickerAutofocus","ngModelChange","input","focus","keydown","keypress"]],template:function(t,e){if(1&t&&(r.Fc(0,q,2,9,"input",0),r.Fc(1,G,3,13,"ng-template",null,1,r.Gc)),2&t){const t=r.vc(2);r.nc("ngIf",!e.isEditable)("ngIfElse",t)}},directives:function(){return[o.l,f.c,o.j,f.o,f.r,Rt]},pipes:function(){return[Nt,Pt]},styles:[".timepicker-dial__item[_ngcontent-%COMP%]{cursor:pointer;color:rgba(255,255,255,.5);font-family:Roboto,sans-serif}@supports (font-family:var(--primary-font-family)){.timepicker-dial__item[_ngcontent-%COMP%]{font-family:var(--primary-font-family);color:var(--dial-inactive-color)}}.timepicker-dial__item_active[_ngcontent-%COMP%]{color:#fff}@supports (color:var(--dial-active-color)){.timepicker-dial__item_active[_ngcontent-%COMP%]{color:var(--dial-active-color)}}.timepicker-dial__control[_ngcontent-%COMP%]{border:none;background-color:transparent;font-size:50px;width:60px;padding:0;border-radius:3px;text-align:right}.timepicker-dial__control_editable[_ngcontent-%COMP%]:focus{color:#00bfff;background-color:#fff;outline:#00bfff}@supports (color:var(--dial-editable-active-color)){.timepicker-dial__control_editable[_ngcontent-%COMP%]:focus{color:var(--dial-editable-active-color)}}@supports (background-color:var(--dial-editable-background-color)){.timepicker-dial__control_editable[_ngcontent-%COMP%]:focus{background-color:var(--dial-editable-background-color)}}@supports (outline:var(--dial-editable-active-color)){.timepicker-dial__control_editable[_ngcontent-%COMP%]:focus{outline:var(--dial-editable-active-color)}}.timepicker-dial__control[_ngcontent-%COMP%]:disabled{cursor:default}"]}),t})();function Dt(t,e){const n=e.find(e=>e.time===+t);return!n||n&&n.disabled}let Et=(()=>{let t=class{constructor(){this.timePeriod=it,this.isPeriodAvailable=!0,this.periodChanged=new r.o}changePeriod(t){this.isPeriodAvailable=this.isSwitchPeriodAvailable(t),this.isPeriodAvailable&&this.periodChanged.next(t)}animationDone(){this.isPeriodAvailable=!0}isSwitchPeriodAvailable(t){return!this.getDisabledTimeByPeriod(t).every(t=>t.disabled)}getDisabledTimeByPeriod(t){switch(this.activeTimeUnit){case nt.HOUR:return Ct.disableHours(this.hours,{min:this.minTime,max:this.maxTime,format:this.format,period:t});case nt.MINUTE:return Ct.disableMinutes(this.minutes,+this.selectedHour,{min:this.minTime,max:this.maxTime,format:this.format,period:t});default:throw new Error("no such TimeUnit")}}};return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=r.Hb({type:t,selectors:[["ngx-material-timepicker-period"]],inputs:{selectedPeriod:"selectedPeriod",format:"format",activeTimeUnit:"activeTimeUnit",hours:"hours",minutes:"minutes",minTime:"minTime",maxTime:"maxTime",selectedHour:"selectedHour",meridiems:"meridiems"},outputs:{periodChanged:"periodChanged"},decls:6,vars:9,consts:[[1,"timepicker-period"],["type","button",1,"timepicker-dial__item","timepicker-period__btn",3,"ngClass","click"],["class","timepicker-period__warning",4,"ngIf"],[1,"timepicker-period__warning"]],template:function(t,e){1&t&&(r.Tb(0,"div",0),r.Tb(1,"button",1),r.bc("click",function(){return e.changePeriod(e.timePeriod.AM)}),r.Hc(2),r.Sb(),r.Tb(3,"button",1),r.bc("click",function(){return e.changePeriod(e.timePeriod.PM)}),r.Hc(4),r.Sb(),r.Fc(5,J,3,1,"div",2),r.Sb()),2&t&&(r.Cb(1),r.nc("ngClass",r.sc(5,U,e.selectedPeriod===e.timePeriod.AM)),r.Cb(1),r.Ic(e.meridiems[0]),r.Cb(1),r.nc("ngClass",r.sc(7,U,e.selectedPeriod===e.timePeriod.PM)),r.Cb(1),r.Ic(e.meridiems[1]),r.Cb(1),r.nc("ngIf",!e.isPeriodAvailable))},directives:[o.j,o.l],styles:[".timepicker-dial__item[_ngcontent-%COMP%]{cursor:pointer;color:rgba(255,255,255,.5);font-family:Roboto,sans-serif}@supports (font-family:var(--primary-font-family)){.timepicker-dial__item[_ngcontent-%COMP%]{font-family:var(--primary-font-family);color:var(--dial-inactive-color)}}.timepicker-dial__item_active[_ngcontent-%COMP%]{color:#fff}@supports (color:var(--dial-active-color)){.timepicker-dial__item_active[_ngcontent-%COMP%]{color:var(--dial-active-color)}}.timepicker-period[_ngcontent-%COMP%]{display:flex;flex-direction:column;position:relative}.timepicker-period__btn[_ngcontent-%COMP%]{padding:1px 3px;border:0;background-color:transparent;font-size:18px;font-weight:500;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;outline:0;border-radius:3px;transition:background-color .5s;font-family:Roboto,sans-serif}.timepicker-period__btn[_ngcontent-%COMP%]:focus{background-color:rgba(0,0,0,.07)}.timepicker-period__warning[_ngcontent-%COMP%]{padding:5px 10px;border-radius:3px;background-color:rgba(0,0,0,.55);color:#fff;position:absolute;width:200px;left:-20px;top:40px}.timepicker-period__warning[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]{margin:0;font-size:12px;font-family:Roboto,sans-serif}@supports (font-family:var(--primary-font-family)){.timepicker-period__btn[_ngcontent-%COMP%], .timepicker-period__warning[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]{font-family:var(--primary-font-family)}}"],data:{animation:[Object(m.n)("scaleInOut",[Object(m.m)(":enter",[Object(m.l)({transform:"scale(0)"}),Object(m.e)(".2s",Object(m.l)({transform:"scale(1)"})),Object(m.j)([Object(m.e)("3s",Object(m.l)({opacity:1})),Object(m.e)(".3s",Object(m.l)({opacity:0}))])])])]}}),t})(),At=(()=>{let t=class{constructor(t){this.eventService=t}onClick(t){this.preventClick||this.eventService.dispatchEvent(t),t.preventDefault()}};return t.\u0275fac=function(e){return new(e||t)(r.Nb(tt))},t.\u0275dir=r.Ib({type:t,selectors:[["","overlay",""]],hostBindings:function(t,e){1&t&&r.bc("click",function(t){return e.onClick(t)})},inputs:{preventClick:["overlay","preventClick"]}}),t})(),It=(()=>{let t=class{transform(t,e=5){return t?t%e==0?t:"":t}};return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=r.Mb({name:"minutesFormatter",type:t,pure:!0}),t})(),Rt=(()=>{let t=class{constructor(t,e){this.element=t,this.document=e,this.activeElement=this.document.activeElement}ngOnChanges(){this.isFocusActive&&setTimeout(()=>this.element.nativeElement.focus({preventScroll:!0}))}ngOnDestroy(){setTimeout(()=>this.activeElement.focus({preventScroll:!0}))}};return t.\u0275fac=function(e){return new(e||t)(r.Nb(r.l),r.Nb(o.d,8))},t.\u0275dir=r.Ib({type:t,selectors:[["","timepickerAutofocus",""]],inputs:{isFocusActive:["timepickerAutofocus","isFocusActive"]},features:[r.Ab]}),t=i([a(1,Object(r.C)()),a(1,Object(r.q)(o.d))],t),t})(),Nt=(()=>{let t=class{constructor(t){this.locale=t}transform(t,e,n=!1){if(null==t||""===t)return"";switch(e){case nt.HOUR:return this.formatTime("hour",t,0===t||n?"HH":"H");case nt.MINUTE:return this.formatTime("minute",t,"mm");default:throw new Error(`There is no Time Unit with type ${e}`)}}formatTime(t,e,n){try{return p.DateTime.fromObject({[t]:+e}).setLocale(this.locale).toFormat(n)}catch(i){throw new Error(`Cannot format provided time - ${e} to locale - ${this.locale}`)}}};return t.\u0275fac=function(e){return new(e||t)(r.Nb(ht))},t.\u0275pipe=r.Mb({name:"timeLocalizer",type:t,pure:!0}),t=i([a(0,Object(r.q)(ht))],t),t})(),Yt=(()=>{let t=class{transform(t,e,n){return null!=t&&!n&&t===e}};return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=r.Mb({name:"activeHour",type:t,pure:!0}),t})(),Ht=(()=>{let t=class{transform(t,e,n,i){return null!=t&&!i&&e===t&&t%(n||5)==0}};return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=r.Mb({name:"activeMinute",type:t,pure:!0}),t})(),jt=(()=>{let t=class{};return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=r.Hb({type:t,selectors:[["ngx-material-timepicker-content"]],inputs:{appendToInput:"appendToInput",inputElement:"inputElement"},ngContentSelectors:j,decls:5,vars:2,consts:[[3,"ngxAppendToInput",4,"ngIf","ngIfElse"],["timepickerModal",""],["timepickerOutlet",""],[3,"ngxAppendToInput"],[4,"ngTemplateOutlet"]],template:function(t,e){if(1&t&&(r.mc(),r.Fc(0,$,2,2,"div",0),r.Fc(1,K,1,1,"ng-template",null,1,r.Gc),r.Fc(3,Q,1,0,"ng-template",null,2,r.Gc)),2&t){const t=r.vc(2);r.nc("ngIf",e.appendToInput)("ngIfElse",t)}},directives:function(){return[o.l,Ft,o.q]},encapsulation:2}),t})(),Ft=(()=>{let t=class{constructor(t,e){this.renderer=e,this.element=t.nativeElement}get inputCords(){return this.inputElement.getBoundingClientRect()}get direction(){const t=this.element.offsetHeight,{bottom:e,top:n}=this._inputCords,i=(window&&window.innerHeight)-e<t;return i&&n>t?"top":i&&n<t?"center":"bottom"}ngAfterViewInit(){this._inputCords=this.inputCords,this._direction=this.direction,this.append()}changePosition(){const{bottom:t,top:e}=this.inputCords,n=this.defineElementYByDirection(e,t);this.setStyle("top",`${n}px`)}append(){const{left:t,bottom:e,top:n}=this._inputCords,i=this.defineElementYByDirection(n,e);this.setStyle("position","fixed"),this.setStyle("left",`${t}px`),this.setStyle("top",`${i}px`)}setStyle(t,e){this.renderer.setStyle(this.element,t,e)}defineElementYByDirection(t,e){return"top"===this._direction?t-this.element.offsetHeight:"center"===this._direction?t-this.element.offsetHeight/2:e}};return t.\u0275fac=function(e){return new(e||t)(r.Nb(r.l),r.Nb(r.G))},t.\u0275dir=r.Ib({type:t,selectors:[["","ngxAppendToInput",""]],hostBindings:function(t,e){1&t&&r.bc("scroll",function(){return e.changePosition()},!1,r.xc)},inputs:{inputElement:["ngxAppendToInput","inputElement"]}}),t})();var zt;let Vt=(()=>{let t=zt=class{static setLocale(t){return{ngModule:zt,providers:[{provide:ht,useValue:t}]}}};return t.\u0275mod=r.Lb({type:t}),t.\u0275inj=r.Kb({factory:function(e){return new(e||t)},imports:[[o.c,f.j]]}),t})()},czMo:function(t,e,n){!function(t){"use strict";t.defineLocale("en-il",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")}})}(n("wd/R"))},dNwA:function(t,e,n){!function(t){"use strict";t.defineLocale("sw",{months:"Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des".split("_"),weekdays:"Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi".split("_"),weekdaysShort:"Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos".split("_"),weekdaysMin:"J2_J3_J4_J5_Al_Ij_J1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"hh:mm A",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[leo saa] LT",nextDay:"[kesho saa] LT",nextWeek:"[wiki ijayo] dddd [saat] LT",lastDay:"[jana] LT",lastWeek:"[wiki iliyopita] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s baadaye",past:"tokea %s",s:"hivi punde",ss:"sekunde %d",m:"dakika moja",mm:"dakika %d",h:"saa limoja",hh:"masaa %d",d:"siku moja",dd:"siku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}})}(n("wd/R"))},"e+ae":function(t,e,n){!function(t){"use strict";var e="janu\xe1r_febru\xe1r_marec_apr\xedl_m\xe1j_j\xfan_j\xfal_august_september_okt\xf3ber_november_december".split("_"),n="jan_feb_mar_apr_m\xe1j_j\xfan_j\xfal_aug_sep_okt_nov_dec".split("_");function i(t){return t>1&&t<5}function a(t,e,n,a){var r=t+" ";switch(n){case"s":return e||a?"p\xe1r sek\xfand":"p\xe1r sekundami";case"ss":return e||a?r+(i(t)?"sekundy":"sek\xfand"):r+"sekundami";case"m":return e?"min\xfata":a?"min\xfatu":"min\xfatou";case"mm":return e||a?r+(i(t)?"min\xfaty":"min\xfat"):r+"min\xfatami";case"h":return e?"hodina":a?"hodinu":"hodinou";case"hh":return e||a?r+(i(t)?"hodiny":"hod\xedn"):r+"hodinami";case"d":return e||a?"de\u0148":"d\u0148om";case"dd":return e||a?r+(i(t)?"dni":"dn\xed"):r+"d\u0148ami";case"M":return e||a?"mesiac":"mesiacom";case"MM":return e||a?r+(i(t)?"mesiace":"mesiacov"):r+"mesiacmi";case"y":return e||a?"rok":"rokom";case"yy":return e||a?r+(i(t)?"roky":"rokov"):r+"rokmi"}}t.defineLocale("sk",{months:e,monthsShort:n,weekdays:"nede\u013ea_pondelok_utorok_streda_\u0161tvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_\u0161t_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_\u0161t_pi_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm"},calendar:{sameDay:"[dnes o] LT",nextDay:"[zajtra o] LT",nextWeek:function(){switch(this.day()){case 0:return"[v nede\u013eu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo \u0161tvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[v\u010dera o] LT",lastWeek:function(){switch(this.day()){case 0:return"[minul\xfa nede\u013eu o] LT";case 1:case 2:return"[minul\xfd] dddd [o] LT";case 3:return"[minul\xfa stredu o] LT";case 4:case 5:return"[minul\xfd] dddd [o] LT";case 6:return"[minul\xfa sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s:a,ss:a,m:a,mm:a,h:a,hh:a,d:a,dd:a,M:a,MM:a,y:a,yy:a},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},e6WT:function(t,e,n){"use strict";n.d(e,"a",function(){return p}),n.d(e,"b",function(){return y}),n.d(e,"c",function(){return v});var i=n("SCoL"),a=n("8Y7J"),r=n("8LU1"),o=n("EY2u"),s=n("XNiG");n("xgIS"),n("3UWI"),n("1G5W"),n("SVse");const l=Object(i.f)({passive:!0});let c=(()=>{class t{constructor(t,e){this._platform=t,this._ngZone=e,this._monitoredElements=new Map}monitor(t){if(!this._platform.isBrowser)return o.a;const e=Object(r.e)(t),n=this._monitoredElements.get(e);if(n)return n.subject;const i=new s.a,a="cdk-text-field-autofilled",c=t=>{"cdk-text-field-autofill-start"!==t.animationName||e.classList.contains(a)?"cdk-text-field-autofill-end"===t.animationName&&e.classList.contains(a)&&(e.classList.remove(a),this._ngZone.run(()=>i.next({target:t.target,isAutofilled:!1}))):(e.classList.add(a),this._ngZone.run(()=>i.next({target:t.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{e.addEventListener("animationstart",c,l),e.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(e,{subject:i,unlisten:()=>{e.removeEventListener("animationstart",c,l)}}),i}stopMonitoring(t){const e=Object(r.e)(t),n=this._monitoredElements.get(e);n&&(n.unlisten(),n.subject.complete(),e.classList.remove("cdk-text-field-autofill-monitored"),e.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(e))}ngOnDestroy(){this._monitoredElements.forEach((t,e)=>this.stopMonitoring(e))}}return t.\u0275fac=function(e){return new(e||t)(a.Xb(i.a),a.Xb(a.B))},t.\u0275prov=Object(a.Jb)({factory:function(){return new t(Object(a.Xb)(i.a),Object(a.Xb)(a.B))},token:t,providedIn:"root"}),t})(),d=(()=>{class t{}return t.\u0275mod=a.Lb({type:t}),t.\u0275inj=a.Kb({factory:function(e){return new(e||t)},imports:[[i.b]]}),t})();var u=n("UhP/"),h=n("Q2Ze"),m=n("s7LF");const p=new a.s("MAT_INPUT_VALUE_ACCESSOR"),f=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let g=0;class b{constructor(t,e,n,i){this._defaultErrorStateMatcher=t,this._parentForm=e,this._parentFormGroup=n,this.ngControl=i}}const _=Object(u.z)(b);let y=(()=>{class t extends _{constructor(t,e,n,a,r,o,l,c,d,u){super(o,a,r,n),this._elementRef=t,this._platform=e,this.ngControl=n,this._autofillMonitor=c,this._formField=u,this._uid="mat-input-"+g++,this.focused=!1,this.stateChanges=new s.a,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._required=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(t=>Object(i.e)().has(t));const h=this._elementRef.nativeElement,m=h.nodeName.toLowerCase();this._inputValueAccessor=l||h,this._previousNativeValue=this.value,this.id=this.id,e.IOS&&d.runOutsideAngular(()=>{t.nativeElement.addEventListener("keyup",t=>{let e=t.target;e.value||e.selectionStart||e.selectionEnd||(e.setSelectionRange(1,1),e.setSelectionRange(0,0))})}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===m,this._isTextarea="textarea"===m,this._isNativeSelect&&(this.controlType=h.multiple?"mat-native-select-multiple":"mat-native-select")}get disabled(){return this.ngControl&&null!==this.ngControl.disabled?this.ngControl.disabled:this._disabled}set disabled(t){this._disabled=Object(r.c)(t),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(t){this._id=t||this._uid}get required(){return this._required}set required(t){this._required=Object(r.c)(t)}get type(){return this._type}set type(t){this._type=t||"text",this._validateType(),!this._isTextarea&&Object(i.e)().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(t){t!==this.value&&(this._inputValueAccessor.value=t,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(t){this._readonly=Object(r.c)(t)}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(t=>{this.autofilled=t.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement)}ngDoCheck(){this.ngControl&&this.updateErrorState(),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(t){this._elementRef.nativeElement.focus(t)}_focusChanged(t){t===this.focused||this.readonly&&t||(this.focused=t,this.stateChanges.next())}_onInput(){}_dirtyCheckPlaceholder(){var t,e;const n=(null===(e=null===(t=this._formField)||void 0===t?void 0:t._hideControlPlaceholder)||void 0===e?void 0:e.call(t))?null:this.placeholder;if(n!==this._previousPlaceholder){const t=this._elementRef.nativeElement;this._previousPlaceholder=n,n?t.setAttribute("placeholder",n):t.removeAttribute("placeholder")}}_dirtyCheckNativeValue(){const t=this._elementRef.nativeElement.value;this._previousNativeValue!==t&&(this._previousNativeValue=t,this.stateChanges.next())}_validateType(){f.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let t=this._elementRef.nativeElement.validity;return t&&t.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const t=this._elementRef.nativeElement,e=t.options[0];return this.focused||t.multiple||!this.empty||!!(t.selectedIndex>-1&&e&&e.label)}return this.focused||!this.empty}setDescribedByIds(t){t.length?this._elementRef.nativeElement.setAttribute("aria-describedby",t.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}}return t.\u0275fac=function(e){return new(e||t)(a.Nb(a.l),a.Nb(i.a),a.Nb(m.n,10),a.Nb(m.q,8),a.Nb(m.i,8),a.Nb(u.d),a.Nb(p,10),a.Nb(c),a.Nb(a.B),a.Nb(h.a,8))},t.\u0275dir=a.Ib({type:t,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-input-element","mat-form-field-autofill-control"],hostVars:9,hostBindings:function(t,e){1&t&&a.bc("focus",function(){return e._focusChanged(!0)})("blur",function(){return e._focusChanged(!1)})("input",function(){return e._onInput()}),2&t&&(a.Wb("disabled",e.disabled)("required",e.required),a.Db("id",e.id)("data-placeholder",e.placeholder)("readonly",e.readonly&&!e._isNativeSelect||null)("aria-invalid",e.errorState)("aria-required",e.required.toString()),a.Fb("mat-input-server",e._isServer))},inputs:{id:"id",disabled:"disabled",required:"required",type:"type",value:"value",readonly:"readonly",placeholder:"placeholder",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"]},exportAs:["matInput"],features:[a.Bb([{provide:h.d,useExisting:t}]),a.zb,a.Ab]}),t})(),v=(()=>{class t{}return t.\u0275mod=a.Lb({type:t}),t.\u0275inj=a.Kb({factory:function(e){return new(e||t)},providers:[u.d],imports:[[d,h.e,u.j],d,h.e]}),t})()},eIep:function(t,e,n){"use strict";n.d(e,"a",function(){return o});var i=n("lJxs"),a=n("Cfvw"),r=n("zx2A");function o(t,e){return"function"==typeof e?n=>n.pipe(o((n,r)=>Object(a.a)(t(n,r)).pipe(Object(i.a)((t,i)=>e(n,t,r,i))))):e=>e.lift(new s(t))}class s{constructor(t){this.project=t}call(t,e){return e.subscribe(new l(t,this.project))}}class l extends r.b{constructor(t,e){super(t),this.project=e,this.index=0}_next(t){let e;const n=this.index++;try{e=this.project(t,n)}catch(i){return void this.destination.error(i)}this._innerSub(e)}_innerSub(t){const e=this.innerSubscription;e&&e.unsubscribe();const n=new r.a(this),i=this.destination;i.add(n),this.innerSubscription=Object(r.c)(t,n),this.innerSubscription!==n&&i.add(this.innerSubscription)}_complete(){const{innerSubscription:t}=this;t&&!t.closed||super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=void 0}notifyComplete(){this.innerSubscription=void 0,this.isStopped&&super._complete()}notifyNext(t){this.destination.next(t)}}},eNrK:function(t,e,n){"use strict";n.d(e,"a",function(){return A});var i=n("8Y7J"),a=n("s7LF"),r=n("XNiG"),o=n("xgIS"),s=n("pLZG"),l=n("Kj3r"),c=n("0h1T");class d{constructor({codePostal:t="",commune:e="",limit:n=1}){this.codePostal=t,this.commune=e,this.limit=n}}var u=n("IGtN"),h=n("TSSN"),m=n("zaPX"),p=n("y5Tt"),f=n("Q2Ze"),g=n("e6WT"),b=n("vrAh"),_=n("q6Qu"),y=n("SVse"),v=n("UhP/"),C=n("pu8Q");const w=["trigger"],x=["cpElt"],M=["cityElt"];function O(t,e){1&t&&(i.Tb(0,"mat-error"),i.Hc(1),i.gc(2,"translate"),i.Sb()),2&t&&(i.Cb(1),i.Jc(" ",i.hc(2,1,"common.error.commune")," "))}function k(t,e){1&t&&(i.Tb(0,"mat-error"),i.Hc(1),i.gc(2,"translate"),i.Sb()),2&t&&(i.Cb(1),i.Jc(" ",i.hc(2,1,"common.error.commune")," "))}function S(t,e){1&t&&(i.Tb(0,"mat-option",11),i.Ob(1,"mat-spinner",12),i.Sb())}function T(t,e){if(1&t&&(i.Tb(0,"div"),i.Tb(1,"span"),i.Hc(2),i.Sb(),i.Tb(3,"small"),i.Hc(4),i.Sb(),i.Sb()),2&t){const t=i.fc().$implicit;i.Cb(2),i.Ic(t.codePostal),i.Cb(2),i.Jc(" - ",t.commune,"")}}function P(t,e){if(1&t&&(i.Tb(0,"span"),i.Hc(1),i.Sb()),2&t){const t=i.fc().$implicit;i.Cb(1),i.Ic(t.error)}}function L(t,e){if(1&t&&(i.Tb(0,"mat-option",14),i.Fc(1,T,5,2,"div",3),i.Fc(2,P,2,1,"span",3),i.Sb()),2&t){const t=e.$implicit;i.nc("value",t),i.Cb(1),i.nc("ngIf",!t.error),i.Cb(1),i.nc("ngIf",t.error)}}function D(t,e){if(1&t&&(i.Fc(0,L,3,3,"mat-option",13),i.gc(1,"async")),2&t){const t=i.fc();i.nc("ngForOf",i.hc(1,1,t.filteredCommunes))}}var E=function(t){return t.CP="CP",t.COMMUNE="COMMUNE",t}({});let A=(()=>{class t extends u.a{constructor(t,e,n){super(t),this.translateService=t,this.configSharedService=e,this.departementService=n,this.selectionChanged=new i.o,this.selectedItem=!1,this.isLoading=!1,this.filteredCommunes=new r.a}load(){this.subscriptions.push(this.bindToKeyUpEvent(this.cpElt).subscribe(t=>this.onInputValueChange(this.cpControl.value,E.CP)),this.bindToKeyUpEvent(this.cityElt).subscribe(t=>this.onInputValueChange(this.cityControl.value,E.COMMUNE)),this.parentForm.valueChanges.pipe(Object(s.a)(t=>void 0!==t.cp&&void 0!==t.ville)).subscribe(t=>{this.cpControl.setValue(t.cp),this.cityControl.setValue(t.ville),this.enableOrDisableControls()}),this.parentForm.statusChanges.subscribe(t=>{this.enableOrDisableControls()})),this.initFormControls()}initFormControls(){this.cpControl=new a.e({value:this.parentForm.get("cp").value,disabled:this.parentForm.get("cp").disabled},[a.w.required,a.w.maxLength(c.a.COMMON)]),this.cityControl=new a.e({value:this.parentForm.get("ville").value,disabled:this.parentForm.get("ville").disabled},[a.w.required,a.w.maxLength(c.a.COMMON)])}enableOrDisableControls(){this.parentForm.get("cp").disabled?this.cpControl.disable():this.cpControl.enable(),this.parentForm.get("ville").disabled?this.cityControl.disable():this.cityControl.enable()}bindToKeyUpEvent(t){return Object(o.a)(t.nativeElement,"keyup").pipe(Object(s.a)(t=>!["ArrowDown","ArrowUp","ArrowRight","ArrowLeft"].includes(t.key)),Object(l.a)(this.configSharedService.autocompleteCommuneTimeLimit))}onInputValueChange(t,e){t&&t.length>=1?(this.isLoading=!0,this.search(t,e)):(this.filteredCommunes.next([]),this.autocompleteTrigger.closePanel())}search(t,e){this.subscriptions.push(this.departementService.searchCommunesByCPCommune({codePostal:e===E.CP?t:"",commune:e===E.COMMUNE?t:"",limit:this.configSharedService.autocompleteCommuneNbMax}).subscribe(t=>{this.isLoading=!1,this.filteredCommunes.next(t)}))}setInputsValue(t){this.cpControl.setValue(t.codePostal),this.cityControl.setValue(t.commune)}selectCommuneCP(t){this.communeSelected=t.option.value,this.selectedItem=!0}doesControlHaveError(t,e){return this.parentForm.get(t).hasError(e)}onBlur(){const t=this.parentForm.get("cp").value!==this.cpControl.value,e=this.parentForm.get("ville").value!==this.cityControl.value;(t||e)&&(this.setInputsValue(new d({})),this.selectionChanged.emit(new d({})))}onClose(){this.selectedItem&&this.communeSelected&&(this.setInputsValue(this.communeSelected),this.selectionChanged.emit(this.communeSelected)),this.selectedItem=!1}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(h.d),i.Nb(m.a),i.Nb(p.a))},t.\u0275cmp=i.Hb({type:t,selectors:[["app-communes-autocomplete-2"]],viewQuery:function(t,e){if(1&t&&(i.Lc(w,3),i.Lc(x,3),i.Lc(M,3)),2&t){let t;i.uc(t=i.cc())&&(e.autocompleteTrigger=t.first),i.uc(t=i.cc())&&(e.cpElt=t.first),i.uc(t=i.cc())&&(e.cityElt=t.first)}},inputs:{parentForm:"parentForm",isRequired:"isRequired"},outputs:{selectionChanged:"selectionChanged"},features:[i.zb],decls:16,vars:10,consts:[[1,"inline-item"],["matInput","","data-cy","cp","type","text","autocomplete","no","name","cp-with-autocomplete","appLabel","common.codepostal",3,"formControl","required","matAutocomplete","blur"],["trigger","matAutocompleteTrigger","cpElt",""],[4,"ngIf"],[1,"spacer"],["matInput","","data-cy","ville","type","text","autocomplete","no","name","city-with-autocomplete","appLabel","common.ville",3,"formControl","required","matAutocomplete","blur"],["trigger","matAutocompleteTrigger","cityElt",""],[3,"optionSelected","closed"],["auto","matAutocomplete"],["class","spinner",4,"ngIf","ngIfElse"],["autocompleteList",""],[1,"spinner"],["diameter","50"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(t,e){if(1&t&&(i.Tb(0,"mat-form-field",0),i.Tb(1,"input",1,2),i.bc("blur",function(){return e.onBlur()}),i.Sb(),i.Fc(4,O,3,3,"mat-error",3),i.Sb(),i.Ob(5,"div",4),i.Tb(6,"mat-form-field",0),i.Tb(7,"input",5,6),i.bc("blur",function(){return e.onBlur()}),i.Sb(),i.Fc(10,k,3,3,"mat-error",3),i.Sb(),i.Tb(11,"mat-autocomplete",7,8),i.bc("optionSelected",function(t){return e.selectCommuneCP(t)})("closed",function(){return e.onClose()}),i.Fc(13,S,2,0,"mat-option",9),i.Fc(14,D,2,3,"ng-template",null,10,i.Gc),i.Sb()),2&t){const t=i.vc(12),n=i.vc(15);i.Cb(1),i.nc("formControl",e.cpControl)("required",e.isRequired)("matAutocomplete",t),i.Cb(3),i.nc("ngIf",e.doesControlHaveError("cp","required")),i.Cb(3),i.nc("formControl",e.cityControl)("required",e.isRequired)("matAutocomplete",t),i.Cb(3),i.nc("ngIf",e.doesControlHaveError("ville","required")),i.Cb(3),i.nc("ngIf",e.isLoading)("ngIfElse",n)}},directives:[f.c,g.b,a.c,b.c,_.a,a.o,a.f,a.v,y.l,b.a,f.b,v.m,C.b,y.k],pipes:[h.c,y.b],styles:["[_nghost-%COMP%]{display:-ms-flexbox;display:flex;-ms-flex-flow:row;flex-flow:row}[_nghost-%COMP%] .spacer[_ngcontent-%COMP%]{width:50px}[_nghost-%COMP%] .inline-item[_ngcontent-%COMP%]{-ms-flex:1;flex:1} .spinner{-ms-flex-direction:column;flex-direction:column;margin:16px 0}"],changeDetection:0}),t})()},ePOw:function(t,e,n){"use strict";n.d(e,"a",function(){return i});var i=function(t){return t.ADRESSE="ADRESSE",t.COORDONNEES="COORDONNEES",t}({})},eaIg:function(t,e,n){"use strict";n.d(e,"a",function(){return o});var i=n("cXaA"),a=n("8Y7J"),r=n("IheW");let o=(()=>{class t{constructor(t){this.http=t,this.log=i.a.create("UserDeclarationPrestataireService"),this.BASE_URL_DO="/api/donneur-ordre/declarations-prestataire",this.BASE_URL_ENTREPRISE="/api/entreprise/acces-declaration"}getPrestataires(t){return this.log.data(`[HTTP] (GET) -> ${this.BASE_URL_DO}`),this.http.post(this.BASE_URL_DO,{departements:t})}getDeclarations(t,e,n){return this.log.data(`[HTTP] (GET) -> ${this.BASE_URL_DO}/${t}/declarations/${n}`),this.http.post(`${this.BASE_URL_DO}/${t}/declarations/${n}`,{departements:e})}getDeclarationsValide(t,e,n,i){return this.log.data(`[HTTP] (GET) -> ${this.BASE_URL_DO}/${t}/declarations/${n}`),this.http.post(`${this.BASE_URL_DO}/${t}/declarations/${n}`,{departements:e,raisonSociale:i})}requestAccess(t){return this.log.data(`[HTTP] (GET) -> ${this.BASE_URL_DO}/${t}`),this.http.post(`${this.BASE_URL_DO}/${t}`,null)}getAccess(){return this.log.data(`[HTTP] (GET) -> ${this.BASE_URL_ENTREPRISE}`),this.http.get(this.BASE_URL_ENTREPRISE)}acceptAccess(t){return this.log.data(`[HTTP] (GET) -> ${this.BASE_URL_ENTREPRISE}/${t}`),this.http.post(`${this.BASE_URL_ENTREPRISE}/${t}`,null)}removeAccess(t){return this.log.data(`[HTTP] (GET) -> ${this.BASE_URL_ENTREPRISE}/${t}}`),this.http.delete(`${this.BASE_URL_ENTREPRISE}/${t}`)}}return t.\u0275fac=function(e){return new(e||t)(a.Xb(r.b))},t.\u0275prov=a.Jb({token:t,factory:t.\u0275fac,providedIn:"root"}),t})()},f3LI:function(t,e,n){"use strict";n.d(e,"a",function(){return s});var i=n("8Y7J"),a=function(t){return t.TEXT="text",t.LATIN="latin",t.ALPHA_NUMERIC="alphanum",t.NUMERIC="numeric",t.DECIMAL="decimal",t.SIGNED_DECIMAL="signedDecimal",t}({}),r=function(t){return t[t.Backspace=8]="Backspace",t[t.Delete=46]="Delete",t[t.Shift=16]="Shift",t[t.ArrowLeft=37]="ArrowLeft",t[t.ArrowRight=39]="ArrowRight",t[t.End=35]="End",t[t.Home=36]="Home",t[t.Space=32]="Space",t[t.Insert=45]="Insert",t[t.Tab=9]="Tab",t}({});const o=[r.Backspace,r.Delete,r.Shift,r.ArrowLeft,r.ArrowRight,r.End,r.Home,r.Tab];let s=(()=>{class t{constructor(){this.cursorPosition=null,this.elemVal=null,this.inputType=a.TEXT,this.maxLength=70,this.latinPattern=/[\u0000-\u001F\u0021-\u0026\u0028-\u002C\u002E-\u002F\u0030-\u0040\u005B-\u005F\u007B-\u007F\u00A1-\u00BF\u00D7\u00F7\u0250-\uFFFF]/,this.alphaNumericPattern=/[^A-Za-z0-9]/,this.numericPattern=/[^0-9]/,this.decimalFullPattern=/^[0-9]+\.?[0-9]{0,2}$/,this.signedDecimalFullPattern=/^-?[0-9]+\.?[0-9]{0,5}$/}get appTextField(){return this.inputType}set appTextField(t){this.setInputType(t)}onKeydown(t){if(o.includes(t.keyCode))return;if(this.isPasteShortcut(t))return;this.cursorPosition=t.target.selectionStart;const e=t.target.selectionEnd;this.elemVal=t.target.value;const n=[this.elemVal.slice(0,this.cursorPosition),t.key,this.elemVal.slice(e)].join("");((n.length>this.maxLength||t.char&&this.isForbiddenChar(t.char)||this.isForbiddenChar(n))&&!o.includes(t.keyCode)||this.isUnauthorizedWhitespaces(t,this.cursorPosition,n))&&t.preventDefault()}onPaste(t){this.cursorPosition=t.target.selectionStart,this.elemVal=t.target.value;let e="";window.clipboardData&&window.clipboardData.getData?e=window.clipboardData.getData("Text"):t.clipboardData&&t.clipboardData.getData&&(e=t.clipboardData.getData("text/plain")),((e+this.elemVal).length>this.maxLength||" "===e.charAt(0)&&(0===this.cursorPosition||" "===this.elemVal.charAt(this.cursorPosition-1))||" "===e.charAt(e.length-1)&&" "===this.elemVal.charAt(this.cursorPosition)||-1!==e.indexOf(" ")||this.isForbiddenChar(e))&&t.preventDefault()}onblur(t){const e=t.target.value;if(e){const n=e.charAt(e.length-1);" "===n?t.currentTarget.value=e.trim():"."===n&&this.inputType===a.DECIMAL&&(t.currentTarget.value=e.slice(0,-1))}}isPasteShortcut(t){return t.ctrlKey&&"v"===t.key||t.shiftKey&&t.keyCode===r.Insert}setInputType(t){const e=t.split(":"),n=e[0];switch(n){case a.TEXT:case a.LATIN:this.inputType=n,this.setMaxLength(e[1],70);break;case a.NUMERIC:case a.ALPHA_NUMERIC:case a.DECIMAL:case a.SIGNED_DECIMAL:this.inputType=n,this.setMaxLength(e[1],50)}}setMaxLength(t,e){if(t)try{this.maxLength=parseInt(t,10),this.maxLength<=0&&(this.maxLength=e)}catch(n){this.maxLength=e}else this.maxLength=e}isForbiddenChar(t){switch(this.inputType){case a.TEXT:return!1;case a.LATIN:return this.latinPattern.test(t);case a.ALPHA_NUMERIC:return this.alphaNumericPattern.test(t);case a.NUMERIC:return this.numericPattern.test(t);case a.DECIMAL:return!this.decimalFullPattern.test(t);case a.SIGNED_DECIMAL:return!this.signedDecimalFullPattern.test(t);default:return!1}}isUnauthorizedWhitespaces(t,e,n){if(" "===t.key)return 0===e||" "===n.charAt(e)&&" "!==n.charAt(e+1)&&" "===n.charAt(t.target.selectionEnd+1)&&t.target.selectionEnd>e||" "===n.charAt(e-1)||" "===n.charAt(e+1)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.Ib({type:t,selectors:[["","appTextField",""]],hostBindings:function(t,e){1&t&&i.bc("keydown",function(t){return e.onKeydown(t)})("paste",function(t){return e.onPaste(t)})("blur",function(t){return e.onblur(t)})},inputs:{appTextField:"appTextField"}}),t})()},f4AX:function(t,e,n){"use strict";n.d(e,"a",function(){return d});var i=n("cXaA"),a=n("LRne"),r=n("JIr8"),o=n("EjJx"),s=n("8Y7J"),l=n("IheW"),c=n("qh/L");let d=(()=>{class t{constructor(t,e){this.http=t,this.session=e,this.API_URL="/api/user",this.log=i.a.create("UserService")}get login(){return this.session.refreshToken?o.a(this.session.refreshToken).sub:""}get role(){return this.session.refreshToken?o.a(this.session.refreshToken).role:""}get raisonSociale(){return this.session.refreshToken?o.a(this.session.refreshToken).raisonSociale:""}get numTva(){return this.session.refreshToken?o.a(this.session.refreshToken).numTva:""}get compteLangue(){return this.session.refreshToken?o.a(this.session.refreshToken).compte.langue:""}get compteDpdDefault(){return this.session.refreshToken?o.a(this.session.refreshToken).compte.dpdDefault:""}createUser(t){return this.log.data(`[HTTP] (POST) -> ${this.API_URL}`),this.http.post(this.API_URL,t).pipe(Object(r.a)(t=>Object(a.a)(t.error)))}getUser(){const t=this.API_URL+"/me";return this.log.data(`[HTTP] (GET) -> ${t}`),this.http.get(t).pipe(Object(r.a)(t=>Object(a.a)(t.error)))}getUserByToken(t){const e=this.API_URL+"/token/"+t;return this.log.data(`[HTTP] (GET) -> ${e}`),this.http.get(e).pipe(Object(r.a)(t=>Object(a.a)(t.error)))}updateUser(t){return this.log.data(`[HTTP] (PUT) -> ${this.API_URL}`),this.http.put(this.API_URL,t).pipe(Object(r.a)(t=>Object(a.a)(t.error)))}editPassword(t,e){const n=this.API_URL+"/password";return this.log.data(`[HTTP] (PUT) -> ${n}`),this.http.put(n,{oldPassword:t,newPassword:e}).pipe(Object(r.a)(t=>Object(a.a)(t.error)))}resetPassword(t,e){const n=this.API_URL+"/forgot-password/init";return this.log.data(`[HTTP] (POST) -> ${n}`),this.http.post(n,{login:e,captcha:t}).pipe(Object(r.a)(t=>Object(a.a)(t.error)))}savePassword(t,e){const n=this.API_URL+"/forgot-password/finish";return this.log.data(`[HTTP] (POST) -> ${n}`),this.http.post(n,{token:t,password:e}).pipe(Object(r.a)(t=>Object(a.a)(t.error)))}deleteUser(){return this.log.data(`[HTTP] (DELETE) -> ${this.API_URL}`),this.http.delete(this.API_URL)}}return t.\u0275fac=function(e){return new(e||t)(s.Xb(l.b),s.Xb(c.a))},t.\u0275prov=s.Jb({token:t,factory:t.\u0275fac,providedIn:"root"}),t})()},fEzz:function(t,e,n){"use strict";n.d(e,"a",function(){return k});var i=n("8Y7J"),a=n("s7LF"),r=n("cYWD"),o=n("TSSN"),s=n("ePOw"),l=n("AkaL"),c=n("IheW");let d=(()=>{class t extends l.a{constructor(t){super(t),this.http=t,this.BASE_URL="/api/lieus/search"}setLabel(t){t.autocomplete=t.typeAdresse===s.a.ADRESSE?`${t.nom} - ${t.adresse} ${t.cp} ${t.ville}`:t.typeAdresse===s.a.COORDONNEES?`${t.nom} - ${t.latitude} ${t.longitude} (${t.cp} ${t.ville})`:t.nom}}return t.\u0275fac=function(e){return new(e||t)(i.Xb(c.b))},t.\u0275prov=i.Jb({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();var u=n("WiJD"),h=n("zaPX"),m=n("Q2Ze"),p=n("SVse"),f=n("e6WT"),g=n("vrAh"),b=n("q6Qu"),_=n("UhP/"),y=n("pu8Q");function v(t,e){if(1&t&&(i.Tb(0,"span",8),i.Hc(1),i.Sb()),2&t){const t=i.fc();i.Cc("opacity",t.searchControl.disabled?.7:1),i.Cb(1),i.Ic(t.prefix)}}function C(t,e){1&t&&(i.Tb(0,"mat-option",9),i.Ob(1,"mat-spinner",10),i.Sb())}function w(t,e){if(1&t&&(i.Tb(0,"mat-option",12),i.Hc(1),i.Sb()),2&t){const t=e.$implicit;i.nc("value",t),i.Cb(1),i.Jc(" ",t.autocomplete," ")}}function x(t,e){if(1&t&&i.Fc(0,w,2,2,"mat-option",11),2&t){const t=i.fc();i.nc("ngForOf",t.searchResult)}}const M=[[["mat-error"]],[["mat-icon"]],[["mat-spinner"]],"*"],O=["mat-error","mat-icon","mat-spinner","*"];let k=(()=>{class t extends r.a{constructor(t,e,n,i,a){super(t,e,n,i,a),this.translateService=t,this.searchService=e,this.configurationService=n,this.configSharedService=i,this.changeDetectorRef=a,this.fieldValue="nom"}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(o.d),i.Nb(d),i.Nb(u.a),i.Nb(h.a),i.Nb(i.h))},t.\u0275cmp=i.Hb({type:t,selectors:[["app-lieu-autocomplete-2"]],features:[i.Bb([{provide:a.m,useExisting:Object(i.V)(()=>t),multi:!0}]),i.zb],ngContentSelectors:O,decls:15,vars:11,consts:[["matPrefix","","class","prefix",3,"opacity",4,"ngIf"],["type","text","matInput","","data-cy","autocomplete",3,"name","appLabel","formControl","matAutocomplete","matAutocompleteDisabled","errorStateMatcher","required","blur"],["searchElt",""],[1,"mat-error","otherMessages"],[3,"displayWith","optionSelected"],["auto","matAutocomplete"],["class","spinner",4,"ngIf","ngIfElse"],["listOptions",""],["matPrefix","",1,"prefix"],[1,"spinner"],["diameter","50"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(t,e){if(1&t&&(i.mc(M),i.Tb(0,"mat-form-field"),i.Fc(1,v,2,3,"span",0),i.Tb(2,"input",1,2),i.bc("blur",function(){return e.onBlur()}),i.Sb(),i.Tb(4,"mat-error"),i.lc(5),i.Sb(),i.lc(6,1),i.lc(7,2),i.Sb(),i.Tb(8,"div",3),i.lc(9,3),i.Sb(),i.Tb(10,"mat-autocomplete",4,5),i.bc("optionSelected",function(t){return e.selectOption(t)}),i.Fc(12,C,2,0,"mat-option",6),i.Fc(13,x,1,1,"ng-template",null,7,i.Gc),i.Sb()),2&t){const t=i.vc(11),n=i.vc(14);i.Cb(1),i.nc("ngIf",e.prefix),i.Cb(1),i.nc("name",e.name)("appLabel",e.inputTitle)("formControl",e.searchControl)("matAutocomplete",t)("matAutocompleteDisabled",e.isAutocompleteDisabled)("errorStateMatcher",e.errorStateMatcher)("required",e.isRequired),i.Cb(8),i.nc("displayWith",e.displayFn),i.Cb(2),i.nc("ngIf",e.isLoading)("ngIfElse",n)}},directives:[m.c,p.l,f.b,a.c,g.c,b.a,a.o,a.f,a.v,m.b,g.a,m.g,_.m,y.b,p.k],styles:["[_nghost-%COMP%]{-ms-flex:1;flex:1}[_nghost-%COMP%] mat-form-field[_ngcontent-%COMP%]{width:100%}[_nghost-%COMP%] .otherMessages[_ngcontent-%COMP%]{font-size:75%}[_nghost-%COMP%] .prefix[_ngcontent-%COMP%]{-ms-flex-item-align:center;align-self:center;margin-right:8px}"]}),t})()},fqiG:function(t,e,n){"use strict";n.d(e,"a",function(){return s});var i=n("s7LF"),a=n("zfSa"),r=n("0h1T"),o=n("+sEB");class s{constructor(t,e,n,i,a){this.fb=t,this.user=e,this.countries=n,this.loginDisabled=i,this.captchaDisabled=a}build(){return this.form=this.fb.group({login:this.fb.control({value:this.user.login,disabled:this.loginDisabled},[i.w.email,i.w.maxLength(r.a.EMAIL)]),compte:this.fb.group({langue:this.fb.control(this.user.compte.langue),dpdDefaultSelected:this.fb.control(!!this.user.compte.dpdDefault,[i.w.required]),dpdDefault:this.fb.control({value:this.user.compte.dpdDefault,disabled:!this.user.compte.dpdDefault},[i.w.required])}),entreprise:this.fb.group({raisonSociale:this.fb.control({value:this.user.entreprise.raisonSociale,disabled:this.isUserDonneurHasTVA},[i.w.maxLength(r.a.COMMON)]),adresse:this.fb.group({adresse:this.fb.control({value:this.user.entreprise.adresse.adresse,disabled:this.isUserDonneurHasTVA},[i.w.maxLength(r.a.ADDRESS)]),pays:this.fb.control(this.countries.find(t=>t.code===this.user.entreprise.adresse.pays)),cp:this.fb.control({value:this.user.entreprise.adresse.cp,disabled:this.isUserDonneurHasTVA},[i.w.maxLength(r.a.COMMON)]),ville:this.fb.control({value:this.user.entreprise.adresse.ville,disabled:this.isUserDonneurHasTVA},[i.w.maxLength(r.a.COMMON)]),complementAdresse:this.fb.control({value:this.user.entreprise.adresse.complementAdresse,disabled:this.isUserDonneurHasTVA},[i.w.maxLength(r.a.ADDRESS)])}),dirigeant:new o.a(this.fb,this.user.entreprise.dirigeant,this.countries,!this.isUserEntreprise).build(),email:this.fb.control(this.user.entreprise.email,[i.w.email,i.w.maxLength(r.a.EMAIL)]),telephone:this.fb.control(this.user.entreprise.telephone,[i.w.maxLength(r.a.COMMON)]),status:this.fb.control(this.user.entreprise.status,[i.w.maxLength(r.a.COMMON)]),noTVA:this.fb.control({value:this.user.entreprise.noTVA,disabled:!this.doesCountryHaveTVA()}),numTVA:this.fb.control({value:this.user.entreprise.numTVA,disabled:this.isNoTVAControlDisabled()}),registre:this.fb.control({value:this.user.entreprise.registre,disabled:!this.isNoTVAControlDisabled()},[i.w.maxLength(r.a.COMMON)]),reference:this.fb.control({value:this.user.entreprise.reference,disabled:!this.isNoTVAControlDisabled()},[i.w.maxLength(r.a.COMMON)]),codeNaf:this.fb.control({value:this.user.entreprise.codeNaf,disabled:!0}),siret:this.fb.control(this.user.entreprise.siret,[i.w.pattern("[0-9]{14}")])}),captcha:this.fb.control({value:null,disabled:this.captchaDisabled},[i.w.required])}),this.form}doesCountryHaveTVA(){if(this.user.role===a.a.MANDATAIRE)return!1;let t;return this.user.entreprise.adresse.pays&&(t=this.countries.find(t=>t.code===this.user.entreprise.adresse.pays)),!!t&&!!this.user.entreprise.adresse.pays&&t.hasTVA}isNoTVAControlDisabled(){return this.user.role===a.a.MANDATAIRE||!this.doesCountryHaveTVA()||this.user.entreprise.noTVA}get isUserEntreprise(){return this.user.role===a.a.ENTREPRISE}get isUserDonneurHasTVA(){return this.user.entreprise.numTVA&&this.user.role===a.a.DONNEUR_ORDRE}}},fzPg:function(t,e,n){!function(t){"use strict";t.defineLocale("yo",{months:"S\u1eb9\u0301r\u1eb9\u0301_E\u0300re\u0300le\u0300_\u1eb8r\u1eb9\u0300na\u0300_I\u0300gbe\u0301_E\u0300bibi_O\u0300ku\u0300du_Ag\u1eb9mo_O\u0300gu\u0301n_Owewe_\u1ecc\u0300wa\u0300ra\u0300_Be\u0301lu\u0301_\u1ecc\u0300p\u1eb9\u0300\u0300".split("_"),monthsShort:"S\u1eb9\u0301r_E\u0300rl_\u1eb8rn_I\u0300gb_E\u0300bi_O\u0300ku\u0300_Ag\u1eb9_O\u0300gu\u0301_Owe_\u1ecc\u0300wa\u0300_Be\u0301l_\u1ecc\u0300p\u1eb9\u0300\u0300".split("_"),weekdays:"A\u0300i\u0300ku\u0301_Aje\u0301_I\u0300s\u1eb9\u0301gun_\u1eccj\u1ecd\u0301ru\u0301_\u1eccj\u1ecd\u0301b\u1ecd_\u1eb8ti\u0300_A\u0300ba\u0301m\u1eb9\u0301ta".split("_"),weekdaysShort:"A\u0300i\u0300k_Aje\u0301_I\u0300s\u1eb9\u0301_\u1eccjr_\u1eccjb_\u1eb8ti\u0300_A\u0300ba\u0301".split("_"),weekdaysMin:"A\u0300i\u0300_Aj_I\u0300s_\u1eccr_\u1eccb_\u1eb8t_A\u0300b".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[O\u0300ni\u0300 ni] LT",nextDay:"[\u1ecc\u0300la ni] LT",nextWeek:"dddd [\u1eccs\u1eb9\u0300 to\u0301n'b\u1ecd] [ni] LT",lastDay:"[A\u0300na ni] LT",lastWeek:"dddd [\u1eccs\u1eb9\u0300 to\u0301l\u1ecd\u0301] [ni] LT",sameElse:"L"},relativeTime:{future:"ni\u0301 %s",past:"%s k\u1ecdja\u0301",s:"i\u0300s\u1eb9ju\u0301 aaya\u0301 die",ss:"aaya\u0301 %d",m:"i\u0300s\u1eb9ju\u0301 kan",mm:"i\u0300s\u1eb9ju\u0301 %d",h:"wa\u0301kati kan",hh:"wa\u0301kati %d",d:"\u1ecdj\u1ecd\u0301 kan",dd:"\u1ecdj\u1ecd\u0301 %d",M:"osu\u0300 kan",MM:"osu\u0300 %d",y:"\u1ecddu\u0301n kan",yy:"\u1ecddu\u0301n %d"},dayOfMonthOrdinalParse:/\u1ecdj\u1ecd\u0301\s\d{1,2}/,ordinal:"\u1ecdj\u1ecd\u0301 %d",week:{dow:1,doy:4}})}(n("wd/R"))},g1kL:function(t,e,n){"use strict";n.d(e,"a",function(){return c});var i=n("iInd"),a=n("8Y7J"),r=n("WTUP"),o=n("SVse"),s=n("BTe0");function l(t,e){1&t&&a.Ob(0,"mat-progress-bar",1)}let c=(()=>{class t{constructor(t,e){this.router=t,this.loadingService=e,this.subscriptions=[],this.displayProgressBar=!1}ngOnInit(){this.subscriptions.push(this.router.events.subscribe(t=>this._onRouterNewEvent(t)),this.loadingService.isLoading$.subscribe(t=>this.displayProgressBar=t))}ngOnDestroy(){this.subscriptions.forEach(t=>t.unsubscribe())}_onRouterNewEvent(t){switch(!0){case t instanceof i.e:this.displayProgressBar=!0;break;case t instanceof i.c:case t instanceof i.b:case t instanceof i.d:this.displayProgressBar=!1}}}return t.\u0275fac=function(e){return new(e||t)(a.Nb(i.f),a.Nb(r.a))},t.\u0275cmp=a.Hb({type:t,selectors:[["app-progress-bar"]],decls:1,vars:1,consts:[["mode","indeterminate",4,"ngIf"],["mode","indeterminate"]],template:function(t,e){1&t&&a.Fc(0,l,1,0,"mat-progress-bar",0),2&t&&a.nc("ngIf",e.displayProgressBar)},directives:[o.l,s.a],encapsulation:2}),t})()},gRHU:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("2fFW"),a=n("NJ4a");const r={closed:!0,next(t){},error(t){if(i.a.useDeprecatedSynchronousErrorHandling)throw t;Object(a.a)(t)},complete(){}}},gVVK:function(t,e,n){!function(t){"use strict";function e(t,e,n,i){var a=t+" ";switch(n){case"s":return e||i?"nekaj sekund":"nekaj sekundami";case"ss":return a+(1===t?e?"sekundo":"sekundi":2===t?e||i?"sekundi":"sekundah":t<5?e||i?"sekunde":"sekundah":"sekund");case"m":return e?"ena minuta":"eno minuto";case"mm":return a+(1===t?e?"minuta":"minuto":2===t?e||i?"minuti":"minutama":t<5?e||i?"minute":"minutami":e||i?"minut":"minutami");case"h":return e?"ena ura":"eno uro";case"hh":return a+(1===t?e?"ura":"uro":2===t?e||i?"uri":"urama":t<5?e||i?"ure":"urami":e||i?"ur":"urami");case"d":return e||i?"en dan":"enim dnem";case"dd":return a+(1===t?e||i?"dan":"dnem":2===t?e||i?"dni":"dnevoma":e||i?"dni":"dnevi");case"M":return e||i?"en mesec":"enim mesecem";case"MM":return a+(1===t?e||i?"mesec":"mesecem":2===t?e||i?"meseca":"mesecema":t<5?e||i?"mesece":"meseci":e||i?"mesecev":"meseci");case"y":return e||i?"eno leto":"enim letom";case"yy":return a+(1===t?e||i?"leto":"letom":2===t?e||i?"leti":"letoma":t<5?e||i?"leta":"leti":e||i?"let":"leti")}}t.defineLocale("sl",{months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljek_torek_sreda_\u010detrtek_petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._\u010det._pet._sob.".split("_"),weekdaysMin:"ne_po_to_sr_\u010de_pe_so".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD. MM. YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danes ob] LT",nextDay:"[jutri ob] LT",nextWeek:function(){switch(this.day()){case 0:return"[v] [nedeljo] [ob] LT";case 3:return"[v] [sredo] [ob] LT";case 6:return"[v] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[v] dddd [ob] LT"}},lastDay:"[v\u010deraj ob] LT",lastWeek:function(){switch(this.day()){case 0:return"[prej\u0161njo] [nedeljo] [ob] LT";case 3:return"[prej\u0161njo] [sredo] [ob] LT";case 6:return"[prej\u0161njo] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[prej\u0161nji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"\u010dez %s",past:"pred %s",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("wd/R"))},gekB:function(t,e,n){!function(t){"use strict";var e="nolla yksi kaksi kolme nelj\xe4 viisi kuusi seitsem\xe4n kahdeksan yhdeks\xe4n".split(" "),n=["nolla","yhden","kahden","kolmen","nelj\xe4n","viiden","kuuden",e[7],e[8],e[9]];function i(t,i,a,r){var o="";switch(a){case"s":return r?"muutaman sekunnin":"muutama sekunti";case"ss":o=r?"sekunnin":"sekuntia";break;case"m":return r?"minuutin":"minuutti";case"mm":o=r?"minuutin":"minuuttia";break;case"h":return r?"tunnin":"tunti";case"hh":o=r?"tunnin":"tuntia";break;case"d":return r?"p\xe4iv\xe4n":"p\xe4iv\xe4";case"dd":o=r?"p\xe4iv\xe4n":"p\xe4iv\xe4\xe4";break;case"M":return r?"kuukauden":"kuukausi";case"MM":o=r?"kuukauden":"kuukautta";break;case"y":return r?"vuoden":"vuosi";case"yy":o=r?"vuoden":"vuotta"}return function(t,i){return t<10?i?n[t]:e[t]:t}(t,r)+" "+o}t.defineLocale("fi",{months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kes\xe4kuu_hein\xe4kuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kes\xe4_hein\xe4_elo_syys_loka_marras_joulu".split("_"),weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"Do MMMM[ta] YYYY",LLL:"Do MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, Do MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"Do MMM YYYY",lll:"Do MMM YYYY, [klo] HH.mm",llll:"ddd, Do MMM YYYY, [klo] HH.mm"},calendar:{sameDay:"[t\xe4n\xe4\xe4n] [klo] LT",nextDay:"[huomenna] [klo] LT",nextWeek:"dddd [klo] LT",lastDay:"[eilen] [klo] LT",lastWeek:"[viime] dddd[na] [klo] LT",sameElse:"L"},relativeTime:{future:"%s p\xe4\xe4st\xe4",past:"%s sitten",s:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},gjCT:function(t,e,n){!function(t){"use strict";var e={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},n={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"};t.defineLocale("ar-sa",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a\u0648_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648_\u0623\u063a\u0633\u0637\u0633_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a\u0648_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648_\u0623\u063a\u0633\u0637\u0633_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(t){return"\u0645"===t},meridiem:function(t,e,n){return t<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},preparse:function(t){return t.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(t){return n[t]}).replace(/\u060c/g,",")},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]}).replace(/,/g,"\u060c")},week:{dow:0,doy:6}})}(n("wd/R"))},hGT6:function(t,e,n){"use strict";n.d(e,"a",function(){return i});var i=function(t){return t.FOREIGN_COMPANY="foreignCompanyStep",t.REPRESENTATIVE="representativeStep",t.EXPENSES="expensesStep",t.CLIENT="clientStep",t.LOCATIONS="locationsStep",t.PRESTATION="prestationStep",t.WORKERS="workersStep",t.SINGLE_WORKER="singleWorkerStep",t.TITRE="title",t}({})},hKrs:function(t,e,n){!function(t){"use strict";t.defineLocale("bg",{months:"\u044f\u043d\u0443\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0439_\u044e\u043d\u0438_\u044e\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438_\u043e\u043a\u0442\u043e\u043c\u0432\u0440\u0438_\u043d\u043e\u0435\u043c\u0432\u0440\u0438_\u0434\u0435\u043a\u0435\u043c\u0432\u0440\u0438".split("_"),monthsShort:"\u044f\u043d\u0443_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u044e\u043d\u0438_\u044e\u043b\u0438_\u0430\u0432\u0433_\u0441\u0435\u043f_\u043e\u043a\u0442_\u043d\u043e\u0435_\u0434\u0435\u043a".split("_"),weekdays:"\u043d\u0435\u0434\u0435\u043b\u044f_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u044f\u0434\u0430_\u0447\u0435\u0442\u0432\u044a\u0440\u0442\u044a\u043a_\u043f\u0435\u0442\u044a\u043a_\u0441\u044a\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434_\u043f\u043e\u043d_\u0432\u0442\u043e_\u0441\u0440\u044f_\u0447\u0435\u0442_\u043f\u0435\u0442_\u0441\u044a\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[\u0414\u043d\u0435\u0441 \u0432] LT",nextDay:"[\u0423\u0442\u0440\u0435 \u0432] LT",nextWeek:"dddd [\u0432] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430 \u0432] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[\u041c\u0438\u043d\u0430\u043b\u0430\u0442\u0430] dddd [\u0432] LT";case 1:case 2:case 4:case 5:return"[\u041c\u0438\u043d\u0430\u043b\u0438\u044f] dddd [\u0432] LT"}},sameElse:"L"},relativeTime:{future:"\u0441\u043b\u0435\u0434 %s",past:"\u043f\u0440\u0435\u0434\u0438 %s",s:"\u043d\u044f\u043a\u043e\u043b\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434\u0438",m:"\u043c\u0438\u043d\u0443\u0442\u0430",mm:"%d \u043c\u0438\u043d\u0443\u0442\u0438",h:"\u0447\u0430\u0441",hh:"%d \u0447\u0430\u0441\u0430",d:"\u0434\u0435\u043d",dd:"%d \u0434\u0435\u043d\u0430",w:"\u0441\u0435\u0434\u043c\u0438\u0446\u0430",ww:"%d \u0441\u0435\u0434\u043c\u0438\u0446\u0438",M:"\u043c\u0435\u0441\u0435\u0446",MM:"%d \u043c\u0435\u0441\u0435\u0446\u0430",y:"\u0433\u043e\u0434\u0438\u043d\u0430",yy:"%d \u0433\u043e\u0434\u0438\u043d\u0438"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0435\u0432|\u0435\u043d|\u0442\u0438|\u0432\u0438|\u0440\u0438|\u043c\u0438)/,ordinal:function(t){var e=t%10,n=t%100;return 0===t?t+"-\u0435\u0432":0===n?t+"-\u0435\u043d":n>10&&n<20?t+"-\u0442\u0438":1===e?t+"-\u0432\u0438":2===e?t+"-\u0440\u0438":7===e||8===e?t+"-\u043c\u0438":t+"-\u0442\u0438"},week:{dow:1,doy:7}})}(n("wd/R"))},honF:function(t,e,n){!function(t){"use strict";var e={1:"\u1041",2:"\u1042",3:"\u1043",4:"\u1044",5:"\u1045",6:"\u1046",7:"\u1047",8:"\u1048",9:"\u1049",0:"\u1040"},n={"\u1041":"1","\u1042":"2","\u1043":"3","\u1044":"4","\u1045":"5","\u1046":"6","\u1047":"7","\u1048":"8","\u1049":"9","\u1040":"0"};t.defineLocale("my",{months:"\u1007\u1014\u103a\u1014\u101d\u102b\u101b\u102e_\u1016\u1031\u1016\u1031\u102c\u103a\u101d\u102b\u101b\u102e_\u1019\u1010\u103a_\u1027\u1015\u103c\u102e_\u1019\u1031_\u1007\u103d\u1014\u103a_\u1007\u1030\u101c\u102d\u102f\u1004\u103a_\u101e\u103c\u1002\u102f\u1010\u103a_\u1005\u1000\u103a\u1010\u1004\u103a\u1018\u102c_\u1021\u1031\u102c\u1000\u103a\u1010\u102d\u102f\u1018\u102c_\u1014\u102d\u102f\u101d\u1004\u103a\u1018\u102c_\u1012\u102e\u1007\u1004\u103a\u1018\u102c".split("_"),monthsShort:"\u1007\u1014\u103a_\u1016\u1031_\u1019\u1010\u103a_\u1015\u103c\u102e_\u1019\u1031_\u1007\u103d\u1014\u103a_\u101c\u102d\u102f\u1004\u103a_\u101e\u103c_\u1005\u1000\u103a_\u1021\u1031\u102c\u1000\u103a_\u1014\u102d\u102f_\u1012\u102e".split("_"),weekdays:"\u1010\u1014\u1004\u103a\u1039\u1002\u1014\u103d\u1031_\u1010\u1014\u1004\u103a\u1039\u101c\u102c_\u1021\u1004\u103a\u1039\u1002\u102b_\u1017\u102f\u1012\u1039\u1013\u101f\u1030\u1038_\u1000\u103c\u102c\u101e\u1015\u1010\u1031\u1038_\u101e\u1031\u102c\u1000\u103c\u102c_\u1005\u1014\u1031".split("_"),weekdaysShort:"\u1014\u103d\u1031_\u101c\u102c_\u1002\u102b_\u101f\u1030\u1038_\u1000\u103c\u102c_\u101e\u1031\u102c_\u1014\u1031".split("_"),weekdaysMin:"\u1014\u103d\u1031_\u101c\u102c_\u1002\u102b_\u101f\u1030\u1038_\u1000\u103c\u102c_\u101e\u1031\u102c_\u1014\u1031".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u101a\u1014\u1031.] LT [\u1019\u103e\u102c]",nextDay:"[\u1019\u1014\u1000\u103a\u1016\u103c\u1014\u103a] LT [\u1019\u103e\u102c]",nextWeek:"dddd LT [\u1019\u103e\u102c]",lastDay:"[\u1019\u1014\u1031.\u1000] LT [\u1019\u103e\u102c]",lastWeek:"[\u1015\u103c\u102e\u1038\u1001\u1032\u1037\u101e\u1031\u102c] dddd LT [\u1019\u103e\u102c]",sameElse:"L"},relativeTime:{future:"\u101c\u102c\u1019\u100a\u103a\u1037 %s \u1019\u103e\u102c",past:"\u101c\u103d\u1014\u103a\u1001\u1032\u1037\u101e\u1031\u102c %s \u1000",s:"\u1005\u1000\u1039\u1000\u1014\u103a.\u1021\u1014\u100a\u103a\u1038\u1004\u101a\u103a",ss:"%d \u1005\u1000\u1039\u1000\u1014\u1037\u103a",m:"\u1010\u1005\u103a\u1019\u102d\u1014\u1005\u103a",mm:"%d \u1019\u102d\u1014\u1005\u103a",h:"\u1010\u1005\u103a\u1014\u102c\u101b\u102e",hh:"%d \u1014\u102c\u101b\u102e",d:"\u1010\u1005\u103a\u101b\u1000\u103a",dd:"%d \u101b\u1000\u103a",M:"\u1010\u1005\u103a\u101c",MM:"%d \u101c",y:"\u1010\u1005\u103a\u1014\u103e\u1005\u103a",yy:"%d \u1014\u103e\u1005\u103a"},preparse:function(t){return t.replace(/[\u1041\u1042\u1043\u1044\u1045\u1046\u1047\u1048\u1049\u1040]/g,function(t){return n[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},week:{dow:1,doy:4}})}(n("wd/R"))},"i+32":function(t,e,n){"use strict";n.d(e,"a",function(){return H});var i=n("8Y7J"),a=n("wd/R"),r=n("v/fa"),o=n("Rqom"),s=n("JRaP"),l=function(t){return t.MASCULIN="MASCULIN",t.FEMININ="FEMININ",t}({}),c=n("TSSN"),d=n("zaPX"),u=n("s7LF"),h=n("SVse"),m=n("q6Qu"),p=n("Q2Ze"),f=n("zQhy"),g=n("7pfu"),b=n("pSGz"),_=n("48lP"),y=n("UPR3"),v=n("e6WT"),C=n("G2sr"),w=n("/o2W"),x=n("pMoy"),M=n("NVUN"),O=n("Dxy4"),k=n("Tj54");function S(t,e){if(1&t&&(i.Tb(0,"div",29),i.Tb(1,"div",14),i.Ob(2,"app-date-form-2",30),i.Ob(3,"div",16),i.Ob(4,"app-date-form-2",31),i.Sb(),i.Sb()),2&t){const t=i.fc();i.Cb(2),i.nc("inputTitle","dpd.attestation.debut")("minDate",t.dateFromMinTransport)("maxDate",t.dateFromMaxTransport)("errorMessageMin","dpd.attestation.debut.details")("errorMessageMax","dpd.attestation.debut.details"),i.Cb(2),i.nc("inputTitle",4===t.numeroModele?"dpd.attestation.fin":"dpd.prestation.date.fin")("minDate",t.dateToMinTransport)("maxDate",t.dateToMaxTransport)("startDate",t.startDateTransport)("errorMessageMin","dpd.attestation.fin.details")("errorMessageMax","dpd.attestation.fin.details")}}function T(t,e){if(1&t){const t=i.Ub();i.Tb(0,"div",14),i.Tb(1,"app-date-form-2",32),i.bc("dateChangeEvent",function(){return i.yc(t),i.fc().updateDatesValidity("dateFin")}),i.Sb(),i.Ob(2,"div",16),i.Tb(3,"app-date-form-2",33),i.bc("dateChangeEvent",function(){return i.yc(t),i.fc().updateDatesValidity("dateDebut")}),i.Sb(),i.Sb()}if(2&t){const t=i.fc();i.Cb(1),i.nc("inputTitle","dpd.salarie.date.detachement.debut")("minDate",t.minDateGlobal)("maxDate",t.maxDateDebutDetachement)("isRequired",!0),i.Cb(2),i.nc("inputTitle","dpd.salarie.date.detachement.fin")("startDate",t.minDateFinDetachement)("minDate",t.minDateFinDetachement)("maxDate",t.maxDateGlobal)("isRequired",!0)}}function P(t,e){1&t&&(i.Tb(0,"mat-error"),i.Hc(1),i.gc(2,"translate"),i.Sb()),2&t&&(i.Cb(1),i.Jc(" ",i.hc(2,1,"common.error.requis")," "))}function L(t,e){1&t&&(i.Tb(0,"mat-error"),i.Hc(1),i.gc(2,"translate"),i.Sb()),2&t&&(i.Cb(1),i.Jc(" ",i.hc(2,1,"common.error.length")," "))}function D(t,e){if(1&t&&(i.Tb(0,"mat-form-field",20),i.Ob(1,"input",38),i.Fc(2,P,3,3,"mat-error",22),i.Fc(3,L,3,3,"mat-error",22),i.Sb()),2&t){const t=i.fc(2);i.Cb(2),i.nc("ngIf",t.doesControlHaveError("motifLongueDuree","required")),i.Cb(1),i.nc("ngIf",t.doesControlHaveError("motifLongueDuree","maxlength"))}}function E(t,e){if(1&t){const t=i.Ub();i.Tb(0,"div",34),i.Tb(1,"mat-checkbox",35),i.bc("change",function(e){return i.yc(t),i.fc().onLongueDureeChange(e)}),i.Hc(2),i.gc(3,"translate"),i.Ob(4,"app-infobulle",36),i.Sb(),i.Fc(5,D,4,2,"mat-form-field",37),i.Sb()}if(2&t){const t=i.fc();i.Cb(2),i.Jc(" ",i.hc(3,2,"dpd.salarie.duree.detachement")," "),i.Cb(3),i.nc("ngIf",t.isDetachementLongueDuree)}}function A(t,e){1&t&&(i.Tb(0,"mat-error"),i.Hc(1),i.gc(2,"translate"),i.Sb()),2&t&&(i.Cb(1),i.Jc(" ",i.hc(2,1,"common.error.requis")," "))}function I(t,e){1&t&&(i.Tb(0,"mat-error"),i.Hc(1),i.gc(2,"translate"),i.Sb()),2&t&&(i.Cb(1),i.Jc(" ",i.hc(2,1,"common.error.length")," "))}function R(t,e){1&t&&(i.Tb(0,"mat-error"),i.Hc(1),i.gc(2,"translate"),i.Sb()),2&t&&(i.Cb(1),i.Jc(" ",i.hc(2,1,"common.error.requis")," "))}function N(t,e){if(1&t){const t=i.Ub();i.Tb(0,"div",39),i.Ob(1,"h4",40),i.Tb(2,"div",14),i.Tb(3,"app-country-autocomplete-2",41),i.bc("selectionChanged",function(e){return i.yc(t),i.fc().onPaysRegistreChange(e)}),i.Sb(),i.Sb(),i.Sb()}if(2&t){const t=i.fc();i.Cb(3),i.nc("countryCtrl",t.paysRegistreCtrl)("inputTitle","dpd.droit.travail")("isRequired",!0)}}function Y(t,e){if(1&t){const t=i.Ub();i.Tb(0,"div",42),i.Tb(1,"button",43),i.bc("click",function(){return i.yc(t),i.fc().onSubmit()}),i.Tb(2,"mat-icon"),i.Hc(3,"done"),i.Sb(),i.Sb(),i.Tb(4,"button",44),i.bc("click",function(){return i.yc(t),i.fc().close()}),i.Tb(5,"mat-icon"),i.Hc(6,"clear"),i.Sb(),i.Sb(),i.Sb()}if(2&t){const t=i.fc();i.Cb(1),i.nc("ngClass",t.getGreenValidationButton()?"green-btn":"orange-btn")}}let H=(()=>{class t extends r.a{constructor(t,e,n){super(t),this.translateService=t,this.configSharedService=e,this.changeDetectorRef=n,this.submitWorkerEvent=new i.o,this.closeEvent=new i.o,this.gender=l,this.dateFromMinTransport=new Date,this.dateFromMaxTransport=a(new Date).add(2,"month").toDate()}set formGp(t){this.form=t,this.changeDetectorRef.reattach()}load(){this.numeroModele=this.configSharedService.numeroModele;const t=o.a.getGlobalDates(this.dateFromCtrl.value,this.isModeComplete());this.minDateGlobal=a(t[0]).toDate(),this.maxDateGlobal=a(t[1]).toDate()}get identityFg(){return this.form.get("identite")}get nationalityCtrl(){return this.form.get("nationalite")}get paysSecuCtrl(){return this.form.get("paysSecu")}get paysRegistreCtrl(){return this.form.get("paysRegistre")}get addressFg(){return this.form.get("adresse")}get dateContractCtrl(){return this.form.get("dateContrat")}get dateFromCtrl(){return this.form.get("dateDebut")}get dateToCtrl(){return this.form.get("dateFin")}get startDateTransport(){return this.dateFromCtrl.value?this.dateFromCtrl.value:null}get dateToMinTransport(){return this.dateFromCtrl.value?this.dateFromCtrl.value:this.dateFromMinTransport}get dateToMaxTransport(){return this.dateFromCtrl.value?a(this.dateFromCtrl.value).add(6,"month").toDate():null}get startDateContract(){return this.dateFromCtrl.value}get maxDateDebutDetachement(){return this.dateToCtrl.value?this.dateToCtrl.value:this.maxDateGlobal}get minDateFinDetachement(){return this.dateFromCtrl.value?this.dateFromCtrl.value:this.minDateGlobal}get isDetachementLongueDuree(){return this.form.get("isDetachementLongueDuree").value}isModeComplete(){return this.configSharedService.mode===s.a.COMPLETION}getGreenValidationButton(){return this.isWorkerFormValidExceptIsSavedInArrayControl(this.form)}isWorkerFormValidExceptIsSavedInArrayControl(t){let e=!0;return Object.entries(t.controls).every(t=>"isSavedInArray"===t[0]||!t[1].invalid||(e=!1,!1)),e}toggleSalary(t){t?(this.form.get("salaire").setValue(null),this.form.get("salaire").disable()):this.form.get("salaire").enable()}onSubmit(){this.submitWorkerEvent.emit(this.form)}close(){this.closeEvent.emit()}onNationalityChange(t){this.nationalityCtrl.setValue(t)}onPaysSecuChange(t){this.paysSecuCtrl.setValue(t)}onPaysRegistreChange(t){this.paysRegistreCtrl.setValue(t)}onLongueDureeChange(t){t.checked?this.form.get("motifLongueDuree").enable():(this.form.get("motifLongueDuree").disable(),this.form.get("motifLongueDuree").setValue(null))}updateDatesValidity(t){this.form.get(t).updateValueAndValidity()}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(c.d),i.Nb(d.a),i.Nb(i.h))},t.\u0275cmp=i.Hb({type:t,selectors:[["app-single-worker-form-2"]],inputs:{formGp:"formGp"},outputs:{submitWorkerEvent:"submitWorkerEvent",closeEvent:"closeEvent"},features:[i.zb],decls:48,vars:42,consts:[[3,"formGroup"],["class","box-margin",4,"ngIf"],["id","bloc-information"],["appLabel","dpd.salarie.info"],[1,"radio","inline-form"],["name","gender","formControlName","sexe","required",""],["data-cy","button-masculin","color","primary",3,"value"],["data-cy","button-feminin","color","primary",3,"value"],["data-cy","salarie",3,"formGp"],["data-cy","nationalite","id","nationalite",1,"full-width",3,"countryCtrl","inputTitle","isRequired","selectionChanged"],["id","bloc-adresse"],["data-cy","salarie-adresse",3,"formGp","isRequired"],["id","bloc-detachement"],["appLabel","dpd.salarie.info.detachement"],[1,"inline-form"],["data-cy","pays-secu",1,"inline-item",3,"countryCtrl","inputTitle","isRequired","selectionChanged"],[1,"spacer"],["data-cy","date-contrat","formControlName","dateContrat",1,"inline-item",3,"inputTitle","maxDate","isRequired"],["class","inline-form",4,"ngIf"],["class","longue_duree_section",4,"ngIf"],[1,"inline-item"],["matInput","","data-cy","emploi","type","text","name","emploi","appLabel","dpd.salarie.emploi","formControlName","emploi",3,"required"],[4,"ngIf"],[1,"inline-item",3,"parentForm","isRequired"],["matInput","","data-cy","salaire","type","text","min","0.01","appNumber","float","name","salaire","appLabel","dpd.salarie.salaire","formControlName","salaire",3,"required"],["data-cy","salaire-specifique","color","primary","name","specificSalary","formControlName","salaireSpecifique",3,"change"],["message","dpd.salarie.salaire.specifique._info"],["id","bloc-droit",4,"ngIf"],["class","workers-action",4,"ngIf"],[1,"box-margin"],["formControlName","dateDebut",1,"inline-item",3,"inputTitle","minDate","maxDate","errorMessageMin","errorMessageMax"],["formControlName","dateFin",1,"inline-item",3,"inputTitle","minDate","maxDate","startDate","errorMessageMin","errorMessageMax"],["data-cy","date-debut","formControlName","dateDebut",1,"inline-item",3,"inputTitle","minDate","maxDate","isRequired","dateChangeEvent"],["data-cy","date-fin","formControlName","dateFin",1,"inline-item",3,"inputTitle","startDate","minDate","maxDate","isRequired","dateChangeEvent"],[1,"longue_duree_section"],["color","primary","name","detachement-longue-duree","formControlName","isDetachementLongueDuree",3,"change"],["message","dpd.salarie.duree.detachement._info"],["class","inline-item",4,"ngIf"],["matInput","","type","text","name","motif-longue-duree","appLabel","dpd.salarie.motif.detachement","formControlName","motifLongueDuree","required",""],["id","bloc-droit"],["appLabel","dpd.droit.travail"],[1,"inline-item",3,"countryCtrl","inputTitle","isRequired","selectionChanged"],[1,"workers-action"],["mat-raised-button","","id","btn-add-salarie","aria-label","done","type","button",1,"mat-raised-button",3,"ngClass","click"],["mat-button","","aria-label","clear","type","button","color","warn",3,"click"]],template:function(t,e){1&t&&(i.Tb(0,"form",0),i.Fc(1,S,5,11,"div",1),i.Tb(2,"div",2),i.Ob(3,"h4",3),i.Tb(4,"div",4),i.Tb(5,"mat-label"),i.Hc(6),i.gc(7,"translate"),i.Sb(),i.Tb(8,"mat-radio-group",5),i.Tb(9,"mat-radio-button",6),i.Hc(10),i.gc(11,"translate"),i.Sb(),i.Tb(12,"mat-radio-button",7),i.Hc(13),i.gc(14,"translate"),i.Sb(),i.Sb(),i.Sb(),i.Ob(15,"app-person-form-2",8),i.Tb(16,"app-country-autocomplete-2",9),i.bc("selectionChanged",function(t){return e.onNationalityChange(t)}),i.Sb(),i.Sb(),i.Tb(17,"div",10),i.Tb(18,"h4"),i.Hc(19),i.gc(20,"translate"),i.Sb(),i.Ob(21,"app-address-form-2",11),i.Sb(),i.Tb(22,"div",12),i.Ob(23,"h4",13),i.Tb(24,"div",14),i.Tb(25,"app-country-autocomplete-2",15),i.bc("selectionChanged",function(t){return e.onPaysSecuChange(t)}),i.Sb(),i.Ob(26,"div",16),i.Ob(27,"app-date-form-2",17),i.Sb(),i.Fc(28,T,4,9,"div",18),i.Fc(29,E,6,4,"div",19),i.Tb(30,"div",14),i.Tb(31,"mat-form-field",20),i.Ob(32,"input",21),i.Fc(33,A,3,3,"mat-error",22),i.Fc(34,I,3,3,"mat-error",22),i.Sb(),i.Sb(),i.Tb(35,"div",14),i.Ob(36,"app-qualification-form-2",23),i.Ob(37,"div",16),i.Tb(38,"mat-form-field",20),i.Ob(39,"input",24),i.Fc(40,R,3,3,"mat-error",22),i.Sb(),i.Sb(),i.Tb(41,"div",14),i.Tb(42,"mat-checkbox",25),i.bc("change",function(t){return e.toggleSalary(t.checked)}),i.Hc(43),i.gc(44,"translate"),i.Ob(45,"app-infobulle",26),i.Sb(),i.Sb(),i.Sb(),i.Fc(46,N,4,3,"div",27),i.Fc(47,Y,7,1,"div",28),i.Sb()),2&t&&(i.nc("formGroup",e.form),i.Cb(1),i.nc("ngIf",4===e.numeroModele),i.Cb(5),i.Ic(i.hc(7,32,"common.sexe")),i.Cb(3),i.nc("value",e.gender.MASCULIN),i.Cb(1),i.Jc(" ",i.hc(11,34,"common.sexe.masculin")," "),i.Cb(2),i.nc("value",e.gender.FEMININ),i.Cb(1),i.Jc(" ",i.hc(14,36,"common.sexe.feminin")," "),i.Cb(2),i.nc("formGp",e.identityFg),i.Cb(1),i.nc("countryCtrl",e.nationalityCtrl)("inputTitle","common.nationalite")("isRequired",!0),i.Cb(3),i.Ic(i.hc(20,38,"common.adresse")),i.Cb(2),i.nc("formGp",e.addressFg)("isRequired",7!==e.numeroModele),i.Cb(4),i.nc("countryCtrl",e.paysSecuCtrl)("inputTitle","dpd.salarie.secu")("isRequired",7!==e.numeroModele),i.Cb(2),i.nc("inputTitle","dpd.salarie.date.contrat")("maxDate",e.startDateContract)("isRequired",7!==e.numeroModele),i.Cb(1),i.nc("ngIf",4!==e.numeroModele),i.Cb(1),i.nc("ngIf",4!==e.numeroModele),i.Cb(3),i.nc("required",7!==e.numeroModele),i.Cb(1),i.nc("ngIf",e.doesControlHaveError("emploi","required")),i.Cb(1),i.nc("ngIf",e.doesControlHaveError("emploi","maxlength")),i.Cb(2),i.nc("parentForm",e.form)("isRequired",7!==e.numeroModele),i.Cb(3),i.nc("required",7!==e.numeroModele),i.Cb(1),i.nc("ngIf",e.doesControlHaveError("salaire","required")),i.Cb(3),i.Jc(" ",i.hc(44,40,"dpd.salarie.salaire.specifique")," "),i.Cb(3),i.nc("ngIf",4===e.numeroModele),i.Cb(1),i.nc("ngIf",4!==e.numeroModele))},directives:[u.x,u.p,u.i,h.l,m.a,p.f,f.b,u.o,u.g,u.v,f.a,g.a,b.a,_.a,y.a,p.c,v.b,u.c,C.a,w.a,x.a,M.a,p.b,O.a,h.j,k.a],pipes:[c.c],styles:["h4[_ngcontent-%COMP%]{margin:0 0 8px -16px;padding-bottom:16px;padding-top:8px;border-bottom:1px solid #999}.full-width[_ngcontent-%COMP%]{width:100%}.longue_duree_section[_ngcontent-%COMP%]{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.inline-form[_ngcontent-%COMP%]{display:-ms-flexbox;display:flex;-ms-flex-flow:row;flex-flow:row}.inline-form[_ngcontent-%COMP%] .spacer[_ngcontent-%COMP%]{width:50px}.inline-form[_ngcontent-%COMP%] .inline-item[_ngcontent-%COMP%]{-ms-flex:1;flex:1}.inline-form[_ngcontent-%COMP%] mat-radio-button[_ngcontent-%COMP%]{margin:0 12px}.radio[_ngcontent-%COMP%]{padding:8px 0}.workers-action[_ngcontent-%COMP%]{display:-ms-flexbox;display:flex;-ms-flex-direction:row-reverse;flex-direction:row-reverse}"],changeDetection:0}),t})()},iEDd:function(t,e,n){!function(t){"use strict";t.defineLocale("gl",{months:"xaneiro_febreiro_marzo_abril_maio_xu\xf1o_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),monthsShort:"xan._feb._mar._abr._mai._xu\xf1._xul._ago._set._out._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"domingo_luns_martes_m\xe9rcores_xoves_venres_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._m\xe9r._xov._ven._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_m\xe9_xo_ve_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoxe "+(1!==this.hours()?"\xe1s":"\xe1")+"] LT"},nextDay:function(){return"[ma\xf1\xe1 "+(1!==this.hours()?"\xe1s":"\xe1")+"] LT"},nextWeek:function(){return"dddd ["+(1!==this.hours()?"\xe1s":"a")+"] LT"},lastDay:function(){return"[onte "+(1!==this.hours()?"\xe1":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+(1!==this.hours()?"\xe1s":"a")+"] LT"},sameElse:"L"},relativeTime:{future:function(t){return 0===t.indexOf("un")?"n"+t:"en "+t},past:"hai %s",s:"uns segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(n("wd/R"))},iELJ:function(t,e,n){"use strict";n.d(e,"a",function(){return S}),n.d(e,"b",function(){return E}),n.d(e,"c",function(){return N}),n.d(e,"d",function(){return R}),n.d(e,"e",function(){return Y}),n.d(e,"f",function(){return O}),n.d(e,"g",function(){return I});var i=n("1O3W"),a=n("1z/I"),r=n("8Y7J"),o=n("UhP/"),s=n("9gLZ"),l=n("SVse"),c=n("XNiG"),d=n("NXyV"),u=n("LRne"),h=n("pLZG"),m=n("IzEk"),p=n("JX91"),f=n("GS7A"),g=n("Ht+U"),b=n("YEUz");function _(t,e){}class y{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.autoFocus=!0,this.restoreFocus=!0,this.closeOnNavigation=!0}}const v={dialogContainer:Object(f.n)("dialogContainer",[Object(f.k)("void, exit",Object(f.l)({opacity:0,transform:"scale(0.7)"})),Object(f.k)("enter",Object(f.l)({transform:"none"})),Object(f.m)("* => enter",Object(f.e)("150ms cubic-bezier(0, 0, 0.2, 1)",Object(f.l)({transform:"none",opacity:1}))),Object(f.m)("* => void, * => exit",Object(f.e)("75ms cubic-bezier(0.4, 0.0, 0.2, 1)",Object(f.l)({opacity:0})))])};let C=(()=>{class t extends a.a{constructor(t,e,n,i,a,o){super(),this._elementRef=t,this._focusTrapFactory=e,this._changeDetectorRef=n,this._config=a,this._focusMonitor=o,this._animationStateChanged=new r.o,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this.attachDomPortal=t=>(this._portalOutlet.hasAttached(),this._portalOutlet.attachDomPortal(t)),this._ariaLabelledBy=a.ariaLabelledBy||null,this._document=i}_initializeWithAttachedContent(){this._setupFocusTrap(),this._capturePreviouslyFocusedElement(),this._focusDialogContainer()}attachComponentPortal(t){return this._portalOutlet.hasAttached(),this._portalOutlet.attachComponentPortal(t)}attachTemplatePortal(t){return this._portalOutlet.hasAttached(),this._portalOutlet.attachTemplatePortal(t)}_recaptureFocus(){this._containsFocus()||(!this._config.autoFocus||!this._focusTrap.focusInitialElement())&&this._elementRef.nativeElement.focus()}_trapFocus(){this._config.autoFocus?this._focusTrap.focusInitialElementWhenReady():this._containsFocus()||this._elementRef.nativeElement.focus()}_restoreFocus(){const t=this._elementFocusedBeforeDialogWasOpened;if(this._config.restoreFocus&&t&&"function"==typeof t.focus){const e=this._document.activeElement,n=this._elementRef.nativeElement;e&&e!==this._document.body&&e!==n&&!n.contains(e)||(this._focusMonitor?(this._focusMonitor.focusVia(t,this._closeInteractionType),this._closeInteractionType=null):t.focus())}this._focusTrap&&this._focusTrap.destroy()}_setupFocusTrap(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement)}_capturePreviouslyFocusedElement(){this._document&&(this._elementFocusedBeforeDialogWasOpened=this._document.activeElement)}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const t=this._elementRef.nativeElement,e=this._document.activeElement;return t===e||t.contains(e)}}return t.\u0275fac=function(e){return new(e||t)(r.Nb(r.l),r.Nb(b.i),r.Nb(r.h),r.Nb(l.d,8),r.Nb(y),r.Nb(b.h))},t.\u0275dir=r.Ib({type:t,viewQuery:function(t,e){if(1&t&&r.Lc(a.c,3),2&t){let t;r.uc(t=r.cc())&&(e._portalOutlet=t.first)}},features:[r.zb]}),t})(),w=(()=>{class t extends C{constructor(){super(...arguments),this._state="enter"}_onAnimationDone({toState:t,totalTime:e}){"enter"===t?(this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:e})):"exit"===t&&(this._restoreFocus(),this._animationStateChanged.next({state:"closed",totalTime:e}))}_onAnimationStart({toState:t,totalTime:e}){"enter"===t?this._animationStateChanged.next({state:"opening",totalTime:e}):"exit"!==t&&"void"!==t||this._animationStateChanged.next({state:"closing",totalTime:e})}_startExitAnimation(){this._state="exit",this._changeDetectorRef.markForCheck()}}return t.\u0275fac=function(e){return x(e||t)},t.\u0275cmp=r.Hb({type:t,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1","aria-modal","true",1,"mat-dialog-container"],hostVars:6,hostBindings:function(t,e){1&t&&r.Dc("@dialogContainer.start",function(t){return e._onAnimationStart(t)})("@dialogContainer.done",function(t){return e._onAnimationDone(t)}),2&t&&(r.Wb("id",e._id),r.Db("role",e._config.role)("aria-labelledby",e._config.ariaLabel?null:e._ariaLabelledBy)("aria-label",e._config.ariaLabel)("aria-describedby",e._config.ariaDescribedBy||null),r.Ec("@dialogContainer",e._state))},features:[r.zb],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(t,e){1&t&&r.Fc(0,_,0,0,"ng-template",0)},directives:[a.c],styles:[".mat-dialog-container{display:block;padding:24px;border-radius:4px;box-sizing:border-box;overflow:auto;outline:0;width:100%;height:100%;min-height:inherit;max-height:inherit}.cdk-high-contrast-active .mat-dialog-container{outline:solid 1px}.mat-dialog-content{display:block;margin:0 -24px;padding:0 24px;max-height:65vh;overflow:auto;-webkit-overflow-scrolling:touch}.mat-dialog-title{margin:0 0 20px;display:block}.mat-dialog-actions{padding:8px 0;display:flex;flex-wrap:wrap;min-height:52px;align-items:center;box-sizing:content-box;margin-bottom:-24px}.mat-dialog-actions[align=end]{justify-content:flex-end}.mat-dialog-actions[align=center]{justify-content:center}.mat-dialog-actions .mat-button-base+.mat-button-base,.mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}\n"],encapsulation:2,data:{animation:[v.dialogContainer]}}),t})();const x=r.Vb(w);let M=0;class O{constructor(t,e,n="mat-dialog-"+M++){this._overlayRef=t,this._containerInstance=e,this.id=n,this.disableClose=this._containerInstance._config.disableClose,this._afterOpened=new c.a,this._afterClosed=new c.a,this._beforeClosed=new c.a,this._state=0,e._id=n,e._animationStateChanged.pipe(Object(h.a)(t=>"opened"===t.state),Object(m.a)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),e._animationStateChanged.pipe(Object(h.a)(t=>"closed"===t.state),Object(m.a)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),t.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._afterClosed.next(this._result),this._afterClosed.complete(),this.componentInstance=null,this._overlayRef.dispose()}),t.keydownEvents().pipe(Object(h.a)(t=>t.keyCode===g.f&&!this.disableClose&&!Object(g.r)(t))).subscribe(t=>{t.preventDefault(),k(this,"keyboard")}),t.backdropClick().subscribe(()=>{this.disableClose?this._containerInstance._recaptureFocus():k(this,"mouse")})}close(t){this._result=t,this._containerInstance._animationStateChanged.pipe(Object(h.a)(t=>"closing"===t.state),Object(m.a)(1)).subscribe(e=>{this._beforeClosed.next(t),this._beforeClosed.complete(),this._overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),e.totalTime+100)}),this._state=1,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._afterClosed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._overlayRef.backdropClick()}keydownEvents(){return this._overlayRef.keydownEvents()}updatePosition(t){let e=this._getPositionStrategy();return t&&(t.left||t.right)?t.left?e.left(t.left):e.right(t.right):e.centerHorizontally(),t&&(t.top||t.bottom)?t.top?e.top(t.top):e.bottom(t.bottom):e.centerVertically(),this._overlayRef.updatePosition(),this}updateSize(t="",e=""){return this._overlayRef.updateSize({width:t,height:e}),this._overlayRef.updatePosition(),this}addPanelClass(t){return this._overlayRef.addPanelClass(t),this}removePanelClass(t){return this._overlayRef.removePanelClass(t),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._overlayRef.dispose()}_getPositionStrategy(){return this._overlayRef.getConfig().positionStrategy}}function k(t,e,n){return void 0!==t._containerInstance&&(t._containerInstance._closeInteractionType=e),t.close(n)}const S=new r.s("MatDialogData"),T=new r.s("mat-dialog-default-options"),P=new r.s("mat-dialog-scroll-strategy"),L={provide:P,deps:[i.c],useFactory:function(t){return()=>t.scrollStrategies.block()}};let D=(()=>{class t{constructor(t,e,n,i,a,r,o,s,l){this._overlay=t,this._injector=e,this._defaultOptions=n,this._parentDialog=i,this._overlayContainer=a,this._dialogRefConstructor=o,this._dialogContainerType=s,this._dialogDataToken=l,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new c.a,this._afterOpenedAtThisLevel=new c.a,this._ariaHiddenElements=new Map,this.afterAllClosed=Object(d.a)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Object(p.a)(void 0))),this._scrollStrategy=r}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const t=this._parentDialog;return t?t._getAfterAllClosed():this._afterAllClosedAtThisLevel}open(t,e){(e=function(t,e){return Object.assign(Object.assign({},e),t)}(e,this._defaultOptions||new y)).id&&this.getDialogById(e.id);const n=this._createOverlay(e),i=this._attachDialogContainer(n,e),a=this._attachDialogContent(t,i,n,e);return this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(a),a.afterClosed().subscribe(()=>this._removeOpenDialog(a)),this.afterOpened.next(a),i._initializeWithAttachedContent(),a}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(t){return this.openDialogs.find(e=>e.id===t)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_createOverlay(t){const e=this._getOverlayConfig(t);return this._overlay.create(e)}_getOverlayConfig(t){const e=new i.d({positionStrategy:this._overlay.position().global(),scrollStrategy:t.scrollStrategy||this._scrollStrategy(),panelClass:t.panelClass,hasBackdrop:t.hasBackdrop,direction:t.direction,minWidth:t.minWidth,minHeight:t.minHeight,maxWidth:t.maxWidth,maxHeight:t.maxHeight,disposeOnNavigation:t.closeOnNavigation});return t.backdropClass&&(e.backdropClass=t.backdropClass),e}_attachDialogContainer(t,e){const n=r.t.create({parent:e&&e.viewContainerRef&&e.viewContainerRef.injector||this._injector,providers:[{provide:y,useValue:e}]}),i=new a.d(this._dialogContainerType,e.viewContainerRef,n,e.componentFactoryResolver);return t.attach(i).instance}_attachDialogContent(t,e,n,i){const o=new this._dialogRefConstructor(n,e,i.id);if(t instanceof r.N)e.attachTemplatePortal(new a.g(t,null,{$implicit:i.data,dialogRef:o}));else{const n=this._createInjector(i,o,e),r=e.attachComponentPortal(new a.d(t,i.viewContainerRef,n));o.componentInstance=r.instance}return o.updateSize(i.width,i.height).updatePosition(i.position),o}_createInjector(t,e,n){const i=t&&t.viewContainerRef&&t.viewContainerRef.injector,a=[{provide:this._dialogContainerType,useValue:n},{provide:this._dialogDataToken,useValue:t.data},{provide:this._dialogRefConstructor,useValue:e}];return!t.direction||i&&i.get(s.b,null)||a.push({provide:s.b,useValue:{value:t.direction,change:Object(u.a)()}}),r.t.create({parent:i||this._injector,providers:a})}_removeOpenDialog(t){const e=this.openDialogs.indexOf(t);e>-1&&(this.openDialogs.splice(e,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((t,e)=>{t?e.setAttribute("aria-hidden",t):e.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const t=this._overlayContainer.getContainerElement();if(t.parentElement){const e=t.parentElement.children;for(let n=e.length-1;n>-1;n--){let i=e[n];i===t||"SCRIPT"===i.nodeName||"STYLE"===i.nodeName||i.hasAttribute("aria-live")||(this._ariaHiddenElements.set(i,i.getAttribute("aria-hidden")),i.setAttribute("aria-hidden","true"))}}}_closeDialogs(t){let e=t.length;for(;e--;)t[e].close()}}return t.\u0275fac=function(e){return new(e||t)(r.Nb(i.c),r.Nb(r.t),r.Nb(void 0),r.Nb(void 0),r.Nb(i.e),r.Nb(void 0),r.Nb(r.P),r.Nb(r.P),r.Nb(r.s))},t.\u0275dir=r.Ib({type:t}),t})(),E=(()=>{class t extends D{constructor(t,e,n,i,a,r,o){super(t,e,i,r,o,a,O,w,S)}}return t.\u0275fac=function(e){return new(e||t)(r.Xb(i.c),r.Xb(r.t),r.Xb(l.h,8),r.Xb(T,8),r.Xb(P),r.Xb(t,12),r.Xb(i.e))},t.\u0275prov=r.Jb({token:t,factory:t.\u0275fac}),t})(),A=0,I=(()=>{class t{constructor(t,e,n){this._dialogRef=t,this._elementRef=e,this._dialog=n,this.id="mat-dialog-title-"+A++}ngOnInit(){this._dialogRef||(this._dialogRef=function(t,e){let n=t.nativeElement.parentElement;for(;n&&!n.classList.contains("mat-dialog-container");)n=n.parentElement;return n?e.find(t=>t.id===n.id):null}(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{const t=this._dialogRef._containerInstance;t&&!t._ariaLabelledBy&&(t._ariaLabelledBy=this.id)})}}return t.\u0275fac=function(e){return new(e||t)(r.Nb(O,8),r.Nb(r.l),r.Nb(E))},t.\u0275dir=r.Ib({type:t,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-dialog-title"],hostVars:1,hostBindings:function(t,e){2&t&&r.Wb("id",e.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]}),t})(),R=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=r.Ib({type:t,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-dialog-content"]}),t})(),N=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=r.Ib({type:t,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-dialog-actions"]}),t})(),Y=(()=>{class t{}return t.\u0275mod=r.Lb({type:t}),t.\u0275inj=r.Kb({factory:function(e){return new(e||t)},providers:[E,L],imports:[[i.f,a.f,o.j],o.j]}),t})()},iInd:function(t,e,n){"use strict";n.d(e,"a",function(){return Gt}),n.d(e,"b",function(){return q}),n.d(e,"c",function(){return U}),n.d(e,"d",function(){return G}),n.d(e,"e",function(){return W}),n.d(e,"f",function(){return mn}),n.d(e,"g",function(){return pn}),n.d(e,"h",function(){return bn}),n.d(e,"i",function(){return fn}),n.d(e,"j",function(){return Tn}),n.d(e,"k",function(){return _n});var i=n("SVse"),a=n("8Y7J"),r=n("Cfvw"),o=n("LRne"),s=n("2Vo4"),l=n("itXk"),c=n("HDdC");const d=(()=>{function t(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return t.prototype=Object.create(Error.prototype),t})();var u=n("GyhO"),h=n("NXyV"),m=n("EY2u"),p=n("XNiG"),f=n("lJxs"),g=n("eIep"),b=n("IzEk"),_=n("JX91"),y=n("7o/Q");function v(t,e){let n=!1;return arguments.length>=2&&(n=!0),function(i){return i.lift(new C(t,e,n))}}class C{constructor(t,e,n=!1){this.accumulator=t,this.seed=e,this.hasSeed=n}call(t,e){return e.subscribe(new w(t,this.accumulator,this.seed,this.hasSeed))}}class w extends y.a{constructor(t,e,n,i){super(t),this.accumulator=e,this._seed=n,this.hasSeed=i,this.index=0}get seed(){return this._seed}set seed(t){this.hasSeed=!0,this._seed=t}_next(t){if(this.hasSeed)return this._tryNext(t);this.seed=t,this.destination.next(t)}_tryNext(t){const e=this.index++;let n;try{n=this.accumulator(this.seed,t,e)}catch(i){this.destination.error(i)}this.seed=n,this.destination.next(n)}}var x=n("pLZG"),M=n("JIr8"),O=n("bOdf"),k=n("4I5i");function S(t){return function(e){return 0===t?Object(m.b)():e.lift(new T(t))}}class T{constructor(t){if(this.total=t,this.total<0)throw new k.a}call(t,e){return e.subscribe(new P(t,this.total))}}class P extends y.a{constructor(t,e){super(t),this.total=e,this.ring=new Array,this.count=0}_next(t){const e=this.ring,n=this.total,i=this.count++;e.length<n?e.push(t):e[i%n]=t}_complete(){const t=this.destination;let e=this.count;if(e>0){const n=this.count>=this.total?this.total:this.count,i=this.ring;for(let a=0;a<n;a++){const a=e++%n;t.next(i[a])}}t.complete()}}function L(t=A){return e=>e.lift(new D(t))}class D{constructor(t){this.errorFactory=t}call(t,e){return e.subscribe(new E(t,this.errorFactory))}}class E extends y.a{constructor(t,e){super(t),this.errorFactory=e,this.hasValue=!1}_next(t){this.hasValue=!0,this.destination.next(t)}_complete(){if(this.hasValue)return this.destination.complete();{let e;try{e=this.errorFactory()}catch(t){e=t}this.destination.error(e)}}}function A(){return new d}function I(t=null){return e=>e.lift(new R(t))}class R{constructor(t){this.defaultValue=t}call(t,e){return e.subscribe(new N(t,this.defaultValue))}}class N extends y.a{constructor(t,e){super(t),this.defaultValue=e,this.isEmpty=!0}_next(t){this.isEmpty=!1,this.destination.next(t)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}var Y=n("SpAZ");function H(t,e){const n=arguments.length>=2;return i=>i.pipe(t?Object(x.a)((e,n)=>t(e,n,i)):Y.a,Object(b.a)(1),n?I(e):L(()=>new d))}var j=n("5+tZ"),F=n("vkgz"),z=n("nYR2"),V=n("bHdf");class B{constructor(t,e){this.id=t,this.url=e}}class W extends B{constructor(t,e,n="imperative",i=null){super(t,e),this.navigationTrigger=n,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class U extends B{constructor(t,e,n){super(t,e),this.urlAfterRedirects=n}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class q extends B{constructor(t,e,n){super(t,e),this.reason=n}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class G extends B{constructor(t,e,n){super(t,e),this.error=n}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class J extends B{constructor(t,e,n,i){super(t,e),this.urlAfterRedirects=n,this.state=i}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Z extends B{constructor(t,e,n,i){super(t,e),this.urlAfterRedirects=n,this.state=i}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class $ extends B{constructor(t,e,n,i,a){super(t,e),this.urlAfterRedirects=n,this.state=i,this.shouldActivate=a}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class X extends B{constructor(t,e,n,i){super(t,e),this.urlAfterRedirects=n,this.state=i}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class K extends B{constructor(t,e,n,i){super(t,e),this.urlAfterRedirects=n,this.state=i}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Q{constructor(t){this.route=t}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class tt{constructor(t){this.route=t}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class et{constructor(t){this.snapshot=t}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class nt{constructor(t){this.snapshot=t}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class it{constructor(t){this.snapshot=t}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class at{constructor(t){this.snapshot=t}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class rt{constructor(t,e,n){this.routerEvent=t,this.position=e,this.anchor=n}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class ot{constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){const e=this.params[t];return Array.isArray(e)?e[0]:e}return null}getAll(t){if(this.has(t)){const e=this.params[t];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}}function st(t){return new ot(t)}function lt(t){const e=Error("NavigationCancelingError: "+t);return e.ngNavigationCancelingError=!0,e}function ct(t,e,n){const i=n.path.split("/");if(i.length>t.length)return null;if("full"===n.pathMatch&&(e.hasChildren()||i.length<t.length))return null;const a={};for(let r=0;r<i.length;r++){const e=i[r],n=t[r];if(e.startsWith(":"))a[e.substring(1)]=n;else if(e!==n.path)return null}return{consumed:t.slice(0,i.length),posParams:a}}function dt(t,e){const n=t?Object.keys(t):void 0,i=e?Object.keys(e):void 0;if(!n||!i||n.length!=i.length)return!1;let a;for(let r=0;r<n.length;r++)if(a=n[r],!ut(t[a],e[a]))return!1;return!0}function ut(t,e){if(Array.isArray(t)&&Array.isArray(e)){if(t.length!==e.length)return!1;const n=[...t].sort(),i=[...e].sort();return n.every((t,e)=>i[e]===t)}return t===e}function ht(t){return Array.prototype.concat.apply([],t)}function mt(t){return t.length>0?t[t.length-1]:null}function pt(t,e){for(const n in t)t.hasOwnProperty(n)&&e(t[n],n)}function ft(t){return Object(a.sb)(t)?t:Object(a.tb)(t)?Object(r.a)(Promise.resolve(t)):Object(o.a)(t)}function gt(t,e,n){return n?function(t,e){return dt(t,e)}(t.queryParams,e.queryParams)&&bt(t.root,e.root):function(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(n=>ut(t[n],e[n]))}(t.queryParams,e.queryParams)&&_t(t.root,e.root)}function bt(t,e){if(!xt(t.segments,e.segments))return!1;if(t.numberOfChildren!==e.numberOfChildren)return!1;for(const n in e.children){if(!t.children[n])return!1;if(!bt(t.children[n],e.children[n]))return!1}return!0}function _t(t,e){return yt(t,e,e.segments)}function yt(t,e,n){if(t.segments.length>n.length)return!!xt(t.segments.slice(0,n.length),n)&&!e.hasChildren();if(t.segments.length===n.length){if(!xt(t.segments,n))return!1;for(const n in e.children){if(!t.children[n])return!1;if(!_t(t.children[n],e.children[n]))return!1}return!0}{const i=n.slice(0,t.segments.length),a=n.slice(t.segments.length);return!!xt(t.segments,i)&&!!t.children.primary&&yt(t.children.primary,e,a)}}class vt{constructor(t,e,n){this.root=t,this.queryParams=e,this.fragment=n}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=st(this.queryParams)),this._queryParamMap}toString(){return kt.serialize(this)}}class Ct{constructor(t,e){this.segments=t,this.children=e,this.parent=null,pt(e,(t,e)=>t.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return St(this)}}class wt{constructor(t,e){this.path=t,this.parameters=e}get parameterMap(){return this._parameterMap||(this._parameterMap=st(this.parameters)),this._parameterMap}toString(){return It(this)}}function xt(t,e){return t.length===e.length&&t.every((t,n)=>t.path===e[n].path)}class Mt{}class Ot{parse(t){const e=new jt(t);return new vt(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(t){var e;return`/${Tt(t.root,!0)}${function(t){const e=Object.keys(t).map(e=>{const n=t[e];return Array.isArray(n)?n.map(t=>`${Lt(e)}=${Lt(t)}`).join("&"):`${Lt(e)}=${Lt(n)}`});return e.length?`?${e.join("&")}`:""}(t.queryParams)}${"string"==typeof t.fragment?`#${e=t.fragment,encodeURI(e)}`:""}`}}const kt=new Ot;function St(t){return t.segments.map(t=>It(t)).join("/")}function Tt(t,e){if(!t.hasChildren())return St(t);if(e){const e=t.children.primary?Tt(t.children.primary,!1):"",n=[];return pt(t.children,(t,e)=>{"primary"!==e&&n.push(`${e}:${Tt(t,!1)}`)}),n.length>0?`${e}(${n.join("//")})`:e}{const e=function(t,e){let n=[];return pt(t.children,(t,i)=>{"primary"===i&&(n=n.concat(e(t,i)))}),pt(t.children,(t,i)=>{"primary"!==i&&(n=n.concat(e(t,i)))}),n}(t,(e,n)=>"primary"===n?[Tt(t.children.primary,!1)]:[`${n}:${Tt(e,!1)}`]);return 1===Object.keys(t.children).length&&null!=t.children.primary?`${St(t)}/${e[0]}`:`${St(t)}/(${e.join("//")})`}}function Pt(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Lt(t){return Pt(t).replace(/%3B/gi,";")}function Dt(t){return Pt(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Et(t){return decodeURIComponent(t)}function At(t){return Et(t.replace(/\+/g,"%20"))}function It(t){return`${Dt(t.path)}${e=t.parameters,Object.keys(e).map(t=>`;${Dt(t)}=${Dt(e[t])}`).join("")}`;var e}const Rt=/^[^\/()?;=#]+/;function Nt(t){const e=t.match(Rt);return e?e[0]:""}const Yt=/^[^=?&#]+/,Ht=/^[^?&#]+/;class jt{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Ct([],{}):new Ct([],this.parseChildren())}parseQueryParams(){const t={};if(this.consumeOptional("?"))do{this.parseQueryParam(t)}while(this.consumeOptional("&"));return t}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(t.length>0||Object.keys(e).length>0)&&(n.primary=new Ct(t,e)),n}parseSegment(){const t=Nt(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(t),new wt(Et(t),this.parseMatrixParams())}parseMatrixParams(){const t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){const e=Nt(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){const t=Nt(this.remaining);t&&(n=t,this.capture(n))}t[Et(e)]=Et(n)}parseQueryParam(t){const e=function(t){const e=t.match(Yt);return e?e[0]:""}(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){const t=function(t){const e=t.match(Ht);return e?e[0]:""}(this.remaining);t&&(n=t,this.capture(n))}const i=At(e),a=At(n);if(t.hasOwnProperty(i)){let e=t[i];Array.isArray(e)||(e=[e],t[i]=e),e.push(a)}else t[i]=a}parseParens(t){const e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const n=Nt(this.remaining),i=this.remaining[n.length];if("/"!==i&&")"!==i&&";"!==i)throw new Error(`Cannot parse url '${this.url}'`);let a;n.indexOf(":")>-1?(a=n.substr(0,n.indexOf(":")),this.capture(a),this.capture(":")):t&&(a="primary");const r=this.parseChildren();e[a]=1===Object.keys(r).length?r.primary:new Ct([],r),this.consumeOptional("//")}return e}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)}capture(t){if(!this.consumeOptional(t))throw new Error(`Expected "${t}".`)}}class Ft{constructor(t){this._root=t}get root(){return this._root.value}parent(t){const e=this.pathFromRoot(t);return e.length>1?e[e.length-2]:null}children(t){const e=zt(t,this._root);return e?e.children.map(t=>t.value):[]}firstChild(t){const e=zt(t,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(t){const e=Vt(t,this._root);return e.length<2?[]:e[e.length-2].children.map(t=>t.value).filter(e=>e!==t)}pathFromRoot(t){return Vt(t,this._root).map(t=>t.value)}}function zt(t,e){if(t===e.value)return e;for(const n of e.children){const e=zt(t,n);if(e)return e}return null}function Vt(t,e){if(t===e.value)return[e];for(const n of e.children){const i=Vt(t,n);if(i.length)return i.unshift(e),i}return[]}class Bt{constructor(t,e){this.value=t,this.children=e}toString(){return`TreeNode(${this.value})`}}function Wt(t){const e={};return t&&t.children.forEach(t=>e[t.value.outlet]=t),e}class Ut extends Ft{constructor(t,e){super(t),this.snapshot=e,Xt(this,t)}toString(){return this.snapshot.toString()}}function qt(t,e){const n=function(t,e){const n=new Zt([],{},{},"",{},"primary",e,null,t.root,-1,{});return new $t("",new Bt(n,[]))}(t,e),i=new s.a([new wt("",{})]),a=new s.a({}),r=new s.a({}),o=new s.a({}),l=new s.a(""),c=new Gt(i,a,o,l,r,"primary",e,n.root);return c.snapshot=n.root,new Ut(new Bt(c,[]),n)}class Gt{constructor(t,e,n,i,a,r,o,s){this.url=t,this.params=e,this.queryParams=n,this.fragment=i,this.data=a,this.outlet=r,this.component=o,this._futureSnapshot=s}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe(Object(f.a)(t=>st(t)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(Object(f.a)(t=>st(t)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Jt(t,e="emptyOnly"){const n=t.pathFromRoot;let i=0;if("always"!==e)for(i=n.length-1;i>=1;){const t=n[i],e=n[i-1];if(t.routeConfig&&""===t.routeConfig.path)i--;else{if(e.component)break;i--}}return function(t){return t.reduce((t,e)=>({params:Object.assign(Object.assign({},t.params),e.params),data:Object.assign(Object.assign({},t.data),e.data),resolve:Object.assign(Object.assign({},t.resolve),e._resolvedData)}),{params:{},data:{},resolve:{}})}(n.slice(i))}class Zt{constructor(t,e,n,i,a,r,o,s,l,c,d){this.url=t,this.params=e,this.queryParams=n,this.fragment=i,this.data=a,this.outlet=r,this.component=o,this.routeConfig=s,this._urlSegment=l,this._lastPathIndex=c,this._resolve=d}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=st(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=st(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(t=>t.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class $t extends Ft{constructor(t,e){super(e),this.url=t,Xt(this,e)}toString(){return Kt(this._root)}}function Xt(t,e){e.value._routerState=t,e.children.forEach(e=>Xt(t,e))}function Kt(t){const e=t.children.length>0?` { ${t.children.map(Kt).join(", ")} } `:"";return`${t.value}${e}`}function Qt(t){if(t.snapshot){const e=t.snapshot,n=t._futureSnapshot;t.snapshot=n,dt(e.queryParams,n.queryParams)||t.queryParams.next(n.queryParams),e.fragment!==n.fragment&&t.fragment.next(n.fragment),dt(e.params,n.params)||t.params.next(n.params),function(t,e){if(t.length!==e.length)return!1;for(let n=0;n<t.length;++n)if(!dt(t[n],e[n]))return!1;return!0}(e.url,n.url)||t.url.next(n.url),dt(e.data,n.data)||t.data.next(n.data)}else t.snapshot=t._futureSnapshot,t.data.next(t._futureSnapshot.data)}function te(t,e){var n,i;return dt(t.params,e.params)&&xt(n=t.url,i=e.url)&&n.every((t,e)=>dt(t.parameters,i[e].parameters))&&!(!t.parent!=!e.parent)&&(!t.parent||te(t.parent,e.parent))}function ee(t,e,n){if(n&&t.shouldReuseRoute(e.value,n.value.snapshot)){const i=n.value;i._futureSnapshot=e.value;const a=function(t,e,n){return e.children.map(e=>{for(const i of n.children)if(t.shouldReuseRoute(e.value,i.value.snapshot))return ee(t,e,i);return ee(t,e)})}(t,e,n);return new Bt(i,a)}{const n=t.retrieve(e.value);if(n){const t=n.route;return ne(e,t),t}{const n=new Gt(new s.a((i=e.value).url),new s.a(i.params),new s.a(i.queryParams),new s.a(i.fragment),new s.a(i.data),i.outlet,i.component,i),a=e.children.map(e=>ee(t,e));return new Bt(n,a)}}var i}function ne(t,e){if(t.value.routeConfig!==e.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");if(t.children.length!==e.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");e.value._futureSnapshot=t.value;for(let n=0;n<t.children.length;++n)ne(t.children[n],e.children[n])}function ie(t){return"object"==typeof t&&null!=t&&!t.outlets&&!t.segmentPath}function ae(t){return"object"==typeof t&&null!=t&&t.outlets}function re(t,e,n,i,a){let r={};return i&&pt(i,(t,e)=>{r[e]=Array.isArray(t)?t.map(t=>`${t}`):`${t}`}),new vt(n.root===t?e:oe(n.root,t,e),r,a)}function oe(t,e,n){const i={};return pt(t.children,(t,a)=>{i[a]=t===e?n:oe(t,e,n)}),new Ct(t.segments,i)}class se{constructor(t,e,n){if(this.isAbsolute=t,this.numberOfDoubleDots=e,this.commands=n,t&&n.length>0&&ie(n[0]))throw new Error("Root segment cannot have matrix parameters");const i=n.find(ae);if(i&&i!==mt(n))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class le{constructor(t,e,n){this.segmentGroup=t,this.processChildren=e,this.index=n}}function ce(t,e,n){if(t||(t=new Ct([],{})),0===t.segments.length&&t.hasChildren())return de(t,e,n);const i=function(t,e,n){let i=0,a=e;const r={match:!1,pathIndex:0,commandIndex:0};for(;a<t.segments.length;){if(i>=n.length)return r;const e=t.segments[a],o=n[i];if(ae(o))break;const s=`${o}`,l=i<n.length-1?n[i+1]:null;if(a>0&&void 0===s)break;if(s&&l&&"object"==typeof l&&void 0===l.outlets){if(!pe(s,l,e))return r;i+=2}else{if(!pe(s,{},e))return r;i++}a++}return{match:!0,pathIndex:a,commandIndex:i}}(t,e,n),a=n.slice(i.commandIndex);if(i.match&&i.pathIndex<t.segments.length){const e=new Ct(t.segments.slice(0,i.pathIndex),{});return e.children.primary=new Ct(t.segments.slice(i.pathIndex),t.children),de(e,0,a)}return i.match&&0===a.length?new Ct(t.segments,{}):i.match&&!t.hasChildren()?ue(t,e,n):i.match?de(t,0,a):ue(t,e,n)}function de(t,e,n){if(0===n.length)return new Ct(t.segments,{});{const i=function(t){return ae(t[0])?t[0].outlets:{primary:t}}(n),a={};return pt(i,(n,i)=>{"string"==typeof n&&(n=[n]),null!==n&&(a[i]=ce(t.children[i],e,n))}),pt(t.children,(t,e)=>{void 0===i[e]&&(a[e]=t)}),new Ct(t.segments,a)}}function ue(t,e,n){const i=t.segments.slice(0,e);let a=0;for(;a<n.length;){const r=n[a];if(ae(r)){const t=he(r.outlets);return new Ct(i,t)}if(0===a&&ie(n[0])){i.push(new wt(t.segments[e].path,me(n[0]))),a++;continue}const o=ae(r)?r.outlets.primary:`${r}`,s=a<n.length-1?n[a+1]:null;o&&s&&ie(s)?(i.push(new wt(o,me(s))),a+=2):(i.push(new wt(o,{})),a++)}return new Ct(i,{})}function he(t){const e={};return pt(t,(t,n)=>{"string"==typeof t&&(t=[t]),null!==t&&(e[n]=ue(new Ct([],{}),0,t))}),e}function me(t){const e={};return pt(t,(t,n)=>e[n]=`${t}`),e}function pe(t,e,n){return t==n.path&&dt(e,n.parameters)}class fe{constructor(t,e,n,i){this.routeReuseStrategy=t,this.futureState=e,this.currState=n,this.forwardEvent=i}activate(t){const e=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,n,t),Qt(this.futureState.root),this.activateChildRoutes(e,n,t)}deactivateChildRoutes(t,e,n){const i=Wt(e);t.children.forEach(t=>{const e=t.value.outlet;this.deactivateRoutes(t,i[e],n),delete i[e]}),pt(i,(t,e)=>{this.deactivateRouteAndItsChildren(t,n)})}deactivateRoutes(t,e,n){const i=t.value,a=e?e.value:null;if(i===a)if(i.component){const a=n.getContext(i.outlet);a&&this.deactivateChildRoutes(t,e,a.children)}else this.deactivateChildRoutes(t,e,n);else a&&this.deactivateRouteAndItsChildren(e,n)}deactivateRouteAndItsChildren(t,e){this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,e):this.deactivateRouteAndOutlet(t,e)}detachAndStoreRouteSubtree(t,e){const n=e.getContext(t.value.outlet);if(n&&n.outlet){const e=n.outlet.detach(),i=n.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:e,route:t,contexts:i})}}deactivateRouteAndOutlet(t,e){const n=e.getContext(t.value.outlet),i=n&&t.value.component?n.children:e,a=Wt(t);for(const r of Object.keys(a))this.deactivateRouteAndItsChildren(a[r],i);n&&n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated())}activateChildRoutes(t,e,n){const i=Wt(e);t.children.forEach(t=>{this.activateRoutes(t,i[t.value.outlet],n),this.forwardEvent(new at(t.value.snapshot))}),t.children.length&&this.forwardEvent(new nt(t.value.snapshot))}activateRoutes(t,e,n){const i=t.value,a=e?e.value:null;if(Qt(i),i===a)if(i.component){const a=n.getOrCreateContext(i.outlet);this.activateChildRoutes(t,e,a.children)}else this.activateChildRoutes(t,e,n);else if(i.component){const e=n.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){const t=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),e.children.onOutletReAttached(t.contexts),e.attachRef=t.componentRef,e.route=t.route.value,e.outlet&&e.outlet.attach(t.componentRef,t.route.value),ge(t.route)}else{const n=function(t){for(let e=t.parent;e;e=e.parent){const t=e.routeConfig;if(t&&t._loadedConfig)return t._loadedConfig;if(t&&t.component)return null}return null}(i.snapshot),a=n?n.module.componentFactoryResolver:null;e.attachRef=null,e.route=i,e.resolver=a,e.outlet&&e.outlet.activateWith(i,a),this.activateChildRoutes(t,null,e.children)}}else this.activateChildRoutes(t,null,n)}}function ge(t){Qt(t.value),t.children.forEach(ge)}class be{constructor(t,e){this.routes=t,this.module=e}}function _e(t){return"function"==typeof t}function ye(t){return t instanceof vt}const ve=Symbol("INITIAL_VALUE");function Ce(){return Object(g.a)(t=>Object(l.a)(t.map(t=>t.pipe(Object(b.a)(1),Object(_.a)(ve)))).pipe(v((t,e)=>{let n=!1;return e.reduce((t,i,a)=>{if(t!==ve)return t;if(i===ve&&(n=!0),!n){if(!1===i)return i;if(a===e.length-1||ye(i))return i}return t},t)},ve),Object(x.a)(t=>t!==ve),Object(f.a)(t=>ye(t)?t:!0===t),Object(b.a)(1)))}let we=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=a.Hb({type:t,selectors:[["ng-component"]],decls:1,vars:0,template:function(t,e){1&t&&a.Ob(0,"router-outlet")},directives:function(){return[_n]},encapsulation:2}),t})();function xe(t,e=""){for(let n=0;n<t.length;n++){const i=t[n];Me(i,Oe(e,i))}}function Me(t,e){t.children&&xe(t.children,e)}function Oe(t,e){return e?t||e.path?t&&!e.path?`${t}/`:!t&&e.path?e.path:`${t}/${e.path}`:"":t}function ke(t){const e=t.children&&t.children.map(ke),n=e?Object.assign(Object.assign({},t),{children:e}):Object.assign({},t);return!n.component&&(e||n.loadChildren)&&n.outlet&&"primary"!==n.outlet&&(n.component=we),n}function Se(t){return t.outlet||"primary"}function Te(t,e){const n=t.filter(t=>Se(t)===e);return n.push(...t.filter(t=>Se(t)!==e)),n}const Pe={matched:!1,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};function Le(t,e,n){var i;if(""===e.path)return"full"===e.pathMatch&&(t.hasChildren()||n.length>0)?Object.assign({},Pe):{matched:!0,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};const a=(e.matcher||ct)(n,t,e);if(!a)return Object.assign({},Pe);const r={};pt(a.posParams,(t,e)=>{r[e]=t.path});const o=a.consumed.length>0?Object.assign(Object.assign({},r),a.consumed[a.consumed.length-1].parameters):r;return{matched:!0,consumedSegments:a.consumed,lastChild:a.consumed.length,parameters:o,positionalParamSegments:null!==(i=a.posParams)&&void 0!==i?i:{}}}function De(t,e,n,i,a="corrected"){if(n.length>0&&function(t,e,n){return n.some(n=>Ee(t,e,n)&&"primary"!==Se(n))}(t,n,i)){const a=new Ct(e,function(t,e,n,i){const a={};a.primary=i,i._sourceSegment=t,i._segmentIndexShift=e.length;for(const r of n)if(""===r.path&&"primary"!==Se(r)){const n=new Ct([],{});n._sourceSegment=t,n._segmentIndexShift=e.length,a[Se(r)]=n}return a}(t,e,i,new Ct(n,t.children)));return a._sourceSegment=t,a._segmentIndexShift=e.length,{segmentGroup:a,slicedSegments:[]}}if(0===n.length&&function(t,e,n){return n.some(n=>Ee(t,e,n))}(t,n,i)){const r=new Ct(t.segments,function(t,e,n,i,a,r){const o={};for(const s of i)if(Ee(t,n,s)&&!a[Se(s)]){const n=new Ct([],{});n._sourceSegment=t,n._segmentIndexShift="legacy"===r?t.segments.length:e.length,o[Se(s)]=n}return Object.assign(Object.assign({},a),o)}(t,e,n,i,t.children,a));return r._sourceSegment=t,r._segmentIndexShift=e.length,{segmentGroup:r,slicedSegments:n}}const r=new Ct(t.segments,t.children);return r._sourceSegment=t,r._segmentIndexShift=e.length,{segmentGroup:r,slicedSegments:n}}function Ee(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path}function Ae(t,e,n,i){return!!(Se(t)===i||"primary"!==i&&Ee(e,n,t))&&("**"===t.path||Le(e,t,n).matched)}function Ie(t,e,n){return 0===e.length&&!t.children[n]}class Re{constructor(t){this.segmentGroup=t||null}}class Ne{constructor(t){this.urlTree=t}}function Ye(t){return new c.a(e=>e.error(new Re(t)))}function He(t){return new c.a(e=>e.error(new Ne(t)))}function je(t){return new c.a(e=>e.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${t}'`)))}class Fe{constructor(t,e,n,i,r){this.configLoader=e,this.urlSerializer=n,this.urlTree=i,this.config=r,this.allowRedirects=!0,this.ngModule=t.get(a.z)}apply(){const t=De(this.urlTree.root,[],[],this.config).segmentGroup,e=new Ct(t.segments,t.children);return this.expandSegmentGroup(this.ngModule,this.config,e,"primary").pipe(Object(f.a)(t=>this.createUrlTree(ze(t),this.urlTree.queryParams,this.urlTree.fragment))).pipe(Object(M.a)(t=>{if(t instanceof Ne)return this.allowRedirects=!1,this.match(t.urlTree);if(t instanceof Re)throw this.noMatchError(t);throw t}))}match(t){return this.expandSegmentGroup(this.ngModule,this.config,t.root,"primary").pipe(Object(f.a)(e=>this.createUrlTree(ze(e),t.queryParams,t.fragment))).pipe(Object(M.a)(t=>{if(t instanceof Re)throw this.noMatchError(t);throw t}))}noMatchError(t){return new Error(`Cannot match any routes. URL Segment: '${t.segmentGroup}'`)}createUrlTree(t,e,n){const i=t.segments.length>0?new Ct([],{primary:t}):t;return new vt(i,e,n)}expandSegmentGroup(t,e,n,i){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(t,e,n).pipe(Object(f.a)(t=>new Ct([],t))):this.expandSegment(t,n,e,n.segments,i,!0)}expandChildren(t,e,n){const i=[];for(const a of Object.keys(n.children))"primary"===a?i.unshift(a):i.push(a);return Object(r.a)(i).pipe(Object(O.a)(i=>{const a=n.children[i],r=Te(e,i);return this.expandSegmentGroup(t,r,a,i).pipe(Object(f.a)(t=>({segment:t,outlet:i})))}),v((t,e)=>(t[e.outlet]=e.segment,t),{}),function(t,e){const n=arguments.length>=2;return i=>i.pipe(t?Object(x.a)((e,n)=>t(e,n,i)):Y.a,S(1),n?I(e):L(()=>new d))}())}expandSegment(t,e,n,i,a,s){return Object(r.a)(n).pipe(Object(O.a)(r=>this.expandSegmentAgainstRoute(t,e,n,r,i,a,s).pipe(Object(M.a)(t=>{if(t instanceof Re)return Object(o.a)(null);throw t}))),H(t=>!!t),Object(M.a)((t,n)=>{if(t instanceof d||"EmptyError"===t.name){if(Ie(e,i,a))return Object(o.a)(new Ct([],{}));throw new Re(e)}throw t}))}expandSegmentAgainstRoute(t,e,n,i,a,r,o){return Ae(i,e,a,r)?void 0===i.redirectTo?this.matchSegmentAgainstRoute(t,e,i,a,r):o&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,e,n,i,a,r):Ye(e):Ye(e)}expandSegmentAgainstRouteUsingRedirect(t,e,n,i,a,r){return"**"===i.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,n,i,r):this.expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,i,a,r)}expandWildCardWithParamsAgainstRouteUsingRedirect(t,e,n,i){const a=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?He(a):this.lineralizeSegments(n,a).pipe(Object(j.a)(n=>{const a=new Ct(n,{});return this.expandSegment(t,a,e,n,i,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,i,a,r){const{matched:o,consumedSegments:s,lastChild:l,positionalParamSegments:c}=Le(e,i,a);if(!o)return Ye(e);const d=this.applyRedirectCommands(s,i.redirectTo,c);return i.redirectTo.startsWith("/")?He(d):this.lineralizeSegments(i,d).pipe(Object(j.a)(i=>this.expandSegment(t,e,n,i.concat(a.slice(l)),r,!1)))}matchSegmentAgainstRoute(t,e,n,i,a){if("**"===n.path)return n.loadChildren?this.configLoader.load(t.injector,n).pipe(Object(f.a)(t=>(n._loadedConfig=t,new Ct(i,{})))):Object(o.a)(new Ct(i,{}));const{matched:r,consumedSegments:s,lastChild:l}=Le(e,n,i);if(!r)return Ye(e);const c=i.slice(l);return this.getChildConfig(t,n,i).pipe(Object(j.a)(t=>{const i=t.module,r=t.routes,{segmentGroup:l,slicedSegments:d}=De(e,s,c,r),u=new Ct(l.segments,l.children);if(0===d.length&&u.hasChildren())return this.expandChildren(i,r,u).pipe(Object(f.a)(t=>new Ct(s,t)));if(0===r.length&&0===d.length)return Object(o.a)(new Ct(s,{}));const h=Se(n)===a;return this.expandSegment(i,u,r,d,h?"primary":a,!0).pipe(Object(f.a)(t=>new Ct(s.concat(t.segments),t.children)))}))}getChildConfig(t,e,n){return e.children?Object(o.a)(new be(e.children,t)):e.loadChildren?void 0!==e._loadedConfig?Object(o.a)(e._loadedConfig):this.runCanLoadGuards(t.injector,e,n).pipe(Object(j.a)(n=>n?this.configLoader.load(t.injector,e).pipe(Object(f.a)(t=>(e._loadedConfig=t,t))):function(t){return new c.a(e=>e.error(lt(`Cannot load children because the guard of the route "path: '${t.path}'" returned false`)))}(e))):Object(o.a)(new be([],t))}runCanLoadGuards(t,e,n){const i=e.canLoad;if(!i||0===i.length)return Object(o.a)(!0);const a=i.map(i=>{const a=t.get(i);let r;if(function(t){return t&&_e(t.canLoad)}(a))r=a.canLoad(e,n);else{if(!_e(a))throw new Error("Invalid CanLoad guard");r=a(e,n)}return ft(r)});return Object(o.a)(a).pipe(Ce(),Object(F.a)(t=>{if(!ye(t))return;const e=lt(`Redirecting to "${this.urlSerializer.serialize(t)}"`);throw e.url=t,e}),Object(f.a)(t=>!0===t))}lineralizeSegments(t,e){let n=[],i=e.root;for(;;){if(n=n.concat(i.segments),0===i.numberOfChildren)return Object(o.a)(n);if(i.numberOfChildren>1||!i.children.primary)return je(t.redirectTo);i=i.children.primary}}applyRedirectCommands(t,e,n){return this.applyRedirectCreatreUrlTree(e,this.urlSerializer.parse(e),t,n)}applyRedirectCreatreUrlTree(t,e,n,i){const a=this.createSegmentGroup(t,e.root,n,i);return new vt(a,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(t,e){const n={};return pt(t,(t,i)=>{if("string"==typeof t&&t.startsWith(":")){const a=t.substring(1);n[i]=e[a]}else n[i]=t}),n}createSegmentGroup(t,e,n,i){const a=this.createSegments(t,e.segments,n,i);let r={};return pt(e.children,(e,a)=>{r[a]=this.createSegmentGroup(t,e,n,i)}),new Ct(a,r)}createSegments(t,e,n,i){return e.map(e=>e.path.startsWith(":")?this.findPosParam(t,e,i):this.findOrReturn(e,n))}findPosParam(t,e,n){const i=n[e.path.substring(1)];if(!i)throw new Error(`Cannot redirect to '${t}'. Cannot find '${e.path}'.`);return i}findOrReturn(t,e){let n=0;for(const i of e){if(i.path===t.path)return e.splice(n),i;n++}return t}}function ze(t){const e={};for(const n of Object.keys(t.children)){const i=ze(t.children[n]);(i.segments.length>0||i.hasChildren())&&(e[n]=i)}return function(t){if(1===t.numberOfChildren&&t.children.primary){const e=t.children.primary;return new Ct(t.segments.concat(e.segments),e.children)}return t}(new Ct(t.segments,e))}class Ve{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}}class Be{constructor(t,e){this.component=t,this.route=e}}function We(t,e,n){const i=t._root;return qe(i,e?e._root:null,n,[i.value])}function Ue(t,e,n){const i=function(t){if(!t)return null;for(let e=t.parent;e;e=e.parent){const t=e.routeConfig;if(t&&t._loadedConfig)return t._loadedConfig}return null}(e);return(i?i.module.injector:n).get(t)}function qe(t,e,n,i,a={canDeactivateChecks:[],canActivateChecks:[]}){const r=Wt(e);return t.children.forEach(t=>{!function(t,e,n,i,a={canDeactivateChecks:[],canActivateChecks:[]}){const r=t.value,o=e?e.value:null,s=n?n.getContext(t.value.outlet):null;if(o&&r.routeConfig===o.routeConfig){const l=function(t,e,n){if("function"==typeof n)return n(t,e);switch(n){case"pathParamsChange":return!xt(t.url,e.url);case"pathParamsOrQueryParamsChange":return!xt(t.url,e.url)||!dt(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!te(t,e)||!dt(t.queryParams,e.queryParams);case"paramsChange":default:return!te(t,e)}}(o,r,r.routeConfig.runGuardsAndResolvers);l?a.canActivateChecks.push(new Ve(i)):(r.data=o.data,r._resolvedData=o._resolvedData),qe(t,e,r.component?s?s.children:null:n,i,a),l&&s&&s.outlet&&s.outlet.isActivated&&a.canDeactivateChecks.push(new Be(s.outlet.component,o))}else o&&Ge(e,s,a),a.canActivateChecks.push(new Ve(i)),qe(t,null,r.component?s?s.children:null:n,i,a)}(t,r[t.value.outlet],n,i.concat([t.value]),a),delete r[t.value.outlet]}),pt(r,(t,e)=>Ge(t,n.getContext(e),a)),a}function Ge(t,e,n){const i=Wt(t),a=t.value;pt(i,(t,i)=>{Ge(t,a.component?e?e.children.getContext(i):null:e,n)}),n.canDeactivateChecks.push(new Be(a.component&&e&&e.outlet&&e.outlet.isActivated?e.outlet.component:null,a))}class Je{}function Ze(t){return new c.a(e=>e.error(t))}class $e{constructor(t,e,n,i,a,r){this.rootComponentType=t,this.config=e,this.urlTree=n,this.url=i,this.paramsInheritanceStrategy=a,this.relativeLinkResolution=r}recognize(){const t=De(this.urlTree.root,[],[],this.config.filter(t=>void 0===t.redirectTo),this.relativeLinkResolution).segmentGroup,e=this.processSegmentGroup(this.config,t,"primary");if(null===e)return null;const n=new Zt([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},"primary",this.rootComponentType,null,this.urlTree.root,-1,{}),i=new Bt(n,e),a=new $t(this.url,i);return this.inheritParamsAndData(a._root),a}inheritParamsAndData(t){const e=t.value,n=Jt(e,this.paramsInheritanceStrategy);e.params=Object.freeze(n.params),e.data=Object.freeze(n.data),t.children.forEach(t=>this.inheritParamsAndData(t))}processSegmentGroup(t,e,n){return 0===e.segments.length&&e.hasChildren()?this.processChildren(t,e):this.processSegment(t,e,e.segments,n)}processChildren(t,e){const n=[];for(const a of Object.keys(e.children)){const i=e.children[a],r=Te(t,a),o=this.processSegmentGroup(r,i,a);if(null===o)return null;n.push(...o)}const i=function(t){const e=[];for(const n of t){if(!Xe(n)){e.push(n);continue}const t=e.find(t=>n.value.routeConfig===t.value.routeConfig);void 0!==t?t.children.push(...n.children):e.push(n)}return e}(n);return i.sort((t,e)=>"primary"===t.value.outlet?-1:"primary"===e.value.outlet?1:t.value.outlet.localeCompare(e.value.outlet)),i}processSegment(t,e,n,i){for(const a of t){const t=this.processSegmentAgainstRoute(a,e,n,i);if(null!==t)return t}return Ie(e,n,i)?[]:null}processSegmentAgainstRoute(t,e,n,i){if(t.redirectTo||!Ae(t,e,n,i))return null;let a,r=[],o=[];if("**"===t.path){const i=n.length>0?mt(n).parameters:{};a=new Zt(n,i,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,tn(t),Se(t),t.component,t,Ke(e),Qe(e)+n.length,en(t))}else{const i=Le(e,t,n);if(!i.matched)return null;r=i.consumedSegments,o=n.slice(i.lastChild),a=new Zt(r,i.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,tn(t),Se(t),t.component,t,Ke(e),Qe(e)+r.length,en(t))}const s=function(t){return t.children?t.children:t.loadChildren?t._loadedConfig.routes:[]}(t),{segmentGroup:l,slicedSegments:c}=De(e,r,o,s.filter(t=>void 0===t.redirectTo),this.relativeLinkResolution);if(0===c.length&&l.hasChildren()){const t=this.processChildren(s,l);return null===t?null:[new Bt(a,t)]}if(0===s.length&&0===c.length)return[new Bt(a,[])];const d=Se(t)===i,u=this.processSegment(s,l,c,d?"primary":i);return null===u?null:[new Bt(a,u)]}}function Xe(t){const e=t.value.routeConfig;return e&&""===e.path&&void 0===e.redirectTo}function Ke(t){let e=t;for(;e._sourceSegment;)e=e._sourceSegment;return e}function Qe(t){let e=t,n=e._segmentIndexShift?e._segmentIndexShift:0;for(;e._sourceSegment;)e=e._sourceSegment,n+=e._segmentIndexShift?e._segmentIndexShift:0;return n-1}function tn(t){return t.data||{}}function en(t){return t.resolve||{}}function nn(t){return Object(g.a)(e=>{const n=t(e);return n?Object(r.a)(n).pipe(Object(f.a)(()=>e)):Object(o.a)(e)})}class an extends class{shouldDetach(t){return!1}store(t,e){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,e){return t.routeConfig===e.routeConfig}}{}const rn=new a.s("ROUTES");class on{constructor(t,e,n,i){this.loader=t,this.compiler=e,this.onLoadStartListener=n,this.onLoadEndListener=i}load(t,e){return this.onLoadStartListener&&this.onLoadStartListener(e),this.loadModuleFactory(e.loadChildren).pipe(Object(f.a)(n=>{this.onLoadEndListener&&this.onLoadEndListener(e);const i=n.create(t);return new be(ht(i.injector.get(rn,void 0,a.r.Self|a.r.Optional)).map(ke),i)}))}loadModuleFactory(t){return"string"==typeof t?Object(r.a)(this.loader.load(t)):ft(t()).pipe(Object(j.a)(t=>t instanceof a.x?Object(o.a)(t):Object(r.a)(this.compiler.compileModuleAsync(t))))}}class sn{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new ln,this.attachRef=null}}class ln{constructor(){this.contexts=new Map}onChildOutletCreated(t,e){const n=this.getOrCreateContext(t);n.outlet=e,this.contexts.set(t,n)}onChildOutletDestroyed(t){const e=this.getContext(t);e&&(e.outlet=null)}onOutletDeactivated(){const t=this.contexts;return this.contexts=new Map,t}onOutletReAttached(t){this.contexts=t}getOrCreateContext(t){let e=this.getContext(t);return e||(e=new sn,this.contexts.set(t,e)),e}getContext(t){return this.contexts.get(t)||null}}class cn{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,e){return t}}function dn(t){throw t}function un(t,e,n){return e.parse("/")}function hn(t,e){return Object(o.a)(null)}let mn=(()=>{class t{constructor(t,e,n,i,r,o,l,c){this.rootComponentType=t,this.urlSerializer=e,this.rootContexts=n,this.location=i,this.config=c,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.lastLocationChangeInfo=null,this.navigationId=0,this.isNgZoneEnabled=!1,this.events=new p.a,this.errorHandler=dn,this.malformedUriErrorHandler=un,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:hn,afterPreactivation:hn},this.urlHandlingStrategy=new cn,this.routeReuseStrategy=new an,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.ngModule=r.get(a.z),this.console=r.get(a.ab);const d=r.get(a.B);this.isNgZoneEnabled=d instanceof a.B&&a.B.isInAngularZone(),this.resetConfig(c),this.currentUrlTree=new vt(new Ct([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new on(o,l,t=>this.triggerEvent(new Q(t)),t=>this.triggerEvent(new tt(t))),this.routerState=qt(this.currentUrlTree,this.rootComponentType),this.transitions=new s.a({id:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}setupNavigations(t){const e=this.events;return t.pipe(Object(x.a)(t=>0!==t.id),Object(f.a)(t=>Object.assign(Object.assign({},t),{extractedUrl:this.urlHandlingStrategy.extract(t.rawUrl)})),Object(g.a)(t=>{let n=!1,i=!1;return Object(o.a)(t).pipe(Object(F.a)(t=>{this.currentNavigation={id:t.id,initialUrl:t.currentRawUrl,extractedUrl:t.extractedUrl,trigger:t.source,extras:t.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign(Object.assign({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),Object(g.a)(t=>{const n=!this.navigated||t.extractedUrl.toString()!==this.browserUrlTree.toString();if(("reload"===this.onSameUrlNavigation||n)&&this.urlHandlingStrategy.shouldProcessUrl(t.rawUrl))return Object(o.a)(t).pipe(Object(g.a)(t=>{const n=this.transitions.getValue();return e.next(new W(t.id,this.serializeUrl(t.extractedUrl),t.source,t.restoredState)),n!==this.transitions.getValue()?m.a:Promise.resolve(t)}),(i=this.ngModule.injector,a=this.configLoader,r=this.urlSerializer,s=this.config,Object(g.a)(t=>function(t,e,n,i,a){return new Fe(t,e,n,i,a).apply()}(i,a,r,t.extractedUrl,s).pipe(Object(f.a)(e=>Object.assign(Object.assign({},t),{urlAfterRedirects:e}))))),Object(F.a)(t=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:t.urlAfterRedirects})}),function(t,e,n,i,a){return Object(j.a)(r=>function(t,e,n,i,a="emptyOnly",r="legacy"){try{const s=new $e(t,e,n,i,a,r).recognize();return null===s?Ze(new Je):Object(o.a)(s)}catch(s){return Ze(s)}}(t,e,r.urlAfterRedirects,n(r.urlAfterRedirects),i,a).pipe(Object(f.a)(t=>Object.assign(Object.assign({},r),{targetSnapshot:t}))))}(this.rootComponentType,this.config,t=>this.serializeUrl(t),this.paramsInheritanceStrategy,this.relativeLinkResolution),Object(F.a)(t=>{"eager"===this.urlUpdateStrategy&&(t.extras.skipLocationChange||this.setBrowserUrl(t.urlAfterRedirects,!!t.extras.replaceUrl,t.id,t.extras.state),this.browserUrlTree=t.urlAfterRedirects);const n=new J(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.next(n)}));var i,a,r,s;if(n&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:n,extractedUrl:i,source:a,restoredState:r,extras:s}=t,l=new W(n,this.serializeUrl(i),a,r);e.next(l);const c=qt(i,this.rootComponentType).snapshot;return Object(o.a)(Object.assign(Object.assign({},t),{targetSnapshot:c,urlAfterRedirects:i,extras:Object.assign(Object.assign({},s),{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=t.rawUrl,this.browserUrlTree=t.urlAfterRedirects,t.resolve(null),m.a}),nn(t=>{const{targetSnapshot:e,id:n,extractedUrl:i,rawUrl:a,extras:{skipLocationChange:r,replaceUrl:o}}=t;return this.hooks.beforePreactivation(e,{navigationId:n,appliedUrlTree:i,rawUrlTree:a,skipLocationChange:!!r,replaceUrl:!!o})}),Object(F.a)(t=>{const e=new Z(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}),Object(f.a)(t=>Object.assign(Object.assign({},t),{guards:We(t.targetSnapshot,t.currentSnapshot,this.rootContexts)})),function(t,e){return Object(j.a)(n=>{const{targetSnapshot:i,currentSnapshot:a,guards:{canActivateChecks:s,canDeactivateChecks:l}}=n;return 0===l.length&&0===s.length?Object(o.a)(Object.assign(Object.assign({},n),{guardsResult:!0})):function(t,e,n,i){return Object(r.a)(t).pipe(Object(j.a)(t=>function(t,e,n,i,a){const r=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!r||0===r.length)return Object(o.a)(!0);const s=r.map(r=>{const o=Ue(r,e,a);let s;if(function(t){return t&&_e(t.canDeactivate)}(o))s=ft(o.canDeactivate(t,e,n,i));else{if(!_e(o))throw new Error("Invalid CanDeactivate guard");s=ft(o(t,e,n,i))}return s.pipe(H())});return Object(o.a)(s).pipe(Ce())}(t.component,t.route,n,e,i)),H(t=>!0!==t,!0))}(l,i,a,t).pipe(Object(j.a)(n=>n&&"boolean"==typeof n?function(t,e,n,i){return Object(r.a)(e).pipe(Object(O.a)(e=>Object(u.a)(function(t,e){return null!==t&&e&&e(new et(t)),Object(o.a)(!0)}(e.route.parent,i),function(t,e){return null!==t&&e&&e(new it(t)),Object(o.a)(!0)}(e.route,i),function(t,e,n){const i=e[e.length-1],a=e.slice(0,e.length-1).reverse().map(t=>function(t){const e=t.routeConfig?t.routeConfig.canActivateChild:null;return e&&0!==e.length?{node:t,guards:e}:null}(t)).filter(t=>null!==t).map(e=>Object(h.a)(()=>{const a=e.guards.map(a=>{const r=Ue(a,e.node,n);let o;if(function(t){return t&&_e(t.canActivateChild)}(r))o=ft(r.canActivateChild(i,t));else{if(!_e(r))throw new Error("Invalid CanActivateChild guard");o=ft(r(i,t))}return o.pipe(H())});return Object(o.a)(a).pipe(Ce())}));return Object(o.a)(a).pipe(Ce())}(t,e.path,n),function(t,e,n){const i=e.routeConfig?e.routeConfig.canActivate:null;if(!i||0===i.length)return Object(o.a)(!0);const a=i.map(i=>Object(h.a)(()=>{const a=Ue(i,e,n);let r;if(function(t){return t&&_e(t.canActivate)}(a))r=ft(a.canActivate(e,t));else{if(!_e(a))throw new Error("Invalid CanActivate guard");r=ft(a(e,t))}return r.pipe(H())}));return Object(o.a)(a).pipe(Ce())}(t,e.route,n))),H(t=>!0!==t,!0))}(i,s,t,e):Object(o.a)(n)),Object(f.a)(t=>Object.assign(Object.assign({},n),{guardsResult:t})))})}(this.ngModule.injector,t=>this.triggerEvent(t)),Object(F.a)(t=>{if(ye(t.guardsResult)){const e=lt(`Redirecting to "${this.serializeUrl(t.guardsResult)}"`);throw e.url=t.guardsResult,e}const e=new $(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot,!!t.guardsResult);this.triggerEvent(e)}),Object(x.a)(t=>{if(!t.guardsResult){this.resetUrlToCurrentUrlTree();const n=new q(t.id,this.serializeUrl(t.extractedUrl),"");return e.next(n),t.resolve(!1),!1}return!0}),nn(t=>{if(t.guards.canActivateChecks.length)return Object(o.a)(t).pipe(Object(F.a)(t=>{const e=new X(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}),Object(g.a)(t=>{let n=!1;return Object(o.a)(t).pipe((i=this.paramsInheritanceStrategy,a=this.ngModule.injector,Object(j.a)(t=>{const{targetSnapshot:e,guards:{canActivateChecks:n}}=t;if(!n.length)return Object(o.a)(t);let s=0;return Object(r.a)(n).pipe(Object(O.a)(t=>function(t,e,n,i){return function(t,e,n,i){const a=Object.keys(t);if(0===a.length)return Object(o.a)({});const s={};return Object(r.a)(a).pipe(Object(j.a)(a=>function(t,e,n,i){const a=Ue(t,e,i);return ft(a.resolve?a.resolve(e,n):a(e,n))}(t[a],e,n,i).pipe(Object(F.a)(t=>{s[a]=t}))),S(1),Object(j.a)(()=>Object.keys(s).length===a.length?Object(o.a)(s):m.a))}(t._resolve,t,e,i).pipe(Object(f.a)(e=>(t._resolvedData=e,t.data=Object.assign(Object.assign({},t.data),Jt(t,n).resolve),null)))}(t.route,e,i,a)),Object(F.a)(()=>s++),S(1),Object(j.a)(e=>s===n.length?Object(o.a)(t):m.a))})),Object(F.a)({next:()=>n=!0,complete:()=>{if(!n){const n=new q(t.id,this.serializeUrl(t.extractedUrl),"At least one route resolver didn't emit any value.");e.next(n),t.resolve(!1)}}}));var i,a}),Object(F.a)(t=>{const e=new K(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}))}),nn(t=>{const{targetSnapshot:e,id:n,extractedUrl:i,rawUrl:a,extras:{skipLocationChange:r,replaceUrl:o}}=t;return this.hooks.afterPreactivation(e,{navigationId:n,appliedUrlTree:i,rawUrlTree:a,skipLocationChange:!!r,replaceUrl:!!o})}),Object(f.a)(t=>{const e=function(t,e,n){const i=ee(t,e._root,n?n._root:void 0);return new Ut(i,e)}(this.routeReuseStrategy,t.targetSnapshot,t.currentRouterState);return Object.assign(Object.assign({},t),{targetRouterState:e})}),Object(F.a)(t=>{this.currentUrlTree=t.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t.rawUrl),this.routerState=t.targetRouterState,"deferred"===this.urlUpdateStrategy&&(t.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,!!t.extras.replaceUrl,t.id,t.extras.state),this.browserUrlTree=t.urlAfterRedirects)}),(a=this.rootContexts,s=this.routeReuseStrategy,l=t=>this.triggerEvent(t),Object(f.a)(t=>(new fe(s,t.targetRouterState,t.currentRouterState,l).activate(a),t))),Object(F.a)({next(){n=!0},complete(){n=!0}}),Object(z.a)(()=>{if(!n&&!i){this.resetUrlToCurrentUrlTree();const n=new q(t.id,this.serializeUrl(t.extractedUrl),`Navigation ID ${t.id} is not equal to the current navigation id ${this.navigationId}`);e.next(n),t.resolve(!1)}this.currentNavigation=null}),Object(M.a)(n=>{if(i=!0,(a=n)&&a.ngNavigationCancelingError){const i=ye(n.url);i||(this.navigated=!0,this.resetStateAndUrl(t.currentRouterState,t.currentUrlTree,t.rawUrl));const a=new q(t.id,this.serializeUrl(t.extractedUrl),n.message);e.next(a),i?setTimeout(()=>{const e=this.urlHandlingStrategy.merge(n.url,this.rawUrlTree);this.scheduleNavigation(e,"imperative",null,{skipLocationChange:t.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy},{resolve:t.resolve,reject:t.reject,promise:t.promise})},0):t.resolve(!1)}else{this.resetStateAndUrl(t.currentRouterState,t.currentUrlTree,t.rawUrl);const i=new G(t.id,this.serializeUrl(t.extractedUrl),n);e.next(i);try{t.resolve(this.errorHandler(n))}catch(r){t.reject(r)}}var a;return m.a}));var a,s,l}))}resetRootComponentType(t){this.rootComponentType=t,this.routerState.root.component=this.rootComponentType}getTransition(){const t=this.transitions.value;return t.urlAfterRedirects=this.browserUrlTree,t}setTransition(t){this.transitions.next(Object.assign(Object.assign({},this.getTransition()),t))}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(t=>{const e=this.extractLocationChangeInfoFromEvent(t);this.shouldScheduleNavigation(this.lastLocationChangeInfo,e)&&setTimeout(()=>{const{source:t,state:n,urlTree:i}=e,a={replaceUrl:!0};if(n){const t=Object.assign({},n);delete t.navigationId,0!==Object.keys(t).length&&(a.state=t)}this.scheduleNavigation(i,t,n,a)},0),this.lastLocationChangeInfo=e}))}extractLocationChangeInfoFromEvent(t){var e;return{source:"popstate"===t.type?"popstate":"hashchange",urlTree:this.parseUrl(t.url),state:(null===(e=t.state)||void 0===e?void 0:e.navigationId)?t.state:null,transitionId:this.getTransition().id}}shouldScheduleNavigation(t,e){if(!t)return!0;const n=e.urlTree.toString()===t.urlTree.toString();return!(e.transitionId===t.transitionId&&n&&("hashchange"===e.source&&"popstate"===t.source||"popstate"===e.source&&"hashchange"===t.source))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(t){this.events.next(t)}resetConfig(t){xe(t),this.config=t.map(ke),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0)}createUrlTree(t,e={}){const{relativeTo:n,queryParams:i,fragment:a,queryParamsHandling:r,preserveFragment:o}=e,s=n||this.routerState.root,l=o?this.currentUrlTree.fragment:a;let c=null;switch(r){case"merge":c=Object.assign(Object.assign({},this.currentUrlTree.queryParams),i);break;case"preserve":c=this.currentUrlTree.queryParams;break;default:c=i||null}return null!==c&&(c=this.removeEmptyProps(c)),function(t,e,n,i,a){if(0===n.length)return re(e.root,e.root,e,i,a);const r=function(t){if("string"==typeof t[0]&&1===t.length&&"/"===t[0])return new se(!0,0,t);let e=0,n=!1;const i=t.reduce((t,i,a)=>{if("object"==typeof i&&null!=i){if(i.outlets){const e={};return pt(i.outlets,(t,n)=>{e[n]="string"==typeof t?t.split("/"):t}),[...t,{outlets:e}]}if(i.segmentPath)return[...t,i.segmentPath]}return"string"!=typeof i?[...t,i]:0===a?(i.split("/").forEach((i,a)=>{0==a&&"."===i||(0==a&&""===i?n=!0:".."===i?e++:""!=i&&t.push(i))}),t):[...t,i]},[]);return new se(n,e,i)}(n);if(r.toRoot())return re(e.root,new Ct([],{}),e,i,a);const o=function(t,e,n){if(t.isAbsolute)return new le(e.root,!0,0);if(-1===n.snapshot._lastPathIndex){const t=n.snapshot._urlSegment;return new le(t,t===e.root,0)}const i=ie(t.commands[0])?0:1;return function(t,e,n){let i=t,a=e,r=n;for(;r>a;){if(r-=a,i=i.parent,!i)throw new Error("Invalid number of '../'");a=i.segments.length}return new le(i,!1,a-r)}(n.snapshot._urlSegment,n.snapshot._lastPathIndex+i,t.numberOfDoubleDots)}(r,e,t),s=o.processChildren?de(o.segmentGroup,o.index,r.commands):ce(o.segmentGroup,o.index,r.commands);return re(o.segmentGroup,s,e,i,a)}(s,this.currentUrlTree,t,c,l)}navigateByUrl(t,e={skipLocationChange:!1}){const n=ye(t)?t:this.parseUrl(t),i=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(i,"imperative",null,e)}navigate(t,e={skipLocationChange:!1}){return function(t){for(let e=0;e<t.length;e++){const n=t[e];if(null==n)throw new Error(`The requested path contains ${n} segment at index ${e}`)}}(t),this.navigateByUrl(this.createUrlTree(t,e),e)}serializeUrl(t){return this.urlSerializer.serialize(t)}parseUrl(t){let e;try{e=this.urlSerializer.parse(t)}catch(n){e=this.malformedUriErrorHandler(n,this.urlSerializer,t)}return e}isActive(t,e){if(ye(t))return gt(this.currentUrlTree,t,e);const n=this.parseUrl(t);return gt(this.currentUrlTree,n,e)}removeEmptyProps(t){return Object.keys(t).reduce((e,n)=>{const i=t[n];return null!=i&&(e[n]=i),e},{})}processNavigations(){this.navigations.subscribe(t=>{this.navigated=!0,this.lastSuccessfulId=t.id,this.events.next(new U(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,this.currentNavigation=null,t.resolve(!0)},t=>{this.console.warn("Unhandled Navigation Error: ")})}scheduleNavigation(t,e,n,i,a){const r=this.getTransition(),o="imperative"!==e&&"imperative"===(null==r?void 0:r.source),s=(this.lastSuccessfulId===r.id||this.currentNavigation?r.rawUrl:r.urlAfterRedirects).toString()===t.toString();if(o&&s)return Promise.resolve(!0);let l,c,d;a?(l=a.resolve,c=a.reject,d=a.promise):d=new Promise((t,e)=>{l=t,c=e});const u=++this.navigationId;return this.setTransition({id:u,source:e,restoredState:n,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:t,extras:i,resolve:l,reject:c,promise:d,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),d.catch(t=>Promise.reject(t))}setBrowserUrl(t,e,n,i){const a=this.urlSerializer.serialize(t);i=i||{},this.location.isCurrentPathEqualTo(a)||e?this.location.replaceState(a,"",Object.assign(Object.assign({},i),{navigationId:n})):this.location.go(a,"",Object.assign(Object.assign({},i),{navigationId:n}))}resetStateAndUrl(t,e,n){this.routerState=t,this.currentUrlTree=e,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n),this.resetUrlToCurrentUrlTree()}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",{navigationId:this.lastSuccessfulId})}}return t.\u0275fac=function(e){return new(e||t)(a.Xb(a.P),a.Xb(Mt),a.Xb(ln),a.Xb(i.h),a.Xb(a.t),a.Xb(a.y),a.Xb(a.i),a.Xb(void 0))},t.\u0275prov=a.Jb({token:t,factory:t.\u0275fac}),t})(),pn=(()=>{class t{constructor(t,e,n,i,a){this.router=t,this.route=e,this.commands=[],this.onChanges=new p.a,null==n&&i.setAttribute(a.nativeElement,"tabindex","0")}ngOnChanges(t){this.onChanges.next(this)}set routerLink(t){this.commands=null!=t?Array.isArray(t)?t:[t]:[]}onClick(){const t={skipLocationChange:gn(this.skipLocationChange),replaceUrl:gn(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,t),!0}get urlTree(){return this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:gn(this.preserveFragment)})}}return t.\u0275fac=function(e){return new(e||t)(a.Nb(mn),a.Nb(Gt),a.Yb("tabindex"),a.Nb(a.G),a.Nb(a.l))},t.\u0275dir=a.Ib({type:t,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(t,e){1&t&&a.bc("click",function(){return e.onClick()})},inputs:{routerLink:"routerLink",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo"},features:[a.Ab]}),t})(),fn=(()=>{class t{constructor(t,e,n){this.router=t,this.route=e,this.locationStrategy=n,this.commands=[],this.onChanges=new p.a,this.subscription=t.events.subscribe(t=>{t instanceof U&&this.updateTargetUrlAndHref()})}set routerLink(t){this.commands=null!=t?Array.isArray(t)?t:[t]:[]}ngOnChanges(t){this.updateTargetUrlAndHref(),this.onChanges.next(this)}ngOnDestroy(){this.subscription.unsubscribe()}onClick(t,e,n,i,a){if(0!==t||e||n||i||a)return!0;if("string"==typeof this.target&&"_self"!=this.target)return!0;const r={skipLocationChange:gn(this.skipLocationChange),replaceUrl:gn(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,r),!1}updateTargetUrlAndHref(){this.href=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree))}get urlTree(){return this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:gn(this.preserveFragment)})}}return t.\u0275fac=function(e){return new(e||t)(a.Nb(mn),a.Nb(Gt),a.Nb(i.i))},t.\u0275dir=a.Ib({type:t,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(t,e){1&t&&a.bc("click",function(t){return e.onClick(t.button,t.ctrlKey,t.shiftKey,t.altKey,t.metaKey)}),2&t&&(a.Wb("href",e.href,a.Ac),a.Db("target",e.target))},inputs:{routerLink:"routerLink",target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo"},features:[a.Ab]}),t})();function gn(t){return""===t||!!t}let bn=(()=>{class t{constructor(t,e,n,i,a,r){this.router=t,this.element=e,this.renderer=n,this.cdr=i,this.link=a,this.linkWithHref=r,this.classes=[],this.isActive=!1,this.routerLinkActiveOptions={exact:!1},this.routerEventsSubscription=t.events.subscribe(t=>{t instanceof U&&this.update()})}ngAfterContentInit(){Object(o.a)(this.links.changes,this.linksWithHrefs.changes,Object(o.a)(null)).pipe(Object(V.a)()).subscribe(t=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){var t;null===(t=this.linkInputChangesSubscription)||void 0===t||t.unsubscribe();const e=[...this.links.toArray(),...this.linksWithHrefs.toArray(),this.link,this.linkWithHref].filter(t=>!!t).map(t=>t.onChanges);this.linkInputChangesSubscription=Object(r.a)(e).pipe(Object(V.a)()).subscribe(t=>{this.isActive!==this.isLinkActive(this.router)(t)&&this.update()})}set routerLinkActive(t){const e=Array.isArray(t)?t:t.split(" ");this.classes=e.filter(t=>!!t)}ngOnChanges(t){this.update()}ngOnDestroy(){var t;this.routerEventsSubscription.unsubscribe(),null===(t=this.linkInputChangesSubscription)||void 0===t||t.unsubscribe()}update(){this.links&&this.linksWithHrefs&&this.router.navigated&&Promise.resolve().then(()=>{const t=this.hasActiveLinks();this.isActive!==t&&(this.isActive=t,this.cdr.markForCheck(),this.classes.forEach(e=>{t?this.renderer.addClass(this.element.nativeElement,e):this.renderer.removeClass(this.element.nativeElement,e)}))})}isLinkActive(t){return e=>t.isActive(e.urlTree,this.routerLinkActiveOptions.exact)}hasActiveLinks(){const t=this.isLinkActive(this.router);return this.link&&t(this.link)||this.linkWithHref&&t(this.linkWithHref)||this.links.some(t)||this.linksWithHrefs.some(t)}}return t.\u0275fac=function(e){return new(e||t)(a.Nb(mn),a.Nb(a.l),a.Nb(a.G),a.Nb(a.h),a.Nb(pn,8),a.Nb(fn,8))},t.\u0275dir=a.Ib({type:t,selectors:[["","routerLinkActive",""]],contentQueries:function(t,e,n){if(1&t&&(a.Gb(n,pn,1),a.Gb(n,fn,1)),2&t){let t;a.uc(t=a.cc())&&(e.links=t),a.uc(t=a.cc())&&(e.linksWithHrefs=t)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",routerLinkActive:"routerLinkActive"},exportAs:["routerLinkActive"],features:[a.Ab]}),t})(),_n=(()=>{class t{constructor(t,e,n,i,r){this.parentContexts=t,this.location=e,this.resolver=n,this.changeDetector=r,this.activated=null,this._activatedRoute=null,this.activateEvents=new a.o,this.deactivateEvents=new a.o,this.name=i||"primary",t.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const t=this.parentContexts.getContext(this.name);t&&t.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.resolver||null))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();const t=this.activated;return this.activated=null,this._activatedRoute=null,t}attach(t,e){this.activated=t,this._activatedRoute=e,this.location.insert(t.hostView)}deactivate(){if(this.activated){const t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}}activateWith(t,e){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=t;const n=(e=e||this.resolver).resolveComponentFactory(t._futureSnapshot.routeConfig.component),i=this.parentContexts.getOrCreateContext(this.name).children,a=new yn(t,i,this.location.injector);this.activated=this.location.createComponent(n,this.location.length,a),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return t.\u0275fac=function(e){return new(e||t)(a.Nb(ln),a.Nb(a.R),a.Nb(a.j),a.Yb("name"),a.Nb(a.h))},t.\u0275dir=a.Ib({type:t,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate"},exportAs:["outlet"]}),t})();class yn{constructor(t,e,n){this.route=t,this.childContexts=e,this.parent=n}get(t,e){return t===Gt?this.route:t===ln?this.childContexts:this.parent.get(t,e)}}class vn{}class Cn{preload(t,e){return Object(o.a)(null)}}let wn=(()=>{class t{constructor(t,e,n,i,a){this.router=t,this.injector=i,this.preloadingStrategy=a,this.loader=new on(e,n,e=>t.triggerEvent(new Q(e)),e=>t.triggerEvent(new tt(e)))}setUpPreloading(){this.subscription=this.router.events.pipe(Object(x.a)(t=>t instanceof U),Object(O.a)(()=>this.preload())).subscribe(()=>{})}preload(){const t=this.injector.get(a.z);return this.processRoutes(t,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(t,e){const n=[];for(const i of e)if(i.loadChildren&&!i.canLoad&&i._loadedConfig){const t=i._loadedConfig;n.push(this.processRoutes(t.module,t.routes))}else i.loadChildren&&!i.canLoad?n.push(this.preloadConfig(t,i)):i.children&&n.push(this.processRoutes(t,i.children));return Object(r.a)(n).pipe(Object(V.a)(),Object(f.a)(t=>{}))}preloadConfig(t,e){return this.preloadingStrategy.preload(e,()=>this.loader.load(t.injector,e).pipe(Object(j.a)(t=>(e._loadedConfig=t,this.processRoutes(t.module,t.routes)))))}}return t.\u0275fac=function(e){return new(e||t)(a.Xb(mn),a.Xb(a.y),a.Xb(a.i),a.Xb(a.t),a.Xb(vn))},t.\u0275prov=a.Jb({token:t,factory:t.\u0275fac}),t})(),xn=(()=>{class t{constructor(t,e,n={}){this.router=t,this.viewportScroller=e,this.options=n,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},n.scrollPositionRestoration=n.scrollPositionRestoration||"disabled",n.anchorScrolling=n.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(t=>{t instanceof W?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=t.navigationTrigger,this.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof U&&(this.lastId=t.id,this.scheduleScrollEvent(t,this.router.parseUrl(t.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(t=>{t instanceof rt&&(t.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(t.position):t.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(t.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(t,e){this.router.triggerEvent(new rt(t,"popstate"===this.lastSource?this.store[this.restoredId]:null,e))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(a.Xb(mn),a.Xb(i.u),a.Xb(void 0))},t.\u0275prov=a.Jb({token:t,factory:t.\u0275fac}),t})();const Mn=new a.s("ROUTER_CONFIGURATION"),On=new a.s("ROUTER_FORROOT_GUARD"),kn=[i.h,{provide:Mt,useClass:Ot},{provide:mn,useFactory:function(t,e,n,a,r,o,s,l={},c,d){const u=new mn(null,t,e,n,a,r,o,ht(s));if(c&&(u.urlHandlingStrategy=c),d&&(u.routeReuseStrategy=d),function(t,e){t.errorHandler&&(e.errorHandler=t.errorHandler),t.malformedUriErrorHandler&&(e.malformedUriErrorHandler=t.malformedUriErrorHandler),t.onSameUrlNavigation&&(e.onSameUrlNavigation=t.onSameUrlNavigation),t.paramsInheritanceStrategy&&(e.paramsInheritanceStrategy=t.paramsInheritanceStrategy),t.relativeLinkResolution&&(e.relativeLinkResolution=t.relativeLinkResolution),t.urlUpdateStrategy&&(e.urlUpdateStrategy=t.urlUpdateStrategy)}(l,u),l.enableTracing){const t=Object(i.y)();u.events.subscribe(e=>{t.logGroup(`Router Event: ${e.constructor.name}`),t.log(e.toString()),t.log(e),t.logGroupEnd()})}return u},deps:[Mt,ln,i.h,a.t,a.y,a.i,rn,Mn,[class{},new a.C],[class{},new a.C]]},ln,{provide:Gt,useFactory:function(t){return t.routerState.root},deps:[mn]},{provide:a.y,useClass:a.M},wn,Cn,class{preload(t,e){return e().pipe(Object(M.a)(()=>Object(o.a)(null)))}},{provide:Mn,useValue:{enableTracing:!1}}];function Sn(){return new a.A("Router",mn)}let Tn=(()=>{class t{constructor(t,e){}static forRoot(e,n){return{ngModule:t,providers:[kn,En(e),{provide:On,useFactory:Dn,deps:[[mn,new a.C,new a.L]]},{provide:Mn,useValue:n||{}},{provide:i.i,useFactory:Ln,deps:[i.s,[new a.q(i.a),new a.C],Mn]},{provide:xn,useFactory:Pn,deps:[mn,i.u,Mn]},{provide:vn,useExisting:n&&n.preloadingStrategy?n.preloadingStrategy:Cn},{provide:a.A,multi:!0,useFactory:Sn},[An,{provide:a.d,multi:!0,useFactory:In,deps:[An]},{provide:Nn,useFactory:Rn,deps:[An]},{provide:a.b,multi:!0,useExisting:Nn}]]}}static forChild(e){return{ngModule:t,providers:[En(e)]}}}return t.\u0275mod=a.Lb({type:t}),t.\u0275inj=a.Kb({factory:function(e){return new(e||t)(a.Xb(On,8),a.Xb(mn,8))}}),t})();function Pn(t,e,n){return n.scrollOffset&&e.setOffset(n.scrollOffset),new xn(t,e,n)}function Ln(t,e,n={}){return n.useHash?new i.f(t,e):new i.r(t,e)}function Dn(t){return"guarded"}function En(t){return[{provide:a.a,multi:!0,useValue:t},{provide:rn,multi:!0,useValue:t}]}let An=(()=>{class t{constructor(t){this.injector=t,this.initNavigation=!1,this.resultOfPreactivationDone=new p.a}appInitializer(){return this.injector.get(i.g,Promise.resolve(null)).then(()=>{let t=null;const e=new Promise(e=>t=e),n=this.injector.get(mn),i=this.injector.get(Mn);return"disabled"===i.initialNavigation?(n.setUpLocationChangeListener(),t(!0)):"enabled"===i.initialNavigation||"enabledBlocking"===i.initialNavigation?(n.hooks.afterPreactivation=()=>this.initNavigation?Object(o.a)(null):(this.initNavigation=!0,t(!0),this.resultOfPreactivationDone),n.initialNavigation()):t(!0),e})}bootstrapListener(t){const e=this.injector.get(Mn),n=this.injector.get(wn),i=this.injector.get(xn),r=this.injector.get(mn),o=this.injector.get(a.g);t===o.components[0]&&("enabledNonBlocking"!==e.initialNavigation&&void 0!==e.initialNavigation||r.initialNavigation(),n.setUpPreloading(),i.init(),r.resetRootComponentType(o.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}}return t.\u0275fac=function(e){return new(e||t)(a.Xb(a.t))},t.\u0275prov=a.Jb({token:t,factory:t.\u0275fac}),t})();function In(t){return t.appInitializer.bind(t)}function Rn(t){return t.bootstrapListener.bind(t)}const Nn=new a.s("Router Initializer")},iYuL:function(t,e,n){!function(t){"use strict";var e="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),i=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],a=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;t.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(t,i){return t?/-MMM-/.test(i)?n[t.month()]:e[t.month()]:e},monthsRegex:a,monthsShortRegex:a,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4},invalidDate:"Fecha inv\xe1lida"})}(n("wd/R"))},itXk:function(t,e,n){"use strict";n.d(e,"a",function(){return m});var i=n("z+Ro"),a=n("DH7j"),r=n("7o/Q");class o extends r.a{notifyNext(t,e,n,i,a){this.destination.next(e)}notifyError(t,e){this.destination.error(t)}notifyComplete(t){this.destination.complete()}}class s extends r.a{constructor(t,e,n){super(),this.parent=t,this.outerValue=e,this.outerIndex=n,this.index=0}_next(t){this.parent.notifyNext(this.outerValue,t,this.outerIndex,this.index++,this)}_error(t){this.parent.notifyError(t,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}var l=n("SeVD"),c=n("HDdC");function d(t,e,n,i,a=new s(t,n,i)){if(!a.closed)return e instanceof c.a?e.subscribe(a):Object(l.a)(e)(a)}var u=n("yCtX");const h={};function m(...t){let e,n;return Object(i.a)(t[t.length-1])&&(n=t.pop()),"function"==typeof t[t.length-1]&&(e=t.pop()),1===t.length&&Object(a.a)(t[0])&&(t=t[0]),Object(u.a)(t,n).lift(new p(e))}class p{constructor(t){this.resultSelector=t}call(t,e){return e.subscribe(new f(t,this.resultSelector))}}class f extends o{constructor(t,e){super(t),this.resultSelector=e,this.active=0,this.values=[],this.observables=[]}_next(t){this.values.push(h),this.observables.push(t)}_complete(){const t=this.observables,e=t.length;if(0===e)this.destination.complete();else{this.active=e,this.toRespond=e;for(let n=0;n<e;n++)this.add(d(this,t[n],void 0,n))}}notifyComplete(t){0==(this.active-=1)&&this.destination.complete()}notifyNext(t,e,n){const i=this.values,a=this.toRespond?i[n]===h?--this.toRespond:this.toRespond:0;i[n]=e,0===a&&(this.resultSelector?this._tryResultSelector(i):this.destination.next(i.slice()))}_tryResultSelector(t){let e;try{e=this.resultSelector.apply(this,t)}catch(n){return void this.destination.error(n)}this.destination.next(e)}}},j9Ql:function(t,e,n){"use strict";n.d(e,"a",function(){return i});class i{constructor({nom:t=null,prenom:e=null,dateNaissance:n=null,villeNaissance:i=null,paysNaissance:a=null}){this.nom=t,this.prenom=e,this.dateNaissance=n,this.villeNaissance=i,this.paysNaissance=a}getForPost(){return this}isValid(){return!!(this.nom&&this.prenom&&this.dateNaissance&&this.villeNaissance&&this.paysNaissance)}}},jKJn:function(t,e,n){"use strict";n.d(e,"a",function(){return s});var i=n("B6AI"),a=n("8Y7J"),r=n("zHaW"),o=n("TSSN");let s=(()=>{class t{constructor(t,e){this.snackBar=t,this.translateService=e,this.DURATION=5e3}notifyByKey(t){this.notify(this.translateService.instant(t))}notify(t){this.notifyWithTimeout(t,this.DURATION)}notifyWithTimeout(t,e){this.snackBar.openFromComponent(i.a,{data:{text:t},duration:e})}}return t.\u0275fac=function(e){return new(e||t)(a.Xb(r.b),a.Xb(o.d))},t.\u0275prov=a.Jb({token:t,factory:t.\u0275fac,providedIn:"root"}),t})()},jMqV:function(t,e,n){"use strict";n.d(e,"a",function(){return C}),n.d(e,"b",function(){return x});var i=n("9b/N"),a=n("8Y7J"),r=n("UhP/"),o=n("8LU1"),s=n("s7LF"),l=n("omvX"),c=n("YEUz");const d=["thumbContainer"],u=["toggleBar"],h=["input"],m=function(){return{enterDuration:150}},p=["*"],f=new a.s("mat-slide-toggle-default-options",{providedIn:"root",factory:()=>({disableToggleValue:!1})});let g=0;const b={provide:s.m,useExisting:Object(a.V)(()=>C),multi:!0};class _{constructor(t,e){this.source=t,this.checked=e}}class y{constructor(t){this._elementRef=t}}const v=Object(r.B)(Object(r.w)(Object(r.x)(Object(r.y)(y)),"accent"));let C=(()=>{class t extends v{constructor(t,e,n,i,r,o){super(t),this._focusMonitor=e,this._changeDetectorRef=n,this.defaults=r,this._animationMode=o,this._onChange=t=>{},this._onTouched=()=>{},this._uniqueId="mat-slide-toggle-"+ ++g,this._required=!1,this._checked=!1,this.name=null,this.id=this._uniqueId,this.labelPosition="after",this.ariaLabel=null,this.ariaLabelledby=null,this.change=new a.o,this.toggleChange=new a.o,this.tabIndex=parseInt(i)||0}get required(){return this._required}set required(t){this._required=Object(o.c)(t)}get checked(){return this._checked}set checked(t){this._checked=Object(o.c)(t),this._changeDetectorRef.markForCheck()}get inputId(){return`${this.id||this._uniqueId}-input`}ngAfterContentInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(t=>{"keyboard"===t||"program"===t?this._inputElement.nativeElement.focus():t||Promise.resolve().then(()=>this._onTouched())})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}_onChangeEvent(t){t.stopPropagation(),this.toggleChange.emit(),this.defaults.disableToggleValue?this._inputElement.nativeElement.checked=this.checked:(this.checked=this._inputElement.nativeElement.checked,this._emitChangeEvent())}_onInputClick(t){t.stopPropagation()}writeValue(t){this.checked=!!t}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t,this._changeDetectorRef.markForCheck()}focus(t,e){e?this._focusMonitor.focusVia(this._inputElement,e,t):this._inputElement.nativeElement.focus(t)}toggle(){this.checked=!this.checked,this._onChange(this.checked)}_emitChangeEvent(){this._onChange(this.checked),this.change.emit(new _(this,this.checked))}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}}return t.\u0275fac=function(e){return new(e||t)(a.Nb(a.l),a.Nb(c.h),a.Nb(a.h),a.Yb("tabindex"),a.Nb(f),a.Nb(l.a,8))},t.\u0275cmp=a.Hb({type:t,selectors:[["mat-slide-toggle"]],viewQuery:function(t,e){if(1&t&&(a.Lc(d,1),a.Lc(u,1),a.Lc(h,1)),2&t){let t;a.uc(t=a.cc())&&(e._thumbEl=t.first),a.uc(t=a.cc())&&(e._thumbBarEl=t.first),a.uc(t=a.cc())&&(e._inputElement=t.first)}},hostAttrs:[1,"mat-slide-toggle"],hostVars:12,hostBindings:function(t,e){2&t&&(a.Wb("id",e.id),a.Db("tabindex",e.disabled?null:-1)("aria-label",null)("aria-labelledby",null),a.Fb("mat-checked",e.checked)("mat-disabled",e.disabled)("mat-slide-toggle-label-before","before"==e.labelPosition)("_mat-animation-noopable","NoopAnimations"===e._animationMode))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex",name:"name",id:"id",labelPosition:"labelPosition",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],required:"required",checked:"checked"},outputs:{change:"change",toggleChange:"toggleChange"},exportAs:["matSlideToggle"],features:[a.Bb([b]),a.zb],ngContentSelectors:p,decls:16,vars:18,consts:[[1,"mat-slide-toggle-label"],["label",""],[1,"mat-slide-toggle-bar"],["toggleBar",""],["type","checkbox","role","switch",1,"mat-slide-toggle-input","cdk-visually-hidden",3,"id","required","tabIndex","checked","disabled","change","click"],["input",""],[1,"mat-slide-toggle-thumb-container"],["thumbContainer",""],[1,"mat-slide-toggle-thumb"],["mat-ripple","",1,"mat-slide-toggle-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered","matRippleRadius","matRippleAnimation"],[1,"mat-ripple-element","mat-slide-toggle-persistent-ripple"],[1,"mat-slide-toggle-content",3,"cdkObserveContent"],["labelContent",""],[2,"display","none"]],template:function(t,e){if(1&t&&(a.mc(),a.Tb(0,"label",0,1),a.Tb(2,"div",2,3),a.Tb(4,"input",4,5),a.bc("change",function(t){return e._onChangeEvent(t)})("click",function(t){return e._onInputClick(t)}),a.Sb(),a.Tb(6,"div",6,7),a.Ob(8,"div",8),a.Tb(9,"div",9),a.Ob(10,"div",10),a.Sb(),a.Sb(),a.Sb(),a.Tb(11,"span",11,12),a.bc("cdkObserveContent",function(){return e._onLabelTextChange()}),a.Tb(13,"span",13),a.Hc(14,"\xa0"),a.Sb(),a.lc(15),a.Sb(),a.Sb()),2&t){const t=a.vc(1),n=a.vc(12);a.Db("for",e.inputId),a.Cb(2),a.Fb("mat-slide-toggle-bar-no-side-margin",!n.textContent||!n.textContent.trim()),a.Cb(2),a.nc("id",e.inputId)("required",e.required)("tabIndex",e.tabIndex)("checked",e.checked)("disabled",e.disabled),a.Db("name",e.name)("aria-checked",e.checked.toString())("aria-label",e.ariaLabel)("aria-labelledby",e.ariaLabelledby),a.Cb(5),a.nc("matRippleTrigger",t)("matRippleDisabled",e.disableRipple||e.disabled)("matRippleCentered",!0)("matRippleRadius",20)("matRippleAnimation",a.rc(17,m))}},directives:[r.r,i.a],styles:[".mat-slide-toggle{display:inline-block;height:24px;max-width:100%;line-height:24px;white-space:nowrap;outline:none;-webkit-tap-highlight-color:transparent}.mat-slide-toggle.mat-checked .mat-slide-toggle-thumb-container{transform:translate3d(16px, 0, 0)}[dir=rtl] .mat-slide-toggle.mat-checked .mat-slide-toggle-thumb-container{transform:translate3d(-16px, 0, 0)}.mat-slide-toggle.mat-disabled{opacity:.38}.mat-slide-toggle.mat-disabled .mat-slide-toggle-label,.mat-slide-toggle.mat-disabled .mat-slide-toggle-thumb-container{cursor:default}.mat-slide-toggle-label{display:flex;flex:1;flex-direction:row;align-items:center;height:inherit;cursor:pointer}.mat-slide-toggle-content{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-slide-toggle-label-before .mat-slide-toggle-label{order:1}.mat-slide-toggle-label-before .mat-slide-toggle-bar{order:2}[dir=rtl] .mat-slide-toggle-label-before .mat-slide-toggle-bar,.mat-slide-toggle-bar{margin-right:8px;margin-left:0}[dir=rtl] .mat-slide-toggle-bar,.mat-slide-toggle-label-before .mat-slide-toggle-bar{margin-left:8px;margin-right:0}.mat-slide-toggle-bar-no-side-margin{margin-left:0;margin-right:0}.mat-slide-toggle-thumb-container{position:absolute;z-index:1;width:20px;height:20px;top:-3px;left:0;transform:translate3d(0, 0, 0);transition:all 80ms linear;transition-property:transform}._mat-animation-noopable .mat-slide-toggle-thumb-container{transition:none}[dir=rtl] .mat-slide-toggle-thumb-container{left:auto;right:0}.mat-slide-toggle-thumb{height:20px;width:20px;border-radius:50%}.mat-slide-toggle-bar{position:relative;width:36px;height:14px;flex-shrink:0;border-radius:8px}.mat-slide-toggle-input{bottom:0;left:10px}[dir=rtl] .mat-slide-toggle-input{left:auto;right:10px}.mat-slide-toggle-bar,.mat-slide-toggle-thumb{transition:all 80ms linear;transition-property:background-color;transition-delay:50ms}._mat-animation-noopable .mat-slide-toggle-bar,._mat-animation-noopable .mat-slide-toggle-thumb{transition:none}.mat-slide-toggle .mat-slide-toggle-ripple{position:absolute;top:calc(50% - 20px);left:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-slide-toggle .mat-slide-toggle-ripple .mat-ripple-element:not(.mat-slide-toggle-persistent-ripple){opacity:.12}.mat-slide-toggle-persistent-ripple{width:100%;height:100%;transform:none}.mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{opacity:.04}.mat-slide-toggle:not(.mat-disabled).cdk-keyboard-focused .mat-slide-toggle-persistent-ripple{opacity:.12}.mat-slide-toggle-persistent-ripple,.mat-slide-toggle.mat-disabled .mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{opacity:0}@media(hover: none){.mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{display:none}}.cdk-high-contrast-active .mat-slide-toggle-thumb,.cdk-high-contrast-active .mat-slide-toggle-bar{border:1px solid}.cdk-high-contrast-active .mat-slide-toggle.cdk-keyboard-focused .mat-slide-toggle-bar{outline:2px dotted;outline-offset:5px}\n"],encapsulation:2,changeDetection:0}),t})(),w=(()=>{class t{}return t.\u0275mod=a.Lb({type:t}),t.\u0275inj=a.Kb({factory:function(e){return new(e||t)}}),t})(),x=(()=>{class t{}return t.\u0275mod=a.Lb({type:t}),t.\u0275inj=a.Kb({factory:function(e){return new(e||t)},imports:[[w,r.s,r.j,i.c],w,r.j]}),t})()},jUeY:function(t,e,n){!function(t){"use strict";t.defineLocale("el",{monthsNominativeEl:"\u0399\u03b1\u03bd\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2_\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2_\u039c\u03ac\u03c1\u03c4\u03b9\u03bf\u03c2_\u0391\u03c0\u03c1\u03af\u03bb\u03b9\u03bf\u03c2_\u039c\u03ac\u03b9\u03bf\u03c2_\u0399\u03bf\u03cd\u03bd\u03b9\u03bf\u03c2_\u0399\u03bf\u03cd\u03bb\u03b9\u03bf\u03c2_\u0391\u03cd\u03b3\u03bf\u03c5\u03c3\u03c4\u03bf\u03c2_\u03a3\u03b5\u03c0\u03c4\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2_\u039f\u03ba\u03c4\u03ce\u03b2\u03c1\u03b9\u03bf\u03c2_\u039d\u03bf\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2_\u0394\u03b5\u03ba\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2".split("_"),monthsGenitiveEl:"\u0399\u03b1\u03bd\u03bf\u03c5\u03b1\u03c1\u03af\u03bf\u03c5_\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03b1\u03c1\u03af\u03bf\u03c5_\u039c\u03b1\u03c1\u03c4\u03af\u03bf\u03c5_\u0391\u03c0\u03c1\u03b9\u03bb\u03af\u03bf\u03c5_\u039c\u03b1\u0390\u03bf\u03c5_\u0399\u03bf\u03c5\u03bd\u03af\u03bf\u03c5_\u0399\u03bf\u03c5\u03bb\u03af\u03bf\u03c5_\u0391\u03c5\u03b3\u03bf\u03cd\u03c3\u03c4\u03bf\u03c5_\u03a3\u03b5\u03c0\u03c4\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5_\u039f\u03ba\u03c4\u03c9\u03b2\u03c1\u03af\u03bf\u03c5_\u039d\u03bf\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5_\u0394\u03b5\u03ba\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5".split("_"),months:function(t,e){return t?"string"==typeof e&&/D/.test(e.substring(0,e.indexOf("MMMM")))?this._monthsGenitiveEl[t.month()]:this._monthsNominativeEl[t.month()]:this._monthsNominativeEl},monthsShort:"\u0399\u03b1\u03bd_\u03a6\u03b5\u03b2_\u039c\u03b1\u03c1_\u0391\u03c0\u03c1_\u039c\u03b1\u03ca_\u0399\u03bf\u03c5\u03bd_\u0399\u03bf\u03c5\u03bb_\u0391\u03c5\u03b3_\u03a3\u03b5\u03c0_\u039f\u03ba\u03c4_\u039d\u03bf\u03b5_\u0394\u03b5\u03ba".split("_"),weekdays:"\u039a\u03c5\u03c1\u03b9\u03b1\u03ba\u03ae_\u0394\u03b5\u03c5\u03c4\u03ad\u03c1\u03b1_\u03a4\u03c1\u03af\u03c4\u03b7_\u03a4\u03b5\u03c4\u03ac\u03c1\u03c4\u03b7_\u03a0\u03ad\u03bc\u03c0\u03c4\u03b7_\u03a0\u03b1\u03c1\u03b1\u03c3\u03ba\u03b5\u03c5\u03ae_\u03a3\u03ac\u03b2\u03b2\u03b1\u03c4\u03bf".split("_"),weekdaysShort:"\u039a\u03c5\u03c1_\u0394\u03b5\u03c5_\u03a4\u03c1\u03b9_\u03a4\u03b5\u03c4_\u03a0\u03b5\u03bc_\u03a0\u03b1\u03c1_\u03a3\u03b1\u03b2".split("_"),weekdaysMin:"\u039a\u03c5_\u0394\u03b5_\u03a4\u03c1_\u03a4\u03b5_\u03a0\u03b5_\u03a0\u03b1_\u03a3\u03b1".split("_"),meridiem:function(t,e,n){return t>11?n?"\u03bc\u03bc":"\u039c\u039c":n?"\u03c0\u03bc":"\u03a0\u039c"},isPM:function(t){return"\u03bc"===(t+"").toLowerCase()[0]},meridiemParse:/[\u03a0\u039c]\.?\u039c?\.?/i,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendarEl:{sameDay:"[\u03a3\u03ae\u03bc\u03b5\u03c1\u03b1 {}] LT",nextDay:"[\u0391\u03cd\u03c1\u03b9\u03bf {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[\u03a7\u03b8\u03b5\u03c2 {}] LT",lastWeek:function(){switch(this.day()){case 6:return"[\u03c4\u03bf \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03bf] dddd [{}] LT";default:return"[\u03c4\u03b7\u03bd \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03b7] dddd [{}] LT"}},sameElse:"L"},calendar:function(t,e){var n,i=this._calendarEl[t],a=e&&e.hours();return n=i,("undefined"!=typeof Function&&n instanceof Function||"[object Function]"===Object.prototype.toString.call(n))&&(i=i.apply(e)),i.replace("{}",a%12==1?"\u03c3\u03c4\u03b7":"\u03c3\u03c4\u03b9\u03c2")},relativeTime:{future:"\u03c3\u03b5 %s",past:"%s \u03c0\u03c1\u03b9\u03bd",s:"\u03bb\u03af\u03b3\u03b1 \u03b4\u03b5\u03c5\u03c4\u03b5\u03c1\u03cc\u03bb\u03b5\u03c0\u03c4\u03b1",ss:"%d \u03b4\u03b5\u03c5\u03c4\u03b5\u03c1\u03cc\u03bb\u03b5\u03c0\u03c4\u03b1",m:"\u03ad\u03bd\u03b1 \u03bb\u03b5\u03c0\u03c4\u03cc",mm:"%d \u03bb\u03b5\u03c0\u03c4\u03ac",h:"\u03bc\u03af\u03b1 \u03ce\u03c1\u03b1",hh:"%d \u03ce\u03c1\u03b5\u03c2",d:"\u03bc\u03af\u03b1 \u03bc\u03ad\u03c1\u03b1",dd:"%d \u03bc\u03ad\u03c1\u03b5\u03c2",M:"\u03ad\u03bd\u03b1\u03c2 \u03bc\u03ae\u03bd\u03b1\u03c2",MM:"%d \u03bc\u03ae\u03bd\u03b5\u03c2",y:"\u03ad\u03bd\u03b1\u03c2 \u03c7\u03c1\u03cc\u03bd\u03bf\u03c2",yy:"%d \u03c7\u03c1\u03cc\u03bd\u03b9\u03b1"},dayOfMonthOrdinalParse:/\d{1,2}\u03b7/,ordinal:"%d\u03b7",week:{dow:1,doy:4}})}(n("wd/R"))},jVdC:function(t,e,n){!function(t){"use strict";var e="stycze\u0144_luty_marzec_kwiecie\u0144_maj_czerwiec_lipiec_sierpie\u0144_wrzesie\u0144_pa\u017adziernik_listopad_grudzie\u0144".split("_"),n="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_wrze\u015bnia_pa\u017adziernika_listopada_grudnia".split("_"),i=[/^sty/i,/^lut/i,/^mar/i,/^kwi/i,/^maj/i,/^cze/i,/^lip/i,/^sie/i,/^wrz/i,/^pa\u017a/i,/^lis/i,/^gru/i];function a(t){return t%10<5&&t%10>1&&~~(t/10)%10!=1}function r(t,e,n){var i=t+" ";switch(n){case"ss":return i+(a(t)?"sekundy":"sekund");case"m":return e?"minuta":"minut\u0119";case"mm":return i+(a(t)?"minuty":"minut");case"h":return e?"godzina":"godzin\u0119";case"hh":return i+(a(t)?"godziny":"godzin");case"ww":return i+(a(t)?"tygodnie":"tygodni");case"MM":return i+(a(t)?"miesi\u0105ce":"miesi\u0119cy");case"yy":return i+(a(t)?"lata":"lat")}}t.defineLocale("pl",{months:function(t,i){return t?/D MMMM/.test(i)?n[t.month()]:e[t.month()]:e},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_pa\u017a_lis_gru".split("_"),monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"niedziela_poniedzia\u0142ek_wtorek_\u015broda_czwartek_pi\u0105tek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_\u015br_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_\u015ar_Cz_Pt_So".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Dzi\u015b o] LT",nextDay:"[Jutro o] LT",nextWeek:function(){switch(this.day()){case 0:return"[W niedziel\u0119 o] LT";case 2:return"[We wtorek o] LT";case 3:return"[W \u015brod\u0119 o] LT";case 6:return"[W sobot\u0119 o] LT";default:return"[W] dddd [o] LT"}},lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zesz\u0142\u0105 niedziel\u0119 o] LT";case 3:return"[W zesz\u0142\u0105 \u015brod\u0119 o] LT";case 6:return"[W zesz\u0142\u0105 sobot\u0119 o] LT";default:return"[W zesz\u0142y] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",ss:r,m:r,mm:r,h:r,hh:r,d:"1 dzie\u0144",dd:"%d dni",w:"tydzie\u0144",ww:r,M:"miesi\u0105c",MM:r,y:"rok",yy:r},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},jZKg:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("HDdC"),a=n("quSY");function r(t,e){return new i.a(n=>{const i=new a.a;let r=0;return i.add(e.schedule(function(){r!==t.length?(n.next(t[r++]),n.closed||i.add(this.schedule())):n.complete()})),i})}},jfSC:function(t,e,n){!function(t){"use strict";var e={1:"\u06f1",2:"\u06f2",3:"\u06f3",4:"\u06f4",5:"\u06f5",6:"\u06f6",7:"\u06f7",8:"\u06f8",9:"\u06f9",0:"\u06f0"},n={"\u06f1":"1","\u06f2":"2","\u06f3":"3","\u06f4":"4","\u06f5":"5","\u06f6":"6","\u06f7":"7","\u06f8":"8","\u06f9":"9","\u06f0":"0"};t.defineLocale("fa",{months:"\u0698\u0627\u0646\u0648\u06cc\u0647_\u0641\u0648\u0631\u06cc\u0647_\u0645\u0627\u0631\u0633_\u0622\u0648\u0631\u06cc\u0644_\u0645\u0647_\u0698\u0648\u0626\u0646_\u0698\u0648\u0626\u06cc\u0647_\u0627\u0648\u062a_\u0633\u067e\u062a\u0627\u0645\u0628\u0631_\u0627\u06a9\u062a\u0628\u0631_\u0646\u0648\u0627\u0645\u0628\u0631_\u062f\u0633\u0627\u0645\u0628\u0631".split("_"),monthsShort:"\u0698\u0627\u0646\u0648\u06cc\u0647_\u0641\u0648\u0631\u06cc\u0647_\u0645\u0627\u0631\u0633_\u0622\u0648\u0631\u06cc\u0644_\u0645\u0647_\u0698\u0648\u0626\u0646_\u0698\u0648\u0626\u06cc\u0647_\u0627\u0648\u062a_\u0633\u067e\u062a\u0627\u0645\u0628\u0631_\u0627\u06a9\u062a\u0628\u0631_\u0646\u0648\u0627\u0645\u0628\u0631_\u062f\u0633\u0627\u0645\u0628\u0631".split("_"),weekdays:"\u06cc\u06a9\u200c\u0634\u0646\u0628\u0647_\u062f\u0648\u0634\u0646\u0628\u0647_\u0633\u0647\u200c\u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647_\u067e\u0646\u062c\u200c\u0634\u0646\u0628\u0647_\u062c\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split("_"),weekdaysShort:"\u06cc\u06a9\u200c\u0634\u0646\u0628\u0647_\u062f\u0648\u0634\u0646\u0628\u0647_\u0633\u0647\u200c\u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647_\u067e\u0646\u062c\u200c\u0634\u0646\u0628\u0647_\u062c\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split("_"),weekdaysMin:"\u06cc_\u062f_\u0633_\u0686_\u067e_\u062c_\u0634".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u0642\u0628\u0644 \u0627\u0632 \u0638\u0647\u0631|\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/,isPM:function(t){return/\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/.test(t)},meridiem:function(t,e,n){return t<12?"\u0642\u0628\u0644 \u0627\u0632 \u0638\u0647\u0631":"\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631"},calendar:{sameDay:"[\u0627\u0645\u0631\u0648\u0632 \u0633\u0627\u0639\u062a] LT",nextDay:"[\u0641\u0631\u062f\u0627 \u0633\u0627\u0639\u062a] LT",nextWeek:"dddd [\u0633\u0627\u0639\u062a] LT",lastDay:"[\u062f\u06cc\u0631\u0648\u0632 \u0633\u0627\u0639\u062a] LT",lastWeek:"dddd [\u067e\u06cc\u0634] [\u0633\u0627\u0639\u062a] LT",sameElse:"L"},relativeTime:{future:"\u062f\u0631 %s",past:"%s \u067e\u06cc\u0634",s:"\u0686\u0646\u062f \u062b\u0627\u0646\u06cc\u0647",ss:"%d \u062b\u0627\u0646\u06cc\u0647",m:"\u06cc\u06a9 \u062f\u0642\u06cc\u0642\u0647",mm:"%d \u062f\u0642\u06cc\u0642\u0647",h:"\u06cc\u06a9 \u0633\u0627\u0639\u062a",hh:"%d \u0633\u0627\u0639\u062a",d:"\u06cc\u06a9 \u0631\u0648\u0632",dd:"%d \u0631\u0648\u0632",M:"\u06cc\u06a9 \u0645\u0627\u0647",MM:"%d \u0645\u0627\u0647",y:"\u06cc\u06a9 \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(t){return t.replace(/[\u06f0-\u06f9]/g,function(t){return n[t]}).replace(/\u060c/g,",")},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]}).replace(/,/g,"\u060c")},dayOfMonthOrdinalParse:/\d{1,2}\u0645/,ordinal:"%d\u0645",week:{dow:6,doy:12}})}(n("wd/R"))},ji8I:function(t,e,n){"use strict";n.d(e,"a",function(){return a});var i=n("n33M");class a{constructor({activites:t=null,dateDebut:e=null,dateFin:n=null,horaireDebut:a=null,horaireFin:r=null,nbJoursRepos:o=null,horairesAtypiques:s=!1,dangereux:l={actif:null,valeur:""},lieus:c=[]}){this.activites=t,this.dateDebut=e,this.dateFin=n,this.horaireDebut=a,this.horaireFin=r,this.nbJoursRepos=o,this.horairesAtypiques=s,this.dangereux=l,this.lieus=c.map(t=>{const e=new i.a(t);return e.adresse.pays="FR",e.hebergementCollectif.pays="FR",e})}getForPost(){return Object.assign(Object.assign({},this),{lieus:this.lieus.map(t=>t.getForPost())})}}},jnO4:function(t,e,n){!function(t){"use strict";var e={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},n={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},i=function(t){return 0===t?0:1===t?1:2===t?2:t%100>=3&&t%100<=10?3:t%100>=11?4:5},a={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},r=function(t){return function(e,n,r,o){var s=i(e),l=a[t][i(e)];return 2===s&&(l=l[n?0:1]),l.replace(/%d/i,e)}},o=["\u064a\u0646\u0627\u064a\u0631","\u0641\u0628\u0631\u0627\u064a\u0631","\u0645\u0627\u0631\u0633","\u0623\u0628\u0631\u064a\u0644","\u0645\u0627\u064a\u0648","\u064a\u0648\u0646\u064a\u0648","\u064a\u0648\u0644\u064a\u0648","\u0623\u063a\u0633\u0637\u0633","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];t.defineLocale("ar",{months:o,monthsShort:o,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(t){return"\u0645"===t},meridiem:function(t,e,n){return t<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:r("s"),ss:r("s"),m:r("m"),mm:r("m"),h:r("h"),hh:r("h"),d:r("d"),dd:r("d"),M:r("M"),MM:r("M"),y:r("y"),yy:r("y")},preparse:function(t){return t.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(t){return n[t]}).replace(/\u060c/g,",")},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(n("wd/R"))},jtHE:function(t,e,n){"use strict";n.d(e,"a",function(){return g});var i=n("XNiG"),a=n("3N8a");class r extends a.a{constructor(t,e){super(t,e),this.scheduler=t,this.work=e}schedule(t,e=0){return e>0?super.schedule(t,e):(this.delay=e,this.state=t,this.scheduler.flush(this),this)}execute(t,e){return e>0||this.closed?super.execute(t,e):this._execute(t,e)}requestAsyncId(t,e,n=0){return null!==n&&n>0||null===n&&this.delay>0?super.requestAsyncId(t,e,n):t.flush(this)}}var o=n("IjjT");class s extends o.a{}const l=new s(r);var c=n("quSY"),d=n("7o/Q"),u=n("WMd4");class h extends d.a{constructor(t,e,n=0){super(t),this.scheduler=e,this.delay=n}static dispatch(t){const{notification:e,destination:n}=t;e.observe(n),this.unsubscribe()}scheduleMessage(t){this.destination.add(this.scheduler.schedule(h.dispatch,this.delay,new m(t,this.destination)))}_next(t){this.scheduleMessage(u.a.createNext(t))}_error(t){this.scheduleMessage(u.a.createError(t)),this.unsubscribe()}_complete(){this.scheduleMessage(u.a.createComplete()),this.unsubscribe()}}class m{constructor(t,e){this.notification=t,this.destination=e}}var p=n("9ppp"),f=n("Ylt2");class g extends i.a{constructor(t=Number.POSITIVE_INFINITY,e=Number.POSITIVE_INFINITY,n){super(),this.scheduler=n,this._events=[],this._infiniteTimeWindow=!1,this._bufferSize=t<1?1:t,this._windowTime=e<1?1:e,e===Number.POSITIVE_INFINITY?(this._infiniteTimeWindow=!0,this.next=this.nextInfiniteTimeWindow):this.next=this.nextTimeWindow}nextInfiniteTimeWindow(t){if(!this.isStopped){const e=this._events;e.push(t),e.length>this._bufferSize&&e.shift()}super.next(t)}nextTimeWindow(t){this.isStopped||(this._events.push(new b(this._getNow(),t)),this._trimBufferThenGetEvents()),super.next(t)}_subscribe(t){const e=this._infiniteTimeWindow,n=e?this._events:this._trimBufferThenGetEvents(),i=this.scheduler,a=n.length;let r;if(this.closed)throw new p.a;if(this.isStopped||this.hasError?r=c.a.EMPTY:(this.observers.push(t),r=new f.a(this,t)),i&&t.add(t=new h(t,i)),e)for(let o=0;o<a&&!t.closed;o++)t.next(n[o]);else for(let o=0;o<a&&!t.closed;o++)t.next(n[o].value);return this.hasError?t.error(this.thrownError):this.isStopped&&t.complete(),r}_getNow(){return(this.scheduler||l).now()}_trimBufferThenGetEvents(){const t=this._getNow(),e=this._bufferSize,n=this._windowTime,i=this._events,a=i.length;let r=0;for(;r<a&&!(t-i[r].time<n);)r++;return a>e&&(r=Math.max(r,a-e)),r>0&&i.splice(0,r),i}}class b{constructor(t,e){this.time=t,this.value=e}}},kAim:function(t,e,n){"use strict";n.d(e,"a",function(){return i});var i=function(t){return t.PRIS_EN_CHARGE="PRIS_EN_CHARGE",t.AVANCES="AVANCES",t.VERSEMENT="VERSEMENT",t.AUTRE="AUTRE",t}({})},kEOa:function(t,e,n){!function(t){"use strict";var e={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},n={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"};t.defineLocale("bn",{months:"\u099c\u09be\u09a8\u09c1\u09df\u09be\u09b0\u09bf_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1\u09df\u09be\u09b0\u09bf_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f\u09c7\u09ae\u09cd\u09ac\u09b0_\u0985\u0995\u09cd\u099f\u09cb\u09ac\u09b0_\u09a8\u09ad\u09c7\u09ae\u09cd\u09ac\u09b0_\u09a1\u09bf\u09b8\u09c7\u09ae\u09cd\u09ac\u09b0".split("_"),monthsShort:"\u099c\u09be\u09a8\u09c1_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f_\u0985\u0995\u09cd\u099f\u09cb_\u09a8\u09ad\u09c7_\u09a1\u09bf\u09b8\u09c7".split("_"),weekdays:"\u09b0\u09ac\u09bf\u09ac\u09be\u09b0_\u09b8\u09cb\u09ae\u09ac\u09be\u09b0_\u09ae\u0999\u09cd\u0997\u09b2\u09ac\u09be\u09b0_\u09ac\u09c1\u09a7\u09ac\u09be\u09b0_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf\u09ac\u09be\u09b0_\u09b6\u09c1\u0995\u09cd\u09b0\u09ac\u09be\u09b0_\u09b6\u09a8\u09bf\u09ac\u09be\u09b0".split("_"),weekdaysShort:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),weekdaysMin:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),longDateFormat:{LT:"A h:mm \u09b8\u09ae\u09df",LTS:"A h:mm:ss \u09b8\u09ae\u09df",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u09b8\u09ae\u09df",LLLL:"dddd, D MMMM YYYY, A h:mm \u09b8\u09ae\u09df"},calendar:{sameDay:"[\u0986\u099c] LT",nextDay:"[\u0986\u0997\u09be\u09ae\u09c0\u0995\u09be\u09b2] LT",nextWeek:"dddd, LT",lastDay:"[\u0997\u09a4\u0995\u09be\u09b2] LT",lastWeek:"[\u0997\u09a4] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u09aa\u09b0\u09c7",past:"%s \u0986\u0997\u09c7",s:"\u0995\u09df\u09c7\u0995 \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",ss:"%d \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",m:"\u098f\u0995 \u09ae\u09bf\u09a8\u09bf\u099f",mm:"%d \u09ae\u09bf\u09a8\u09bf\u099f",h:"\u098f\u0995 \u0998\u09a8\u09cd\u099f\u09be",hh:"%d \u0998\u09a8\u09cd\u099f\u09be",d:"\u098f\u0995 \u09a6\u09bf\u09a8",dd:"%d \u09a6\u09bf\u09a8",M:"\u098f\u0995 \u09ae\u09be\u09b8",MM:"%d \u09ae\u09be\u09b8",y:"\u098f\u0995 \u09ac\u099b\u09b0",yy:"%d \u09ac\u099b\u09b0"},preparse:function(t){return t.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,function(t){return n[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},meridiemParse:/\u09b0\u09be\u09a4|\u09b8\u0995\u09be\u09b2|\u09a6\u09c1\u09aa\u09c1\u09b0|\u09ac\u09bf\u0995\u09be\u09b2|\u09b0\u09be\u09a4/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u09b0\u09be\u09a4"===e&&t>=4||"\u09a6\u09c1\u09aa\u09c1\u09b0"===e&&t<5||"\u09ac\u09bf\u0995\u09be\u09b2"===e?t+12:t},meridiem:function(t,e,n){return t<4?"\u09b0\u09be\u09a4":t<10?"\u09b8\u0995\u09be\u09b2":t<17?"\u09a6\u09c1\u09aa\u09c1\u09b0":t<20?"\u09ac\u09bf\u0995\u09be\u09b2":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(n("wd/R"))},kJWO:function(t,e,n){"use strict";n.d(e,"a",function(){return i});const i=(()=>"function"==typeof Symbol&&Symbol.observable||"@@observable")()},kLGl:function(t,e,n){"use strict";n.d(e,"a",function(){return P});var i=n("8Y7J"),a=n("v/fa"),r=n("ePOw"),o=n("5Gnb"),s=n("VIK+"),l=n("TSSN"),c=n("iELJ"),d=n("s7LF"),u=n("Q2Ze"),h=n("zQhy"),m=n("q6Qu"),p=n("SVse"),f=n("Dxy4"),g=n("Tj54"),b=n("fEzz"),_=n("48lP"),y=n("jMqV"),v=n("e6WT"),C=n("f3LI");function w(t,e){1&t&&(i.Tb(0,"mat-error"),i.Hc(1),i.gc(2,"translate"),i.Sb()),2&t&&(i.Cb(1),i.Jc(" ",i.hc(2,1,"dpd.prestation.error.tva")," "))}function x(t,e){1&t&&(i.Tb(0,"mat-error"),i.Hc(1),i.gc(2,"translate"),i.Sb()),2&t&&(i.Cb(1),i.Jc(" ",i.hc(2,1,"common.error.requis")," "))}function M(t,e){if(1&t){const t=i.Ub();i.Tb(0,"div",15),i.Tb(1,"mat-label"),i.Tb(2,"b"),i.Hc(3),i.gc(4,"translate"),i.Sb(),i.Sb(),i.Ob(5,"br"),i.Tb(6,"mat-radio-group",16),i.bc("change",function(e){return i.yc(t),i.fc(2).onAddressTypeChange(e,!1)}),i.Tb(7,"mat-radio-button",17),i.Hc(8),i.gc(9,"translate"),i.Sb(),i.Tb(10,"mat-radio-button",17),i.Hc(11),i.gc(12,"translate"),i.Sb(),i.Sb(),i.Sb()}if(2&t){const t=i.fc(2);i.Cb(3),i.Ic(i.hc(4,5,"common.adresse.type")),i.Cb(4),i.nc("value",t.addressTypeEnum.ADRESSE),i.Cb(1),i.Jc(" ",i.hc(9,7,"common.adresse")," "),i.Cb(2),i.nc("value",t.addressTypeEnum.COORDONNEES),i.Cb(1),i.Jc(" ",i.hc(12,9,"common.coordonnees")," ")}}function O(t,e){1&t&&(i.Tb(0,"mat-form-field",18),i.Ob(1,"input",19),i.Sb())}function k(t,e){1&t&&(i.Tb(0,"mat-error"),i.Hc(1),i.gc(2,"translate"),i.Sb()),2&t&&(i.Cb(1),i.Jc(" ",i.hc(2,1,"common.error.requis")," "))}function S(t,e){if(1&t){const t=i.Ub();i.Tb(0,"div"),i.Tb(1,"mat-form-field",18),i.Ob(2,"input",20),i.Fc(3,k,3,3,"mat-error",6),i.Sb(),i.Tb(4,"div",15),i.Tb(5,"mat-label"),i.Tb(6,"b"),i.Hc(7),i.gc(8,"translate"),i.Sb(),i.Sb(),i.Ob(9,"br"),i.Tb(10,"mat-radio-group",21),i.bc("change",function(e){return i.yc(t),i.fc(2).onAddressTypeChange(e,!0)}),i.Tb(11,"mat-radio-button",22),i.Hc(12),i.gc(13,"translate"),i.Sb(),i.Tb(14,"mat-radio-button",23),i.Hc(15),i.gc(16,"translate"),i.Sb(),i.Sb(),i.Sb(),i.Ob(17,"app-address-form-2",24),i.Sb()}if(2&t){const t=i.fc(2);i.Cb(3),i.nc("ngIf",t.doesControlHaveError("nomHebergement","required")),i.Cb(4),i.Ic(i.hc(8,12,"common.adresse.type")),i.Cb(4),i.nc("value",t.addressTypeEnum.ADRESSE),i.Cb(1),i.Jc(" ",i.hc(13,14,"common.adresse")," "),i.Cb(2),i.nc("value",t.addressTypeEnum.COORDONNEES),i.Cb(1),i.Jc(" ",i.hc(16,16,"common.coordonnees")," "),i.Cb(2),i.nc("formGp",t.hebergementCollectifFg)("showCoords",t.adresseHebergementType===t.addressTypeEnum.COORDONNEES)("showCountry",!1)("showAddress",t.adresseHebergementType!==t.addressTypeEnum.COORDONNEES)("isRequired",!0)("isAutocompleteDisabled",t.adresseHebergementType===t.addressTypeEnum.COORDONNEES)}}function T(t,e){if(1&t){const t=i.Ub();i.Tb(0,"div"),i.Tb(1,"app-lieu-autocomplete-2",10),i.bc("selectionChanged",function(e){return i.yc(t),i.fc().raisonsocialeChanged(e)}),i.Fc(2,x,3,3,"mat-error",6),i.Sb(),i.Fc(3,M,13,11,"div",11),i.Tb(4,"div"),i.Ob(5,"app-address-form-2",12),i.Fc(6,O,2,0,"mat-form-field",13),i.Sb(),i.Tb(7,"mat-slide-toggle",14),i.bc("change",function(e){return i.yc(t),i.fc().changeHebergementCollectifStatus(e.checked)}),i.Hc(8),i.gc(9,"translate"),i.Sb(),i.Fc(10,S,18,18,"div",6),i.Sb()}if(2&t){const t=i.fc();i.Cb(1),i.nc("name","raisonSociale")("inputTitle",t.locationType===t.locationTypeEnum.CHANTIER?"dpd.chantier":"dpd.raisonsociale")("isRequired",!0)("isAutocompleteDisabled",t.locationType!==t.locationTypeEnum.CHANTIER)("formControl",t.nameCtrl),i.Cb(1),i.nc("ngIf",t.doesControlHaveError("nom","required")),i.Cb(1),i.nc("ngIf",t.locationType===t.locationTypeEnum.CHANTIER),i.Cb(2),i.nc("formGp",t.addressFg)("showCoords",t.addressType===t.addressTypeEnum.COORDONNEES)("showCountry",!1)("showAddress",t.addressType!==t.addressTypeEnum.COORDONNEES)("isCompletionMode",t.isCompletionMode)("isRequired",!0),i.Cb(1),i.nc("ngIf",null!==t.codeNaf),i.Cb(2),i.Jc(" ",i.hc(9,16,"dpd.hebergement.collectif")," "),i.Cb(2),i.nc("ngIf",t.isHebergementCollectif)}}let P=(()=>{class t extends a.a{constructor(t,e,n){super(t),this.translateService=t,this.dialog=e,this.changeDetectorRef=n,this.saveOrUpdateLocationEvent=new i.o,this.closeEvent=new i.o,this.locationTypeEnum=o.a,this.addressTypeEnum=r.a}set locationFg(t){this.form=t,this.enableOrDisableInfos(this.form.get("type").value)}get locationType(){return this.form.get("type").value}get nameCtrl(){return this.form.get("nom")}get addressFg(){return this.form.get("adresse")}get addressTypeCtrl(){return this.form.get("typeAdresse")}get addressType(){return this.addressTypeCtrl.value}get codeNaf(){return this.form.get("codeNaf").value}get isHebergementCollectif(){return this.form.get("isHebergementCollectif").value}get nomHebergementCtrl(){return this.form.get("nomHebergement")}get hebergementCollectifFg(){return this.form.get("hebergementCollectif")}get adresseHebergementTypeCtrl(){return this.form.get("typeAdresseHebergement")}get adresseHebergementType(){return this.adresseHebergementTypeCtrl.value}get isLocationInfosDisplayed(){return this.locationType&&(this.locationType===o.a.CLIENT&&this.isClientFrench&&this.isClientValid||this.locationType!==o.a.CLIENT)}onAddressTypeChange(t,e){const n=t.value,i=e?this.hebergementCollectifFg:this.addressFg;console.log("plop update ",n),i.patchValue({adresse:null,cp:null,ville:null,complementAdresse:null,latitude:null,longitude:null}),this.enableOrDisableAddress(n,i)}enableOrDisableAddress(t,e){e.get("cp").enable(),e.get("ville").enable(),e.get("pays").disable(),t===r.a.COORDONNEES?(e.get("adresse").disable(),e.get("complementAdresse").disable()):(e.get("adresse").enable(),e.get("complementAdresse").enable())}enableOrDisableInfos(t){this.isCompletionMode||t!==o.a.CHANTIER?(this.nameCtrl.disable(),this.addressTypeCtrl.disable(),this.addressFg.disable()):(this.nameCtrl.enable(),this.addressTypeCtrl.enable(),this.enableOrDisableAddress(this.addressTypeCtrl.value,this.addressFg))}onLocationTypeChange(t){const e=t.value;this.enableOrDisableInfos(e),e===o.a.CHANTIER&&this.form.patchValue({typeAdresse:r.a.ADRESSE,typeAdresseHebergement:r.a.ADRESSE}),e===o.a.CLIENT&&this.isClientValid&&this.isClientFrench&&this.showSIRENPopup(this.numTVAClient.slice(-9)),e===o.a.AUTRE&&this.showSIRENPopup(),this.changeHebergementCollectifStatus(this.isHebergementCollectif)}changeHebergementCollectifStatus(t){t?(this.form.get("nomHebergement").enable(),this.form.get("typeAdresseHebergement").enable(),this.form.get("hebergementCollectif").enable(),this.form.get("hebergementCollectif").get("longitude").disable(),this.form.get("hebergementCollectif").get("latitude").disable()):(this.form.get("nomHebergement").disable(),this.form.get("typeAdresseHebergement").disable(),this.form.get("hebergementCollectif").disable(),this.form.patchValue({nomHebergement:null,hebergementCollectif:{adresse:null,cp:null,ville:null,complementAdresse:null,latitude:null,longitude:null}}))}getGreenValidationButton(){return this.locationFormIsValidExceptIsSavedInArrayControl(this.form)&&(this.locationType!==o.a.CLIENT||this.locationType===o.a.CLIENT&&this.isClientFrench&&this.isClientValid)}locationFormIsValidExceptIsSavedInArrayControl(t){let e=!0;return Object.entries(t.controls).every(t=>"isSavedInArray"===t[0]||!t[1].invalid||(e=!1,!1)),e}saveOrUpdateLocation(){this.saveOrUpdateLocationEvent.emit(this.form)}clearLocation(){this.closeEvent.emit()}showSIRENPopup(t){this.dialog.open(s.a,{data:t?{siren:t}:{},width:"90%",maxWidth:"90%"}).beforeClosed().subscribe(t=>{this.form.patchValue(t&&t.address?{nom:t.rs,siret:t.siret,adresse:{adresse:t.address.adresse,cp:t.address.cp,ville:t.address.ville,complementAdresse:t.address.complementAdresse,latitude:t.address.latitude,longitude:t.address.longitude},codeNaf:t.codeNaf}:{type:null})})}raisonsocialeChanged(t){this.form.patchValue({typeAdresse:t.typeAdresse,adresse:t})}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(l.d),i.Nb(c.b),i.Nb(i.h))},t.\u0275cmp=i.Hb({type:t,selectors:[["app-location-form-2"]],inputs:{isClientValid:"isClientValid",isClientFrench:"isClientFrench",numTVAClient:"numTVAClient",isCompletionMode:"isCompletionMode",locationFg:"locationFg"},outputs:{saveOrUpdateLocationEvent:"saveOrUpdateLocationEvent",closeEvent:"closeEvent"},features:[i.zb],decls:20,vars:11,consts:[[1,"location_container",3,"formGroup"],[1,"radio","place-type"],["name","location-type","formControlName","type",3,"change"],["data-cy","client-choice","id","clientChoice","color","primary","appLabel","dpd.prestation.lieu.type.client",3,"value"],["data-cy","autre-choice","id","autreChoice","color","primary","appLabel","dpd.prestation.lieu.type.autre",3,"value"],["data-cy","chantier-choice","id","chantierChoice","color","primary","appLabel","dpd.prestation.lieu.type.chantier",3,"value"],[4,"ngIf"],[1,"places-action"],["mat-raised-button","","type","button","aria-label","save",3,"ngClass","disabled","click"],["mat-button","","aria-label","cancel","type","button","color","warn",3,"click"],["data-cy","nom-chantier","formControlName","nom","textType","text",3,"name","inputTitle","isRequired","isAutocompleteDisabled","formControl","selectionChanged"],["class","radio",4,"ngIf"],["data-cy","adresse-chantier","name","adresse",3,"formGp","showCoords","showCountry","showAddress","isCompletionMode","isRequired"],["class","full-width",4,"ngIf"],["data-cy","toggle-hebergement","color","primary","name","toggleCollectiveLodging","formControlName","isHebergementCollectif",3,"change"],[1,"radio"],["id","gpsMode1","formControlName","typeAdresse",3,"change"],["color","primary",3,"value"],[1,"full-width"],["matInput","","type","text","name","codeNaf","appLabel","client.codeNaf","formControlName","codeNaf"],["matInput","","data-cy","nom-hebergement","type","text","name","nomHebergement","appLabel","dpd.prestation.hebergement.collectif","appTextField","text","formControlName","nomHebergement","required",""],["name","typeAdresseHebergement","formControlName","typeAdresseHebergement",3,"change"],["data-cy","button-type-adresse-hebergement","color","primary",3,"value"],["data-cy","button-type-coordonnees-hebergement","color","primary",3,"value"],["data-cy","hebergement-collectif","name","hebergementCollectif",3,"formGp","showCoords","showCountry","showAddress","isRequired","isAutocompleteDisabled"]],template:function(t,e){1&t&&(i.Tb(0,"form",0),i.Tb(1,"div",1),i.Tb(2,"mat-label"),i.Tb(3,"b"),i.Hc(4),i.gc(5,"translate"),i.Sb(),i.Sb(),i.Ob(6,"br"),i.Tb(7,"mat-radio-group",2),i.bc("change",function(t){return e.onLocationTypeChange(t)}),i.Ob(8,"mat-radio-button",3),i.Ob(9,"mat-radio-button",4),i.Ob(10,"mat-radio-button",5),i.Sb(),i.Sb(),i.Fc(11,w,3,3,"mat-error",6),i.Fc(12,T,11,18,"div",6),i.Tb(13,"div",7),i.Tb(14,"button",8),i.bc("click",function(){return e.saveOrUpdateLocation()}),i.Tb(15,"mat-icon"),i.Hc(16,"done"),i.Sb(),i.Sb(),i.Tb(17,"button",9),i.bc("click",function(){return e.clearLocation()}),i.Tb(18,"mat-icon"),i.Hc(19,"clear"),i.Sb(),i.Sb(),i.Sb(),i.Sb()),2&t&&(i.nc("formGroup",e.form),i.Cb(4),i.Ic(i.hc(5,9,"dpd.prestation.lieu.type")),i.Cb(4),i.nc("value",e.locationTypeEnum.CLIENT),i.Cb(1),i.nc("value",e.locationTypeEnum.AUTRE),i.Cb(1),i.nc("value",e.locationTypeEnum.CHANTIER),i.Cb(1),i.nc("ngIf",!(e.locationType!==e.locationTypeEnum.CLIENT||e.isClientValid&&e.isClientFrench)),i.Cb(1),i.nc("ngIf",e.isLocationInfosDisplayed),i.Cb(2),i.nc("ngClass",e.getGreenValidationButton()?"green-btn":"orange-btn")("disabled",!e.locationType))},directives:[d.x,d.p,d.i,u.f,h.b,d.o,d.g,h.a,m.a,p.l,f.a,p.j,g.a,u.b,b.a,d.f,_.a,y.a,u.c,v.b,d.c,C.a,d.v],pipes:[l.c],styles:[".location_container[_ngcontent-%COMP%] .radio[_ngcontent-%COMP%]{padding:8px 0}.location_container[_ngcontent-%COMP%] .radio[_ngcontent-%COMP%] mat-radio-button[_ngcontent-%COMP%]{margin:8px 12px 0}.location_container[_ngcontent-%COMP%] .radio.place-type[_ngcontent-%COMP%] mat-radio-group[_ngcontent-%COMP%]{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.location_container[_ngcontent-%COMP%] .full-width[_ngcontent-%COMP%]{width:100%}.location_container[_ngcontent-%COMP%] .places-action[_ngcontent-%COMP%]{display:-ms-flexbox;display:flex;-ms-flex-direction:row-reverse;flex-direction:row-reverse;-ms-flex-align:center;align-items:center}"]}),t})()},kOpN:function(t,e,n){!function(t){"use strict";t.defineLocale("zh-tw",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u51cc\u6668"===e||"\u65e9\u4e0a"===e||"\u4e0a\u5348"===e?t:"\u4e2d\u5348"===e?t>=11?t:t+12:"\u4e0b\u5348"===e||"\u665a\u4e0a"===e?t+12:void 0},meridiem:function(t,e,n){var i=100*t+e;return i<600?"\u51cc\u6668":i<900?"\u65e9\u4e0a":i<1130?"\u4e0a\u5348":i<1230?"\u4e2d\u5348":i<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929] LT",nextDay:"[\u660e\u5929] LT",nextWeek:"[\u4e0b]dddd LT",lastDay:"[\u6628\u5929] LT",lastWeek:"[\u4e0a]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"\u65e5";case"M":return t+"\u6708";case"w":case"W":return t+"\u9031";default:return t}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(n("wd/R"))},keau:function(t,e,n){"use strict";n.d(e,"a",function(){return o});var i=n("cXaA"),a=n("8Y7J"),r=n("IheW");let o=(()=>{class t{constructor(t){this.http=t,this.log=i.a.create("SireneService"),this.END_POINT="/api/sirets"}getSirets(t=null,e=null,n=null,i=null,a=null){const r=this.END_POINT+"/search";this.log.data(`[HTTP] (POST) -> ${r}`);const o={};return null!==t&&(o.criteria={filters:t,operator:"AND"}),null!==a&&(o.size=a),null!==i&&(o.page=i),null!==e&&null!==n&&(o.sorts=[{field:e,direction:null!==n?n.toUpperCase():n}]),this.http.post(r,o)}getSiret(){return this._siret}setSiret(t){this._siret=t}getState(){return this._state}setState(t){this._state=t}}return t.\u0275fac=function(e){return new(e||t)(a.Xb(r.b))},t.\u0275prov=a.Jb({token:t,factory:t.\u0275fac,providedIn:"root"}),t})()},l5ep:function(t,e,n){!function(t){"use strict";t.defineLocale("cy",{months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Heddiw am] LT",nextDay:"[Yfory am] LT",nextWeek:"dddd [am] LT",lastDay:"[Ddoe am] LT",lastWeek:"dddd [diwethaf am] LT",sameElse:"L"},relativeTime:{future:"mewn %s",past:"%s yn \xf4l",s:"ychydig eiliadau",ss:"%d eiliad",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"},dayOfMonthOrdinalParse:/\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,ordinal:function(t){var e="";return t>20?e=40===t||50===t||60===t||80===t||100===t?"fed":"ain":t>0&&(e=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"][t]),t+e},week:{dow:1,doy:4}})}(n("wd/R"))},lBUW:function(t,e,n){"use strict";n.r(e),n.d(e,"AuthModule",function(){return B});var i=n("SVse"),a=n("Lyw/"),r=n("iInd"),o=n("AFtR"),s=n("IGtN"),l=n("8Y7J"),c=n("TSSN"),d=n("f4AX"),u=n("jKJn"),h=n("Cwn8"),m=n("PDjf"),p=n("s7LF"),f=n("Q2Ze"),g=n("e6WT"),b=n("q6Qu"),_=n("PkhO"),y=n("0zE1"),v=n("Dxy4"),C=n("Tj54");function w(t,e){1&t&&(l.Tb(0,"mat-error"),l.Hc(1),l.gc(2,"translate"),l.Sb()),2&t&&(l.Cb(1),l.Ic(l.hc(2,1,"common.error.requis")))}function x(t,e){1&t&&(l.Tb(0,"mat-error"),l.Hc(1),l.gc(2,"translate"),l.Sb()),2&t&&(l.Cb(1),l.Ic(l.hc(2,1,"common.error.email")))}function M(t,e){if(1&t){const t=l.Ub();l.Tb(0,"re-captcha",13,14),l.bc("ngModelChange",function(e){return l.yc(t),l.fc().captcha=e}),l.Sb()}if(2&t){const t=l.fc();l.nc("ngModel",t.captcha)("siteKey",t.siteKey)}}function O(t,e){1&t&&(l.Tb(0,"div",15),l.Tb(1,"mat-error"),l.Tb(2,"mat-icon"),l.Hc(3,"warning"),l.Sb(),l.Hc(4),l.gc(5,"translate"),l.Sb(),l.Sb()),2&t&&(l.Cb(4),l.Jc("",l.hc(5,1,"common.error.interne")," "))}let k=(()=>{class t extends s.a{constructor(t,e,n,i,a,r,o){super(t),this.translateService=t,this.userService=e,this.alertService=n,this.router=i,this.route=a,this.loader=r,this.zone=o,this.loaderReady=!1,this.siteKey=null;const s=this.route.snapshot.data.configurationData;s&&(this.siteKey=s.siteKey)}onSubmit(){this.subscriptions.push(this.userService.resetPassword(this.captcha,this.login).subscribe(t=>{null!=t?this.errorKey=t:this.translateService.get("password.oublie.done").subscribe(t=>{this.alertService.notify(t),this.router.navigate(["/auth/login"])})}))}back(){this.router.navigate(["/"])}load(){this.subscriptions.push(this.loader.ready.subscribe(t=>{setTimeout(()=>this.zone.run(()=>this.loaderReady=!!t),0)}))}}return t.\u0275fac=function(e){return new(e||t)(l.Nb(c.d),l.Nb(d.a),l.Nb(u.a),l.Nb(r.f),l.Nb(r.a),l.Nb(a.c),l.Nb(l.B))},t.\u0275cmp=l.Hb({type:t,selectors:[["app-forgot-password"]],features:[l.zb],decls:22,vars:9,consts:[["id","pwd-forgot",1,"content-flex"],[1,"pwd-forgot-form"],["f","ngForm","pwdForgotForm","ngForm"],[1,"fields"],["matInput","","name","login","maxlength","256","appLabel","common.login","appEmailValidator","","appNoSpace","","required","",3,"ngModel","ngModelChange"],["loginModel","ngModel"],[4,"ngIf"],["id","captcha","name","captcha","required","",3,"ngModel","siteKey","ngModelChange",4,"ngIf"],["class","error",4,"ngIf"],[1,"submission"],["mat-raised-button","","name","envoyer","color","primary","type","button","aria-label","submit","appLabel","common.enregistrer",3,"disabled","click"],[1,"form-2-column-separator"],["mat-raised-button","","color","warn","type","button","aria-label","cancel","appLabel","common.annuler",3,"click"],["id","captcha","name","captcha","required","",3,"ngModel","siteKey","ngModelChange"],["captchaControl","ngModel"],[1,"error"]],template:function(t,e){if(1&t&&(l.Tb(0,"div",0),l.Tb(1,"mat-card",1),l.Tb(2,"mat-card-title"),l.Tb(3,"h1"),l.Hc(4),l.gc(5,"translate"),l.Sb(),l.Sb(),l.Tb(6,"mat-card-content"),l.Tb(7,"form",null,2),l.Tb(10,"div",3),l.Tb(11,"mat-form-field"),l.Tb(12,"input",4,5),l.bc("ngModelChange",function(t){return e.login=t}),l.Sb(),l.Fc(14,w,3,3,"mat-error",6),l.Fc(15,x,3,3,"mat-error",6),l.Sb(),l.Sb(),l.Fc(16,M,2,2,"re-captcha",7),l.Fc(17,O,6,3,"div",8),l.Tb(18,"div",9),l.Tb(19,"button",10),l.bc("click",function(){return e.onSubmit()}),l.Sb(),l.Ob(20,"div",11),l.Tb(21,"button",12),l.bc("click",function(){return e.back()}),l.Sb(),l.Sb(),l.Sb(),l.Sb(),l.Sb(),l.Sb()),2&t){const t=l.vc(9),n=l.vc(13);l.Cb(4),l.Ic(l.hc(5,7,"password.oublie.titre")),l.Cb(8),l.nc("ngModel",e.login),l.Cb(2),l.nc("ngIf",n.hasError("required")),l.Cb(1),l.nc("ngIf",n.hasError("email")),l.Cb(1),l.nc("ngIf",e.loaderReady),l.Cb(1),l.nc("ngIf",e.errorKey),l.Cb(2),l.nc("disabled",t.invalid)}},directives:[m.a,m.d,m.b,p.x,p.p,p.q,f.c,g.b,p.c,p.k,b.a,_.a,y.a,p.v,p.o,p.r,i.l,v.a,f.b,a.a,a.e,C.a],pipes:[c.c],styles:["#pwd-forgot[_ngcontent-%COMP%]{margin-top:12px;-ms-flex-flow:row wrap-reverse;flex-flow:row wrap-reverse;-ms-flex-pack:distribute;justify-content:space-around;-ms-flex-align:baseline;align-items:baseline}#pwd-forgot[_ngcontent-%COMP%] mat-card-title[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:24px}#pwd-forgot[_ngcontent-%COMP%] .pwd-forgot-form[_ngcontent-%COMP%]{width:25%;min-width:400px;margin-bottom:24px}#pwd-forgot[_ngcontent-%COMP%] .fields[_ngcontent-%COMP%]{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}#pwd-forgot[_ngcontent-%COMP%] .error[_ngcontent-%COMP%] mat-error[_ngcontent-%COMP%]{display:-ms-flexbox;display:flex;padding:10px;-ms-flex-align:center;align-items:center}#pwd-forgot[_ngcontent-%COMP%] .error[_ngcontent-%COMP%] mat-error[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{margin-right:12px}#pwd-forgot[_ngcontent-%COMP%] .submission[_ngcontent-%COMP%]{padding-top:1.25em;-ms-flex-pack:distribute;justify-content:space-around;display:-ms-flexbox;display:flex}"]}),t})();var S=n("xuwl"),T=n("qh/L"),P=n("NVUN");function L(t,e){1&t&&(l.Tb(0,"mat-error"),l.Hc(1),l.gc(2,"translate"),l.Sb()),2&t&&(l.Cb(1),l.Jc(" ",l.hc(2,1,"common.error.login")," "))}function D(t,e){1&t&&(l.Tb(0,"mat-error"),l.Hc(1),l.gc(2,"translate"),l.Sb()),2&t&&(l.Cb(1),l.Jc(" ",l.hc(2,1,"common.error.password")," "))}function E(t,e){1&t&&l.Ob(0,"app-infobulle",26)}function A(t,e){if(1&t&&(l.Tb(0,"div",27),l.Tb(1,"mat-error"),l.Hc(2),l.gc(3,"translate"),l.Sb(),l.Sb()),2&t){const t=l.fc();l.Cb(2),l.Jc(" ",l.hc(3,1,t.errorKey)," ")}}const I=function(){return{"full-width":!0}},R=function(){return{"margin-right":"30px"}},N=function(){return{}};let Y=(()=>{class t{constructor(t,e){this.sessionService=t,this.translateService=e,this.credentials={login:"",password:""},this.hide=!0,this.errorKey=null}ngOnInit(){this.translateService.get("login.password._info").subscribe(t=>this.hasInfoBullePassword=t&&""!==t),this.translateService.get("login.password.oublie._info").subscribe(t=>this.hasInfobulleForgotten=t&&""!==t)}authenticate(t){t.preventDefault(),this.sessionService.login(this.credentials.login,this.credentials.password).subscribe(t=>{t===S.a.BAD_CREDENTIALS?this.errorKey="login.error.connexion":t===S.a.EXPIRED_PASSWORD?this.errorKey="login.error.password.expire":t===S.a.INTERNAL?this.errorKey="common.error.interne":t===S.a.USER_DELETED?this.errorKey="compte.delete.message":t===S.a.RESET_PASSWORD?this.errorKey="login.error.password.reset":t===S.a.BLOCKED_ACCOUNT&&(this.errorKey="login.error.account.blocked")})}}return t.\u0275fac=function(e){return new(e||t)(l.Nb(T.a),l.Nb(c.d))},t.\u0275cmp=l.Hb({type:t,selectors:[["app-login"]],decls:51,vars:40,consts:[[1,"center-text"],["id","login",1,"content-flex"],[1,"info"],[1,"item"],["src","assets/img/login/picto01.png","alt","detail1"],[3,"innerHTML"],["src","assets/img/login/picto02.png","alt","detail2"],["src","assets/img/login/picto03.png","alt","detail3"],["src","assets/img/login/picto04.png","alt","detail4"],[1,"login-form"],[3,"ngSubmit"],["f","ngForm"],[1,"fields"],[3,"ngClass"],["matInput","","name","login","aria-label","login","maxlength","256","appLabel","login.identifiant","appNoSpace","","appEmailValidator","","required","",3,"ngModel","ngModelChange"],["login","ngModel"],[4,"ngIf"],["matInput","","name","password","aria-label","password","appLabel","login.password","required","",3,"type","ngModel","ngModelChange"],["password","ngModel"],["matSuffix","",1,"cursor-pointer",3,"ngStyle","click"],[1,"forgotten"],["routerLink","/auth/password/forgot","routerLinkActive","active",1,"forgot-password"],["message","login.password.oublie._info",4,"ngIf"],["class","error",4,"ngIf"],[1,"submission"],["mat-raised-button","","type","submit","color","primary","aria-label","submit","appLabel","login.submit",3,"disabled"],["message","login.password.oublie._info"],[1,"error"]],template:function(t,e){if(1&t){const t=l.Ub();l.Tb(0,"h1",0),l.Hc(1),l.gc(2,"translate"),l.Sb(),l.Tb(3,"div",1),l.Tb(4,"mat-card",2),l.Tb(5,"mat-card-title"),l.Hc(6),l.gc(7,"translate"),l.Sb(),l.Tb(8,"mat-card-content"),l.Tb(9,"div",3),l.Ob(10,"img",4),l.Ob(11,"div",5),l.gc(12,"translate"),l.Sb(),l.Tb(13,"div",3),l.Ob(14,"img",6),l.Ob(15,"div",5),l.gc(16,"translate"),l.Sb(),l.Tb(17,"div",3),l.Ob(18,"img",7),l.Ob(19,"div",5),l.gc(20,"translate"),l.Sb(),l.Tb(21,"div",3),l.Ob(22,"img",8),l.Ob(23,"div",5),l.gc(24,"translate"),l.Sb(),l.Sb(),l.Sb(),l.Tb(25,"mat-card",9),l.Tb(26,"mat-card-title"),l.Hc(27),l.gc(28,"translate"),l.Sb(),l.Tb(29,"mat-card-content"),l.Tb(30,"form",10,11),l.bc("ngSubmit",function(n){return l.yc(t),l.vc(31).form.valid&&e.authenticate(n)}),l.Tb(32,"div",12),l.Tb(33,"mat-form-field",13),l.Tb(34,"input",14,15),l.bc("ngModelChange",function(t){return e.credentials.login=t}),l.Sb(),l.Fc(36,L,3,3,"mat-error",16),l.Sb(),l.Tb(37,"mat-form-field",13),l.Tb(38,"input",17,18),l.bc("ngModelChange",function(t){return e.credentials.password=t}),l.Sb(),l.Tb(40,"mat-icon",19),l.bc("click",function(){return e.hide=!e.hide}),l.Hc(41),l.Sb(),l.Fc(42,D,3,3,"mat-error",16),l.Sb(),l.Tb(43,"div",20),l.Tb(44,"a",21),l.Hc(45),l.gc(46,"translate"),l.Sb(),l.Fc(47,E,1,0,"app-infobulle",22),l.Sb(),l.Sb(),l.Fc(48,A,4,3,"div",23),l.Tb(49,"div",24),l.Ob(50,"button",25),l.Sb(),l.Sb(),l.Sb(),l.Sb(),l.Sb()}if(2&t){const t=l.vc(31),n=l.vc(35),i=l.vc(39);l.Cb(1),l.Ic(l.hc(2,20,"common.bienvenue")),l.Cb(5),l.Jc(" ",l.hc(7,22,"login.details.titre")," "),l.Cb(5),l.oc("innerHTML",l.hc(12,24,"login.details.1"),l.zc),l.Cb(4),l.oc("innerHTML",l.hc(16,26,"login.details.2"),l.zc),l.Cb(4),l.oc("innerHTML",l.hc(20,28,"login.details.3"),l.zc),l.Cb(4),l.oc("innerHTML",l.hc(24,30,"login.details.4"),l.zc),l.Cb(4),l.Jc(" ",l.hc(28,32,"login.titre")," "),l.Cb(6),l.nc("ngClass",l.rc(36,I)),l.Cb(1),l.nc("ngModel",e.credentials.login),l.Cb(2),l.nc("ngIf",n.hasError("required")),l.Cb(1),l.nc("ngClass",l.rc(37,I)),l.Cb(1),l.nc("type",e.hide?"password":"text")("ngModel",e.credentials.password),l.Cb(2),l.nc("ngStyle",e.hasInfoBullePassword?l.rc(38,R):l.rc(39,N)),l.Cb(1),l.Jc(" ",e.hide?"visibility":"visibility_off"," "),l.Cb(1),l.nc("ngIf",i.hasError("required")),l.Cb(3),l.Jc(" ",l.hc(46,34,"login.password.oublie")," "),l.Cb(2),l.nc("ngIf",e.hasInfobulleForgotten),l.Cb(1),l.nc("ngIf",e.errorKey),l.Cb(2),l.nc("disabled",t.submitted&&t.invalid)}},directives:[m.a,m.d,m.b,p.x,p.p,p.q,f.c,i.j,g.b,p.c,p.k,b.a,y.a,_.a,p.v,p.o,p.r,i.l,C.a,f.h,i.m,r.i,r.h,v.a,f.b,P.a],pipes:[c.c],styles:["#login[_ngcontent-%COMP%]{margin-top:12px;-ms-flex-flow:row wrap-reverse;flex-flow:row wrap-reverse;-ms-flex-pack:distribute;justify-content:space-around;-ms-flex-align:baseline;align-items:baseline}#login[_ngcontent-%COMP%] .info[_ngcontent-%COMP%]{width:55%;min-width:650px}#login[_ngcontent-%COMP%] .info[_ngcontent-%COMP%] .item[_ngcontent-%COMP%]{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;font-size:1.2rem;padding:16px 0}#login[_ngcontent-%COMP%] .info[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:60px;min-width:60px}#login[_ngcontent-%COMP%] .info[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{margin-left:32px;text-align:justify}#login[_ngcontent-%COMP%] .login-form[_ngcontent-%COMP%]{width:25%;min-width:400px;margin-bottom:24px}#login[_ngcontent-%COMP%] .forgotten[_ngcontent-%COMP%]{margin-bottom:10px}#login[_ngcontent-%COMP%] .forgotten[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{display:table-cell;vertical-align:middle}#login[_ngcontent-%COMP%] .fields[_ngcontent-%COMP%]{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}#login[_ngcontent-%COMP%] .error[_ngcontent-%COMP%] mat-error[_ngcontent-%COMP%]{display:-ms-flexbox;display:flex;padding:10px;-ms-flex-align:center;align-items:center}#login[_ngcontent-%COMP%] .error[_ngcontent-%COMP%] mat-error[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{margin-right:12px}#login[_ngcontent-%COMP%] .submission[_ngcontent-%COMP%]{-ms-flex-pack:distribute;justify-content:space-around;display:-ms-flexbox;display:flex}#login[_ngcontent-%COMP%] .forgot-password[_ngcontent-%COMP%]{color:#000;width:-webkit-max-content;width:-moz-max-content;width:max-content}#login[_ngcontent-%COMP%] .forgot-password[_ngcontent-%COMP%]:hover{text-decoration:underline}"]}),t})();var H=n("1uah"),j=n("RQKg");let F=(()=>{class t extends s.a{constructor(t,e,n,i,a){super(t),this.translateService=t,this.userService=e,this.alertService=n,this.router=i,this.route=a,this.mode="reset",this.token=null,this.submitFn=(t="")=>{const e=this.userService.savePassword(this.token,t).subscribe(t=>{null!==t&&"SAME_PASSWORD"===t.errorCode?this.alertService.notifyByKey("password.error.identique"):(this.alertService.notifyByKey(this.done),this.router.navigate(["/auth/login"]))});this.subscriptions.push(e)}}get titre(){return`password.${this.mode}.titre`}get done(){return`password.${this.mode}.done`}load(){Object(H.a)(this.route.data,this.route.params).subscribe(([t,e])=>{this.mode=t.mode,this.token=e.token;const n=this.userService.getUserByToken(this.token).subscribe(t=>{"EXPIRED"!==t.errorCode&&"INTERNAL"!==t.errorCode||(this.expired=!0)});this.subscriptions.push(n)})}}return t.\u0275fac=function(e){return new(e||t)(l.Nb(c.d),l.Nb(d.a),l.Nb(u.a),l.Nb(r.f),l.Nb(r.a))},t.\u0275cmp=l.Hb({type:t,selectors:[["app-reset-password"]],features:[l.zb],decls:2,vars:4,consts:[["id","reset-password",1,"content"],[3,"titre","onSubmit","hasToken","expired"]],template:function(t,e){1&t&&(l.Tb(0,"div",0),l.Ob(1,"app-edit-password",1),l.Sb()),2&t&&(l.Cb(1),l.nc("titre",e.titre)("onSubmit",e.submitFn)("hasToken",!0)("expired",e.expired))},directives:[j.a],styles:["#reset-password[_ngcontent-%COMP%] #resume[_ngcontent-%COMP%]{padding-bottom:1.25em}#reset-password[_ngcontent-%COMP%] .mat-form-field[_ngcontent-%COMP%]{width:220px}"]}),t})(),z=(()=>{class t{}return t.\u0275mod=l.Lb({type:t}),t.\u0275inj=l.Kb({factory:function(e){return new(e||t)},imports:[[r.j.forChild([{path:"login",component:Y},{path:"password/forgot",component:k,resolve:{configurationData:o.a}},{path:"password/reset/:token",component:F,data:{mode:"reset"}},{path:"password/activation/:token",component:F,data:{mode:"creation"}}])],r.j]}),t})();var V=n("PCNd");let B=(()=>{class t{}return t.\u0275mod=l.Lb({type:t}),t.\u0275inj=l.Kb({factory:function(e){return new(e||t)},providers:[T.a,{provide:a.c,useClass:h.a}],imports:[[i.c,V.a,z]]}),t})()},lJxs:function(t,e,n){"use strict";n.d(e,"a",function(){return a});var i=n("7o/Q");function a(t,e){return function(n){if("function"!=typeof t)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new r(t,e))}}class r{constructor(t,e){this.project=t,this.thisArg=e}call(t,e){return e.subscribe(new o(t,this.project,this.thisArg))}}class o extends i.a{constructor(t,e,n){super(t),this.project=e,this.count=0,this.thisArg=n||this}_next(t){let e;try{e=this.project.call(this.thisArg,t,this.count++)}catch(n){return void this.destination.error(n)}this.destination.next(e)}}},lXzo:function(t,e,n){!function(t){"use strict";function e(t,e,n){return"m"===n?e?"\u043c\u0438\u043d\u0443\u0442\u0430":"\u043c\u0438\u043d\u0443\u0442\u0443":t+" "+(i=+t,a={ss:e?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434",mm:e?"\u043c\u0438\u043d\u0443\u0442\u0430_\u043c\u0438\u043d\u0443\u0442\u044b_\u043c\u0438\u043d\u0443\u0442":"\u043c\u0438\u043d\u0443\u0442\u0443_\u043c\u0438\u043d\u0443\u0442\u044b_\u043c\u0438\u043d\u0443\u0442",hh:"\u0447\u0430\u0441_\u0447\u0430\u0441\u0430_\u0447\u0430\u0441\u043e\u0432",dd:"\u0434\u0435\u043d\u044c_\u0434\u043d\u044f_\u0434\u043d\u0435\u0439",ww:"\u043d\u0435\u0434\u0435\u043b\u044f_\u043d\u0435\u0434\u0435\u043b\u0438_\u043d\u0435\u0434\u0435\u043b\u044c",MM:"\u043c\u0435\u0441\u044f\u0446_\u043c\u0435\u0441\u044f\u0446\u0430_\u043c\u0435\u0441\u044f\u0446\u0435\u0432",yy:"\u0433\u043e\u0434_\u0433\u043e\u0434\u0430_\u043b\u0435\u0442"}[n].split("_"),i%10==1&&i%100!=11?a[0]:i%10>=2&&i%10<=4&&(i%100<10||i%100>=20)?a[1]:a[2]);var i,a}var n=[/^\u044f\u043d\u0432/i,/^\u0444\u0435\u0432/i,/^\u043c\u0430\u0440/i,/^\u0430\u043f\u0440/i,/^\u043c\u0430[\u0439\u044f]/i,/^\u0438\u044e\u043d/i,/^\u0438\u044e\u043b/i,/^\u0430\u0432\u0433/i,/^\u0441\u0435\u043d/i,/^\u043e\u043a\u0442/i,/^\u043d\u043e\u044f/i,/^\u0434\u0435\u043a/i];t.defineLocale("ru",{months:{format:"\u044f\u043d\u0432\u0430\u0440\u044f_\u0444\u0435\u0432\u0440\u0430\u043b\u044f_\u043c\u0430\u0440\u0442\u0430_\u0430\u043f\u0440\u0435\u043b\u044f_\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433\u0443\u0441\u0442\u0430_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044f_\u043e\u043a\u0442\u044f\u0431\u0440\u044f_\u043d\u043e\u044f\u0431\u0440\u044f_\u0434\u0435\u043a\u0430\u0431\u0440\u044f".split("_"),standalone:"\u044f\u043d\u0432\u0430\u0440\u044c_\u0444\u0435\u0432\u0440\u0430\u043b\u044c_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b\u044c_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c_\u043e\u043a\u0442\u044f\u0431\u0440\u044c_\u043d\u043e\u044f\u0431\u0440\u044c_\u0434\u0435\u043a\u0430\u0431\u0440\u044c".split("_")},monthsShort:{format:"\u044f\u043d\u0432._\u0444\u0435\u0432\u0440._\u043c\u0430\u0440._\u0430\u043f\u0440._\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433._\u0441\u0435\u043d\u0442._\u043e\u043a\u0442._\u043d\u043e\u044f\u0431._\u0434\u0435\u043a.".split("_"),standalone:"\u044f\u043d\u0432._\u0444\u0435\u0432\u0440._\u043c\u0430\u0440\u0442_\u0430\u043f\u0440._\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433._\u0441\u0435\u043d\u0442._\u043e\u043a\u0442._\u043d\u043e\u044f\u0431._\u0434\u0435\u043a.".split("_")},weekdays:{standalone:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0430_\u0441\u0443\u0431\u0431\u043e\u0442\u0430".split("_"),format:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0443_\u0441\u0443\u0431\u0431\u043e\u0442\u0443".split("_"),isFormat:/\[ ?[\u0412\u0432] ?(?:\u043f\u0440\u043e\u0448\u043b\u0443\u044e|\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e|\u044d\u0442\u0443)? ?] ?dddd/},weekdaysShort:"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),monthsParse:n,longMonthsParse:n,shortMonthsParse:n,monthsRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044c\u044f]|\u044f\u043d\u0432\.?|\u0444\u0435\u0432\u0440\u0430\u043b[\u044c\u044f]|\u0444\u0435\u0432\u0440?\.?|\u043c\u0430\u0440\u0442\u0430?|\u043c\u0430\u0440\.?|\u0430\u043f\u0440\u0435\u043b[\u044c\u044f]|\u0430\u043f\u0440\.?|\u043c\u0430[\u0439\u044f]|\u0438\u044e\u043d[\u044c\u044f]|\u0438\u044e\u043d\.?|\u0438\u044e\u043b[\u044c\u044f]|\u0438\u044e\u043b\.?|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0430\u0432\u0433\.?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044c\u044f]|\u0441\u0435\u043d\u0442?\.?|\u043e\u043a\u0442\u044f\u0431\u0440[\u044c\u044f]|\u043e\u043a\u0442\.?|\u043d\u043e\u044f\u0431\u0440[\u044c\u044f]|\u043d\u043e\u044f\u0431?\.?|\u0434\u0435\u043a\u0430\u0431\u0440[\u044c\u044f]|\u0434\u0435\u043a\.?)/i,monthsShortRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044c\u044f]|\u044f\u043d\u0432\.?|\u0444\u0435\u0432\u0440\u0430\u043b[\u044c\u044f]|\u0444\u0435\u0432\u0440?\.?|\u043c\u0430\u0440\u0442\u0430?|\u043c\u0430\u0440\.?|\u0430\u043f\u0440\u0435\u043b[\u044c\u044f]|\u0430\u043f\u0440\.?|\u043c\u0430[\u0439\u044f]|\u0438\u044e\u043d[\u044c\u044f]|\u0438\u044e\u043d\.?|\u0438\u044e\u043b[\u044c\u044f]|\u0438\u044e\u043b\.?|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0430\u0432\u0433\.?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044c\u044f]|\u0441\u0435\u043d\u0442?\.?|\u043e\u043a\u0442\u044f\u0431\u0440[\u044c\u044f]|\u043e\u043a\u0442\.?|\u043d\u043e\u044f\u0431\u0440[\u044c\u044f]|\u043d\u043e\u044f\u0431?\.?|\u0434\u0435\u043a\u0430\u0431\u0440[\u044c\u044f]|\u0434\u0435\u043a\.?)/i,monthsStrictRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044f\u044c]|\u0444\u0435\u0432\u0440\u0430\u043b[\u044f\u044c]|\u043c\u0430\u0440\u0442\u0430?|\u0430\u043f\u0440\u0435\u043b[\u044f\u044c]|\u043c\u0430[\u044f\u0439]|\u0438\u044e\u043d[\u044f\u044c]|\u0438\u044e\u043b[\u044f\u044c]|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044f\u044c]|\u043e\u043a\u0442\u044f\u0431\u0440[\u044f\u044c]|\u043d\u043e\u044f\u0431\u0440[\u044f\u044c]|\u0434\u0435\u043a\u0430\u0431\u0440[\u044f\u044c])/i,monthsShortStrictRegex:/^(\u044f\u043d\u0432\.|\u0444\u0435\u0432\u0440?\.|\u043c\u0430\u0440[\u0442.]|\u0430\u043f\u0440\.|\u043c\u0430[\u044f\u0439]|\u0438\u044e\u043d[\u044c\u044f.]|\u0438\u044e\u043b[\u044c\u044f.]|\u0430\u0432\u0433\.|\u0441\u0435\u043d\u0442?\.|\u043e\u043a\u0442\.|\u043d\u043e\u044f\u0431?\.|\u0434\u0435\u043a\.)/i,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., H:mm",LLLL:"dddd, D MMMM YYYY \u0433., H:mm"},calendar:{sameDay:"[\u0421\u0435\u0433\u043e\u0434\u043d\u044f, \u0432] LT",nextDay:"[\u0417\u0430\u0432\u0442\u0440\u0430, \u0432] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430, \u0432] LT",nextWeek:function(t){if(t.week()===this.week())return 2===this.day()?"[\u0412\u043e] dddd, [\u0432] LT":"[\u0412] dddd, [\u0432] LT";switch(this.day()){case 0:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435] dddd, [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439] dddd, [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e] dddd, [\u0432] LT"}},lastWeek:function(t){if(t.week()===this.week())return 2===this.day()?"[\u0412\u043e] dddd, [\u0432] LT":"[\u0412] dddd, [\u0432] LT";switch(this.day()){case 0:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u043e\u0435] dddd, [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u044b\u0439] dddd, [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u0443\u044e] dddd, [\u0432] LT"}},sameElse:"L"},relativeTime:{future:"\u0447\u0435\u0440\u0435\u0437 %s",past:"%s \u043d\u0430\u0437\u0430\u0434",s:"\u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434",ss:e,m:e,mm:e,h:"\u0447\u0430\u0441",hh:e,d:"\u0434\u0435\u043d\u044c",dd:e,w:"\u043d\u0435\u0434\u0435\u043b\u044f",ww:e,M:"\u043c\u0435\u0441\u044f\u0446",MM:e,y:"\u0433\u043e\u0434",yy:e},meridiemParse:/\u043d\u043e\u0447\u0438|\u0443\u0442\u0440\u0430|\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430/i,isPM:function(t){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430)$/.test(t)},meridiem:function(t,e,n){return t<4?"\u043d\u043e\u0447\u0438":t<12?"\u0443\u0442\u0440\u0430":t<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0435\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e|\u044f)/,ordinal:function(t,e){switch(e){case"M":case"d":case"DDD":return t+"-\u0439";case"D":return t+"-\u0433\u043e";case"w":case"W":return t+"-\u044f";default:return t}},week:{dow:1,doy:4}})}(n("wd/R"))},lYtQ:function(t,e,n){!function(t){"use strict";function e(t,e,n,i){switch(n){case"s":return e?"\u0445\u044d\u0434\u0445\u044d\u043d \u0441\u0435\u043a\u0443\u043d\u0434":"\u0445\u044d\u0434\u0445\u044d\u043d \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d";case"ss":return t+(e?" \u0441\u0435\u043a\u0443\u043d\u0434":" \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d");case"m":case"mm":return t+(e?" \u043c\u0438\u043d\u0443\u0442":" \u043c\u0438\u043d\u0443\u0442\u044b\u043d");case"h":case"hh":return t+(e?" \u0446\u0430\u0433":" \u0446\u0430\u0433\u0438\u0439\u043d");case"d":case"dd":return t+(e?" \u04e9\u0434\u04e9\u0440":" \u04e9\u0434\u0440\u0438\u0439\u043d");case"M":case"MM":return t+(e?" \u0441\u0430\u0440":" \u0441\u0430\u0440\u044b\u043d");case"y":case"yy":return t+(e?" \u0436\u0438\u043b":" \u0436\u0438\u043b\u0438\u0439\u043d");default:return t}}t.defineLocale("mn",{months:"\u041d\u044d\u0433\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0425\u043e\u0451\u0440\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0413\u0443\u0440\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0414\u04e9\u0440\u04e9\u0432\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0422\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0417\u0443\u0440\u0433\u0430\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0414\u043e\u043b\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u041d\u0430\u0439\u043c\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0415\u0441\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0410\u0440\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0410\u0440\u0432\u0430\u043d \u043d\u044d\u0433\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0410\u0440\u0432\u0430\u043d \u0445\u043e\u0451\u0440\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440".split("_"),monthsShort:"1 \u0441\u0430\u0440_2 \u0441\u0430\u0440_3 \u0441\u0430\u0440_4 \u0441\u0430\u0440_5 \u0441\u0430\u0440_6 \u0441\u0430\u0440_7 \u0441\u0430\u0440_8 \u0441\u0430\u0440_9 \u0441\u0430\u0440_10 \u0441\u0430\u0440_11 \u0441\u0430\u0440_12 \u0441\u0430\u0440".split("_"),monthsParseExact:!0,weekdays:"\u041d\u044f\u043c_\u0414\u0430\u0432\u0430\u0430_\u041c\u044f\u0433\u043c\u0430\u0440_\u041b\u0445\u0430\u0433\u0432\u0430_\u041f\u04af\u0440\u044d\u0432_\u0411\u0430\u0430\u0441\u0430\u043d_\u0411\u044f\u043c\u0431\u0430".split("_"),weekdaysShort:"\u041d\u044f\u043c_\u0414\u0430\u0432_\u041c\u044f\u0433_\u041b\u0445\u0430_\u041f\u04af\u0440_\u0411\u0430\u0430_\u0411\u044f\u043c".split("_"),weekdaysMin:"\u041d\u044f_\u0414\u0430_\u041c\u044f_\u041b\u0445_\u041f\u04af_\u0411\u0430_\u0411\u044f".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY \u043e\u043d\u044b MMMM\u044b\u043d D",LLL:"YYYY \u043e\u043d\u044b MMMM\u044b\u043d D HH:mm",LLLL:"dddd, YYYY \u043e\u043d\u044b MMMM\u044b\u043d D HH:mm"},meridiemParse:/\u04ae\u04e8|\u04ae\u0425/i,isPM:function(t){return"\u04ae\u0425"===t},meridiem:function(t,e,n){return t<12?"\u04ae\u04e8":"\u04ae\u0425"},calendar:{sameDay:"[\u04e8\u043d\u04e9\u04e9\u0434\u04e9\u0440] LT",nextDay:"[\u041c\u0430\u0440\u0433\u0430\u0430\u0448] LT",nextWeek:"[\u0418\u0440\u044d\u0445] dddd LT",lastDay:"[\u04e8\u0447\u0438\u0433\u0434\u04e9\u0440] LT",lastWeek:"[\u04e8\u043d\u0433\u04e9\u0440\u0441\u04e9\u043d] dddd LT",sameElse:"L"},relativeTime:{future:"%s \u0434\u0430\u0440\u0430\u0430",past:"%s \u04e9\u043c\u043d\u04e9",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2} \u04e9\u0434\u04e9\u0440/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+" \u04e9\u0434\u04e9\u0440";default:return t}}})}(n("wd/R"))},lawv:function(t,e,n){"use strict";n.d(e,"a",function(){return o}),n.d(e,"b",function(){return d}),n.d(e,"c",function(){return c});var i=n("8Y7J"),a=n("wd/R");const r=a;let o=(()=>{class t{transform(t,...e){return t?r(t).format(e[0]):""}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=i.Mb({name:"amDateFormat",type:t,pure:!0}),t})();const s=new i.s("NGX_MOMENT_OPTIONS"),l=a;let c=(()=>{class t{transform(t,e){return l(t,e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=i.Mb({name:"amParse",type:t,pure:!0}),t})(),d=(()=>{class t{static forRoot(e){return{ngModule:t,providers:[{provide:s,useValue:Object.assign({},e)}]}}}return t.\u0275mod=i.Lb({type:t}),t.\u0275inj=i.Kb({factory:function(e){return new(e||t)}}),t})()},lgnt:function(t,e,n){!function(t){"use strict";var e={0:"-\u0447\u04af",1:"-\u0447\u0438",2:"-\u0447\u0438",3:"-\u0447\u04af",4:"-\u0447\u04af",5:"-\u0447\u0438",6:"-\u0447\u044b",7:"-\u0447\u0438",8:"-\u0447\u0438",9:"-\u0447\u0443",10:"-\u0447\u0443",20:"-\u0447\u044b",30:"-\u0447\u0443",40:"-\u0447\u044b",50:"-\u0447\u04af",60:"-\u0447\u044b",70:"-\u0447\u0438",80:"-\u0447\u0438",90:"-\u0447\u0443",100:"-\u0447\u04af"};t.defineLocale("ky",{months:"\u044f\u043d\u0432\u0430\u0440\u044c_\u0444\u0435\u0432\u0440\u0430\u043b\u044c_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b\u044c_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c_\u043e\u043a\u0442\u044f\u0431\u0440\u044c_\u043d\u043e\u044f\u0431\u0440\u044c_\u0434\u0435\u043a\u0430\u0431\u0440\u044c".split("_"),monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u0416\u0435\u043a\u0448\u0435\u043c\u0431\u0438_\u0414\u04af\u0439\u0448\u04e9\u043c\u0431\u04af_\u0428\u0435\u0439\u0448\u0435\u043c\u0431\u0438_\u0428\u0430\u0440\u0448\u0435\u043c\u0431\u0438_\u0411\u0435\u0439\u0448\u0435\u043c\u0431\u0438_\u0416\u0443\u043c\u0430_\u0418\u0448\u0435\u043c\u0431\u0438".split("_"),weekdaysShort:"\u0416\u0435\u043a_\u0414\u04af\u0439_\u0428\u0435\u0439_\u0428\u0430\u0440_\u0411\u0435\u0439_\u0416\u0443\u043c_\u0418\u0448\u0435".split("_"),weekdaysMin:"\u0416\u043a_\u0414\u0439_\u0428\u0439_\u0428\u0440_\u0411\u0439_\u0416\u043c_\u0418\u0448".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0411\u04af\u0433\u04af\u043d \u0441\u0430\u0430\u0442] LT",nextDay:"[\u042d\u0440\u0442\u0435\u04a3 \u0441\u0430\u0430\u0442] LT",nextWeek:"dddd [\u0441\u0430\u0430\u0442] LT",lastDay:"[\u041a\u0435\u0447\u044d\u044d \u0441\u0430\u0430\u0442] LT",lastWeek:"[\u04e8\u0442\u043a\u04e9\u043d \u0430\u043f\u0442\u0430\u043d\u044b\u043d] dddd [\u043a\u04af\u043d\u04af] [\u0441\u0430\u0430\u0442] LT",sameElse:"L"},relativeTime:{future:"%s \u0438\u0447\u0438\u043d\u0434\u0435",past:"%s \u043c\u0443\u0440\u0443\u043d",s:"\u0431\u0438\u0440\u043d\u0435\u0447\u0435 \u0441\u0435\u043a\u0443\u043d\u0434",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434",m:"\u0431\u0438\u0440 \u043c\u04af\u043d\u04e9\u0442",mm:"%d \u043c\u04af\u043d\u04e9\u0442",h:"\u0431\u0438\u0440 \u0441\u0430\u0430\u0442",hh:"%d \u0441\u0430\u0430\u0442",d:"\u0431\u0438\u0440 \u043a\u04af\u043d",dd:"%d \u043a\u04af\u043d",M:"\u0431\u0438\u0440 \u0430\u0439",MM:"%d \u0430\u0439",y:"\u0431\u0438\u0440 \u0436\u044b\u043b",yy:"%d \u0436\u044b\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0447\u0438|\u0447\u044b|\u0447\u04af|\u0447\u0443)/,ordinal:function(t){return t+(e[t]||e[t%10]||e[t>=100?100:null])},week:{dow:1,doy:7}})}(n("wd/R"))},loYQ:function(t,e,n){!function(t){"use strict";var e={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},n={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"};t.defineLocale("bn-bd",{months:"\u099c\u09be\u09a8\u09c1\u09df\u09be\u09b0\u09bf_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1\u09df\u09be\u09b0\u09bf_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f\u09c7\u09ae\u09cd\u09ac\u09b0_\u0985\u0995\u09cd\u099f\u09cb\u09ac\u09b0_\u09a8\u09ad\u09c7\u09ae\u09cd\u09ac\u09b0_\u09a1\u09bf\u09b8\u09c7\u09ae\u09cd\u09ac\u09b0".split("_"),monthsShort:"\u099c\u09be\u09a8\u09c1_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f_\u0985\u0995\u09cd\u099f\u09cb_\u09a8\u09ad\u09c7_\u09a1\u09bf\u09b8\u09c7".split("_"),weekdays:"\u09b0\u09ac\u09bf\u09ac\u09be\u09b0_\u09b8\u09cb\u09ae\u09ac\u09be\u09b0_\u09ae\u0999\u09cd\u0997\u09b2\u09ac\u09be\u09b0_\u09ac\u09c1\u09a7\u09ac\u09be\u09b0_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf\u09ac\u09be\u09b0_\u09b6\u09c1\u0995\u09cd\u09b0\u09ac\u09be\u09b0_\u09b6\u09a8\u09bf\u09ac\u09be\u09b0".split("_"),weekdaysShort:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),weekdaysMin:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),longDateFormat:{LT:"A h:mm \u09b8\u09ae\u09df",LTS:"A h:mm:ss \u09b8\u09ae\u09df",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u09b8\u09ae\u09df",LLLL:"dddd, D MMMM YYYY, A h:mm \u09b8\u09ae\u09df"},calendar:{sameDay:"[\u0986\u099c] LT",nextDay:"[\u0986\u0997\u09be\u09ae\u09c0\u0995\u09be\u09b2] LT",nextWeek:"dddd, LT",lastDay:"[\u0997\u09a4\u0995\u09be\u09b2] LT",lastWeek:"[\u0997\u09a4] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u09aa\u09b0\u09c7",past:"%s \u0986\u0997\u09c7",s:"\u0995\u09df\u09c7\u0995 \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",ss:"%d \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",m:"\u098f\u0995 \u09ae\u09bf\u09a8\u09bf\u099f",mm:"%d \u09ae\u09bf\u09a8\u09bf\u099f",h:"\u098f\u0995 \u0998\u09a8\u09cd\u099f\u09be",hh:"%d \u0998\u09a8\u09cd\u099f\u09be",d:"\u098f\u0995 \u09a6\u09bf\u09a8",dd:"%d \u09a6\u09bf\u09a8",M:"\u098f\u0995 \u09ae\u09be\u09b8",MM:"%d \u09ae\u09be\u09b8",y:"\u098f\u0995 \u09ac\u099b\u09b0",yy:"%d \u09ac\u099b\u09b0"},preparse:function(t){return t.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,function(t){return n[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},meridiemParse:/\u09b0\u09be\u09a4|\u09ad\u09cb\u09b0|\u09b8\u0995\u09be\u09b2|\u09a6\u09c1\u09aa\u09c1\u09b0|\u09ac\u09bf\u0995\u09be\u09b2|\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be|\u09b0\u09be\u09a4/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u09b0\u09be\u09a4"===e?t<4?t:t+12:"\u09ad\u09cb\u09b0"===e||"\u09b8\u0995\u09be\u09b2"===e?t:"\u09a6\u09c1\u09aa\u09c1\u09b0"===e?t>=3?t:t+12:"\u09ac\u09bf\u0995\u09be\u09b2"===e||"\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"\u09b0\u09be\u09a4":t<6?"\u09ad\u09cb\u09b0":t<12?"\u09b8\u0995\u09be\u09b2":t<15?"\u09a6\u09c1\u09aa\u09c1\u09b0":t<18?"\u09ac\u09bf\u0995\u09be\u09b2":t<20?"\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(n("wd/R"))},lxpx:function(t,e,n){"use strict";n.d(e,"a",function(){return c});var i=n("z6cu"),a=n("lJxs"),r=n("JIr8"),o=n("8Y7J"),s=n("cv7C"),l=n("TSSN");let c=(()=>{class t{constructor(t,e){this.langueService=t,this.translateService=e,this.langueList=[]}init(){return this.langueService.getLangues().pipe(Object(a.a)(t=>{this.addLangues(t),this.translateService.setDefaultLang(t.find(t=>t.defaut).code),this.use(localStorage.getItem("lang"))}),Object(r.a)(t=>Object(i.a)(t)))}addLangues(t){this.translateService.addLangs(t.map(t=>t.code)),this.langueList=t}getCurrentLangueLabel(){return this.getLangueLabel(this.translateService.currentLang)}getLangueLabel(t){if(this.langueList.length>0){const e=this.langueList.find(e=>e.code===t);return e?e.nom:""}return""}instant(t,e){return this.translateService.instant(t,e)}use(t){if(t&&this.translateService.currentLang!==t)return localStorage.setItem("lang",t),this.translateService.use(t)}getLangs(){return this.translateService.getLangs()}}return t.\u0275fac=function(e){return new(e||t)(o.Xb(s.a),o.Xb(l.d))},t.\u0275prov=o.Jb({token:t,factory:t.\u0275fac,providedIn:"root"}),t})()},lyxo:function(t,e,n){!function(t){"use strict";function e(t,e,n){var i=" ";return(t%100>=20||t>=100&&t%100==0)&&(i=" de "),t+i+{ss:"secunde",mm:"minute",hh:"ore",dd:"zile",ww:"s\u0103pt\u0103m\xe2ni",MM:"luni",yy:"ani"}[n]}t.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._feb._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminic\u0103_luni_mar\u021bi_miercuri_joi_vineri_s\xe2mb\u0103t\u0103".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_S\xe2m".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_S\xe2".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[m\xe2ine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s \xeen urm\u0103",s:"c\xe2teva secunde",ss:e,m:"un minut",mm:e,h:"o or\u0103",hh:e,d:"o zi",dd:e,w:"o s\u0103pt\u0103m\xe2n\u0103",ww:e,M:"o lun\u0103",MM:e,y:"un an",yy:e},week:{dow:1,doy:7}})}(n("wd/R"))},mFvv:function(t,e,n){"use strict";n.d(e,"a",function(){return z});var i=n("iInd"),a=n("cXaA"),r=n("EY2u"),o=n("pLZG"),s=n("nYR2"),l=n("JIr8"),c=n("JRaP"),d=n("IGtN"),u=n("hGT6"),h=n("PTv7"),m=n("Q9JA"),p=n("Gnk8"),f=n("92Zs"),g=n("8Y7J"),b=n("zaPX"),_=n("TSSN"),y=n("GH2U"),v=n("iELJ"),C=n("jKJn"),w=n("SqCe"),x=n("Tj54"),M=n("BSbQ"),O=n("SVse"),k=n("Dxy4"),S=n("ZFy/"),T=n("pu8Q");const P=function(t){return[t]},L=function(t){return{onglet:t}},D=function(t){return{outlets:t}};function E(t,e){if(1&t&&(g.Tb(0,"mat-list-item",14),g.Tb(1,"mat-icon",15),g.Hc(2),g.Sb(),g.Hc(3),g.gc(4,"translate"),g.Sb()),2&t){const t=g.fc();let e=null;g.nc("routerLink",g.sc(12,P,g.sc(10,D,g.sc(8,L,g.sc(6,P,t.TabOutletName.CLIENT))))),g.Cb(1),g.nc("color",null==(e=t.getIcon(t.TabOutletName.CLIENT))?null:e.color),g.Cb(1),g.Ic(t.getIcon(t.TabOutletName.CLIENT).name),g.Cb(1),g.Jc(" ",g.hc(4,4,"dpd.client.modele.onglet")," ")}}function A(t,e){if(1&t&&(g.Tb(0,"div"),g.Tb(1,"mat-list-item",16),g.Tb(2,"mat-icon",17),g.Hc(3),g.Sb(),g.Hc(4),g.gc(5,"translate"),g.Sb(),g.Ob(6,"mat-divider"),g.Tb(7,"mat-list-item",18),g.Tb(8,"mat-icon",19),g.Hc(9),g.Sb(),g.Hc(10),g.gc(11,"translate"),g.Sb(),g.Ob(12,"mat-divider"),g.Sb()),2&t){const t=g.fc();let e=null,n=null;g.Cb(1),g.nc("routerLink",g.sc(18,P,g.sc(16,D,g.sc(14,L,g.sc(12,P,t.TabOutletName.LOCATION))))),g.Cb(1),g.nc("color",null==(e=t.getIcon(t.TabOutletName.LOCATION))?null:e.color),g.Cb(1),g.Ic(t.getIcon(t.TabOutletName.LOCATION).name),g.Cb(1),g.Jc(" ",g.hc(5,8,"dpd.menu.prestation.lieu")," "),g.Cb(3),g.nc("routerLink",g.sc(26,P,g.sc(24,D,g.sc(22,L,g.sc(20,P,t.TabOutletName.PRESTATION))))),g.Cb(1),g.nc("color",null==(n=t.getIcon(t.TabOutletName.PRESTATION))?null:n.color),g.Cb(1),g.Ic(t.getIcon(t.TabOutletName.PRESTATION).name),g.Cb(1),g.Jc(" ",g.hc(11,10,"dpd.menu.prestation.info")," ")}}function I(t,e){if(1&t&&(g.Tb(0,"mat-list-item",20),g.Tb(1,"mat-icon",21),g.Hc(2),g.Sb(),g.Hc(3),g.gc(4,"translate"),g.Sb()),2&t){const t=g.fc();let e=null;g.nc("routerLink",g.sc(12,P,g.sc(10,D,g.sc(8,L,g.sc(6,P,t.TabOutletName.SINGLE_WORKER))))),g.Cb(1),g.nc("color",null==(e=t.getIcon(t.TabOutletName.SINGLE_WORKER))?null:e.color),g.Cb(1),g.Ic(t.getIcon(t.TabOutletName.SINGLE_WORKER).name),g.Cb(1),g.Jc(" ",g.hc(4,4,"dpd.menu.salarie")," ")}}function R(t,e){if(1&t&&(g.Tb(0,"mat-list-item",20),g.Tb(1,"mat-icon",22),g.Hc(2),g.Sb(),g.Hc(3),g.gc(4,"translate"),g.Sb()),2&t){const t=g.fc();let e=null;g.nc("routerLink",g.sc(12,P,g.sc(10,D,g.sc(8,L,g.sc(6,P,t.TabOutletName.WORKERS))))),g.Cb(1),g.nc("color",null==(e=t.getIcon(t.TabOutletName.WORKERS))?null:e.color),g.Cb(1),g.Ic(t.getIcon(t.TabOutletName.WORKERS).name),g.Cb(1),g.Jc(" ",g.hc(4,4,"dpd.menu.salaries")," ")}}function N(t,e){if(1&t&&(g.Tb(0,"div"),g.Ob(1,"mat-divider"),g.Tb(2,"mat-list-item",23),g.Tb(3,"mat-icon",24),g.Hc(4),g.Sb(),g.Hc(5),g.gc(6,"translate"),g.Sb(),g.Sb()),2&t){const t=g.fc();let e=null;g.Cb(2),g.nc("routerLink",g.sc(12,P,g.sc(10,D,g.sc(8,L,g.sc(6,P,t.TabOutletName.REPRESENTATIVE))))),g.Cb(1),g.nc("color",null==(e=t.getIcon(t.TabOutletName.REPRESENTATIVE))?null:e.color),g.Cb(1),g.Ic(t.getIcon(t.TabOutletName.REPRESENTATIVE).name),g.Cb(1),g.Jc(" ",g.hc(6,4,"dpd.menu.representant")," ")}}function Y(t,e){if(1&t){const t=g.Ub();g.Tb(0,"button",25),g.bc("click",function(){return g.yc(t),g.fc().onSaveDPD()}),g.gc(1,"translate"),g.Tb(2,"mat-icon"),g.Hc(3,"save"),g.Sb(),g.Sb()}if(2&t){const t=g.fc();g.nc("disabled",t.isSaving||t.isTransmitting)("matTooltip",g.hc(1,2,"dpd.enregistrer"))}}function H(t,e){1&t&&g.Ob(0,"mat-spinner",26),2&t&&g.nc("diameter",24)}function j(t,e){1&t&&(g.Tb(0,"mat-icon"),g.Hc(1,"check"),g.Sb())}function F(t,e){if(1&t&&g.Fc(0,j,2,0,"mat-icon",4),2&t){const t=g.fc();g.nc("ngIf",!t.isTransmitting)}}let z=(()=>{class t extends d.a{constructor(t,e,n,i,a,r,o){super(i),this.route=t,this.router=e,this.configSharedService=n,this.translateService=i,this.declarationService=a,this.dialog=r,this.alertService=o,this.ModeOpenDeclaration=c.a,this.TabOutletName=p.a}get isDPDFormInvalid(){return 4===this.numeroModele?!(this.isForeignCompanyValid&&this.isFraisValid&&this.isSingleWorkerValid&&this.isRepresentativeValid):!(this.isForeignCompanyValid&&this.isClientValid&&this.isLocationValid&&this.isPrestationValid&&this.isFraisValid&&this.isWorkersValid&&this.isRepresentativeValid)}get allTouched(){return 4===this.numeroModele?this.hasForeignCompanyBeenTouched&&this.hasFraisBeenTouched&&this.hasSingleWorkerBeenTouched&&this.hasRepresentativeBeenTouched:7===this.numeroModele?this.hasForeignCompanyBeenTouched&&this.hasClientBeenTouched&&this.hasLocationBeenTouched&&this.hasPrestationBeenTouched&&this.hasFraisBeenTouched&&this.hasWorkersBeenTouched:this.hasForeignCompanyBeenTouched&&this.hasClientBeenTouched&&this.hasLocationBeenTouched&&this.hasPrestationBeenTouched&&this.hasFraisBeenTouched&&this.hasWorkersBeenTouched&&this.hasRepresentativeBeenTouched}load(){this.numeroModele=this.configSharedService.numeroModele,this.configSharedService.setPreventLeave(!0),this.route.snapshot.firstChild?this.setTouchedTab(this.route.snapshot.firstChild.url[0].path):this.router.navigate([{outlets:{onglet:[p.a.FOREIGN_COMPANY]}}],{relativeTo:this.route}),this.mode=this.configSharedService.mode,this.initValidVariables(),this.subscriptions.push(this.foreignCompanyFg.statusChanges.subscribe(t=>this.isForeignCompanyValid="VALID"===t),this.fraisFg.statusChanges.subscribe(t=>this.isFraisValid="VALID"===t),this.representativeFg.statusChanges.subscribe(t=>this.isRepresentativeValid="VALID"===t),this.router.events.pipe(Object(o.a)(t=>t instanceof i.c)).subscribe(t=>{this.setTouchedTab(this.route.snapshot.firstChild.url[0].path)})),4===this.numeroModele?this.subscriptions.push(this.singleWorkerFg.statusChanges.subscribe(t=>this.isSingleWorkerValid="VALID"===t)):this.subscriptions.push(this.clientFg.statusChanges.subscribe(t=>this.isClientValid="VALID"===t),this.locationsFg.statusChanges.subscribe(t=>this.isLocationValid="VALID"===t),this.prestationFg.statusChanges.subscribe(t=>this.isPrestationValid="VALID"===t),this.workersFg.statusChanges.subscribe(t=>{this.isWorkersValid="VALID"===t||"DISABLED"===t}))}back(){this.router.navigate(this.mode===c.a.CREATE?["/home"]:this.mode===c.a.UPDATE?["/dpd/non-transmise"]:["/dpd/transmise"])}getIcon(t){let e;switch(t){case p.a.FOREIGN_COMPANY:e=this.getIconName(this.hasForeignCompanyBeenTouched,this.isForeignCompanyValid);break;case p.a.CLIENT:e=this.getIconName(this.hasClientBeenTouched,this.isClientValid);break;case p.a.LOCATION:e=this.getIconName(this.hasLocationBeenTouched,this.isLocationValid);break;case p.a.PRESTATION:e=this.getIconName(this.hasPrestationBeenTouched,this.isPrestationValid);break;case p.a.FRAIS:e=this.getIconName(this.hasFraisBeenTouched,this.isFraisValid);break;case p.a.SINGLE_WORKER:e=this.getIconName(this.hasSingleWorkerBeenTouched,this.isSingleWorkerValid);break;case p.a.WORKERS:e=this.getIconName(this.hasWorkersBeenTouched,this.isWorkersValid);break;case p.a.REPRESENTATIVE:e=this.getIconName(this.hasRepresentativeBeenTouched,this.isRepresentativeValid)}return e}onSaveDPD(){const t=this.dialog.open(m.a,{data:{message:"dpd.save.enCours"}});this.isSaving=!0,this.subscriptions.push(this.saveDPD$(this.mapDpdToSave()).subscribe(e=>{this.alertService.notifyByKey("dpd.save"),t.close(),this.configSharedService.setPreventLeave(!1),this.router.navigate([`/dpd/edit/${e.code}`])}))}onTransmitDPD(){window.scrollTo(0,0),this.dialog.open(h.a,{data:{title:this.translateService.instant("dpd.transmis.confirm.titre"),question:this.translateService.instant("dpd.transmis.confirm.message"),okButtonText:this.translateService.instant("common.oui"),cancelButtonText:this.translateService.instant("common.non"),hasCaptcha:!0},id:"dpd-confirm"}).afterClosed().subscribe(t=>{!1!==t&&(this.transmitDialog=this.dialog.open(m.a,{data:{message:"dpd.trasmission.enCours"}}),this.isTransmitting=!0,this.configSharedService.mode===c.a.COMPLETION?this.transmitDPD$(this.mapDpdToSave(),t).subscribe(()=>{this.alertService.notifyByKey("dpd.transmis"),this.configSharedService.setPreventLeave(!1),this.router.navigate(["dpd/transmise"])}):this.saveDPD$(this.mapDpdToSave()).subscribe(e=>this.transmitDPD$(e,t).subscribe(()=>{this.alertService.notifyByKey("dpd.transmis"),this.configSharedService.setPreventLeave(!1),this.router.navigate(["dpd/transmise"])})))})}mapDpdToSave(){const e=this.configSharedService.dpd;try{const t=f.a.mapDpd(this.configSharedService.form,this.configSharedService.numeroModele);return t.id=e.id,t.code=e.code,t.etat=e.etat,t.dateEtat=e.dateEtat,t.version=e.version,t.typeDeclarant=e.typeDeclarant,t.raisonSocialeDeclarant=e.raisonSocialeDeclarant,t.numeroModele=this.numeroModele,t}catch(n){this.isTransmitting=!1,this.transmitDialog.close(),this.alertService.notifyByKey("dpd.transmis.error"),t._log.error("Mapping error:",n)}}saveDPD$(t){return this.declarationService.saveDeclaration(t).pipe(Object(s.a)(()=>this.isSaving=!1))}transmitDPD$(t,e){const n=()=>{this.isTransmitting=!1,this.transmitDialog.close()},i=t=>{if(400===t.status){let e=this.translateService.instant("dpd.transmis.error")+"<br />";t.error.errors?t.error.errors.forEach(t=>e+="<br />"+t):t.error.message&&(e+="<br />"+t.error.message),this.alertService.notifyWithTimeout(e,3e4)}else this.alertService.notifyByKey("dpd.transmis.error");return r.a};return this.configSharedService.mode===c.a.COMPLETION?this.declarationService.completerDeclaration(t.code,t).pipe(Object(s.a)(()=>n()),Object(l.a)(t=>i(t))):this.declarationService.transmettreDeclaration(t.code,e).pipe(Object(s.a)(()=>n()),Object(l.a)(t=>i(t)))}get foreignCompanyFg(){return this.configSharedService.form.get(u.a.FOREIGN_COMPANY)}get fraisFg(){return this.configSharedService.form.get(u.a.EXPENSES)}get representativeFg(){return this.configSharedService.form.get(u.a.REPRESENTATIVE)}get singleWorkerFg(){return this.configSharedService.form.get(u.a.SINGLE_WORKER)}get clientFg(){return this.configSharedService.form.get(u.a.CLIENT)}get locationsFg(){return this.configSharedService.form.get(u.a.LOCATIONS)}get prestationFg(){return this.configSharedService.form.get(u.a.PRESTATION)}get workersFg(){return this.configSharedService.form.get(u.a.WORKERS)}initValidVariables(){this.isForeignCompanyValid=this.foreignCompanyFg.valid||this.foreignCompanyFg.disabled,this.isFraisValid=this.fraisFg.valid||this.fraisFg.disabled,this.isRepresentativeValid=this.representativeFg.valid||this.representativeFg.disabled,4===this.numeroModele?this.isSingleWorkerValid=this.singleWorkerFg.valid||this.singleWorkerFg.disabled:(this.isClientValid=this.clientFg.valid||this.clientFg.disabled,this.isLocationValid=this.locationsFg.valid||this.locationsFg.disabled,this.isPrestationValid=this.prestationFg.valid||this.prestationFg.disabled,this.isWorkersValid=this.workersFg.valid||this.workersFg.disabled)}getIconName(t,e){let n,i;return t?(n=e?"check_circle":"error_outline",i=e?"accent":"warn"):n="adjust",{name:n,color:i}}setTouchedTab(t){switch(t){case p.a.FOREIGN_COMPANY:this.hasForeignCompanyBeenTouched=!0;break;case p.a.CLIENT:this.hasClientBeenTouched=!0;break;case p.a.LOCATION:this.hasLocationBeenTouched=!0;break;case p.a.PRESTATION:this.hasPrestationBeenTouched=!0;break;case p.a.FRAIS:this.hasFraisBeenTouched=!0;break;case p.a.SINGLE_WORKER:this.hasSingleWorkerBeenTouched=!0;break;case p.a.WORKERS:this.hasWorkersBeenTouched=!0;break;case p.a.REPRESENTATIVE:this.hasRepresentativeBeenTouched=!0}}}return t._log=a.a.create("DeclarationService"),t.\u0275fac=function(e){return new(e||t)(g.Nb(i.a),g.Nb(i.f),g.Nb(b.a),g.Nb(_.d),g.Nb(y.a),g.Nb(v.b),g.Nb(C.a))},t.\u0275cmp=g.Hb({type:t,selectors:[["app-navigation"]],features:[g.zb],decls:30,vars:43,consts:[[1,"nav_container","mat-elevation-z2"],["id","company-tab","routerLinkActive","active",3,"routerLink"],["data-cy","entreprise-etrangere-icon",3,"color"],["id","client-tab",3,"routerLink",4,"ngIf"],[4,"ngIf"],["id","frais-tab",3,"routerLink"],["data-cy","frais-icon",3,"color"],["id","workers-tab",3,"routerLink",4,"ngIf"],[1,"dpd-actions"],["mat-fab","","type","button","aria-label","back","color","warn","matTooltipClass","warnTooltip","matTooltipPosition","right",3,"matTooltip","click"],["mat-fab","","type","button","aria-label","save","color","primary","matTooltipClass","warnTooltip","matTooltipPosition","right",3,"disabled","matTooltip","click",4,"ngIf"],["data-cy","button-transmission","id","btn-transmission","mat-fab","","aria-label","transmit","color","accent","matTooltipClass","warnTooltip","matTooltipPosition","right",3,"disabled","matTooltip","click"],[3,"diameter",4,"ngIf","ngIfElse"],["check",""],["id","client-tab",3,"routerLink"],["data-cy","client-icon",3,"color"],["id","location-tab",3,"routerLink"],["data-cy","lieux-icon",3,"color"],["id","prestation-tab",3,"routerLink"],["data-cy","prestation-icon",3,"color"],["id","workers-tab",3,"routerLink"],["data-cy","salarieIcon",3,"color"],["data-cy","salaries-icon",3,"color"],["id","representative-tab",3,"routerLink"],["data-cy","representant-icon",3,"color"],["mat-fab","","type","button","aria-label","save","color","primary","matTooltipClass","warnTooltip","matTooltipPosition","right",3,"disabled","matTooltip","click"],[3,"diameter"]],template:function(t,e){if(1&t&&(g.Tb(0,"mat-nav-list",0),g.Tb(1,"mat-list-item",1),g.Tb(2,"mat-icon",2),g.Hc(3),g.Sb(),g.Hc(4),g.gc(5,"translate"),g.Sb(),g.Ob(6,"mat-divider"),g.Fc(7,E,5,14,"mat-list-item",3),g.Ob(8,"mat-divider"),g.Fc(9,A,13,28,"div",4),g.Tb(10,"mat-list-item",5),g.Tb(11,"mat-icon",6),g.Hc(12),g.Sb(),g.Hc(13),g.gc(14,"translate"),g.Sb(),g.Ob(15,"mat-divider"),g.Fc(16,I,5,14,"mat-list-item",7),g.Fc(17,R,5,14,"mat-list-item",7),g.Fc(18,N,7,14,"div",4),g.Sb(),g.Tb(19,"div",8),g.Tb(20,"button",9),g.bc("click",function(){return e.back()}),g.gc(21,"translate"),g.Tb(22,"mat-icon"),g.Hc(23,"block"),g.Sb(),g.Sb(),g.Fc(24,Y,4,4,"button",10),g.Tb(25,"button",11),g.bc("click",function(){return e.onTransmitDPD()}),g.gc(26,"translate"),g.Fc(27,H,1,1,"mat-spinner",12),g.Fc(28,F,1,1,"ng-template",null,13,g.Gc),g.Sb(),g.Sb()),2&t){const t=g.vc(29);let n=null,i=null;g.Cb(1),g.nc("routerLink",g.sc(33,P,g.sc(31,D,g.sc(29,L,g.sc(27,P,e.TabOutletName.FOREIGN_COMPANY))))),g.Cb(1),g.nc("color",null==(n=e.getIcon(e.TabOutletName.FOREIGN_COMPANY))?null:n.color),g.Cb(1),g.Ic(e.getIcon(e.TabOutletName.FOREIGN_COMPANY).name),g.Cb(1),g.Jc(" ",g.hc(5,19,"dpd.menu.entreprise")," "),g.Cb(3),g.nc("ngIf",4!==e.numeroModele),g.Cb(2),g.nc("ngIf",4!==e.numeroModele),g.Cb(1),g.nc("routerLink",g.sc(41,P,g.sc(39,D,g.sc(37,L,g.sc(35,P,e.TabOutletName.FRAIS))))),g.Cb(1),g.nc("color",null==(i=e.getIcon(e.TabOutletName.FRAIS))?null:i.color),g.Cb(1),g.Ic(e.getIcon(e.TabOutletName.FRAIS).name),g.Cb(1),g.Jc(" ",g.hc(14,21,"dpd.menu.frais")," "),g.Cb(3),g.nc("ngIf",4===e.numeroModele),g.Cb(1),g.nc("ngIf",4!==e.numeroModele),g.Cb(1),g.nc("ngIf",7!==e.numeroModele),g.Cb(2),g.nc("matTooltip",g.hc(21,23,"dpd.annuler")),g.Cb(4),g.nc("ngIf",e.mode!==e.ModeOpenDeclaration.COMPLETION),g.Cb(1),g.nc("disabled",e.isSaving||e.isDPDFormInvalid||e.isTransmitting||!e.allTouched)("matTooltip",g.hc(26,25,"dpd.transmettre")),g.Cb(2),g.nc("ngIf",e.isTransmitting)("ngIfElse",t)}},directives:[w.c,w.a,i.h,i.g,x.a,M.a,O.l,k.a,S.c,T.b],pipes:[_.c],styles:[".mat-badge-content[_ngcontent-%COMP%]{font-weight:600;font-size:12px;font-family:Roboto,Helvetica Neue,sans-serif}.mat-badge-small[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{font-size:9px}.mat-badge-large[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{font-size:24px}.mat-h1[_ngcontent-%COMP%], .mat-headline[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font:400 24px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h2[_ngcontent-%COMP%], .mat-title[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font:500 20px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h3[_ngcontent-%COMP%], .mat-subheading-2[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font:400 16px/28px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h4[_ngcontent-%COMP%], .mat-subheading-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{font:400 15px/24px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h5[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{font:400 calc(14px * .83)/20px Roboto,Helvetica Neue,sans-serif;margin:0 0 12px}.mat-h6[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font:400 calc(14px * .67)/20px Roboto,Helvetica Neue,sans-serif;margin:0 0 12px}.mat-body-2[_ngcontent-%COMP%], .mat-body-strong[_ngcontent-%COMP%]{font:500 14px/24px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-body[_ngcontent-%COMP%], .mat-body-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%]{font:400 14px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-body-1[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .mat-body[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0 0 12px}.mat-caption[_ngcontent-%COMP%], .mat-small[_ngcontent-%COMP%]{font:400 12px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-display-4[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-4[_ngcontent-%COMP%]{font:300 112px/112px Roboto,Helvetica Neue,sans-serif;letter-spacing:-.05em;margin:0 0 56px}.mat-display-3[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-3[_ngcontent-%COMP%]{font:400 56px/56px Roboto,Helvetica Neue,sans-serif;letter-spacing:-.02em;margin:0 0 64px}.mat-display-2[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-2[_ngcontent-%COMP%]{font:400 45px/48px Roboto,Helvetica Neue,sans-serif;letter-spacing:-.005em;margin:0 0 64px}.mat-display-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-display-1[_ngcontent-%COMP%]{font:400 34px/40px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 64px}.mat-bottom-sheet-container[_ngcontent-%COMP%]{font:400 14px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-button[_ngcontent-%COMP%], .mat-fab[_ngcontent-%COMP%], .mat-flat-button[_ngcontent-%COMP%], .mat-icon-button[_ngcontent-%COMP%], .mat-mini-fab[_ngcontent-%COMP%], .mat-raised-button[_ngcontent-%COMP%], .mat-stroked-button[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:500}.mat-button-toggle[_ngcontent-%COMP%], .mat-card[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-card-title[_ngcontent-%COMP%]{font-size:24px;font-weight:500}.mat-card-header[_ngcontent-%COMP%] .mat-card-title[_ngcontent-%COMP%]{font-size:20px}.mat-card-content[_ngcontent-%COMP%], .mat-card-subtitle[_ngcontent-%COMP%]{font-size:14px}.mat-checkbox[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-checkbox-layout[_ngcontent-%COMP%] .mat-checkbox-label[_ngcontent-%COMP%]{line-height:24px}.mat-chip[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.mat-chip[_ngcontent-%COMP%] .mat-chip-remove.mat-icon[_ngcontent-%COMP%], .mat-chip[_ngcontent-%COMP%] .mat-chip-trailing-icon.mat-icon[_ngcontent-%COMP%]{font-size:18px}.mat-table[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-header-cell[_ngcontent-%COMP%]{font-size:12px;font-weight:500}.mat-cell[_ngcontent-%COMP%], .mat-footer-cell[_ngcontent-%COMP%]{font-size:14px}.mat-calendar[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-calendar-body[_ngcontent-%COMP%]{font-size:13px}.mat-calendar-body-label[_ngcontent-%COMP%], .mat-calendar-period-button[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.mat-calendar-table-header[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{font-size:11px;font-weight:400}.mat-dialog-title[_ngcontent-%COMP%]{font:500 20px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-expansion-panel-header[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:15px;font-weight:400}.mat-expansion-panel-content[_ngcontent-%COMP%]{font:400 14px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-form-field[_ngcontent-%COMP%]{font-size:inherit;font-weight:400;line-height:1.125;font-family:Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-form-field-wrapper[_ngcontent-%COMP%]{padding-bottom:1.34375em}.mat-form-field-prefix[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%], .mat-form-field-suffix[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{font-size:150%;line-height:1.125}.mat-form-field-prefix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%], .mat-form-field-suffix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%]{height:1.5em;width:1.5em}.mat-form-field-prefix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%], .mat-form-field-suffix[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{height:1.125em;line-height:1.125}.mat-form-field-infix[_ngcontent-%COMP%]{padding:.5em 0;border-top:.84375em solid rgba(0,0,0,0)}.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-1.34375em) scale(.75);transform:translateY(-1.34375em) scale(.75);width:133.3333333333%}.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-1.34374em) scale(.75);transform:translateY(-1.34374em) scale(.75);width:133.3333433333%}.mat-form-field-label-wrapper[_ngcontent-%COMP%]{top:-.84375em;padding-top:.84375em}.mat-form-field-label[_ngcontent-%COMP%]{top:1.34375em}.mat-form-field-underline[_ngcontent-%COMP%]{bottom:1.34375em}.mat-form-field-subscript-wrapper[_ngcontent-%COMP%]{font-size:75%;margin-top:.6666666667em;top:calc(100% - 1.7916666667em)}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-wrapper[_ngcontent-%COMP%]{padding-bottom:1.25em}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]{padding:.4375em 0}.mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.001px);-ms-transform:translateY(-1.28125em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-form-field-autofill-control[_ngcontent-%COMP%]:-webkit-autofill + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00101px);-ms-transform:translateY(-1.28124em) scale(.75);width:133.3333433333%}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00102px);-ms-transform:translateY(-1.28123em) scale(.75);width:133.3333533333%}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{top:1.28125em}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-underline[_ngcontent-%COMP%]{bottom:1.25em}.mat-form-field-appearance-legacy[_ngcontent-%COMP%] .mat-form-field-subscript-wrapper[_ngcontent-%COMP%]{margin-top:.5416666667em;top:calc(100% - 1.6666666667em)}@media print{.mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-1.28122em) scale(.75);transform:translateY(-1.28122em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-form-field-autofill-control[_ngcontent-%COMP%]:-webkit-autofill + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{transform:translateY(-1.28121em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-1.2812em) scale(.75);transform:translateY(-1.2812em) scale(.75)}}.mat-form-field-appearance-fill[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]{padding:.25em 0 .75em}.mat-form-field-appearance-fill[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{top:1.09375em;margin-top:-.5em}.mat-form-field-appearance-fill.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-fill.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-.59375em) scale(.75);transform:translateY(-.59375em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-fill.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-.59374em) scale(.75);transform:translateY(-.59374em) scale(.75);width:133.3333433333%}.mat-form-field-appearance-outline[_ngcontent-%COMP%] .mat-form-field-infix[_ngcontent-%COMP%]{padding:1em 0}.mat-form-field-appearance-outline[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{top:1.84375em;margin-top:-.25em}.mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%], .mat-form-field-appearance-outline.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[_ngcontent-%COMP%]:focus + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-1.59375em) scale(.75);transform:translateY(-1.59375em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-outline.mat-form-field-can-float[_ngcontent-%COMP%] .mat-input-server[label][_ngcontent-%COMP%]:not(:label-shown) + .mat-form-field-label-wrapper[_ngcontent-%COMP%] .mat-form-field-label[_ngcontent-%COMP%]{-ms-transform:translateY(-1.59374em) scale(.75);transform:translateY(-1.59374em) scale(.75);width:133.3333433333%}.mat-grid-tile-footer[_ngcontent-%COMP%], .mat-grid-tile-header[_ngcontent-%COMP%]{font-size:14px}.mat-grid-tile-footer[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%], .mat-grid-tile-header[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-grid-tile-footer[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2), .mat-grid-tile-header[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:12px}input.mat-input-element[_ngcontent-%COMP%]{margin-top:-.0625em}.mat-menu-item[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:400}.mat-paginator[_ngcontent-%COMP%], .mat-paginator-page-size[_ngcontent-%COMP%] .mat-select-trigger[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:12px}.mat-radio-button[_ngcontent-%COMP%], .mat-select[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-select-trigger[_ngcontent-%COMP%]{height:1.125em}.mat-slide-toggle-content[_ngcontent-%COMP%], .mat-slider-thumb-label-text[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-slider-thumb-label-text[_ngcontent-%COMP%]{font-size:12px;font-weight:500}.mat-stepper-horizontal[_ngcontent-%COMP%], .mat-stepper-vertical[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-step-label[_ngcontent-%COMP%]{font-size:14px;font-weight:400}.mat-step-sub-label-error[_ngcontent-%COMP%]{font-weight:400}.mat-step-label-error[_ngcontent-%COMP%]{font-size:14px}.mat-step-label-selected[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.mat-tab-group[_ngcontent-%COMP%], .mat-tab-label[_ngcontent-%COMP%], .mat-tab-link[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-tab-label[_ngcontent-%COMP%], .mat-tab-link[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.mat-toolbar[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font:500 20px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0}.mat-tooltip[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:10px;padding-top:6px;padding-bottom:6px}.mat-tooltip-handset[_ngcontent-%COMP%]{font-size:14px;padding-top:8px;padding-bottom:8px}.mat-list-item[_ngcontent-%COMP%], .mat-list-option[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]{font-size:16px}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:14px}.mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%]{font-size:16px}.mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:14px}.mat-list-base[_ngcontent-%COMP%] .mat-subheader[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:500}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]{font-size:12px}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2), .mat-list-base[dense][_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%]{font-size:12px}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[dense][_ngcontent-%COMP%] .mat-list-option[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:nth-child(n+2){font-size:12px}.mat-list-base[dense][_ngcontent-%COMP%] .mat-subheader[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:12px;font-weight:500}.mat-option[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:16px}.mat-optgroup-label[_ngcontent-%COMP%]{font:500 14px/24px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-simple-snackbar[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px}.mat-simple-snackbar-action[_ngcontent-%COMP%]{line-height:1;font-family:inherit;font-size:inherit;font-weight:500}.mat-tree[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif}.mat-nested-tree-node[_ngcontent-%COMP%], .mat-tree-node[_ngcontent-%COMP%]{font-weight:400;font-size:14px}.mat-ripple[_ngcontent-%COMP%]{overflow:hidden;position:relative}.mat-ripple[_ngcontent-%COMP%]:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded[_ngcontent-%COMP%]{overflow:visible}.mat-ripple-element[_ngcontent-%COMP%]{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0,0,.2,1);-ms-transform:scale(0);transform:scale(0)}.cdk-high-contrast-active[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{display:none}.cdk-visually-hidden[_ngcontent-%COMP%]{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;outline:0;-webkit-appearance:none;-moz-appearance:none}.cdk-global-overlay-wrapper[_ngcontent-%COMP%], .cdk-overlay-container[_ngcontent-%COMP%]{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container[_ngcontent-%COMP%]{position:fixed;z-index:1000}.cdk-overlay-container[_ngcontent-%COMP%]:empty{display:none}.cdk-global-overlay-wrapper[_ngcontent-%COMP%], .cdk-overlay-pane[_ngcontent-%COMP%]{display:-ms-flexbox;display:flex;position:absolute;z-index:1000}.cdk-overlay-pane[_ngcontent-%COMP%]{pointer-events:auto;box-sizing:border-box;max-width:100%;max-height:100%}.cdk-overlay-backdrop[_ngcontent-%COMP%]{position:absolute;top:0;bottom:0;left:0;right:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:transparent;transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:1}@media screen and (-ms-high-contrast:active){.cdk-overlay-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:.6}}.cdk-overlay-dark-backdrop[_ngcontent-%COMP%]{background:rgba(0,0,0,.32)}.cdk-overlay-transparent-backdrop[_ngcontent-%COMP%], .cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:0}.cdk-overlay-connected-position-bounding-box[_ngcontent-%COMP%]{position:absolute;z-index:1000;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock[_ngcontent-%COMP%]{position:fixed;width:100%;overflow-y:scroll}@-webkit-keyframes cdk-text-field-autofill-start{\n }@keyframes cdk-text-field-autofill-start{\n }@-webkit-keyframes cdk-text-field-autofill-end{\n }@keyframes cdk-text-field-autofill-end{\n }.cdk-text-field-autofill-monitored[_ngcontent-%COMP%]:-webkit-autofill{-webkit-animation:cdk-text-field-autofill-start 0s 1ms;animation:cdk-text-field-autofill-start 0s 1ms}.cdk-text-field-autofill-monitored[_ngcontent-%COMP%]:not(:-webkit-autofill){-webkit-animation:cdk-text-field-autofill-end 0s 1ms;animation:cdk-text-field-autofill-end 0s 1ms}textarea.cdk-textarea-autosize[_ngcontent-%COMP%]{resize:none}textarea.cdk-textarea-autosize-measuring[_ngcontent-%COMP%]{padding:2px 0!important;box-sizing:content-box!important;height:auto!important;overflow:hidden!important}textarea.cdk-textarea-autosize-measuring-firefox[_ngcontent-%COMP%]{padding:2px 0!important;box-sizing:content-box!important;height:0!important}.mat-focus-indicator[_ngcontent-%COMP%], .mat-mdc-focus-indicator[_ngcontent-%COMP%]{position:relative}.nav_container[_ngcontent-%COMP%]{padding:0;background:#fff}.nav_container[_ngcontent-%COMP%] mat-list-item[_ngcontent-%COMP%]{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;height:4rem;font-size:1.4rem!important;cursor:pointer}.nav_container[_ngcontent-%COMP%] mat-list-item[_ngcontent-%COMP%] .mat-list-item-content{width:100%}.nav_container[_ngcontent-%COMP%] mat-list-item[_ngcontent-%COMP%]:hover{background:#eee}.nav_container[_ngcontent-%COMP%] mat-list-item.active[_ngcontent-%COMP%]{background:#e0e0e0!important}.nav_container[_ngcontent-%COMP%] mat-list-item[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:2.5rem;height:64px;line-height:64px;width:64px}.dpd-actions[_ngcontent-%COMP%]{margin-top:32px;display:-ms-flexbox;display:flex;-ms-flex-pack:distribute;justify-content:space-around}@media screen and (max-height:820px){.nav_container[_ngcontent-%COMP%] mat-list-item[_ngcontent-%COMP%]{height:2.7rem}.nav_container[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{height:60px;line-height:60px;width:60px}.dpd-actions[_ngcontent-%COMP%]{margin-top:15px}}"]}),t})()},mSn9:function(t,e,n){"use strict";n.d(e,"a",function(){return v});var i=n("8Y7J"),a=n("s7LF"),r=n("4R65"),o=n("Qaas"),s=n("tgYw"),l=n("IGtN"),c=n("TSSN"),d=n("LRne"),u=n("JIr8"),h=n("IheW");let m=(()=>{class t{constructor(t){this.http=t,this.ENDPOINT="/api/map"}getCoordsForTown(t,e){return this.http.get(`${this.ENDPOINT}/search?town=${t}&code=${e}`).pipe(Object(u.a)(()=>Object(d.a)(null)))}getAddressFromCoords(t){return this.http.get(`${this.ENDPOINT}/reverse?lat=${t.latitude}&lng=${t.longitude}`).pipe(Object(u.a)(()=>Object(d.a)(null)))}}return t.\u0275fac=function(e){return new(e||t)(i.Xb(h.b))},t.\u0275prov=i.Jb({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();var p=n("wPIS"),f=n("SVse"),g=n("PDjf"),b=n("f3LI"),_=n("Dxy4");function y(t,e){if(1&t){const t=i.Ub();i.Tb(0,"div",3),i.Tb(1,"mat-card"),i.Tb(2,"form"),i.Tb(3,"input",4),i.bc("ngModelChange",function(e){return i.yc(t),i.fc().searchLatlng.latitude=e}),i.gc(4,"translate"),i.Sb(),i.Ob(5,"div",5),i.Tb(6,"input",6),i.bc("ngModelChange",function(e){return i.yc(t),i.fc().searchLatlng.longitude=e}),i.gc(7,"translate"),i.Sb(),i.Ob(8,"div",5),i.Tb(9,"button",7),i.bc("click",function(){return i.yc(t),i.fc().onSearch()}),i.Hc(10),i.gc(11,"translate"),i.Sb(),i.Sb(),i.Sb(),i.Sb()}if(2&t){const t=i.fc();i.Cb(3),i.nc("ngModel",t.searchLatlng.latitude)("placeholder",i.hc(4,5,"common.latitude")),i.Cb(3),i.nc("ngModel",t.searchLatlng.longitude)("placeholder",i.hc(7,7,"common.longitude")),i.Cb(4),i.Ic(i.hc(11,9,"common.rechercher"))}}let v=(()=>{class t extends l.a{constructor(t,e,n){super(t),this.translateService=t,this.changeDetectorRef=e,this.mapService=n,this.readonly=!1,this.fetchAddress=new i.o,this.center=r.latLng(48.8589,2.3469),this.layers=[],this.searchLatlng=new s.a({}),this.options={layers:[r.tileLayer("http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",{maxZoom:18,attribution:"..."})],zoom:12,center:this.center},this._address=new o.a({}),this.onChange=t=>{},this.onTouched=()=>{}}get address(){return this._address}set address(t){!t||t.cp===this._address.cp&&t.ville===this._address.ville||(this._address=t,this.refreshCenter())}writeValue(t){t&&this.latlng&&t.latitude===this.latlng.latitude&&t.longitude===this.latlng.longitude||(this.latlng=t,t?this.generateMarker():(this.layers=[],this.changeDetectorRef.markForCheck()))}registerOnChange(t){this.onChange=t}registerOnTouched(t){this.onTouched=t}unload(){this.mapSearchObs&&this.mapSearchObs.unsubscribe()}onClick(t){if(!1!==this.readonly)return;const{latlng:e}=t,n=parseFloat(e.lat).toFixed(5),i=parseFloat(e.lng).toFixed(5);this.latlng=new s.a({latitude:n,longitude:i}),this.generateMarker(),this.onChange(this.latlng)}onSearch(){this.center=r.latLng(parseFloat(this.searchLatlng.latitude),parseFloat(this.searchLatlng.longitude))}generateCoordHtml(t){return`\n <div>\n Lat. : ${parseFloat(t.latitude).toFixed(5)}\n <br>\n Long. : ${parseFloat(t.longitude).toFixed(5)}\n </div>\n `}generateAddressHtml(t){return`\n <div style="text-align:center">\n ${t.adresse}\n <br>\n ${t.cp}&nbsp;&nbsp;${t.ville}\n </div>\n `}generateMarker(){if(!this.latlng.latitude||!this.latlng.longitude)return;const t=new r.Popup({offset:[0,-35]});t.setContent(this.generateCoordHtml(this.latlng));const e=new r.Marker([parseFloat(this.latlng.latitude),parseFloat(this.latlng.longitude)],{icon:r.icon({iconSize:[25,41],iconAnchor:[13,41],iconUrl:"assets/marker-icon.png",shadowUrl:"assets/marker-shadow.png"})}).bindPopup(t);this.layers=[e],this.changeDetectorRef.markForCheck(),this.mapSearchObs&&this.mapSearchObs.unsubscribe(),this.mapSearchObs=this.mapService.getAddressFromCoords(this.latlng).subscribe(n=>{n?(t.setContent(this.generateAddressHtml(n)),this.fetchAddress.emit(n)):(this.address.coordonnees=this.latlng,this.address.adresse=null,t.setContent(this.generateCoordHtml(this.address.coordonnees)),this.fetchAddress.emit(this.address)),e.openPopup()})}refreshCenter(){this.address&&(this.address.coordonnees&&this.address.coordonnees.latitude&&this.address.coordonnees.longitude?setTimeout(()=>{this.center=r.latLng(parseFloat(this.address.coordonnees.latitude),parseFloat(this.address.coordonnees.longitude)),this.writeValue(this.address.coordonnees)}):this.address.ville&&this.address.cp&&this.mapService.getCoordsForTown(this.address.ville,this.address.cp).subscribe(t=>{this.center=r.latLng(parseFloat(t.latitude),parseFloat(t.longitude)),this.changeDetectorRef.markForCheck()}))}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(c.d),i.Nb(i.h),i.Nb(m))},t.\u0275cmp=i.Hb({type:t,selectors:[["app-map"]],inputs:{readonly:"readonly",address:"address"},outputs:{fetchAddress:"fetchAddress"},features:[i.Bb([{provide:a.m,useExisting:Object(i.V)(()=>t),multi:!0}]),i.zb],decls:3,vars:4,consts:[[1,"map-box"],["data-cy","map","leaflet","",1,"map",3,"leafletOptions","leafletLayers","leafletCenter","leafletClick"],["class","search-overlay",4,"ngIf"],[1,"search-overlay"],["type","text","appTextField","signedDecimal","name","latitude",3,"ngModel","placeholder","ngModelChange"],[1,"spacer"],["type","text","appTextField","signedDecimal","name","longitude",3,"ngModel","placeholder","ngModelChange"],["type","submit","aria-label","submit","mat-raised-button","","color","primary",3,"click"]],template:function(t,e){1&t&&(i.Tb(0,"div",0),i.Tb(1,"div",1),i.bc("leafletClick",function(t){return e.onClick(t)}),i.Sb(),i.Fc(2,y,12,11,"div",2),i.Sb()),2&t&&(i.Cb(1),i.nc("leafletOptions",e.options)("leafletLayers",e.layers)("leafletCenter",e.center),i.Cb(1),i.nc("ngIf",!1===e.readonly))},directives:[p.a,p.b,f.l,g.a,a.x,a.p,a.q,a.c,b.a,a.o,a.r,_.a],pipes:[c.c],styles:[".map-box[_ngcontent-%COMP%]{height:300px;position:relative}.map-box[_ngcontent-%COMP%] .map[_ngcontent-%COMP%]{height:100%}.map-box[_ngcontent-%COMP%] .search-overlay[_ngcontent-%COMP%]{position:absolute;top:12px;left:64px;z-index:1001}.map-box[_ngcontent-%COMP%] .search-overlay[_ngcontent-%COMP%] mat-card[_ngcontent-%COMP%] form[_ngcontent-%COMP%]{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}.map-box[_ngcontent-%COMP%] .search-overlay[_ngcontent-%COMP%] mat-card[_ngcontent-%COMP%] form[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{padding:4px;font-size:.9rem}.map-box[_ngcontent-%COMP%] .search-overlay[_ngcontent-%COMP%] mat-card[_ngcontent-%COMP%] form[_ngcontent-%COMP%] input[_ngcontent-%COMP%]::-webkit-inner-spin-button, .map-box[_ngcontent-%COMP%] .search-overlay[_ngcontent-%COMP%] mat-card[_ngcontent-%COMP%] form[_ngcontent-%COMP%] input[_ngcontent-%COMP%]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.map-box[_ngcontent-%COMP%] .search-overlay[_ngcontent-%COMP%] mat-card[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .spacer[_ngcontent-%COMP%]{height:8px}"],changeDetection:0}),t})()},mbGh:function(t,e,n){"use strict";n.d(e,"a",function(){return g});var i=n("8Y7J"),a=n("s7LF"),r=n("0/Se"),o=n("TSSN"),s=n("y5Tt"),l=n("Q2Ze"),c=n("7duk"),d=n("e6WT"),u=n("SVse"),h=n("pu8Q"),m=n("uuBd");function p(t,e){1&t&&(i.Tb(0,"div",6),i.Ob(1,"mat-spinner"),i.Sb())}function f(t,e){if(1&t){const t=i.Ub();i.Tb(0,"app-tree-view",7),i.bc("ngModelChange",function(e){return i.yc(t),i.fc().selectedNodes=e}),i.Sb()}if(2&t){const t=i.fc();i.nc("height",300)("data",t.data)("expand",!1)("ngModel",t.selectedNodes)}}let g=(()=>{class t extends r.a{constructor(t,e,n){super(t,e),this.translateService=t,this.changeDetectorRef=e,this.departementService=n}getId(t){return t.nom}getLabel(t){return t.code?`${t.code.startsWith("0")?t.code.substring(1):t.code} - ${t.nom}`:t.nom}getChildren(t){return t.departements}getData(){return this.departementService.getRegions()}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(o.d),i.Nb(i.h),i.Nb(s.a))},t.\u0275cmp=i.Hb({type:t,selectors:[["app-region-form"]],features:[i.Bb([{provide:a.m,useExisting:Object(i.V)(()=>t),multi:!0},{provide:a.l,useExisting:Object(i.V)(()=>t),multi:!0}]),i.zb],decls:10,vars:8,consts:[[3,"label","placeholder"],[1,"dropdown-content","mat-elevation-z1"],["matInput","","name","search",3,"ngModel","placeholder","ngModelChange"],["searchInput",""],["class","spinner-container",4,"ngIf","ngIfElse"],["loaded",""],[1,"spinner-container"],[3,"height","data","expand","ngModel","ngModelChange"]],template:function(t,e){if(1&t&&(i.Tb(0,"mat-form-field"),i.Tb(1,"app-dropdown-select",0),i.Tb(2,"div",1),i.Tb(3,"mat-form-field"),i.Tb(4,"input",2,3),i.bc("ngModelChange",function(t){return e.filter=t}),i.gc(6,"translate"),i.Sb(),i.Sb(),i.Fc(7,p,2,0,"div",4),i.Fc(8,f,1,4,"ng-template",null,5,i.Gc),i.Sb(),i.Sb(),i.Sb()),2&t){const t=i.vc(9);i.Cb(1),i.nc("label",null==e.selection?null:e.selection.join(", "))("placeholder",e.placeholder),i.Cb(3),i.oc("placeholder",i.hc(6,6,"common.rechercher")),i.nc("ngModel",e.filter),i.Cb(3),i.nc("ngIf",e.loading)("ngIfElse",t)}},directives:[l.c,c.a,d.b,a.c,a.o,a.r,u.l,h.b,m.a],pipes:[o.c],styles:["[_nghost-%COMP%]{width:100%}.dropdown-content[_ngcontent-%COMP%] .mat-form-field[_ngcontent-%COMP%]{width:calc(100% - 32px);padding:0 16px}"],changeDetection:0}),t})()},n33M:function(t,e,n){"use strict";n.d(e,"a",function(){return a});var i=n("Qaas");class a{constructor({id:t=null,type:e=null,nom:n=null,siret:a=null,codeNaf:r=null,adresse:o={},nomHebergement:s=null,isHebergementCollectif:l=!1,hebergementCollectif:c={}}){this.id=t,this.type=e,this.nom=n,this.siret=a,this.codeNaf=r,this.adresse=new i.a(o),this.isHebergementCollectif=l,this.nomHebergement=s,this.hebergementCollectif=new i.a(c)}getForPost(){return Object.assign(Object.assign({},this),{adresse:this.adresse?this.adresse.getForPost():null,hebergementCollectif:this.hebergementCollectif?this.hebergementCollectif.getForPost():null})}isValidPlace(){return!!this.type&&!!this.nom&&!!this.adresse&&!!this.adresse.isValid(!0)&&(!this.hebergementCollectif||this.hebergementCollectif.isValid(!0)&&!!this.nomHebergement)}}},n6bG:function(t,e,n){"use strict";function i(t){return"function"==typeof t}n.d(e,"a",function(){return i})},nYR2:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("7o/Q"),a=n("quSY");function r(t){return e=>e.lift(new o(t))}class o{constructor(t){this.callback=t}call(t,e){return e.subscribe(new s(t,this.callback))}}class s extends i.a{constructor(t,e){super(t),this.add(new a.a(e))}}},ngJS:function(t,e,n){"use strict";n.d(e,"a",function(){return i});const i=t=>e=>{for(let n=0,i=t.length;n<i&&!e.closed;n++)e.next(t[n]);e.complete()}},nyYc:function(t,e,n){!function(t){"use strict";var e=/(janv\.?|f\xe9vr\.?|mars|avr\.?|mai|juin|juil\.?|ao\xfbt|sept\.?|oct\.?|nov\.?|d\xe9c\.?|janvier|f\xe9vrier|mars|avril|mai|juin|juillet|ao\xfbt|septembre|octobre|novembre|d\xe9cembre)/i,n=[/^janv/i,/^f\xe9vr/i,/^mars/i,/^avr/i,/^mai/i,/^juin/i,/^juil/i,/^ao\xfbt/i,/^sept/i,/^oct/i,/^nov/i,/^d\xe9c/i];t.defineLocale("fr",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsRegex:e,monthsShortRegex:e,monthsStrictRegex:/^(janvier|f\xe9vrier|mars|avril|mai|juin|juillet|ao\xfbt|septembre|octobre|novembre|d\xe9cembre)/i,monthsShortStrictRegex:/(janv\.?|f\xe9vr\.?|mars|avr\.?|mai|juin|juil\.?|ao\xfbt|sept\.?|oct\.?|nov\.?|d\xe9c\.?)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",w:"une semaine",ww:"%d semaines",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal:function(t,e){switch(e){case"D":return t+(1===t?"er":"");default:case"M":case"Q":case"DDD":case"d":return t+(1===t?"er":"e");case"w":case"W":return t+(1===t?"re":"e")}},week:{dow:1,doy:4}})}(n("wd/R"))},o1bE:function(t,e,n){!function(t){"use strict";var e=function(t){return 0===t?0:1===t?1:2===t?2:t%100>=3&&t%100<=10?3:t%100>=11?4:5},n={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},i=function(t){return function(i,a,r,o){var s=e(i),l=n[t][e(i)];return 2===s&&(l=l[a?0:1]),l.replace(/%d/i,i)}},a=["\u062c\u0627\u0646\u0641\u064a","\u0641\u064a\u0641\u0631\u064a","\u0645\u0627\u0631\u0633","\u0623\u0641\u0631\u064a\u0644","\u0645\u0627\u064a","\u062c\u0648\u0627\u0646","\u062c\u0648\u064a\u0644\u064a\u0629","\u0623\u0648\u062a","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];t.defineLocale("ar-dz",{months:a,monthsShort:a,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(t){return"\u0645"===t},meridiem:function(t,e,n){return t<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:i("s"),ss:i("s"),m:i("m"),mm:i("m"),h:i("h"),hh:i("h"),d:i("d"),dd:i("d"),M:i("M"),MM:i("M"),y:i("y"),yy:i("y")},postformat:function(t){return t.replace(/,/g,"\u060c")},week:{dow:0,doy:4}})}(n("wd/R"))},o1lE:function(t,e,n){"use strict";n.d(e,"a",function(){return O});var i=n("8Y7J"),a=n("s7LF"),r=n("cYWD"),o=n("TSSN"),s=n("AkaL"),l=n("IheW");let c=(()=>{class t extends s.a{constructor(t){super(t),this.http=t,this.BASE_URL="/api/representants/search"}setLabel(t){t.autocomplete=`${t.siren} - ${t.raisonSociale}`}}return t.\u0275fac=function(e){return new(e||t)(i.Xb(l.b))},t.\u0275prov=i.Jb({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();var d=n("WiJD"),u=n("zaPX"),h=n("Q2Ze"),m=n("SVse"),p=n("e6WT"),f=n("vrAh"),g=n("q6Qu"),b=n("UhP/"),_=n("pu8Q");function y(t,e){if(1&t&&(i.Tb(0,"span",8),i.Hc(1),i.Sb()),2&t){const t=i.fc();i.Cc("opacity",t.searchControl.disabled?.7:1),i.Cb(1),i.Ic(t.prefix)}}function v(t,e){1&t&&(i.Tb(0,"mat-option",9),i.Ob(1,"mat-spinner",10),i.Sb())}function C(t,e){if(1&t&&(i.Tb(0,"mat-option",12),i.Hc(1),i.Sb()),2&t){const t=e.$implicit;i.nc("value",t),i.Cb(1),i.Jc(" ",t.autocomplete," ")}}function w(t,e){if(1&t&&i.Fc(0,C,2,2,"mat-option",11),2&t){const t=i.fc();i.nc("ngForOf",t.searchResult)}}const x=[[["mat-error"]],[["mat-icon"]],[["mat-spinner"]],"*"],M=["mat-error","mat-icon","mat-spinner","*"];let O=(()=>{class t extends r.a{constructor(t,e,n,i,a){super(t,e,n,i,a),this.translateService=t,this.searchService=e,this.configurationService=n,this.configSharedService=i,this.changeDetectorRef=a,this.fieldValue="siren"}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(o.d),i.Nb(c),i.Nb(d.a),i.Nb(u.a),i.Nb(i.h))},t.\u0275cmp=i.Hb({type:t,selectors:[["app-representant-autocomplete-2"]],features:[i.Bb([{provide:a.m,useExisting:Object(i.V)(()=>t),multi:!0}]),i.zb],ngContentSelectors:M,decls:15,vars:11,consts:[["matPrefix","","class","prefix",3,"opacity",4,"ngIf"],["type","text","matInput","","data-cy","autocomplete",3,"name","appLabel","formControl","matAutocomplete","matAutocompleteDisabled","errorStateMatcher","required","blur"],["searchElt",""],[1,"mat-error","otherMessages"],[3,"displayWith","optionSelected"],["auto","matAutocomplete"],["class","spinner",4,"ngIf","ngIfElse"],["listOptions",""],["matPrefix","",1,"prefix"],[1,"spinner"],["diameter","50"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(t,e){if(1&t&&(i.mc(x),i.Tb(0,"mat-form-field"),i.Fc(1,y,2,3,"span",0),i.Tb(2,"input",1,2),i.bc("blur",function(){return e.onBlur()}),i.Sb(),i.Tb(4,"mat-error"),i.lc(5),i.Sb(),i.lc(6,1),i.lc(7,2),i.Sb(),i.Tb(8,"div",3),i.lc(9,3),i.Sb(),i.Tb(10,"mat-autocomplete",4,5),i.bc("optionSelected",function(t){return e.selectOption(t)}),i.Fc(12,v,2,0,"mat-option",6),i.Fc(13,w,1,1,"ng-template",null,7,i.Gc),i.Sb()),2&t){const t=i.vc(11),n=i.vc(14);i.Cb(1),i.nc("ngIf",e.prefix),i.Cb(1),i.nc("name",e.name)("appLabel",e.inputTitle)("formControl",e.searchControl)("matAutocomplete",t)("matAutocompleteDisabled",e.isAutocompleteDisabled)("errorStateMatcher",e.errorStateMatcher)("required",e.isRequired),i.Cb(8),i.nc("displayWith",e.displayFn),i.Cb(2),i.nc("ngIf",e.isLoading)("ngIfElse",n)}},directives:[h.c,m.l,p.b,a.c,f.c,g.a,a.o,a.f,a.v,h.b,f.a,h.g,b.m,_.b,m.k],styles:["[_nghost-%COMP%]{-ms-flex:1;flex:1}[_nghost-%COMP%] mat-form-field[_ngcontent-%COMP%]{width:100%}[_nghost-%COMP%] .otherMessages[_ngcontent-%COMP%]{font-size:75%}[_nghost-%COMP%] .prefix[_ngcontent-%COMP%]{-ms-flex-item-align:center;align-self:center;margin-right:8px}"]}),t})()},o4Yh:function(t,e,n){"use strict";n.d(e,"a",function(){return V}),n.d(e,"b",function(){return W}),n.d(e,"c",function(){return j}),n.d(e,"d",function(){return N}),n.d(e,"e",function(){return F}),n.d(e,"f",function(){return z});var i=n("8Y7J"),a=n("8LU1"),r=n("XNiG"),o=n("quSY"),s=n("CtHx");let l=0;const c=new i.s("CdkAccordion");let d=(()=>{class t{constructor(){this._stateChanges=new r.a,this._openCloseAllActions=new r.a,this.id="cdk-accordion-"+l++,this._multi=!1}get multi(){return this._multi}set multi(t){this._multi=Object(a.c)(t)}openAll(){this._openCloseAll(!0)}closeAll(){this._openCloseAll(!1)}ngOnChanges(t){this._stateChanges.next(t)}ngOnDestroy(){this._stateChanges.complete()}_openCloseAll(t){this.multi&&this._openCloseAllActions.next(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.Ib({type:t,selectors:[["cdk-accordion"],["","cdkAccordion",""]],inputs:{multi:"multi"},exportAs:["cdkAccordion"],features:[i.Bb([{provide:c,useExisting:t}]),i.Ab]}),t})(),u=0,h=(()=>{class t{constructor(t,e,n){this.accordion=t,this._changeDetectorRef=e,this._expansionDispatcher=n,this._openCloseAllSubscription=o.a.EMPTY,this.closed=new i.o,this.opened=new i.o,this.destroyed=new i.o,this.expandedChange=new i.o,this.id="cdk-accordion-child-"+u++,this._expanded=!1,this._disabled=!1,this._removeUniqueSelectionListener=()=>{},this._removeUniqueSelectionListener=n.listen((t,e)=>{this.accordion&&!this.accordion.multi&&this.accordion.id===e&&this.id!==t&&(this.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}get expanded(){return this._expanded}set expanded(t){t=Object(a.c)(t),this._expanded!==t&&(this._expanded=t,this.expandedChange.emit(t),t?(this.opened.emit(),this._expansionDispatcher.notify(this.id,this.accordion?this.accordion.id:this.id)):this.closed.emit(),this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(t){this._disabled=Object(a.c)(t)}ngOnDestroy(){this.opened.complete(),this.closed.complete(),this.destroyed.emit(),this.destroyed.complete(),this._removeUniqueSelectionListener(),this._openCloseAllSubscription.unsubscribe()}toggle(){this.disabled||(this.expanded=!this.expanded)}close(){this.disabled||(this.expanded=!1)}open(){this.disabled||(this.expanded=!0)}_subscribeToOpenCloseAllActions(){return this.accordion._openCloseAllActions.subscribe(t=>{this.disabled||(this.expanded=t)})}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(c,12),i.Nb(i.h),i.Nb(s.d))},t.\u0275dir=i.Ib({type:t,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:"expanded",disabled:"disabled"},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],features:[i.Bb([{provide:c,useValue:void 0}])]}),t})(),m=(()=>{class t{}return t.\u0275mod=i.Lb({type:t}),t.\u0275inj=i.Kb({factory:function(e){return new(e||t)}}),t})();var p=n("1z/I"),f=n("SVse"),g=n("UhP/"),b=n("YEUz"),_=n("/uUt"),y=n("JX91"),v=n("pLZG"),C=n("IzEk"),w=n("Ht+U"),x=n("omvX"),M=n("EY2u"),O=n("VRyK"),k=n("GS7A");const S=["body"];function T(t,e){}const P=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],L=["mat-expansion-panel-header","*","mat-action-row"];function D(t,e){if(1&t&&i.Ob(0,"span",2),2&t){const t=i.fc();i.nc("@indicatorRotate",t._getExpandedState())}}const E=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],A=["mat-panel-title","mat-panel-description","*"],I=new i.s("MAT_ACCORDION"),R={indicatorRotate:Object(k.n)("indicatorRotate",[Object(k.k)("collapsed, void",Object(k.l)({transform:"rotate(0deg)"})),Object(k.k)("expanded",Object(k.l)({transform:"rotate(180deg)"})),Object(k.m)("expanded <=> collapsed, void => collapsed",Object(k.e)("225ms cubic-bezier(0.4,0.0,0.2,1)"))]),bodyExpansion:Object(k.n)("bodyExpansion",[Object(k.k)("collapsed, void",Object(k.l)({height:"0px",visibility:"hidden"})),Object(k.k)("expanded",Object(k.l)({height:"*",visibility:"visible"})),Object(k.m)("expanded <=> collapsed, void => collapsed",Object(k.e)("225ms cubic-bezier(0.4,0.0,0.2,1)"))])};let N=(()=>{class t{constructor(t){this._template=t}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.N))},t.\u0275dir=i.Ib({type:t,selectors:[["ng-template","matExpansionPanelContent",""]]}),t})(),Y=0;const H=new i.s("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS");let j=(()=>{class t extends h{constructor(t,e,n,a,o,s,l){super(t,e,n),this._viewContainerRef=a,this._animationMode=s,this._hideToggle=!1,this.afterExpand=new i.o,this.afterCollapse=new i.o,this._inputChanges=new r.a,this._headerId="mat-expansion-panel-header-"+Y++,this._bodyAnimationDone=new r.a,this.accordion=t,this._document=o,this._bodyAnimationDone.pipe(Object(_.a)((t,e)=>t.fromState===e.fromState&&t.toState===e.toState)).subscribe(t=>{"void"!==t.fromState&&("expanded"===t.toState?this.afterExpand.emit():"collapsed"===t.toState&&this.afterCollapse.emit())}),l&&(this.hideToggle=l.hideToggle)}get hideToggle(){return this._hideToggle||this.accordion&&this.accordion.hideToggle}set hideToggle(t){this._hideToggle=Object(a.c)(t)}get togglePosition(){return this._togglePosition||this.accordion&&this.accordion.togglePosition}set togglePosition(t){this._togglePosition=t}_hasSpacing(){return!!this.accordion&&this.expanded&&"default"===this.accordion.displayMode}_getExpandedState(){return this.expanded?"expanded":"collapsed"}toggle(){this.expanded=!this.expanded}close(){this.expanded=!1}open(){this.expanded=!0}ngAfterContentInit(){this._lazyContent&&this.opened.pipe(Object(y.a)(null),Object(v.a)(()=>this.expanded&&!this._portal),Object(C.a)(1)).subscribe(()=>{this._portal=new p.g(this._lazyContent._template,this._viewContainerRef)})}ngOnChanges(t){this._inputChanges.next(t)}ngOnDestroy(){super.ngOnDestroy(),this._bodyAnimationDone.complete(),this._inputChanges.complete()}_containsFocus(){if(this._body){const t=this._document.activeElement,e=this._body.nativeElement;return t===e||e.contains(t)}return!1}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(I,12),i.Nb(i.h),i.Nb(s.d),i.Nb(i.R),i.Nb(f.d),i.Nb(x.a,8),i.Nb(H,8))},t.\u0275cmp=i.Hb({type:t,selectors:[["mat-expansion-panel"]],contentQueries:function(t,e,n){if(1&t&&i.Gb(n,N,1),2&t){let t;i.uc(t=i.cc())&&(e._lazyContent=t.first)}},viewQuery:function(t,e){if(1&t&&i.Lc(S,1),2&t){let t;i.uc(t=i.cc())&&(e._body=t.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:6,hostBindings:function(t,e){2&t&&i.Fb("mat-expanded",e.expanded)("_mat-animation-noopable","NoopAnimations"===e._animationMode)("mat-expansion-panel-spacing",e._hasSpacing())},inputs:{disabled:"disabled",expanded:"expanded",hideToggle:"hideToggle",togglePosition:"togglePosition"},outputs:{opened:"opened",closed:"closed",expandedChange:"expandedChange",afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],features:[i.Bb([{provide:I,useValue:void 0}]),i.zb,i.Ab],ngContentSelectors:L,decls:7,vars:4,consts:[["role","region",1,"mat-expansion-panel-content",3,"id"],["body",""],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(t,e){1&t&&(i.mc(P),i.lc(0),i.Tb(1,"div",0,1),i.bc("@bodyExpansion.done",function(t){return e._bodyAnimationDone.next(t)}),i.Tb(3,"div",2),i.lc(4,1),i.Fc(5,T,0,0,"ng-template",3),i.Sb(),i.lc(6,2),i.Sb()),2&t&&(i.Cb(1),i.nc("@bodyExpansion",e._getExpandedState())("id",e.id),i.Db("aria-labelledby",e._headerId),i.Cb(4),i.nc("cdkPortalOutlet",e._portal))},directives:[p.c],styles:[".mat-expansion-panel{box-sizing:content-box;display:block;margin:0;border-radius:4px;overflow:hidden;transition:margin 225ms cubic-bezier(0.4, 0, 0.2, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);position:relative}.mat-accordion .mat-expansion-panel:not(.mat-expanded),.mat-accordion .mat-expansion-panel:not(.mat-expansion-panel-spacing){border-radius:0}.mat-accordion .mat-expansion-panel:first-of-type{border-top-right-radius:4px;border-top-left-radius:4px}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:4px;border-bottom-left-radius:4px}.cdk-high-contrast-active .mat-expansion-panel{outline:solid 1px}.mat-expansion-panel.ng-animate-disabled,.ng-animate-disabled .mat-expansion-panel,.mat-expansion-panel._mat-animation-noopable{transition:none}.mat-expansion-panel-content{display:flex;flex-direction:column;overflow:visible}.mat-expansion-panel-body{padding:0 24px 16px}.mat-expansion-panel-spacing{margin:16px 0}.mat-accordion>.mat-expansion-panel-spacing:first-child,.mat-accordion>*:first-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-top:0}.mat-accordion>.mat-expansion-panel-spacing:last-child,.mat-accordion>*:last-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-bottom:0}.mat-action-row{border-top-style:solid;border-top-width:1px;display:flex;flex-direction:row;justify-content:flex-end;padding:16px 8px 16px 24px}.mat-action-row button.mat-button-base,.mat-action-row button.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-action-row button.mat-button-base,[dir=rtl] .mat-action-row button.mat-mdc-button-base{margin-left:0;margin-right:8px}\n"],encapsulation:2,data:{animation:[R.bodyExpansion]},changeDetection:0}),t})(),F=(()=>{class t{constructor(t,e,n,i,a,r){this.panel=t,this._element=e,this._focusMonitor=n,this._changeDetectorRef=i,this._animationMode=r,this._parentChangeSubscription=o.a.EMPTY;const s=t.accordion?t.accordion._stateChanges.pipe(Object(v.a)(t=>!(!t.hideToggle&&!t.togglePosition))):M.a;this._parentChangeSubscription=Object(O.a)(t.opened,t.closed,s,t._inputChanges.pipe(Object(v.a)(t=>!!(t.hideToggle||t.disabled||t.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),t.closed.pipe(Object(v.a)(()=>t._containsFocus())).subscribe(()=>n.focusVia(e,"program")),a&&(this.expandedHeight=a.expandedHeight,this.collapsedHeight=a.collapsedHeight)}get disabled(){return this.panel.disabled}_toggle(){this.disabled||this.panel.toggle()}_isExpanded(){return this.panel.expanded}_getExpandedState(){return this.panel._getExpandedState()}_getPanelId(){return this.panel.id}_getTogglePosition(){return this.panel.togglePosition}_showToggle(){return!this.panel.hideToggle&&!this.panel.disabled}_getHeaderHeight(){const t=this._isExpanded();return t&&this.expandedHeight?this.expandedHeight:!t&&this.collapsedHeight?this.collapsedHeight:null}_keydown(t){switch(t.keyCode){case w.m:case w.e:Object(w.r)(t)||(t.preventDefault(),this._toggle());break;default:return void(this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(t))}}focus(t,e){t?this._focusMonitor.focusVia(this._element,t,e):this._element.nativeElement.focus(e)}ngAfterViewInit(){this._focusMonitor.monitor(this._element).subscribe(t=>{t&&this.panel.accordion&&this.panel.accordion._handleHeaderFocus(this)})}ngOnDestroy(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(j,1),i.Nb(i.l),i.Nb(b.h),i.Nb(i.h),i.Nb(H,8),i.Nb(x.a,8))},t.\u0275cmp=i.Hb({type:t,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:15,hostBindings:function(t,e){1&t&&i.bc("click",function(){return e._toggle()})("keydown",function(t){return e._keydown(t)}),2&t&&(i.Db("id",e.panel._headerId)("tabindex",e.disabled?-1:0)("aria-controls",e._getPanelId())("aria-expanded",e._isExpanded())("aria-disabled",e.panel.disabled),i.Cc("height",e._getHeaderHeight()),i.Fb("mat-expanded",e._isExpanded())("mat-expansion-toggle-indicator-after","after"===e._getTogglePosition())("mat-expansion-toggle-indicator-before","before"===e._getTogglePosition())("_mat-animation-noopable","NoopAnimations"===e._animationMode))},inputs:{expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight"},ngContentSelectors:A,decls:5,vars:1,consts:[[1,"mat-content"],["class","mat-expansion-indicator",4,"ngIf"],[1,"mat-expansion-indicator"]],template:function(t,e){1&t&&(i.mc(E),i.Tb(0,"span",0),i.lc(1),i.lc(2,1),i.lc(3,2),i.Sb(),i.Fc(4,D,1,1,"span",1)),2&t&&(i.Cb(4),i.nc("ngIf",e._showToggle()))},directives:[f.l],styles:['.mat-expansion-panel-header{display:flex;flex-direction:row;align-items:center;padding:0 24px;border-radius:inherit;transition:height 225ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-expansion-panel-header._mat-animation-noopable{transition:none}.mat-expansion-panel-header:focus,.mat-expansion-panel-header:hover{outline:none}.mat-expansion-panel-header.mat-expanded:focus,.mat-expansion-panel-header.mat-expanded:hover{background:inherit}.mat-expansion-panel-header:not([aria-disabled=true]){cursor:pointer}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before{flex-direction:row-reverse}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 16px 0 0}[dir=rtl] .mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 0 0 16px}.mat-content{display:flex;flex:1;flex-direction:row;overflow:hidden}.mat-expansion-panel-header-title,.mat-expansion-panel-header-description{display:flex;flex-grow:1;margin-right:16px}[dir=rtl] .mat-expansion-panel-header-title,[dir=rtl] .mat-expansion-panel-header-description{margin-right:0;margin-left:16px}.mat-expansion-panel-header-description{flex-grow:2}.mat-expansion-indicator::after{border-style:solid;border-width:0 2px 2px 0;content:"";display:inline-block;padding:3px;transform:rotate(45deg);vertical-align:middle}\n'],encapsulation:2,data:{animation:[R.indicatorRotate]},changeDetection:0}),t})(),z=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.Ib({type:t,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"]}),t})(),V=(()=>{class t extends d{constructor(){super(...arguments),this._ownHeaders=new i.F,this._hideToggle=!1,this.displayMode="default",this.togglePosition="after"}get hideToggle(){return this._hideToggle}set hideToggle(t){this._hideToggle=Object(a.c)(t)}ngAfterContentInit(){this._headers.changes.pipe(Object(y.a)(this._headers)).subscribe(t=>{this._ownHeaders.reset(t.filter(t=>t.panel.accordion===this)),this._ownHeaders.notifyOnChanges()}),this._keyManager=new b.g(this._ownHeaders).withWrap().withHomeAndEnd()}_handleHeaderKeydown(t){this._keyManager.onKeydown(t)}_handleHeaderFocus(t){this._keyManager.updateActiveItem(t)}ngOnDestroy(){super.ngOnDestroy(),this._ownHeaders.destroy()}}return t.\u0275fac=function(e){return B(e||t)},t.\u0275dir=i.Ib({type:t,selectors:[["mat-accordion"]],contentQueries:function(t,e,n){if(1&t&&i.Gb(n,F,1),2&t){let t;i.uc(t=i.cc())&&(e._headers=t)}},hostAttrs:[1,"mat-accordion"],hostVars:2,hostBindings:function(t,e){2&t&&i.Fb("mat-accordion-multi",e.multi)},inputs:{multi:"multi",displayMode:"displayMode",togglePosition:"togglePosition",hideToggle:"hideToggle"},exportAs:["matAccordion"],features:[i.Bb([{provide:I,useExisting:t}]),i.zb]}),t})();const B=i.Vb(V);let W=(()=>{class t{}return t.\u0275mod=i.Lb({type:t}),t.\u0275inj=i.Kb({factory:function(e){return new(e||t)},imports:[[f.c,g.j,m,p.f]]}),t})()},oB13:function(t,e,n){"use strict";n.d(e,"a",function(){return d});var i=n("XNiG"),a=n("HDdC"),r=(n("7o/Q"),n("quSY")),o=n("x+ZX");class s extends a.a{constructor(t,e){super(),this.source=t,this.subjectFactory=e,this._refCount=0,this._isComplete=!1}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){const t=this._subject;return t&&!t.isStopped||(this._subject=this.subjectFactory()),this._subject}connect(){let t=this._connection;return t||(this._isComplete=!1,t=this._connection=new r.a,t.add(this.source.subscribe(new c(this.getSubject(),this))),t.closed&&(this._connection=null,t=r.a.EMPTY)),t}refCount(){return Object(o.a)()(this)}}const l=(()=>{const t=s.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:t._subscribe},_isComplete:{value:t._isComplete,writable:!0},getSubject:{value:t.getSubject},connect:{value:t.connect},refCount:{value:t.refCount}}})();class c extends i.b{constructor(t,e){super(t),this.connectable=e}_error(t){this._unsubscribe(),super._error(t)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const t=this.connectable;if(t){this.connectable=null;const e=t._connection;t._refCount=0,t._subject=null,t._connection=null,e&&e.unsubscribe()}}}function d(t,e){return function(n){let i;if(i="function"==typeof t?t:function(){return t},"function"==typeof e)return n.lift(new u(i,e));const a=Object.create(n,l);return a.source=n,a.subjectFactory=i,a}}class u{constructor(t,e){this.subjectFactory=t,this.selector=e}call(t,e){const{selector:n}=this,i=this.subjectFactory(),a=n(i).subscribe(t);return a.add(e.subscribe(i)),a}}},omvX:function(t,e,n){"use strict";n.d(e,"a",function(){return ge}),n.d(e,"b",function(){return _e});var i=n("8Y7J"),a=n("cUpR"),r=n("GS7A");function o(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function s(t){switch(t.length){case 0:return new r.d;case 1:return t[0];default:return new r.o(t)}}function l(t,e,n,i,a={},o={}){const s=[],l=[];let c=-1,d=null;if(i.forEach(t=>{const n=t.offset,i=n==c,u=i&&d||{};Object.keys(t).forEach(n=>{let i=n,l=t[n];if("offset"!==n)switch(i=e.normalizePropertyName(i,s),l){case r.p:l=a[n];break;case r.a:l=o[n];break;default:l=e.normalizeStyleValue(n,i,l,s)}u[i]=l}),i||l.push(u),d=u,c=n}),s.length){const t="\n - ";throw new Error(`Unable to animate due to the following errors:${t}${s.join(t)}`)}return l}function c(t,e,n,i){switch(e){case"start":t.onStart(()=>i(n&&d(n,"start",t)));break;case"done":t.onDone(()=>i(n&&d(n,"done",t)));break;case"destroy":t.onDestroy(()=>i(n&&d(n,"destroy",t)))}}function d(t,e,n){const i=n.totalTime,a=u(t.element,t.triggerName,t.fromState,t.toState,e||t.phaseName,null==i?t.totalTime:i,!!n.disabled),r=t._data;return null!=r&&(a._data=r),a}function u(t,e,n,i,a="",r=0,o){return{element:t,triggerName:e,fromState:n,toState:i,phaseName:a,totalTime:r,disabled:!!o}}function h(t,e,n){let i;return t instanceof Map?(i=t.get(e),i||t.set(e,i=n)):(i=t[e],i||(i=t[e]=n)),i}function m(t){const e=t.indexOf(":");return[t.substring(1,e),t.substr(e+1)]}let p=(t,e)=>!1,f=(t,e)=>!1,g=(t,e,n)=>[];const b=o();(b||"undefined"!=typeof Element)&&(p=(t,e)=>t.contains(e),f=(()=>{if(b||Element.prototype.matches)return(t,e)=>t.matches(e);{const t=Element.prototype,e=t.matchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector;return e?(t,n)=>e.apply(t,[n]):f}})(),g=(t,e,n)=>{let i=[];if(n){const n=t.querySelectorAll(e);for(let t=0;t<n.length;t++)i.push(n[t])}else{const n=t.querySelector(e);n&&i.push(n)}return i});let _=null,y=!1;function v(t){_||(_=("undefined"!=typeof document?document.body:null)||{},y=!!_.style&&"WebkitAppearance"in _.style);let e=!0;return _.style&&!function(t){return"ebkit"==t.substring(1,6)}(t)&&(e=t in _.style,!e&&y)&&(e="Webkit"+t.charAt(0).toUpperCase()+t.substr(1)in _.style),e}const C=f,w=p,x=g;function M(t){const e={};return Object.keys(t).forEach(n=>{const i=n.replace(/([a-z])([A-Z])/g,"$1-$2");e[i]=t[n]}),e}let O=(()=>{class t{validateStyleProperty(t){return v(t)}matchesElement(t,e){return C(t,e)}containsElement(t,e){return w(t,e)}query(t,e,n){return x(t,e,n)}computeStyle(t,e,n){return n||""}animate(t,e,n,i,a,o=[],s){return new r.d(n,i)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=i.Jb({token:t,factory:t.\u0275fac}),t})(),k=(()=>{class t{}return t.NOOP=new O,t})();function S(t){if("number"==typeof t)return t;const e=t.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:T(parseFloat(e[1]),e[2])}function T(t,e){switch(e){case"s":return 1e3*t;default:return t}}function P(t,e,n){return t.hasOwnProperty("duration")?t:function(t,e,n){let i,a=0,r="";if("string"==typeof t){const n=t.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===n)return e.push(`The provided timing value "${t}" is invalid.`),{duration:0,delay:0,easing:""};i=T(parseFloat(n[1]),n[2]);const o=n[3];null!=o&&(a=T(parseFloat(o),n[4]));const s=n[5];s&&(r=s)}else i=t;if(!n){let n=!1,r=e.length;i<0&&(e.push("Duration values below 0 are not allowed for this animation step."),n=!0),a<0&&(e.push("Delay values below 0 are not allowed for this animation step."),n=!0),n&&e.splice(r,0,`The provided timing value "${t}" is invalid.`)}return{duration:i,delay:a,easing:r}}(t,e,n)}function L(t,e={}){return Object.keys(t).forEach(n=>{e[n]=t[n]}),e}function D(t,e,n={}){if(e)for(let i in t)n[i]=t[i];else L(t,n);return n}function E(t,e,n){return n?e+":"+n+";":""}function A(t){let e="";for(let n=0;n<t.style.length;n++){const i=t.style.item(n);e+=E(0,i,t.style.getPropertyValue(i))}for(const n in t.style)t.style.hasOwnProperty(n)&&!n.startsWith("_")&&(e+=E(0,n.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),t.style[n]));t.setAttribute("style",e)}function I(t,e,n){t.style&&(Object.keys(e).forEach(i=>{const a=V(i);n&&!n.hasOwnProperty(i)&&(n[i]=t.style[a]),t.style[a]=e[i]}),o()&&A(t))}function R(t,e){t.style&&(Object.keys(e).forEach(e=>{const n=V(e);t.style[n]=""}),o()&&A(t))}function N(t){return Array.isArray(t)?1==t.length?t[0]:Object(r.j)(t):t}const Y=new RegExp("{{\\s*(.+?)\\s*}}","g");function H(t){let e=[];if("string"==typeof t){let n;for(;n=Y.exec(t);)e.push(n[1]);Y.lastIndex=0}return e}function j(t,e,n){const i=t.toString(),a=i.replace(Y,(t,i)=>{let a=e[i];return e.hasOwnProperty(i)||(n.push(`Please provide a value for the animation param ${i}`),a=""),a.toString()});return a==i?t:a}function F(t){const e=[];let n=t.next();for(;!n.done;)e.push(n.value),n=t.next();return e}const z=/-+([a-z0-9])/g;function V(t){return t.replace(z,(...t)=>t[1].toUpperCase())}function B(t,e){return 0===t||0===e}function W(t,e,n){const i=Object.keys(n);if(i.length&&e.length){let r=e[0],o=[];if(i.forEach(t=>{r.hasOwnProperty(t)||o.push(t),r[t]=n[t]}),o.length)for(var a=1;a<e.length;a++){let n=e[a];o.forEach(function(e){n[e]=q(t,e)})}}return e}function U(t,e,n){switch(e.type){case 7:return t.visitTrigger(e,n);case 0:return t.visitState(e,n);case 1:return t.visitTransition(e,n);case 2:return t.visitSequence(e,n);case 3:return t.visitGroup(e,n);case 4:return t.visitAnimate(e,n);case 5:return t.visitKeyframes(e,n);case 6:return t.visitStyle(e,n);case 8:return t.visitReference(e,n);case 9:return t.visitAnimateChild(e,n);case 10:return t.visitAnimateRef(e,n);case 11:return t.visitQuery(e,n);case 12:return t.visitStagger(e,n);default:throw new Error(`Unable to resolve animation metadata node #${e.type}`)}}function q(t,e){return window.getComputedStyle(t)[e]}function G(t,e){const n=[];return"string"==typeof t?t.split(/\s*,\s*/).forEach(t=>function(t,e,n){if(":"==t[0]){const i=function(t,e){switch(t){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(t,e)=>parseFloat(e)>parseFloat(t);case":decrement":return(t,e)=>parseFloat(e)<parseFloat(t);default:return e.push(`The transition alias value "${t}" is not supported`),"* => *"}}(t,n);if("function"==typeof i)return void e.push(i);t=i}const i=t.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==i||i.length<4)return n.push(`The provided transition expression "${t}" is not supported`),e;const a=i[1],r=i[2],o=i[3];e.push($(a,o)),"<"!=r[0]||"*"==a&&"*"==o||e.push($(o,a))}(t,n,e)):n.push(t),n}const J=new Set(["true","1"]),Z=new Set(["false","0"]);function $(t,e){const n=J.has(t)||Z.has(t),i=J.has(e)||Z.has(e);return(a,r)=>{let o="*"==t||t==a,s="*"==e||e==r;return!o&&n&&"boolean"==typeof a&&(o=a?J.has(t):Z.has(t)),!s&&i&&"boolean"==typeof r&&(s=r?J.has(e):Z.has(e)),o&&s}}const X=new RegExp("s*:selfs*,?","g");function K(t,e,n){return new Q(t).build(e,n)}class Q{constructor(t){this._driver=t}build(t,e){const n=new tt(e);return this._resetContextStyleTimingState(n),U(this,N(t),n)}_resetContextStyleTimingState(t){t.currentQuerySelector="",t.collectedStyles={},t.collectedStyles[""]={},t.currentTime=0}visitTrigger(t,e){let n=e.queryCount=0,i=e.depCount=0;const a=[],r=[];return"@"==t.name.charAt(0)&&e.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),t.definitions.forEach(t=>{if(this._resetContextStyleTimingState(e),0==t.type){const n=t,i=n.name;i.toString().split(/\s*,\s*/).forEach(t=>{n.name=t,a.push(this.visitState(n,e))}),n.name=i}else if(1==t.type){const a=this.visitTransition(t,e);n+=a.queryCount,i+=a.depCount,r.push(a)}else e.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:t.name,states:a,transitions:r,queryCount:n,depCount:i,options:null}}visitState(t,e){const n=this.visitStyle(t.styles,e),i=t.options&&t.options.params||null;if(n.containsDynamicStyles){const a=new Set,r=i||{};if(n.styles.forEach(t=>{if(et(t)){const e=t;Object.keys(e).forEach(t=>{H(e[t]).forEach(t=>{r.hasOwnProperty(t)||a.add(t)})})}}),a.size){const n=F(a.values());e.errors.push(`state("${t.name}", ...) must define default values for all the following style substitutions: ${n.join(", ")}`)}}return{type:0,name:t.name,style:n,options:i?{params:i}:null}}visitTransition(t,e){e.queryCount=0,e.depCount=0;const n=U(this,N(t.animation),e);return{type:1,matchers:G(t.expr,e.errors),animation:n,queryCount:e.queryCount,depCount:e.depCount,options:nt(t.options)}}visitSequence(t,e){return{type:2,steps:t.steps.map(t=>U(this,t,e)),options:nt(t.options)}}visitGroup(t,e){const n=e.currentTime;let i=0;const a=t.steps.map(t=>{e.currentTime=n;const a=U(this,t,e);return i=Math.max(i,e.currentTime),a});return e.currentTime=i,{type:3,steps:a,options:nt(t.options)}}visitAnimate(t,e){const n=function(t,e){let n=null;if(t.hasOwnProperty("duration"))n=t;else if("number"==typeof t)return it(P(t,e).duration,0,"");const i=t;if(i.split(/\s+/).some(t=>"{"==t.charAt(0)&&"{"==t.charAt(1))){const t=it(0,0,"");return t.dynamic=!0,t.strValue=i,t}return n=n||P(i,e),it(n.duration,n.delay,n.easing)}(t.timings,e.errors);let i;e.currentAnimateTimings=n;let a=t.styles?t.styles:Object(r.l)({});if(5==a.type)i=this.visitKeyframes(a,e);else{let a=t.styles,o=!1;if(!a){o=!0;const t={};n.easing&&(t.easing=n.easing),a=Object(r.l)(t)}e.currentTime+=n.duration+n.delay;const s=this.visitStyle(a,e);s.isEmptyStep=o,i=s}return e.currentAnimateTimings=null,{type:4,timings:n,style:i,options:null}}visitStyle(t,e){const n=this._makeStyleAst(t,e);return this._validateStyleAst(n,e),n}_makeStyleAst(t,e){const n=[];Array.isArray(t.styles)?t.styles.forEach(t=>{"string"==typeof t?t==r.a?n.push(t):e.errors.push(`The provided style string value ${t} is not allowed.`):n.push(t)}):n.push(t.styles);let i=!1,a=null;return n.forEach(t=>{if(et(t)){const e=t,n=e.easing;if(n&&(a=n,delete e.easing),!i)for(let t in e)if(e[t].toString().indexOf("{{")>=0){i=!0;break}}}),{type:6,styles:n,easing:a,offset:t.offset,containsDynamicStyles:i,options:null}}_validateStyleAst(t,e){const n=e.currentAnimateTimings;let i=e.currentTime,a=e.currentTime;n&&a>0&&(a-=n.duration+n.delay),t.styles.forEach(t=>{"string"!=typeof t&&Object.keys(t).forEach(n=>{if(!this._driver.validateStyleProperty(n))return void e.errors.push(`The provided animation property "${n}" is not a supported CSS property for animations`);const r=e.collectedStyles[e.currentQuerySelector],o=r[n];let s=!0;o&&(a!=i&&a>=o.startTime&&i<=o.endTime&&(e.errors.push(`The CSS property "${n}" that exists between the times of "${o.startTime}ms" and "${o.endTime}ms" is also being animated in a parallel animation between the times of "${a}ms" and "${i}ms"`),s=!1),a=o.startTime),s&&(r[n]={startTime:a,endTime:i}),e.options&&function(t,e,n){const i=e.params||{},a=H(t);a.length&&a.forEach(t=>{i.hasOwnProperty(t)||n.push(`Unable to resolve the local animation param ${t} in the given list of values`)})}(t[n],e.options,e.errors)})})}visitKeyframes(t,e){const n={type:5,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push("keyframes() must be placed inside of a call to animate()"),n;let i=0;const a=[];let r=!1,o=!1,s=0;const l=t.steps.map(t=>{const n=this._makeStyleAst(t,e);let l=null!=n.offset?n.offset:function(t){if("string"==typeof t)return null;let e=null;if(Array.isArray(t))t.forEach(t=>{if(et(t)&&t.hasOwnProperty("offset")){const n=t;e=parseFloat(n.offset),delete n.offset}});else if(et(t)&&t.hasOwnProperty("offset")){const n=t;e=parseFloat(n.offset),delete n.offset}return e}(n.styles),c=0;return null!=l&&(i++,c=n.offset=l),o=o||c<0||c>1,r=r||c<s,s=c,a.push(c),n});o&&e.errors.push("Please ensure that all keyframe offsets are between 0 and 1"),r&&e.errors.push("Please ensure that all keyframe offsets are in order");const c=t.steps.length;let d=0;i>0&&i<c?e.errors.push("Not all style() steps within the declared keyframes() contain offsets"):0==i&&(d=1/(c-1));const u=c-1,h=e.currentTime,m=e.currentAnimateTimings,p=m.duration;return l.forEach((t,i)=>{const r=d>0?i==u?1:d*i:a[i],o=r*p;e.currentTime=h+m.delay+o,m.duration=o,this._validateStyleAst(t,e),t.offset=r,n.styles.push(t)}),n}visitReference(t,e){return{type:8,animation:U(this,N(t.animation),e),options:nt(t.options)}}visitAnimateChild(t,e){return e.depCount++,{type:9,options:nt(t.options)}}visitAnimateRef(t,e){return{type:10,animation:this.visitReference(t.animation,e),options:nt(t.options)}}visitQuery(t,e){const n=e.currentQuerySelector,i=t.options||{};e.queryCount++,e.currentQuery=t;const[a,r]=function(t){const e=!!t.split(/\s*,\s*/).find(t=>":self"==t);return e&&(t=t.replace(X,"")),[t=t.replace(/@\*/g,".ng-trigger").replace(/@\w+/g,t=>".ng-trigger-"+t.substr(1)).replace(/:animating/g,".ng-animating"),e]}(t.selector);e.currentQuerySelector=n.length?n+" "+a:a,h(e.collectedStyles,e.currentQuerySelector,{});const o=U(this,N(t.animation),e);return e.currentQuery=null,e.currentQuerySelector=n,{type:11,selector:a,limit:i.limit||0,optional:!!i.optional,includeSelf:r,animation:o,originalSelector:t.selector,options:nt(t.options)}}visitStagger(t,e){e.currentQuery||e.errors.push("stagger() can only be used inside of query()");const n="full"===t.timings?{duration:0,delay:0,easing:"full"}:P(t.timings,e.errors,!0);return{type:12,animation:U(this,N(t.animation),e),timings:n,options:null}}}class tt{constructor(t){this.errors=t,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null}}function et(t){return!Array.isArray(t)&&"object"==typeof t}function nt(t){var e;return t?(t=L(t)).params&&(t.params=(e=t.params)?L(e):null):t={},t}function it(t,e,n){return{duration:t,delay:e,easing:n}}function at(t,e,n,i,a,r,o=null,s=!1){return{type:1,element:t,keyframes:e,preStyleProps:n,postStyleProps:i,duration:a,delay:r,totalTime:a+r,easing:o,subTimeline:s}}class rt{constructor(){this._map=new Map}consume(t){let e=this._map.get(t);return e?this._map.delete(t):e=[],e}append(t,e){let n=this._map.get(t);n||this._map.set(t,n=[]),n.push(...e)}has(t){return this._map.has(t)}clear(){this._map.clear()}}const ot=new RegExp(":enter","g"),st=new RegExp(":leave","g");function lt(t,e,n,i,a,r={},o={},s,l,c=[]){return(new ct).buildKeyframes(t,e,n,i,a,r,o,s,l,c)}class ct{buildKeyframes(t,e,n,i,a,r,o,s,l,c=[]){l=l||new rt;const d=new ut(t,e,l,i,a,c,[]);d.options=s,d.currentTimeline.setStyles([r],null,d.errors,s),U(this,n,d);const u=d.timelines.filter(t=>t.containsAnimation());if(u.length&&Object.keys(o).length){const t=u[u.length-1];t.allowOnlyTimelineStyles()||t.setStyles([o],null,d.errors,s)}return u.length?u.map(t=>t.buildKeyframes()):[at(e,[],[],[],0,0,"",!1)]}visitTrigger(t,e){}visitState(t,e){}visitTransition(t,e){}visitAnimateChild(t,e){const n=e.subInstructions.consume(e.element);if(n){const i=e.createSubContext(t.options),a=e.currentTimeline.currentTime,r=this._visitSubInstructions(n,i,i.options);a!=r&&e.transformIntoNewTimeline(r)}e.previousNode=t}visitAnimateRef(t,e){const n=e.createSubContext(t.options);n.transformIntoNewTimeline(),this.visitReference(t.animation,n),e.transformIntoNewTimeline(n.currentTimeline.currentTime),e.previousNode=t}_visitSubInstructions(t,e,n){let i=e.currentTimeline.currentTime;const a=null!=n.duration?S(n.duration):null,r=null!=n.delay?S(n.delay):null;return 0!==a&&t.forEach(t=>{const n=e.appendInstructionToTimeline(t,a,r);i=Math.max(i,n.duration+n.delay)}),i}visitReference(t,e){e.updateOptions(t.options,!0),U(this,t.animation,e),e.previousNode=t}visitSequence(t,e){const n=e.subContextCount;let i=e;const a=t.options;if(a&&(a.params||a.delay)&&(i=e.createSubContext(a),i.transformIntoNewTimeline(),null!=a.delay)){6==i.previousNode.type&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=dt);const t=S(a.delay);i.delayNextStep(t)}t.steps.length&&(t.steps.forEach(t=>U(this,t,i)),i.currentTimeline.applyStylesToKeyframe(),i.subContextCount>n&&i.transformIntoNewTimeline()),e.previousNode=t}visitGroup(t,e){const n=[];let i=e.currentTimeline.currentTime;const a=t.options&&t.options.delay?S(t.options.delay):0;t.steps.forEach(r=>{const o=e.createSubContext(t.options);a&&o.delayNextStep(a),U(this,r,o),i=Math.max(i,o.currentTimeline.currentTime),n.push(o.currentTimeline)}),n.forEach(t=>e.currentTimeline.mergeTimelineCollectedStyles(t)),e.transformIntoNewTimeline(i),e.previousNode=t}_visitTiming(t,e){if(t.dynamic){const n=t.strValue;return P(e.params?j(n,e.params,e.errors):n,e.errors)}return{duration:t.duration,delay:t.delay,easing:t.easing}}visitAnimate(t,e){const n=e.currentAnimateTimings=this._visitTiming(t.timings,e),i=e.currentTimeline;n.delay&&(e.incrementTime(n.delay),i.snapshotCurrentStyles());const a=t.style;5==a.type?this.visitKeyframes(a,e):(e.incrementTime(n.duration),this.visitStyle(a,e),i.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=t}visitStyle(t,e){const n=e.currentTimeline,i=e.currentAnimateTimings;!i&&n.getCurrentStyleProperties().length&&n.forwardFrame();const a=i&&i.easing||t.easing;t.isEmptyStep?n.applyEmptyStep(a):n.setStyles(t.styles,a,e.errors,e.options),e.previousNode=t}visitKeyframes(t,e){const n=e.currentAnimateTimings,i=e.currentTimeline.duration,a=n.duration,r=e.createSubContext().currentTimeline;r.easing=n.easing,t.styles.forEach(t=>{r.forwardTime((t.offset||0)*a),r.setStyles(t.styles,t.easing,e.errors,e.options),r.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(r),e.transformIntoNewTimeline(i+a),e.previousNode=t}visitQuery(t,e){const n=e.currentTimeline.currentTime,i=t.options||{},a=i.delay?S(i.delay):0;a&&(6===e.previousNode.type||0==n&&e.currentTimeline.getCurrentStyleProperties().length)&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=dt);let r=n;const o=e.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!i.optional,e.errors);e.currentQueryTotal=o.length;let s=null;o.forEach((n,i)=>{e.currentQueryIndex=i;const o=e.createSubContext(t.options,n);a&&o.delayNextStep(a),n===e.element&&(s=o.currentTimeline),U(this,t.animation,o),o.currentTimeline.applyStylesToKeyframe(),r=Math.max(r,o.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(r),s&&(e.currentTimeline.mergeTimelineCollectedStyles(s),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=t}visitStagger(t,e){const n=e.parentContext,i=e.currentTimeline,a=t.timings,r=Math.abs(a.duration),o=r*(e.currentQueryTotal-1);let s=r*e.currentQueryIndex;switch(a.duration<0?"reverse":a.easing){case"reverse":s=o-s;break;case"full":s=n.currentStaggerTime}const l=e.currentTimeline;s&&l.delayNextStep(s);const c=l.currentTime;U(this,t.animation,e),e.previousNode=t,n.currentStaggerTime=i.currentTime-c+(i.startTime-n.currentTimeline.startTime)}}const dt={};class ut{constructor(t,e,n,i,a,r,o,s){this._driver=t,this.element=e,this.subInstructions=n,this._enterClassName=i,this._leaveClassName=a,this.errors=r,this.timelines=o,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=dt,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=s||new ht(this._driver,e,0),o.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(t,e){if(!t)return;const n=t;let i=this.options;null!=n.duration&&(i.duration=S(n.duration)),null!=n.delay&&(i.delay=S(n.delay));const a=n.params;if(a){let t=i.params;t||(t=this.options.params={}),Object.keys(a).forEach(n=>{e&&t.hasOwnProperty(n)||(t[n]=j(a[n],t,this.errors))})}}_copyOptions(){const t={};if(this.options){const e=this.options.params;if(e){const n=t.params={};Object.keys(e).forEach(t=>{n[t]=e[t]})}}return t}createSubContext(t=null,e,n){const i=e||this.element,a=new ut(this._driver,i,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(i,n||0));return a.previousNode=this.previousNode,a.currentAnimateTimings=this.currentAnimateTimings,a.options=this._copyOptions(),a.updateOptions(t),a.currentQueryIndex=this.currentQueryIndex,a.currentQueryTotal=this.currentQueryTotal,a.parentContext=this,this.subContextCount++,a}transformIntoNewTimeline(t){return this.previousNode=dt,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(t,e,n){const i={duration:null!=e?e:t.duration,delay:this.currentTimeline.currentTime+(null!=n?n:0)+t.delay,easing:""},a=new mt(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,i,t.stretchStartingKeyframe);return this.timelines.push(a),i}incrementTime(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}delayNextStep(t){t>0&&this.currentTimeline.delayNextStep(t)}invokeQuery(t,e,n,i,a,r){let o=[];if(i&&o.push(this.element),t.length>0){t=(t=t.replace(ot,"."+this._enterClassName)).replace(st,"."+this._leaveClassName);let e=this._driver.query(this.element,t,1!=n);0!==n&&(e=n<0?e.slice(e.length+n,e.length):e.slice(0,n)),o.push(...e)}return a||0!=o.length||r.push(`\`query("${e}")\` returned zero elements. (Use \`query("${e}", { optional: true })\` if you wish to allow this.)`),o}}class ht{constructor(t,e,n,i){this._driver=t,this.element=e,this.startTime=n,this._elementTimelineStylesLookup=i,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(e),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(e,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}getCurrentStyleProperties(){return Object.keys(this._currentKeyframe)}get currentTime(){return this.startTime+this.duration}delayNextStep(t){const e=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||e?(this.forwardTime(this.currentTime+t),e&&this.snapshotCurrentStyles()):this.startTime+=t}fork(t,e){return this.applyStylesToKeyframe(),new ht(this._driver,t,e||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()}_updateStyle(t,e){this._localTimelineStyles[t]=e,this._globalTimelineStyles[t]=e,this._styleSummary[t]={time:this.currentTime,value:e}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(t){t&&(this._previousKeyframe.easing=t),Object.keys(this._globalTimelineStyles).forEach(t=>{this._backFill[t]=this._globalTimelineStyles[t]||r.a,this._currentKeyframe[t]=r.a}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(t,e,n,i){e&&(this._previousKeyframe.easing=e);const a=i&&i.params||{},o=function(t,e){const n={};let i;return t.forEach(t=>{"*"===t?(i=i||Object.keys(e),i.forEach(t=>{n[t]=r.a})):D(t,!1,n)}),n}(t,this._globalTimelineStyles);Object.keys(o).forEach(t=>{const e=j(o[t],a,n);this._pendingStyles[t]=e,this._localTimelineStyles.hasOwnProperty(t)||(this._backFill[t]=this._globalTimelineStyles.hasOwnProperty(t)?this._globalTimelineStyles[t]:r.a),this._updateStyle(t,e)})}applyStylesToKeyframe(){const t=this._pendingStyles,e=Object.keys(t);0!=e.length&&(this._pendingStyles={},e.forEach(e=>{this._currentKeyframe[e]=t[e]}),Object.keys(this._localTimelineStyles).forEach(t=>{this._currentKeyframe.hasOwnProperty(t)||(this._currentKeyframe[t]=this._localTimelineStyles[t])}))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach(t=>{const e=this._localTimelineStyles[t];this._pendingStyles[t]=e,this._updateStyle(t,e)})}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const t=[];for(let e in this._currentKeyframe)t.push(e);return t}mergeTimelineCollectedStyles(t){Object.keys(t._styleSummary).forEach(e=>{const n=this._styleSummary[e],i=t._styleSummary[e];(!n||i.time>n.time)&&this._updateStyle(e,i.value)})}buildKeyframes(){this.applyStylesToKeyframe();const t=new Set,e=new Set,n=1===this._keyframes.size&&0===this.duration;let i=[];this._keyframes.forEach((a,o)=>{const s=D(a,!0);Object.keys(s).forEach(n=>{const i=s[n];i==r.p?t.add(n):i==r.a&&e.add(n)}),n||(s.offset=o/this.duration),i.push(s)});const a=t.size?F(t.values()):[],o=e.size?F(e.values()):[];if(n){const t=i[0],e=L(t);t.offset=0,e.offset=1,i=[t,e]}return at(this.element,i,a,o,this.duration,this.startTime,this.easing,!1)}}class mt extends ht{constructor(t,e,n,i,a,r,o=!1){super(t,e,r.delay),this.element=e,this.keyframes=n,this.preStyleProps=i,this.postStyleProps=a,this._stretchStartingKeyframe=o,this.timings={duration:r.duration,delay:r.delay,easing:r.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let t=this.keyframes,{delay:e,duration:n,easing:i}=this.timings;if(this._stretchStartingKeyframe&&e){const a=[],r=n+e,o=e/r,s=D(t[0],!1);s.offset=0,a.push(s);const l=D(t[0],!1);l.offset=pt(o),a.push(l);const c=t.length-1;for(let i=1;i<=c;i++){let o=D(t[i],!1);o.offset=pt((e+o.offset*n)/r),a.push(o)}n=r,e=0,i="",t=a}return at(this.element,t,this.preStyleProps,this.postStyleProps,n,e,i,!0)}}function pt(t,e=3){const n=Math.pow(10,e-1);return Math.round(t*n)/n}class ft{}class gt extends ft{normalizePropertyName(t,e){return V(t)}normalizeStyleValue(t,e,n,i){let a="";const r=n.toString().trim();if(bt[e]&&0!==n&&"0"!==n)if("number"==typeof n)a="px";else{const e=n.match(/^[+-]?[\d\.]+([a-z]*)$/);e&&0==e[1].length&&i.push(`Please provide a CSS unit value for ${t}:${n}`)}return r+a}}const bt=(()=>function(t){const e={};return t.forEach(t=>e[t]=!0),e}("width,height,minWidth,minHeight,maxWidth,maxHeight,left,top,bottom,right,fontSize,outlineWidth,outlineOffset,paddingTop,paddingLeft,paddingBottom,paddingRight,marginTop,marginLeft,marginBottom,marginRight,borderRadius,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,textIndent,perspective".split(",")))();function _t(t,e,n,i,a,r,o,s,l,c,d,u,h){return{type:0,element:t,triggerName:e,isRemovalTransition:a,fromState:n,fromStyles:r,toState:i,toStyles:o,timelines:s,queriedElements:l,preStyleProps:c,postStyleProps:d,totalTime:u,errors:h}}const yt={};class vt{constructor(t,e,n){this._triggerName=t,this.ast=e,this._stateStyles=n}match(t,e,n,i){return function(t,e,n,i,a){return t.some(t=>t(e,n,i,a))}(this.ast.matchers,t,e,n,i)}buildStyles(t,e,n){const i=this._stateStyles["*"],a=this._stateStyles[t],r=i?i.buildStyles(e,n):{};return a?a.buildStyles(e,n):r}build(t,e,n,i,a,r,o,s,l,c){const d=[],u=this.ast.options&&this.ast.options.params||yt,m=this.buildStyles(n,o&&o.params||yt,d),p=s&&s.params||yt,f=this.buildStyles(i,p,d),g=new Set,b=new Map,_=new Map,y="void"===i,v={params:Object.assign(Object.assign({},u),p)},C=c?[]:lt(t,e,this.ast.animation,a,r,m,f,v,l,d);let w=0;if(C.forEach(t=>{w=Math.max(t.duration+t.delay,w)}),d.length)return _t(e,this._triggerName,n,i,y,m,f,[],[],b,_,w,d);C.forEach(t=>{const n=t.element,i=h(b,n,{});t.preStyleProps.forEach(t=>i[t]=!0);const a=h(_,n,{});t.postStyleProps.forEach(t=>a[t]=!0),n!==e&&g.add(n)});const x=F(g.values());return _t(e,this._triggerName,n,i,y,m,f,C,x,b,_,w)}}class Ct{constructor(t,e){this.styles=t,this.defaultParams=e}buildStyles(t,e){const n={},i=L(this.defaultParams);return Object.keys(t).forEach(e=>{const n=t[e];null!=n&&(i[e]=n)}),this.styles.styles.forEach(t=>{if("string"!=typeof t){const a=t;Object.keys(a).forEach(t=>{let r=a[t];r.length>1&&(r=j(r,i,e)),n[t]=r})}}),n}}class wt{constructor(t,e){this.name=t,this.ast=e,this.transitionFactories=[],this.states={},e.states.forEach(t=>{this.states[t.name]=new Ct(t.style,t.options&&t.options.params||{})}),xt(this.states,"true","1"),xt(this.states,"false","0"),e.transitions.forEach(e=>{this.transitionFactories.push(new vt(t,e,this.states))}),this.fallbackTransition=new vt(t,{type:1,animation:{type:2,steps:[],options:null},matchers:[(t,e)=>!0],options:null,queryCount:0,depCount:0},this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(t,e,n,i){return this.transitionFactories.find(a=>a.match(t,e,n,i))||null}matchStyles(t,e,n){return this.fallbackTransition.buildStyles(t,e,n)}}function xt(t,e,n){t.hasOwnProperty(e)?t.hasOwnProperty(n)||(t[n]=t[e]):t.hasOwnProperty(n)&&(t[e]=t[n])}const Mt=new rt;class Ot{constructor(t,e,n){this.bodyNode=t,this._driver=e,this._normalizer=n,this._animations={},this._playersById={},this.players=[]}register(t,e){const n=[],i=K(this._driver,e,n);if(n.length)throw new Error(`Unable to build the animation due to the following errors: ${n.join("\n")}`);this._animations[t]=i}_buildPlayer(t,e,n){const i=t.element,a=l(0,this._normalizer,0,t.keyframes,e,n);return this._driver.animate(i,a,t.duration,t.delay,t.easing,[],!0)}create(t,e,n={}){const i=[],a=this._animations[t];let o;const l=new Map;if(a?(o=lt(this._driver,e,a,"ng-enter","ng-leave",{},{},n,Mt,i),o.forEach(t=>{const e=h(l,t.element,{});t.postStyleProps.forEach(t=>e[t]=null)})):(i.push("The requested animation doesn't exist or has already been destroyed"),o=[]),i.length)throw new Error(`Unable to create the animation due to the following errors: ${i.join("\n")}`);l.forEach((t,e)=>{Object.keys(t).forEach(n=>{t[n]=this._driver.computeStyle(e,n,r.a)})});const c=s(o.map(t=>{const e=l.get(t.element);return this._buildPlayer(t,{},e)}));return this._playersById[t]=c,c.onDestroy(()=>this.destroy(t)),this.players.push(c),c}destroy(t){const e=this._getPlayer(t);e.destroy(),delete this._playersById[t];const n=this.players.indexOf(e);n>=0&&this.players.splice(n,1)}_getPlayer(t){const e=this._playersById[t];if(!e)throw new Error(`Unable to find the timeline player referenced by ${t}`);return e}listen(t,e,n,i){const a=u(e,"","","");return c(this._getPlayer(t),n,a,i),()=>{}}command(t,e,n,i){if("register"==n)return void this.register(t,i[0]);if("create"==n)return void this.create(t,e,i[0]||{});const a=this._getPlayer(t);switch(n){case"play":a.play();break;case"pause":a.pause();break;case"reset":a.reset();break;case"restart":a.restart();break;case"finish":a.finish();break;case"init":a.init();break;case"setPosition":a.setPosition(parseFloat(i[0]));break;case"destroy":this.destroy(t)}}}const kt=[],St={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Tt={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0};class Pt{constructor(t,e=""){this.namespaceId=e;const n=t&&t.hasOwnProperty("value");if(this.value=null!=(i=n?t.value:t)?i:null,n){const e=L(t);delete e.value,this.options=e}else this.options={};var i;this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(t){const e=t.params;if(e){const t=this.options.params;Object.keys(e).forEach(n=>{null==t[n]&&(t[n]=e[n])})}}}const Lt=new Pt("void");class Dt{constructor(t,e,n){this.id=t,this.hostElement=e,this._engine=n,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+t,Ht(e,this._hostClassName)}listen(t,e,n,i){if(!this._triggers.hasOwnProperty(e))throw new Error(`Unable to listen on the animation trigger event "${n}" because the animation trigger "${e}" doesn't exist!`);if(null==n||0==n.length)throw new Error(`Unable to listen on the animation trigger "${e}" because the provided event is undefined!`);if("start"!=(a=n)&&"done"!=a)throw new Error(`The provided animation trigger event "${n}" for the animation trigger "${e}" is not supported!`);var a;const r=h(this._elementListeners,t,[]),o={name:e,phase:n,callback:i};r.push(o);const s=h(this._engine.statesByElement,t,{});return s.hasOwnProperty(e)||(Ht(t,"ng-trigger"),Ht(t,"ng-trigger-"+e),s[e]=Lt),()=>{this._engine.afterFlush(()=>{const t=r.indexOf(o);t>=0&&r.splice(t,1),this._triggers[e]||delete s[e]})}}register(t,e){return!this._triggers[t]&&(this._triggers[t]=e,!0)}_getTrigger(t){const e=this._triggers[t];if(!e)throw new Error(`The provided animation trigger "${t}" has not been registered!`);return e}trigger(t,e,n,i=!0){const a=this._getTrigger(e),r=new At(this.id,e,t);let o=this._engine.statesByElement.get(t);o||(Ht(t,"ng-trigger"),Ht(t,"ng-trigger-"+e),this._engine.statesByElement.set(t,o={}));let s=o[e];const l=new Pt(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&s&&l.absorbOptions(s.options),o[e]=l,s||(s=Lt),"void"!==l.value&&s.value===l.value){if(!function(t,e){const n=Object.keys(t),i=Object.keys(e);if(n.length!=i.length)return!1;for(let a=0;a<n.length;a++){const i=n[a];if(!e.hasOwnProperty(i)||t[i]!==e[i])return!1}return!0}(s.params,l.params)){const e=[],n=a.matchStyles(s.value,s.params,e),i=a.matchStyles(l.value,l.params,e);e.length?this._engine.reportError(e):this._engine.afterFlush(()=>{R(t,n),I(t,i)})}return}const c=h(this._engine.playersByElement,t,[]);c.forEach(t=>{t.namespaceId==this.id&&t.triggerName==e&&t.queued&&t.destroy()});let d=a.matchTransition(s.value,l.value,t,l.params),u=!1;if(!d){if(!i)return;d=a.fallbackTransition,u=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:e,transition:d,fromState:s,toState:l,player:r,isFallbackTransition:u}),u||(Ht(t,"ng-animate-queued"),r.onStart(()=>{jt(t,"ng-animate-queued")})),r.onDone(()=>{let e=this.players.indexOf(r);e>=0&&this.players.splice(e,1);const n=this._engine.playersByElement.get(t);if(n){let t=n.indexOf(r);t>=0&&n.splice(t,1)}}),this.players.push(r),c.push(r),r}deregister(t){delete this._triggers[t],this._engine.statesByElement.forEach((e,n)=>{delete e[t]}),this._elementListeners.forEach((e,n)=>{this._elementListeners.set(n,e.filter(e=>e.name!=t))})}clearElementCache(t){this._engine.statesByElement.delete(t),this._elementListeners.delete(t);const e=this._engine.playersByElement.get(t);e&&(e.forEach(t=>t.destroy()),this._engine.playersByElement.delete(t))}_signalRemovalForInnerTriggers(t,e){const n=this._engine.driver.query(t,".ng-trigger",!0);n.forEach(t=>{if(t.__ng_removed)return;const n=this._engine.fetchNamespacesByElement(t);n.size?n.forEach(n=>n.triggerLeaveAnimation(t,e,!1,!0)):this.clearElementCache(t)}),this._engine.afterFlushAnimationsDone(()=>n.forEach(t=>this.clearElementCache(t)))}triggerLeaveAnimation(t,e,n,i){const a=this._engine.statesByElement.get(t);if(a){const r=[];if(Object.keys(a).forEach(e=>{if(this._triggers[e]){const n=this.trigger(t,e,"void",i);n&&r.push(n)}}),r.length)return this._engine.markElementAsRemoved(this.id,t,!0,e),n&&s(r).onDone(()=>this._engine.processLeaveNode(t)),!0}return!1}prepareLeaveAnimationListeners(t){const e=this._elementListeners.get(t);if(e){const n=new Set;e.forEach(e=>{const i=e.name;if(n.has(i))return;n.add(i);const a=this._triggers[i].fallbackTransition,r=this._engine.statesByElement.get(t)[i]||Lt,o=new Pt("void"),s=new At(this.id,i,t);this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:i,transition:a,fromState:r,toState:o,player:s,isFallbackTransition:!0})})}}removeNode(t,e){const n=this._engine;if(t.childElementCount&&this._signalRemovalForInnerTriggers(t,e),this.triggerLeaveAnimation(t,e,!0))return;let i=!1;if(n.totalAnimations){const e=n.players.length?n.playersByQueriedElement.get(t):[];if(e&&e.length)i=!0;else{let e=t;for(;e=e.parentNode;)if(n.statesByElement.get(e)){i=!0;break}}}if(this.prepareLeaveAnimationListeners(t),i)n.markElementAsRemoved(this.id,t,!1,e);else{const i=t.__ng_removed;i&&i!==St||(n.afterFlush(()=>this.clearElementCache(t)),n.destroyInnerAnimations(t),n._onRemovalComplete(t,e))}}insertNode(t,e){Ht(t,this._hostClassName)}drainQueuedTransitions(t){const e=[];return this._queue.forEach(n=>{const i=n.player;if(i.destroyed)return;const a=n.element,r=this._elementListeners.get(a);r&&r.forEach(e=>{if(e.name==n.triggerName){const i=u(a,n.triggerName,n.fromState.value,n.toState.value);i._data=t,c(n.player,e.phase,i,e.callback)}}),i.markedForDestroy?this._engine.afterFlush(()=>{i.destroy()}):e.push(n)}),this._queue=[],e.sort((t,e)=>{const n=t.transition.ast.depCount,i=e.transition.ast.depCount;return 0==n||0==i?n-i:this._engine.driver.containsElement(t.element,e.element)?1:-1})}destroy(t){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,t)}elementContainsData(t){let e=!1;return this._elementListeners.has(t)&&(e=!0),e=!!this._queue.find(e=>e.element===t)||e,e}}class Et{constructor(t,e,n){this.bodyNode=t,this.driver=e,this._normalizer=n,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(t,e)=>{}}_onRemovalComplete(t,e){this.onRemovalComplete(t,e)}get queuedPlayers(){const t=[];return this._namespaceList.forEach(e=>{e.players.forEach(e=>{e.queued&&t.push(e)})}),t}createNamespace(t,e){const n=new Dt(t,e,this);return e.parentNode?this._balanceNamespaceList(n,e):(this.newHostElements.set(e,n),this.collectEnterElement(e)),this._namespaceLookup[t]=n}_balanceNamespaceList(t,e){const n=this._namespaceList.length-1;if(n>=0){let i=!1;for(let a=n;a>=0;a--)if(this.driver.containsElement(this._namespaceList[a].hostElement,e)){this._namespaceList.splice(a+1,0,t),i=!0;break}i||this._namespaceList.splice(0,0,t)}else this._namespaceList.push(t);return this.namespacesByHostElement.set(e,t),t}register(t,e){let n=this._namespaceLookup[t];return n||(n=this.createNamespace(t,e)),n}registerTrigger(t,e,n){let i=this._namespaceLookup[t];i&&i.register(e,n)&&this.totalAnimations++}destroy(t,e){if(!t)return;const n=this._fetchNamespace(t);this.afterFlush(()=>{this.namespacesByHostElement.delete(n.hostElement),delete this._namespaceLookup[t];const e=this._namespaceList.indexOf(n);e>=0&&this._namespaceList.splice(e,1)}),this.afterFlushAnimationsDone(()=>n.destroy(e))}_fetchNamespace(t){return this._namespaceLookup[t]}fetchNamespacesByElement(t){const e=new Set,n=this.statesByElement.get(t);if(n){const t=Object.keys(n);for(let i=0;i<t.length;i++){const a=n[t[i]].namespaceId;if(a){const t=this._fetchNamespace(a);t&&e.add(t)}}}return e}trigger(t,e,n,i){if(It(e)){const a=this._fetchNamespace(t);if(a)return a.trigger(e,n,i),!0}return!1}insertNode(t,e,n,i){if(!It(e))return;const a=e.__ng_removed;if(a&&a.setForRemoval){a.setForRemoval=!1,a.setForMove=!0;const t=this.collectedLeaveElements.indexOf(e);t>=0&&this.collectedLeaveElements.splice(t,1)}if(t){const i=this._fetchNamespace(t);i&&i.insertNode(e,n)}i&&this.collectEnterElement(e)}collectEnterElement(t){this.collectedEnterElements.push(t)}markElementAsDisabled(t,e){e?this.disabledNodes.has(t)||(this.disabledNodes.add(t),Ht(t,"ng-animate-disabled")):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),jt(t,"ng-animate-disabled"))}removeNode(t,e,n,i){if(It(e)){const a=t?this._fetchNamespace(t):null;if(a?a.removeNode(e,i):this.markElementAsRemoved(t,e,!1,i),n){const n=this.namespacesByHostElement.get(e);n&&n.id!==t&&n.removeNode(e,i)}}else this._onRemovalComplete(e,i)}markElementAsRemoved(t,e,n,i){this.collectedLeaveElements.push(e),e.__ng_removed={namespaceId:t,setForRemoval:i,hasAnimation:n,removedBeforeQueried:!1}}listen(t,e,n,i,a){return It(e)?this._fetchNamespace(t).listen(e,n,i,a):()=>{}}_buildInstruction(t,e,n,i,a){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,n,i,t.fromState.options,t.toState.options,e,a)}destroyInnerAnimations(t){let e=this.driver.query(t,".ng-trigger",!0);e.forEach(t=>this.destroyActiveAnimationsForElement(t)),0!=this.playersByQueriedElement.size&&(e=this.driver.query(t,".ng-animating",!0),e.forEach(t=>this.finishActiveQueriedAnimationOnElement(t)))}destroyActiveAnimationsForElement(t){const e=this.playersByElement.get(t);e&&e.forEach(t=>{t.queued?t.markedForDestroy=!0:t.destroy()})}finishActiveQueriedAnimationOnElement(t){const e=this.playersByQueriedElement.get(t);e&&e.forEach(t=>t.finish())}whenRenderingDone(){return new Promise(t=>{if(this.players.length)return s(this.players).onDone(()=>t());t()})}processLeaveNode(t){const e=t.__ng_removed;if(e&&e.setForRemoval){if(t.__ng_removed=St,e.namespaceId){this.destroyInnerAnimations(t);const n=this._fetchNamespace(e.namespaceId);n&&n.clearElementCache(t)}this._onRemovalComplete(t,e.setForRemoval)}this.driver.matchesElement(t,".ng-animate-disabled")&&this.markElementAsDisabled(t,!1),this.driver.query(t,".ng-animate-disabled",!0).forEach(t=>{this.markElementAsDisabled(t,!1)})}flush(t=-1){let e=[];if(this.newHostElements.size&&(this.newHostElements.forEach((t,e)=>this._balanceNamespaceList(t,e)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let n=0;n<this.collectedEnterElements.length;n++)Ht(this.collectedEnterElements[n],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const n=[];try{e=this._flushAnimations(n,t)}finally{for(let t=0;t<n.length;t++)n[t]()}}else for(let n=0;n<this.collectedLeaveElements.length;n++)this.processLeaveNode(this.collectedLeaveElements[n]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(t=>t()),this._flushFns=[],this._whenQuietFns.length){const t=this._whenQuietFns;this._whenQuietFns=[],e.length?s(e).onDone(()=>{t.forEach(t=>t())}):t.forEach(t=>t())}}reportError(t){throw new Error(`Unable to process animations due to the following failed trigger transitions\n ${t.join("\n")}`)}_flushAnimations(t,e){const n=new rt,i=[],a=new Map,o=[],l=new Map,c=new Map,d=new Map,u=new Set;this.disabledNodes.forEach(t=>{u.add(t);const e=this.driver.query(t,".ng-animate-queued",!0);for(let n=0;n<e.length;n++)u.add(e[n])});const m=this.bodyNode,p=Array.from(this.statesByElement.keys()),f=Yt(p,this.collectedEnterElements),g=new Map;let b=0;f.forEach((t,e)=>{const n="ng-enter"+b++;g.set(e,n),t.forEach(t=>Ht(t,n))});const _=[],y=new Set,v=new Set;for(let r=0;r<this.collectedLeaveElements.length;r++){const t=this.collectedLeaveElements[r],e=t.__ng_removed;e&&e.setForRemoval&&(_.push(t),y.add(t),e.hasAnimation?this.driver.query(t,".ng-star-inserted",!0).forEach(t=>y.add(t)):v.add(t))}const C=new Map,w=Yt(p,Array.from(y));w.forEach((t,e)=>{const n="ng-leave"+b++;C.set(e,n),t.forEach(t=>Ht(t,n))}),t.push(()=>{f.forEach((t,e)=>{const n=g.get(e);t.forEach(t=>jt(t,n))}),w.forEach((t,e)=>{const n=C.get(e);t.forEach(t=>jt(t,n))}),_.forEach(t=>{this.processLeaveNode(t)})});const x=[],M=[];for(let r=this._namespaceList.length-1;r>=0;r--)this._namespaceList[r].drainQueuedTransitions(e).forEach(t=>{const e=t.player,a=t.element;if(x.push(e),this.collectedEnterElements.length){const t=a.__ng_removed;if(t&&t.setForMove)return void e.destroy()}const r=!m||!this.driver.containsElement(m,a),s=C.get(a),u=g.get(a),p=this._buildInstruction(t,n,u,s,r);if(p.errors&&p.errors.length)M.push(p);else{if(r)return e.onStart(()=>R(a,p.fromStyles)),e.onDestroy(()=>I(a,p.toStyles)),void i.push(e);if(t.isFallbackTransition)return e.onStart(()=>R(a,p.fromStyles)),e.onDestroy(()=>I(a,p.toStyles)),void i.push(e);p.timelines.forEach(t=>t.stretchStartingKeyframe=!0),n.append(a,p.timelines),o.push({instruction:p,player:e,element:a}),p.queriedElements.forEach(t=>h(l,t,[]).push(e)),p.preStyleProps.forEach((t,e)=>{const n=Object.keys(t);if(n.length){let t=c.get(e);t||c.set(e,t=new Set),n.forEach(e=>t.add(e))}}),p.postStyleProps.forEach((t,e)=>{const n=Object.keys(t);let i=d.get(e);i||d.set(e,i=new Set),n.forEach(t=>i.add(t))})}});if(M.length){const t=[];M.forEach(e=>{t.push(`@${e.triggerName} has failed due to:\n`),e.errors.forEach(e=>t.push(`- ${e}\n`))}),x.forEach(t=>t.destroy()),this.reportError(t)}const O=new Map,k=new Map;o.forEach(t=>{const e=t.element;n.has(e)&&(k.set(e,e),this._beforeAnimationBuild(t.player.namespaceId,t.instruction,O))}),i.forEach(t=>{const e=t.element;this._getPreviousPlayers(e,!1,t.namespaceId,t.triggerName,null).forEach(t=>{h(O,e,[]).push(t),t.destroy()})});const S=_.filter(t=>Vt(t,c,d)),T=new Map;Nt(T,this.driver,v,d,r.a).forEach(t=>{Vt(t,c,d)&&S.push(t)});const P=new Map;f.forEach((t,e)=>{Nt(P,this.driver,new Set(t),c,r.p)}),S.forEach(t=>{const e=T.get(t),n=P.get(t);T.set(t,Object.assign(Object.assign({},e),n))});const L=[],D=[],E={};o.forEach(t=>{const{element:e,player:r,instruction:o}=t;if(n.has(e)){if(u.has(e))return r.onDestroy(()=>I(e,o.toStyles)),r.disabled=!0,r.overrideTotalTime(o.totalTime),void i.push(r);let t=E;if(k.size>1){let n=e;const i=[];for(;n=n.parentNode;){const e=k.get(n);if(e){t=e;break}i.push(n)}i.forEach(e=>k.set(e,t))}const n=this._buildAnimation(r.namespaceId,o,O,a,P,T);if(r.setRealPlayer(n),t===E)L.push(r);else{const e=this.playersByElement.get(t);e&&e.length&&(r.parentPlayer=s(e)),i.push(r)}}else R(e,o.fromStyles),r.onDestroy(()=>I(e,o.toStyles)),D.push(r),u.has(e)&&i.push(r)}),D.forEach(t=>{const e=a.get(t.element);if(e&&e.length){const n=s(e);t.setRealPlayer(n)}}),i.forEach(t=>{t.parentPlayer?t.syncPlayerEvents(t.parentPlayer):t.destroy()});for(let r=0;r<_.length;r++){const t=_[r],e=t.__ng_removed;if(jt(t,"ng-leave"),e&&e.hasAnimation)continue;let n=[];if(l.size){let e=l.get(t);e&&e.length&&n.push(...e);let i=this.driver.query(t,".ng-animating",!0);for(let t=0;t<i.length;t++){let e=l.get(i[t]);e&&e.length&&n.push(...e)}}const i=n.filter(t=>!t.destroyed);i.length?Ft(this,t,i):this.processLeaveNode(t)}return _.length=0,L.forEach(t=>{this.players.push(t),t.onDone(()=>{t.destroy();const e=this.players.indexOf(t);this.players.splice(e,1)}),t.play()}),L}elementContainsData(t,e){let n=!1;const i=e.__ng_removed;return i&&i.setForRemoval&&(n=!0),this.playersByElement.has(e)&&(n=!0),this.playersByQueriedElement.has(e)&&(n=!0),this.statesByElement.has(e)&&(n=!0),this._fetchNamespace(t).elementContainsData(e)||n}afterFlush(t){this._flushFns.push(t)}afterFlushAnimationsDone(t){this._whenQuietFns.push(t)}_getPreviousPlayers(t,e,n,i,a){let r=[];if(e){const e=this.playersByQueriedElement.get(t);e&&(r=e)}else{const e=this.playersByElement.get(t);if(e){const t=!a||"void"==a;e.forEach(e=>{e.queued||(t||e.triggerName==i)&&r.push(e)})}}return(n||i)&&(r=r.filter(t=>!(n&&n!=t.namespaceId||i&&i!=t.triggerName))),r}_beforeAnimationBuild(t,e,n){const i=e.element,a=e.isRemovalTransition?void 0:t,r=e.isRemovalTransition?void 0:e.triggerName;for(const o of e.timelines){const t=o.element,s=t!==i,l=h(n,t,[]);this._getPreviousPlayers(t,s,a,r,e.toState).forEach(t=>{const e=t.getRealPlayer();e.beforeDestroy&&e.beforeDestroy(),t.destroy(),l.push(t)})}R(i,e.fromStyles)}_buildAnimation(t,e,n,i,a,o){const c=e.triggerName,d=e.element,u=[],m=new Set,p=new Set,f=e.timelines.map(e=>{const s=e.element;m.add(s);const h=s.__ng_removed;if(h&&h.removedBeforeQueried)return new r.d(e.duration,e.delay);const f=s!==d,g=function(t){const e=[];return zt(t,e),e}((n.get(s)||kt).map(t=>t.getRealPlayer())).filter(t=>!!t.element&&t.element===s),b=a.get(s),_=o.get(s),y=l(0,this._normalizer,0,e.keyframes,b,_),v=this._buildPlayer(e,y,g);if(e.subTimeline&&i&&p.add(s),f){const e=new At(t,c,s);e.setRealPlayer(v),u.push(e)}return v});u.forEach(t=>{h(this.playersByQueriedElement,t.element,[]).push(t),t.onDone(()=>function(t,e,n){let i;if(t instanceof Map){if(i=t.get(e),i){if(i.length){const t=i.indexOf(n);i.splice(t,1)}0==i.length&&t.delete(e)}}else if(i=t[e],i){if(i.length){const t=i.indexOf(n);i.splice(t,1)}0==i.length&&delete t[e]}return i}(this.playersByQueriedElement,t.element,t))}),m.forEach(t=>Ht(t,"ng-animating"));const g=s(f);return g.onDestroy(()=>{m.forEach(t=>jt(t,"ng-animating")),I(d,e.toStyles)}),p.forEach(t=>{h(i,t,[]).push(g)}),g}_buildPlayer(t,e,n){return e.length>0?this.driver.animate(t.element,e,t.duration,t.delay,t.easing,n):new r.d(t.duration,t.delay)}}class At{constructor(t,e,n){this.namespaceId=t,this.triggerName=e,this.element=n,this._player=new r.d,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(t){this._containsRealPlayer||(this._player=t,Object.keys(this._queuedCallbacks).forEach(e=>{this._queuedCallbacks[e].forEach(n=>c(t,e,void 0,n))}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(t.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(t){this.totalTime=t}syncPlayerEvents(t){const e=this._player;e.triggerCallback&&t.onStart(()=>e.triggerCallback("start")),t.onDone(()=>this.finish()),t.onDestroy(()=>this.destroy())}_queueEvent(t,e){h(this._queuedCallbacks,t,[]).push(e)}onDone(t){this.queued&&this._queueEvent("done",t),this._player.onDone(t)}onStart(t){this.queued&&this._queueEvent("start",t),this._player.onStart(t)}onDestroy(t){this.queued&&this._queueEvent("destroy",t),this._player.onDestroy(t)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(t){this.queued||this._player.setPosition(t)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(t){const e=this._player;e.triggerCallback&&e.triggerCallback(t)}}function It(t){return t&&1===t.nodeType}function Rt(t,e){const n=t.style.display;return t.style.display=null!=e?e:"none",n}function Nt(t,e,n,i,a){const r=[];n.forEach(t=>r.push(Rt(t)));const o=[];i.forEach((n,i)=>{const r={};n.forEach(t=>{const n=r[t]=e.computeStyle(i,t,a);n&&0!=n.length||(i.__ng_removed=Tt,o.push(i))}),t.set(i,r)});let s=0;return n.forEach(t=>Rt(t,r[s++])),o}function Yt(t,e){const n=new Map;if(t.forEach(t=>n.set(t,[])),0==e.length)return n;const i=new Set(e),a=new Map;function r(t){if(!t)return 1;let e=a.get(t);if(e)return e;const o=t.parentNode;return e=n.has(o)?o:i.has(o)?1:r(o),a.set(t,e),e}return e.forEach(t=>{const e=r(t);1!==e&&n.get(e).push(t)}),n}function Ht(t,e){if(t.classList)t.classList.add(e);else{let n=t.$$classes;n||(n=t.$$classes={}),n[e]=!0}}function jt(t,e){if(t.classList)t.classList.remove(e);else{let n=t.$$classes;n&&delete n[e]}}function Ft(t,e,n){s(n).onDone(()=>t.processLeaveNode(e))}function zt(t,e){for(let n=0;n<t.length;n++){const i=t[n];i instanceof r.o?zt(i.players,e):e.push(i)}}function Vt(t,e,n){const i=n.get(t);if(!i)return!1;let a=e.get(t);return a?i.forEach(t=>a.add(t)):e.set(t,i),n.delete(t),!0}class Bt{constructor(t,e,n){this.bodyNode=t,this._driver=e,this._triggerCache={},this.onRemovalComplete=(t,e)=>{},this._transitionEngine=new Et(t,e,n),this._timelineEngine=new Ot(t,e,n),this._transitionEngine.onRemovalComplete=(t,e)=>this.onRemovalComplete(t,e)}registerTrigger(t,e,n,i,a){const r=t+"-"+i;let o=this._triggerCache[r];if(!o){const t=[],e=K(this._driver,a,t);if(t.length)throw new Error(`The animation trigger "${i}" has failed to build due to the following errors:\n - ${t.join("\n - ")}`);o=function(t,e){return new wt(t,e)}(i,e),this._triggerCache[r]=o}this._transitionEngine.registerTrigger(e,i,o)}register(t,e){this._transitionEngine.register(t,e)}destroy(t,e){this._transitionEngine.destroy(t,e)}onInsert(t,e,n,i){this._transitionEngine.insertNode(t,e,n,i)}onRemove(t,e,n,i){this._transitionEngine.removeNode(t,e,i||!1,n)}disableAnimations(t,e){this._transitionEngine.markElementAsDisabled(t,e)}process(t,e,n,i){if("@"==n.charAt(0)){const[t,a]=m(n);this._timelineEngine.command(t,e,a,i)}else this._transitionEngine.trigger(t,e,n,i)}listen(t,e,n,i,a){if("@"==n.charAt(0)){const[t,i]=m(n);return this._timelineEngine.listen(t,e,i,a)}return this._transitionEngine.listen(t,e,n,i,a)}flush(t=-1){this._transitionEngine.flush(t)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}function Wt(t,e){let n=null,i=null;return Array.isArray(e)&&e.length?(n=qt(e[0]),e.length>1&&(i=qt(e[e.length-1]))):e&&(n=qt(e)),n||i?new Ut(t,n,i):null}let Ut=(()=>{class t{constructor(e,n,i){this._element=e,this._startStyles=n,this._endStyles=i,this._state=0;let a=t.initialStylesByElement.get(e);a||t.initialStylesByElement.set(e,a={}),this._initialStyles=a}start(){this._state<1&&(this._startStyles&&I(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(I(this._element,this._initialStyles),this._endStyles&&(I(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(R(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(R(this._element,this._endStyles),this._endStyles=null),I(this._element,this._initialStyles),this._state=3)}}return t.initialStylesByElement=new WeakMap,t})();function qt(t){let e=null;const n=Object.keys(t);for(let i=0;i<n.length;i++){const a=n[i];Gt(a)&&(e=e||{},e[a]=t[a])}return e}function Gt(t){return"display"===t||"position"===t}class Jt{constructor(t,e,n,i,a,r,o){this._element=t,this._name=e,this._duration=n,this._delay=i,this._easing=a,this._fillMode=r,this._onDoneFn=o,this._finished=!1,this._destroyed=!1,this._startTime=0,this._position=0,this._eventFn=t=>this._handleCallback(t)}apply(){!function(t,e){const n=te(t,"").trim();n.length&&(function(t,e){let n=0;for(let i=0;i<t.length;i++)","===t.charAt(i)&&n++}(n),e=`${n}, ${e}`),Qt(t,"",e)}(this._element,`${this._duration}ms ${this._easing} ${this._delay}ms 1 normal ${this._fillMode} ${this._name}`),Kt(this._element,this._eventFn,!1),this._startTime=Date.now()}pause(){Zt(this._element,this._name,"paused")}resume(){Zt(this._element,this._name,"running")}setPosition(t){const e=$t(this._element,this._name);this._position=t*this._duration,Qt(this._element,"Delay",`-${this._position}ms`,e)}getPosition(){return this._position}_handleCallback(t){const e=t._ngTestManualTimestamp||Date.now(),n=1e3*parseFloat(t.elapsedTime.toFixed(3));t.animationName==this._name&&Math.max(e-this._startTime,0)>=this._delay&&n>=this._duration&&this.finish()}finish(){this._finished||(this._finished=!0,this._onDoneFn(),Kt(this._element,this._eventFn,!0))}destroy(){this._destroyed||(this._destroyed=!0,this.finish(),function(t,e){const n=te(t,"").split(","),i=Xt(n,e);i>=0&&(n.splice(i,1),Qt(t,"",n.join(",")))}(this._element,this._name))}}function Zt(t,e,n){Qt(t,"PlayState",n,$t(t,e))}function $t(t,e){const n=te(t,"");return n.indexOf(",")>0?Xt(n.split(","),e):Xt([n],e)}function Xt(t,e){for(let n=0;n<t.length;n++)if(t[n].indexOf(e)>=0)return n;return-1}function Kt(t,e,n){n?t.removeEventListener("animationend",e):t.addEventListener("animationend",e)}function Qt(t,e,n,i){const a="animation"+e;if(null!=i){const e=t.style[a];if(e.length){const t=e.split(",");t[i]=n,n=t.join(",")}}t.style[a]=n}function te(t,e){return t.style["animation"+e]||""}class ee{constructor(t,e,n,i,a,r,o,s){this.element=t,this.keyframes=e,this.animationName=n,this._duration=i,this._delay=a,this._finalStyles=o,this._specialStyles=s,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this.currentSnapshot={},this._state=0,this.easing=r||"linear",this.totalTime=i+a,this._buildStyler()}onStart(t){this._onStartFns.push(t)}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}destroy(){this.init(),this._state>=4||(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}_flushDoneFns(){this._onDoneFns.forEach(t=>t()),this._onDoneFns=[]}_flushStartFns(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}finish(){this.init(),this._state>=3||(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())}setPosition(t){this._styler.setPosition(t)}getPosition(){return this._styler.getPosition()}hasStarted(){return this._state>=2}init(){this._state>=1||(this._state=1,this._styler.apply(),this._delay&&this._styler.pause())}play(){this.init(),this.hasStarted()||(this._flushStartFns(),this._state=2,this._specialStyles&&this._specialStyles.start()),this._styler.resume()}pause(){this.init(),this._styler.pause()}restart(){this.reset(),this.play()}reset(){this._styler.destroy(),this._buildStyler(),this._styler.apply()}_buildStyler(){this._styler=new Jt(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",()=>this.finish())}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}beforeDestroy(){this.init();const t={};if(this.hasStarted()){const e=this._state>=3;Object.keys(this._finalStyles).forEach(n=>{"offset"!=n&&(t[n]=e?this._finalStyles[n]:q(this.element,n))})}this.currentSnapshot=t}}class ne extends r.d{constructor(t,e){super(),this.element=t,this._startingStyles={},this.__initialized=!1,this._styles=M(e)}init(){!this.__initialized&&this._startingStyles&&(this.__initialized=!0,Object.keys(this._styles).forEach(t=>{this._startingStyles[t]=this.element.style[t]}),super.init())}play(){this._startingStyles&&(this.init(),Object.keys(this._styles).forEach(t=>this.element.style.setProperty(t,this._styles[t])),super.play())}destroy(){this._startingStyles&&(Object.keys(this._startingStyles).forEach(t=>{const e=this._startingStyles[t];e?this.element.style.setProperty(t,e):this.element.style.removeProperty(t)}),this._startingStyles=null,super.destroy())}}class ie{constructor(){this._count=0,this._head=document.querySelector("head")}validateStyleProperty(t){return v(t)}matchesElement(t,e){return C(t,e)}containsElement(t,e){return w(t,e)}query(t,e,n){return x(t,e,n)}computeStyle(t,e,n){return window.getComputedStyle(t)[e]}buildKeyframeElement(t,e,n){n=n.map(t=>M(t));let i=`@keyframes ${e} {\n`,a="";n.forEach(t=>{a=" ";const e=parseFloat(t.offset);i+=`${a}${100*e}% {\n`,a+=" ",Object.keys(t).forEach(e=>{const n=t[e];switch(e){case"offset":return;case"easing":return void(n&&(i+=`${a}animation-timing-function: ${n};\n`));default:return void(i+=`${a}${e}: ${n};\n`)}}),i+=`${a}}\n`}),i+="}\n";const r=document.createElement("style");return r.textContent=i,r}animate(t,e,n,i,a,r=[],o){const s=r.filter(t=>t instanceof ee),l={};B(n,i)&&s.forEach(t=>{let e=t.currentSnapshot;Object.keys(e).forEach(t=>l[t]=e[t])});const c=function(t){let e={};return t&&(Array.isArray(t)?t:[t]).forEach(t=>{Object.keys(t).forEach(n=>{"offset"!=n&&"easing"!=n&&(e[n]=t[n])})}),e}(e=W(t,e,l));if(0==n)return new ne(t,c);const d="gen_css_kf_"+this._count++,u=this.buildKeyframeElement(t,d,e);document.querySelector("head").appendChild(u);const h=Wt(t,e),m=new ee(t,e,d,n,i,a,c,h);return m.onDestroy(()=>{var t;(t=u).parentNode.removeChild(t)}),m}}class ae{constructor(t,e,n,i){this.element=t,this.keyframes=e,this.options=n,this._specialStyles=i,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.currentSnapshot={},this._duration=n.duration,this._delay=n.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const t=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,t,this.options),this._finalKeyframe=t.length?t[t.length-1]:{},this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_triggerWebAnimation(t,e,n){return t.animate(e,n)}onStart(t){this._onStartFns.push(t)}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(t=>t()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}setPosition(t){this.domPlayer.currentTime=t*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const t={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach(e=>{"offset"!=e&&(t[e]=this._finished?this._finalKeyframe[e]:q(this.element,e))}),this.currentSnapshot=t}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}class re{constructor(){this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(oe().toString()),this._cssKeyframesDriver=new ie}validateStyleProperty(t){return v(t)}matchesElement(t,e){return C(t,e)}containsElement(t,e){return w(t,e)}query(t,e,n){return x(t,e,n)}computeStyle(t,e,n){return window.getComputedStyle(t)[e]}overrideWebAnimationsSupport(t){this._isNativeImpl=t}animate(t,e,n,i,a,r=[],o){if(!o&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(t,e,n,i,a,r);const s={duration:n,delay:i,fill:0==i?"both":"forwards"};a&&(s.easing=a);const l={},c=r.filter(t=>t instanceof ae);B(n,i)&&c.forEach(t=>{let e=t.currentSnapshot;Object.keys(e).forEach(t=>l[t]=e[t])});const d=Wt(t,e=W(t,e=e.map(t=>D(t,!1)),l));return new ae(t,e,s,d)}}function oe(){return"undefined"!=typeof window&&void 0!==window.document&&Element.prototype.animate||{}}var se=n("SVse");let le=(()=>{class t extends r.b{constructor(t,e){super(),this._nextAnimationId=0,this._renderer=t.createRenderer(e.body,{id:"0",encapsulation:i.S.None,styles:[],data:{animation:[]}})}build(t){const e=this._nextAnimationId.toString();this._nextAnimationId++;const n=Array.isArray(t)?Object(r.j)(t):t;return ue(this._renderer,null,e,"register",[n]),new ce(e,this._renderer)}}return t.\u0275fac=function(e){return new(e||t)(i.Xb(i.H),i.Xb(se.d))},t.\u0275prov=i.Jb({token:t,factory:t.\u0275fac}),t})();class ce extends r.c{constructor(t,e){super(),this._id=t,this._renderer=e}create(t,e){return new de(this._id,t,e||{},this._renderer)}}class de{constructor(t,e,n,i){this.id=t,this.element=e,this._renderer=i,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",n)}_listen(t,e){return this._renderer.listen(this.element,`@@${this.id}:${t}`,e)}_command(t,...e){return ue(this._renderer,this.element,this.id,t,e)}onDone(t){this._listen("done",t)}onStart(t){this._listen("start",t)}onDestroy(t){this._listen("destroy",t)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset")}setPosition(t){this._command("setPosition",t)}getPosition(){var t,e;return null!==(e=null===(t=this._renderer.engine.players[+this.id])||void 0===t?void 0:t.getPosition())&&void 0!==e?e:0}}function ue(t,e,n,i,a){return t.setProperty(e,`@@${n}:${i}`,a)}let he=(()=>{class t{constructor(t,e,n){this.delegate=t,this.engine=e,this._zone=n,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),e.onRemovalComplete=(t,e)=>{e&&e.parentNode(t)&&e.removeChild(t.parentNode,t)}}createRenderer(t,e){const n=this.delegate.createRenderer(t,e);if(!(t&&e&&e.data&&e.data.animation)){let t=this._rendererCache.get(n);return t||(t=new me("",n,this.engine),this._rendererCache.set(n,t)),t}const i=e.id,a=e.id+"-"+this._currentId;this._currentId++,this.engine.register(a,t);const r=e=>{Array.isArray(e)?e.forEach(r):this.engine.registerTrigger(i,a,t,e.name,e)};return e.data.animation.forEach(r),new pe(this,a,n,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(t,e,n){t>=0&&t<this._microtaskId?this._zone.run(()=>e(n)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(t=>{const[e,n]=t;e(n)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([e,n]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}return t.\u0275fac=function(e){return new(e||t)(i.Xb(i.H),i.Xb(Bt),i.Xb(i.B))},t.\u0275prov=i.Jb({token:t,factory:t.\u0275fac}),t})();class me{constructor(t,e,n){this.namespaceId=t,this.delegate=e,this.engine=n,this.destroyNode=this.delegate.destroyNode?t=>e.destroyNode(t):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(t,e){return this.delegate.createElement(t,e)}createComment(t){return this.delegate.createComment(t)}createText(t){return this.delegate.createText(t)}appendChild(t,e){this.delegate.appendChild(t,e),this.engine.onInsert(this.namespaceId,e,t,!1)}insertBefore(t,e,n,i=!0){this.delegate.insertBefore(t,e,n),this.engine.onInsert(this.namespaceId,e,t,i)}removeChild(t,e,n){this.engine.onRemove(this.namespaceId,e,this.delegate,n)}selectRootElement(t,e){return this.delegate.selectRootElement(t,e)}parentNode(t){return this.delegate.parentNode(t)}nextSibling(t){return this.delegate.nextSibling(t)}setAttribute(t,e,n,i){this.delegate.setAttribute(t,e,n,i)}removeAttribute(t,e,n){this.delegate.removeAttribute(t,e,n)}addClass(t,e){this.delegate.addClass(t,e)}removeClass(t,e){this.delegate.removeClass(t,e)}setStyle(t,e,n,i){this.delegate.setStyle(t,e,n,i)}removeStyle(t,e,n){this.delegate.removeStyle(t,e,n)}setProperty(t,e,n){"@"==e.charAt(0)&&"@.disabled"==e?this.disableAnimations(t,!!n):this.delegate.setProperty(t,e,n)}setValue(t,e){this.delegate.setValue(t,e)}listen(t,e,n){return this.delegate.listen(t,e,n)}disableAnimations(t,e){this.engine.disableAnimations(t,e)}}class pe extends me{constructor(t,e,n,i){super(e,n,i),this.factory=t,this.namespaceId=e}setProperty(t,e,n){"@"==e.charAt(0)?"."==e.charAt(1)&&"@.disabled"==e?this.disableAnimations(t,n=void 0===n||!!n):this.engine.process(this.namespaceId,t,e.substr(1),n):this.delegate.setProperty(t,e,n)}listen(t,e,n){if("@"==e.charAt(0)){const i=function(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}(t);let a=e.substr(1),r="";return"@"!=a.charAt(0)&&([a,r]=function(t){const e=t.indexOf(".");return[t.substring(0,e),t.substr(e+1)]}(a)),this.engine.listen(this.namespaceId,i,a,r,t=>{this.factory.scheduleListenerCallback(t._data||-1,n,t)})}return this.delegate.listen(t,e,n)}}let fe=(()=>{class t extends Bt{constructor(t,e,n){super(t.body,e,n)}}return t.\u0275fac=function(e){return new(e||t)(i.Xb(se.d),i.Xb(k),i.Xb(ft))},t.\u0275prov=i.Jb({token:t,factory:t.\u0275fac}),t})();const ge=new i.s("AnimationModuleType"),be=[{provide:k,useFactory:function(){return"function"==typeof oe()?new re:new ie}},{provide:ge,useValue:"BrowserAnimations"},{provide:r.b,useClass:le},{provide:ft,useFactory:function(){return new gt}},{provide:Bt,useClass:fe},{provide:i.H,useFactory:function(t,e,n){return new he(t,e,n)},deps:[a.d,Bt,i.B]}];let _e=(()=>{class t{}return t.\u0275mod=i.Lb({type:t}),t.\u0275inj=i.Kb({factory:function(e){return new(e||t)},providers:be,imports:[a.a]}),t})()},"p/g4":function(t,e,n){"use strict";n.d(e,"a",function(){return i});var i=function(t){return t.EQUAL="EQUAL",t.START_WITH="START_WITH",t.END_WITH="END_WITH",t.CONTAIN="CONTAIN",t}({})},"p/rL":function(t,e,n){!function(t){"use strict";t.defineLocale("bm",{months:"Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_M\u025bkalo_Zuw\u025bnkalo_Zuluyekalo_Utikalo_S\u025btanburukalo_\u0254kut\u0254burukalo_Nowanburukalo_Desanburukalo".split("_"),monthsShort:"Zan_Few_Mar_Awi_M\u025b_Zuw_Zul_Uti_S\u025bt_\u0254ku_Now_Des".split("_"),weekdays:"Kari_Nt\u025bn\u025bn_Tarata_Araba_Alamisa_Juma_Sibiri".split("_"),weekdaysShort:"Kar_Nt\u025b_Tar_Ara_Ala_Jum_Sib".split("_"),weekdaysMin:"Ka_Nt_Ta_Ar_Al_Ju_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"MMMM [tile] D [san] YYYY",LLL:"MMMM [tile] D [san] YYYY [l\u025br\u025b] HH:mm",LLLL:"dddd MMMM [tile] D [san] YYYY [l\u025br\u025b] HH:mm"},calendar:{sameDay:"[Bi l\u025br\u025b] LT",nextDay:"[Sini l\u025br\u025b] LT",nextWeek:"dddd [don l\u025br\u025b] LT",lastDay:"[Kunu l\u025br\u025b] LT",lastWeek:"dddd [t\u025bm\u025bnen l\u025br\u025b] LT",sameElse:"L"},relativeTime:{future:"%s k\u0254n\u0254",past:"a b\u025b %s b\u0254",s:"sanga dama dama",ss:"sekondi %d",m:"miniti kelen",mm:"miniti %d",h:"l\u025br\u025b kelen",hh:"l\u025br\u025b %d",d:"tile kelen",dd:"tile %d",M:"kalo kelen",MM:"kalo %d",y:"san kelen",yy:"san %d"},week:{dow:1,doy:4}})}(n("wd/R"))},pLZG:function(t,e,n){"use strict";n.d(e,"a",function(){return a});var i=n("7o/Q");function a(t,e){return function(n){return n.lift(new r(t,e))}}class r{constructor(t,e){this.predicate=t,this.thisArg=e}call(t,e){return e.subscribe(new o(t,this.predicate,this.thisArg))}}class o extends i.a{constructor(t,e,n){super(t),this.predicate=e,this.thisArg=n,this.count=0}_next(t){let e;try{e=this.predicate.call(this.thisArg,t,this.count++)}catch(n){return void this.destination.error(n)}e&&this.destination.next(t)}}},pMoy:function(t,e,n){"use strict";n.d(e,"a",function(){return C}),n.d(e,"b",function(){return x});var i=n("8LU1"),a=n("8Y7J"),r=n("s7LF"),o=n("UhP/"),s=n("omvX"),l=n("9b/N"),c=n("YEUz");const d=["input"],u=function(){return{enterDuration:150}},h=["*"],m=new a.s("mat-checkbox-default-options",{providedIn:"root",factory:p});function p(){return{color:"accent",clickAction:"check-indeterminate"}}let f=0;const g=p(),b={provide:r.m,useExisting:Object(a.V)(()=>C),multi:!0};class _{}class y{constructor(t){this._elementRef=t}}const v=Object(o.B)(Object(o.w)(Object(o.x)(Object(o.y)(y))));let C=(()=>{class t extends v{constructor(t,e,n,i,r,o,s){super(t),this._changeDetectorRef=e,this._focusMonitor=n,this._ngZone=i,this._animationMode=o,this._options=s,this.ariaLabel="",this.ariaLabelledby=null,this._uniqueId="mat-checkbox-"+ ++f,this.id=this._uniqueId,this.labelPosition="after",this.name=null,this.change=new a.o,this.indeterminateChange=new a.o,this._onTouched=()=>{},this._currentAnimationClass="",this._currentCheckState=0,this._controlValueAccessorChangeFn=()=>{},this._checked=!1,this._disabled=!1,this._indeterminate=!1,this._options=this._options||g,this.color=this.defaultColor=this._options.color||g.color,this.tabIndex=parseInt(r)||0}get inputId(){return`${this.id||this._uniqueId}-input`}get required(){return this._required}set required(t){this._required=Object(i.c)(t)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(t=>{t||Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}),this._syncIndeterminate(this._indeterminate)}ngAfterViewChecked(){}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}get checked(){return this._checked}set checked(t){t!=this.checked&&(this._checked=t,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(t){const e=Object(i.c)(t);e!==this.disabled&&(this._disabled=e,this._changeDetectorRef.markForCheck())}get indeterminate(){return this._indeterminate}set indeterminate(t){const e=t!=this._indeterminate;this._indeterminate=Object(i.c)(t),e&&(this._transitionCheckState(this._indeterminate?3:this.checked?1:2),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}writeValue(t){this.checked=!!t}registerOnChange(t){this._controlValueAccessorChangeFn=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t}_getAriaChecked(){return this.checked?"true":this.indeterminate?"mixed":"false"}_transitionCheckState(t){let e=this._currentCheckState,n=this._elementRef.nativeElement;if(e!==t&&(this._currentAnimationClass.length>0&&n.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(e,t),this._currentCheckState=t,this._currentAnimationClass.length>0)){n.classList.add(this._currentAnimationClass);const t=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{n.classList.remove(t)},1e3)})}}_emitChangeEvent(){const t=new _;t.source=this,t.checked=this.checked,this._controlValueAccessorChangeFn(this.checked),this.change.emit(t)}toggle(){this.checked=!this.checked}_onInputClick(t){var e;const n=null===(e=this._options)||void 0===e?void 0:e.clickAction;t.stopPropagation(),this.disabled||"noop"===n?this.disabled||"noop"!==n||(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==n&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this.toggle(),this._transitionCheckState(this._checked?1:2),this._emitChangeEvent())}focus(t,e){t?this._focusMonitor.focusVia(this._inputElement,t,e):this._inputElement.nativeElement.focus(e)}_onInteractionEvent(t){t.stopPropagation()}_getAnimationClassForCheckStateTransition(t,e){if("NoopAnimations"===this._animationMode)return"";let n="";switch(t){case 0:if(1===e)n="unchecked-checked";else{if(3!=e)return"";n="unchecked-indeterminate"}break;case 2:n=1===e?"unchecked-checked":"unchecked-indeterminate";break;case 1:n=2===e?"checked-unchecked":"checked-indeterminate";break;case 3:n=1===e?"indeterminate-checked":"indeterminate-unchecked"}return`mat-checkbox-anim-${n}`}_syncIndeterminate(t){const e=this._inputElement;e&&(e.nativeElement.indeterminate=t)}}return t.\u0275fac=function(e){return new(e||t)(a.Nb(a.l),a.Nb(a.h),a.Nb(c.h),a.Nb(a.B),a.Yb("tabindex"),a.Nb(s.a,8),a.Nb(m,8))},t.\u0275cmp=a.Hb({type:t,selectors:[["mat-checkbox"]],viewQuery:function(t,e){if(1&t&&(a.Lc(d,1),a.Lc(o.r,1)),2&t){let t;a.uc(t=a.cc())&&(e._inputElement=t.first),a.uc(t=a.cc())&&(e.ripple=t.first)}},hostAttrs:[1,"mat-checkbox"],hostVars:12,hostBindings:function(t,e){2&t&&(a.Wb("id",e.id),a.Db("tabindex",null),a.Fb("mat-checkbox-indeterminate",e.indeterminate)("mat-checkbox-checked",e.checked)("mat-checkbox-disabled",e.disabled)("mat-checkbox-label-before","before"==e.labelPosition)("_mat-animation-noopable","NoopAnimations"===e._animationMode))},inputs:{disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],id:"id",labelPosition:"labelPosition",name:"name",required:"required",checked:"checked",disabled:"disabled",indeterminate:"indeterminate",ariaDescribedby:["aria-describedby","ariaDescribedby"],value:"value"},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],features:[a.Bb([b]),a.zb],ngContentSelectors:h,decls:17,vars:20,consts:[[1,"mat-checkbox-layout"],["label",""],[1,"mat-checkbox-inner-container"],["type","checkbox",1,"mat-checkbox-input","cdk-visually-hidden",3,"id","required","checked","disabled","tabIndex","change","click"],["input",""],["matRipple","",1,"mat-checkbox-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleRadius","matRippleCentered","matRippleAnimation"],[1,"mat-ripple-element","mat-checkbox-persistent-ripple"],[1,"mat-checkbox-frame"],[1,"mat-checkbox-background"],["version","1.1","focusable","false","viewBox","0 0 24 24",0,"xml","space","preserve",1,"mat-checkbox-checkmark"],["fill","none","stroke","white","d","M4.1,12.7 9,17.6 20.3,6.3",1,"mat-checkbox-checkmark-path"],[1,"mat-checkbox-mixedmark"],[1,"mat-checkbox-label",3,"cdkObserveContent"],["checkboxLabel",""],[2,"display","none"]],template:function(t,e){if(1&t&&(a.mc(),a.Tb(0,"label",0,1),a.Tb(2,"span",2),a.Tb(3,"input",3,4),a.bc("change",function(t){return e._onInteractionEvent(t)})("click",function(t){return e._onInputClick(t)}),a.Sb(),a.Tb(5,"span",5),a.Ob(6,"span",6),a.Sb(),a.Ob(7,"span",7),a.Tb(8,"span",8),a.ec(),a.Tb(9,"svg",9),a.Ob(10,"path",10),a.Sb(),a.dc(),a.Ob(11,"span",11),a.Sb(),a.Sb(),a.Tb(12,"span",12,13),a.bc("cdkObserveContent",function(){return e._onLabelTextChange()}),a.Tb(14,"span",14),a.Hc(15,"\xa0"),a.Sb(),a.lc(16),a.Sb(),a.Sb()),2&t){const t=a.vc(1),n=a.vc(13);a.Db("for",e.inputId),a.Cb(2),a.Fb("mat-checkbox-inner-container-no-side-margin",!n.textContent||!n.textContent.trim()),a.Cb(1),a.nc("id",e.inputId)("required",e.required)("checked",e.checked)("disabled",e.disabled)("tabIndex",e.tabIndex),a.Db("value",e.value)("name",e.name)("aria-label",e.ariaLabel||null)("aria-labelledby",e.ariaLabelledby)("aria-checked",e._getAriaChecked())("aria-describedby",e.ariaDescribedby),a.Cb(2),a.nc("matRippleTrigger",t)("matRippleDisabled",e._isRippleDisabled())("matRippleRadius",20)("matRippleCentered",!0)("matRippleAnimation",a.rc(19,u))}},directives:[o.r,l.a],styles:["@keyframes mat-checkbox-fade-in-background{0%{opacity:0}50%{opacity:1}}@keyframes mat-checkbox-fade-out-background{0%,50%{opacity:1}100%{opacity:0}}@keyframes mat-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:22.910259}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1)}100%{stroke-dashoffset:0}}@keyframes mat-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mat-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);stroke-dashoffset:0}to{stroke-dashoffset:-22.910259}}@keyframes mat-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(45deg)}}@keyframes mat-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:0;transform:rotate(45deg)}to{opacity:1;transform:rotate(360deg)}}@keyframes mat-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:0;transform:rotate(-45deg)}to{opacity:1;transform:rotate(0deg)}}@keyframes mat-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(315deg)}}@keyframes mat-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;opacity:1;transform:scaleX(1)}32.8%,100%{opacity:0;transform:scaleX(0)}}.mat-checkbox-background,.mat-checkbox-frame{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:2px;box-sizing:border-box;pointer-events:none}.mat-checkbox{display:inline-block;transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);cursor:pointer;-webkit-tap-highlight-color:transparent}._mat-animation-noopable.mat-checkbox{transition:none;animation:none}.mat-checkbox .mat-ripple-element:not(.mat-checkbox-persistent-ripple){opacity:.16}.mat-checkbox-layout{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:inherit;align-items:baseline;vertical-align:middle;display:inline-flex;white-space:nowrap}.mat-checkbox-label{-webkit-user-select:auto;-moz-user-select:auto;-ms-user-select:auto;user-select:auto}.mat-checkbox-inner-container{display:inline-block;height:16px;line-height:0;margin:auto;margin-right:8px;order:0;position:relative;vertical-align:middle;white-space:nowrap;width:16px;flex-shrink:0}[dir=rtl] .mat-checkbox-inner-container{margin-left:8px;margin-right:auto}.mat-checkbox-inner-container-no-side-margin{margin-left:0;margin-right:0}.mat-checkbox-frame{background-color:transparent;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1);border-width:2px;border-style:solid}._mat-animation-noopable .mat-checkbox-frame{transition:none}.cdk-high-contrast-active .mat-checkbox.cdk-keyboard-focused .mat-checkbox-frame{border-style:dotted}.mat-checkbox-background{align-items:center;display:inline-flex;justify-content:center;transition:background-color 90ms cubic-bezier(0, 0, 0.2, 0.1),opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}._mat-animation-noopable .mat-checkbox-background{transition:none}.cdk-high-contrast-active .mat-checkbox .mat-checkbox-background{background:none}.mat-checkbox-persistent-ripple{display:block;width:100%;height:100%;transform:none}.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:.04}.mat-checkbox.cdk-keyboard-focused .mat-checkbox-persistent-ripple{opacity:.12}.mat-checkbox-persistent-ripple,.mat-checkbox.mat-checkbox-disabled .mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:0}@media(hover: none){.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{display:none}}.mat-checkbox-checkmark{top:0;left:0;right:0;bottom:0;position:absolute;width:100%}.mat-checkbox-checkmark-path{stroke-dashoffset:22.910259;stroke-dasharray:22.910259;stroke-width:2.1333333333px}.cdk-high-contrast-black-on-white .mat-checkbox-checkmark-path{stroke:#000 !important}.mat-checkbox-mixedmark{width:calc(100% - 6px);height:2px;opacity:0;transform:scaleX(0) rotate(0deg);border-radius:2px}.cdk-high-contrast-active .mat-checkbox-mixedmark{height:0;border-top:solid 2px;margin-top:2px}.mat-checkbox-label-before .mat-checkbox-inner-container{order:1;margin-left:8px;margin-right:auto}[dir=rtl] .mat-checkbox-label-before .mat-checkbox-inner-container{margin-left:auto;margin-right:8px}.mat-checkbox-checked .mat-checkbox-checkmark{opacity:1}.mat-checkbox-checked .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-checked .mat-checkbox-mixedmark{transform:scaleX(1) rotate(-45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark{opacity:0;transform:rotate(45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-indeterminate .mat-checkbox-mixedmark{opacity:1;transform:scaleX(1) rotate(0deg)}.mat-checkbox-unchecked .mat-checkbox-background{background-color:transparent}.mat-checkbox-disabled{cursor:default}.cdk-high-contrast-active .mat-checkbox-disabled{opacity:.5}.mat-checkbox-anim-unchecked-checked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-checked .mat-checkbox-checkmark-path{animation:180ms linear 0ms mat-checkbox-unchecked-checked-checkmark-path}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-unchecked-indeterminate-mixedmark}.mat-checkbox-anim-checked-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-checked-unchecked .mat-checkbox-checkmark-path{animation:90ms linear 0ms mat-checkbox-checked-unchecked-checkmark-path}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-checkmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-checkmark}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-mixedmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-checkmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-checkmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-mixedmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-mixedmark}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-mixedmark{animation:300ms linear 0ms mat-checkbox-indeterminate-unchecked-mixedmark}.mat-checkbox-input{bottom:0;left:50%}.mat-checkbox .mat-checkbox-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}\n"],encapsulation:2,changeDetection:0}),t})(),w=(()=>{class t{}return t.\u0275mod=a.Lb({type:t}),t.\u0275inj=a.Kb({factory:function(e){return new(e||t)}}),t})(),x=(()=>{class t{}return t.\u0275mod=a.Lb({type:t}),t.\u0275inj=a.Kb({factory:function(e){return new(e||t)},imports:[[o.s,o.j,l.c,w],o.j,w]}),t})()},pSGz:function(t,e,n){"use strict";n.d(e,"a",function(){return C});var i=n("8Y7J"),a=n("s7LF"),r=n("xgIS"),o=n("pLZG"),s=n("Kj3r"),l=n("IGtN"),c=n("TSSN"),d=n("zaPX"),u=n("Q2Ze"),h=n("e6WT"),m=n("vrAh"),p=n("q6Qu"),f=n("SVse"),g=n("UhP/");const b=["countryElt"];function _(t,e){if(1&t&&(i.Tb(0,"mat-option",6),i.Hc(1),i.Sb()),2&t){const t=e.$implicit;i.nc("value",t),i.Cb(1),i.Jc(" ",t.nom," ")}}const y=[[["mat-error"]],[["mat-icon"]],[["mat-spinner"]]],v=["mat-error","mat-icon","mat-spinner"];let C=(()=>{class t extends l.a{constructor(t,e,n){super(t),this.translateService=t,this.configSharedService=e,this.changeDetectorRef=n,this.showFR=!0,this.formCtrl=new a.e,this.selectionChanged=new i.o,this._allCleanedNameCountriesSorted=[],this._mapCleanedNameToCountry=new Map,this.selectedItem=!1,this._sortString=(t,e)=>t===e?0:t>e?1:-1}load(){this.formCtrl=new a.e({value:this.countryCtrl.value?this.countryCtrl.value.nom:null,disabled:this.countryCtrl.disabled},{validators:this.isRequired?[a.w.required]:[]});let t=this.configSharedService.countries;this.showFR||(t=t.filter(t=>"FR"!==t.code));const e=this.sortCountriesByName(t);this._allCleanedNameCountriesSorted=e.cleanNames,this._allCountriesSorted=e.countries,this.displayedCountries=this._allCountriesSorted,this.subscriptions.push(this.bindToKeyUpEvent(this.countryElt).subscribe(t=>this.onInputChange(this.formCtrl.value)),this.countryCtrl.valueChanges.subscribe(t=>{this.formCtrl.setValue(t?t.nom:null),this.disableOrEnableFormCtrl()}))}bindToKeyUpEvent(t){return Object(r.a)(t.nativeElement,"keyup").pipe(Object(o.a)(t=>!["ArrowDown","ArrowUp","ArrowRight","ArrowLeft"].includes(t.key)),Object(s.a)(this.configSharedService.autocompleteCommuneTimeLimit))}sortCountriesByName(t){t.forEach(t=>this._mapCleanedNameToCountry.set(this.cleanName(t.nom),t));const e=Array.from(this._mapCleanedNameToCountry.keys()).sort(this._sortString),n=e.map(t=>this._mapCleanedNameToCountry.get(t)).filter(t=>t.actif);return{cleanNames:e,countries:n}}cleanName(t){return null!==t||"string"==typeof t?t.normalize("NFD").replace(/[\u0300-\u036f]/g,"").toLowerCase():""}onInputChange(t){const e=this.cleanName(t?t.trim():t);this.displayedCountries=this._allCleanedNameCountriesSorted.filter(t=>t.startsWith(e)).map(t=>this._mapCleanedNameToCountry.get(t)),this.changeDetectorRef.markForCheck()}selectCountry(t){this.selectedCountry=t.option.value,this.selectedItem=!0}blur(){(this.countryCtrl.value?this.countryCtrl.value.nom:null)!==this.formCtrl.value&&(this.formCtrl.setValue(null),this.selectionChanged.emit(null))}onClose(){this.selectedItem&&this.selectedCountry&&(this.formCtrl.setValue(this.selectedCountry.nom),this.selectionChanged.emit(this.selectedCountry)),this.selectedItem=!1}disableOrEnableFormCtrl(){this.countryCtrl.disabled?this.formCtrl.disable():this.formCtrl.enable()}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(c.d),i.Nb(d.a),i.Nb(i.h))},t.\u0275cmp=i.Hb({type:t,selectors:[["app-country-autocomplete-2"]],viewQuery:function(t,e){if(1&t&&i.Lc(b,3),2&t){let t;i.uc(t=i.cc())&&(e.countryElt=t.first)}},inputs:{inputTitle:"inputTitle",isRequired:"isRequired",showFR:"showFR",countryCtrl:"countryCtrl"},outputs:{selectionChanged:"selectionChanged"},features:[i.zb],ngContentSelectors:v,decls:10,vars:5,consts:[[1,"country"],["type","text","data-cy","pays","matInput","","name","country","autocomplete","off",3,"appLabel","formControl","matAutocomplete","required","blur"],["countryElt",""],[3,"optionSelected","closed"],["auto","matAutocomplete"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(t,e){if(1&t&&(i.mc(y),i.Tb(0,"mat-form-field",0),i.Tb(1,"input",1,2),i.bc("blur",function(){return e.blur()}),i.Sb(),i.Tb(3,"mat-error"),i.lc(4),i.Sb(),i.lc(5,1),i.lc(6,2),i.Sb(),i.Tb(7,"mat-autocomplete",3,4),i.bc("optionSelected",function(t){return e.selectCountry(t)})("closed",function(){return e.onClose()}),i.Fc(9,_,2,2,"mat-option",5),i.Sb()),2&t){const t=i.vc(8);i.Cb(1),i.nc("appLabel",e.inputTitle)("formControl",e.formCtrl)("matAutocomplete",t)("required",e.isRequired),i.Cb(8),i.nc("ngForOf",e.displayedCountries)}},directives:[u.c,h.b,a.c,m.c,p.a,a.o,a.f,a.v,u.b,m.a,f.k,g.m],styles:[".country[_ngcontent-%COMP%]{width:100%}"],changeDetection:0}),t})()},pu8Q:function(t,e,n){"use strict";n.d(e,"a",function(){return y}),n.d(e,"b",function(){return _});var i=n("8Y7J"),a=n("SVse"),r=n("UhP/"),o=n("8LU1"),s=n("SCoL"),l=n("omvX");function c(t,e){if(1&t&&(i.ec(),i.Ob(0,"circle",3)),2&t){const t=i.fc();i.Cc("animation-name","mat-progress-spinner-stroke-rotate-"+t._spinnerAnimationLabel)("stroke-dashoffset",t._getStrokeDashOffset(),"px")("stroke-dasharray",t._getStrokeCircumference(),"px")("stroke-width",t._getCircleStrokeWidth(),"%"),i.Db("r",t._getCircleRadius())}}function d(t,e){if(1&t&&(i.ec(),i.Ob(0,"circle",3)),2&t){const t=i.fc();i.Cc("stroke-dashoffset",t._getStrokeDashOffset(),"px")("stroke-dasharray",t._getStrokeCircumference(),"px")("stroke-width",t._getCircleStrokeWidth(),"%"),i.Db("r",t._getCircleRadius())}}function u(t,e){if(1&t&&(i.ec(),i.Ob(0,"circle",3)),2&t){const t=i.fc();i.Cc("animation-name","mat-progress-spinner-stroke-rotate-"+t._spinnerAnimationLabel)("stroke-dashoffset",t._getStrokeDashOffset(),"px")("stroke-dasharray",t._getStrokeCircumference(),"px")("stroke-width",t._getCircleStrokeWidth(),"%"),i.Db("r",t._getCircleRadius())}}function h(t,e){if(1&t&&(i.ec(),i.Ob(0,"circle",3)),2&t){const t=i.fc();i.Cc("stroke-dashoffset",t._getStrokeDashOffset(),"px")("stroke-dasharray",t._getStrokeCircumference(),"px")("stroke-width",t._getCircleStrokeWidth(),"%"),i.Db("r",t._getCircleRadius())}}const m=".mat-progress-spinner{display:block;position:relative;overflow:hidden}.mat-progress-spinner svg{position:absolute;transform:rotate(-90deg);top:0;left:0;transform-origin:center;overflow:visible}.mat-progress-spinner circle{fill:transparent;transform-origin:center;transition:stroke-dashoffset 225ms linear}._mat-animation-noopable.mat-progress-spinner circle{transition:none;animation:none}.cdk-high-contrast-active .mat-progress-spinner circle{stroke:currentColor}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] svg{animation:mat-progress-spinner-linear-rotate 2000ms linear infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] svg{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition-property:stroke;animation-duration:4000ms;animation-timing-function:cubic-bezier(0.35, 0, 0.25, 1);animation-iteration-count:infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] svg{animation:mat-progress-spinner-stroke-rotate-fallback 10000ms cubic-bezier(0.87, 0.03, 0.33, 1) infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] svg{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] circle{transition-property:stroke}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] circle{transition:none;animation:none}@keyframes mat-progress-spinner-linear-rotate{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes mat-progress-spinner-stroke-rotate-100{0%{stroke-dashoffset:268.606171575px;transform:rotate(0)}12.5%{stroke-dashoffset:56.5486677px;transform:rotate(0)}12.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(72.5deg)}25%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(72.5deg)}25.0001%{stroke-dashoffset:268.606171575px;transform:rotate(270deg)}37.5%{stroke-dashoffset:56.5486677px;transform:rotate(270deg)}37.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(161.5deg)}50%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(161.5deg)}50.0001%{stroke-dashoffset:268.606171575px;transform:rotate(180deg)}62.5%{stroke-dashoffset:56.5486677px;transform:rotate(180deg)}62.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(251.5deg)}75%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(251.5deg)}75.0001%{stroke-dashoffset:268.606171575px;transform:rotate(90deg)}87.5%{stroke-dashoffset:56.5486677px;transform:rotate(90deg)}87.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(341.5deg)}100%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(341.5deg)}}@keyframes mat-progress-spinner-stroke-rotate-fallback{0%{transform:rotate(0deg)}25%{transform:rotate(1170deg)}50%{transform:rotate(2340deg)}75%{transform:rotate(3510deg)}100%{transform:rotate(4680deg)}}\n";class p{constructor(t){this._elementRef=t}}const f=Object(r.w)(p,"primary"),g=new i.s("mat-progress-spinner-default-options",{providedIn:"root",factory:function(){return{diameter:100}}});let b=(()=>{class t extends f{constructor(e,n,i,a,r){super(e),this._elementRef=e,this._document=i,this._diameter=100,this._value=0,this._fallbackAnimation=!1,this.mode="determinate";const o=t._diameters;this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),o.has(i.head)||o.set(i.head,new Set([100])),this._fallbackAnimation=n.EDGE||n.TRIDENT,this._noopAnimations="NoopAnimations"===a&&!!r&&!r._forceAnimations,r&&(r.diameter&&(this.diameter=r.diameter),r.strokeWidth&&(this.strokeWidth=r.strokeWidth))}get diameter(){return this._diameter}set diameter(t){this._diameter=Object(o.f)(t),this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),!this._fallbackAnimation&&this._styleRoot&&this._attachStyleNode()}get strokeWidth(){return this._strokeWidth||this.diameter/10}set strokeWidth(t){this._strokeWidth=Object(o.f)(t)}get value(){return"determinate"===this.mode?this._value:0}set value(t){this._value=Math.max(0,Math.min(100,Object(o.f)(t)))}ngOnInit(){const t=this._elementRef.nativeElement;this._styleRoot=Object(s.c)(t)||this._document.head,this._attachStyleNode(),t.classList.add(`mat-progress-spinner-indeterminate${this._fallbackAnimation?"-fallback":""}-animation`)}_getCircleRadius(){return(this.diameter-10)/2}_getViewBox(){const t=2*this._getCircleRadius()+this.strokeWidth;return`0 0 ${t} ${t}`}_getStrokeCircumference(){return 2*Math.PI*this._getCircleRadius()}_getStrokeDashOffset(){return"determinate"===this.mode?this._getStrokeCircumference()*(100-this._value)/100:this._fallbackAnimation&&"indeterminate"===this.mode?.2*this._getStrokeCircumference():null}_getCircleStrokeWidth(){return this.strokeWidth/this.diameter*100}_attachStyleNode(){const e=this._styleRoot,n=this._diameter,i=t._diameters;let a=i.get(e);if(!a||!a.has(n)){const t=this._document.createElement("style");t.setAttribute("mat-spinner-animation",this._spinnerAnimationLabel),t.textContent=this._getAnimationText(),e.appendChild(t),a||(a=new Set,i.set(e,a)),a.add(n)}}_getAnimationText(){const t=this._getStrokeCircumference();return"\n @keyframes mat-progress-spinner-stroke-rotate-DIAMETER {\n 0% { stroke-dashoffset: START_VALUE; transform: rotate(0); }\n 12.5% { stroke-dashoffset: END_VALUE; transform: rotate(0); }\n 12.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(72.5deg); }\n 25% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(72.5deg); }\n\n 25.0001% { stroke-dashoffset: START_VALUE; transform: rotate(270deg); }\n 37.5% { stroke-dashoffset: END_VALUE; transform: rotate(270deg); }\n 37.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(161.5deg); }\n 50% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(161.5deg); }\n\n 50.0001% { stroke-dashoffset: START_VALUE; transform: rotate(180deg); }\n 62.5% { stroke-dashoffset: END_VALUE; transform: rotate(180deg); }\n 62.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(251.5deg); }\n 75% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(251.5deg); }\n\n 75.0001% { stroke-dashoffset: START_VALUE; transform: rotate(90deg); }\n 87.5% { stroke-dashoffset: END_VALUE; transform: rotate(90deg); }\n 87.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(341.5deg); }\n 100% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(341.5deg); }\n }\n".replace(/START_VALUE/g,""+.95*t).replace(/END_VALUE/g,""+.2*t).replace(/DIAMETER/g,`${this._spinnerAnimationLabel}`)}_getSpinnerAnimationLabel(){return this.diameter.toString().replace(".","_")}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.l),i.Nb(s.a),i.Nb(a.d,8),i.Nb(l.a,8),i.Nb(g))},t.\u0275cmp=i.Hb({type:t,selectors:[["mat-progress-spinner"]],hostAttrs:["role","progressbar",1,"mat-progress-spinner"],hostVars:10,hostBindings:function(t,e){2&t&&(i.Db("aria-valuemin","determinate"===e.mode?0:null)("aria-valuemax","determinate"===e.mode?100:null)("aria-valuenow","determinate"===e.mode?e.value:null)("mode",e.mode),i.Cc("width",e.diameter,"px")("height",e.diameter,"px"),i.Fb("_mat-animation-noopable",e._noopAnimations))},inputs:{color:"color",mode:"mode",diameter:"diameter",strokeWidth:"strokeWidth",value:"value"},exportAs:["matProgressSpinner"],features:[i.zb],decls:3,vars:8,consts:[["preserveAspectRatio","xMidYMid meet","focusable","false",3,"ngSwitch"],["cx","50%","cy","50%",3,"animation-name","stroke-dashoffset","stroke-dasharray","stroke-width",4,"ngSwitchCase"],["cx","50%","cy","50%",3,"stroke-dashoffset","stroke-dasharray","stroke-width",4,"ngSwitchCase"],["cx","50%","cy","50%"]],template:function(t,e){1&t&&(i.ec(),i.Tb(0,"svg",0),i.Fc(1,c,1,9,"circle",1),i.Fc(2,d,1,7,"circle",2),i.Sb()),2&t&&(i.Cc("width",e.diameter,"px")("height",e.diameter,"px"),i.nc("ngSwitch","indeterminate"===e.mode),i.Db("viewBox",e._getViewBox()),i.Cb(1),i.nc("ngSwitchCase",!0),i.Cb(1),i.nc("ngSwitchCase",!1))},directives:[a.n,a.o],styles:[m],encapsulation:2,changeDetection:0}),t._diameters=new WeakMap,t})(),_=(()=>{class t extends b{constructor(t,e,n,i,a){super(t,e,n,i,a),this.mode="indeterminate"}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.l),i.Nb(s.a),i.Nb(a.d,8),i.Nb(l.a,8),i.Nb(g))},t.\u0275cmp=i.Hb({type:t,selectors:[["mat-spinner"]],hostAttrs:["role","progressbar","mode","indeterminate",1,"mat-spinner","mat-progress-spinner"],hostVars:6,hostBindings:function(t,e){2&t&&(i.Cc("width",e.diameter,"px")("height",e.diameter,"px"),i.Fb("_mat-animation-noopable",e._noopAnimations))},inputs:{color:"color"},features:[i.zb],decls:3,vars:8,consts:[["preserveAspectRatio","xMidYMid meet","focusable","false",3,"ngSwitch"],["cx","50%","cy","50%",3,"animation-name","stroke-dashoffset","stroke-dasharray","stroke-width",4,"ngSwitchCase"],["cx","50%","cy","50%",3,"stroke-dashoffset","stroke-dasharray","stroke-width",4,"ngSwitchCase"],["cx","50%","cy","50%"]],template:function(t,e){1&t&&(i.ec(),i.Tb(0,"svg",0),i.Fc(1,u,1,9,"circle",1),i.Fc(2,h,1,7,"circle",2),i.Sb()),2&t&&(i.Cc("width",e.diameter,"px")("height",e.diameter,"px"),i.nc("ngSwitch","indeterminate"===e.mode),i.Db("viewBox",e._getViewBox()),i.Cb(1),i.nc("ngSwitchCase",!0),i.Cb(1),i.nc("ngSwitchCase",!1))},directives:[a.n,a.o],styles:[m],encapsulation:2,changeDetection:0}),t})(),y=(()=>{class t{}return t.\u0275mod=i.Lb({type:t}),t.\u0275inj=i.Kb({factory:function(e){return new(e||t)},imports:[[r.j,a.c],r.j]}),t})()},q6Qu:function(t,e,n){"use strict";n.d(e,"a",function(){return d});var i=n("VRyK"),a=n("lJxs"),r=n("nYR2"),o=n("3wrD"),s=n("NVUN"),l=n("8Y7J"),c=n("TSSN");let d=(()=>{class t{constructor(t,e,n,i,a,r){this.translateService=t,this.componentFactoryResolver=e,this.el=n,this.appRef=i,this.renderer=a,this.injector=r}set appLabel(t){this._appLabel=t,setTimeout(()=>this.fetchLabel())}get appLabel(){return this._appLabel}get isFormField(){return"INPUT"===this.el.nativeElement.nodeName||"TEXTAREA"===this.el.nativeElement.nodeName||"MAT-SELECT"===this.el.nativeElement.nodeName}get required(){return!1!==this.el.nativeElement.getAttribute("required")&&null!==this.el.nativeElement.getAttribute("required")&&void 0!==this.el.nativeElement.getAttribute("required")}get labelElt(){return this.isFormField?this.el.nativeElement.parentElement.querySelector(".mat-form-field-label-wrapper"):"MAT-RADIO-BUTTON"===this.el.nativeElement.nodeName?this.el.nativeElement.querySelector(".mat-radio-label-content"):this.el.nativeElement}ngOnInit(){this.infoTrigger=this.isFormField?this.getMatFormField():this.el.nativeElement,setTimeout(()=>this.fetchLabel())}fetchLabel(){if(!this.appLabel)return;const t=`${this.appLabel}._info`;Object(i.a)(this.translateService.get(this.appLabel).pipe(Object(a.a)(t=>this.value=t)),this.translateService.get(t).pipe(Object(a.a)(e=>this.info=e!==t?e:null))).pipe(Object(r.a)(()=>this.setLabel())).subscribe()}getMatFormField(){let t=this.el.nativeElement;do{t=t.parentElement}while(t&&!t.getAttribute("class").match(/mat-form-field-wrapper/gm));return t||this.labelElt}generateLabel(){return`\n <label class="mat-form-field-label mat-empty mat-form-field-empty" for="${this.el.nativeElement.id}">\n <mat-label>${this.value}</mat-label>\n ${!1!==this.required?'<span class="mat-placeholder-required mat-form-field-required-marker">&nbsp;*</span>':""}\n </label>\n `}generateSimpleLabel(){return`\n <label>\n ${this.value}\n ${!1!==this.required?'<span class="mat-placeholder-required mat-form-field-required-marker">&nbsp;*</span>':""}\n </label>\n `}generateInfobulle(){const t=this.componentFactoryResolver.resolveComponentFactory(s.a).create(this.injector);this.appRef.attachView(t.hostView);const e=t.hostView.rootNodes[0];return t.instance.message=this.info,e.className="app-infobulle-trigger",e}generateButtonInfo(){const t=this.componentFactoryResolver.resolveComponentFactory(o.a).create(this.injector);this.appRef.attachView(t.hostView);const e=t.hostView.rootNodes[0];return t.instance.label=this.value,t.instance.info=this.info,e}setLabel(){const t="BUTTON"===this.el.nativeElement.nodeName?this.generateButtonInfo():this.generateInfobulle();switch(this.el.nativeElement.nodeName){case"INPUT":case"TEXTAREA":this.labelElt.innerHTML=this.generateLabel(),t.className+=" input";break;case"MAT-SELECT":this.labelElt.innerHTML=this.generateLabel(),t.className+=" select";break;case"MAT-RADIO-BUTTON":this.labelElt.innerHTML=`<span style="display:none">&nbsp;</span>${this.value}`,t.className+=" default";break;case"BUTTON":break;default:this.labelElt.innerHTML=this.generateSimpleLabel(),t.className+=" default"}(this.info||"BUTTON"===this.el.nativeElement.nodeName)&&(this.infobulle&&this.renderer.removeChild(this.infoTrigger,this.infobulle),this.infobulle=t,this.renderer.appendChild(this.infoTrigger,t))}}return t.\u0275fac=function(e){return new(e||t)(l.Nb(c.d),l.Nb(l.j),l.Nb(l.l),l.Nb(l.g),l.Nb(l.G),l.Nb(l.t))},t.\u0275dir=l.Ib({type:t,selectors:[["","appLabel",""]],inputs:{appLabel:"appLabel"}}),t})()},qUUn:function(t,e,n){"use strict";n.r(e),n.d(e,"NewsModule",function(){return b});var i=n("SVse"),a=n("PCNd"),r=n("iInd"),o=n("IGtN"),s=n("8Y7J"),l=n("TSSN"),c=n("CRH9"),d=n("Dxy4"),u=n("Tj54"),h=n("q6Qu"),m=n("06/9"),p=n("KSFr");let f=(()=>{class t extends o.a{constructor(t,e,n){super(t),this.translateService=t,this.route=e,this.newsService=n,this.news={}}load(){this.route.params.subscribe(t=>this.newsService.getNews(t.id).subscribe(t=>{this.news=t}))}}return t.\u0275fac=function(e){return new(e||t)(s.Nb(l.d),s.Nb(r.a),s.Nb(c.a))},t.\u0275cmp=s.Hb({type:t,selectors:[["app-news"]],features:[s.zb],decls:17,vars:10,consts:[[1,"news-container"],["id","news",1,"content","mat-elevation-z2"],["routerLink","","routerLinkActive","active",1,"navigation-link"],["mat-icon-button","","aria-label","back"],[1,"floating_left"],[1,"title",3,"innerHTML"],[1,"news-content","ql-editor",3,"innerHTML"],[1,"home-news"],["appLabel","home.news.titre"]],template:function(t,e){1&t&&(s.Tb(0,"div",0),s.Tb(1,"div",1),s.Tb(2,"a",2),s.Tb(3,"button",3),s.Tb(4,"mat-icon"),s.Hc(5,"arrow_back"),s.Sb(),s.Hc(6," Retour "),s.Sb(),s.Sb(),s.Tb(7,"span",4),s.Hc(8),s.gc(9,"date"),s.Sb(),s.Ob(10,"h1",5),s.gc(11,"safeHtml"),s.Ob(12,"p",6),s.gc(13,"safeHtml"),s.Sb(),s.Tb(14,"div",7),s.Ob(15,"h2",8),s.Ob(16,"app-news-carrousel"),s.Sb(),s.Sb()),2&t&&(s.Cb(8),s.Jc("Le ",s.ic(9,3,e.news.date,"dd/MM/yyyy"),""),s.Cb(2),s.nc("innerHTML",s.hc(11,6,e.news.title),s.zc),s.Cb(2),s.nc("innerHTML",s.hc(13,8,e.news.content),s.zc))},directives:[r.i,r.h,d.a,u.a,h.a,m.a],pipes:[i.e,p.a],styles:[".title{font-weight:700;font-size:1.25rem}.floating_left{float:right;margin-top:10px}.news-content img{max-width:100%;max-width:-webkit-fill-available;max-width:-moz-available;max-width:stretch}app-news{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex:1 0 auto;flex:1 0 auto}.news-container .content{background:#fff;margin:16px auto auto;padding:12px 24px}"],encapsulation:2}),t})(),g=(()=>{class t{}return t.\u0275mod=s.Lb({type:t}),t.\u0275inj=s.Kb({factory:function(e){return new(e||t)},imports:[[r.j.forChild([{path:"",component:f}])],r.j]}),t})(),b=(()=>{class t{}return t.\u0275mod=s.Lb({type:t}),t.\u0275inj=s.Kb({factory:function(e){return new(e||t)},imports:[[i.c,g,a.a]]}),t})()},"qh/L":function(t,e,n){"use strict";n.d(e,"a",function(){return m});var i=n("LRne"),a=n("lJxs"),r=n("JIr8"),o=n("xuwl"),s=n("EjJx"),l=n("8Y7J"),c=n("IheW"),d=n("iInd"),u=n("lxpx"),h=n("WiJD");let m=(()=>{class t{constructor(t,e,n,i){this.http=t,this.router=e,this.translationService=n,this.configurationService=i,this.API="/api",this.TOKEN_KEY="session_token",this.TOKEN_DATA_KEY="data_token"}get isLogged(){return!!this.securityToken}get securityToken(){return this._securityToken||(this._securityToken=localStorage.getItem(this.TOKEN_KEY)),this._securityToken}set securityToken(t){t?localStorage.setItem(this.TOKEN_KEY,t):localStorage.removeItem(this.TOKEN_KEY),this._securityToken=t}get refreshToken(){return this._refreshToken||(this._refreshToken=localStorage.getItem(this.TOKEN_DATA_KEY)),this._refreshToken}set refreshToken(t){t?localStorage.setItem(this.TOKEN_DATA_KEY,t):localStorage.removeItem(this.TOKEN_DATA_KEY),this._refreshToken=t}checkToken(){const t=s.a(this.securityToken);return Object(i.a)(t.exp>(new Date).getTime())}login(t,e){return this.http.post(this.API+"/login",{login:t,password:e}).pipe(Object(a.a)(t=>{if(t.token){this.securityToken=t.token,this.refreshToken=t.refreshToken;const e=s.a(this.refreshToken);this.translationService.use(e.compte.langue),this.router.navigate(["/"])}else t.deleted?Object(i.a)(o.a.USER_DELETED):Object(i.a)(o.a.INTERNAL)}),Object(r.a)(t=>{const e=t.error.errorCode||o.a.INTERNAL;return Object(i.a)(e)}))}sendRefreshToken(){return this.http.post(this.API+"/refresh/token",{token:this.securityToken,refreshToken:this.refreshToken}).pipe(Object(a.a)(t=>{if(t.token){this.refreshToken=t.refreshToken;const e=s.a(this.refreshToken);this.translationService.use(e.compte.langue),this.router.navigate(["/"])}else t.deleted?Object(i.a)(o.a.USER_DELETED):Object(i.a)(o.a.INTERNAL)}),Object(r.a)(t=>{const e=t.error.errorCode||o.a.INTERNAL;return Object(i.a)(e)}))}logout(){this.securityToken=null,this.refreshToken=null,this.configurationService.resetData(),this.router.navigate(["/auth/login"])}}return t.\u0275fac=function(e){return new(e||t)(l.Xb(c.b),l.Xb(d.f),l.Xb(u.a),l.Xb(h.a))},t.\u0275prov=l.Jb({token:t,factory:t.\u0275fac,providedIn:"root"}),t})()},quSY:function(t,e,n){"use strict";n.d(e,"a",function(){return s});var i=n("DH7j"),a=n("XoHu"),r=n("n6bG");const o=(()=>{function t(t){return Error.call(this),this.message=t?`${t.length} errors occurred during unsubscription:\n${t.map((t,e)=>`${e+1}) ${t.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=t,this}return t.prototype=Object.create(Error.prototype),t})();let s=(()=>{class t{constructor(t){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,t&&(this._ctorUnsubscribe=!0,this._unsubscribe=t)}unsubscribe(){let e;if(this.closed)return;let{_parentOrParents:n,_ctorUnsubscribe:s,_unsubscribe:c,_subscriptions:d}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,n instanceof t)n.remove(this);else if(null!==n)for(let t=0;t<n.length;++t)n[t].remove(this);if(Object(r.a)(c)){s&&(this._unsubscribe=void 0);try{c.call(this)}catch(u){e=u instanceof o?l(u.errors):[u]}}if(Object(i.a)(d)){let t=-1,n=d.length;for(;++t<n;){const n=d[t];if(Object(a.a)(n))try{n.unsubscribe()}catch(u){e=e||[],u instanceof o?e=e.concat(l(u.errors)):e.push(u)}}}if(e)throw new o(e)}add(e){let n=e;if(!e)return t.EMPTY;switch(typeof e){case"function":n=new t(e);case"object":if(n===this||n.closed||"function"!=typeof n.unsubscribe)return n;if(this.closed)return n.unsubscribe(),n;if(!(n instanceof t)){const e=n;n=new t,n._subscriptions=[e]}break;default:throw new Error("unrecognized teardown "+e+" added to Subscription.")}let{_parentOrParents:i}=n;if(null===i)n._parentOrParents=this;else if(i instanceof t){if(i===this)return n;n._parentOrParents=[i,this]}else{if(-1!==i.indexOf(this))return n;i.push(this)}const a=this._subscriptions;return null===a?this._subscriptions=[n]:a.push(n),n}remove(t){const e=this._subscriptions;if(e){const n=e.indexOf(t);-1!==n&&e.splice(n,1)}}}var e;return t.EMPTY=((e=new t).closed=!0,e),t})();function l(t){return t.reduce((t,e)=>t.concat(e instanceof o?e.errors:e),[])}},qvJo:function(t,e,n){!function(t){"use strict";function e(t,e,n,i){var a={s:["\u0925\u094b\u0921\u092f\u093e \u0938\u0945\u0915\u0902\u0921\u093e\u0902\u0928\u0940","\u0925\u094b\u0921\u0947 \u0938\u0945\u0915\u0902\u0921"],ss:[t+" \u0938\u0945\u0915\u0902\u0921\u093e\u0902\u0928\u0940",t+" \u0938\u0945\u0915\u0902\u0921"],m:["\u090f\u0915\u093e \u092e\u093f\u0923\u091f\u093e\u0928","\u090f\u0915 \u092e\u093f\u0928\u0942\u091f"],mm:[t+" \u092e\u093f\u0923\u091f\u093e\u0902\u0928\u0940",t+" \u092e\u093f\u0923\u091f\u093e\u0902"],h:["\u090f\u0915\u093e \u0935\u0930\u093e\u0928","\u090f\u0915 \u0935\u0930"],hh:[t+" \u0935\u0930\u093e\u0902\u0928\u0940",t+" \u0935\u0930\u093e\u0902"],d:["\u090f\u0915\u093e \u0926\u093f\u0938\u093e\u0928","\u090f\u0915 \u0926\u0940\u0938"],dd:[t+" \u0926\u093f\u0938\u093e\u0902\u0928\u0940",t+" \u0926\u0940\u0938"],M:["\u090f\u0915\u093e \u092e\u094d\u0939\u092f\u0928\u094d\u092f\u093e\u0928","\u090f\u0915 \u092e\u094d\u0939\u092f\u0928\u094b"],MM:[t+" \u092e\u094d\u0939\u092f\u0928\u094d\u092f\u093e\u0928\u0940",t+" \u092e\u094d\u0939\u092f\u0928\u0947"],y:["\u090f\u0915\u093e \u0935\u0930\u094d\u0938\u093e\u0928","\u090f\u0915 \u0935\u0930\u094d\u0938"],yy:[t+" \u0935\u0930\u094d\u0938\u093e\u0902\u0928\u0940",t+" \u0935\u0930\u094d\u0938\u093e\u0902"]};return i?a[n][0]:a[n][1]}t.defineLocale("gom-deva",{months:{standalone:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u0940\u0932_\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932\u092f_\u0911\u0917\u0938\u094d\u091f_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930_\u0911\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930_\u0921\u093f\u0938\u0947\u0902\u092c\u0930".split("_"),format:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940\u091a\u094d\u092f\u093e_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940\u091a\u094d\u092f\u093e_\u092e\u093e\u0930\u094d\u091a\u093e\u091a\u094d\u092f\u093e_\u090f\u092a\u094d\u0930\u0940\u0932\u093e\u091a\u094d\u092f\u093e_\u092e\u0947\u092f\u093e\u091a\u094d\u092f\u093e_\u091c\u0942\u0928\u093e\u091a\u094d\u092f\u093e_\u091c\u0941\u0932\u092f\u093e\u091a\u094d\u092f\u093e_\u0911\u0917\u0938\u094d\u091f\u093e\u091a\u094d\u092f\u093e_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0911\u0915\u094d\u091f\u094b\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0921\u093f\u0938\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"\u091c\u093e\u0928\u0947._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u0940._\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932._\u0911\u0917._\u0938\u092a\u094d\u091f\u0947\u0902._\u0911\u0915\u094d\u091f\u094b._\u0928\u094b\u0935\u094d\u0939\u0947\u0902._\u0921\u093f\u0938\u0947\u0902.".split("_"),monthsParseExact:!0,weekdays:"\u0906\u092f\u0924\u093e\u0930_\u0938\u094b\u092e\u093e\u0930_\u092e\u0902\u0917\u0933\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u092c\u093f\u0930\u0947\u0938\u094d\u0924\u093e\u0930_\u0938\u0941\u0915\u094d\u0930\u093e\u0930_\u0936\u0947\u0928\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0906\u092f\u0924._\u0938\u094b\u092e._\u092e\u0902\u0917\u0933._\u092c\u0941\u0927._\u092c\u094d\u0930\u0947\u0938\u094d\u0924._\u0938\u0941\u0915\u094d\u0930._\u0936\u0947\u0928.".split("_"),weekdaysMin:"\u0906_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u092c\u094d\u0930\u0947_\u0938\u0941_\u0936\u0947".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",LTS:"A h:mm:ss [\u0935\u093e\u091c\u0924\u093e\u0902]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",llll:"ddd, D MMM YYYY, A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]"},calendar:{sameDay:"[\u0906\u092f\u091c] LT",nextDay:"[\u092b\u093e\u0932\u094d\u092f\u093e\u0902] LT",nextWeek:"[\u092b\u0941\u0921\u0932\u094b] dddd[,] LT",lastDay:"[\u0915\u093e\u0932] LT",lastWeek:"[\u092b\u093e\u091f\u0932\u094b] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s \u0906\u0926\u0940\u0902",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}(\u0935\u0947\u0930)/,ordinal:function(t,e){switch(e){case"D":return t+"\u0935\u0947\u0930";default:case"M":case"Q":case"DDD":case"d":case"w":case"W":return t}},week:{dow:0,doy:3},meridiemParse:/\u0930\u093e\u0924\u0940|\u0938\u0915\u093e\u0933\u0940\u0902|\u0926\u0928\u092a\u093e\u0930\u093e\u0902|\u0938\u093e\u0902\u091c\u0947/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u0930\u093e\u0924\u0940"===e?t<4?t:t+12:"\u0938\u0915\u093e\u0933\u0940\u0902"===e?t:"\u0926\u0928\u092a\u093e\u0930\u093e\u0902"===e?t>12?t:t+12:"\u0938\u093e\u0902\u091c\u0947"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"\u0930\u093e\u0924\u0940":t<12?"\u0938\u0915\u093e\u0933\u0940\u0902":t<16?"\u0926\u0928\u092a\u093e\u0930\u093e\u0902":t<20?"\u0938\u093e\u0902\u091c\u0947":"\u0930\u093e\u0924\u0940"}})}(n("wd/R"))},rJgo:function(t,e,n){"use strict";n.d(e,"a",function(){return H}),n.d(e,"b",function(){return I}),n.d(e,"c",function(){return W}),n.d(e,"d",function(){return V});var i=n("YEUz"),a=n("8LU1"),r=n("Ht+U"),o=n("8Y7J"),s=n("XNiG"),l=n("quSY"),c=n("VRyK"),d=n("LRne"),u=n("7Hc7"),h=n("JX91"),m=n("eIep"),p=n("IzEk"),f=n("pLZG"),g=n("1G5W"),b=n("3E0/"),_=n("GS7A"),y=n("1z/I"),v=n("SVse"),C=n("UhP/"),w=n("1O3W"),x=n("SCoL"),M=n("7KAL"),O=n("9gLZ");const k=["mat-menu-item",""],S=["*"];function T(t,e){if(1&t){const t=o.Ub();o.Tb(0,"div",0),o.bc("keydown",function(e){return o.yc(t),o.fc()._handleKeydown(e)})("click",function(){return o.yc(t),o.fc().closed.emit("click")})("@transformMenu.start",function(e){return o.yc(t),o.fc()._onAnimationStart(e)})("@transformMenu.done",function(e){return o.yc(t),o.fc()._onAnimationDone(e)}),o.Tb(1,"div",1),o.lc(2),o.Sb(),o.Sb()}if(2&t){const t=o.fc();o.nc("id",t.panelId)("ngClass",t._classList)("@transformMenu",t._panelAnimationState),o.Db("aria-label",t.ariaLabel||null)("aria-labelledby",t.ariaLabelledby||null)("aria-describedby",t.ariaDescribedby||null)}}const P={transformMenu:Object(_.n)("transformMenu",[Object(_.k)("void",Object(_.l)({opacity:0,transform:"scale(0.8)"})),Object(_.m)("void => enter",Object(_.e)("120ms cubic-bezier(0, 0, 0.2, 1)",Object(_.l)({opacity:1,transform:"scale(1)"}))),Object(_.m)("* => void",Object(_.e)("100ms 25ms linear",Object(_.l)({opacity:0})))]),fadeInItems:Object(_.n)("fadeInItems",[Object(_.k)("showing",Object(_.l)({opacity:1})),Object(_.m)("void => *",[Object(_.l)({opacity:0}),Object(_.e)("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},L=new o.s("MatMenuContent"),D=new o.s("MAT_MENU_PANEL");class E{}const A=Object(C.x)(Object(C.y)(E));let I=(()=>{class t extends A{constructor(t,e,n,i){super(),this._elementRef=t,this._focusMonitor=n,this._parentMenu=i,this.role="menuitem",this._hovered=new s.a,this._focused=new s.a,this._highlighted=!1,this._triggersSubmenu=!1,i&&i.addItem&&i.addItem(this)}focus(t,e){this._focusMonitor&&t?this._focusMonitor.focusVia(this._getHostElement(),t,e):this._getHostElement().focus(e),this._focused.next(this)}ngAfterViewInit(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(t){this.disabled&&(t.preventDefault(),t.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){var t,e;const n=this._elementRef.nativeElement.cloneNode(!0),i=n.querySelectorAll("mat-icon, .material-icons");for(let a=0;a<i.length;a++){const e=i[a];null===(t=e.parentNode)||void 0===t||t.removeChild(e)}return(null===(e=n.textContent)||void 0===e?void 0:e.trim())||""}}return t.\u0275fac=function(e){return new(e||t)(o.Nb(o.l),o.Nb(v.d),o.Nb(i.h),o.Nb(D,8))},t.\u0275cmp=o.Hb({type:t,selectors:[["","mat-menu-item",""]],hostAttrs:[1,"mat-focus-indicator"],hostVars:10,hostBindings:function(t,e){1&t&&o.bc("click",function(t){return e._checkDisabled(t)})("mouseenter",function(){return e._handleMouseEnter()}),2&t&&(o.Db("role",e.role)("tabindex",e._getTabIndex())("aria-disabled",e.disabled.toString())("disabled",e.disabled||null),o.Fb("mat-menu-item",!0)("mat-menu-item-highlighted",e._highlighted)("mat-menu-item-submenu-trigger",e._triggersSubmenu))},inputs:{disabled:"disabled",disableRipple:"disableRipple",role:"role"},exportAs:["matMenuItem"],features:[o.zb],attrs:k,ngContentSelectors:S,decls:2,vars:2,consts:[["matRipple","",1,"mat-menu-ripple",3,"matRippleDisabled","matRippleTrigger"]],template:function(t,e){1&t&&(o.mc(),o.lc(0),o.Ob(1,"div",0)),2&t&&(o.Cb(1),o.nc("matRippleDisabled",e.disableRipple||e.disabled)("matRippleTrigger",e._getHostElement()))},directives:[C.r],encapsulation:2,changeDetection:0}),t})();const R=new o.s("mat-menu-default-options",{providedIn:"root",factory:function(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}});let N=0,Y=(()=>{class t{constructor(t,e,n){this._elementRef=t,this._ngZone=e,this._defaultOptions=n,this._xPosition=this._defaultOptions.xPosition,this._yPosition=this._defaultOptions.yPosition,this._directDescendantItems=new o.F,this._tabSubscription=l.a.EMPTY,this._classList={},this._panelAnimationState="void",this._animationDone=new s.a,this.overlayPanelClass=this._defaultOptions.overlayPanelClass||"",this.backdropClass=this._defaultOptions.backdropClass,this._overlapTrigger=this._defaultOptions.overlapTrigger,this._hasBackdrop=this._defaultOptions.hasBackdrop,this.closed=new o.o,this.close=this.closed,this.panelId="mat-menu-panel-"+N++}get xPosition(){return this._xPosition}set xPosition(t){this._xPosition=t,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(t){this._yPosition=t,this.setPositionClasses()}get overlapTrigger(){return this._overlapTrigger}set overlapTrigger(t){this._overlapTrigger=Object(a.c)(t)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(t){this._hasBackdrop=Object(a.c)(t)}set panelClass(t){const e=this._previousPanelClass;e&&e.length&&e.split(" ").forEach(t=>{this._classList[t]=!1}),this._previousPanelClass=t,t&&t.length&&(t.split(" ").forEach(t=>{this._classList[t]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(t){this.panelClass=t}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new i.g(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._tabSubscription=this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe(Object(h.a)(this._directDescendantItems),Object(m.a)(t=>Object(c.a)(...t.map(t=>t._focused)))).subscribe(t=>this._keyManager.updateActiveItem(t))}ngOnDestroy(){this._directDescendantItems.destroy(),this._tabSubscription.unsubscribe(),this.closed.complete()}_hovered(){return this._directDescendantItems.changes.pipe(Object(h.a)(this._directDescendantItems),Object(m.a)(t=>Object(c.a)(...t.map(t=>t._hovered))))}addItem(t){}removeItem(t){}_handleKeydown(t){const e=t.keyCode,n=this._keyManager;switch(e){case r.f:Object(r.r)(t)||(t.preventDefault(),this.closed.emit("keydown"));break;case r.h:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case r.l:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:e!==r.o&&e!==r.c||n.setFocusOrigin("keyboard"),n.onKeydown(t)}}focusFirstItem(t="program"){this.lazyContent?this._ngZone.onStable.pipe(Object(p.a)(1)).subscribe(()=>this._focusFirstItem(t)):this._focusFirstItem(t)}_focusFirstItem(t){const e=this._keyManager;if(e.setFocusOrigin(t).setFirstItemActive(),!e.activeItem&&this._directDescendantItems.length){let t=this._directDescendantItems.first._getHostElement().parentElement;for(;t;){if("menu"===t.getAttribute("role")){t.focus();break}t=t.parentElement}}}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(t){const e=`mat-elevation-z${Math.min(4+t,24)}`,n=Object.keys(this._classList).find(t=>t.startsWith("mat-elevation-z"));n&&n!==this._previousElevation||(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[e]=!0,this._previousElevation=e)}setPositionClasses(t=this.xPosition,e=this.yPosition){const n=this._classList;n["mat-menu-before"]="before"===t,n["mat-menu-after"]="after"===t,n["mat-menu-above"]="above"===e,n["mat-menu-below"]="below"===e}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(t){this._animationDone.next(t),this._isAnimating=!1}_onAnimationStart(t){this._isAnimating=!0,"enter"===t.toState&&0===this._keyManager.activeItemIndex&&(t.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe(Object(h.a)(this._allItems)).subscribe(t=>{this._directDescendantItems.reset(t.filter(t=>t._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}}return t.\u0275fac=function(e){return new(e||t)(o.Nb(o.l),o.Nb(o.B),o.Nb(R))},t.\u0275dir=o.Ib({type:t,contentQueries:function(t,e,n){if(1&t&&(o.Gb(n,L,1),o.Gb(n,I,1),o.Gb(n,I,0)),2&t){let t;o.uc(t=o.cc())&&(e.lazyContent=t.first),o.uc(t=o.cc())&&(e._allItems=t),o.uc(t=o.cc())&&(e.items=t)}},viewQuery:function(t,e){if(1&t&&o.Lc(o.N,1),2&t){let t;o.uc(t=o.cc())&&(e.templateRef=t.first)}},inputs:{backdropClass:"backdropClass",xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:"overlapTrigger",hasBackdrop:"hasBackdrop",panelClass:["class","panelClass"],classList:"classList",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"]},outputs:{closed:"closed",close:"close"}}),t})(),H=(()=>{class t extends Y{constructor(t,e,n){super(t,e,n)}}return t.\u0275fac=function(e){return new(e||t)(o.Nb(o.l),o.Nb(o.B),o.Nb(R))},t.\u0275cmp=o.Hb({type:t,selectors:[["mat-menu"]],hostVars:3,hostBindings:function(t,e){2&t&&o.Db("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[o.Bb([{provide:D,useExisting:t}]),o.zb],ngContentSelectors:S,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-menu-panel",3,"id","ngClass","keydown","click"],[1,"mat-menu-content"]],template:function(t,e){1&t&&(o.mc(),o.Fc(0,T,3,6,"ng-template"))},directives:[v.j],styles:['.mat-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;max-height:calc(100vh - 48px);border-radius:4px;outline:0;min-height:64px}.mat-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-menu-panel{outline:solid 1px}.mat-menu-content:not(:empty){padding-top:8px;padding-bottom:8px}.mat-menu-item{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative}.mat-menu-item::-moz-focus-inner{border:0}.mat-menu-item[disabled]{cursor:default}[dir=rtl] .mat-menu-item{text-align:right}.mat-menu-item .mat-icon{margin-right:16px;vertical-align:middle}.mat-menu-item .mat-icon svg{vertical-align:top}[dir=rtl] .mat-menu-item .mat-icon{margin-left:16px;margin-right:0}.mat-menu-item[disabled]{pointer-events:none}.cdk-high-contrast-active .mat-menu-item{margin-top:1px}.cdk-high-contrast-active .mat-menu-item.cdk-program-focused,.cdk-high-contrast-active .mat-menu-item.cdk-keyboard-focused,.cdk-high-contrast-active .mat-menu-item-highlighted{outline:dotted 1px}.mat-menu-item-submenu-trigger{padding-right:32px}.mat-menu-item-submenu-trigger::after{width:0;height:0;border-style:solid;border-width:5px 0 5px 5px;border-color:transparent transparent transparent currentColor;content:"";display:inline-block;position:absolute;top:50%;right:16px;transform:translateY(-50%)}[dir=rtl] .mat-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}[dir=rtl] .mat-menu-item-submenu-trigger::after{right:auto;left:16px;transform:rotateY(180deg) translateY(-50%)}button.mat-menu-item{width:100%}.mat-menu-item .mat-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}\n'],encapsulation:2,data:{animation:[P.transformMenu,P.fadeInItems]},changeDetection:0}),t})();const j=new o.s("mat-menu-scroll-strategy"),F={provide:j,deps:[w.c],useFactory:function(t){return()=>t.scrollStrategies.reposition()}},z=Object(x.f)({passive:!0});let V=(()=>{class t{constructor(t,e,n,i,a,r,s,c){this._overlay=t,this._element=e,this._viewContainerRef=n,this._menuItemInstance=r,this._dir=s,this._focusMonitor=c,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=l.a.EMPTY,this._hoverSubscription=l.a.EMPTY,this._menuCloseSubscription=l.a.EMPTY,this._handleTouchStart=()=>this._openedBy="touch",this._openedBy=null,this.restoreFocus=!0,this.menuOpened=new o.o,this.onMenuOpen=this.menuOpened,this.menuClosed=new o.o,this.onMenuClose=this.menuClosed,this._scrollStrategy=i,this._parentMaterialMenu=a instanceof Y?a:void 0,e.nativeElement.addEventListener("touchstart",this._handleTouchStart,z),r&&(r._triggersSubmenu=this.triggersSubmenu())}get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(t){this.menu=t}get menu(){return this._menu}set menu(t){t!==this._menu&&(this._menu=t,this._menuCloseSubscription.unsubscribe(),t&&(this._menuCloseSubscription=t.close.subscribe(t=>{this._destroyMenu(),"click"!==t&&"tab"!==t||!this._parentMaterialMenu||this._parentMaterialMenu.closed.emit(t)})))}ngAfterContentInit(){this._checkMenu(),this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,z),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}triggersSubmenu(){return!(!this._menuItemInstance||!this._parentMaterialMenu)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){if(this._menuOpen)return;this._checkMenu();const t=this._createOverlay(),e=t.getConfig();this._setPosition(e.positionStrategy),e.hasBackdrop=null==this.menu.hasBackdrop?!this.triggersSubmenu():this.menu.hasBackdrop,t.attach(this._getPortal()),this.menu.lazyContent&&this.menu.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(),this.menu instanceof Y&&this.menu._startAnimation()}closeMenu(){this.menu.close.emit()}focus(t,e){this._focusMonitor&&t?this._focusMonitor.focusVia(this._element,t,e):this._element.nativeElement.focus(e)}_destroyMenu(){if(!this._overlayRef||!this.menuOpen)return;const t=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this._restoreFocus(),t instanceof Y?(t._resetAnimation(),t.lazyContent?t._animationDone.pipe(Object(f.a)(t=>"void"===t.toState),Object(p.a)(1),Object(g.a)(t.lazyContent._attached)).subscribe({next:()=>t.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),t.lazyContent&&t.lazyContent.detach())}_initMenu(){this.menu.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,this.menu.direction=this.dir,this._setMenuElevation(),this._setIsMenuOpen(!0),this.menu.focusFirstItem(this._openedBy||"program")}_setMenuElevation(){if(this.menu.setElevation){let t=0,e=this.menu.parentMenu;for(;e;)t++,e=e.parentMenu;this.menu.setElevation(t)}}_restoreFocus(){this.restoreFocus&&(this._openedBy?this.triggersSubmenu()||this.focus(this._openedBy):this.focus()),this._openedBy=null}_setIsMenuOpen(t){this._menuOpen=t,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&(this._menuItemInstance._highlighted=t)}_checkMenu(){}_createOverlay(){if(!this._overlayRef){const t=this._getOverlayConfig();this._subscribeToPositions(t.positionStrategy),this._overlayRef=this._overlay.create(t),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(){return new w.d({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:this.menu.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:this.menu.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(t){this.menu.setPositionClasses&&t.positionChanges.subscribe(t=>{this.menu.setPositionClasses("start"===t.connectionPair.overlayX?"after":"before","top"===t.connectionPair.overlayY?"below":"above")})}_setPosition(t){let[e,n]="before"===this.menu.xPosition?["end","start"]:["start","end"],[i,a]="above"===this.menu.yPosition?["bottom","top"]:["top","bottom"],[r,o]=[i,a],[s,l]=[e,n],c=0;this.triggersSubmenu()?(l=e="before"===this.menu.xPosition?"start":"end",n=s="end"===e?"start":"end",c="bottom"===i?8:-8):this.menu.overlapTrigger||(r="top"===i?"bottom":"top",o="top"===a?"bottom":"top"),t.withPositions([{originX:e,originY:r,overlayX:s,overlayY:i,offsetY:c},{originX:n,originY:r,overlayX:l,overlayY:i,offsetY:c},{originX:e,originY:o,overlayX:s,overlayY:a,offsetY:-c},{originX:n,originY:o,overlayX:l,overlayY:a,offsetY:-c}])}_menuClosingActions(){const t=this._overlayRef.backdropClick(),e=this._overlayRef.detachments(),n=this._parentMaterialMenu?this._parentMaterialMenu.closed:Object(d.a)(),i=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe(Object(f.a)(t=>t!==this._menuItemInstance),Object(f.a)(()=>this._menuOpen)):Object(d.a)();return Object(c.a)(t,n,i,e)}_handleMousedown(t){Object(i.l)(t)||(this._openedBy=0===t.button?"mouse":null,this.triggersSubmenu()&&t.preventDefault())}_handleKeydown(t){const e=t.keyCode;e!==r.e&&e!==r.m||(this._openedBy="keyboard"),this.triggersSubmenu()&&(e===r.l&&"ltr"===this.dir||e===r.h&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(t){this.triggersSubmenu()?(t.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){this.triggersSubmenu()&&this._parentMaterialMenu&&(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe(Object(f.a)(t=>t===this._menuItemInstance&&!t.disabled),Object(b.a)(0,u.a)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof Y&&this.menu._isAnimating?this.menu._animationDone.pipe(Object(p.a)(1),Object(b.a)(0,u.a),Object(g.a)(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(){return this._portal&&this._portal.templateRef===this.menu.templateRef||(this._portal=new y.g(this.menu.templateRef,this._viewContainerRef)),this._portal}}return t.\u0275fac=function(e){return new(e||t)(o.Nb(w.c),o.Nb(o.l),o.Nb(o.R),o.Nb(j),o.Nb(D,8),o.Nb(I,10),o.Nb(O.b,8),o.Nb(i.h))},t.\u0275dir=o.Ib({type:t,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:["aria-haspopup","true",1,"mat-menu-trigger"],hostVars:2,hostBindings:function(t,e){1&t&&o.bc("mousedown",function(t){return e._handleMousedown(t)})("keydown",function(t){return e._handleKeydown(t)})("click",function(t){return e._handleClick(t)}),2&t&&o.Db("aria-expanded",e.menuOpen||null)("aria-controls",e.menuOpen?e.menu.panelId:null)},inputs:{restoreFocus:["matMenuTriggerRestoreFocus","restoreFocus"],_deprecatedMatMenuTriggerFor:["mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:["matMenuTriggerFor","menu"],menuData:["matMenuTriggerData","menuData"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"},exportAs:["matMenuTrigger"]}),t})(),B=(()=>{class t{}return t.\u0275mod=o.Lb({type:t}),t.\u0275inj=o.Kb({factory:function(e){return new(e||t)},providers:[F],imports:[C.j]}),t})(),W=(()=>{class t{}return t.\u0275mod=o.Lb({type:t}),t.\u0275inj=o.Kb({factory:function(e){return new(e||t)},providers:[F],imports:[[v.c,C.j,C.s,w.f,B],M.b,C.j,B]}),t})()},raLr:function(t,e,n){!function(t){"use strict";function e(t,e,n){return"m"===n?e?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443":"h"===n?e?"\u0433\u043e\u0434\u0438\u043d\u0430":"\u0433\u043e\u0434\u0438\u043d\u0443":t+" "+(i=+t,a={ss:e?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u0438_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u0438_\u0441\u0435\u043a\u0443\u043d\u0434",mm:e?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430_\u0445\u0432\u0438\u043b\u0438\u043d\u0438_\u0445\u0432\u0438\u043b\u0438\u043d":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443_\u0445\u0432\u0438\u043b\u0438\u043d\u0438_\u0445\u0432\u0438\u043b\u0438\u043d",hh:e?"\u0433\u043e\u0434\u0438\u043d\u0430_\u0433\u043e\u0434\u0438\u043d\u0438_\u0433\u043e\u0434\u0438\u043d":"\u0433\u043e\u0434\u0438\u043d\u0443_\u0433\u043e\u0434\u0438\u043d\u0438_\u0433\u043e\u0434\u0438\u043d",dd:"\u0434\u0435\u043d\u044c_\u0434\u043d\u0456_\u0434\u043d\u0456\u0432",MM:"\u043c\u0456\u0441\u044f\u0446\u044c_\u043c\u0456\u0441\u044f\u0446\u0456_\u043c\u0456\u0441\u044f\u0446\u0456\u0432",yy:"\u0440\u0456\u043a_\u0440\u043e\u043a\u0438_\u0440\u043e\u043a\u0456\u0432"}[n].split("_"),i%10==1&&i%100!=11?a[0]:i%10>=2&&i%10<=4&&(i%100<10||i%100>=20)?a[1]:a[2]);var i,a}function n(t){return function(){return t+"\u043e"+(11===this.hours()?"\u0431":"")+"] LT"}}t.defineLocale("uk",{months:{format:"\u0441\u0456\u0447\u043d\u044f_\u043b\u044e\u0442\u043e\u0433\u043e_\u0431\u0435\u0440\u0435\u0437\u043d\u044f_\u043a\u0432\u0456\u0442\u043d\u044f_\u0442\u0440\u0430\u0432\u043d\u044f_\u0447\u0435\u0440\u0432\u043d\u044f_\u043b\u0438\u043f\u043d\u044f_\u0441\u0435\u0440\u043f\u043d\u044f_\u0432\u0435\u0440\u0435\u0441\u043d\u044f_\u0436\u043e\u0432\u0442\u043d\u044f_\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434\u0430_\u0433\u0440\u0443\u0434\u043d\u044f".split("_"),standalone:"\u0441\u0456\u0447\u0435\u043d\u044c_\u043b\u044e\u0442\u0438\u0439_\u0431\u0435\u0440\u0435\u0437\u0435\u043d\u044c_\u043a\u0432\u0456\u0442\u0435\u043d\u044c_\u0442\u0440\u0430\u0432\u0435\u043d\u044c_\u0447\u0435\u0440\u0432\u0435\u043d\u044c_\u043b\u0438\u043f\u0435\u043d\u044c_\u0441\u0435\u0440\u043f\u0435\u043d\u044c_\u0432\u0435\u0440\u0435\u0441\u0435\u043d\u044c_\u0436\u043e\u0432\u0442\u0435\u043d\u044c_\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434_\u0433\u0440\u0443\u0434\u0435\u043d\u044c".split("_")},monthsShort:"\u0441\u0456\u0447_\u043b\u044e\u0442_\u0431\u0435\u0440_\u043a\u0432\u0456\u0442_\u0442\u0440\u0430\u0432_\u0447\u0435\u0440\u0432_\u043b\u0438\u043f_\u0441\u0435\u0440\u043f_\u0432\u0435\u0440_\u0436\u043e\u0432\u0442_\u043b\u0438\u0441\u0442_\u0433\u0440\u0443\u0434".split("_"),weekdays:function(t,e){var n={nominative:"\u043d\u0435\u0434\u0456\u043b\u044f_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043e\u043a_\u0432\u0456\u0432\u0442\u043e\u0440\u043e\u043a_\u0441\u0435\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u044f_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),accusative:"\u043d\u0435\u0434\u0456\u043b\u044e_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043e\u043a_\u0432\u0456\u0432\u0442\u043e\u0440\u043e\u043a_\u0441\u0435\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u044e_\u0441\u0443\u0431\u043e\u0442\u0443".split("_"),genitive:"\u043d\u0435\u0434\u0456\u043b\u0456_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043a\u0430_\u0432\u0456\u0432\u0442\u043e\u0440\u043a\u0430_\u0441\u0435\u0440\u0435\u0434\u0438_\u0447\u0435\u0442\u0432\u0435\u0440\u0433\u0430_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u0456_\u0441\u0443\u0431\u043e\u0442\u0438".split("_")};return!0===t?n.nominative.slice(1,7).concat(n.nominative.slice(0,1)):t?n[/(\[[\u0412\u0432\u0423\u0443]\]) ?dddd/.test(e)?"accusative":/\[?(?:\u043c\u0438\u043d\u0443\u043b\u043e\u0457|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u043e\u0457)? ?\] ?dddd/.test(e)?"genitive":"nominative"][t.day()]:n.nominative},weekdaysShort:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0440.",LLL:"D MMMM YYYY \u0440., HH:mm",LLLL:"dddd, D MMMM YYYY \u0440., HH:mm"},calendar:{sameDay:n("[\u0421\u044c\u043e\u0433\u043e\u0434\u043d\u0456 "),nextDay:n("[\u0417\u0430\u0432\u0442\u0440\u0430 "),lastDay:n("[\u0412\u0447\u043e\u0440\u0430 "),nextWeek:n("[\u0423] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return n("[\u041c\u0438\u043d\u0443\u043b\u043e\u0457] dddd [").call(this);case 1:case 2:case 4:return n("[\u041c\u0438\u043d\u0443\u043b\u043e\u0433\u043e] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"%s \u0442\u043e\u043c\u0443",s:"\u0434\u0435\u043a\u0456\u043b\u044c\u043a\u0430 \u0441\u0435\u043a\u0443\u043d\u0434",ss:e,m:e,mm:e,h:"\u0433\u043e\u0434\u0438\u043d\u0443",hh:e,d:"\u0434\u0435\u043d\u044c",dd:e,M:"\u043c\u0456\u0441\u044f\u0446\u044c",MM:e,y:"\u0440\u0456\u043a",yy:e},meridiemParse:/\u043d\u043e\u0447\u0456|\u0440\u0430\u043d\u043a\u0443|\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430/,isPM:function(t){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430)$/.test(t)},meridiem:function(t,e,n){return t<4?"\u043d\u043e\u0447\u0456":t<12?"\u0440\u0430\u043d\u043a\u0443":t<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u043e\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e)/,ordinal:function(t,e){switch(e){case"M":case"d":case"DDD":case"w":case"W":return t+"-\u0439";case"D":return t+"-\u0433\u043e";default:return t}},week:{dow:1,doy:7}})}(n("wd/R"))},ro1A:function(t,e,n){"use strict";n.d(e,"a",function(){return O});var i=n("8Y7J"),a=n("s7LF"),r=n("cYWD"),o=n("TSSN"),s=n("AkaL"),l=n("IheW");let c=(()=>{class t extends s.a{constructor(t){super(t),this.http=t,this.BASE_URL="/api/collectifs/search"}setLabel(t){t.autocomplete=`${t.adresse} ${t.cp} ${t.ville}`}}return t.\u0275fac=function(e){return new(e||t)(i.Xb(l.b))},t.\u0275prov=i.Jb({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();var d=n("WiJD"),u=n("zaPX"),h=n("Q2Ze"),m=n("SVse"),p=n("e6WT"),f=n("vrAh"),g=n("q6Qu"),b=n("UhP/"),_=n("pu8Q");function y(t,e){if(1&t&&(i.Tb(0,"span",8),i.Hc(1),i.Sb()),2&t){const t=i.fc();i.Cc("opacity",t.searchControl.disabled?.7:1),i.Cb(1),i.Ic(t.prefix)}}function v(t,e){1&t&&(i.Tb(0,"mat-option",9),i.Ob(1,"mat-spinner",10),i.Sb())}function C(t,e){if(1&t&&(i.Tb(0,"mat-option",12),i.Hc(1),i.Sb()),2&t){const t=e.$implicit;i.nc("value",t),i.Cb(1),i.Jc(" ",t.autocomplete," ")}}function w(t,e){if(1&t&&i.Fc(0,C,2,2,"mat-option",11),2&t){const t=i.fc();i.nc("ngForOf",t.searchResult)}}const x=[[["mat-error"]],[["mat-icon"]],[["mat-spinner"]],"*"],M=["mat-error","mat-icon","mat-spinner","*"];let O=(()=>{class t extends r.a{constructor(t,e,n,i,a){super(t,e,n,i,a),this.translateService=t,this.searchService=e,this.configurationService=n,this.configSharedService=i,this.changeDetectorRef=a,this.fieldValue="adresse"}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(o.d),i.Nb(c),i.Nb(d.a),i.Nb(u.a),i.Nb(i.h))},t.\u0275cmp=i.Hb({type:t,selectors:[["app-collectif-autocomplete-2"]],features:[i.Bb([{provide:a.m,useExisting:Object(i.V)(()=>t),multi:!0}]),i.zb],ngContentSelectors:M,decls:15,vars:11,consts:[["matPrefix","","class","prefix",3,"opacity",4,"ngIf"],["type","text","matInput","","data-cy","autocomplete",3,"name","appLabel","formControl","matAutocomplete","matAutocompleteDisabled","errorStateMatcher","required","blur"],["searchElt",""],[1,"mat-error","otherMessages"],[3,"displayWith","optionSelected"],["auto","matAutocomplete"],["class","spinner",4,"ngIf","ngIfElse"],["listOptions",""],["matPrefix","",1,"prefix"],[1,"spinner"],["diameter","50"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(t,e){if(1&t&&(i.mc(x),i.Tb(0,"mat-form-field"),i.Fc(1,y,2,3,"span",0),i.Tb(2,"input",1,2),i.bc("blur",function(){return e.onBlur()}),i.Sb(),i.Tb(4,"mat-error"),i.lc(5),i.Sb(),i.lc(6,1),i.lc(7,2),i.Sb(),i.Tb(8,"div",3),i.lc(9,3),i.Sb(),i.Tb(10,"mat-autocomplete",4,5),i.bc("optionSelected",function(t){return e.selectOption(t)}),i.Fc(12,v,2,0,"mat-option",6),i.Fc(13,w,1,1,"ng-template",null,7,i.Gc),i.Sb()),2&t){const t=i.vc(11),n=i.vc(14);i.Cb(1),i.nc("ngIf",e.prefix),i.Cb(1),i.nc("name",e.name)("appLabel",e.inputTitle)("formControl",e.searchControl)("matAutocomplete",t)("matAutocompleteDisabled",e.isAutocompleteDisabled)("errorStateMatcher",e.errorStateMatcher)("required",e.isRequired),i.Cb(8),i.nc("displayWith",e.displayFn),i.Cb(2),i.nc("ngIf",e.isLoading)("ngIfElse",n)}},directives:[h.c,m.l,p.b,a.c,f.c,g.a,a.o,a.f,a.v,h.b,f.a,h.g,b.m,_.b,m.k],styles:["[_nghost-%COMP%]{-ms-flex:1;flex:1}[_nghost-%COMP%] mat-form-field[_ngcontent-%COMP%]{width:100%}[_nghost-%COMP%] .otherMessages[_ngcontent-%COMP%]{font-size:75%}[_nghost-%COMP%] .prefix[_ngcontent-%COMP%]{-ms-flex-item-align:center;align-self:center;margin-right:8px}"]}),t})()},"s+uk":function(t,e,n){!function(t){"use strict";function e(t,e,n,i){var a={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[t+" Tage",t+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[t+" Monate",t+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[t+" Jahre",t+" Jahren"]};return e?a[n][0]:a[n][1]}t.defineLocale("de-at",{months:"J\xe4nner_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"J\xe4n._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:e,mm:"%d Minuten",h:e,hh:"%d Stunden",d:e,dd:e,w:e,ww:"%d Wochen",M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},s7LF:function(t,e,n){"use strict";n.d(e,"a",function(){return At}),n.d(e,"b",function(){return D}),n.d(e,"c",function(){return m}),n.d(e,"d",function(){return Ft}),n.d(e,"e",function(){return mt}),n.d(e,"f",function(){return Ot}),n.d(e,"g",function(){return Pt}),n.d(e,"h",function(){return pt}),n.d(e,"i",function(){return St}),n.d(e,"j",function(){return zt}),n.d(e,"k",function(){return Nt}),n.d(e,"l",function(){return g}),n.d(e,"m",function(){return l}),n.d(e,"n",function(){return A}),n.d(e,"o",function(){return R}),n.d(e,"p",function(){return N}),n.d(e,"q",function(){return _t}),n.d(e,"r",function(){return Ct}),n.d(e,"s",function(){return H}),n.d(e,"t",function(){return Ht}),n.d(e,"u",function(){return Vt}),n.d(e,"v",function(){return Et}),n.d(e,"w",function(){return y}),n.d(e,"x",function(){return wt});var i=n("8Y7J"),a=n("SVse"),r=n("cp0P"),o=n("Cfvw"),s=n("lJxs");const l=new i.s("NgValueAccessor"),c={provide:l,useExisting:Object(i.V)(()=>d),multi:!0};let d=(()=>{class t{constructor(t,e){this._renderer=t,this._elementRef=e,this.onChange=t=>{},this.onTouched=()=>{}}writeValue(t){this._renderer.setProperty(this._elementRef.nativeElement,"checked",t)}registerOnChange(t){this.onChange=t}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.G),i.Nb(i.l))},t.\u0275dir=i.Ib({type:t,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(t,e){1&t&&i.bc("change",function(t){return e.onChange(t.target.checked)})("blur",function(){return e.onTouched()})},features:[i.Bb([c])]}),t})();const u={provide:l,useExisting:Object(i.V)(()=>m),multi:!0},h=new i.s("CompositionEventMode");let m=(()=>{class t{constructor(t,e,n){this._renderer=t,this._elementRef=e,this._compositionMode=n,this.onChange=t=>{},this.onTouched=()=>{},this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function(){const t=Object(a.y)()?Object(a.y)().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}())}writeValue(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==t?"":t)}registerOnChange(t){this.onChange=t}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}_handleInput(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)}_compositionStart(){this._composing=!0}_compositionEnd(t){this._composing=!1,this._compositionMode&&this.onChange(t)}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.G),i.Nb(i.l),i.Nb(h,8))},t.\u0275dir=i.Ib({type:t,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(t,e){1&t&&i.bc("input",function(t){return e._handleInput(t.target.value)})("blur",function(){return e.onTouched()})("compositionstart",function(){return e._compositionStart()})("compositionend",function(t){return e._compositionEnd(t.target.value)})},features:[i.Bb([u])]}),t})();function p(t){return null==t||0===t.length}function f(t){return null!=t&&"number"==typeof t.length}const g=new i.s("NgValidators"),b=new i.s("NgAsyncValidators"),_=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class y{static min(t){return e=>{if(p(e.value)||p(t))return null;const n=parseFloat(e.value);return!isNaN(n)&&n<t?{min:{min:t,actual:e.value}}:null}}static max(t){return e=>{if(p(e.value)||p(t))return null;const n=parseFloat(e.value);return!isNaN(n)&&n>t?{max:{max:t,actual:e.value}}:null}}static required(t){return p(t.value)?{required:!0}:null}static requiredTrue(t){return!0===t.value?null:{required:!0}}static email(t){return p(t.value)||_.test(t.value)?null:{email:!0}}static minLength(t){return e=>p(e.value)||!f(e.value)?null:e.value.length<t?{minlength:{requiredLength:t,actualLength:e.value.length}}:null}static maxLength(t){return e=>f(e.value)&&e.value.length>t?{maxlength:{requiredLength:t,actualLength:e.value.length}}:null}static pattern(t){if(!t)return y.nullValidator;let e,n;return"string"==typeof t?(n="","^"!==t.charAt(0)&&(n+="^"),n+=t,"$"!==t.charAt(t.length-1)&&(n+="$"),e=new RegExp(n)):(n=t.toString(),e=t),t=>{if(p(t.value))return null;const i=t.value;return e.test(i)?null:{pattern:{requiredPattern:n,actualValue:i}}}}static nullValidator(t){return null}static compose(t){if(!t)return null;const e=t.filter(v);return 0==e.length?null:function(t){return w(x(t,e))}}static composeAsync(t){if(!t)return null;const e=t.filter(v);return 0==e.length?null:function(t){const n=x(t,e).map(C);return Object(r.a)(n).pipe(Object(s.a)(w))}}}function v(t){return null!=t}function C(t){const e=Object(i.tb)(t)?Object(o.a)(t):t;return Object(i.sb)(e),e}function w(t){let e={};return t.forEach(t=>{e=null!=t?Object.assign(Object.assign({},e),t):e}),0===Object.keys(e).length?null:e}function x(t,e){return e.map(e=>e(t))}function M(t){return t.map(t=>function(t){return!t.validate}(t)?t:e=>t.validate(e))}function O(t){return null!=t?y.compose(M(t)):null}function k(t){return null!=t?y.composeAsync(M(t)):null}function S(t,e){return null===t?[e]:Array.isArray(t)?[...t,e]:[t,e]}function T(t){return t._rawValidators}function P(t){return t._rawAsyncValidators}let L=(()=>{class t{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(t){this._rawValidators=t||[],this._composedValidatorFn=O(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=k(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(t){this._onDestroyCallbacks.push(t)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(t=>t()),this._onDestroyCallbacks=[]}reset(t){this.control&&this.control.reset(t)}hasError(t,e){return!!this.control&&this.control.hasError(t,e)}getError(t,e){return this.control?this.control.getError(t,e):null}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.Ib({type:t}),t})(),D=(()=>{class t extends L{get formDirective(){return null}get path(){return null}}return t.\u0275fac=function(e){return E(e||t)},t.\u0275dir=i.Ib({type:t,features:[i.zb]}),t})();const E=i.Vb(D);class A extends L{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class I{constructor(t){this._cd=t}get ngClassUntouched(){var t,e,n;return null!==(n=null===(e=null===(t=this._cd)||void 0===t?void 0:t.control)||void 0===e?void 0:e.untouched)&&void 0!==n&&n}get ngClassTouched(){var t,e,n;return null!==(n=null===(e=null===(t=this._cd)||void 0===t?void 0:t.control)||void 0===e?void 0:e.touched)&&void 0!==n&&n}get ngClassPristine(){var t,e,n;return null!==(n=null===(e=null===(t=this._cd)||void 0===t?void 0:t.control)||void 0===e?void 0:e.pristine)&&void 0!==n&&n}get ngClassDirty(){var t,e,n;return null!==(n=null===(e=null===(t=this._cd)||void 0===t?void 0:t.control)||void 0===e?void 0:e.dirty)&&void 0!==n&&n}get ngClassValid(){var t,e,n;return null!==(n=null===(e=null===(t=this._cd)||void 0===t?void 0:t.control)||void 0===e?void 0:e.valid)&&void 0!==n&&n}get ngClassInvalid(){var t,e,n;return null!==(n=null===(e=null===(t=this._cd)||void 0===t?void 0:t.control)||void 0===e?void 0:e.invalid)&&void 0!==n&&n}get ngClassPending(){var t,e,n;return null!==(n=null===(e=null===(t=this._cd)||void 0===t?void 0:t.control)||void 0===e?void 0:e.pending)&&void 0!==n&&n}}let R=(()=>{class t extends I{constructor(t){super(t)}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(A,2))},t.\u0275dir=i.Ib({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(t,e){2&t&&i.Fb("ng-untouched",e.ngClassUntouched)("ng-touched",e.ngClassTouched)("ng-pristine",e.ngClassPristine)("ng-dirty",e.ngClassDirty)("ng-valid",e.ngClassValid)("ng-invalid",e.ngClassInvalid)("ng-pending",e.ngClassPending)},features:[i.zb]}),t})(),N=(()=>{class t extends I{constructor(t){super(t)}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(D,10))},t.\u0275dir=i.Ib({type:t,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:14,hostBindings:function(t,e){2&t&&i.Fb("ng-untouched",e.ngClassUntouched)("ng-touched",e.ngClassTouched)("ng-pristine",e.ngClassPristine)("ng-dirty",e.ngClassDirty)("ng-valid",e.ngClassValid)("ng-invalid",e.ngClassInvalid)("ng-pending",e.ngClassPending)},features:[i.zb]}),t})();const Y={provide:l,useExisting:Object(i.V)(()=>H),multi:!0};let H=(()=>{class t{constructor(t,e){this._renderer=t,this._elementRef=e,this.onChange=t=>{},this.onTouched=()=>{}}writeValue(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==t?"":t)}registerOnChange(t){this.onChange=e=>{t(""==e?null:parseFloat(e))}}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.G),i.Nb(i.l))},t.\u0275dir=i.Ib({type:t,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(t,e){1&t&&i.bc("input",function(t){return e.onChange(t.target.value)})("blur",function(){return e.onTouched()})},features:[i.Bb([Y])]}),t})();const j={provide:l,useExisting:Object(i.V)(()=>z),multi:!0};let F=(()=>{class t{constructor(){this._accessors=[]}add(t,e){this._accessors.push([t,e])}remove(t){for(let e=this._accessors.length-1;e>=0;--e)if(this._accessors[e][1]===t)return void this._accessors.splice(e,1)}select(t){this._accessors.forEach(e=>{this._isSameGroup(e,t)&&e[1]!==t&&e[1].fireUncheck(t.value)})}_isSameGroup(t,e){return!!t[0].control&&t[0]._parent===e._control._parent&&t[1].name===e.name}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=i.Jb({token:t,factory:t.\u0275fac}),t})(),z=(()=>{class t{constructor(t,e,n,i){this._renderer=t,this._elementRef=e,this._registry=n,this._injector=i,this.onChange=()=>{},this.onTouched=()=>{}}ngOnInit(){this._control=this._injector.get(A),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(t){this._state=t===this.value,this._renderer.setProperty(this._elementRef.nativeElement,"checked",this._state)}registerOnChange(t){this._fn=t,this.onChange=()=>{t(this.value),this._registry.select(this)}}fireUncheck(t){this.writeValue(t)}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}_checkName(){!this.name&&this.formControlName&&(this.name=this.formControlName)}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.G),i.Nb(i.l),i.Nb(F),i.Nb(i.t))},t.\u0275dir=i.Ib({type:t,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(t,e){1&t&&i.bc("change",function(){return e.onChange()})("blur",function(){return e.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[i.Bb([j])]}),t})();const V={provide:l,useExisting:Object(i.V)(()=>B),multi:!0};let B=(()=>{class t{constructor(t,e){this._renderer=t,this._elementRef=e,this.onChange=t=>{},this.onTouched=()=>{}}writeValue(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",parseFloat(t))}registerOnChange(t){this.onChange=e=>{t(""==e?null:parseFloat(e))}}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.G),i.Nb(i.l))},t.\u0275dir=i.Ib({type:t,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(t,e){1&t&&i.bc("change",function(t){return e.onChange(t.target.value)})("input",function(t){return e.onChange(t.target.value)})("blur",function(){return e.onTouched()})},features:[i.Bb([V])]}),t})();const W={provide:l,useExisting:Object(i.V)(()=>U),multi:!0};let U=(()=>{class t{constructor(t,e){this._renderer=t,this._elementRef=e,this._optionMap=new Map,this._idCounter=0,this.onChange=t=>{},this.onTouched=()=>{},this._compareWith=Object.is}set compareWith(t){this._compareWith=t}writeValue(t){this.value=t;const e=this._getOptionId(t);null==e&&this._renderer.setProperty(this._elementRef.nativeElement,"selectedIndex",-1);const n=function(t,e){return null==t?`${e}`:(e&&"object"==typeof e&&(e="Object"),`${t}: ${e}`.slice(0,50))}(e,t);this._renderer.setProperty(this._elementRef.nativeElement,"value",n)}registerOnChange(t){this.onChange=e=>{this.value=this._getOptionValue(e),t(this.value)}}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}_registerOption(){return(this._idCounter++).toString()}_getOptionId(t){for(const e of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(e),t))return e;return null}_getOptionValue(t){const e=function(t){return t.split(":")[0]}(t);return this._optionMap.has(e)?this._optionMap.get(e):t}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.G),i.Nb(i.l))},t.\u0275dir=i.Ib({type:t,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(t,e){1&t&&i.bc("change",function(t){return e.onChange(t.target.value)})("blur",function(){return e.onTouched()})},inputs:{compareWith:"compareWith"},features:[i.Bb([W])]}),t})();const q={provide:l,useExisting:Object(i.V)(()=>G),multi:!0};let G=(()=>{class t{constructor(t,e){this._renderer=t,this._elementRef=e,this._optionMap=new Map,this._idCounter=0,this.onChange=t=>{},this.onTouched=()=>{},this._compareWith=Object.is}set compareWith(t){this._compareWith=t}writeValue(t){let e;if(this.value=t,Array.isArray(t)){const n=t.map(t=>this._getOptionId(t));e=(t,e)=>{t._setSelected(n.indexOf(e.toString())>-1)}}else e=(t,e)=>{t._setSelected(!1)};this._optionMap.forEach(e)}registerOnChange(t){this.onChange=e=>{const n=[];if(void 0!==e.selectedOptions){const t=e.selectedOptions;for(let e=0;e<t.length;e++){const i=t.item(e),a=this._getOptionValue(i.value);n.push(a)}}else{const t=e.options;for(let e=0;e<t.length;e++){const i=t.item(e);if(i.selected){const t=this._getOptionValue(i.value);n.push(t)}}}this.value=n,t(n)}}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}_registerOption(t){const e=(this._idCounter++).toString();return this._optionMap.set(e,t),e}_getOptionId(t){for(const e of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(e)._value,t))return e;return null}_getOptionValue(t){const e=function(t){return t.split(":")[0]}(t);return this._optionMap.has(e)?this._optionMap.get(e)._value:t}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.G),i.Nb(i.l))},t.\u0275dir=i.Ib({type:t,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(t,e){1&t&&i.bc("change",function(t){return e.onChange(t.target)})("blur",function(){return e.onTouched()})},inputs:{compareWith:"compareWith"},features:[i.Bb([q])]}),t})();function J(t,e){return[...e.path,t]}function Z(t,e){K(t,e,!0),e.valueAccessor.writeValue(t.value),function(t,e){e.valueAccessor.registerOnChange(n=>{t._pendingValue=n,t._pendingChange=!0,t._pendingDirty=!0,"change"===t.updateOn&&tt(t,e)})}(t,e),function(t,e){const n=(t,n)=>{e.valueAccessor.writeValue(t),n&&e.viewToModelUpdate(t)};t.registerOnChange(n),e._registerOnDestroy(()=>{t._unregisterOnChange(n)})}(t,e),function(t,e){e.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,"blur"===t.updateOn&&t._pendingChange&&tt(t,e),"submit"!==t.updateOn&&t.markAsTouched()})}(t,e),function(t,e){if(e.valueAccessor.setDisabledState){const n=t=>{e.valueAccessor.setDisabledState(t)};t.registerOnDisabledChange(n),e._registerOnDestroy(()=>{t._unregisterOnDisabledChange(n)})}}(t,e)}function $(t,e,n=!0){const i=()=>{};e.valueAccessor&&(e.valueAccessor.registerOnChange(i),e.valueAccessor.registerOnTouched(i)),Q(t,e,!0),t&&(e._invokeOnDestroyCallbacks(),t._registerOnCollectionChange(()=>{}))}function X(t,e){t.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(e)})}function K(t,e,n){const i=T(t);null!==e.validator?t.setValidators(S(i,e.validator)):"function"==typeof i&&t.setValidators([i]);const a=P(t);if(null!==e.asyncValidator?t.setAsyncValidators(S(a,e.asyncValidator)):"function"==typeof a&&t.setAsyncValidators([a]),n){const n=()=>t.updateValueAndValidity();X(e._rawValidators,n),X(e._rawAsyncValidators,n)}}function Q(t,e,n){let i=!1;if(null!==t){if(null!==e.validator){const n=T(t);if(Array.isArray(n)&&n.length>0){const a=n.filter(t=>t!==e.validator);a.length!==n.length&&(i=!0,t.setValidators(a))}}if(null!==e.asyncValidator){const n=P(t);if(Array.isArray(n)&&n.length>0){const a=n.filter(t=>t!==e.asyncValidator);a.length!==n.length&&(i=!0,t.setAsyncValidators(a))}}}if(n){const t=()=>{};X(e._rawValidators,t),X(e._rawAsyncValidators,t)}return i}function tt(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function et(t,e){K(t,e,!1)}function nt(t,e){if(!t.hasOwnProperty("model"))return!1;const n=t.model;return!!n.isFirstChange()||!Object.is(e,n.currentValue)}const it=[d,B,H,U,G,z];function at(t,e){t._syncPendingControls(),e.forEach(t=>{const e=t.control;"submit"===e.updateOn&&e._pendingChange&&(t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1)})}function rt(t,e){if(!e)return null;let n,i,a;return Array.isArray(e),e.forEach(t=>{var e;t.constructor===m?n=t:(e=t,it.some(t=>e.constructor===t)?i=t:a=t)}),a||i||n||null}function ot(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}function st(t){return(ut(t)?t.validators:t)||null}function lt(t){return Array.isArray(t)?O(t):t||null}function ct(t,e){return(ut(e)?e.asyncValidators:t)||null}function dt(t){return Array.isArray(t)?k(t):t||null}function ut(t){return null!=t&&!Array.isArray(t)&&"object"==typeof t}class ht{constructor(t,e){this._hasOwnPendingAsyncValidator=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=t,this._rawAsyncValidators=e,this._composedValidatorFn=lt(this._rawValidators),this._composedAsyncValidatorFn=dt(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(t){this._rawValidators=this._composedValidatorFn=t}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}get parent(){return this._parent}get valid(){return"VALID"===this.status}get invalid(){return"INVALID"===this.status}get pending(){return"PENDING"==this.status}get disabled(){return"DISABLED"===this.status}get enabled(){return"DISABLED"!==this.status}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this._rawValidators=t,this._composedValidatorFn=lt(t)}setAsyncValidators(t){this._rawAsyncValidators=t,this._composedAsyncValidatorFn=dt(t)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(t={}){this.touched=!0,this._parent&&!t.onlySelf&&this._parent.markAsTouched(t)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(t=>t.markAllAsTouched())}markAsUntouched(t={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(t=>{t.markAsUntouched({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}markAsDirty(t={}){this.pristine=!1,this._parent&&!t.onlySelf&&this._parent.markAsDirty(t)}markAsPristine(t={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(t=>{t.markAsPristine({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}markAsPending(t={}){this.status="PENDING",!1!==t.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!t.onlySelf&&this._parent.markAsPending(t)}disable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status="DISABLED",this.errors=null,this._forEachChild(e=>{e.disable(Object.assign(Object.assign({},t),{onlySelf:!0}))}),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},t),{skipPristineCheck:e})),this._onDisabledChange.forEach(t=>t(!0))}enable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status="VALID",this._forEachChild(e=>{e.enable(Object.assign(Object.assign({},t),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},t),{skipPristineCheck:e})),this._onDisabledChange.forEach(t=>t(!1))}_updateAncestors(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(t){this._parent=t}updateValueAndValidity(t={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),"VALID"!==this.status&&"PENDING"!==this.status||this._runAsyncValidator(t.emitEvent)),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(t)}_updateTreeValidity(t={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?"DISABLED":"VALID"}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status="PENDING",this._hasOwnPendingAsyncValidator=!0;const e=C(this.asyncValidator(this));this._asyncValidationSubscription=e.subscribe(e=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(e,{emitEvent:t})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(t,e={}){this.errors=t,this._updateControlsErrors(!1!==e.emitEvent)}get(t){return function(t,e,n){if(null==e)return null;if(Array.isArray(e)||(e=e.split(".")),Array.isArray(e)&&0===e.length)return null;let i=t;return e.forEach(t=>{i=i instanceof pt?i.controls.hasOwnProperty(t)?i.controls[t]:null:i instanceof ft&&i.at(t)||null}),i}(this,t)}getError(t,e){const n=e?this.get(e):this;return n&&n.errors?n.errors[t]:null}hasError(t,e){return!!this.getError(t,e)}get root(){let t=this;for(;t._parent;)t=t._parent;return t}_updateControlsErrors(t){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(t)}_initObservables(){this.valueChanges=new i.o,this.statusChanges=new i.o}_calculateStatus(){return this._allControlsDisabled()?"DISABLED":this.errors?"INVALID":this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus("PENDING")?"PENDING":this._anyControlsHaveStatus("INVALID")?"INVALID":"VALID"}_anyControlsHaveStatus(t){return this._anyControls(e=>e.status===t)}_anyControlsDirty(){return this._anyControls(t=>t.dirty)}_anyControlsTouched(){return this._anyControls(t=>t.touched)}_updatePristine(t={}){this.pristine=!this._anyControlsDirty(),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}_updateTouched(t={}){this.touched=this._anyControlsTouched(),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}_isBoxedValue(t){return"object"==typeof t&&null!==t&&2===Object.keys(t).length&&"value"in t&&"disabled"in t}_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){ut(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){return!t&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}class mt extends ht{constructor(t=null,e,n){super(st(e),ct(n,e)),this._onChange=[],this._applyFormState(t),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!n})}setValue(t,e={}){this.value=this._pendingValue=t,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach(t=>t(this.value,!1!==e.emitViewToModelChange)),this.updateValueAndValidity(e)}patchValue(t,e={}){this.setValue(t,e)}reset(t=null,e={}){this._applyFormState(t),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_unregisterOnChange(t){ot(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){ot(this._onDisabledChange,t)}_forEachChild(t){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(t){this._isBoxedValue(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}}class pt extends ht{constructor(t,e,n){super(st(e),ct(n,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!n})}registerControl(t,e){return this.controls[t]?this.controls[t]:(this.controls[t]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(t,e){this.registerControl(t,e),this.updateValueAndValidity(),this._onCollectionChange()}removeControl(t){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],this.updateValueAndValidity(),this._onCollectionChange()}setControl(t,e){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],e&&this.registerControl(t,e),this.updateValueAndValidity(),this._onCollectionChange()}contains(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}setValue(t,e={}){this._checkAllValuesPresent(t),Object.keys(t).forEach(n=>{this._throwIfControlMissing(n),this.controls[n].setValue(t[n],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){null!=t&&(Object.keys(t).forEach(n=>{this.controls[n]&&this.controls[n].patchValue(t[n],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(t={},e={}){this._forEachChild((n,i)=>{n.reset(t[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(t,e,n)=>(t[n]=e instanceof mt?e.value:e.getRawValue(),t))}_syncPendingControls(){let t=this._reduceChildren(!1,(t,e)=>!!e._syncPendingControls()||t);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_throwIfControlMissing(t){if(!Object.keys(this.controls).length)throw new Error("\n There are no form controls registered with this group yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.controls[t])throw new Error(`Cannot find form control with name: ${t}.`)}_forEachChild(t){Object.keys(this.controls).forEach(e=>{const n=this.controls[e];n&&t(n,e)})}_setUpControls(){this._forEachChild(t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(t){for(const e of Object.keys(this.controls)){const n=this.controls[e];if(this.contains(e)&&t(n))return!0}return!1}_reduceValue(){return this._reduceChildren({},(t,e,n)=>((e.enabled||this.disabled)&&(t[n]=e.value),t))}_reduceChildren(t,e){let n=t;return this._forEachChild((t,i)=>{n=e(n,t,i)}),n}_allControlsDisabled(){for(const t of Object.keys(this.controls))if(this.controls[t].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_checkAllValuesPresent(t){this._forEachChild((e,n)=>{if(void 0===t[n])throw new Error(`Must supply a value for form control with name: '${n}'.`)})}}class ft extends ht{constructor(t,e,n){super(st(e),ct(n,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!n})}at(t){return this.controls[t]}push(t){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity(),this._onCollectionChange()}insert(t,e){this.controls.splice(t,0,e),this._registerControl(e),this.updateValueAndValidity()}removeAt(t){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),this.controls.splice(t,1),this.updateValueAndValidity()}setControl(t,e){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),this.controls.splice(t,1),e&&(this.controls.splice(t,0,e),this._registerControl(e)),this.updateValueAndValidity(),this._onCollectionChange()}get length(){return this.controls.length}setValue(t,e={}){this._checkAllValuesPresent(t),t.forEach((t,n)=>{this._throwIfControlMissing(n),this.at(n).setValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){null!=t&&(t.forEach((t,n)=>{this.at(n)&&this.at(n).patchValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(t=[],e={}){this._forEachChild((n,i)=>{n.reset(t[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this.controls.map(t=>t instanceof mt?t.value:t.getRawValue())}clear(){this.controls.length<1||(this._forEachChild(t=>t._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity())}_syncPendingControls(){let t=this.controls.reduce((t,e)=>!!e._syncPendingControls()||t,!1);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_throwIfControlMissing(t){if(!this.controls.length)throw new Error("\n There are no form controls registered with this array yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.at(t))throw new Error(`Cannot find form control at index ${t}`)}_forEachChild(t){this.controls.forEach((e,n)=>{t(e,n)})}_updateValue(){this.value=this.controls.filter(t=>t.enabled||this.disabled).map(t=>t.value)}_anyControls(t){return this.controls.some(e=>e.enabled&&t(e))}_setUpControls(){this._forEachChild(t=>this._registerControl(t))}_checkAllValuesPresent(t){this._forEachChild((e,n)=>{if(void 0===t[n])throw new Error(`Must supply a value for form control at index: ${n}.`)})}_allControlsDisabled(){for(const t of this.controls)if(t.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(t){t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)}}const gt={provide:D,useExisting:Object(i.V)(()=>_t)},bt=(()=>Promise.resolve(null))();let _t=(()=>{class t extends D{constructor(t,e){super(),this.submitted=!1,this._directives=[],this.ngSubmit=new i.o,this.form=new pt({},O(t),k(e))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(t){bt.then(()=>{const e=this._findContainer(t.path);t.control=e.registerControl(t.name,t.control),Z(t.control,t),t.control.updateValueAndValidity({emitEvent:!1}),this._directives.push(t)})}getControl(t){return this.form.get(t.path)}removeControl(t){bt.then(()=>{const e=this._findContainer(t.path);e&&e.removeControl(t.name),ot(this._directives,t)})}addFormGroup(t){bt.then(()=>{const e=this._findContainer(t.path),n=new pt({});et(n,t),e.registerControl(t.name,n),n.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(t){bt.then(()=>{const e=this._findContainer(t.path);e&&e.removeControl(t.name)})}getFormGroup(t){return this.form.get(t.path)}updateModel(t,e){bt.then(()=>{this.form.get(t.path).setValue(e)})}setValue(t){this.control.setValue(t)}onSubmit(t){return this.submitted=!0,at(this.form,this._directives),this.ngSubmit.emit(t),!1}onReset(){this.resetForm()}resetForm(t){this.form.reset(t),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(t){return t.pop(),t.length?this.form.get(t):this.form}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(g,10),i.Nb(b,10))},t.\u0275dir=i.Ib({type:t,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(t,e){1&t&&i.bc("submit",function(t){return e.onSubmit(t)})("reset",function(){return e.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[i.Bb([gt]),i.zb]}),t})();const yt={provide:A,useExisting:Object(i.V)(()=>Ct)},vt=(()=>Promise.resolve(null))();let Ct=(()=>{class t extends A{constructor(t,e,n,a){super(),this.control=new mt,this._registered=!1,this.update=new i.o,this._parent=t,this._setValidators(e),this._setAsyncValidators(n),this.valueAccessor=rt(0,a)}ngOnChanges(t){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in t&&this._updateDisabled(t),nt(t,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._parent?J(this.name,this._parent):[this.name]}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){Z(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(t){vt.then(()=>{this.control.setValue(t,{emitViewToModelChange:!1})})}_updateDisabled(t){const e=t.isDisabled.currentValue,n=""===e||e&&"false"!==e;vt.then(()=>{n&&!this.control.disabled?this.control.disable():!n&&this.control.disabled&&this.control.enable()})}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(D,9),i.Nb(g,10),i.Nb(b,10),i.Nb(l,10))},t.\u0275dir=i.Ib({type:t,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[i.Bb([yt]),i.zb,i.Ab]}),t})(),wt=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.Ib({type:t,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),t})();const xt=new i.s("NgModelWithFormControlWarning"),Mt={provide:A,useExisting:Object(i.V)(()=>Ot)};let Ot=(()=>{class t extends A{constructor(t,e,n,a){super(),this._ngModelWarningConfig=a,this.update=new i.o,this._ngModelWarningSent=!1,this._setValidators(t),this._setAsyncValidators(e),this.valueAccessor=rt(0,n)}set isDisabled(t){}ngOnChanges(t){if(this._isControlChanged(t)){const e=t.form.previousValue;e&&$(e,this,!1),Z(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})}nt(t,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&$(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}_isControlChanged(t){return t.hasOwnProperty("form")}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(g,10),i.Nb(b,10),i.Nb(l,10),i.Nb(xt,8))},t.\u0275dir=i.Ib({type:t,selectors:[["","formControl",""]],inputs:{isDisabled:["disabled","isDisabled"],form:["formControl","form"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[i.Bb([Mt]),i.zb,i.Ab]}),t._ngModelWarningSentOnce=!1,t})();const kt={provide:D,useExisting:Object(i.V)(()=>St)};let St=(()=>{class t extends D{constructor(t,e){super(),this.validators=t,this.asyncValidators=e,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new i.o,this._setValidators(t),this._setAsyncValidators(e)}ngOnChanges(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Q(this.form,this,!1),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(t){const e=this.form.get(t.path);return Z(e,t),e.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),e}getControl(t){return this.form.get(t.path)}removeControl(t){$(t.control||null,t,!1),ot(this.directives,t)}addFormGroup(t){this._setUpFormContainer(t)}removeFormGroup(t){this._cleanUpFormContainer(t)}getFormGroup(t){return this.form.get(t.path)}addFormArray(t){this._setUpFormContainer(t)}removeFormArray(t){this._cleanUpFormContainer(t)}getFormArray(t){return this.form.get(t.path)}updateModel(t,e){this.form.get(t.path).setValue(e)}onSubmit(t){return this.submitted=!0,at(this.form,this.directives),this.ngSubmit.emit(t),!1}onReset(){this.resetForm()}resetForm(t){this.form.reset(t),this.submitted=!1}_updateDomValue(){this.directives.forEach(t=>{const e=this.form.get(t.path);t.control!==e&&($(t.control||null,t),e&&Z(e,t),t.control=e)}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(t){const e=this.form.get(t.path);et(e,t),e.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(t){if(this.form){const e=this.form.get(t.path);e&&function(t,e){return Q(t,e,!1)}(e,t)&&e.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){K(this.form,this,!1),this._oldForm&&Q(this._oldForm,this,!1)}_checkFormPresent(){}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(g,10),i.Nb(b,10))},t.\u0275dir=i.Ib({type:t,selectors:[["","formGroup",""]],hostBindings:function(t,e){1&t&&i.bc("submit",function(t){return e.onSubmit(t)})("reset",function(){return e.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[i.Bb([kt]),i.zb,i.Ab]}),t})();const Tt={provide:A,useExisting:Object(i.V)(()=>Pt)};let Pt=(()=>{class t extends A{constructor(t,e,n,a,r){super(),this._ngModelWarningConfig=r,this._added=!1,this.update=new i.o,this._ngModelWarningSent=!1,this._parent=t,this._setValidators(e),this._setAsyncValidators(n),this.valueAccessor=rt(0,a)}set isDisabled(t){}ngOnChanges(t){this._added||this._setUpControl(),nt(t,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}get path(){return J(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(D,13),i.Nb(g,10),i.Nb(b,10),i.Nb(l,10),i.Nb(xt,8))},t.\u0275dir=i.Ib({type:t,selectors:[["","formControlName",""]],inputs:{isDisabled:["disabled","isDisabled"],name:["formControlName","name"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[i.Bb([Tt]),i.zb,i.Ab]}),t._ngModelWarningSentOnce=!1,t})();const Lt={provide:g,useExisting:Object(i.V)(()=>Et),multi:!0},Dt={provide:g,useExisting:Object(i.V)(()=>At),multi:!0};let Et=(()=>{class t{constructor(){this._required=!1}get required(){return this._required}set required(t){this._required=null!=t&&!1!==t&&"false"!=`${t}`,this._onChange&&this._onChange()}validate(t){return this.required?y.required(t):null}registerOnValidatorChange(t){this._onChange=t}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.Ib({type:t,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(t,e){2&t&&i.Db("required",e.required?"":null)},inputs:{required:"required"},features:[i.Bb([Lt])]}),t})(),At=(()=>{class t extends Et{validate(t){return this.required?y.requiredTrue(t):null}}return t.\u0275fac=function(e){return It(e||t)},t.\u0275dir=i.Ib({type:t,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(t,e){2&t&&i.Db("required",e.required?"":null)},features:[i.Bb([Dt]),i.zb]}),t})();const It=i.Vb(At),Rt={provide:g,useExisting:Object(i.V)(()=>Nt),multi:!0};let Nt=(()=>{class t{constructor(){this._validator=y.nullValidator}ngOnChanges(t){"maxlength"in t&&(this._createValidator(),this._onChange&&this._onChange())}validate(t){return null!=this.maxlength?this._validator(t):null}registerOnValidatorChange(t){this._onChange=t}_createValidator(){this._validator=y.maxLength("number"==typeof this.maxlength?this.maxlength:parseInt(this.maxlength,10))}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.Ib({type:t,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(t,e){2&t&&i.Db("maxlength",e.maxlength?e.maxlength:null)},inputs:{maxlength:"maxlength"},features:[i.Bb([Rt]),i.Ab]}),t})();const Yt={provide:g,useExisting:Object(i.V)(()=>Ht),multi:!0};let Ht=(()=>{class t{constructor(){this._validator=y.nullValidator}ngOnChanges(t){"pattern"in t&&(this._createValidator(),this._onChange&&this._onChange())}validate(t){return this._validator(t)}registerOnValidatorChange(t){this._onChange=t}_createValidator(){this._validator=y.pattern(this.pattern)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.Ib({type:t,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(t,e){2&t&&i.Db("pattern",e.pattern?e.pattern:null)},inputs:{pattern:"pattern"},features:[i.Bb([Yt]),i.Ab]}),t})(),jt=(()=>{class t{}return t.\u0275mod=i.Lb({type:t}),t.\u0275inj=i.Kb({factory:function(e){return new(e||t)}}),t})(),Ft=(()=>{class t{group(t,e=null){const n=this._reduceControls(t);let i,a=null,r=null;return null!=e&&(function(t){return void 0!==t.asyncValidators||void 0!==t.validators||void 0!==t.updateOn}(e)?(a=null!=e.validators?e.validators:null,r=null!=e.asyncValidators?e.asyncValidators:null,i=null!=e.updateOn?e.updateOn:void 0):(a=null!=e.validator?e.validator:null,r=null!=e.asyncValidator?e.asyncValidator:null)),new pt(n,{asyncValidators:r,updateOn:i,validators:a})}control(t,e,n){return new mt(t,e,n)}array(t,e,n){const i=t.map(t=>this._createControl(t));return new ft(i,e,n)}_reduceControls(t){const e={};return Object.keys(t).forEach(n=>{e[n]=this._createControl(t[n])}),e}_createControl(t){return t instanceof mt||t instanceof pt||t instanceof ft?t:Array.isArray(t)?this.control(t[0],t.length>1?t[1]:null,t.length>2?t[2]:null):this.control(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=i.Jb({token:t,factory:t.\u0275fac}),t})(),zt=(()=>{class t{}return t.\u0275mod=i.Lb({type:t}),t.\u0275inj=i.Kb({factory:function(e){return new(e||t)},providers:[F],imports:[jt]}),t})(),Vt=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:xt,useValue:e.warnOnNgModelWithFormControl}]}}}return t.\u0275mod=i.Lb({type:t}),t.\u0275inj=i.Kb({factory:function(e){return new(e||t)},providers:[Ft,F],imports:[jt]}),t})()},sp3z:function(t,e,n){!function(t){"use strict";t.defineLocale("lo",{months:"\u0ea1\u0eb1\u0e87\u0e81\u0ead\u0e99_\u0e81\u0eb8\u0ea1\u0e9e\u0eb2_\u0ea1\u0eb5\u0e99\u0eb2_\u0ec0\u0ea1\u0eaa\u0eb2_\u0e9e\u0eb6\u0e94\u0eaa\u0eb0\u0e9e\u0eb2_\u0ea1\u0eb4\u0e96\u0eb8\u0e99\u0eb2_\u0e81\u0ecd\u0ea5\u0eb0\u0e81\u0ebb\u0e94_\u0eaa\u0eb4\u0e87\u0eab\u0eb2_\u0e81\u0eb1\u0e99\u0e8d\u0eb2_\u0e95\u0eb8\u0ea5\u0eb2_\u0e9e\u0eb0\u0e88\u0eb4\u0e81_\u0e97\u0eb1\u0e99\u0ea7\u0eb2".split("_"),monthsShort:"\u0ea1\u0eb1\u0e87\u0e81\u0ead\u0e99_\u0e81\u0eb8\u0ea1\u0e9e\u0eb2_\u0ea1\u0eb5\u0e99\u0eb2_\u0ec0\u0ea1\u0eaa\u0eb2_\u0e9e\u0eb6\u0e94\u0eaa\u0eb0\u0e9e\u0eb2_\u0ea1\u0eb4\u0e96\u0eb8\u0e99\u0eb2_\u0e81\u0ecd\u0ea5\u0eb0\u0e81\u0ebb\u0e94_\u0eaa\u0eb4\u0e87\u0eab\u0eb2_\u0e81\u0eb1\u0e99\u0e8d\u0eb2_\u0e95\u0eb8\u0ea5\u0eb2_\u0e9e\u0eb0\u0e88\u0eb4\u0e81_\u0e97\u0eb1\u0e99\u0ea7\u0eb2".split("_"),weekdays:"\u0ead\u0eb2\u0e97\u0eb4\u0e94_\u0e88\u0eb1\u0e99_\u0ead\u0eb1\u0e87\u0e84\u0eb2\u0e99_\u0e9e\u0eb8\u0e94_\u0e9e\u0eb0\u0eab\u0eb1\u0e94_\u0eaa\u0eb8\u0e81_\u0ec0\u0eaa\u0ebb\u0eb2".split("_"),weekdaysShort:"\u0e97\u0eb4\u0e94_\u0e88\u0eb1\u0e99_\u0ead\u0eb1\u0e87\u0e84\u0eb2\u0e99_\u0e9e\u0eb8\u0e94_\u0e9e\u0eb0\u0eab\u0eb1\u0e94_\u0eaa\u0eb8\u0e81_\u0ec0\u0eaa\u0ebb\u0eb2".split("_"),weekdaysMin:"\u0e97_\u0e88_\u0ead\u0e84_\u0e9e_\u0e9e\u0eab_\u0eaa\u0e81_\u0eaa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"\u0ea7\u0eb1\u0e99dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0e95\u0ead\u0e99\u0ec0\u0e8a\u0ebb\u0ec9\u0eb2|\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87/,isPM:function(t){return"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"===t},meridiem:function(t,e,n){return t<12?"\u0e95\u0ead\u0e99\u0ec0\u0e8a\u0ebb\u0ec9\u0eb2":"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"},calendar:{sameDay:"[\u0ea1\u0eb7\u0ec9\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",nextDay:"[\u0ea1\u0eb7\u0ec9\u0ead\u0eb7\u0ec8\u0e99\u0ec0\u0ea7\u0ea5\u0eb2] LT",nextWeek:"[\u0ea7\u0eb1\u0e99]dddd[\u0edc\u0ec9\u0eb2\u0ec0\u0ea7\u0ea5\u0eb2] LT",lastDay:"[\u0ea1\u0eb7\u0ec9\u0ea7\u0eb2\u0e99\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",lastWeek:"[\u0ea7\u0eb1\u0e99]dddd[\u0ec1\u0ea5\u0ec9\u0ea7\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",sameElse:"L"},relativeTime:{future:"\u0ead\u0eb5\u0e81 %s",past:"%s\u0e9c\u0ec8\u0eb2\u0e99\u0ea1\u0eb2",s:"\u0e9a\u0ecd\u0ec8\u0ec0\u0e97\u0ebb\u0ec8\u0eb2\u0ec3\u0e94\u0ea7\u0eb4\u0e99\u0eb2\u0e97\u0eb5",ss:"%d \u0ea7\u0eb4\u0e99\u0eb2\u0e97\u0eb5",m:"1 \u0e99\u0eb2\u0e97\u0eb5",mm:"%d \u0e99\u0eb2\u0e97\u0eb5",h:"1 \u0e8a\u0ebb\u0ec8\u0ea7\u0ec2\u0ea1\u0e87",hh:"%d \u0e8a\u0ebb\u0ec8\u0ea7\u0ec2\u0ea1\u0e87",d:"1 \u0ea1\u0eb7\u0ec9",dd:"%d \u0ea1\u0eb7\u0ec9",M:"1 \u0ec0\u0e94\u0eb7\u0ead\u0e99",MM:"%d \u0ec0\u0e94\u0eb7\u0ead\u0e99",y:"1 \u0e9b\u0eb5",yy:"%d \u0e9b\u0eb5"},dayOfMonthOrdinalParse:/(\u0e97\u0eb5\u0ec8)\d{1,2}/,ordinal:function(t){return"\u0e97\u0eb5\u0ec8"+t}})}(n("wd/R"))},"t+mt":function(t,e,n){!function(t){"use strict";t.defineLocale("en-sg",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})}(n("wd/R"))},tGlX:function(t,e,n){!function(t){"use strict";function e(t,e,n,i){var a={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[t+" Tage",t+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[t+" Monate",t+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[t+" Jahre",t+" Jahren"]};return e?a[n][0]:a[n][1]}t.defineLocale("de",{months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:e,mm:"%d Minuten",h:e,hh:"%d Stunden",d:e,dd:e,w:e,ww:"%d Wochen",M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},tT3J:function(t,e,n){!function(t){"use strict";t.defineLocale("tzm-latn",{months:"innayr_br\u02e4ayr\u02e4_mar\u02e4s\u02e4_ibrir_mayyw_ywnyw_ywlywz_\u0263w\u0161t_\u0161wtanbir_kt\u02e4wbr\u02e4_nwwanbir_dwjnbir".split("_"),monthsShort:"innayr_br\u02e4ayr\u02e4_mar\u02e4s\u02e4_ibrir_mayyw_ywnyw_ywlywz_\u0263w\u0161t_\u0161wtanbir_kt\u02e4wbr\u02e4_nwwanbir_dwjnbir".split("_"),weekdays:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),weekdaysShort:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),weekdaysMin:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[asdkh g] LT",nextDay:"[aska g] LT",nextWeek:"dddd [g] LT",lastDay:"[assant g] LT",lastWeek:"dddd [g] LT",sameElse:"L"},relativeTime:{future:"dadkh s yan %s",past:"yan %s",s:"imik",ss:"%d imik",m:"minu\u1e0d",mm:"%d minu\u1e0d",h:"sa\u025ba",hh:"%d tassa\u025bin",d:"ass",dd:"%d ossan",M:"ayowr",MM:"%d iyyirn",y:"asgas",yy:"%d isgasn"},week:{dow:6,doy:12}})}(n("wd/R"))},tUCv:function(t,e,n){!function(t){"use strict";t.defineLocale("jv",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des".split("_"),weekdays:"Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu".split("_"),weekdaysShort:"Min_Sen_Sel_Reb_Kem_Jem_Sep".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sp".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/enjing|siyang|sonten|ndalu/,meridiemHour:function(t,e){return 12===t&&(t=0),"enjing"===e?t:"siyang"===e?t>=11?t:t+12:"sonten"===e||"ndalu"===e?t+12:void 0},meridiem:function(t,e,n){return t<11?"enjing":t<15?"siyang":t<19?"sonten":"ndalu"},calendar:{sameDay:"[Dinten puniko pukul] LT",nextDay:"[Mbenjang pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kala wingi pukul] LT",lastWeek:"dddd [kepengker pukul] LT",sameElse:"L"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",ss:"%d detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"},week:{dow:1,doy:7}})}(n("wd/R"))},tbfe:function(t,e,n){!function(t){"use strict";var e="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),i=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],a=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;t.defineLocale("es-mx",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(t,i){return t?/-MMM-/.test(i)?n[t.month()]:e[t.month()]:e},monthsRegex:a,monthsShortRegex:a,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:0,doy:4},invalidDate:"Fecha inv\xe1lida"})}(n("wd/R"))},tgYw:function(t,e,n){"use strict";n.d(e,"a",function(){return i});class i{constructor({latitude:t=null,longitude:e=null}){this.latitude=t,this.longitude=e}}},u3GI:function(t,e,n){!function(t){"use strict";function e(t,e,n,i){var a={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[t+" Tage",t+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[t+" Monate",t+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[t+" Jahre",t+" Jahren"]};return e?a[n][0]:a[n][1]}t.defineLocale("de-ch",{months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:e,mm:"%d Minuten",h:e,hh:"%d Stunden",d:e,dd:e,w:e,ww:"%d Wochen",M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},uEye:function(t,e,n){!function(t){"use strict";t.defineLocale("nn",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"sundag_m\xe5ndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"su._m\xe5._ty._on._to._fr._lau.".split("_"),weekdaysMin:"su_m\xe5_ty_on_to_fr_la".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[I dag klokka] LT",nextDay:"[I morgon klokka] LT",nextWeek:"dddd [klokka] LT",lastDay:"[I g\xe5r klokka] LT",lastWeek:"[F\xf8reg\xe5ande] dddd [klokka] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s sidan",s:"nokre sekund",ss:"%d sekund",m:"eit minutt",mm:"%d minutt",h:"ein time",hh:"%d timar",d:"ein dag",dd:"%d dagar",w:"ei veke",ww:"%d veker",M:"ein m\xe5nad",MM:"%d m\xe5nader",y:"eit \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},uXwI:function(t,e,n){!function(t){"use strict";var e={ss:"sekundes_sekund\u0113m_sekunde_sekundes".split("_"),m:"min\u016btes_min\u016bt\u0113m_min\u016bte_min\u016btes".split("_"),mm:"min\u016btes_min\u016bt\u0113m_min\u016bte_min\u016btes".split("_"),h:"stundas_stund\u0101m_stunda_stundas".split("_"),hh:"stundas_stund\u0101m_stunda_stundas".split("_"),d:"dienas_dien\u0101m_diena_dienas".split("_"),dd:"dienas_dien\u0101m_diena_dienas".split("_"),M:"m\u0113ne\u0161a_m\u0113ne\u0161iem_m\u0113nesis_m\u0113ne\u0161i".split("_"),MM:"m\u0113ne\u0161a_m\u0113ne\u0161iem_m\u0113nesis_m\u0113ne\u0161i".split("_"),y:"gada_gadiem_gads_gadi".split("_"),yy:"gada_gadiem_gads_gadi".split("_")};function n(t,e,n){return n?e%10==1&&e%100!=11?t[2]:t[3]:e%10==1&&e%100!=11?t[0]:t[1]}function i(t,i,a){return t+" "+n(e[a],t,i)}function a(t,i,a){return n(e[a],t,i)}t.defineLocale("lv",{months:"janv\u0101ris_febru\u0101ris_marts_apr\u012blis_maijs_j\u016bnijs_j\u016blijs_augusts_septembris_oktobris_novembris_decembris".split("_"),monthsShort:"jan_feb_mar_apr_mai_j\u016bn_j\u016bl_aug_sep_okt_nov_dec".split("_"),weekdays:"sv\u0113tdiena_pirmdiena_otrdiena_tre\u0161diena_ceturtdiena_piektdiena_sestdiena".split("_"),weekdaysShort:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysMin:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"YYYY. [gada] D. MMMM",LLL:"YYYY. [gada] D. MMMM, HH:mm",LLLL:"YYYY. [gada] D. MMMM, dddd, HH:mm"},calendar:{sameDay:"[\u0160odien pulksten] LT",nextDay:"[R\u012bt pulksten] LT",nextWeek:"dddd [pulksten] LT",lastDay:"[Vakar pulksten] LT",lastWeek:"[Pag\u0101ju\u0161\u0101] dddd [pulksten] LT",sameElse:"L"},relativeTime:{future:"p\u0113c %s",past:"pirms %s",s:function(t,e){return e?"da\u017eas sekundes":"da\u017e\u0101m sekund\u0113m"},ss:i,m:a,mm:i,h:a,hh:i,d:a,dd:i,M:a,MM:i,y:a,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},uc2U:function(t,e,n){"use strict";n.d(e,"a",function(){return i});var i=function(t){return t.VALIDATE="search",t.VALID="check",t.INVALID="close",t.ERROR="error_outline",t}({})},uuBd:function(t,e,n){"use strict";n.d(e,"a",function(){return x});var i=n("CtHx"),a=n("y7ui"),r=n("8Y7J"),o=n("s7LF"),s=n("OLiY"),l=n("LRne");class c{constructor(){this.parent=null,this.canCheck=!0,this.canSelect=!0}}var d=n("SVse"),u=n("pMoy"),h=n("Dxy4"),m=n("Q2Ze"),p=n("Tj54"),f=n("TSSN");function g(t,e){if(1&t){const t=r.Ub();r.Tb(0,"mat-checkbox",4),r.bc("change",function(){return r.yc(t),r.fc().toggleAll()}),r.Hc(1),r.gc(2,"translate"),r.Sb()}if(2&t){const t=r.fc();r.nc("checked",t.isFull())("indeterminate",!t.isEmpty()&&!t.isFull()),r.Cb(1),r.Jc(" ",r.hc(2,3,"common.selection.tous"),"\n")}}function b(t,e){if(1&t){const t=r.Ub();r.Tb(0,"mat-checkbox",9),r.bc("change",function(){r.yc(t);const e=r.fc().$implicit;return r.fc().selectionToggle(e)}),r.Hc(1),r.Sb()}if(2&t){const t=r.fc().$implicit,e=r.fc();r.pc("name","node_",t.id,""),r.pc("id","node_",t.id,""),r.nc("checked",e.checklistSelection.isSelected(t)),r.Cb(1),r.Ic(t.value)}}function _(t,e){if(1&t&&(r.Tb(0,"mat-label"),r.Hc(1),r.Sb()),2&t){const t=r.fc().$implicit;r.Cb(1),r.Ic(t.value)}}function y(t,e){if(1&t&&(r.Tb(0,"mat-tree-node",5),r.Ob(1,"button",6),r.Fc(2,b,2,4,"mat-checkbox",7),r.Fc(3,_,2,1,"mat-label",8),r.Sb()),2&t){const t=e.$implicit,n=r.fc();r.Cb(2),r.nc("ngIf",n.canCheck(t)),r.Cb(1),r.nc("ngIf",!n.canCheck(t))}}function v(t,e){if(1&t){const t=r.Ub();r.Tb(0,"mat-checkbox",14),r.bc("change",function(){r.yc(t);const e=r.fc().$implicit;return r.fc().selectionToggle(e)}),r.Hc(1),r.Sb()}if(2&t){const t=r.fc().$implicit,e=r.fc();r.pc("name","node_",t.id,""),r.pc("id","node_",t.id,""),r.nc("checked",e.descendantsAllSelected(t))("indeterminate",e.descendantsPartiallySelected(t)),r.Cb(1),r.Ic(t.value)}}function C(t,e){if(1&t&&(r.Tb(0,"mat-label"),r.Hc(1),r.Sb()),2&t){const t=r.fc().$implicit;r.Cb(1),r.Ic(t.value)}}function w(t,e){if(1&t&&(r.Tb(0,"mat-tree-node",10),r.Tb(1,"button",11),r.Tb(2,"mat-icon",12),r.Hc(3),r.Sb(),r.Sb(),r.Fc(4,v,2,5,"mat-checkbox",13),r.Fc(5,C,2,1,"mat-label",8),r.Sb()),2&t){const t=e.$implicit,n=r.fc();r.Cb(1),r.pc("id","toggle_",t.id,""),r.Cb(2),r.Jc(" ",n.treeControl.isExpanded(t)?"expand_more":"chevron_right"," "),r.Cb(1),r.nc("ngIf",n.canCheck(t)),r.Cb(1),r.nc("ngIf",!n.canCheck(t))}}let x=(()=>{class t{constructor(t){this.changeDetectorRef=t,this.flatNodeMap=new Map,this.nestedNodeMap=new Map,this.checklistSelection=new i.c(!0),this._data=[],this.expand=!1,this.showSelectAll=!0,this.height=400,this.selection=[],this.onChange=t=>{},this.onTouched=()=>{},this.getLevel=t=>t.level,this.isExpandable=t=>t.expandable,this.canCheck=t=>t.canCheck,this.getChildren=t=>Object(l.a)(t.children),this.hasChild=(t,e)=>e.expandable,this.hasNoContent=(t,e)=>""===e.value,this.transformer=(t,e)=>{const n=this.nestedNodeMap.get(t),i=n&&n.value===t.value?n:new c;return i.id=t.id,i.value=t.value,i.level=e,i.expandable=!!t.children,i.canCheck=t.canCheck,i.canSelect=t.canSelect,i.treeNode=t,i.parent=t.parent?this.nestedNodeMap.get(t.parent):null,this.flatNodeMap.set(i,t),this.nestedNodeMap.set(t,i),i},this.treeFlattener=new s.c(this.transformer,this.getLevel,this.isExpandable,this.getChildren),this.treeControl=new a.j(this.getLevel,this.isExpandable),this.dataSource=new s.b(this.treeControl,this.treeFlattener)}get data(){return this._data}set data(t){this._data=t||[],this.reload()}writeValue(t){t&&(this.selection=t)}registerOnChange(t){this.onChange=t}registerOnTouched(t){this.onTouched=t}reload(){this.dataSource.data=this.data,!1!==this.expand&&this.treeControl.expandAll()}descendantsAllSelected(t){return this.treeControl.getDescendants(t).every(t=>this.checklistSelection.isSelected(t))}descendantsPartiallySelected(t){return this.treeControl.getDescendants(t).some(t=>this.checklistSelection.isSelected(t))&&!this.descendantsAllSelected(t)}selectionToggle(t){this.checklistSelection.toggle(t);const e=this.treeControl.getDescendants(t);this.checklistSelection.isSelected(t)?this.checklistSelection.select(...e):this.checklistSelection.deselect(...e);const n=t.parent;n&&(this.descendantsAllSelected(n)?this.checklistSelection.select(n):this.checklistSelection.deselect(n)),this.refresh()}getAllNodes(){return Array.from(this.nestedNodeMap.entries()).map(t=>t[1])}isEmpty(){return this.checklistSelection.isEmpty()}isFull(){return this.getAllNodes().every(t=>!t.canSelect||this.checklistSelection.isSelected(t))}toggleAll(){this.isFull()?this.checklistSelection.clear():this.checklistSelection.select(...this.getAllNodes()),this.refresh()}refresh(){this.selection=this.isEmpty()||this.isFull()?[]:this.checklistSelection.selected.map(t=>t.treeNode).filter(t=>t.canSelect),this.onChange(this.selection),this.changeDetectorRef.markForCheck()}setSelection(t){this.checklistSelection.clear(),t&&t.length>0&&(this.checklistSelection.select(...t.map(t=>this.nestedNodeMap.get(t))),this.dataSource.data.forEach(t=>this.checkDescendants(this.nestedNodeMap.get(t))),this.refresh())}checkDescendants(t){const e=this.treeControl.getDescendants(t);e.length>0&&(e.forEach(t=>this.checkDescendants(t)),this.descendantsAllSelected(t)&&this.checklistSelection.select(t))}}return t.\u0275fac=function(e){return new(e||t)(r.Nb(r.h))},t.\u0275cmp=r.Hb({type:t,selectors:[["app-tree-view"]],inputs:{data:"data",expand:"expand",showSelectAll:"showSelectAll",height:"height"},features:[r.Bb([{provide:o.m,useExisting:Object(r.V)(()=>t),multi:!0}])],decls:4,vars:6,consts:[["color","primary","name","all",3,"checked","indeterminate","change",4,"ngIf"],[3,"dataSource","treeControl"],["matTreeNodeToggle","","matTreeNodePadding","",4,"matTreeNodeDef"],["matTreeNodePadding","",4,"matTreeNodeDef","matTreeNodeDefWhen"],["color","primary","name","all",3,"checked","indeterminate","change"],["matTreeNodeToggle","","matTreeNodePadding",""],["mat-icon-button","","disabled",""],["class","checklist-leaf-node","color","primary",3,"name","id","checked","change",4,"ngIf"],[4,"ngIf"],["color","primary",1,"checklist-leaf-node",3,"name","id","checked","change"],["matTreeNodePadding",""],["mat-icon-button","","matTreeNodeToggle","","aria-label","toggle",3,"id"],[1,"mat-icon-rtl-mirror"],["color","primary",3,"name","id","checked","indeterminate","change",4,"ngIf"],["color","primary",3,"name","id","checked","indeterminate","change"]],template:function(t,e){1&t&&(r.Fc(0,g,3,5,"mat-checkbox",0),r.Tb(1,"mat-tree",1),r.Fc(2,y,4,2,"mat-tree-node",2),r.Fc(3,w,6,4,"mat-tree-node",3),r.Sb()),2&t&&(r.nc("ngIf",e.showSelectAll),r.Cb(1),r.Cc("height",e.height,"px"),r.nc("dataSource",e.dataSource)("treeControl",e.treeControl),r.Cb(2),r.nc("matTreeNodeDefWhen",e.hasChild))},directives:[d.l,s.a,s.f,u.a,s.e,s.h,s.g,h.a,m.f,p.a],pipes:[f.c],styles:["[_nghost-%COMP%] > mat-checkbox[_ngcontent-%COMP%]{padding-left:16px}[_nghost-%COMP%] > mat-tree[_ngcontent-%COMP%]{overflow-x:hidden;overflow-y:auto;position:relative;z-index:5;background:#fff}[_nghost-%COMP%] > mat-tree[_ngcontent-%COMP%] mat-tree-node[_ngcontent-%COMP%]{min-height:0}[_nghost-%COMP%] > mat-tree[_ngcontent-%COMP%] mat-tree-node[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{height:24px;line-height:0}[_nghost-%COMP%] > mat-tree[_ngcontent-%COMP%] mat-tree-node[_ngcontent-%COMP%] button[disabled][_ngcontent-%COMP%]{height:0;width:24px}"],changeDetection:0}),t})()},"v/fa":function(t,e,n){"use strict";n.d(e,"a",function(){return a});var i=n("IGtN");class a extends i.a{constructor(t){super(t),this.translateService=t}doesControlHaveError(t,e){return this.form.get(t).hasError(e)}}},vkgz:function(t,e,n){"use strict";n.d(e,"a",function(){return o});var i=n("7o/Q");function a(){}var r=n("n6bG");function o(t,e,n){return function(i){return i.lift(new s(t,e,n))}}class s{constructor(t,e,n){this.nextOrObserver=t,this.error=e,this.complete=n}call(t,e){return e.subscribe(new l(t,this.nextOrObserver,this.error,this.complete))}}class l extends i.a{constructor(t,e,n,i){super(t),this._tapNext=a,this._tapError=a,this._tapComplete=a,this._tapError=n||a,this._tapComplete=i||a,Object(r.a)(e)?(this._context=this,this._tapNext=e):e&&(this._context=e,this._tapNext=e.next||a,this._tapError=e.error||a,this._tapComplete=e.complete||a)}_next(t){try{this._tapNext.call(this._context,t)}catch(e){return void this.destination.error(e)}this.destination.next(t)}_error(t){try{this._tapError.call(this._context,t)}catch(t){return void this.destination.error(t)}this.destination.error(t)}_complete(){try{this._tapComplete.call(this._context)}catch(t){return void this.destination.error(t)}return this.destination.complete()}}},vrAh:function(t,e,n){"use strict";n.d(e,"a",function(){return Y}),n.d(e,"b",function(){return U}),n.d(e,"c",function(){return B});var i=n("YEUz"),a=n("8LU1"),r=n("SCoL"),o=n("8Y7J"),s=n("UhP/"),l=n("quSY"),c=n("XNiG"),d=n("NXyV"),u=n("VRyK"),h=n("LRne"),m=n("xgIS"),p=n("SVse"),f=n("1O3W"),g=n("7KAL"),b=n("Ht+U"),_=n("1z/I"),y=n("s7LF"),v=n("Q2Ze"),C=n("IzEk"),w=n("eIep"),x=n("pLZG"),M=n("lJxs"),O=n("vkgz"),k=n("3E0/"),S=n("9gLZ");const T=["panel"];function P(t,e){if(1&t&&(o.Tb(0,"div",0,1),o.lc(2),o.Sb()),2&t){const t=e.id,n=o.fc();o.nc("id",n.id)("ngClass",n._classList),o.Db("aria-label",n.ariaLabel||null)("aria-labelledby",n._getPanelAriaLabelledby(t))}}const L=["*"];let D=0;class E{constructor(t,e){this.source=t,this.option=e}}class A{}const I=Object(s.x)(A),R=new o.s("mat-autocomplete-default-options",{providedIn:"root",factory:function(){return{autoActiveFirstOption:!1}}});let N=(()=>{class t extends I{constructor(t,e,n,i){super(),this._changeDetectorRef=t,this._elementRef=e,this._activeOptionChanges=l.a.EMPTY,this.showPanel=!1,this._isOpen=!1,this.displayWith=null,this.optionSelected=new o.o,this.opened=new o.o,this.closed=new o.o,this.optionActivated=new o.o,this._classList={},this.id="mat-autocomplete-"+D++,this.inertGroups=(null==i?void 0:i.SAFARI)||!1,this._autoActiveFirstOption=!!n.autoActiveFirstOption}get isOpen(){return this._isOpen&&this.showPanel}get autoActiveFirstOption(){return this._autoActiveFirstOption}set autoActiveFirstOption(t){this._autoActiveFirstOption=Object(a.c)(t)}set classList(t){this._classList=t&&t.length?Object(a.g)(t).reduce((t,e)=>(t[e]=!0,t),{}):{},this._setVisibilityClasses(this._classList),this._elementRef.nativeElement.className=""}ngAfterContentInit(){this._keyManager=new i.b(this.options).withWrap(),this._activeOptionChanges=this._keyManager.change.subscribe(t=>{this.optionActivated.emit({source:this,option:this.options.toArray()[t]||null})}),this._setVisibility()}ngOnDestroy(){this._activeOptionChanges.unsubscribe()}_setScrollTop(t){this.panel&&(this.panel.nativeElement.scrollTop=t)}_getScrollTop(){return this.panel?this.panel.nativeElement.scrollTop:0}_setVisibility(){this.showPanel=!!this.options.length,this._setVisibilityClasses(this._classList),this._changeDetectorRef.markForCheck()}_emitSelectEvent(t){const e=new E(this,t);this.optionSelected.emit(e)}_getPanelAriaLabelledby(t){return this.ariaLabel?null:this.ariaLabelledby?t+" "+this.ariaLabelledby:t}_setVisibilityClasses(t){t[this._visibleClass]=this.showPanel,t[this._hiddenClass]=!this.showPanel}}return t.\u0275fac=function(e){return new(e||t)(o.Nb(o.h),o.Nb(o.l),o.Nb(R),o.Nb(r.a))},t.\u0275dir=o.Ib({type:t,viewQuery:function(t,e){if(1&t&&(o.Lc(o.N,3),o.Lc(T,1)),2&t){let t;o.uc(t=o.cc())&&(e.template=t.first),o.uc(t=o.cc())&&(e.panel=t.first)}},inputs:{displayWith:"displayWith",autoActiveFirstOption:"autoActiveFirstOption",classList:["class","classList"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],panelWidth:"panelWidth"},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},features:[o.zb]}),t})(),Y=(()=>{class t extends N{constructor(){super(...arguments),this._visibleClass="mat-autocomplete-visible",this._hiddenClass="mat-autocomplete-hidden"}}return t.\u0275fac=function(e){return H(e||t)},t.\u0275cmp=o.Hb({type:t,selectors:[["mat-autocomplete"]],contentQueries:function(t,e,n){if(1&t&&(o.Gb(n,s.g,1),o.Gb(n,s.m,1)),2&t){let t;o.uc(t=o.cc())&&(e.optionGroups=t),o.uc(t=o.cc())&&(e.options=t)}},hostAttrs:[1,"mat-autocomplete"],inputs:{disableRipple:"disableRipple"},exportAs:["matAutocomplete"],features:[o.Bb([{provide:s.h,useExisting:t}]),o.zb],ngContentSelectors:L,decls:1,vars:0,consts:[["role","listbox",1,"mat-autocomplete-panel",3,"id","ngClass"],["panel",""]],template:function(t,e){1&t&&(o.mc(),o.Fc(0,P,3,4,"ng-template"))},directives:[p.j],styles:[".mat-autocomplete-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;visibility:hidden;max-width:none;max-height:256px;position:relative;width:100%;border-bottom-left-radius:4px;border-bottom-right-radius:4px}.mat-autocomplete-panel.mat-autocomplete-visible{visibility:visible}.mat-autocomplete-panel.mat-autocomplete-hidden{visibility:hidden}.mat-autocomplete-panel-above .mat-autocomplete-panel{border-radius:0;border-top-left-radius:4px;border-top-right-radius:4px}.mat-autocomplete-panel .mat-divider-horizontal{margin-top:-1px}.cdk-high-contrast-active .mat-autocomplete-panel{outline:solid 1px}mat-autocomplete{display:none}\n"],encapsulation:2,changeDetection:0}),t})();const H=o.Vb(Y),j=new o.s("mat-autocomplete-scroll-strategy"),F={provide:j,deps:[f.c],useFactory:function(t){return()=>t.scrollStrategies.reposition()}},z={provide:y.m,useExisting:Object(o.V)(()=>B),multi:!0};let V=(()=>{class t{constructor(t,e,n,i,a,r,o,s,h,m,p){this._element=t,this._overlay=e,this._viewContainerRef=n,this._zone=i,this._changeDetectorRef=a,this._dir=o,this._formField=s,this._document=h,this._viewportRuler=m,this._defaults=p,this._componentDestroyed=!1,this._autocompleteDisabled=!1,this._manuallyFloatingLabel=!1,this._viewportSubscription=l.a.EMPTY,this._canOpenOnNextFocus=!0,this._closeKeyEventStream=new c.a,this._windowBlurHandler=()=>{this._canOpenOnNextFocus=this._document.activeElement!==this._element.nativeElement||this.panelOpen},this._onChange=()=>{},this._onTouched=()=>{},this.position="auto",this.autocompleteAttribute="off",this._overlayAttached=!1,this.optionSelections=Object(d.a)(()=>this.autocomplete&&this.autocomplete.options?Object(u.a)(...this.autocomplete.options.map(t=>t.onSelectionChange)):this._zone.onStable.pipe(Object(C.a)(1),Object(w.a)(()=>this.optionSelections))),this._scrollStrategy=r}get autocompleteDisabled(){return this._autocompleteDisabled}set autocompleteDisabled(t){this._autocompleteDisabled=Object(a.c)(t)}ngAfterViewInit(){const t=this._getWindow();void 0!==t&&this._zone.runOutsideAngular(()=>t.addEventListener("blur",this._windowBlurHandler))}ngOnChanges(t){t.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}ngOnDestroy(){const t=this._getWindow();void 0!==t&&t.removeEventListener("blur",this._windowBlurHandler),this._viewportSubscription.unsubscribe(),this._componentDestroyed=!0,this._destroyPanel(),this._closeKeyEventStream.complete()}get panelOpen(){return this._overlayAttached&&this.autocomplete.showPanel}openPanel(){this._attachOverlay(),this._floatLabel()}closePanel(){this._resetLabel(),this._overlayAttached&&(this.panelOpen&&this.autocomplete.closed.emit(),this.autocomplete._isOpen=this._overlayAttached=!1,this._overlayRef&&this._overlayRef.hasAttached()&&(this._overlayRef.detach(),this._closingActionsSubscription.unsubscribe()),this._componentDestroyed||this._changeDetectorRef.detectChanges())}updatePosition(){this._overlayAttached&&this._overlayRef.updatePosition()}get panelClosingActions(){return Object(u.a)(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe(Object(x.a)(()=>this._overlayAttached)),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe(Object(x.a)(()=>this._overlayAttached)):Object(h.a)()).pipe(Object(M.a)(t=>t instanceof s.o?t:null))}get activeOption(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}_getOutsideClickStream(){return Object(u.a)(Object(m.a)(this._document,"click"),Object(m.a)(this._document,"auxclick"),Object(m.a)(this._document,"touchend")).pipe(Object(x.a)(t=>{const e=this._isInsideShadowRoot&&t.composedPath?t.composedPath()[0]:t.target,n=this._formField?this._formField._elementRef.nativeElement:null,i=this.connectedTo?this.connectedTo.elementRef.nativeElement:null;return this._overlayAttached&&e!==this._element.nativeElement&&(!n||!n.contains(e))&&(!i||!i.contains(e))&&!!this._overlayRef&&!this._overlayRef.overlayElement.contains(e)}))}writeValue(t){Promise.resolve(null).then(()=>this._setTriggerValue(t))}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this._element.nativeElement.disabled=t}_handleKeydown(t){const e=t.keyCode;if(e!==b.f||Object(b.r)(t)||t.preventDefault(),this.activeOption&&e===b.e&&this.panelOpen)this.activeOption._selectViaInteraction(),this._resetActiveItem(),t.preventDefault();else if(this.autocomplete){const n=this.autocomplete._keyManager.activeItem,i=e===b.o||e===b.c;this.panelOpen||e===b.n?this.autocomplete._keyManager.onKeydown(t):i&&this._canOpen()&&this.openPanel(),(i||this.autocomplete._keyManager.activeItem!==n)&&this._scrollToOption(this.autocomplete._keyManager.activeItemIndex||0)}}_handleInput(t){let e=t.target,n=e.value;"number"===e.type&&(n=""==n?null:parseFloat(n)),this._previousValue!==n&&(this._previousValue=n,this._onChange(n),this._canOpen()&&this._document.activeElement===t.target&&this.openPanel())}_handleFocus(){this._canOpenOnNextFocus?this._canOpen()&&(this._previousValue=this._element.nativeElement.value,this._attachOverlay(),this._floatLabel(!0)):this._canOpenOnNextFocus=!0}_floatLabel(t=!1){this._formField&&"auto"===this._formField.floatLabel&&(t?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}_resetLabel(){this._manuallyFloatingLabel&&(this._formField.floatLabel="auto",this._manuallyFloatingLabel=!1)}_subscribeToClosingActions(){const t=this._zone.onStable.pipe(Object(C.a)(1)),e=this.autocomplete.options.changes.pipe(Object(O.a)(()=>this._positionStrategy.reapplyLastPosition()),Object(k.a)(0));return Object(u.a)(t,e).pipe(Object(w.a)(()=>{const t=this.panelOpen;return this._resetActiveItem(),this.autocomplete._setVisibility(),this.panelOpen&&(this._overlayRef.updatePosition(),t!==this.panelOpen&&this.autocomplete.opened.emit()),this.panelClosingActions}),Object(C.a)(1)).subscribe(t=>this._setValueAndClose(t))}_destroyPanel(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}_setTriggerValue(t){const e=this.autocomplete&&this.autocomplete.displayWith?this.autocomplete.displayWith(t):t,n=null!=e?e:"";this._formField?this._formField._control.value=n:this._element.nativeElement.value=n,this._previousValue=n}_setValueAndClose(t){t&&t.source&&(this._clearPreviousSelectedOption(t.source),this._setTriggerValue(t.source.value),this._onChange(t.source.value),this._element.nativeElement.focus(),this.autocomplete._emitSelectEvent(t.source)),this.closePanel()}_clearPreviousSelectedOption(t){this.autocomplete.options.forEach(e=>{e!==t&&e.selected&&e.deselect()})}_attachOverlay(){var t;null==this._isInsideShadowRoot&&(this._isInsideShadowRoot=!!Object(r.c)(this._element.nativeElement));let e=this._overlayRef;e?(this._positionStrategy.setOrigin(this._getConnectedElement()),e.updateSize({width:this._getPanelWidth()})):(this._portal=new _.g(this.autocomplete.template,this._viewContainerRef,{id:null===(t=this._formField)||void 0===t?void 0:t._labelId}),e=this._overlay.create(this._getOverlayConfig()),this._overlayRef=e,e.keydownEvents().subscribe(t=>{(t.keyCode===b.f&&!Object(b.r)(t)||t.keyCode===b.o&&Object(b.r)(t,"altKey"))&&(this._resetActiveItem(),this._closeKeyEventStream.next(),t.stopPropagation(),t.preventDefault())}),this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&e&&e.updateSize({width:this._getPanelWidth()})})),e&&!e.hasAttached()&&(e.attach(this._portal),this._closingActionsSubscription=this._subscribeToClosingActions());const n=this.panelOpen;this.autocomplete._setVisibility(),this.autocomplete._isOpen=this._overlayAttached=!0,this.panelOpen&&n!==this.panelOpen&&this.autocomplete.opened.emit()}_getOverlayConfig(){var t;return new f.d({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir,panelClass:null===(t=this._defaults)||void 0===t?void 0:t.overlayPanelClass})}_getOverlayPosition(){const t=this._overlay.position().flexibleConnectedTo(this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(t),this._positionStrategy=t,t}_setStrategyPositions(t){const e=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],n=this._aboveClass,i=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:n},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:n}];let a;a="above"===this.position?i:"below"===this.position?e:[...e,...i],t.withPositions(a)}_getConnectedElement(){return this.connectedTo?this.connectedTo.elementRef:this._formField?this._formField.getConnectedOverlayOrigin():this._element}_getPanelWidth(){return this.autocomplete.panelWidth||this._getHostWidth()}_getHostWidth(){return this._getConnectedElement().nativeElement.getBoundingClientRect().width}_resetActiveItem(){const t=this.autocomplete;t.autoActiveFirstOption?t._keyManager.setFirstItemActive():t._keyManager.setActiveItem(-1)}_canOpen(){const t=this._element.nativeElement;return!t.readOnly&&!t.disabled&&!this._autocompleteDisabled}_getWindow(){var t;return(null===(t=this._document)||void 0===t?void 0:t.defaultView)||window}_scrollToOption(t){const e=this.autocomplete,n=Object(s.u)(t,e.options,e.optionGroups);if(0===t&&1===n)e._setScrollTop(0);else{const n=e.options.toArray()[t];if(n){const t=n._getHostElement(),i=Object(s.v)(t.offsetTop,t.offsetHeight,e._getScrollTop(),e.panel.nativeElement.offsetHeight);e._setScrollTop(i)}}}}return t.\u0275fac=function(e){return new(e||t)(o.Nb(o.l),o.Nb(f.c),o.Nb(o.R),o.Nb(o.B),o.Nb(o.h),o.Nb(j),o.Nb(S.b,8),o.Nb(v.a,9),o.Nb(p.d,8),o.Nb(g.e),o.Nb(R,8))},t.\u0275dir=o.Ib({type:t,inputs:{position:["matAutocompletePosition","position"],autocompleteAttribute:["autocomplete","autocompleteAttribute"],autocompleteDisabled:["matAutocompleteDisabled","autocompleteDisabled"],autocomplete:["matAutocomplete","autocomplete"],connectedTo:["matAutocompleteConnectedTo","connectedTo"]},features:[o.Ab]}),t})(),B=(()=>{class t extends V{constructor(){super(...arguments),this._aboveClass="mat-autocomplete-panel-above"}}return t.\u0275fac=function(e){return W(e||t)},t.\u0275dir=o.Ib({type:t,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-autocomplete-trigger"],hostVars:7,hostBindings:function(t,e){1&t&&o.bc("focusin",function(){return e._handleFocus()})("blur",function(){return e._onTouched()})("input",function(t){return e._handleInput(t)})("keydown",function(t){return e._handleKeydown(t)}),2&t&&o.Db("autocomplete",e.autocompleteAttribute)("role",e.autocompleteDisabled?null:"combobox")("aria-autocomplete",e.autocompleteDisabled?null:"list")("aria-activedescendant",e.panelOpen&&e.activeOption?e.activeOption.id:null)("aria-expanded",e.autocompleteDisabled?null:e.panelOpen.toString())("aria-owns",e.autocompleteDisabled||!e.panelOpen||null==e.autocomplete?null:e.autocomplete.id)("aria-haspopup",!e.autocompleteDisabled)},exportAs:["matAutocompleteTrigger"],features:[o.Bb([z]),o.zb]}),t})();const W=o.Vb(B);let U=(()=>{class t{}return t.\u0275mod=o.Lb({type:t}),t.\u0275inj=o.Kb({factory:function(e){return new(e||t)},providers:[F],imports:[[f.f,s.n,s.j,p.c],g.b,s.n,s.j]}),t})()},vuU3:function(t,e,n){"use strict";n.d(e,"a",function(){return i});class i{constructor(t){this.fb=t}}},vzmS:function(t,e,n){"use strict";n.d(e,"a",function(){return i});class i{constructor({activite1:t=null,activite2:e=null,activite3:n=null,activite4:i=null}){this.activite1=t,this.activite2=e,this.activite3=n,this.activite4=i}}},w1tV:function(t,e,n){"use strict";n.d(e,"a",function(){return s});var i=n("oB13"),a=n("x+ZX"),r=n("XNiG");function o(){return new r.a}function s(){return t=>Object(a.a)()(Object(i.a)(o)(t))}},wPIS:function(t,e,n){"use strict";n.d(e,"c",function(){return c}),n.d(e,"a",function(){return o}),n.d(e,"b",function(){return l});var i=n("8Y7J"),a=n("4R65"),r=function(){function t(){}return t.mapToArray=function(t){var e=[];for(var n in t)t.hasOwnProperty(n)&&e.push(t[n]);return e},t.handleEvent=function(t,e,n){0<e.observers.length&&t.run(function(){e.emit(n)})},t}(),o=function(){function t(t,e){this.element=t,this.zone=e,this.DEFAULT_ZOOM=1,this.DEFAULT_CENTER=Object(a.latLng)(38.907192,-77.036871),this.DEFAULT_FPZ_OPTIONS={},this.fitBoundsOptions=this.DEFAULT_FPZ_OPTIONS,this.panOptions=this.DEFAULT_FPZ_OPTIONS,this.zoomOptions=this.DEFAULT_FPZ_OPTIONS,this.zoomPanOptions=this.DEFAULT_FPZ_OPTIONS,this.options={},this.mapReady=new i.o,this.zoomChange=new i.o,this.centerChange=new i.o,this.onClick=new i.o,this.onDoubleClick=new i.o,this.onMouseDown=new i.o,this.onMouseUp=new i.o,this.onMouseMove=new i.o,this.onMouseOver=new i.o,this.onMouseOut=new i.o,this.onMapMove=new i.o,this.onMapMoveStart=new i.o,this.onMapMoveEnd=new i.o,this.onMapZoom=new i.o,this.onMapZoomStart=new i.o,this.onMapZoomEnd=new i.o,this.mapEventHandlers={}}return t.prototype.ngOnInit=function(){var t=this;this.zone.runOutsideAngular(function(){t.map=Object(a.map)(t.element.nativeElement,t.options),t.addMapEventListeners()}),null!=this.center&&null!=this.zoom&&this.setView(this.center,this.zoom),null!=this.fitBounds&&this.setFitBounds(this.fitBounds),null!=this.maxBounds&&this.setMaxBounds(this.maxBounds),null!=this.minZoom&&this.setMinZoom(this.minZoom),null!=this.maxZoom&&this.setMaxZoom(this.maxZoom),this.doResize(),this.mapReady.emit(this.map)},t.prototype.ngOnChanges=function(t){t.zoom&&t.center&&null!=this.zoom&&null!=this.center?this.setView(t.center.currentValue,t.zoom.currentValue):t.zoom?this.setZoom(t.zoom.currentValue):t.center&&this.setCenter(t.center.currentValue),t.fitBounds&&this.setFitBounds(t.fitBounds.currentValue),t.maxBounds&&this.setMaxBounds(t.maxBounds.currentValue),t.minZoom&&this.setMinZoom(t.minZoom.currentValue),t.maxZoom&&this.setMaxZoom(t.maxZoom.currentValue)},t.prototype.ngOnDestroy=function(){this.map.remove()},t.prototype.getMap=function(){return this.map},t.prototype.onResize=function(){this.delayResize()},t.prototype.addMapEventListeners=function(){var t=this,e=function(e,n){t.mapEventHandlers[e]=n,t.map.on(e,n)};e("click",function(e){return r.handleEvent(t.zone,t.onClick,e)}),e("dblclick",function(e){return r.handleEvent(t.zone,t.onDoubleClick,e)}),e("mousedown",function(e){return r.handleEvent(t.zone,t.onMouseDown,e)}),e("mouseup",function(e){return r.handleEvent(t.zone,t.onMouseUp,e)}),e("mouseover",function(e){return r.handleEvent(t.zone,t.onMouseOver,e)}),e("mouseout",function(e){return r.handleEvent(t.zone,t.onMouseOut,e)}),e("mousemove",function(e){return r.handleEvent(t.zone,t.onMouseMove,e)}),e("zoomstart",function(e){return r.handleEvent(t.zone,t.onMapZoomStart,e)}),e("zoom",function(e){return r.handleEvent(t.zone,t.onMapZoom,e)}),e("zoomend",function(e){return r.handleEvent(t.zone,t.onMapZoomEnd,e)}),e("movestart",function(e){return r.handleEvent(t.zone,t.onMapMoveStart,e)}),e("move",function(e){return r.handleEvent(t.zone,t.onMapMove,e)}),e("moveend",function(e){return r.handleEvent(t.zone,t.onMapMoveEnd,e)});var n=function(){var e=t.map.getZoom();e!==t.zoom&&(t.zoom=e,r.handleEvent(t.zone,t.zoomChange,e));var n=t.map.getCenter();null==n&&null==t.center||(null!=n&&null!=t.center||n===t.center)&&n.lat===t.center.lat&&n.lng===t.center.lng||(t.center=n,r.handleEvent(t.zone,t.centerChange,n))};e("moveend",n),e("zoomend",n)},t.prototype.doResize=function(){var t=this;this.zone.runOutsideAngular(function(){t.map.invalidateSize({})})},t.prototype.delayResize=function(){null!=this.resizeTimer&&clearTimeout(this.resizeTimer),this.resizeTimer=setTimeout(this.doResize.bind(this),200)},t.prototype.setView=function(t,e){this.map&&null!=t&&null!=e&&this.map.setView(t,e,this.zoomPanOptions)},t.prototype.setZoom=function(t){this.map&&null!=t&&this.map.setZoom(t,this.zoomOptions)},t.prototype.setCenter=function(t){this.map&&null!=t&&this.map.panTo(t,this.panOptions)},t.prototype.setFitBounds=function(t){this.map&&null!=t&&this.map.fitBounds(t,this.fitBoundsOptions)},t.prototype.setMaxBounds=function(t){this.map&&null!=t&&this.map.setMaxBounds(t)},t.prototype.setMinZoom=function(t){this.map&&null!=t&&this.map.setMinZoom(t)},t.prototype.setMaxZoom=function(t){this.map&&null!=t&&this.map.setMaxZoom(t)},t.\u0275fac=function(e){return new(e||t)(i.Nb(i.l),i.Nb(i.B))},t.\u0275dir=i.Ib({type:t,selectors:[["","leaflet",""]],hostBindings:function(t,e){1&t&&i.bc("resize",function(){return e.onResize()},!1,i.xc)},inputs:{fitBoundsOptions:["leafletFitBoundsOptions","fitBoundsOptions"],panOptions:["leafletPanOptions","panOptions"],zoomOptions:["leafletZoomOptions","zoomOptions"],zoomPanOptions:["leafletZoomPanOptions","zoomPanOptions"],options:["leafletOptions","options"],zoom:["leafletZoom","zoom"],center:["leafletCenter","center"],fitBounds:["leafletFitBounds","fitBounds"],maxBounds:["leafletMaxBounds","maxBounds"],minZoom:["leafletMinZoom","minZoom"],maxZoom:["leafletMaxZoom","maxZoom"]},outputs:{mapReady:"leafletMapReady",zoomChange:"leafletZoomChange",centerChange:"leafletCenterChange",onClick:"leafletClick",onDoubleClick:"leafletDoubleClick",onMouseDown:"leafletMouseDown",onMouseUp:"leafletMouseUp",onMouseMove:"leafletMouseMove",onMouseOver:"leafletMouseOver",onMouseOut:"leafletMouseOut",onMapMove:"leafletMapMove",onMapMoveStart:"leafletMapMoveStart",onMapMoveEnd:"leafletMapMoveEnd",onMapZoom:"leafletMapZoom",onMapZoomStart:"leafletMapZoomStart",onMapZoomEnd:"leafletMapZoomEnd"},features:[i.Ab]}),t}(),s=function(){function t(t){this.leafletDirective=t}return t.prototype.init=function(){},t.prototype.getMap=function(){return this.leafletDirective.getMap()},t}(),l=function(){function t(t,e,n){this.differs=e,this.zone=n,this.leafletDirective=new s(t),this.layersDiffer=this.differs.find([]).create()}return Object.defineProperty(t.prototype,"layers",{get:function(){return this.layersValue},set:function(t){this.layersValue=t,this.updateLayers()},enumerable:!1,configurable:!0}),t.prototype.ngDoCheck=function(){this.updateLayers()},t.prototype.ngOnInit=function(){this.leafletDirective.init(),this.updateLayers()},t.prototype.ngOnDestroy=function(){this.layers=[]},t.prototype.updateLayers=function(){var t=this.leafletDirective.getMap();if(null!=t&&null!=this.layersDiffer){var e=this.layersDiffer.diff(this.layersValue);null!=e&&this.zone.runOutsideAngular(function(){e.forEachRemovedItem(function(e){t.removeLayer(e.item)}),e.forEachAddedItem(function(e){t.addLayer(e.item)})})}},t.\u0275fac=function(e){return new(e||t)(i.Nb(o),i.Nb(i.u),i.Nb(i.B))},t.\u0275dir=i.Ib({type:t,selectors:[["","leafletLayers",""]],inputs:{layers:["leafletLayers","layers"]}}),t}(),c=function(){function t(){}return t.\u0275mod=i.Lb({type:t}),t.\u0275inj=i.Kb({factory:function(e){return new(e||t)}}),t}()},wQk9:function(t,e,n){!function(t){"use strict";t.defineLocale("tzm",{months:"\u2d49\u2d4f\u2d4f\u2d30\u2d62\u2d54_\u2d31\u2d55\u2d30\u2d62\u2d55_\u2d4e\u2d30\u2d55\u2d5a_\u2d49\u2d31\u2d54\u2d49\u2d54_\u2d4e\u2d30\u2d62\u2d62\u2d53_\u2d62\u2d53\u2d4f\u2d62\u2d53_\u2d62\u2d53\u2d4d\u2d62\u2d53\u2d63_\u2d56\u2d53\u2d5b\u2d5c_\u2d5b\u2d53\u2d5c\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d3d\u2d5f\u2d53\u2d31\u2d55_\u2d4f\u2d53\u2d61\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d37\u2d53\u2d4a\u2d4f\u2d31\u2d49\u2d54".split("_"),monthsShort:"\u2d49\u2d4f\u2d4f\u2d30\u2d62\u2d54_\u2d31\u2d55\u2d30\u2d62\u2d55_\u2d4e\u2d30\u2d55\u2d5a_\u2d49\u2d31\u2d54\u2d49\u2d54_\u2d4e\u2d30\u2d62\u2d62\u2d53_\u2d62\u2d53\u2d4f\u2d62\u2d53_\u2d62\u2d53\u2d4d\u2d62\u2d53\u2d63_\u2d56\u2d53\u2d5b\u2d5c_\u2d5b\u2d53\u2d5c\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d3d\u2d5f\u2d53\u2d31\u2d55_\u2d4f\u2d53\u2d61\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d37\u2d53\u2d4a\u2d4f\u2d31\u2d49\u2d54".split("_"),weekdays:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),weekdaysShort:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),weekdaysMin:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u2d30\u2d59\u2d37\u2d45 \u2d34] LT",nextDay:"[\u2d30\u2d59\u2d3d\u2d30 \u2d34] LT",nextWeek:"dddd [\u2d34] LT",lastDay:"[\u2d30\u2d5a\u2d30\u2d4f\u2d5c \u2d34] LT",lastWeek:"dddd [\u2d34] LT",sameElse:"L"},relativeTime:{future:"\u2d37\u2d30\u2d37\u2d45 \u2d59 \u2d62\u2d30\u2d4f %s",past:"\u2d62\u2d30\u2d4f %s",s:"\u2d49\u2d4e\u2d49\u2d3d",ss:"%d \u2d49\u2d4e\u2d49\u2d3d",m:"\u2d4e\u2d49\u2d4f\u2d53\u2d3a",mm:"%d \u2d4e\u2d49\u2d4f\u2d53\u2d3a",h:"\u2d59\u2d30\u2d44\u2d30",hh:"%d \u2d5c\u2d30\u2d59\u2d59\u2d30\u2d44\u2d49\u2d4f",d:"\u2d30\u2d59\u2d59",dd:"%d o\u2d59\u2d59\u2d30\u2d4f",M:"\u2d30\u2d62o\u2d53\u2d54",MM:"%d \u2d49\u2d62\u2d62\u2d49\u2d54\u2d4f",y:"\u2d30\u2d59\u2d33\u2d30\u2d59",yy:"%d \u2d49\u2d59\u2d33\u2d30\u2d59\u2d4f"},week:{dow:6,doy:12}})}(n("wd/R"))},"wa/n":function(t,e,n){"use strict";n.d(e,"a",function(){return a});var i=n("Qaas");class a{constructor({raisonSociale:t=null,numTVA:e=null,adresse:n={},email:a=null,noTVA:r=!1,codeNaf:o=null}){this.raisonSociale=t,this.numTVA=e,this.adresse=new i.a(n),this.email=a,this.noTVA=r,this.codeNaf=o}getForPost(){return Object.assign(Object.assign({},this),{adresse:this.adresse.getForPost()})}}},"wd/R":function(t,e,n){(function(t){t.exports=function(){"use strict";var e,i;function a(){return e.apply(null,arguments)}function r(t){return t instanceof Array||"[object Array]"===Object.prototype.toString.call(t)}function o(t){return null!=t&&"[object Object]"===Object.prototype.toString.call(t)}function s(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function l(t){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(t).length;var e;for(e in t)if(s(t,e))return!1;return!0}function c(t){return void 0===t}function d(t){return"number"==typeof t||"[object Number]"===Object.prototype.toString.call(t)}function u(t){return t instanceof Date||"[object Date]"===Object.prototype.toString.call(t)}function h(t,e){var n,i=[];for(n=0;n<t.length;++n)i.push(e(t[n],n));return i}function m(t,e){for(var n in e)s(e,n)&&(t[n]=e[n]);return s(e,"toString")&&(t.toString=e.toString),s(e,"valueOf")&&(t.valueOf=e.valueOf),t}function p(t,e,n,i){return Me(t,e,n,i,!0).utc()}function f(t){return null==t._pf&&(t._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}),t._pf}function g(t){if(null==t._isValid){var e=f(t),n=i.call(e.parsedDateParts,function(t){return null!=t}),a=!isNaN(t._d.getTime())&&e.overflow<0&&!e.empty&&!e.invalidEra&&!e.invalidMonth&&!e.invalidWeekday&&!e.weekdayMismatch&&!e.nullInput&&!e.invalidFormat&&!e.userInvalidated&&(!e.meridiem||e.meridiem&&n);if(t._strict&&(a=a&&0===e.charsLeftOver&&0===e.unusedTokens.length&&void 0===e.bigHour),null!=Object.isFrozen&&Object.isFrozen(t))return a;t._isValid=a}return t._isValid}function b(t){var e=p(NaN);return null!=t?m(f(e),t):f(e).userInvalidated=!0,e}i=Array.prototype.some?Array.prototype.some:function(t){var e,n=Object(this),i=n.length>>>0;for(e=0;e<i;e++)if(e in n&&t.call(this,n[e],e,n))return!0;return!1};var _=a.momentProperties=[],y=!1;function v(t,e){var n,i,a;if(c(e._isAMomentObject)||(t._isAMomentObject=e._isAMomentObject),c(e._i)||(t._i=e._i),c(e._f)||(t._f=e._f),c(e._l)||(t._l=e._l),c(e._strict)||(t._strict=e._strict),c(e._tzm)||(t._tzm=e._tzm),c(e._isUTC)||(t._isUTC=e._isUTC),c(e._offset)||(t._offset=e._offset),c(e._pf)||(t._pf=f(e)),c(e._locale)||(t._locale=e._locale),_.length>0)for(n=0;n<_.length;n++)c(a=e[i=_[n]])||(t[i]=a);return t}function C(t){v(this,t),this._d=new Date(null!=t._d?t._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===y&&(y=!0,a.updateOffset(this),y=!1)}function w(t){return t instanceof C||null!=t&&null!=t._isAMomentObject}function x(t){!1===a.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+t)}function M(t,e){var n=!0;return m(function(){if(null!=a.deprecationHandler&&a.deprecationHandler(null,t),n){var i,r,o,l=[];for(r=0;r<arguments.length;r++){if(i="","object"==typeof arguments[r]){for(o in i+="\n["+r+"] ",arguments[0])s(arguments[0],o)&&(i+=o+": "+arguments[0][o]+", ");i=i.slice(0,-2)}else i=arguments[r];l.push(i)}x(t+"\nArguments: "+Array.prototype.slice.call(l).join("")+"\n"+(new Error).stack),n=!1}return e.apply(this,arguments)},e)}var O,k={};function S(t,e){null!=a.deprecationHandler&&a.deprecationHandler(t,e),k[t]||(x(e),k[t]=!0)}function T(t){return"undefined"!=typeof Function&&t instanceof Function||"[object Function]"===Object.prototype.toString.call(t)}function P(t,e){var n,i=m({},t);for(n in e)s(e,n)&&(o(t[n])&&o(e[n])?(i[n]={},m(i[n],t[n]),m(i[n],e[n])):null!=e[n]?i[n]=e[n]:delete i[n]);for(n in t)s(t,n)&&!s(e,n)&&o(t[n])&&(i[n]=m({},i[n]));return i}function L(t){null!=t&&this.set(t)}function D(t,e,n){var i=""+Math.abs(t);return(t>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,e-i.length)).toString().substr(1)+i}a.suppressDeprecationWarnings=!1,a.deprecationHandler=null,O=Object.keys?Object.keys:function(t){var e,n=[];for(e in t)s(t,e)&&n.push(e);return n};var E=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,A=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,I={},R={};function N(t,e,n,i){var a=i;"string"==typeof i&&(a=function(){return this[i]()}),t&&(R[t]=a),e&&(R[e[0]]=function(){return D(a.apply(this,arguments),e[1],e[2])}),n&&(R[n]=function(){return this.localeData().ordinal(a.apply(this,arguments),t)})}function Y(t,e){return t.isValid()?(e=H(e,t.localeData()),I[e]=I[e]||function(t){var e,n,i,a=t.match(E);for(e=0,n=a.length;e<n;e++)a[e]=R[a[e]]?R[a[e]]:(i=a[e]).match(/\[[\s\S]/)?i.replace(/^\[|\]$/g,""):i.replace(/\\/g,"");return function(e){var i,r="";for(i=0;i<n;i++)r+=T(a[i])?a[i].call(e,t):a[i];return r}}(e),I[e](t)):t.localeData().invalidDate()}function H(t,e){var n=5;function i(t){return e.longDateFormat(t)||t}for(A.lastIndex=0;n>=0&&A.test(t);)t=t.replace(A,i),A.lastIndex=0,n-=1;return t}var j={};function F(t,e){var n=t.toLowerCase();j[n]=j[n+"s"]=j[e]=t}function z(t){return"string"==typeof t?j[t]||j[t.toLowerCase()]:void 0}function V(t){var e,n,i={};for(n in t)s(t,n)&&(e=z(n))&&(i[e]=t[n]);return i}var B={};function W(t,e){B[t]=e}function U(t){return t%4==0&&t%100!=0||t%400==0}function q(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function G(t){var e=+t,n=0;return 0!==e&&isFinite(e)&&(n=q(e)),n}function J(t,e){return function(n){return null!=n?($(this,t,n),a.updateOffset(this,e),this):Z(this,t)}}function Z(t,e){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+e]():NaN}function $(t,e,n){t.isValid()&&!isNaN(n)&&("FullYear"===e&&U(t.year())&&1===t.month()&&29===t.date()?(n=G(n),t._d["set"+(t._isUTC?"UTC":"")+e](n,t.month(),wt(n,t.month()))):t._d["set"+(t._isUTC?"UTC":"")+e](n))}var X,K=/\d/,Q=/\d\d/,tt=/\d{3}/,et=/\d{4}/,nt=/[+-]?\d{6}/,it=/\d\d?/,at=/\d\d\d\d?/,rt=/\d\d\d\d\d\d?/,ot=/\d{1,3}/,st=/\d{1,4}/,lt=/[+-]?\d{1,6}/,ct=/\d+/,dt=/[+-]?\d+/,ut=/Z|[+-]\d\d:?\d\d/gi,ht=/Z|[+-]\d\d(?::?\d\d)?/gi,mt=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function pt(t,e,n){X[t]=T(e)?e:function(t,i){return t&&n?n:e}}function ft(t,e){return s(X,t)?X[t](e._strict,e._locale):new RegExp(gt(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,e,n,i,a){return e||n||i||a})))}function gt(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}X={};var bt,_t={};function yt(t,e){var n,i=e;for("string"==typeof t&&(t=[t]),d(e)&&(i=function(t,n){n[e]=G(t)}),n=0;n<t.length;n++)_t[t[n]]=i}function vt(t,e){yt(t,function(t,n,i,a){i._w=i._w||{},e(t,i._w,i,a)})}function Ct(t,e,n){null!=e&&s(_t,t)&&_t[t](e,n._a,n,t)}function wt(t,e){if(isNaN(t)||isNaN(e))return NaN;var n=(e%12+12)%12;return t+=(e-n)/12,1===n?U(t)?29:28:31-n%7%2}bt=Array.prototype.indexOf?Array.prototype.indexOf:function(t){var e;for(e=0;e<this.length;++e)if(this[e]===t)return e;return-1},N("M",["MM",2],"Mo",function(){return this.month()+1}),N("MMM",0,0,function(t){return this.localeData().monthsShort(this,t)}),N("MMMM",0,0,function(t){return this.localeData().months(this,t)}),F("month","M"),W("month",8),pt("M",it),pt("MM",it,Q),pt("MMM",function(t,e){return e.monthsShortRegex(t)}),pt("MMMM",function(t,e){return e.monthsRegex(t)}),yt(["M","MM"],function(t,e){e[1]=G(t)-1}),yt(["MMM","MMMM"],function(t,e,n,i){var a=n._locale.monthsParse(t,i,n._strict);null!=a?e[1]=a:f(n).invalidMonth=t});var xt="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Mt="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Ot=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,kt=mt,St=mt;function Tt(t,e,n){var i,a,r,o=t.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],i=0;i<12;++i)r=p([2e3,i]),this._shortMonthsParse[i]=this.monthsShort(r,"").toLocaleLowerCase(),this._longMonthsParse[i]=this.months(r,"").toLocaleLowerCase();return n?"MMM"===e?-1!==(a=bt.call(this._shortMonthsParse,o))?a:null:-1!==(a=bt.call(this._longMonthsParse,o))?a:null:"MMM"===e?-1!==(a=bt.call(this._shortMonthsParse,o))||-1!==(a=bt.call(this._longMonthsParse,o))?a:null:-1!==(a=bt.call(this._longMonthsParse,o))||-1!==(a=bt.call(this._shortMonthsParse,o))?a:null}function Pt(t,e){var n;if(!t.isValid())return t;if("string"==typeof e)if(/^\d+$/.test(e))e=G(e);else if(!d(e=t.localeData().monthsParse(e)))return t;return n=Math.min(t.date(),wt(t.year(),e)),t._d["set"+(t._isUTC?"UTC":"")+"Month"](e,n),t}function Lt(t){return null!=t?(Pt(this,t),a.updateOffset(this,!0),this):Z(this,"Month")}function Dt(){function t(t,e){return e.length-t.length}var e,n,i=[],a=[],r=[];for(e=0;e<12;e++)n=p([2e3,e]),i.push(this.monthsShort(n,"")),a.push(this.months(n,"")),r.push(this.months(n,"")),r.push(this.monthsShort(n,""));for(i.sort(t),a.sort(t),r.sort(t),e=0;e<12;e++)i[e]=gt(i[e]),a[e]=gt(a[e]);for(e=0;e<24;e++)r[e]=gt(r[e]);this._monthsRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+i.join("|")+")","i")}function Et(t){return U(t)?366:365}N("Y",0,0,function(){var t=this.year();return t<=9999?D(t,4):"+"+t}),N(0,["YY",2],0,function(){return this.year()%100}),N(0,["YYYY",4],0,"year"),N(0,["YYYYY",5],0,"year"),N(0,["YYYYYY",6,!0],0,"year"),F("year","y"),W("year",1),pt("Y",dt),pt("YY",it,Q),pt("YYYY",st,et),pt("YYYYY",lt,nt),pt("YYYYYY",lt,nt),yt(["YYYYY","YYYYYY"],0),yt("YYYY",function(t,e){e[0]=2===t.length?a.parseTwoDigitYear(t):G(t)}),yt("YY",function(t,e){e[0]=a.parseTwoDigitYear(t)}),yt("Y",function(t,e){e[0]=parseInt(t,10)}),a.parseTwoDigitYear=function(t){return G(t)+(G(t)>68?1900:2e3)};var At=J("FullYear",!0);function It(t,e,n,i,a,r,o){var s;return t<100&&t>=0?(s=new Date(t+400,e,n,i,a,r,o),isFinite(s.getFullYear())&&s.setFullYear(t)):s=new Date(t,e,n,i,a,r,o),s}function Rt(t){var e,n;return t<100&&t>=0?((n=Array.prototype.slice.call(arguments))[0]=t+400,e=new Date(Date.UTC.apply(null,n)),isFinite(e.getUTCFullYear())&&e.setUTCFullYear(t)):e=new Date(Date.UTC.apply(null,arguments)),e}function Nt(t,e,n){var i=7+e-n;return-(7+Rt(t,0,i).getUTCDay()-e)%7+i-1}function Yt(t,e,n,i,a){var r,o,s=1+7*(e-1)+(7+n-i)%7+Nt(t,i,a);return s<=0?o=Et(r=t-1)+s:s>Et(t)?(r=t+1,o=s-Et(t)):(r=t,o=s),{year:r,dayOfYear:o}}function Ht(t,e,n){var i,a,r=Nt(t.year(),e,n),o=Math.floor((t.dayOfYear()-r-1)/7)+1;return o<1?i=o+jt(a=t.year()-1,e,n):o>jt(t.year(),e,n)?(i=o-jt(t.year(),e,n),a=t.year()+1):(a=t.year(),i=o),{week:i,year:a}}function jt(t,e,n){var i=Nt(t,e,n),a=Nt(t+1,e,n);return(Et(t)-i+a)/7}function Ft(t,e){return t.slice(e,7).concat(t.slice(0,e))}N("w",["ww",2],"wo","week"),N("W",["WW",2],"Wo","isoWeek"),F("week","w"),F("isoWeek","W"),W("week",5),W("isoWeek",5),pt("w",it),pt("ww",it,Q),pt("W",it),pt("WW",it,Q),vt(["w","ww","W","WW"],function(t,e,n,i){e[i.substr(0,1)]=G(t)}),N("d",0,"do","day"),N("dd",0,0,function(t){return this.localeData().weekdaysMin(this,t)}),N("ddd",0,0,function(t){return this.localeData().weekdaysShort(this,t)}),N("dddd",0,0,function(t){return this.localeData().weekdays(this,t)}),N("e",0,0,"weekday"),N("E",0,0,"isoWeekday"),F("day","d"),F("weekday","e"),F("isoWeekday","E"),W("day",11),W("weekday",11),W("isoWeekday",11),pt("d",it),pt("e",it),pt("E",it),pt("dd",function(t,e){return e.weekdaysMinRegex(t)}),pt("ddd",function(t,e){return e.weekdaysShortRegex(t)}),pt("dddd",function(t,e){return e.weekdaysRegex(t)}),vt(["dd","ddd","dddd"],function(t,e,n,i){var a=n._locale.weekdaysParse(t,i,n._strict);null!=a?e.d=a:f(n).invalidWeekday=t}),vt(["d","e","E"],function(t,e,n,i){e[i]=G(t)});var zt="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Vt="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Bt="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Wt=mt,Ut=mt,qt=mt;function Gt(t,e,n){var i,a,r,o=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],i=0;i<7;++i)r=p([2e3,1]).day(i),this._minWeekdaysParse[i]=this.weekdaysMin(r,"").toLocaleLowerCase(),this._shortWeekdaysParse[i]=this.weekdaysShort(r,"").toLocaleLowerCase(),this._weekdaysParse[i]=this.weekdays(r,"").toLocaleLowerCase();return n?"dddd"===e?-1!==(a=bt.call(this._weekdaysParse,o))?a:null:"ddd"===e?-1!==(a=bt.call(this._shortWeekdaysParse,o))?a:null:-1!==(a=bt.call(this._minWeekdaysParse,o))?a:null:"dddd"===e?-1!==(a=bt.call(this._weekdaysParse,o))||-1!==(a=bt.call(this._shortWeekdaysParse,o))||-1!==(a=bt.call(this._minWeekdaysParse,o))?a:null:"ddd"===e?-1!==(a=bt.call(this._shortWeekdaysParse,o))||-1!==(a=bt.call(this._weekdaysParse,o))||-1!==(a=bt.call(this._minWeekdaysParse,o))?a:null:-1!==(a=bt.call(this._minWeekdaysParse,o))||-1!==(a=bt.call(this._weekdaysParse,o))||-1!==(a=bt.call(this._shortWeekdaysParse,o))?a:null}function Jt(){function t(t,e){return e.length-t.length}var e,n,i,a,r,o=[],s=[],l=[],c=[];for(e=0;e<7;e++)n=p([2e3,1]).day(e),i=gt(this.weekdaysMin(n,"")),a=gt(this.weekdaysShort(n,"")),r=gt(this.weekdays(n,"")),o.push(i),s.push(a),l.push(r),c.push(i),c.push(a),c.push(r);o.sort(t),s.sort(t),l.sort(t),c.sort(t),this._weekdaysRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+o.join("|")+")","i")}function Zt(){return this.hours()%12||12}function $t(t,e){N(t,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)})}function Xt(t,e){return e._meridiemParse}N("H",["HH",2],0,"hour"),N("h",["hh",2],0,Zt),N("k",["kk",2],0,function(){return this.hours()||24}),N("hmm",0,0,function(){return""+Zt.apply(this)+D(this.minutes(),2)}),N("hmmss",0,0,function(){return""+Zt.apply(this)+D(this.minutes(),2)+D(this.seconds(),2)}),N("Hmm",0,0,function(){return""+this.hours()+D(this.minutes(),2)}),N("Hmmss",0,0,function(){return""+this.hours()+D(this.minutes(),2)+D(this.seconds(),2)}),$t("a",!0),$t("A",!1),F("hour","h"),W("hour",13),pt("a",Xt),pt("A",Xt),pt("H",it),pt("h",it),pt("k",it),pt("HH",it,Q),pt("hh",it,Q),pt("kk",it,Q),pt("hmm",at),pt("hmmss",rt),pt("Hmm",at),pt("Hmmss",rt),yt(["H","HH"],3),yt(["k","kk"],function(t,e,n){var i=G(t);e[3]=24===i?0:i}),yt(["a","A"],function(t,e,n){n._isPm=n._locale.isPM(t),n._meridiem=t}),yt(["h","hh"],function(t,e,n){e[3]=G(t),f(n).bigHour=!0}),yt("hmm",function(t,e,n){var i=t.length-2;e[3]=G(t.substr(0,i)),e[4]=G(t.substr(i)),f(n).bigHour=!0}),yt("hmmss",function(t,e,n){var i=t.length-4,a=t.length-2;e[3]=G(t.substr(0,i)),e[4]=G(t.substr(i,2)),e[5]=G(t.substr(a)),f(n).bigHour=!0}),yt("Hmm",function(t,e,n){var i=t.length-2;e[3]=G(t.substr(0,i)),e[4]=G(t.substr(i))}),yt("Hmmss",function(t,e,n){var i=t.length-4,a=t.length-2;e[3]=G(t.substr(0,i)),e[4]=G(t.substr(i,2)),e[5]=G(t.substr(a))});var Kt,Qt=J("Hours",!0),te={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:xt,monthsShort:Mt,week:{dow:0,doy:6},weekdays:zt,weekdaysMin:Bt,weekdaysShort:Vt,meridiemParse:/[ap]\.?m?\.?/i},ee={},ne={};function ie(t,e){var n,i=Math.min(t.length,e.length);for(n=0;n<i;n+=1)if(t[n]!==e[n])return n;return i}function ae(t){return t?t.toLowerCase().replace("_","-"):t}function re(e){var i=null;if(void 0===ee[e]&&void 0!==t&&t&&t.exports)try{i=Kt._abbr,n("RnhZ")("./"+e),oe(i)}catch(a){ee[e]=null}return ee[e]}function oe(t,e){var n;return t&&((n=c(e)?le(t):se(t,e))?Kt=n:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+t+" not found. Did you forget to load it?")),Kt._abbr}function se(t,e){if(null!==e){var n,i=te;if(e.abbr=t,null!=ee[t])S("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),i=ee[t]._config;else if(null!=e.parentLocale)if(null!=ee[e.parentLocale])i=ee[e.parentLocale]._config;else{if(null==(n=re(e.parentLocale)))return ne[e.parentLocale]||(ne[e.parentLocale]=[]),ne[e.parentLocale].push({name:t,config:e}),null;i=n._config}return ee[t]=new L(P(i,e)),ne[t]&&ne[t].forEach(function(t){se(t.name,t.config)}),oe(t),ee[t]}return delete ee[t],null}function le(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return Kt;if(!r(t)){if(e=re(t))return e;t=[t]}return function(t){for(var e,n,i,a,r=0;r<t.length;){for(e=(a=ae(t[r]).split("-")).length,n=(n=ae(t[r+1]))?n.split("-"):null;e>0;){if(i=re(a.slice(0,e).join("-")))return i;if(n&&n.length>=e&&ie(a,n)>=e-1)break;e--}r++}return Kt}(t)}function ce(t){var e,n=t._a;return n&&-2===f(t).overflow&&(e=n[1]<0||n[1]>11?1:n[2]<1||n[2]>wt(n[0],n[1])?2:n[3]<0||n[3]>24||24===n[3]&&(0!==n[4]||0!==n[5]||0!==n[6])?3:n[4]<0||n[4]>59?4:n[5]<0||n[5]>59?5:n[6]<0||n[6]>999?6:-1,f(t)._overflowDayOfYear&&(e<0||e>2)&&(e=2),f(t)._overflowWeeks&&-1===e&&(e=7),f(t)._overflowWeekday&&-1===e&&(e=8),f(t).overflow=e),t}var de=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,ue=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,he=/Z|[+-]\d\d(?::?\d\d)?/,me=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],pe=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],fe=/^\/?Date\((-?\d+)/i,ge=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,be={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function _e(t){var e,n,i,a,r,o,s=t._i,l=de.exec(s)||ue.exec(s);if(l){for(f(t).iso=!0,e=0,n=me.length;e<n;e++)if(me[e][1].exec(l[1])){a=me[e][0],i=!1!==me[e][2];break}if(null==a)return void(t._isValid=!1);if(l[3]){for(e=0,n=pe.length;e<n;e++)if(pe[e][1].exec(l[3])){r=(l[2]||" ")+pe[e][0];break}if(null==r)return void(t._isValid=!1)}if(!i&&null!=r)return void(t._isValid=!1);if(l[4]){if(!he.exec(l[4]))return void(t._isValid=!1);o="Z"}t._f=a+(r||"")+(o||""),we(t)}else t._isValid=!1}function ye(t){var e,n,i,a,r,o,s,l,c,d=ge.exec(t._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));if(d){if(n=d[3],i=d[2],a=d[5],r=d[6],o=d[7],s=[(l=d[4],c=parseInt(l,10),c<=49?2e3+c:c<=999?1900+c:c),Mt.indexOf(n),parseInt(i,10),parseInt(a,10),parseInt(r,10)],o&&s.push(parseInt(o,10)),!function(t,e,n){return!t||Vt.indexOf(t)===new Date(e[0],e[1],e[2]).getDay()||(f(n).weekdayMismatch=!0,n._isValid=!1,!1)}(d[1],e=s,t))return;t._a=e,t._tzm=function(t,e,n){if(t)return be[t];if(e)return 0;var i=parseInt(n,10),a=i%100;return(i-a)/100*60+a}(d[8],d[9],d[10]),t._d=Rt.apply(null,t._a),t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),f(t).rfc2822=!0}else t._isValid=!1}function ve(t,e,n){return null!=t?t:null!=e?e:n}function Ce(t){var e,n,i,r,o,s=[];if(!t._d){for(i=function(t){var e=new Date(a.now());return t._useUTC?[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()]:[e.getFullYear(),e.getMonth(),e.getDate()]}(t),t._w&&null==t._a[2]&&null==t._a[1]&&function(t){var e,n,i,a,r,o,s,l,c;null!=(e=t._w).GG||null!=e.W||null!=e.E?(r=1,o=4,n=ve(e.GG,t._a[0],Ht(Oe(),1,4).year),i=ve(e.W,1),((a=ve(e.E,1))<1||a>7)&&(l=!0)):(r=t._locale._week.dow,o=t._locale._week.doy,c=Ht(Oe(),r,o),n=ve(e.gg,t._a[0],c.year),i=ve(e.w,c.week),null!=e.d?((a=e.d)<0||a>6)&&(l=!0):null!=e.e?(a=e.e+r,(e.e<0||e.e>6)&&(l=!0)):a=r),i<1||i>jt(n,r,o)?f(t)._overflowWeeks=!0:null!=l?f(t)._overflowWeekday=!0:(s=Yt(n,i,a,r,o),t._a[0]=s.year,t._dayOfYear=s.dayOfYear)}(t),null!=t._dayOfYear&&(o=ve(t._a[0],i[0]),(t._dayOfYear>Et(o)||0===t._dayOfYear)&&(f(t)._overflowDayOfYear=!0),n=Rt(o,0,t._dayOfYear),t._a[1]=n.getUTCMonth(),t._a[2]=n.getUTCDate()),e=0;e<3&&null==t._a[e];++e)t._a[e]=s[e]=i[e];for(;e<7;e++)t._a[e]=s[e]=null==t._a[e]?2===e?1:0:t._a[e];24===t._a[3]&&0===t._a[4]&&0===t._a[5]&&0===t._a[6]&&(t._nextDay=!0,t._a[3]=0),t._d=(t._useUTC?Rt:It).apply(null,s),r=t._useUTC?t._d.getUTCDay():t._d.getDay(),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[3]=24),t._w&&void 0!==t._w.d&&t._w.d!==r&&(f(t).weekdayMismatch=!0)}}function we(t){if(t._f!==a.ISO_8601)if(t._f!==a.RFC_2822){t._a=[],f(t).empty=!0;var e,n,i,r,o,s,l=""+t._i,c=l.length,d=0;for(i=H(t._f,t._locale).match(E)||[],e=0;e<i.length;e++)(n=(l.match(ft(r=i[e],t))||[])[0])&&((o=l.substr(0,l.indexOf(n))).length>0&&f(t).unusedInput.push(o),l=l.slice(l.indexOf(n)+n.length),d+=n.length),R[r]?(n?f(t).empty=!1:f(t).unusedTokens.push(r),Ct(r,n,t)):t._strict&&!n&&f(t).unusedTokens.push(r);f(t).charsLeftOver=c-d,l.length>0&&f(t).unusedInput.push(l),t._a[3]<=12&&!0===f(t).bigHour&&t._a[3]>0&&(f(t).bigHour=void 0),f(t).parsedDateParts=t._a.slice(0),f(t).meridiem=t._meridiem,t._a[3]=function(t,e,n){var i;return null==n?e:null!=t.meridiemHour?t.meridiemHour(e,n):null!=t.isPM?((i=t.isPM(n))&&e<12&&(e+=12),i||12!==e||(e=0),e):e}(t._locale,t._a[3],t._meridiem),null!==(s=f(t).era)&&(t._a[0]=t._locale.erasConvertYear(s,t._a[0])),Ce(t),ce(t)}else ye(t);else _e(t)}function xe(t){var e=t._i,n=t._f;return t._locale=t._locale||le(t._l),null===e||void 0===n&&""===e?b({nullInput:!0}):("string"==typeof e&&(t._i=e=t._locale.preparse(e)),w(e)?new C(ce(e)):(u(e)?t._d=e:r(n)?function(t){var e,n,i,a,r,o,s=!1;if(0===t._f.length)return f(t).invalidFormat=!0,void(t._d=new Date(NaN));for(a=0;a<t._f.length;a++)r=0,o=!1,e=v({},t),null!=t._useUTC&&(e._useUTC=t._useUTC),e._f=t._f[a],we(e),g(e)&&(o=!0),r+=f(e).charsLeftOver,r+=10*f(e).unusedTokens.length,f(e).score=r,s?r<i&&(i=r,n=e):(null==i||r<i||o)&&(i=r,n=e,o&&(s=!0));m(t,n||e)}(t):n?we(t):function(t){var e=t._i;c(e)?t._d=new Date(a.now()):u(e)?t._d=new Date(e.valueOf()):"string"==typeof e?function(t){var e=fe.exec(t._i);null===e?(_e(t),!1===t._isValid&&(delete t._isValid,ye(t),!1===t._isValid&&(delete t._isValid,t._strict?t._isValid=!1:a.createFromInputFallback(t)))):t._d=new Date(+e[1])}(t):r(e)?(t._a=h(e.slice(0),function(t){return parseInt(t,10)}),Ce(t)):o(e)?function(t){if(!t._d){var e=V(t._i);t._a=h([e.year,e.month,void 0===e.day?e.date:e.day,e.hour,e.minute,e.second,e.millisecond],function(t){return t&&parseInt(t,10)}),Ce(t)}}(t):d(e)?t._d=new Date(e):a.createFromInputFallback(t)}(t),g(t)||(t._d=null),t))}function Me(t,e,n,i,a){var s,c={};return!0!==e&&!1!==e||(i=e,e=void 0),!0!==n&&!1!==n||(i=n,n=void 0),(o(t)&&l(t)||r(t)&&0===t.length)&&(t=void 0),c._isAMomentObject=!0,c._useUTC=c._isUTC=a,c._l=n,c._i=t,c._f=e,c._strict=i,(s=new C(ce(xe(c))))._nextDay&&(s.add(1,"d"),s._nextDay=void 0),s}function Oe(t,e,n,i){return Me(t,e,n,i,!1)}a.createFromInputFallback=M("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(t){t._d=new Date(t._i+(t._useUTC?" UTC":""))}),a.ISO_8601=function(){},a.RFC_2822=function(){};var ke=M("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=Oe.apply(null,arguments);return this.isValid()&&t.isValid()?t<this?this:t:b()}),Se=M("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=Oe.apply(null,arguments);return this.isValid()&&t.isValid()?t>this?this:t:b()});function Te(t,e){var n,i;if(1===e.length&&r(e[0])&&(e=e[0]),!e.length)return Oe();for(n=e[0],i=1;i<e.length;++i)e[i].isValid()&&!e[i][t](n)||(n=e[i]);return n}var Pe=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Le(t){var e=V(t),n=e.year||0,i=e.quarter||0,a=e.month||0,r=e.week||e.isoWeek||0,o=e.day||0,l=e.hour||0,c=e.minute||0,d=e.second||0,u=e.millisecond||0;this._isValid=function(t){var e,n,i=!1;for(e in t)if(s(t,e)&&(-1===bt.call(Pe,e)||null!=t[e]&&isNaN(t[e])))return!1;for(n=0;n<Pe.length;++n)if(t[Pe[n]]){if(i)return!1;parseFloat(t[Pe[n]])!==G(t[Pe[n]])&&(i=!0)}return!0}(e),this._milliseconds=+u+1e3*d+6e4*c+1e3*l*60*60,this._days=+o+7*r,this._months=+a+3*i+12*n,this._data={},this._locale=le(),this._bubble()}function De(t){return t instanceof Le}function Ee(t){return t<0?-1*Math.round(-1*t):Math.round(t)}function Ae(t,e){N(t,0,0,function(){var t=this.utcOffset(),n="+";return t<0&&(t=-t,n="-"),n+D(~~(t/60),2)+e+D(~~t%60,2)})}Ae("Z",":"),Ae("ZZ",""),pt("Z",ht),pt("ZZ",ht),yt(["Z","ZZ"],function(t,e,n){n._useUTC=!0,n._tzm=Re(ht,t)});var Ie=/([\+\-]|\d\d)/gi;function Re(t,e){var n,i,a=(e||"").match(t);return null===a?null:0===(i=60*(n=((a[a.length-1]||[])+"").match(Ie)||["-",0,0])[1]+G(n[2]))?0:"+"===n[0]?i:-i}function Ne(t,e){var n,i;return e._isUTC?(n=e.clone(),i=(w(t)||u(t)?t.valueOf():Oe(t).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+i),a.updateOffset(n,!1),n):Oe(t).local()}function Ye(t){return-Math.round(t._d.getTimezoneOffset())}function He(){return!!this.isValid()&&this._isUTC&&0===this._offset}a.updateOffset=function(){};var je=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Fe=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function ze(t,e){var n,i,a,r,o,l,c=t,u=null;return De(t)?c={ms:t._milliseconds,d:t._days,M:t._months}:d(t)||!isNaN(+t)?(c={},e?c[e]=+t:c.milliseconds=+t):(u=je.exec(t))?(n="-"===u[1]?-1:1,c={y:0,d:G(u[2])*n,h:G(u[3])*n,m:G(u[4])*n,s:G(u[5])*n,ms:G(Ee(1e3*u[6]))*n}):(u=Fe.exec(t))?c={y:Ve(u[2],n="-"===u[1]?-1:1),M:Ve(u[3],n),w:Ve(u[4],n),d:Ve(u[5],n),h:Ve(u[6],n),m:Ve(u[7],n),s:Ve(u[8],n)}:null==c?c={}:"object"==typeof c&&("from"in c||"to"in c)&&(r=Oe(c.from),o=Oe(c.to),a=r.isValid()&&o.isValid()?(o=Ne(o,r),r.isBefore(o)?l=Be(r,o):((l=Be(o,r)).milliseconds=-l.milliseconds,l.months=-l.months),l):{milliseconds:0,months:0},(c={}).ms=a.milliseconds,c.M=a.months),i=new Le(c),De(t)&&s(t,"_locale")&&(i._locale=t._locale),De(t)&&s(t,"_isValid")&&(i._isValid=t._isValid),i}function Ve(t,e){var n=t&&parseFloat(t.replace(",","."));return(isNaN(n)?0:n)*e}function Be(t,e){var n={};return n.months=e.month()-t.month()+12*(e.year()-t.year()),t.clone().add(n.months,"M").isAfter(e)&&--n.months,n.milliseconds=+e-+t.clone().add(n.months,"M"),n}function We(t,e){return function(n,i){var a;return null===i||isNaN(+i)||(S(e,"moment()."+e+"(period, number) is deprecated. Please use moment()."+e+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),a=n,n=i,i=a),Ue(this,ze(n,i),t),this}}function Ue(t,e,n,i){var r=e._milliseconds,o=Ee(e._days),s=Ee(e._months);t.isValid()&&(i=null==i||i,s&&Pt(t,Z(t,"Month")+s*n),o&&$(t,"Date",Z(t,"Date")+o*n),r&&t._d.setTime(t._d.valueOf()+r*n),i&&a.updateOffset(t,o||s))}ze.fn=Le.prototype,ze.invalid=function(){return ze(NaN)};var qe=We(1,"add"),Ge=We(-1,"subtract");function Je(t){return"string"==typeof t||t instanceof String}function Ze(t){return w(t)||u(t)||Je(t)||d(t)||function(t){var e=r(t),n=!1;return e&&(n=0===t.filter(function(e){return!d(e)&&Je(t)}).length),e&&n}(t)||function(t){var e,n=o(t)&&!l(t),i=!1,a=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"];for(e=0;e<a.length;e+=1)i=i||s(t,a[e]);return n&&i}(t)||null==t}function $e(t){var e,n=o(t)&&!l(t),i=!1,a=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(e=0;e<a.length;e+=1)i=i||s(t,a[e]);return n&&i}function Xe(t,e){if(t.date()<e.date())return-Xe(e,t);var n=12*(e.year()-t.year())+(e.month()-t.month()),i=t.clone().add(n,"months");return-(n+(e-i<0?(e-i)/(i-t.clone().add(n-1,"months")):(e-i)/(t.clone().add(n+1,"months")-i)))||0}function Ke(t){var e;return void 0===t?this._locale._abbr:(null!=(e=le(t))&&(this._locale=e),this)}a.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",a.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var Qe=M("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(t){return void 0===t?this.localeData():this.locale(t)});function tn(){return this._locale}function en(t,e){return(t%e+e)%e}function nn(t,e,n){return t<100&&t>=0?new Date(t+400,e,n)-126227808e5:new Date(t,e,n).valueOf()}function an(t,e,n){return t<100&&t>=0?Date.UTC(t+400,e,n)-126227808e5:Date.UTC(t,e,n)}function rn(t,e){return e.erasAbbrRegex(t)}function on(){var t,e,n=[],i=[],a=[],r=[],o=this.eras();for(t=0,e=o.length;t<e;++t)i.push(gt(o[t].name)),n.push(gt(o[t].abbr)),a.push(gt(o[t].narrow)),r.push(gt(o[t].name)),r.push(gt(o[t].abbr)),r.push(gt(o[t].narrow));this._erasRegex=new RegExp("^("+r.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+i.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+n.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+a.join("|")+")","i")}function sn(t,e){N(0,[t,t.length],0,e)}function ln(t,e,n,i,a){var r;return null==t?Ht(this,i,a).year:(e>(r=jt(t,i,a))&&(e=r),cn.call(this,t,e,n,i,a))}function cn(t,e,n,i,a){var r=Yt(t,e,n,i,a),o=Rt(r.year,0,r.dayOfYear);return this.year(o.getUTCFullYear()),this.month(o.getUTCMonth()),this.date(o.getUTCDate()),this}N("N",0,0,"eraAbbr"),N("NN",0,0,"eraAbbr"),N("NNN",0,0,"eraAbbr"),N("NNNN",0,0,"eraName"),N("NNNNN",0,0,"eraNarrow"),N("y",["y",1],"yo","eraYear"),N("y",["yy",2],0,"eraYear"),N("y",["yyy",3],0,"eraYear"),N("y",["yyyy",4],0,"eraYear"),pt("N",rn),pt("NN",rn),pt("NNN",rn),pt("NNNN",function(t,e){return e.erasNameRegex(t)}),pt("NNNNN",function(t,e){return e.erasNarrowRegex(t)}),yt(["N","NN","NNN","NNNN","NNNNN"],function(t,e,n,i){var a=n._locale.erasParse(t,i,n._strict);a?f(n).era=a:f(n).invalidEra=t}),pt("y",ct),pt("yy",ct),pt("yyy",ct),pt("yyyy",ct),pt("yo",function(t,e){return e._eraYearOrdinalRegex||ct}),yt(["y","yy","yyy","yyyy"],0),yt(["yo"],function(t,e,n,i){var a;n._locale._eraYearOrdinalRegex&&(a=t.match(n._locale._eraYearOrdinalRegex)),e[0]=n._locale.eraYearOrdinalParse?n._locale.eraYearOrdinalParse(t,a):parseInt(t,10)}),N(0,["gg",2],0,function(){return this.weekYear()%100}),N(0,["GG",2],0,function(){return this.isoWeekYear()%100}),sn("gggg","weekYear"),sn("ggggg","weekYear"),sn("GGGG","isoWeekYear"),sn("GGGGG","isoWeekYear"),F("weekYear","gg"),F("isoWeekYear","GG"),W("weekYear",1),W("isoWeekYear",1),pt("G",dt),pt("g",dt),pt("GG",it,Q),pt("gg",it,Q),pt("GGGG",st,et),pt("gggg",st,et),pt("GGGGG",lt,nt),pt("ggggg",lt,nt),vt(["gggg","ggggg","GGGG","GGGGG"],function(t,e,n,i){e[i.substr(0,2)]=G(t)}),vt(["gg","GG"],function(t,e,n,i){e[i]=a.parseTwoDigitYear(t)}),N("Q",0,"Qo","quarter"),F("quarter","Q"),W("quarter",7),pt("Q",K),yt("Q",function(t,e){e[1]=3*(G(t)-1)}),N("D",["DD",2],"Do","date"),F("date","D"),W("date",9),pt("D",it),pt("DD",it,Q),pt("Do",function(t,e){return t?e._dayOfMonthOrdinalParse||e._ordinalParse:e._dayOfMonthOrdinalParseLenient}),yt(["D","DD"],2),yt("Do",function(t,e){e[2]=G(t.match(it)[0])});var dn=J("Date",!0);N("DDD",["DDDD",3],"DDDo","dayOfYear"),F("dayOfYear","DDD"),W("dayOfYear",4),pt("DDD",ot),pt("DDDD",tt),yt(["DDD","DDDD"],function(t,e,n){n._dayOfYear=G(t)}),N("m",["mm",2],0,"minute"),F("minute","m"),W("minute",14),pt("m",it),pt("mm",it,Q),yt(["m","mm"],4);var un=J("Minutes",!1);N("s",["ss",2],0,"second"),F("second","s"),W("second",15),pt("s",it),pt("ss",it,Q),yt(["s","ss"],5);var hn,mn,pn=J("Seconds",!1);for(N("S",0,0,function(){return~~(this.millisecond()/100)}),N(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),N(0,["SSS",3],0,"millisecond"),N(0,["SSSS",4],0,function(){return 10*this.millisecond()}),N(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),N(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),N(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),N(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),N(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),F("millisecond","ms"),W("millisecond",16),pt("S",ot,K),pt("SS",ot,Q),pt("SSS",ot,tt),hn="SSSS";hn.length<=9;hn+="S")pt(hn,ct);function fn(t,e){e[6]=G(1e3*("0."+t))}for(hn="S";hn.length<=9;hn+="S")yt(hn,fn);mn=J("Milliseconds",!1),N("z",0,0,"zoneAbbr"),N("zz",0,0,"zoneName");var gn=C.prototype;function bn(t){return t}gn.add=qe,gn.calendar=function(t,e){1===arguments.length&&(arguments[0]?Ze(arguments[0])?(t=arguments[0],e=void 0):$e(arguments[0])&&(e=arguments[0],t=void 0):(t=void 0,e=void 0));var n=t||Oe(),i=Ne(n,this).startOf("day"),r=a.calendarFormat(this,i)||"sameElse",o=e&&(T(e[r])?e[r].call(this,n):e[r]);return this.format(o||this.localeData().calendar(r,this,Oe(n)))},gn.clone=function(){return new C(this)},gn.diff=function(t,e,n){var i,a,r;if(!this.isValid())return NaN;if(!(i=Ne(t,this)).isValid())return NaN;switch(a=6e4*(i.utcOffset()-this.utcOffset()),e=z(e)){case"year":r=Xe(this,i)/12;break;case"month":r=Xe(this,i);break;case"quarter":r=Xe(this,i)/3;break;case"second":r=(this-i)/1e3;break;case"minute":r=(this-i)/6e4;break;case"hour":r=(this-i)/36e5;break;case"day":r=(this-i-a)/864e5;break;case"week":r=(this-i-a)/6048e5;break;default:r=this-i}return n?r:q(r)},gn.endOf=function(t){var e,n;if(void 0===(t=z(t))||"millisecond"===t||!this.isValid())return this;switch(n=this._isUTC?an:nn,t){case"year":e=n(this.year()+1,0,1)-1;break;case"quarter":e=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":e=n(this.year(),this.month()+1,1)-1;break;case"week":e=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":e=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":e=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":e=this._d.valueOf(),e+=36e5-en(e+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":e=this._d.valueOf(),e+=6e4-en(e,6e4)-1;break;case"second":e=this._d.valueOf(),e+=1e3-en(e,1e3)-1}return this._d.setTime(e),a.updateOffset(this,!0),this},gn.format=function(t){t||(t=this.isUtc()?a.defaultFormatUtc:a.defaultFormat);var e=Y(this,t);return this.localeData().postformat(e)},gn.from=function(t,e){return this.isValid()&&(w(t)&&t.isValid()||Oe(t).isValid())?ze({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},gn.fromNow=function(t){return this.from(Oe(),t)},gn.to=function(t,e){return this.isValid()&&(w(t)&&t.isValid()||Oe(t).isValid())?ze({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},gn.toNow=function(t){return this.to(Oe(),t)},gn.get=function(t){return T(this[t=z(t)])?this[t]():this},gn.invalidAt=function(){return f(this).overflow},gn.isAfter=function(t,e){var n=w(t)?t:Oe(t);return!(!this.isValid()||!n.isValid())&&("millisecond"===(e=z(e)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(e).valueOf())},gn.isBefore=function(t,e){var n=w(t)?t:Oe(t);return!(!this.isValid()||!n.isValid())&&("millisecond"===(e=z(e)||"millisecond")?this.valueOf()<n.valueOf():this.clone().endOf(e).valueOf()<n.valueOf())},gn.isBetween=function(t,e,n,i){var a=w(t)?t:Oe(t),r=w(e)?e:Oe(e);return!!(this.isValid()&&a.isValid()&&r.isValid())&&("("===(i=i||"()")[0]?this.isAfter(a,n):!this.isBefore(a,n))&&(")"===i[1]?this.isBefore(r,n):!this.isAfter(r,n))},gn.isSame=function(t,e){var n,i=w(t)?t:Oe(t);return!(!this.isValid()||!i.isValid())&&("millisecond"===(e=z(e)||"millisecond")?this.valueOf()===i.valueOf():(n=i.valueOf(),this.clone().startOf(e).valueOf()<=n&&n<=this.clone().endOf(e).valueOf()))},gn.isSameOrAfter=function(t,e){return this.isSame(t,e)||this.isAfter(t,e)},gn.isSameOrBefore=function(t,e){return this.isSame(t,e)||this.isBefore(t,e)},gn.isValid=function(){return g(this)},gn.lang=Qe,gn.locale=Ke,gn.localeData=tn,gn.max=Se,gn.min=ke,gn.parsingFlags=function(){return m({},f(this))},gn.set=function(t,e){if("object"==typeof t){var n,i=function(t){var e,n=[];for(e in t)s(t,e)&&n.push({unit:e,priority:B[e]});return n.sort(function(t,e){return t.priority-e.priority}),n}(t=V(t));for(n=0;n<i.length;n++)this[i[n].unit](t[i[n].unit])}else if(T(this[t=z(t)]))return this[t](e);return this},gn.startOf=function(t){var e,n;if(void 0===(t=z(t))||"millisecond"===t||!this.isValid())return this;switch(n=this._isUTC?an:nn,t){case"year":e=n(this.year(),0,1);break;case"quarter":e=n(this.year(),this.month()-this.month()%3,1);break;case"month":e=n(this.year(),this.month(),1);break;case"week":e=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":e=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":e=n(this.year(),this.month(),this.date());break;case"hour":e=this._d.valueOf(),e-=en(e+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":e=this._d.valueOf(),e-=en(e,6e4);break;case"second":e=this._d.valueOf(),e-=en(e,1e3)}return this._d.setTime(e),a.updateOffset(this,!0),this},gn.subtract=Ge,gn.toArray=function(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]},gn.toObject=function(){var t=this;return{years:t.year(),months:t.month(),date:t.date(),hours:t.hours(),minutes:t.minutes(),seconds:t.seconds(),milliseconds:t.milliseconds()}},gn.toDate=function(){return new Date(this.valueOf())},gn.toISOString=function(t){if(!this.isValid())return null;var e=!0!==t,n=e?this.clone().utc():this;return n.year()<0||n.year()>9999?Y(n,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):T(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",Y(n,"Z")):Y(n,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},gn.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var t,e,n="moment",i="";return this.isLocal()||(n=0===this.utcOffset()?"moment.utc":"moment.parseZone",i="Z"),t="["+n+'("]',e=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(t+e+"-MM-DD[T]HH:mm:ss.SSS"+i+'[")]')},"undefined"!=typeof Symbol&&null!=Symbol.for&&(gn[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),gn.toJSON=function(){return this.isValid()?this.toISOString():null},gn.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},gn.unix=function(){return Math.floor(this.valueOf()/1e3)},gn.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},gn.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},gn.eraName=function(){var t,e,n,i=this.localeData().eras();for(t=0,e=i.length;t<e;++t){if(n=this.clone().startOf("day").valueOf(),i[t].since<=n&&n<=i[t].until)return i[t].name;if(i[t].until<=n&&n<=i[t].since)return i[t].name}return""},gn.eraNarrow=function(){var t,e,n,i=this.localeData().eras();for(t=0,e=i.length;t<e;++t){if(n=this.clone().startOf("day").valueOf(),i[t].since<=n&&n<=i[t].until)return i[t].narrow;if(i[t].until<=n&&n<=i[t].since)return i[t].narrow}return""},gn.eraAbbr=function(){var t,e,n,i=this.localeData().eras();for(t=0,e=i.length;t<e;++t){if(n=this.clone().startOf("day").valueOf(),i[t].since<=n&&n<=i[t].until)return i[t].abbr;if(i[t].until<=n&&n<=i[t].since)return i[t].abbr}return""},gn.eraYear=function(){var t,e,n,i,r=this.localeData().eras();for(t=0,e=r.length;t<e;++t)if(n=r[t].since<=r[t].until?1:-1,i=this.clone().startOf("day").valueOf(),r[t].since<=i&&i<=r[t].until||r[t].until<=i&&i<=r[t].since)return(this.year()-a(r[t].since).year())*n+r[t].offset;return this.year()},gn.year=At,gn.isLeapYear=function(){return U(this.year())},gn.weekYear=function(t){return ln.call(this,t,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},gn.isoWeekYear=function(t){return ln.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)},gn.quarter=gn.quarters=function(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)},gn.month=Lt,gn.daysInMonth=function(){return wt(this.year(),this.month())},gn.week=gn.weeks=function(t){var e=this.localeData().week(this);return null==t?e:this.add(7*(t-e),"d")},gn.isoWeek=gn.isoWeeks=function(t){var e=Ht(this,1,4).week;return null==t?e:this.add(7*(t-e),"d")},gn.weeksInYear=function(){var t=this.localeData()._week;return jt(this.year(),t.dow,t.doy)},gn.weeksInWeekYear=function(){var t=this.localeData()._week;return jt(this.weekYear(),t.dow,t.doy)},gn.isoWeeksInYear=function(){return jt(this.year(),1,4)},gn.isoWeeksInISOWeekYear=function(){return jt(this.isoWeekYear(),1,4)},gn.date=dn,gn.day=gn.days=function(t){if(!this.isValid())return null!=t?this:NaN;var e=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=t?(t=function(t,e){return"string"!=typeof t?t:isNaN(t)?"number"==typeof(t=e.weekdaysParse(t))?t:null:parseInt(t,10)}(t,this.localeData()),this.add(t-e,"d")):e},gn.weekday=function(t){if(!this.isValid())return null!=t?this:NaN;var e=(this.day()+7-this.localeData()._week.dow)%7;return null==t?e:this.add(t-e,"d")},gn.isoWeekday=function(t){if(!this.isValid())return null!=t?this:NaN;if(null!=t){var e=function(t,e){return"string"==typeof t?e.weekdaysParse(t)%7||7:isNaN(t)?null:t}(t,this.localeData());return this.day(this.day()%7?e:e-7)}return this.day()||7},gn.dayOfYear=function(t){var e=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==t?e:this.add(t-e,"d")},gn.hour=gn.hours=Qt,gn.minute=gn.minutes=un,gn.second=gn.seconds=pn,gn.millisecond=gn.milliseconds=mn,gn.utcOffset=function(t,e,n){var i,r=this._offset||0;if(!this.isValid())return null!=t?this:NaN;if(null!=t){if("string"==typeof t){if(null===(t=Re(ht,t)))return this}else Math.abs(t)<16&&!n&&(t*=60);return!this._isUTC&&e&&(i=Ye(this)),this._offset=t,this._isUTC=!0,null!=i&&this.add(i,"m"),r!==t&&(!e||this._changeInProgress?Ue(this,ze(t-r,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,a.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?r:Ye(this)},gn.utc=function(t){return this.utcOffset(0,t)},gn.local=function(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(Ye(this),"m")),this},gn.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var t=Re(ut,this._i);null!=t?this.utcOffset(t):this.utcOffset(0,!0)}return this},gn.hasAlignedHourOffset=function(t){return!!this.isValid()&&(t=t?Oe(t).utcOffset():0,(this.utcOffset()-t)%60==0)},gn.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},gn.isLocal=function(){return!!this.isValid()&&!this._isUTC},gn.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},gn.isUtc=He,gn.isUTC=He,gn.zoneAbbr=function(){return this._isUTC?"UTC":""},gn.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},gn.dates=M("dates accessor is deprecated. Use date instead.",dn),gn.months=M("months accessor is deprecated. Use month instead",Lt),gn.years=M("years accessor is deprecated. Use year instead",At),gn.zone=M("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(t,e){return null!=t?("string"!=typeof t&&(t=-t),this.utcOffset(t,e),this):-this.utcOffset()}),gn.isDSTShifted=M("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!c(this._isDSTShifted))return this._isDSTShifted;var t,e={};return v(e,this),(e=xe(e))._a?(t=e._isUTC?p(e._a):Oe(e._a),this._isDSTShifted=this.isValid()&&function(t,e,n){var i,a=Math.min(t.length,e.length),r=Math.abs(t.length-e.length),o=0;for(i=0;i<a;i++)G(t[i])!==G(e[i])&&o++;return o+r}(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted});var _n=L.prototype;function yn(t,e,n,i){var a=le(),r=p().set(i,e);return a[n](r,t)}function vn(t,e,n){if(d(t)&&(e=t,t=void 0),t=t||"",null!=e)return yn(t,e,n,"month");var i,a=[];for(i=0;i<12;i++)a[i]=yn(t,i,n,"month");return a}function Cn(t,e,n,i){"boolean"==typeof t?(d(e)&&(n=e,e=void 0),e=e||""):(n=e=t,t=!1,d(e)&&(n=e,e=void 0),e=e||"");var a,r=le(),o=t?r._week.dow:0,s=[];if(null!=n)return yn(e,(n+o)%7,i,"day");for(a=0;a<7;a++)s[a]=yn(e,(a+o)%7,i,"day");return s}_n.calendar=function(t,e,n){var i=this._calendar[t]||this._calendar.sameElse;return T(i)?i.call(e,n):i},_n.longDateFormat=function(t){var e=this._longDateFormat[t],n=this._longDateFormat[t.toUpperCase()];return e||!n?e:(this._longDateFormat[t]=n.match(E).map(function(t){return"MMMM"===t||"MM"===t||"DD"===t||"dddd"===t?t.slice(1):t}).join(""),this._longDateFormat[t])},_n.invalidDate=function(){return this._invalidDate},_n.ordinal=function(t){return this._ordinal.replace("%d",t)},_n.preparse=bn,_n.postformat=bn,_n.relativeTime=function(t,e,n,i){var a=this._relativeTime[n];return T(a)?a(t,e,n,i):a.replace(/%d/i,t)},_n.pastFuture=function(t,e){var n=this._relativeTime[t>0?"future":"past"];return T(n)?n(e):n.replace(/%s/i,e)},_n.set=function(t){var e,n;for(n in t)s(t,n)&&(T(e=t[n])?this[n]=e:this["_"+n]=e);this._config=t,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},_n.eras=function(t,e){var n,i,r,o=this._eras||le("en")._eras;for(n=0,i=o.length;n<i;++n){switch(typeof o[n].since){case"string":r=a(o[n].since).startOf("day"),o[n].since=r.valueOf()}switch(typeof o[n].until){case"undefined":o[n].until=1/0;break;case"string":r=a(o[n].until).startOf("day").valueOf(),o[n].until=r.valueOf()}}return o},_n.erasParse=function(t,e,n){var i,a,r,o,s,l=this.eras();for(t=t.toUpperCase(),i=0,a=l.length;i<a;++i)if(r=l[i].name.toUpperCase(),o=l[i].abbr.toUpperCase(),s=l[i].narrow.toUpperCase(),n)switch(e){case"N":case"NN":case"NNN":if(o===t)return l[i];break;case"NNNN":if(r===t)return l[i];break;case"NNNNN":if(s===t)return l[i]}else if([r,o,s].indexOf(t)>=0)return l[i]},_n.erasConvertYear=function(t,e){var n=t.since<=t.until?1:-1;return void 0===e?a(t.since).year():a(t.since).year()+(e-t.offset)*n},_n.erasAbbrRegex=function(t){return s(this,"_erasAbbrRegex")||on.call(this),t?this._erasAbbrRegex:this._erasRegex},_n.erasNameRegex=function(t){return s(this,"_erasNameRegex")||on.call(this),t?this._erasNameRegex:this._erasRegex},_n.erasNarrowRegex=function(t){return s(this,"_erasNarrowRegex")||on.call(this),t?this._erasNarrowRegex:this._erasRegex},_n.months=function(t,e){return t?r(this._months)?this._months[t.month()]:this._months[(this._months.isFormat||Ot).test(e)?"format":"standalone"][t.month()]:r(this._months)?this._months:this._months.standalone},_n.monthsShort=function(t,e){return t?r(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[Ot.test(e)?"format":"standalone"][t.month()]:r(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},_n.monthsParse=function(t,e,n){var i,a,r;if(this._monthsParseExact)return Tt.call(this,t,e,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),i=0;i<12;i++){if(a=p([2e3,i]),n&&!this._longMonthsParse[i]&&(this._longMonthsParse[i]=new RegExp("^"+this.months(a,"").replace(".","")+"$","i"),this._shortMonthsParse[i]=new RegExp("^"+this.monthsShort(a,"").replace(".","")+"$","i")),n||this._monthsParse[i]||(r="^"+this.months(a,"")+"|^"+this.monthsShort(a,""),this._monthsParse[i]=new RegExp(r.replace(".",""),"i")),n&&"MMMM"===e&&this._longMonthsParse[i].test(t))return i;if(n&&"MMM"===e&&this._shortMonthsParse[i].test(t))return i;if(!n&&this._monthsParse[i].test(t))return i}},_n.monthsRegex=function(t){return this._monthsParseExact?(s(this,"_monthsRegex")||Dt.call(this),t?this._monthsStrictRegex:this._monthsRegex):(s(this,"_monthsRegex")||(this._monthsRegex=St),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)},_n.monthsShortRegex=function(t){return this._monthsParseExact?(s(this,"_monthsRegex")||Dt.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(s(this,"_monthsShortRegex")||(this._monthsShortRegex=kt),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)},_n.week=function(t){return Ht(t,this._week.dow,this._week.doy).week},_n.firstDayOfYear=function(){return this._week.doy},_n.firstDayOfWeek=function(){return this._week.dow},_n.weekdays=function(t,e){var n=r(this._weekdays)?this._weekdays:this._weekdays[t&&!0!==t&&this._weekdays.isFormat.test(e)?"format":"standalone"];return!0===t?Ft(n,this._week.dow):t?n[t.day()]:n},_n.weekdaysMin=function(t){return!0===t?Ft(this._weekdaysMin,this._week.dow):t?this._weekdaysMin[t.day()]:this._weekdaysMin},_n.weekdaysShort=function(t){return!0===t?Ft(this._weekdaysShort,this._week.dow):t?this._weekdaysShort[t.day()]:this._weekdaysShort},_n.weekdaysParse=function(t,e,n){var i,a,r;if(this._weekdaysParseExact)return Gt.call(this,t,e,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),i=0;i<7;i++){if(a=p([2e3,1]).day(i),n&&!this._fullWeekdaysParse[i]&&(this._fullWeekdaysParse[i]=new RegExp("^"+this.weekdays(a,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[i]=new RegExp("^"+this.weekdaysShort(a,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[i]=new RegExp("^"+this.weekdaysMin(a,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[i]||(r="^"+this.weekdays(a,"")+"|^"+this.weekdaysShort(a,"")+"|^"+this.weekdaysMin(a,""),this._weekdaysParse[i]=new RegExp(r.replace(".",""),"i")),n&&"dddd"===e&&this._fullWeekdaysParse[i].test(t))return i;if(n&&"ddd"===e&&this._shortWeekdaysParse[i].test(t))return i;if(n&&"dd"===e&&this._minWeekdaysParse[i].test(t))return i;if(!n&&this._weekdaysParse[i].test(t))return i}},_n.weekdaysRegex=function(t){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||Jt.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(s(this,"_weekdaysRegex")||(this._weekdaysRegex=Wt),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)},_n.weekdaysShortRegex=function(t){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||Jt.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(s(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Ut),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},_n.weekdaysMinRegex=function(t){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||Jt.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(s(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=qt),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},_n.isPM=function(t){return"p"===(t+"").toLowerCase().charAt(0)},_n.meridiem=function(t,e,n){return t>11?n?"pm":"PM":n?"am":"AM"},oe("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10;return t+(1===G(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")}}),a.lang=M("moment.lang is deprecated. Use moment.locale instead.",oe),a.langData=M("moment.langData is deprecated. Use moment.localeData instead.",le);var wn=Math.abs;function xn(t,e,n,i){var a=ze(e,n);return t._milliseconds+=i*a._milliseconds,t._days+=i*a._days,t._months+=i*a._months,t._bubble()}function Mn(t){return t<0?Math.floor(t):Math.ceil(t)}function On(t){return 4800*t/146097}function kn(t){return 146097*t/4800}function Sn(t){return function(){return this.as(t)}}var Tn=Sn("ms"),Pn=Sn("s"),Ln=Sn("m"),Dn=Sn("h"),En=Sn("d"),An=Sn("w"),In=Sn("M"),Rn=Sn("Q"),Nn=Sn("y");function Yn(t){return function(){return this.isValid()?this._data[t]:NaN}}var Hn=Yn("milliseconds"),jn=Yn("seconds"),Fn=Yn("minutes"),zn=Yn("hours"),Vn=Yn("days"),Bn=Yn("months"),Wn=Yn("years"),Un=Math.round,qn={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Gn(t,e,n,i,a){return a.relativeTime(e||1,!!n,t,i)}var Jn=Math.abs;function Zn(t){return(t>0)-(t<0)||+t}function $n(){if(!this.isValid())return this.localeData().invalidDate();var t,e,n,i,a,r,o,s,l=Jn(this._milliseconds)/1e3,c=Jn(this._days),d=Jn(this._months),u=this.asSeconds();return u?(t=q(l/60),e=q(t/60),l%=60,t%=60,n=q(d/12),d%=12,i=l?l.toFixed(3).replace(/\.?0+$/,""):"",a=u<0?"-":"",r=Zn(this._months)!==Zn(u)?"-":"",o=Zn(this._days)!==Zn(u)?"-":"",s=Zn(this._milliseconds)!==Zn(u)?"-":"",a+"P"+(n?r+n+"Y":"")+(d?r+d+"M":"")+(c?o+c+"D":"")+(e||t||l?"T":"")+(e?s+e+"H":"")+(t?s+t+"M":"")+(l?s+i+"S":"")):"P0D"}var Xn=Le.prototype;return Xn.isValid=function(){return this._isValid},Xn.abs=function(){var t=this._data;return this._milliseconds=wn(this._milliseconds),this._days=wn(this._days),this._months=wn(this._months),t.milliseconds=wn(t.milliseconds),t.seconds=wn(t.seconds),t.minutes=wn(t.minutes),t.hours=wn(t.hours),t.months=wn(t.months),t.years=wn(t.years),this},Xn.add=function(t,e){return xn(this,t,e,1)},Xn.subtract=function(t,e){return xn(this,t,e,-1)},Xn.as=function(t){if(!this.isValid())return NaN;var e,n,i=this._milliseconds;if("month"===(t=z(t))||"quarter"===t||"year"===t)switch(n=this._months+On(e=this._days+i/864e5),t){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(e=this._days+Math.round(kn(this._months)),t){case"week":return e/7+i/6048e5;case"day":return e+i/864e5;case"hour":return 24*e+i/36e5;case"minute":return 1440*e+i/6e4;case"second":return 86400*e+i/1e3;case"millisecond":return Math.floor(864e5*e)+i;default:throw new Error("Unknown unit "+t)}},Xn.asMilliseconds=Tn,Xn.asSeconds=Pn,Xn.asMinutes=Ln,Xn.asHours=Dn,Xn.asDays=En,Xn.asWeeks=An,Xn.asMonths=In,Xn.asQuarters=Rn,Xn.asYears=Nn,Xn.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*G(this._months/12):NaN},Xn._bubble=function(){var t,e,n,i,a,r=this._milliseconds,o=this._days,s=this._months,l=this._data;return r>=0&&o>=0&&s>=0||r<=0&&o<=0&&s<=0||(r+=864e5*Mn(kn(s)+o),o=0,s=0),l.milliseconds=r%1e3,t=q(r/1e3),l.seconds=t%60,e=q(t/60),l.minutes=e%60,n=q(e/60),l.hours=n%24,o+=q(n/24),s+=a=q(On(o)),o-=Mn(kn(a)),i=q(s/12),s%=12,l.days=o,l.months=s,l.years=i,this},Xn.clone=function(){return ze(this)},Xn.get=function(t){return t=z(t),this.isValid()?this[t+"s"]():NaN},Xn.milliseconds=Hn,Xn.seconds=jn,Xn.minutes=Fn,Xn.hours=zn,Xn.days=Vn,Xn.weeks=function(){return q(this.days()/7)},Xn.months=Bn,Xn.years=Wn,Xn.humanize=function(t,e){if(!this.isValid())return this.localeData().invalidDate();var n,i,a=!1,r=qn;return"object"==typeof t&&(e=t,t=!1),"boolean"==typeof t&&(a=t),"object"==typeof e&&(r=Object.assign({},qn,e),null!=e.s&&null==e.ss&&(r.ss=e.s-1)),i=function(t,e,n,i){var a=ze(t).abs(),r=Un(a.as("s")),o=Un(a.as("m")),s=Un(a.as("h")),l=Un(a.as("d")),c=Un(a.as("M")),d=Un(a.as("w")),u=Un(a.as("y")),h=r<=n.ss&&["s",r]||r<n.s&&["ss",r]||o<=1&&["m"]||o<n.m&&["mm",o]||s<=1&&["h"]||s<n.h&&["hh",s]||l<=1&&["d"]||l<n.d&&["dd",l];return null!=n.w&&(h=h||d<=1&&["w"]||d<n.w&&["ww",d]),(h=h||c<=1&&["M"]||c<n.M&&["MM",c]||u<=1&&["y"]||["yy",u])[2]=e,h[3]=+t>0,h[4]=i,Gn.apply(null,h)}(this,!a,r,n=this.localeData()),a&&(i=n.pastFuture(+this,i)),n.postformat(i)},Xn.toISOString=$n,Xn.toString=$n,Xn.toJSON=$n,Xn.locale=Ke,Xn.localeData=tn,Xn.toIsoString=M("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",$n),Xn.lang=Qe,N("X",0,0,"unix"),N("x",0,0,"valueOf"),pt("x",dt),pt("X",/[+-]?\d+(\.\d{1,3})?/),yt("X",function(t,e,n){n._d=new Date(1e3*parseFloat(t))}),yt("x",function(t,e,n){n._d=new Date(G(t))}),a.version="2.29.1",e=Oe,a.fn=gn,a.min=function(){return Te("isBefore",[].slice.call(arguments,0))},a.max=function(){return Te("isAfter",[].slice.call(arguments,0))},a.now=function(){return Date.now?Date.now():+new Date},a.utc=p,a.unix=function(t){return Oe(1e3*t)},a.months=function(t,e){return vn(t,e,"months")},a.isDate=u,a.locale=oe,a.invalid=b,a.duration=ze,a.isMoment=w,a.weekdays=function(t,e,n){return Cn(t,e,n,"weekdays")},a.parseZone=function(){return Oe.apply(null,arguments).parseZone()},a.localeData=le,a.isDuration=De,a.monthsShort=function(t,e){return vn(t,e,"monthsShort")},a.weekdaysMin=function(t,e,n){return Cn(t,e,n,"weekdaysMin")},a.defineLocale=se,a.updateLocale=function(t,e){if(null!=e){var n,i,a=te;null!=ee[t]&&null!=ee[t].parentLocale?ee[t].set(P(ee[t]._config,e)):(null!=(i=re(t))&&(a=i._config),e=P(a,e),null==i&&(e.abbr=t),(n=new L(e)).parentLocale=ee[t],ee[t]=n),oe(t)}else null!=ee[t]&&(null!=ee[t].parentLocale?(ee[t]=ee[t].parentLocale,t===oe()&&oe(t)):null!=ee[t]&&delete ee[t]);return ee[t]},a.locales=function(){return O(ee)},a.weekdaysShort=function(t,e,n){return Cn(t,e,n,"weekdaysShort")},a.normalizeUnits=z,a.relativeTimeRounding=function(t){return void 0===t?Un:"function"==typeof t&&(Un=t,!0)},a.relativeTimeThreshold=function(t,e){return void 0!==qn[t]&&(void 0===e?qn[t]:(qn[t]=e,"s"===t&&(qn.ss=e-1),!0))},a.calendarFormat=function(t,e){var n=t.diff(e,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"},a.prototype=gn,a.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},a}()}).call(this,n("YuTi")(t))},"x+ZX":function(t,e,n){"use strict";n.d(e,"a",function(){return a});var i=n("7o/Q");function a(){return function(t){return t.lift(new r(t))}}class r{constructor(t){this.connectable=t}call(t,e){const{connectable:n}=this;n._refCount++;const i=new o(t,n),a=e.subscribe(i);return i.closed||(i.connection=n.connect()),a}}class o extends i.a{constructor(t,e){super(t),this.connectable=e}_unsubscribe(){const{connectable:t}=this;if(!t)return void(this.connection=null);this.connectable=null;const e=t._refCount;if(e<=0)return void(this.connection=null);if(t._refCount=e-1,e>1)return void(this.connection=null);const{connection:n}=this,i=t._connection;this.connection=null,!i||n&&i!==n||i.unsubscribe()}}},x6pH:function(t,e,n){!function(t){"use strict";t.defineLocale("he",{months:"\u05d9\u05e0\u05d5\u05d0\u05e8_\u05e4\u05d1\u05e8\u05d5\u05d0\u05e8_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u05d9\u05dc_\u05de\u05d0\u05d9_\u05d9\u05d5\u05e0\u05d9_\u05d9\u05d5\u05dc\u05d9_\u05d0\u05d5\u05d2\u05d5\u05e1\u05d8_\u05e1\u05e4\u05d8\u05de\u05d1\u05e8_\u05d0\u05d5\u05e7\u05d8\u05d5\u05d1\u05e8_\u05e0\u05d5\u05d1\u05de\u05d1\u05e8_\u05d3\u05e6\u05de\u05d1\u05e8".split("_"),monthsShort:"\u05d9\u05e0\u05d5\u05f3_\u05e4\u05d1\u05e8\u05f3_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u05f3_\u05de\u05d0\u05d9_\u05d9\u05d5\u05e0\u05d9_\u05d9\u05d5\u05dc\u05d9_\u05d0\u05d5\u05d2\u05f3_\u05e1\u05e4\u05d8\u05f3_\u05d0\u05d5\u05e7\u05f3_\u05e0\u05d5\u05d1\u05f3_\u05d3\u05e6\u05de\u05f3".split("_"),weekdays:"\u05e8\u05d0\u05e9\u05d5\u05df_\u05e9\u05e0\u05d9_\u05e9\u05dc\u05d9\u05e9\u05d9_\u05e8\u05d1\u05d9\u05e2\u05d9_\u05d7\u05de\u05d9\u05e9\u05d9_\u05e9\u05d9\u05e9\u05d9_\u05e9\u05d1\u05ea".split("_"),weekdaysShort:"\u05d0\u05f3_\u05d1\u05f3_\u05d2\u05f3_\u05d3\u05f3_\u05d4\u05f3_\u05d5\u05f3_\u05e9\u05f3".split("_"),weekdaysMin:"\u05d0_\u05d1_\u05d2_\u05d3_\u05d4_\u05d5_\u05e9".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [\u05d1]MMMM YYYY",LLL:"D [\u05d1]MMMM YYYY HH:mm",LLLL:"dddd, D [\u05d1]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[\u05d4\u05d9\u05d5\u05dd \u05d1\u05be]LT",nextDay:"[\u05de\u05d7\u05e8 \u05d1\u05be]LT",nextWeek:"dddd [\u05d1\u05e9\u05e2\u05d4] LT",lastDay:"[\u05d0\u05ea\u05de\u05d5\u05dc \u05d1\u05be]LT",lastWeek:"[\u05d1\u05d9\u05d5\u05dd] dddd [\u05d4\u05d0\u05d7\u05e8\u05d5\u05df \u05d1\u05e9\u05e2\u05d4] LT",sameElse:"L"},relativeTime:{future:"\u05d1\u05e2\u05d5\u05d3 %s",past:"\u05dc\u05e4\u05e0\u05d9 %s",s:"\u05de\u05e1\u05e4\u05e8 \u05e9\u05e0\u05d9\u05d5\u05ea",ss:"%d \u05e9\u05e0\u05d9\u05d5\u05ea",m:"\u05d3\u05e7\u05d4",mm:"%d \u05d3\u05e7\u05d5\u05ea",h:"\u05e9\u05e2\u05d4",hh:function(t){return 2===t?"\u05e9\u05e2\u05ea\u05d9\u05d9\u05dd":t+" \u05e9\u05e2\u05d5\u05ea"},d:"\u05d9\u05d5\u05dd",dd:function(t){return 2===t?"\u05d9\u05d5\u05de\u05d9\u05d9\u05dd":t+" \u05d9\u05de\u05d9\u05dd"},M:"\u05d7\u05d5\u05d3\u05e9",MM:function(t){return 2===t?"\u05d7\u05d5\u05d3\u05e9\u05d9\u05d9\u05dd":t+" \u05d7\u05d5\u05d3\u05e9\u05d9\u05dd"},y:"\u05e9\u05e0\u05d4",yy:function(t){return 2===t?"\u05e9\u05e0\u05ea\u05d9\u05d9\u05dd":t%10==0&&10!==t?t+" \u05e9\u05e0\u05d4":t+" \u05e9\u05e0\u05d9\u05dd"}},meridiemParse:/\u05d0\u05d7\u05d4"\u05e6|\u05dc\u05e4\u05e0\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8|\u05d1\u05d1\u05d5\u05e7\u05e8|\u05d1\u05e2\u05e8\u05d1/i,isPM:function(t){return/^(\u05d0\u05d7\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05d1\u05e2\u05e8\u05d1)$/.test(t)},meridiem:function(t,e,n){return t<5?"\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8":t<10?"\u05d1\u05d1\u05d5\u05e7\u05e8":t<12?n?'\u05dc\u05e4\u05e0\u05d4"\u05e6':"\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":t<18?n?'\u05d0\u05d7\u05d4"\u05e6':"\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":"\u05d1\u05e2\u05e8\u05d1"}})}(n("wd/R"))},xgIS:function(t,e,n){"use strict";n.d(e,"a",function(){return s});var i=n("HDdC"),a=n("DH7j"),r=n("n6bG"),o=n("lJxs");function s(t,e,n,c){return Object(r.a)(n)&&(c=n,n=void 0),c?s(t,e,n).pipe(Object(o.a)(t=>Object(a.a)(t)?c(...t):c(t))):new i.a(i=>{l(t,e,function(t){i.next(arguments.length>1?Array.prototype.slice.call(arguments):t)},i,n)})}function l(t,e,n,i,a){let r;if(function(t){return t&&"function"==typeof t.addEventListener&&"function"==typeof t.removeEventListener}(t)){const i=t;t.addEventListener(e,n,a),r=()=>i.removeEventListener(e,n,a)}else if(function(t){return t&&"function"==typeof t.on&&"function"==typeof t.off}(t)){const i=t;t.on(e,n),r=()=>i.off(e,n)}else if(function(t){return t&&"function"==typeof t.addListener&&"function"==typeof t.removeListener}(t)){const i=t;t.addListener(e,n),r=()=>i.removeListener(e,n)}else{if(!t||!t.length)throw new TypeError("Invalid event target");for(let r=0,o=t.length;r<o;r++)l(t[r],e,n,i,a)}i.add(r)}},xuwl:function(t,e,n){"use strict";n.d(e,"a",function(){return i});var i=function(t){return t.INTERNAL="INTERNAL",t.BAD_CREDENTIALS="BAD_CREDENTIALS",t.EXPIRED_PASSWORD="EXPIRED_PASSWORD",t.USER_DELETED="USER_DELETED",t.BLOCKED_ACCOUNT="BLOCKED_ACCOUNT",t.RESET_PASSWORD="RESET_PASSWORD",t}({})},y5Tt:function(t,e,n){"use strict";n.d(e,"a",function(){return c});var i=n("cXaA"),a=n("lJxs"),r=n("05l1"),o=n("x+ZX"),s=n("8Y7J"),l=n("IheW");let c=(()=>{class t{constructor(t){this.http=t,this.log=i.a.create("DeclarationService"),this.END_POINT_DEPART="/api/departements",this.END_POINT_REGION="/api/regions"}searchCommunesByCPCommune(t={codePostal:"",commune:"",limit:1}){const e=this.END_POINT_DEPART+"/communes/search";return this.log.data(`[HTTP] (POST) -> ${e}`),this.http.post(e,t).pipe(Object(a.a)(t=>t.length?t:[{error:"Aucun Enregistrement Trouv\xe9"}]))}getDepartements(){return this.log.data(`[HTTP] (GET) -> ${this.END_POINT_DEPART}`),this.http.get(this.END_POINT_DEPART).pipe(Object(r.a)(),Object(o.a)())}getRegions(){return this.log.data(`[HTTP] (GET) -> ${this.END_POINT_REGION}`),this.http.get(this.END_POINT_REGION).pipe(Object(r.a)(),Object(o.a)())}}return t.\u0275fac=function(e){return new(e||t)(s.Xb(l.b))},t.\u0275prov=s.Jb({token:t,factory:t.\u0275fac,providedIn:"root"}),t})()},y7ui:function(t,e,n){"use strict";n.d(e,"a",function(){return m}),n.d(e,"b",function(){return v}),n.d(e,"c",function(){return b}),n.d(e,"d",function(){return M}),n.d(e,"e",function(){return _}),n.d(e,"f",function(){return g}),n.d(e,"g",function(){return p}),n.d(e,"h",function(){return w}),n.d(e,"i",function(){return x}),n.d(e,"j",function(){return h});var i=n("CtHx"),a=n("7+OI"),r=n("XNiG"),o=n("2Vo4"),s=n("LRne"),l=(n("IzEk"),n("pLZG"),n("1G5W")),c=n("8Y7J"),d=n("8LU1"),u=n("9gLZ");class h extends class{constructor(){this.expansionModel=new i.c(!0)}toggle(t){this.expansionModel.toggle(this._trackByValue(t))}expand(t){this.expansionModel.select(this._trackByValue(t))}collapse(t){this.expansionModel.deselect(this._trackByValue(t))}isExpanded(t){return this.expansionModel.isSelected(this._trackByValue(t))}toggleDescendants(t){this.expansionModel.isSelected(this._trackByValue(t))?this.collapseDescendants(t):this.expandDescendants(t)}collapseAll(){this.expansionModel.clear()}expandDescendants(t){let e=[t];e.push(...this.getDescendants(t)),this.expansionModel.select(...e.map(t=>this._trackByValue(t)))}collapseDescendants(t){let e=[t];e.push(...this.getDescendants(t)),this.expansionModel.deselect(...e.map(t=>this._trackByValue(t)))}_trackByValue(t){return this.trackBy?this.trackBy(t):t}}{constructor(t,e,n){super(),this.getLevel=t,this.isExpandable=e,this.options=n,this.options&&(this.trackBy=this.options.trackBy)}getDescendants(t){const e=[];for(let n=this.dataNodes.indexOf(t)+1;n<this.dataNodes.length&&this.getLevel(t)<this.getLevel(this.dataNodes[n]);n++)e.push(this.dataNodes[n]);return e}expandAll(){this.expansionModel.select(...this.dataNodes.map(t=>this._trackByValue(t)))}}const m=new c.s("CDK_TREE_NODE_OUTLET_NODE");let p=(()=>{class t{constructor(t,e){this.viewContainer=t,this._node=e}}return t.\u0275fac=function(e){return new(e||t)(c.Nb(c.R),c.Nb(m,8))},t.\u0275dir=c.Ib({type:t,selectors:[["","cdkTreeNodeOutlet",""]]}),t})();class f{constructor(t){this.$implicit=t}}let g=(()=>{class t{constructor(t){this.template=t}}return t.\u0275fac=function(e){return new(e||t)(c.Nb(c.N))},t.\u0275dir=c.Ib({type:t,selectors:[["","cdkTreeNodeDef",""]],inputs:{when:["cdkTreeNodeDefWhen","when"]}}),t})(),b=(()=>{class t{constructor(t,e){this._differs=t,this._changeDetectorRef=e,this._onDestroy=new r.a,this._levels=new Map,this.viewChange=new o.a({start:0,end:Number.MAX_VALUE})}get dataSource(){return this._dataSource}set dataSource(t){this._dataSource!==t&&this._switchDataSource(t)}ngOnInit(){this._dataDiffer=this._differs.find([]).create(this.trackBy)}ngOnDestroy(){this._nodeOutlet.viewContainer.clear(),this.viewChange.complete(),this._onDestroy.next(),this._onDestroy.complete(),this._dataSource&&"function"==typeof this._dataSource.disconnect&&this.dataSource.disconnect(this),this._dataSubscription&&(this._dataSubscription.unsubscribe(),this._dataSubscription=null)}ngAfterContentChecked(){const t=this._nodeDefs.filter(t=>!t.when);this._defaultNodeDef=t[0],this.dataSource&&this._nodeDefs&&!this._dataSubscription&&this._observeRenderChanges()}_switchDataSource(t){this._dataSource&&"function"==typeof this._dataSource.disconnect&&this.dataSource.disconnect(this),this._dataSubscription&&(this._dataSubscription.unsubscribe(),this._dataSubscription=null),t||this._nodeOutlet.viewContainer.clear(),this._dataSource=t,this._nodeDefs&&this._observeRenderChanges()}_observeRenderChanges(){let t;Object(i.h)(this._dataSource)?t=this._dataSource.connect(this):Object(a.a)(this._dataSource)?t=this._dataSource:Array.isArray(this._dataSource)&&(t=Object(s.a)(this._dataSource)),t&&(this._dataSubscription=t.pipe(Object(l.a)(this._onDestroy)).subscribe(t=>this.renderNodeChanges(t)))}renderNodeChanges(t,e=this._dataDiffer,n=this._nodeOutlet.viewContainer,i){const a=e.diff(t);a&&(a.forEachOperation((e,a,r)=>{if(null==e.previousIndex)this.insertNode(t[r],r,n,i);else if(null==r)n.remove(a),this._levels.delete(e.item);else{const t=n.get(a);n.move(t,r)}}),this._changeDetectorRef.detectChanges())}_getNodeDef(t,e){return 1===this._nodeDefs.length?this._nodeDefs.first:this._nodeDefs.find(n=>n.when&&n.when(e,t))||this._defaultNodeDef}insertNode(t,e,n,i){const a=this._getNodeDef(t,e),r=new f(t);r.level=this.treeControl.getLevel?this.treeControl.getLevel(t):void 0!==i&&this._levels.has(i)?this._levels.get(i)+1:0,this._levels.set(t,r.level),(n||this._nodeOutlet.viewContainer).createEmbeddedView(a.template,r,e),_.mostRecentTreeNode&&(_.mostRecentTreeNode.data=t)}}return t.\u0275fac=function(e){return new(e||t)(c.Nb(c.u),c.Nb(c.h))},t.\u0275cmp=c.Hb({type:t,selectors:[["cdk-tree"]],contentQueries:function(t,e,n){if(1&t&&c.Gb(n,g,1),2&t){let t;c.uc(t=c.cc())&&(e._nodeDefs=t)}},viewQuery:function(t,e){if(1&t&&c.Lc(p,3),2&t){let t;c.uc(t=c.cc())&&(e._nodeOutlet=t.first)}},hostAttrs:["role","tree",1,"cdk-tree"],inputs:{dataSource:"dataSource",treeControl:"treeControl",trackBy:"trackBy"},exportAs:["cdkTree"],decls:1,vars:0,consts:[["cdkTreeNodeOutlet",""]],template:function(t,e){1&t&&c.Pb(0,0)},directives:[p],encapsulation:2}),t})(),_=(()=>{class t{constructor(e,n){this._elementRef=e,this._tree=n,this._destroyed=new r.a,this._dataChanges=new r.a,t.mostRecentTreeNode=this,this._elementRef.nativeElement.classList.add("cdk-tree-node"),this.role="treeitem"}get role(){return"treeitem"}set role(t){this._elementRef.nativeElement.setAttribute("role",t)}get data(){return this._data}set data(t){t!==this._data&&(this._data=t,this._setRoleFromData(),this._dataChanges.next())}get isExpanded(){return this._tree.treeControl.isExpanded(this._data)}_setExpanded(t){this._isAriaExpanded=t,this._elementRef.nativeElement.setAttribute("aria-expanded",`${t}`)}get level(){return this._tree.treeControl.getLevel?this._tree.treeControl.getLevel(this._data):this._parentNodeAriaLevel}ngOnInit(){this._parentNodeAriaLevel=function(t){let e=t.parentElement;for(;e&&!y(e);)e=e.parentElement;return e?e.classList.contains("cdk-nested-tree-node")?Object(d.f)(e.getAttribute("aria-level")):0:-1}(this._elementRef.nativeElement),this._elementRef.nativeElement.setAttribute("aria-level",`${this.level+1}`)}ngDoCheck(){this.isExpanded!=this._isAriaExpanded&&this._setExpanded(this.isExpanded)}ngOnDestroy(){t.mostRecentTreeNode===this&&(t.mostRecentTreeNode=null),this._dataChanges.complete(),this._destroyed.next(),this._destroyed.complete()}focus(){this._elementRef.nativeElement.focus()}_setRoleFromData(){this.role="treeitem"}}return t.\u0275fac=function(e){return new(e||t)(c.Nb(c.l),c.Nb(b))},t.\u0275dir=c.Ib({type:t,selectors:[["cdk-tree-node"]],inputs:{role:"role"},exportAs:["cdkTreeNode"]}),t.mostRecentTreeNode=null,t})();function y(t){const e=t.classList;return!(!(null==e?void 0:e.contains("cdk-nested-tree-node"))&&!(null==e?void 0:e.contains("cdk-tree")))}let v=(()=>{class t extends _{constructor(t,e,n){super(t,e),this._elementRef=t,this._tree=e,this._differs=n,this._elementRef.nativeElement.classList.add("cdk-nested-tree-node")}ngAfterContentInit(){this._dataDiffer=this._differs.find([]).create(this._tree.trackBy);const t=this._tree.treeControl.getChildren(this.data);Array.isArray(t)?this.updateChildrenNodes(t):Object(a.a)(t)&&t.pipe(Object(l.a)(this._destroyed)).subscribe(t=>this.updateChildrenNodes(t)),this.nodeOutlet.changes.pipe(Object(l.a)(this._destroyed)).subscribe(()=>this.updateChildrenNodes())}ngOnInit(){super.ngOnInit()}ngDoCheck(){super.ngDoCheck()}ngOnDestroy(){this._clear(),super.ngOnDestroy()}updateChildrenNodes(t){const e=this._getNodeOutlet();t&&(this._children=t),e&&this._children?this._tree.renderNodeChanges(this._children,this._dataDiffer,e.viewContainer,this._data):this._dataDiffer.diff([])}_clear(){const t=this._getNodeOutlet();t&&(t.viewContainer.clear(),this._dataDiffer.diff([]))}_getNodeOutlet(){const t=this.nodeOutlet;return t&&t.find(t=>!t._node||t._node===this)}}return t.\u0275fac=function(e){return new(e||t)(c.Nb(c.l),c.Nb(b),c.Nb(c.u))},t.\u0275dir=c.Ib({type:t,selectors:[["cdk-nested-tree-node"]],contentQueries:function(t,e,n){if(1&t&&c.Gb(n,p,1),2&t){let t;c.uc(t=c.cc())&&(e.nodeOutlet=t)}},inputs:{role:"role",disabled:"disabled",tabIndex:"tabIndex"},exportAs:["cdkNestedTreeNode"],features:[c.Bb([{provide:_,useExisting:t},{provide:m,useExisting:t}]),c.zb]}),t})();const C=/([A-Za-z%]+)$/;let w=(()=>{class t{constructor(t,e,n,i){this._treeNode=t,this._tree=e,this._element=n,this._dir=i,this._destroyed=new r.a,this.indentUnits="px",this._indent=40,this._setPadding(),i&&i.change.pipe(Object(l.a)(this._destroyed)).subscribe(()=>this._setPadding(!0)),t._dataChanges.subscribe(()=>this._setPadding())}get level(){return this._level}set level(t){this._setLevelInput(t)}get indent(){return this._indent}set indent(t){this._setIndentInput(t)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_paddingIndent(){const t=this._treeNode.data&&this._tree.treeControl.getLevel?this._tree.treeControl.getLevel(this._treeNode.data):null,e=null==this._level?t:this._level;return"number"==typeof e?`${e*this._indent}${this.indentUnits}`:null}_setPadding(t=!1){const e=this._paddingIndent();if(e!==this._currentPadding||t){const t=this._element.nativeElement,n=this._dir&&"rtl"===this._dir.value?"paddingRight":"paddingLeft",i="paddingLeft"===n?"paddingRight":"paddingLeft";t.style[n]=e||"",t.style[i]="",this._currentPadding=e}}_setLevelInput(t){this._level=Object(d.f)(t,null),this._setPadding()}_setIndentInput(t){let e=t,n="px";if("string"==typeof t){const i=t.split(C);e=i[0],n=i[1]||n}this.indentUnits=n,this._indent=Object(d.f)(e),this._setPadding()}}return t.\u0275fac=function(e){return new(e||t)(c.Nb(_),c.Nb(b),c.Nb(c.l),c.Nb(u.b,8))},t.\u0275dir=c.Ib({type:t,selectors:[["","cdkTreeNodePadding",""]],inputs:{level:["cdkTreeNodePadding","level"],indent:["cdkTreeNodePaddingIndent","indent"]}}),t})(),x=(()=>{class t{constructor(t,e){this._tree=t,this._treeNode=e,this._recursive=!1}get recursive(){return this._recursive}set recursive(t){this._recursive=Object(d.c)(t)}_toggle(t){this.recursive?this._tree.treeControl.toggleDescendants(this._treeNode.data):this._tree.treeControl.toggle(this._treeNode.data),t.stopPropagation()}}return t.\u0275fac=function(e){return new(e||t)(c.Nb(b),c.Nb(_))},t.\u0275dir=c.Ib({type:t,selectors:[["","cdkTreeNodeToggle",""]],hostBindings:function(t,e){1&t&&c.bc("click",function(t){return e._toggle(t)})},inputs:{recursive:["cdkTreeNodeToggleRecursive","recursive"]}}),t})(),M=(()=>{class t{}return t.\u0275mod=c.Lb({type:t}),t.\u0275inj=c.Kb({factory:function(e){return new(e||t)}}),t})()},yCtX:function(t,e,n){"use strict";n.d(e,"a",function(){return o});var i=n("HDdC"),a=n("ngJS"),r=n("jZKg");function o(t,e){return e?Object(r.a)(t,e):new i.a(Object(a.a)(t))}},yPMs:function(t,e,n){!function(t){"use strict";t.defineLocale("sq",{months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_N\xebntor_Dhjetor".split("_"),monthsShort:"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_N\xebn_Dhj".split("_"),weekdays:"E Diel_E H\xebn\xeb_E Mart\xeb_E M\xebrkur\xeb_E Enjte_E Premte_E Shtun\xeb".split("_"),weekdaysShort:"Die_H\xebn_Mar_M\xebr_Enj_Pre_Sht".split("_"),weekdaysMin:"D_H_Ma_M\xeb_E_P_Sh".split("_"),weekdaysParseExact:!0,meridiemParse:/PD|MD/,isPM:function(t){return"M"===t.charAt(0)},meridiem:function(t,e,n){return t<12?"PD":"MD"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Sot n\xeb] LT",nextDay:"[Nes\xebr n\xeb] LT",nextWeek:"dddd [n\xeb] LT",lastDay:"[Dje n\xeb] LT",lastWeek:"dddd [e kaluar n\xeb] LT",sameElse:"L"},relativeTime:{future:"n\xeb %s",past:"%s m\xeb par\xeb",s:"disa sekonda",ss:"%d sekonda",m:"nj\xeb minut\xeb",mm:"%d minuta",h:"nj\xeb or\xeb",hh:"%d or\xeb",d:"nj\xeb dit\xeb",dd:"%d dit\xeb",M:"nj\xeb muaj",MM:"%d muaj",y:"nj\xeb vit",yy:"%d vite"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},"z+Ro":function(t,e,n){"use strict";function i(t){return t&&"function"==typeof t.schedule}n.d(e,"a",function(){return i})},z1FC:function(t,e,n){!function(t){"use strict";function e(t,e,n,i){var a={s:["viensas secunds","'iensas secunds"],ss:[t+" secunds",t+" secunds"],m:["'n m\xedut","'iens m\xedut"],mm:[t+" m\xeduts",t+" m\xeduts"],h:["'n \xfeora","'iensa \xfeora"],hh:[t+" \xfeoras",t+" \xfeoras"],d:["'n ziua","'iensa ziua"],dd:[t+" ziuas",t+" ziuas"],M:["'n mes","'iens mes"],MM:[t+" mesen",t+" mesen"],y:["'n ar","'iens ar"],yy:[t+" ars",t+" ars"]};return i||e?a[n][0]:a[n][1]}t.defineLocale("tzl",{months:"Januar_Fevraglh_Mar\xe7_Avr\xefu_Mai_G\xfcn_Julia_Guscht_Setemvar_Listop\xe4ts_Noemvar_Zecemvar".split("_"),monthsShort:"Jan_Fev_Mar_Avr_Mai_G\xfcn_Jul_Gus_Set_Lis_Noe_Zec".split("_"),weekdays:"S\xfaladi_L\xfane\xe7i_Maitzi_M\xe1rcuri_Xh\xfaadi_Vi\xe9ner\xe7i_S\xe1turi".split("_"),weekdaysShort:"S\xfal_L\xfan_Mai_M\xe1r_Xh\xfa_Vi\xe9_S\xe1t".split("_"),weekdaysMin:"S\xfa_L\xfa_Ma_M\xe1_Xh_Vi_S\xe1".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM [dallas] YYYY",LLL:"D. MMMM [dallas] YYYY HH.mm",LLLL:"dddd, [li] D. MMMM [dallas] YYYY HH.mm"},meridiemParse:/d\'o|d\'a/i,isPM:function(t){return"d'o"===t.toLowerCase()},meridiem:function(t,e,n){return t>11?n?"d'o":"D'O":n?"d'a":"D'A"},calendar:{sameDay:"[oxhi \xe0] LT",nextDay:"[dem\xe0 \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[ieiri \xe0] LT",lastWeek:"[s\xfcr el] dddd [lasteu \xe0] LT",sameElse:"L"},relativeTime:{future:"osprei %s",past:"ja%s",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},z3Vd:function(t,e,n){!function(t){"use strict";var e="pagh_wa\u2019_cha\u2019_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function n(t,n,i,a){var r=function(t){var n=Math.floor(t%1e3/100),i=Math.floor(t%100/10),a=t%10,r="";return n>0&&(r+=e[n]+"vatlh"),i>0&&(r+=(""!==r?" ":"")+e[i]+"maH"),a>0&&(r+=(""!==r?" ":"")+e[a]),""===r?"pagh":r}(t);switch(i){case"ss":return r+" lup";case"mm":return r+" tup";case"hh":return r+" rep";case"dd":return r+" jaj";case"MM":return r+" jar";case"yy":return r+" DIS"}}t.defineLocale("tlh",{months:"tera\u2019 jar wa\u2019_tera\u2019 jar cha\u2019_tera\u2019 jar wej_tera\u2019 jar loS_tera\u2019 jar vagh_tera\u2019 jar jav_tera\u2019 jar Soch_tera\u2019 jar chorgh_tera\u2019 jar Hut_tera\u2019 jar wa\u2019maH_tera\u2019 jar wa\u2019maH wa\u2019_tera\u2019 jar wa\u2019maH cha\u2019".split("_"),monthsShort:"jar wa\u2019_jar cha\u2019_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa\u2019maH_jar wa\u2019maH wa\u2019_jar wa\u2019maH cha\u2019".split("_"),monthsParseExact:!0,weekdays:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysShort:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysMin:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[DaHjaj] LT",nextDay:"[wa\u2019leS] LT",nextWeek:"LLL",lastDay:"[wa\u2019Hu\u2019] LT",lastWeek:"LLL",sameElse:"L"},relativeTime:{future:function(t){var e=t;return-1!==t.indexOf("jaj")?e.slice(0,-3)+"leS":-1!==t.indexOf("jar")?e.slice(0,-3)+"waQ":-1!==t.indexOf("DIS")?e.slice(0,-3)+"nem":e+" pIq"},past:function(t){var e=t;return-1!==t.indexOf("jaj")?e.slice(0,-3)+"Hu\u2019":-1!==t.indexOf("jar")?e.slice(0,-3)+"wen":-1!==t.indexOf("DIS")?e.slice(0,-3)+"ben":e+" ret"},s:"puS lup",ss:n,m:"wa\u2019 tup",mm:n,h:"wa\u2019 rep",hh:n,d:"wa\u2019 jaj",dd:n,M:"wa\u2019 jar",MM:n,y:"wa\u2019 DIS",yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},z6cu:function(t,e,n){"use strict";n.d(e,"a",function(){return a});var i=n("HDdC");function a(t,e){return new i.a(e?n=>e.schedule(r,0,{error:t,subscriber:n}):e=>e.error(t))}function r({error:t,subscriber:e}){e.error(t)}},zHaW:function(t,e,n){"use strict";n.d(e,"a",function(){return _}),n.d(e,"b",function(){return S}),n.d(e,"c",function(){return O});var i=n("1O3W"),a=n("1z/I"),r=n("SVse"),o=n("8Y7J"),s=n("UhP/"),l=n("Dxy4"),c=n("XNiG"),d=n("IzEk"),u=n("1G5W"),h=n("GS7A"),m=n("YEUz"),p=n("HeVh"),f=n("SCoL");function g(t,e){if(1&t){const t=o.Ub();o.Tb(0,"div",1),o.Tb(1,"button",2),o.bc("click",function(){return o.yc(t),o.fc().action()}),o.Hc(2),o.Sb(),o.Sb()}if(2&t){const t=o.fc();o.Cb(2),o.Ic(t.data.action)}}function b(t,e){}const _=new o.s("MatSnackBarData");class y{constructor(){this.politeness="assertive",this.announcementMessage="",this.duration=0,this.data=null,this.horizontalPosition="center",this.verticalPosition="bottom"}}const v=Math.pow(2,31)-1;class C{constructor(t,e){this._overlayRef=e,this._afterDismissed=new c.a,this._afterOpened=new c.a,this._onAction=new c.a,this._dismissedByAction=!1,this.containerInstance=t,this.onAction().subscribe(()=>this.dismiss()),t._onExit.subscribe(()=>this._finishDismiss())}dismiss(){this._afterDismissed.closed||this.containerInstance.exit(),clearTimeout(this._durationTimeoutId)}dismissWithAction(){this._onAction.closed||(this._dismissedByAction=!0,this._onAction.next(),this._onAction.complete())}closeWithAction(){this.dismissWithAction()}_dismissAfter(t){this._durationTimeoutId=setTimeout(()=>this.dismiss(),Math.min(t,v))}_open(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())}_finishDismiss(){this._overlayRef.dispose(),this._onAction.closed||this._onAction.complete(),this._afterDismissed.next({dismissedByAction:this._dismissedByAction}),this._afterDismissed.complete(),this._dismissedByAction=!1}afterDismissed(){return this._afterDismissed}afterOpened(){return this.containerInstance._onEnter}onAction(){return this._onAction}}let w=(()=>{class t{constructor(t,e){this.snackBarRef=t,this.data=e}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}}return t.\u0275fac=function(e){return new(e||t)(o.Nb(C),o.Nb(_))},t.\u0275cmp=o.Hb({type:t,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-simple-snackbar"],decls:3,vars:2,consts:[["class","mat-simple-snackbar-action",4,"ngIf"],[1,"mat-simple-snackbar-action"],["mat-button","",3,"click"]],template:function(t,e){1&t&&(o.Tb(0,"span"),o.Hc(1),o.Sb(),o.Fc(2,g,3,1,"div",0)),2&t&&(o.Cb(1),o.Ic(e.data.message),o.Cb(1),o.nc("ngIf",e.hasAction))},directives:[r.l,l.a],styles:[".mat-simple-snackbar{display:flex;justify-content:space-between;align-items:center;line-height:20px;opacity:1}.mat-simple-snackbar-action{flex-shrink:0;margin:-8px -8px -8px 8px}.mat-simple-snackbar-action button{max-height:36px;min-width:0}[dir=rtl] .mat-simple-snackbar-action{margin-left:-8px;margin-right:8px}\n"],encapsulation:2,changeDetection:0}),t})();const x={snackBarState:Object(h.n)("state",[Object(h.k)("void, hidden",Object(h.l)({transform:"scale(0.8)",opacity:0})),Object(h.k)("visible",Object(h.l)({transform:"scale(1)",opacity:1})),Object(h.m)("* => visible",Object(h.e)("150ms cubic-bezier(0, 0, 0.2, 1)")),Object(h.m)("* => void, * => hidden",Object(h.e)("75ms cubic-bezier(0.4, 0.0, 1, 1)",Object(h.l)({opacity:0})))])};let M=(()=>{class t extends a.a{constructor(t,e,n,i,a){super(),this._ngZone=t,this._elementRef=e,this._changeDetectorRef=n,this._platform=i,this.snackBarConfig=a,this._announceDelay=150,this._destroyed=!1,this._onAnnounce=new c.a,this._onExit=new c.a,this._onEnter=new c.a,this._animationState="void",this.attachDomPortal=t=>(this._assertNotAttached(),this._applySnackBarClasses(),this._portalOutlet.attachDomPortal(t)),this._live="assertive"!==a.politeness||a.announcementMessage?"off"===a.politeness?"off":"polite":"assertive",this._platform.FIREFOX&&("polite"===this._live&&(this._role="status"),"assertive"===this._live&&(this._role="alert"))}attachComponentPortal(t){return this._assertNotAttached(),this._applySnackBarClasses(),this._portalOutlet.attachComponentPortal(t)}attachTemplatePortal(t){return this._assertNotAttached(),this._applySnackBarClasses(),this._portalOutlet.attachTemplatePortal(t)}onAnimationEnd(t){const{fromState:e,toState:n}=t;if(("void"===n&&"void"!==e||"hidden"===n)&&this._completeExit(),"visible"===n){const t=this._onEnter;this._ngZone.run(()=>{t.next(),t.complete()})}}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce())}exit(){return this._animationState="hidden",this._elementRef.nativeElement.setAttribute("mat-exit",""),clearTimeout(this._announceTimeoutId),this._onExit}ngOnDestroy(){this._destroyed=!0,this._completeExit()}_completeExit(){this._ngZone.onMicrotaskEmpty.pipe(Object(d.a)(1)).subscribe(()=>{this._onExit.next(),this._onExit.complete()})}_applySnackBarClasses(){const t=this._elementRef.nativeElement,e=this.snackBarConfig.panelClass;e&&(Array.isArray(e)?e.forEach(e=>t.classList.add(e)):t.classList.add(e)),"center"===this.snackBarConfig.horizontalPosition&&t.classList.add("mat-snack-bar-center"),"top"===this.snackBarConfig.verticalPosition&&t.classList.add("mat-snack-bar-top")}_assertNotAttached(){this._portalOutlet.hasAttached()}_screenReaderAnnounce(){this._announceTimeoutId||this._ngZone.runOutsideAngular(()=>{this._announceTimeoutId=setTimeout(()=>{const t=this._elementRef.nativeElement.querySelector("[aria-hidden]"),e=this._elementRef.nativeElement.querySelector("[aria-live]");if(t&&e){let n=null;this._platform.isBrowser&&document.activeElement instanceof HTMLElement&&t.contains(document.activeElement)&&(n=document.activeElement),t.removeAttribute("aria-hidden"),e.appendChild(t),null==n||n.focus(),this._onAnnounce.next(),this._onAnnounce.complete()}},this._announceDelay)})}}return t.\u0275fac=function(e){return new(e||t)(o.Nb(o.B),o.Nb(o.l),o.Nb(o.h),o.Nb(f.a),o.Nb(y))},t.\u0275cmp=o.Hb({type:t,selectors:[["snack-bar-container"]],viewQuery:function(t,e){if(1&t&&o.Lc(a.c,3),2&t){let t;o.uc(t=o.cc())&&(e._portalOutlet=t.first)}},hostAttrs:[1,"mat-snack-bar-container"],hostVars:1,hostBindings:function(t,e){1&t&&o.Dc("@state.done",function(t){return e.onAnimationEnd(t)}),2&t&&o.Ec("@state",e._animationState)},features:[o.zb],decls:3,vars:2,consts:[["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(t,e){1&t&&(o.Tb(0,"div",0),o.Fc(1,b,0,0,"ng-template",1),o.Sb(),o.Ob(2,"div")),2&t&&(o.Cb(2),o.Db("aria-live",e._live)("role",e._role))},directives:[a.c],styles:[".mat-snack-bar-container{border-radius:4px;box-sizing:border-box;display:block;margin:24px;max-width:33vw;min-width:344px;padding:14px 16px;min-height:48px;transform-origin:center}.cdk-high-contrast-active .mat-snack-bar-container{border:solid 1px}.mat-snack-bar-handset{width:100%}.mat-snack-bar-handset .mat-snack-bar-container{margin:8px;max-width:100%;min-width:0;width:100%}\n"],encapsulation:2,data:{animation:[x.snackBarState]}}),t})(),O=(()=>{class t{}return t.\u0275mod=o.Lb({type:t}),t.\u0275inj=o.Kb({factory:function(e){return new(e||t)},imports:[[i.f,a.f,r.c,l.b,s.j],s.j]}),t})();const k=new o.s("mat-snack-bar-default-options",{providedIn:"root",factory:function(){return new y}});let S=(()=>{class t{constructor(t,e,n,i,a,r){this._overlay=t,this._live=e,this._injector=n,this._breakpointObserver=i,this._parentSnackBar=a,this._defaultConfig=r,this._snackBarRefAtThisLevel=null,this.simpleSnackBarComponent=w,this.snackBarContainerComponent=M,this.handsetCssClass="mat-snack-bar-handset"}get _openedSnackBarRef(){const t=this._parentSnackBar;return t?t._openedSnackBarRef:this._snackBarRefAtThisLevel}set _openedSnackBarRef(t){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=t:this._snackBarRefAtThisLevel=t}openFromComponent(t,e){return this._attach(t,e)}openFromTemplate(t,e){return this._attach(t,e)}open(t,e="",n){const i=Object.assign(Object.assign({},this._defaultConfig),n);return i.data={message:t,action:e},i.announcementMessage===t&&(i.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,i)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(t,e){const n=o.t.create({parent:e&&e.viewContainerRef&&e.viewContainerRef.injector||this._injector,providers:[{provide:y,useValue:e}]}),i=new a.d(this.snackBarContainerComponent,e.viewContainerRef,n),r=t.attach(i);return r.instance.snackBarConfig=e,r.instance}_attach(t,e){const n=Object.assign(Object.assign(Object.assign({},new y),this._defaultConfig),e),i=this._createOverlay(n),r=this._attachSnackBarContainer(i,n),s=new C(r,i);if(t instanceof o.N){const e=new a.g(t,null,{$implicit:n.data,snackBarRef:s});s.instance=r.attachTemplatePortal(e)}else{const e=this._createInjector(n,s),i=new a.d(t,void 0,e),o=r.attachComponentPortal(i);s.instance=o.instance}return this._breakpointObserver.observe(p.b.HandsetPortrait).pipe(Object(u.a)(i.detachments())).subscribe(t=>{const e=i.overlayElement.classList;t.matches?e.add(this.handsetCssClass):e.remove(this.handsetCssClass)}),n.announcementMessage&&r._onAnnounce.subscribe(()=>{this._live.announce(n.announcementMessage,n.politeness)}),this._animateSnackBar(s,n),this._openedSnackBarRef=s,this._openedSnackBarRef}_animateSnackBar(t,e){t.afterDismissed().subscribe(()=>{this._openedSnackBarRef==t&&(this._openedSnackBarRef=null),e.announcementMessage&&this._live.clear()}),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{t.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):t.containerInstance.enter(),e.duration&&e.duration>0&&t.afterOpened().subscribe(()=>t._dismissAfter(e.duration))}_createOverlay(t){const e=new i.d;e.direction=t.direction;let n=this._overlay.position().global();const a="rtl"===t.direction,r="left"===t.horizontalPosition||"start"===t.horizontalPosition&&!a||"end"===t.horizontalPosition&&a,o=!r&&"center"!==t.horizontalPosition;return r?n.left("0"):o?n.right("0"):n.centerHorizontally(),"top"===t.verticalPosition?n.top("0"):n.bottom("0"),e.positionStrategy=n,this._overlay.create(e)}_createInjector(t,e){return o.t.create({parent:t&&t.viewContainerRef&&t.viewContainerRef.injector||this._injector,providers:[{provide:C,useValue:e},{provide:_,useValue:t.data}]})}}return t.\u0275fac=function(e){return new(e||t)(o.Xb(i.c),o.Xb(m.k),o.Xb(o.t),o.Xb(p.a),o.Xb(t,12),o.Xb(k))},t.\u0275prov=Object(o.Jb)({factory:function(){return new t(Object(o.Xb)(i.c),Object(o.Xb)(m.k),Object(o.Xb)(o.p),Object(o.Xb)(p.a),Object(o.Xb)(t,12),Object(o.Xb)(k))},token:t,providedIn:O}),t})()},zQhy:function(t,e,n){"use strict";n.d(e,"a",function(){return M}),n.d(e,"b",function(){return y}),n.d(e,"c",function(){return O});var i=n("8Y7J"),a=n("UhP/"),r=n("8LU1"),o=n("s7LF"),s=n("omvX"),l=n("YEUz"),c=n("CtHx");const d=["input"],u=function(){return{enterDuration:150}},h=["*"],m=new i.s("mat-radio-default-options",{providedIn:"root",factory:function(){return{color:"accent"}}});let p=0;const f={provide:o.m,useExisting:Object(i.V)(()=>y),multi:!0};class g{constructor(t,e){this.source=t,this.value=e}}const b=new i.s("MatRadioGroup");let _=(()=>{class t{constructor(t){this._changeDetector=t,this._value=null,this._name="mat-radio-group-"+p++,this._selected=null,this._isInitialized=!1,this._labelPosition="after",this._disabled=!1,this._required=!1,this._controlValueAccessorChangeFn=()=>{},this.onTouched=()=>{},this.change=new i.o}get name(){return this._name}set name(t){this._name=t,this._updateRadioButtonNames()}get labelPosition(){return this._labelPosition}set labelPosition(t){this._labelPosition="before"===t?"before":"after",this._markRadiosForCheck()}get value(){return this._value}set value(t){this._value!==t&&(this._value=t,this._updateSelectedRadioFromValue(),this._checkSelectedRadioButton())}_checkSelectedRadioButton(){this._selected&&!this._selected.checked&&(this._selected.checked=!0)}get selected(){return this._selected}set selected(t){this._selected=t,this.value=t?t.value:null,this._checkSelectedRadioButton()}get disabled(){return this._disabled}set disabled(t){this._disabled=Object(r.c)(t),this._markRadiosForCheck()}get required(){return this._required}set required(t){this._required=Object(r.c)(t),this._markRadiosForCheck()}ngAfterContentInit(){this._isInitialized=!0}_touch(){this.onTouched&&this.onTouched()}_updateRadioButtonNames(){this._radios&&this._radios.forEach(t=>{t.name=this.name,t._markForCheck()})}_updateSelectedRadioFromValue(){this._radios&&(null===this._selected||this._selected.value!==this._value)&&(this._selected=null,this._radios.forEach(t=>{t.checked=this.value===t.value,t.checked&&(this._selected=t)}))}_emitChangeEvent(){this._isInitialized&&this.change.emit(new g(this._selected,this._value))}_markRadiosForCheck(){this._radios&&this._radios.forEach(t=>t._markForCheck())}writeValue(t){this.value=t,this._changeDetector.markForCheck()}registerOnChange(t){this._controlValueAccessorChangeFn=t}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this.disabled=t,this._changeDetector.markForCheck()}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.h))},t.\u0275dir=i.Ib({type:t,inputs:{name:"name",labelPosition:"labelPosition",value:"value",selected:"selected",disabled:"disabled",required:"required",color:"color"},outputs:{change:"change"}}),t})(),y=(()=>{class t extends _{}return t.\u0275fac=function(e){return v(e||t)},t.\u0275dir=i.Ib({type:t,selectors:[["mat-radio-group"]],contentQueries:function(t,e,n){if(1&t&&i.Gb(n,M,1),2&t){let t;i.uc(t=i.cc())&&(e._radios=t)}},hostAttrs:["role","radiogroup",1,"mat-radio-group"],exportAs:["matRadioGroup"],features:[i.Bb([f,{provide:b,useExisting:t}]),i.zb]}),t})();const v=i.Vb(y);class C{constructor(t){this._elementRef=t}}const w=Object(a.x)(Object(a.B)(C));let x=(()=>{class t extends w{constructor(t,e,n,a,o,s,l,c){super(e),this._changeDetector=n,this._focusMonitor=a,this._radioDispatcher=o,this._animationMode=s,this._providerOverride=l,this._uniqueId="mat-radio-"+ ++p,this.id=this._uniqueId,this.change=new i.o,this._checked=!1,this._value=null,this._removeUniqueSelectionListener=()=>{},this.radioGroup=t,c&&(this.tabIndex=Object(r.f)(c,0)),this._removeUniqueSelectionListener=o.listen((t,e)=>{t!==this.id&&e===this.name&&(this.checked=!1)})}get checked(){return this._checked}set checked(t){const e=Object(r.c)(t);this._checked!==e&&(this._checked=e,e&&this.radioGroup&&this.radioGroup.value!==this.value?this.radioGroup.selected=this:!e&&this.radioGroup&&this.radioGroup.value===this.value&&(this.radioGroup.selected=null),e&&this._radioDispatcher.notify(this.id,this.name),this._changeDetector.markForCheck())}get value(){return this._value}set value(t){this._value!==t&&(this._value=t,null!==this.radioGroup&&(this.checked||(this.checked=this.radioGroup.value===t),this.checked&&(this.radioGroup.selected=this)))}get labelPosition(){return this._labelPosition||this.radioGroup&&this.radioGroup.labelPosition||"after"}set labelPosition(t){this._labelPosition=t}get disabled(){return this._disabled||null!==this.radioGroup&&this.radioGroup.disabled}set disabled(t){this._setDisabled(Object(r.c)(t))}get required(){return this._required||this.radioGroup&&this.radioGroup.required}set required(t){this._required=Object(r.c)(t)}get color(){return this._color||this.radioGroup&&this.radioGroup.color||this._providerOverride&&this._providerOverride.color||"accent"}set color(t){this._color=t}get inputId(){return`${this.id||this._uniqueId}-input`}focus(t,e){e?this._focusMonitor.focusVia(this._inputElement,e,t):this._inputElement.nativeElement.focus(t)}_markForCheck(){this._changeDetector.markForCheck()}ngOnInit(){this.radioGroup&&(this.checked=this.radioGroup.value===this._value,this.checked&&(this.radioGroup.selected=this),this.name=this.radioGroup.name)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(t=>{!t&&this.radioGroup&&this.radioGroup._touch()})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._removeUniqueSelectionListener()}_emitChangeEvent(){this.change.emit(new g(this,this._value))}_isRippleDisabled(){return this.disableRipple||this.disabled}_onInputClick(t){t.stopPropagation()}_onInputChange(t){t.stopPropagation();const e=this.radioGroup&&this.value!==this.radioGroup.value;this.checked=!0,this._emitChangeEvent(),this.radioGroup&&(this.radioGroup._controlValueAccessorChangeFn(this.value),e&&this.radioGroup._emitChangeEvent())}_setDisabled(t){this._disabled!==t&&(this._disabled=t,this._changeDetector.markForCheck())}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(_),i.Nb(i.l),i.Nb(i.h),i.Nb(l.h),i.Nb(c.d),i.Nb(String),i.Nb(void 0),i.Nb(String))},t.\u0275dir=i.Ib({type:t,viewQuery:function(t,e){if(1&t&&i.Lc(d,1),2&t){let t;i.uc(t=i.cc())&&(e._inputElement=t.first)}},inputs:{id:"id",checked:"checked",value:"value",labelPosition:"labelPosition",disabled:"disabled",required:"required",color:"color",name:"name",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"]},outputs:{change:"change"},features:[i.zb]}),t})(),M=(()=>{class t extends x{constructor(t,e,n,i,a,r,o,s){super(t,e,n,i,a,r,o,s)}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(b,8),i.Nb(i.l),i.Nb(i.h),i.Nb(l.h),i.Nb(c.d),i.Nb(s.a,8),i.Nb(m,8),i.Yb("tabindex"))},t.\u0275cmp=i.Hb({type:t,selectors:[["mat-radio-button"]],hostAttrs:[1,"mat-radio-button"],hostVars:17,hostBindings:function(t,e){1&t&&i.bc("focus",function(){return e._inputElement.nativeElement.focus()}),2&t&&(i.Db("tabindex",null)("id",e.id)("aria-label",null)("aria-labelledby",null)("aria-describedby",null),i.Fb("mat-radio-checked",e.checked)("mat-radio-disabled",e.disabled)("_mat-animation-noopable","NoopAnimations"===e._animationMode)("mat-primary","primary"===e.color)("mat-accent","accent"===e.color)("mat-warn","warn"===e.color))},inputs:{disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matRadioButton"],features:[i.zb],ngContentSelectors:h,decls:13,vars:19,consts:[[1,"mat-radio-label"],["label",""],[1,"mat-radio-container"],[1,"mat-radio-outer-circle"],[1,"mat-radio-inner-circle"],["type","radio",1,"mat-radio-input","cdk-visually-hidden",3,"id","checked","disabled","tabIndex","required","change","click"],["input",""],["mat-ripple","",1,"mat-radio-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered","matRippleRadius","matRippleAnimation"],[1,"mat-ripple-element","mat-radio-persistent-ripple"],[1,"mat-radio-label-content"],[2,"display","none"]],template:function(t,e){if(1&t&&(i.mc(),i.Tb(0,"label",0,1),i.Tb(2,"span",2),i.Ob(3,"span",3),i.Ob(4,"span",4),i.Tb(5,"input",5,6),i.bc("change",function(t){return e._onInputChange(t)})("click",function(t){return e._onInputClick(t)}),i.Sb(),i.Tb(7,"span",7),i.Ob(8,"span",8),i.Sb(),i.Sb(),i.Tb(9,"span",9),i.Tb(10,"span",10),i.Hc(11,"\xa0"),i.Sb(),i.lc(12),i.Sb(),i.Sb()),2&t){const t=i.vc(1);i.Db("for",e.inputId),i.Cb(5),i.nc("id",e.inputId)("checked",e.checked)("disabled",e.disabled)("tabIndex",e.tabIndex)("required",e.required),i.Db("name",e.name)("value",e.value)("aria-label",e.ariaLabel)("aria-labelledby",e.ariaLabelledby)("aria-describedby",e.ariaDescribedby),i.Cb(2),i.nc("matRippleTrigger",t)("matRippleDisabled",e._isRippleDisabled())("matRippleCentered",!0)("matRippleRadius",20)("matRippleAnimation",i.rc(18,u)),i.Cb(2),i.Fb("mat-radio-label-before","before"==e.labelPosition)}},directives:[a.r],styles:[".mat-radio-button{display:inline-block;-webkit-tap-highlight-color:transparent;outline:0}.mat-radio-label{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;display:inline-flex;align-items:center;white-space:nowrap;vertical-align:middle;width:100%}.mat-radio-container{box-sizing:border-box;display:inline-block;position:relative;width:20px;height:20px;flex-shrink:0}.mat-radio-outer-circle{box-sizing:border-box;display:block;height:20px;left:0;position:absolute;top:0;transition:border-color ease 280ms;width:20px;border-width:2px;border-style:solid;border-radius:50%}._mat-animation-noopable .mat-radio-outer-circle{transition:none}.mat-radio-inner-circle{border-radius:50%;box-sizing:border-box;display:block;height:20px;left:0;position:absolute;top:0;transition:transform ease 280ms,background-color ease 280ms;width:20px;transform:scale(0.001)}._mat-animation-noopable .mat-radio-inner-circle{transition:none}.mat-radio-checked .mat-radio-inner-circle{transform:scale(0.5)}.cdk-high-contrast-active .mat-radio-checked .mat-radio-inner-circle{border:solid 10px}.mat-radio-label-content{-webkit-user-select:auto;-moz-user-select:auto;-ms-user-select:auto;user-select:auto;display:inline-block;order:0;line-height:inherit;padding-left:8px;padding-right:0}[dir=rtl] .mat-radio-label-content{padding-right:8px;padding-left:0}.mat-radio-label-content.mat-radio-label-before{order:-1;padding-left:0;padding-right:8px}[dir=rtl] .mat-radio-label-content.mat-radio-label-before{padding-right:0;padding-left:8px}.mat-radio-disabled,.mat-radio-disabled .mat-radio-label{cursor:default}.mat-radio-button .mat-radio-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-radio-button .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple){opacity:.16}.mat-radio-persistent-ripple{width:100%;height:100%;transform:none}.mat-radio-container:hover .mat-radio-persistent-ripple{opacity:.04}.mat-radio-button:not(.mat-radio-disabled).cdk-keyboard-focused .mat-radio-persistent-ripple,.mat-radio-button:not(.mat-radio-disabled).cdk-program-focused .mat-radio-persistent-ripple{opacity:.12}.mat-radio-persistent-ripple,.mat-radio-disabled .mat-radio-container:hover .mat-radio-persistent-ripple{opacity:0}@media(hover: none){.mat-radio-container:hover .mat-radio-persistent-ripple{display:none}}.mat-radio-input{bottom:0;left:50%}.cdk-high-contrast-active .mat-radio-disabled{opacity:.5}\n"],encapsulation:2,changeDetection:0}),t})(),O=(()=>{class t{}return t.\u0275mod=i.Lb({type:t}),t.\u0275inj=i.Kb({factory:function(e){return new(e||t)},imports:[[a.s,a.j],a.j]}),t})()},zR8O:function(t,e,n){"use strict";n.d(e,"a",function(){return A}),n.d(e,"b",function(){return D}),n.d(e,"c",function(){return R}),n.d(e,"d",function(){return P}),n.d(e,"e",function(){return L}),n.d(e,"f",function(){return I});var i=n("SVse"),a=n("8Y7J"),r=n("XNiG"),o=n("HDdC"),s=n("LRne"),l=n("xgIS"),c=n("D0XW"),d=n("Y7HM");function u(t){const{subscriber:e,counter:n,period:i}=t;e.next(n),this.schedule({subscriber:e,counter:n+1,period:i},i)}var h=n("VRyK"),m=n("EY2u"),p=n("1G5W"),f=n("CqXF"),g=n("JX91"),b=n("eIep");const _=["ngucarousel"],y=["nguItemsContainer"],v=["touchContainer"],C=[[["","NguCarouselPrev",""]],[["","NguCarouselNext",""]],[["","NguCarouselPoint",""]]],w=["[NguCarouselPrev]","[NguCarouselNext]","[NguCarouselPoint]"],x=["*"];class M{}class O{}class k{constructor(t=0,e=0,n=0,i=0,a=0){this.xs=t,this.sm=e,this.md=n,this.lg=i,this.all=a,this.xl=0}}class S{constructor(t=768,e=992,n=1200,i=1200){this.sm=t,this.md=e,this.lg=n,this.xl=i}}class T{constructor(t){this.$implicit=t}}let P=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=a.Ib({type:t,selectors:[["","NguCarouselNext",""]]}),t})(),L=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=a.Ib({type:t,selectors:[["","NguCarouselPrev",""]]}),t})(),D=(()=>{class t{constructor(t){this.template=t}}return t.\u0275fac=function(e){return new(e||t)(a.Nb(a.N))},t.\u0275dir=a.Ib({type:t,selectors:[["","nguCarouselDef",""]]}),t})(),E=(()=>{class t{constructor(t){this.viewContainer=t}}return t.\u0275fac=function(e){return new(e||t)(a.Nb(a.R))},t.\u0275dir=a.Ib({type:t,selectors:[["","nguCarouselOutlet",""]]}),t})(),A=(()=>{class t extends class{constructor(t=new O,e=new M,n,i=new k,a,r,o,s="fixed",l="",c=0,d=0,u=0,h=0,m=0,p=0,f=0,g=0,b=0,_="cubic-bezier(0, 0, 0.2, 1)",y=200,v=!1,C=0,w=0,x=!1,S=!0,T=!1,P=!1,L=!0,D=1){this.touch=t,this.vertical=e,this.interval=n,this.transform=i,this.button=a,this.visibleItems=r,this.deviceType=o,this.type=s,this.token=l,this.items=c,this.load=d,this.deviceWidth=u,this.carouselWidth=h,this.itemWidth=m,this.slideItems=p,this.itemWidthPer=f,this.itemLength=g,this.currentSlide=b,this.easing=_,this.speed=y,this.loop=v,this.dexVal=C,this.touchTransform=w,this.isEnd=x,this.isFirst=S,this.isLast=T,this.RTL=P,this.point=L,this.velocity=D}}{constructor(t,e,n,i,o){super(),this._el=t,this._renderer=e,this._differs=n,this.platformId=i,this.cdr=o,this.withAnim=!0,this.isHovered=!1,this.carouselLoad=new a.o,this.onMove=new a.o,this._intervalController$=new r.a,this.pointNumbers=[]}get dataSource(){return this._dataSource}set dataSource(t){t&&this._switchDataSource(t)}set nextBtn(t){this.listener2&&this.listener2(),t&&(this.listener2=this._renderer.listen(t.nativeElement,"click",()=>this._carouselScrollOne(1)))}set prevBtn(t){this.listener1&&this.listener1(),t&&(this.listener1=this._renderer.listen(t.nativeElement,"click",()=>this._carouselScrollOne(0)))}get trackBy(){return this._trackByFn}set trackBy(t){Object(a.X)()&&null!=t&&"function"!=typeof t&&console&&console.warn&&console.warn(`trackBy must be a function, but received ${JSON.stringify(t)}.`),this._trackByFn=t}ngOnInit(){this._dataDiffer=this._differs.find([]).create((t,e)=>this.trackBy?this.trackBy(t,e):e)}ngDoCheck(){this.arrayChanges=this._dataDiffer.diff(this.dataSource),this.arrayChanges&&this._defDirec&&this._observeRenderChanges()}_switchDataSource(t){this._dataSource=t,this._defDirec&&this._observeRenderChanges()}_observeRenderChanges(){let t;this._dataSource instanceof o.a?t=this._dataSource:Array.isArray(this._dataSource)&&(t=Object(s.a)(this._dataSource)),t&&(this._dataSubscription=t.pipe(Object(p.a)(this._intervalController$)).subscribe(t=>{this.renderNodeChanges(t),this.isLast=!1}))}renderNodeChanges(t,e=this._nodeOutlet.viewContainer){this.arrayChanges&&(this.arrayChanges.forEachOperation((n,i,a)=>{const r=this._getNodeDef(t[a],a);if(null==n.previousIndex){const n=new T(t[a]);n.index=a,e.createEmbeddedView(r.template,n,a)}else if(null==a)e.remove(i);else{const t=e.get(i);e.move(t,a)}}),this._updateItemIndexContext(),this.carousel&&this._storeCarouselData())}_updateItemIndexContext(){const t=this._nodeOutlet.viewContainer;for(let e=0,n=t.length;e<n;e++){const i=t.get(e).context;i.count=n,i.first=0===e,i.last=e===n-1,i.even=e%2==0,i.odd=!i.even,i.index=e}}_getNodeDef(t,e){return 1===this._defDirec.length?this._defDirec.first:this._defDirec.find(n=>n.when&&n.when(e,t))||this._defaultNodeDef}ngAfterViewInit(){this.carousel=this._el.nativeElement,this._inputValidation(),this.carouselCssNode=this._createStyleElem(),Object(i.v)(this.platformId)&&(this._carouselInterval(),this.vertical.enabled||this._touch(),this.listener3=this._renderer.listen("window","resize",t=>{this._onResizing(t)}),this._onWindowScrolling())}ngAfterContentInit(){this._observeRenderChanges(),this.cdr.markForCheck()}_inputValidation(){this.inputs.gridBreakpoints=this.inputs.gridBreakpoints?this.inputs.gridBreakpoints:new S,void 0===this.inputs.grid.xl&&(this.inputs.grid.xl=this.inputs.grid.lg),this.type=0!==this.inputs.grid.all?"fixed":"responsive",this.loop=this.inputs.loop||!1,this.inputs.easing=this.inputs.easing||"cubic-bezier(0, 0, 0.2, 1)",this.touch.active=this.inputs.touch||!1,this.RTL=!!this.inputs.RTL,this.interval=this.inputs.interval||null,this.velocity="number"==typeof this.inputs.velocity?this.inputs.velocity:this.velocity,this.inputs.vertical&&this.inputs.vertical.enabled&&(this.vertical.enabled=this.inputs.vertical.enabled,this.vertical.height=this.inputs.vertical.height),this.directionSym=this.RTL?"":"-",this.point=!this.inputs.point||void 0===this.inputs.point.visible||this.inputs.point.visible,this._carouselSize()}ngOnDestroy(){this.carouselInt&&this.carouselInt.unsubscribe(),this._intervalController$.unsubscribe(),this.carouselLoad.complete(),this.onMove.complete(),clearTimeout(this.onScrolling);for(let t=1;t<=4;t++){const e=`listener${t}`;this[e]&&this[e]()}}_onResizing(t){clearTimeout(this.onResize),this.onResize=setTimeout(()=>{this.deviceWidth!==t.target.outerWidth&&(this._setStyle(this.nguItemsContainer.nativeElement,"transition",""),this._storeCarouselData())},500)}_touch(){this.inputs.touch&&n.e(5).then(n.t.bind(null,"yLV6",7)).then(()=>{const t=new Hammer(this.touchContainer.nativeElement);t.get("pan").set({direction:Hammer.DIRECTION_HORIZONTAL}),t.on("panstart",t=>{this.carouselWidth=this.nguItemsContainer.nativeElement.offsetWidth,this.touchTransform=this.transform[this.deviceType],this.dexVal=0,this._setStyle(this.nguItemsContainer.nativeElement,"transition","")}),this.vertical.enabled?(t.on("panup",t=>{this._touchHandling("panleft",t)}),t.on("pandown",t=>{this._touchHandling("panright",t)})):(t.on("panleft",t=>{this._touchHandling("panleft",t)}),t.on("panright",t=>{this._touchHandling("panright",t)})),t.on("panend pancancel",t=>{if(Math.abs(t.velocity)>=this.velocity){this.touch.velocity=t.velocity;let e=0;e=this.RTL?"panright"===this.touch.swipe?1:0:"panright"===this.touch.swipe?0:1,this._carouselScrollOne(e)}else this.dexVal=0,this._setStyle(this.nguItemsContainer.nativeElement,"transition","transform 324ms cubic-bezier(0, 0, 0.2, 1)"),this._setStyle(this.nguItemsContainer.nativeElement,"transform","")}),t.on("hammer.input",t=>{t.srcEvent.stopPropagation()})})}_touchHandling(t,e){if(0===e.center.x)return;let n=(e=Math.abs(this.vertical.enabled?e.deltaY:e.deltaX))-this.dexVal;n="responsive"===this.type?Math.abs(e-this.dexVal)/(this.vertical.enabled?this.vertical.height:this.carouselWidth)*100:n,this.dexVal=e,this.touch.swipe=t,this._setTouchTransfrom(t,n),this._setTransformFromTouch()}_setTouchTransfrom(t,e){this.touchTransform=t===(this.RTL?"panright":"panleft")?e+this.touchTransform:this.touchTransform-e}_setTransformFromTouch(){this.touchTransform<0&&(this.touchTransform=0);const t="responsive"===this.type?"%":"px";this._setStyle(this.nguItemsContainer.nativeElement,"transform",this.vertical.enabled?`translate3d(0, ${this.directionSym}${this.touchTransform}${t}, 0)`:`translate3d(${this.directionSym}${this.touchTransform}${t}, 0, 0)`)}_onWindowScrolling(){const t=this.carousel.offsetTop,e=window.scrollY,n=window.innerHeight,i=this.carousel.offsetHeight;this._intervalController$.next(t<=e+n-i/4&&t+i/2>=e?1:0)}_storeCarouselData(){const t=this.inputs.gridBreakpoints;this.deviceWidth=Object(i.v)(this.platformId)?window.innerWidth:t.xl,this.carouselWidth=this.carouselMain1.nativeElement.offsetWidth,"responsive"===this.type?(this.deviceType=this.deviceWidth>=t.xl?"xl":this.deviceWidth>=t.lg?"lg":this.deviceWidth>=t.md?"md":this.deviceWidth>=t.sm?"sm":"xs",this.items=this.inputs.grid[this.deviceType],this.itemWidth=this.carouselWidth/this.items):(this.items=Math.trunc(this.carouselWidth/this.inputs.grid.all),this.itemWidth=this.inputs.grid.all,this.deviceType="all"),this.slideItems=+(this.inputs.slide<this.items?this.inputs.slide:this.items),this.load=this.inputs.load>=this.slideItems?this.inputs.load:this.slideItems,this.speed=this.inputs.speed&&this.inputs.speed>-1?this.inputs.speed:400,this._carouselPoint()}reset(t){t&&(this.withAnim=!1),this.carouselCssNode.innerHTML="",this.moveTo(0),this._carouselPoint()}_carouselPoint(){this.pointIndex=Math.ceil((this.dataSource.length-(this.items-this.slideItems))/this.slideItems);const t=[];if(this.pointIndex>1||!this.inputs.point.hideOnSingleSlide)for(let e=0;e<this.pointIndex;e++)t.push(e);this.pointNumbers=t,this._carouselPointActiver(),this.pointIndex<=1?this._btnBoolean(1,1):this._btnBoolean(0!==this.currentSlide||this.loop?0:1,0)}_carouselPointActiver(){const t=Math.ceil(this.currentSlide/this.slideItems);this.activePoint=t,this.cdr.markForCheck()}moveTo(t,e){if(e&&(this.withAnim=!1),this.activePoint!==t&&t<this.pointIndex){let e;const n=this.currentSlide<t?1:0;switch(t){case 0:this._btnBoolean(1,0),e=t*this.slideItems;break;case this.pointIndex-1:this._btnBoolean(0,1),e=this.dataSource.length-this.items;break;default:this._btnBoolean(0,0),e=t*this.slideItems}this._carouselScrollTwo(n,e,this.speed)}}_carouselSize(){this.token=this._generateID();let t="";this.styleid=`.${this.token} > .ngucarousel > .ngu-touch-container > .ngucarousel-items`,"banner"===this.inputs.custom&&this._renderer.addClass(this.carousel,"banner"),"lazy"===this.inputs.animation&&(t+=`${this.styleid} > .item {transition: transform .6s ease;}`);const e=this.inputs.gridBreakpoints;let n="";n=this.vertical.enabled?`@media (max-width:${e.sm-1}px){${this.styleid} > .item {height: ${this.vertical.height/+this.inputs.grid.xs}px}}\n @media (max-width:${e.sm}px){${this.styleid} > .item {height: ${this.vertical.height/+this.inputs.grid.sm}px}}\n @media (min-width:${e.md}px){${this.styleid} > .item {height: ${this.vertical.height/+this.inputs.grid.md}px}}\n @media (min-width:${e.lg}px){${this.styleid} > .item {height: ${this.vertical.height/+this.inputs.grid.lg}px}}\n @media (min-width:${e.xl}px){${this.styleid} > .item {height: ${this.vertical.height/+this.inputs.grid.xl}px}}`:"responsive"===this.type?`@media (max-width:${e.sm-1}px){${"mobile"===this.inputs.type?`${this.styleid} .item {flex: 0 0 ${95/+this.inputs.grid.xs}%; width: ${95/+this.inputs.grid.xs}%;}`:`${this.styleid} .item {flex: 0 0 ${100/+this.inputs.grid.xs}%; width: ${100/+this.inputs.grid.xs}%;}`}}\n @media (min-width:${e.sm}px){${this.styleid} > .item {flex: 0 0 ${100/+this.inputs.grid.sm}%; width: ${100/+this.inputs.grid.sm}%}}\n @media (min-width:${e.md}px){${this.styleid} > .item {flex: 0 0 ${100/+this.inputs.grid.md}%; width: ${100/+this.inputs.grid.md}%}}\n @media (min-width:${e.lg}px){${this.styleid} > .item {flex: 0 0 ${100/+this.inputs.grid.lg}%; width: ${100/+this.inputs.grid.lg}%}}\n @media (min-width:${e.xl}px){${this.styleid} > .item {flex: 0 0 ${100/+this.inputs.grid.xl}%; width: ${100/+this.inputs.grid.xl}%}}`:`${this.styleid} .item {flex: 0 0 ${this.inputs.grid.all}px; width: ${this.inputs.grid.all}px;}`,this._renderer.addClass(this.carousel,this.token),this.vertical.enabled&&(this._renderer.addClass(this.nguItemsContainer.nativeElement,"nguvertical"),this._renderer.setStyle(this.carouselMain1.nativeElement,"height",`${this.vertical.height}px`)),this.RTL&&!this.vertical.enabled&&this._renderer.addClass(this.carousel,"ngurtl"),this._createStyleElem(`${t} ${n}`),this._storeCarouselData()}_carouselScrollOne(t){let e=this.speed,n=0,i=0;const a=Math.ceil(this.dexVal/this.itemWidth);if(this._setStyle(this.nguItemsContainer.nativeElement,"transform",""),1!==this.pointIndex)if(0!==t||(this.loop||this.isFirst)&&!this.loop)1!==t||(this.loop||this.isLast)&&!this.loop||(this.dataSource.length<=this.currentSlide+this.items+this.slideItems&&!this.isLast?(i=this.dataSource.length-this.items,this._btnBoolean(0,1)):this.isLast?(i=n=0,e=400,this._btnBoolean(1,0)):(this._btnBoolean(0,0),a>this.slideItems?(i=this.currentSlide+this.slideItems+(a-this.slideItems),e=200):i=this.currentSlide+this.slideItems),this._carouselScrollTwo(t,i,e));else{const r=this.currentSlide-this.slideItems+this.slideItems;this._btnBoolean(0,1),0===this.currentSlide?(i=this.dataSource.length-this.items,e=400,this._btnBoolean(0,1)):this.slideItems>=r?(i=n=0,this._btnBoolean(1,0)):(this._btnBoolean(0,0),a>this.slideItems?(i=this.currentSlide-a,e=200):i=this.currentSlide-this.slideItems),this._carouselScrollTwo(t,i,e)}}_carouselScrollTwo(t,e,n){if(0!==this.dexVal){const t=Math.abs(this.touch.velocity);let e=Math.floor(this.dexVal/t/this.dexVal*(this.deviceWidth-this.dexVal));e=e>n?n:e,n=e<200?200:e,this.dexVal=0}this.withAnim?(this._setStyle(this.nguItemsContainer.nativeElement,"transition",`transform ${n}ms ${this.inputs.easing}`),this.inputs.animation&&this._carouselAnimator(t,e+1,e+this.items,n,Math.abs(this.currentSlide-e))):this._setStyle(this.nguItemsContainer.nativeElement,"transition",""),this.itemLength=this.dataSource.length,this._transformStyle(e),this.currentSlide=e,this.onMove.emit(this),this._carouselPointActiver(),this._carouselLoadTrigger(),this.withAnim=!0}_btnBoolean(t,e){this.isFirst=!!t,this.isLast=!!e}_transformString(t,e){let n="";return n+=`${this.styleid} { transform: translate3d(`,this.vertical.enabled?(this.transform[t]=this.vertical.height/this.inputs.grid[t]*e,n+=`0, -${this.transform[t]}px, 0`):(this.transform[t]=100/this.inputs.grid[t]*e,n+=`${this.directionSym}${this.transform[t]}%, 0, 0`),n+="); }",n}_transformStyle(t){let e="";if("responsive"===this.type){const n=this.inputs.gridBreakpoints;e=`@media (max-width: ${n.sm-1}px) {${this._transformString("xs",t)}}\n @media (min-width: ${n.sm}px) {${this._transformString("sm",t)} }\n @media (min-width: ${n.md}px) {${this._transformString("md",t)} }\n @media (min-width: ${n.lg}px) {${this._transformString("lg",t)} }\n @media (min-width: ${n.xl}px) {${this._transformString("xl",t)} }`}else this.transform.all=this.inputs.grid.all*t,e=`${this.styleid} { transform: translate3d(${this.directionSym}${this.transform.all}px, 0, 0);`;this.carouselCssNode.textContent=e}_carouselLoadTrigger(){"number"==typeof this.inputs.load&&this.dataSource.length-this.load<=this.currentSlide+this.items&&this.carouselLoad.emit(this.currentSlide)}_generateID(){let t="";const e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";for(let n=0;n<6;n++)t+=e.charAt(Math.floor(Math.random()*e.length));return`ngucarousel${t}`}_carouselInterval(){const t=this.carouselMain1.nativeElement;if(this.interval&&this.loop){this.listener4=this._renderer.listen("window","scroll",()=>{clearTimeout(this.onScrolling),this.onScrolling=setTimeout(()=>{this._onWindowScrolling()},600)});const e=Object(l.a)(t,"mouseleave").pipe(Object(f.a)(1)),n=Object(l.a)(t,"mouseenter").pipe(Object(f.a)(0)),i=Object(l.a)(t,"touchstart").pipe(Object(f.a)(1)),a=Object(l.a)(t,"touchend").pipe(Object(f.a)(0)),r=function(t=0,e=c.a){return(!Object(d.a)(t)||t<0)&&(t=0),e&&"function"==typeof e.schedule||(e=c.a),new o.a(n=>(n.add(e.schedule(u,t,{subscriber:n,counter:0,period:t})),n))}(this.inputs.interval.timing).pipe(Object(f.a)(1));setTimeout(()=>{this.carouselInt=Object(h.a)(e,i,n,a,this._intervalController$).pipe(Object(g.a)(1),Object(b.a)(t=>(this.isHovered=!t,this.cdr.markForCheck(),t?r:m.a))).subscribe(t=>{this._carouselScrollOne(1)})},this.interval.initialDelay)}}_updateItemIndexContextAni(){const t=this._nodeOutlet.viewContainer;for(let e=0,n=t.length;e<n;e++){const i=t.get(e).context;i.count=n,i.first=0===e,i.last=e===n-1,i.even=e%2==0,i.odd=!i.even,i.index=e}}_carouselAnimator(t,e,n,i,a,r=this._nodeOutlet.viewContainer){let o=a<5?a:5;o=1===o?3:o;const s=[];if(1===t)for(let l=e-1;l<n;l++)s.push(l),o*=2,r.get(l).context.animate={value:!0,params:{distance:o}};else for(let l=n-1;l>=e-1;l--)s.push(l),o*=2,r.get(l).context.animate={value:!0,params:{distance:-o}};this.cdr.markForCheck(),setTimeout(()=>{this._removeAnimations(s)},.7*i)}_removeAnimations(t){const e=this._nodeOutlet.viewContainer;t.forEach(t=>{e.get(t).context.animate={value:!1,params:{distance:0}}}),this.cdr.markForCheck()}_setStyle(t,e,n){this._renderer.setStyle(t,e,n)}_createStyleElem(t){const e=this._renderer.createElement("style");if(t){const n=this._renderer.createText(t);this._renderer.appendChild(e,n)}return this._renderer.appendChild(this.carousel,e),e}}return t.\u0275fac=function(e){return new(e||t)(a.Nb(a.l),a.Nb(a.G),a.Nb(a.u),a.Nb(a.D),a.Nb(a.h))},t.\u0275cmp=a.Hb({type:t,selectors:[["ngu-carousel"]],contentQueries:function(t,e,n){if(1&t&&(a.Gb(n,P,1,a.l),a.Gb(n,L,1,a.l),a.Gb(n,D,0)),2&t){let t;a.uc(t=a.cc())&&(e.nextBtn=t.first),a.uc(t=a.cc())&&(e.prevBtn=t.first),a.uc(t=a.cc())&&(e._defDirec=t)}},viewQuery:function(t,e){if(1&t&&(a.Lc(E,3),a.Lc(_,3,a.l),a.Lc(y,3,a.l),a.Lc(v,3,a.l)),2&t){let t;a.uc(t=a.cc())&&(e._nodeOutlet=t.first),a.uc(t=a.cc())&&(e.carouselMain1=t.first),a.uc(t=a.cc())&&(e.nguItemsContainer=t.first),a.uc(t=a.cc())&&(e.touchContainer=t.first)}},inputs:{dataSource:"dataSource",trackBy:"trackBy",inputs:"inputs"},outputs:{carouselLoad:"carouselLoad",onMove:"onMove"},features:[a.zb],ngContentSelectors:w,decls:11,vars:0,consts:[[1,"ngucarousel"],["ngucarousel",""],[1,"ngu-touch-container"],["touchContainer",""],[1,"ngucarousel-items"],["nguItemsContainer",""],["nguCarouselOutlet",""],[1,"nguclearFix"]],template:function(t,e){1&t&&(a.mc(C),a.Tb(0,"div",0,1),a.lc(2),a.Tb(3,"div",2,3),a.Tb(5,"div",4,5),a.Pb(7,6),a.Sb(),a.Sb(),a.Ob(8,"div",7),a.lc(9,1),a.Sb(),a.lc(10,2))},directives:[E],styles:["[_nghost-%COMP%]{display:block;position:relative}.ngurtl[_nghost-%COMP%]{direction:rtl}.ngucarousel[_ngcontent-%COMP%]{height:100%;overflow:hidden;position:relative}.ngucarousel[_ngcontent-%COMP%] .ngucarousel-items[_ngcontent-%COMP%]{display:flex;height:100%;position:relative}.nguvertical[_ngcontent-%COMP%]{flex-direction:column}.banner[_ngcontent-%COMP%] .ngucarouselPointDefault[_ngcontent-%COMP%] .ngucarouselPoint[_ngcontent-%COMP%]{bottom:20px;position:absolute;width:100%}.banner[_ngcontent-%COMP%] .ngucarouselPointDefault[_ngcontent-%COMP%] .ngucarouselPoint[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{background:hsla(0,0%,100%,.55)}.banner[_ngcontent-%COMP%] .ngucarouselPointDefault[_ngcontent-%COMP%] .ngucarouselPoint[_ngcontent-%COMP%] li.active[_ngcontent-%COMP%]{background:#fff}.banner[_ngcontent-%COMP%] .ngucarouselPointDefault[_ngcontent-%COMP%] .ngucarouselPoint[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:hover{cursor:pointer}.ngucarouselPointDefault[_ngcontent-%COMP%] .ngucarouselPoint[_ngcontent-%COMP%]{box-sizing:border-box;list-style-type:none;margin:0;overflow:auto;padding:12px;text-align:center;white-space:nowrap}.ngucarouselPointDefault[_ngcontent-%COMP%] .ngucarouselPoint[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{background:rgba(0,0,0,.55);border-radius:50%;display:inline-block;margin:0 4px;padding:4px;transition:.4s;transition-timing-function:cubic-bezier(.17,.67,.83,.67)}.ngucarouselPointDefault[_ngcontent-%COMP%] .ngucarouselPoint[_ngcontent-%COMP%] li.active[_ngcontent-%COMP%]{background:#6b6b6b;transform:scale(1.8)}.ngucarouselPointDefault[_ngcontent-%COMP%] .ngucarouselPoint[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:hover{cursor:pointer}.nguclearFix[_ngcontent-%COMP%]{clear:both}"],changeDetection:0}),t})(),I=(()=>{class t{constructor(){this.classes=!0}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=a.Hb({type:t,selectors:[["ngu-tile"]],hostVars:2,hostBindings:function(t,e){2&t&&a.Fb("item",e.classes)},ngContentSelectors:x,decls:2,vars:0,consts:[[1,"tile"]],template:function(t,e){1&t&&(a.mc(),a.Tb(0,"div",0),a.lc(1),a.Sb())},styles:["[_nghost-%COMP%]{box-sizing:border-box;padding:10px}.tile[_ngcontent-%COMP%]{box-shadow:0 2px 5px 0 rgba(0,0,0,.16),0 2px 10px 0 rgba(0,0,0,.12)}"]}),t})(),R=(()=>{class t{}return t.\u0275mod=a.Lb({type:t}),t.\u0275inj=a.Kb({factory:function(e){return new(e||t)},imports:[[i.c]]}),t})()},zUnb:function(t,e,n){"use strict";n.r(e);var i=n("cUpR"),a=n("8Y7J"),r=n("omvX"),o=n("TSSN"),s=n("Lyw/"),l=n("iInd"),c=n("zfSa"),d=n("qh/L"),u=n("f4AX");let h=(()=>{class t{constructor(t,e,n){this.sessionService=t,this.userService=e,this.router=n}canActivate(t,e){if(this.sessionService.isLogged){const e=t.data.roles;return!e||0===e.length||!!e.includes(this.userService.role)||(this.router.navigate(["/home"]),!1)}return this.router.navigate(["/auth/login"]),!1}canActivateChild(t,e){return this.canActivate(t,e)}}return t.\u0275fac=function(e){return new(e||t)(a.Xb(d.a),a.Xb(u.a),a.Xb(l.f))},t.\u0275prov=a.Jb({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const m=[{path:"",redirectTo:"home",pathMatch:"full"},{path:"home",loadChildren:()=>Promise.resolve().then(n.bind(null,"99Un")).then(t=>t.HomeModule),canActivate:[h]},{path:"auth",loadChildren:()=>Promise.resolve().then(n.bind(null,"lBUW")).then(t=>t.AuthModule)},{path:"inscription",loadChildren:()=>Promise.resolve().then(n.bind(null,"4Smk")).then(t=>t.InscriptionModule)},{path:"compte",loadChildren:()=>Promise.resolve().then(n.bind(null,"3+fm")).then(t=>t.CompteModule),canActivate:[h]},{path:"declaration-access",loadChildren:()=>Promise.resolve().then(n.bind(null,"0j+H")).then(t=>t.DeclarationAccessModule),canActivate:[h],data:{roles:[c.a.DONNEUR_ORDRE]}},{path:"demande-acces",loadChildren:()=>Promise.resolve().then(n.bind(null,"NTaR")).then(t=>t.DemandeAccesModule),canActivate:[h],data:{roles:[c.a.ENTREPRISE,c.a.MANDATAIRE]}},{path:"dpd",loadChildren:()=>Promise.resolve().then(n.bind(null,"ZIcu")).then(t=>t.DpdModule),canActivate:[h]},{path:"faq",loadChildren:()=>Promise.resolve().then(n.bind(null,"BhQr")).then(t=>t.FaqModule)},{path:"legals",loadChildren:()=>Promise.resolve().then(n.bind(null,"TGtj")).then(t=>t.LegalsModule)},{path:"contact",loadChildren:()=>Promise.resolve().then(n.bind(null,"14/Y")).then(t=>t.ContactModule)},{path:"news/:id",loadChildren:()=>Promise.resolve().then(n.bind(null,"qUUn")).then(t=>t.NewsModule),canActivate:[h]},{path:"**",redirectTo:"home",pathMatch:"full"}];let p=(()=>{class t{}return t.\u0275mod=a.Lb({type:t}),t.\u0275inj=a.Kb({factory:function(e){return new(e||t)},imports:[[l.j.forRoot(m,{enableTracing:!1,onSameUrlNavigation:"reload",useHash:!0,scrollPositionRestoration:"enabled",anchorScrolling:"enabled",scrollOffset:[0,100],relativeLinkResolution:"legacy"})],l.j]}),t})();var f=n("cXaA"),g=n("1uah"),b=n("LRne"),_=n("JIr8"),y=n("IGtN"),v=n("lxpx"),C=n("WiJD"),w=n("SVse"),x=n("g1kL"),M=n("aZ8m"),O=n("aF9I");function k(t,e){1&t&&a.Ob(0,"app-header",6)}function S(t,e){1&t&&(a.Ob(0,"div",7),a.gc(1,"translate")),2&t&&a.nc("innerHtml",a.hc(1,1,"common.alert.browser"),a.zc)}function T(t,e){1&t&&(a.Rb(0),a.Ob(1,"router-outlet"),a.Qb())}function P(t,e){1&t&&(a.Tb(0,"h1"),a.Hc(1,"Une erreur est survenue lors du chargement des donn\xe9es du serveur"),a.Sb())}function L(t,e){1&t&&a.Ob(0,"app-footer",8)}let D=(()=>{class t extends y.a{constructor(t,e,n){super(t),this.translateService=t,this.translationService=e,this.configurationService=n,this.log=f.a.create("AppComponent"),this.title="Sipsi",this.constructorDone=!1,this.errorLoading=!1,null===localStorage.getItem("lang")&&localStorage.setItem("lang",this.translateService.getBrowserLang())}load(){Object(g.a)(this.translationService.init(),this.configurationService.getData(),this.configurationService.getVersion()).pipe(Object(_.a)(t=>(this.log.error(t),this.constructorDone=!0,this.errorLoading=!0,this.postLoading(),Object(b.a)(t)))).subscribe(t=>{this.constructorDone=!0,this.postLoading()})}postLoading(){if(this.constructorDone){const t=document.getElementById("app-root"),e=document.getElementById("loading");t.style.display="flex",e.style.display="none"}}checkBrowserIsIE(){const t=window.navigator.userAgent;return t.indexOf("MSIE ")>-1||t.indexOf("Trident/")>-1}}return t.\u0275fac=function(e){return new(e||t)(a.Nb(o.d),a.Nb(v.a),a.Nb(C.a))},t.\u0275cmp=a.Hb({type:t,selectors:[["app-root"]],features:[a.zb],decls:8,vars:5,consts:[["role","banner",4,"ngIf"],["role","main",1,"wrapper"],["class","alert",3,"innerHtml",4,"ngIf"],[4,"ngIf","ngIfElse"],["errorLoadLanguage",""],["role","contentinfo",4,"ngIf"],["role","banner"],[1,"alert",3,"innerHtml"],["role","contentinfo"]],template:function(t,e){if(1&t&&(a.Fc(0,k,1,0,"app-header",0),a.Tb(1,"main",1),a.Ob(2,"app-progress-bar"),a.Fc(3,S,2,3,"div",2),a.Fc(4,T,2,0,"ng-container",3),a.Fc(5,P,2,0,"ng-template",null,4,a.Gc),a.Sb(),a.Fc(7,L,1,0,"app-footer",5)),2&t){const t=a.vc(6);a.nc("ngIf",e.constructorDone&&!e.errorLoading),a.Cb(3),a.nc("ngIf",e.checkBrowserIsIE()),a.Cb(1),a.nc("ngIf",e.constructorDone&&!e.errorLoading)("ngIfElse",t),a.Cb(3),a.nc("ngIf",e.constructorDone&&!e.errorLoading)}},directives:[w.l,x.a,M.a,l.k,O.a],pipes:[o.c],styles:[".wrapper[_ngcontent-%COMP%]{-ms-flex:1 0 auto;flex:1 0 auto;-ms-flex-direction:column;flex-direction:column;display:-ms-flexbox;display:flex;margin-top:7rem} .infobulle_sipsi{background-color:#deb887!important;color:#000!important}.alert[_ngcontent-%COMP%]{background-color:#8b0000;text-align:center;color:#fff;font-size:x-large;font-weight:700}"]}),t})();var E=n("IheW"),A=n("z6cu"),I=n("DGrs"),R=n("iELJ"),N=n("ROBU");let Y=(()=>{class t{constructor(t,e){this.dialog=t,this.sharedErrorService=e,this.whiteList=[400,401,403,404,410,502]}handleError(t){console.error(t),-1!==this.whiteList.indexOf(t.status)||t.url&&(-1!==t.url.indexOf("api/tva")||-1!==t.url.indexOf("api/sirets"))||(this.dialogRef||(this.dialogRef=this.dialog.open(I.a),this.sub&&this.sub.unsubscribe(),this.sub=this.dialogRef.afterClosed().subscribe(()=>{this.dialogRef=null})),this.sharedErrorService.onErrors.next(t))}}return t.\u0275fac=function(e){return new(e||t)(a.Xb(R.b),a.Xb(N.a))},t.\u0275prov=a.Jb({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),H=(()=>{class t{constructor(t){this.errorHandler=t,this.log=f.a.create("HttpErrorInterceptor")}intercept(t,e){return e.handle(t).pipe(Object(_.a)(t=>(this.log.error("Handler error intercepted"),t instanceof E.d&&this.errorHandler.handleError(t),Object(A.a)(t))))}}return t.\u0275fac=function(e){return new(e||t)(a.Xb(Y))},t.\u0275prov=a.Jb({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),j=(()=>{class t{constructor(t){this.sessionService=t,this.log=f.a.create("JWTInterceptor")}intercept(t,e){return t.headers&&null==t.headers.get("Accept-Language")&&(t=t.clone({headers:t.headers.set("Accept-Language",localStorage.getItem("lang"))})),this.sessionService.isLogged&&(t=t.clone({headers:t.headers.set("Authorization",`Bearer ${this.sessionService.securityToken}`)})),e.handle(t).pipe(Object(_.a)(t=>(this.log.error("JWTInterceptor error intercepted"),t instanceof E.d&&401===t.status&&(this.log.data("Auth JWT Token interceptor, 401 error status catched so redirect to /login"),this.sessionService.logout()),Object(A.a)(t))))}}return t.\u0275fac=function(e){return new(e||t)(a.Xb(d.a))},t.\u0275prov=a.Jb({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();var F=n("PCNd");let z=(()=>{class t{}return t.\u0275mod=a.Lb({type:t}),t.\u0275inj=a.Kb({factory:function(e){return new(e||t)},providers:[{provide:E.a,useClass:j,multi:!0},{provide:E.a,useClass:H,multi:!0},h],imports:[[w.c,E.c,F.a]]}),t})();var V=n("Cwn8"),B=n("lJxs");let W=(()=>{class t{constructor(t){this.http=t,this.log=f.a.create("LibelleService"),this.END_POINT="/api/libelles"}getLibelles(t){return this.log.data(`[HTTP] (GET) -> ${this.END_POINT}`),this.http.get(this.END_POINT,{headers:new E.e({"Content-Type":"application/json","Accept-Language":t})})}}return t.\u0275fac=function(e){return new(e||t)(a.Xb(E.b))},t.\u0275prov=a.Jb({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),U=(()=>{class t{constructor(t){this.libelleService=t}getTranslation(t){return this.libelleService.getLibelles(t).pipe(Object(B.a)((t=[])=>{const e={};return t.forEach(t=>{e[t.cle]=t.valeur,e[`${t.cle}._info`]=t.info}),e}))}}return t.\u0275fac=function(e){return new(e||t)(a.Xb(W))},t.\u0275prov=a.Jb({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();var q=n("lBUW"),G=n("3+fm"),J=n("14/Y"),Z=n("0j+H"),$=n("NTaR"),X=n("ZIcu"),K=n("BhQr"),Q=n("99Un"),tt=n("4Smk"),et=n("TGtj"),nt=n("qUUn");let it=(()=>{class t{}return t.\u0275mod=a.Lb({type:t}),t.\u0275inj=a.Kb({factory:function(e){return new(e||t)},imports:[[w.c,F.a,q.AuthModule,G.CompteModule,J.ContactModule,Z.DeclarationAccessModule,X.DpdModule,K.FaqModule,Q.HomeModule,tt.InscriptionModule,et.LegalsModule,nt.NewsModule,$.DemandeAccesModule]]}),t})(),at=(()=>{class t{constructor(t){}}return t.\u0275mod=a.Lb({type:t,bootstrap:[D]}),t.\u0275inj=a.Kb({factory:function(e){return new(e||t)(a.Xb(o.d))},providers:[{provide:s.c,useClass:V.a}],imports:[[p,z,it,F.a,s.d,r.b,o.b.forRoot({loader:{provide:o.a,useClass:U}})],o.b]}),t})();Object(a.U)(),i.c().bootstrapModule(at).catch(t=>console.log(t))},zaPX:function(t,e,n){"use strict";n.d(e,"a",function(){return a});var i=n("8Y7J");let a=(()=>{class t{constructor(){}get form(){return this._form}get numeroModele(){return this._dpd.numeroModele}get countries(){return this._countries}get mode(){return this._mode}get dpd(){return this._dpd}get user(){return this._user}get activities(){return this._activities}get preventLeave(){return this._preventLeave}get autocompleteCommuneTimeLimit(){return this._autocompleteCommuneTimeLimit}get autocompleteCommuneNbMax(){return this._autocompleteCommuneNbMax}get autocompleteDpdTimeLimit(){return this._autocompleteDpdTimeLimit}get autocompleteDpdNbMax(){return this._autocompleteDpdNbMax}get siteKey(){return this._siteKey}get qualifications(){return this._qualifications}get langues(){return this._langues}get lastSavedLocationsArrayRawValue(){return this._lastSavedLocationsArrayRawValue}get lastSavedWorkersArrayRawValue(){return this._lastSavedWorkersArrayRawValue}get workerIndex(){return this._workerIndex}get locationIndex(){return this._locationIndex}setForm(t){this._form=t}setUser(t){this._user=t}setDPD(t){this._dpd=t}setCountries(t){this._countries=t}setMode(t){this._mode=t}setActivities(t){this._activities=t}setPreventLeave(t){this._preventLeave=t}setAutocompleteCommuneTimeLimit(t){this._autocompleteCommuneTimeLimit=t}setAutocompleteCommuneNbMax(t){this._autocompleteCommuneNbMax=t}setAutocompleteDpdTimeLimit(t){this._autocompleteDpdTimeLimit=t}setAutocompleteDpdNbMax(t){this._autocompleteDpdNbMax=t}setSiteKey(t){this._siteKey=t}setQualifications(t){this._qualifications=t}setlangues(t){this._langues=t}setLastSavedLocationsArrayRawValue(t){this._lastSavedLocationsArrayRawValue=t}setlastSavedWorkersArrayRawValue(t){this._lastSavedWorkersArrayRawValue=t}setWorkerIndex(t){return this._workerIndex=t}setLocationIndex(t){return this._locationIndex=t}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=i.Jb({token:t,factory:t.\u0275fac,providedIn:"root"}),t})()},zfSa:function(t,e,n){"use strict";n.d(e,"a",function(){return i});var i=function(t){return t.MANDATAIRE="MANDATAIRE",t.ENTREPRISE="ENTREPRISE",t.DONNEUR_ORDRE="DONNEUR_ORDRE",t}({})},zn8P:function(t,e){function n(t){return Promise.resolve().then(function(){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e})}n.keys=function(){return[]},n.resolve=n,t.exports=n,n.id="zn8P"},zx2A:function(t,e,n){"use strict";n.d(e,"a",function(){return o}),n.d(e,"b",function(){return s}),n.d(e,"c",function(){return l});var i=n("7o/Q"),a=n("HDdC"),r=n("SeVD");class o extends i.a{constructor(t){super(),this.parent=t}_next(t){this.parent.notifyNext(t)}_error(t){this.parent.notifyError(t),this.unsubscribe()}_complete(){this.parent.notifyComplete(),this.unsubscribe()}}class s extends i.a{notifyNext(t){this.destination.next(t)}notifyError(t){this.destination.error(t)}notifyComplete(){this.destination.complete()}}function l(t,e){if(!e.closed)return t instanceof a.a?t.subscribe(e):Object(r.a)(t)(e)}},zx6S:function(t,e,n){!function(t){"use strict";var e={words:{ss:["sekunda","sekunde","sekundi"],m:["jedan minut","jedne minute"],mm:["minut","minute","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mesec","meseca","meseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(t,e){return 1===t?e[0]:t>=2&&t<=4?e[1]:e[2]},translate:function(t,n,i){var a=e.words[i];return 1===i.length?n?a[0]:a[1]:t+" "+e.correctGrammaticalCase(t,a)}};t.defineLocale("sr",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljak_utorak_sreda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sre._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedelju] [u] LT";case 3:return"[u] [sredu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010de u] LT",lastWeek:function(){return["[pro\u0161le] [nedelje] [u] LT","[pro\u0161log] [ponedeljka] [u] LT","[pro\u0161log] [utorka] [u] LT","[pro\u0161le] [srede] [u] LT","[pro\u0161log] [\u010detvrtka] [u] LT","[pro\u0161log] [petka] [u] LT","[pro\u0161le] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",ss:e.translate,m:e.translate,mm:e.translate,h:e.translate,hh:e.translate,d:"dan",dd:e.translate,M:"mesec",MM:e.translate,y:"godinu",yy:e.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("wd/R"))}}

Reference

http://blogs.wsj.com/cio/2013/10/08/adobe-source-code-leak-is-bad-news-for-u-s-government/

CWE Id540
WASC Id13
Source ID3
Medium (Medium)X-Frame-Options Header Not Set
Description

X-Frame-Options header is not included in the HTTP response to protect against 'ClickJacking' attacks.

URLhttps://www.sipsi.travail.gouv.fr
MethodGET
ParameterX-Frame-Options
URLhttps://www.sipsi.travail.gouv.fr/
MethodGET
ParameterX-Frame-Options
Instances2
Solution

Most modern Web browsers support the X-Frame-Options HTTP header. Ensure it's set on all web pages returned by your site (if you expect the page to be framed only by pages on your server (e.g. it's part of a FRAMESET) then you'll want to use SAMEORIGIN, otherwise if you never expect the page to be framed, you should use DENY. Alternatively consider implementing Content Security Policy's "frame-ancestors" directive.

Reference

https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Frame-Options

CWE Id1021
WASC Id15
Source ID3
Low (Medium)Cookie No HttpOnly Flag
Description

A cookie has been set without the HttpOnly flag, which means that the cookie can be accessed by JavaScript. If a malicious script can be run on this page then the cookie will be accessible and can be transmitted to another site. If this is a session cookie then session hijacking may be possible.

URLhttps://www.sipsi.travail.gouv.fr
MethodGET
ParameterdtCookie
EvidenceSet-Cookie: dtCookie
URLhttps://www.sipsi.travail.gouv.fr/assets/favicon/apple-icon-57x57.png
MethodGET
ParameterTS01fffb4c
EvidenceSet-Cookie: TS01fffb4c
URLhttps://www.sipsi.travail.gouv.fr/robots.txt
MethodGET
ParameterTS01fffb4c
EvidenceSet-Cookie: TS01fffb4c
URLhttps://www.sipsi.travail.gouv.fr/
MethodGET
ParameterdtCookie
EvidenceSet-Cookie: dtCookie
URLhttps://www.sipsi.travail.gouv.fr/
MethodGET
ParameterTS01fffb4c
EvidenceSet-Cookie: TS01fffb4c
URLhttps://www.sipsi.travail.gouv.fr/robots.txt
MethodGET
ParameterTS01fc06af
EvidenceSet-Cookie: TS01fc06af
URLhttps://www.sipsi.travail.gouv.fr
MethodGET
ParameterTS01fc06af
EvidenceSet-Cookie: TS01fc06af
URLhttps://www.sipsi.travail.gouv.fr/sitemap.xml
MethodGET
ParameterTS01fffb4c
EvidenceSet-Cookie: TS01fffb4c
URLhttps://www.sipsi.travail.gouv.fr/robots.txt
MethodGET
ParameterdtCookie
EvidenceSet-Cookie: dtCookie
URLhttps://www.sipsi.travail.gouv.fr/
MethodGET
ParameterTS01fc06af
EvidenceSet-Cookie: TS01fc06af
URLhttps://www.sipsi.travail.gouv.fr
MethodGET
ParameterTS01fffb4c
EvidenceSet-Cookie: TS01fffb4c
Instances11
Solution

Ensure that the HttpOnly flag is set for all cookies.

Reference

https://owasp.org/www-community/HttpOnly

CWE Id1004
WASC Id13
Source ID3
Low (Medium)Cookie without SameSite Attribute
Description

A cookie has been set without the SameSite attribute, which means that the cookie can be sent as a result of a 'cross-site' request. The SameSite attribute is an effective counter measure to cross-site request forgery, cross-site script inclusion, and timing attacks.

URLhttps://www.sipsi.travail.gouv.fr/robots.txt
MethodGET
ParameterdtCookie
EvidenceSet-Cookie: dtCookie
URLhttps://www.sipsi.travail.gouv.fr
MethodGET
ParameterTS01fffb4c
EvidenceSet-Cookie: TS01fffb4c
URLhttps://www.sipsi.travail.gouv.fr/robots.txt
MethodGET
ParameterTS01fffb4c
EvidenceSet-Cookie: TS01fffb4c
URLhttps://www.sipsi.travail.gouv.fr
MethodGET
ParameterTS01fc06af
EvidenceSet-Cookie: TS01fc06af
URLhttps://www.sipsi.travail.gouv.fr/
MethodGET
ParameterTS01fc06af
EvidenceSet-Cookie: TS01fc06af
URLhttps://www.sipsi.travail.gouv.fr/sitemap.xml
MethodGET
ParameterTS01fffb4c
EvidenceSet-Cookie: TS01fffb4c
URLhttps://www.sipsi.travail.gouv.fr/
MethodGET
ParameterTS01fffb4c
EvidenceSet-Cookie: TS01fffb4c
URLhttps://www.sipsi.travail.gouv.fr/
MethodGET
ParameterdtCookie
EvidenceSet-Cookie: dtCookie
URLhttps://www.sipsi.travail.gouv.fr/assets/favicon/apple-icon-57x57.png
MethodGET
ParameterTS01fffb4c
EvidenceSet-Cookie: TS01fffb4c
URLhttps://www.sipsi.travail.gouv.fr/robots.txt
MethodGET
ParameterTS01fc06af
EvidenceSet-Cookie: TS01fc06af
URLhttps://www.sipsi.travail.gouv.fr
MethodGET
ParameterdtCookie
EvidenceSet-Cookie: dtCookie
Instances11
Solution

Ensure that the SameSite attribute is set to either 'lax' or ideally 'strict' for all cookies.

Reference

https://tools.ietf.org/html/draft-ietf-httpbis-cookie-same-site

CWE Id1275
WASC Id13
Source ID3
Low (Medium)Cookie Without Secure Flag
Description

A cookie has been set without the secure flag, which means that the cookie can be accessed via unencrypted connections.

URLhttps://www.sipsi.travail.gouv.fr/robots.txt
MethodGET
ParameterdtCookie
EvidenceSet-Cookie: dtCookie
URLhttps://www.sipsi.travail.gouv.fr/robots.txt
MethodGET
ParameterTS01fffb4c
EvidenceSet-Cookie: TS01fffb4c
URLhttps://www.sipsi.travail.gouv.fr/
MethodGET
ParameterTS01fffb4c
EvidenceSet-Cookie: TS01fffb4c
URLhttps://www.sipsi.travail.gouv.fr
MethodGET
ParameterdtCookie
EvidenceSet-Cookie: dtCookie
URLhttps://www.sipsi.travail.gouv.fr/robots.txt
MethodGET
ParameterTS01fc06af
EvidenceSet-Cookie: TS01fc06af
URLhttps://www.sipsi.travail.gouv.fr/sitemap.xml
MethodGET
ParameterTS01fffb4c
EvidenceSet-Cookie: TS01fffb4c
URLhttps://www.sipsi.travail.gouv.fr/
MethodGET
ParameterTS01fc06af
EvidenceSet-Cookie: TS01fc06af
URLhttps://www.sipsi.travail.gouv.fr
MethodGET
ParameterTS01fffb4c
EvidenceSet-Cookie: TS01fffb4c
URLhttps://www.sipsi.travail.gouv.fr/assets/favicon/apple-icon-57x57.png
MethodGET
ParameterTS01fffb4c
EvidenceSet-Cookie: TS01fffb4c
URLhttps://www.sipsi.travail.gouv.fr/
MethodGET
ParameterdtCookie
EvidenceSet-Cookie: dtCookie
URLhttps://www.sipsi.travail.gouv.fr
MethodGET
ParameterTS01fc06af
EvidenceSet-Cookie: TS01fc06af
Instances11
Solution

Whenever a cookie contains sensitive information or is a session token, then it should always be passed using an encrypted channel. Ensure that the secure flag is set for cookies containing such sensitive information.

Reference

https://owasp.org/www-project-web-security-testing-guide/v41/4-Web_Application_Security_Testing/06-Session_Management_Testing/02-Testing_for_Cookies_Attributes.html

CWE Id614
WASC Id13
Source ID3
Low (Low)Dangerous JS Functions
Description

A dangerous JS function seems to be in use that would leave the site vulnerable.

URLhttps://www.sipsi.travail.gouv.fr/main-es2015.5ee986c60d05e7fefe51.js
MethodGET
EvidencebypassSecurityTrustHtml
Instances1
Solution

See the references for security advice on the use of these functions.

Reference

https://angular.io/guide/security

CWE Id749
Source ID3
Low (Medium)Permissions Policy Header Not Set
Description

Permissions Policy Header is an added layer of security that helps to restrict from unauthorized access or usage of browser/client features by web resources. This policy ensures the user privacy by limiting or specifying the features of the browsers can be used by the web resources. Permissions Policy provides a set of standard HTTP headers that allow website owners to limit which features of browsers can be used by the page such as camera, microphone, location, full screen etc.

URLhttps://www.sipsi.travail.gouv.fr/
MethodGET
URLhttps://www.sipsi.travail.gouv.fr/polyfills-es5.cbeb8c34beb6ff35f57f.js
MethodGET
URLhttps://www.sipsi.travail.gouv.fr/main-es2015.5ee986c60d05e7fefe51.js
MethodGET
URLhttps://www.sipsi.travail.gouv.fr
MethodGET
URLhttps://www.sipsi.travail.gouv.fr/runtime-es5.f81ca6ec93d08e20e19a.js
MethodGET
URLhttps://www.sipsi.travail.gouv.fr/runtime-es2015.f81ca6ec93d08e20e19a.js
MethodGET
URLhttps://www.sipsi.travail.gouv.fr/ruxitagentjs_ICA2SVfqru_10213210506081349.js
MethodGET
URLhttps://www.sipsi.travail.gouv.fr/polyfills-es2015.1764998744653a3e1a7d.js
MethodGET
Instances8
Solution

Ensure that your web server, application server, load balancer, etc. is configured to set the Permissions-Policy header.

Reference

https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Feature-Policy

https://developers.google.com/web/updates/2018/06/feature-policy

https://scotthelme.co.uk/a-new-security-header-feature-policy/

https://w3c.github.io/webappsec-feature-policy/

https://www.smashingmagazine.com/2018/12/feature-policy/

CWE Id693
WASC Id15
Source ID3
Low (High)Strict-Transport-Security Header Not Set
Description

HTTP Strict Transport Security (HSTS) is a web security policy mechanism whereby a web server declares that complying user agents (such as a web browser) are to interact with it using only secure HTTPS connections (i.e. HTTP layered over TLS/SSL). HSTS is an IETF standards track protocol and is specified in RFC 6797.

URLhttps://www.sipsi.travail.gouv.fr/ruxitagentjs_ICA2SVfqru_10213210506081349.js
MethodGET
Instances1
Solution

Ensure that your web server, application server, load balancer, etc. is configured to enforce Strict-Transport-Security.

Reference

https://cheatsheetseries.owasp.org/cheatsheets/HTTP_Strict_Transport_Security_Cheat_Sheet.html

https://owasp.org/www-community/Security_Headers

http://en.wikipedia.org/wiki/HTTP_Strict_Transport_Security

http://caniuse.com/stricttransportsecurity

http://tools.ietf.org/html/rfc6797

CWE Id319
WASC Id15
Source ID3
Low (Medium)X-Content-Type-Options Header Missing
Description

The Anti-MIME-Sniffing header X-Content-Type-Options was not set to 'nosniff'. This allows older versions of Internet Explorer and Chrome to perform MIME-sniffing on the response body, potentially causing the response body to be interpreted and displayed as a content type other than the declared content type. Current (early 2014) and legacy versions of Firefox will use the declared content type (if one is set), rather than performing MIME-sniffing.

URLhttps://www.sipsi.travail.gouv.fr/ruxitagentjs_ICA2SVfqru_10213210506081349.js
MethodGET
ParameterX-Content-Type-Options
Instances1
Solution

Ensure that the application/web server sets the Content-Type header appropriately, and that it sets the X-Content-Type-Options header to 'nosniff' for all web pages.

If possible, ensure that the end user uses a standards-compliant and modern web browser that does not perform MIME-sniffing at all, or that can be directed by the web application/web server to not perform MIME-sniffing.

Other information

This issue still applies to error type pages (401, 403, 500, etc.) as those pages are often still affected by injection issues, in which case there is still concern for browsers sniffing pages away from their actual content type.

At "High" threshold this scan rule will not alert on client or server error responses.

Reference

http://msdn.microsoft.com/en-us/library/ie/gg622941%28v=vs.85%29.aspx

https://owasp.org/www-community/Security_Headers

CWE Id693
WASC Id15
Source ID3
Informational (Medium)Base64 Disclosure
Description

Base64 encoded data was disclosed by the application/web server. Note: in the interests of performance not all base64 strings in the response were analyzed individually, the entire response should be looked at by the analyst/security team/developer(s).

URLhttps://www.sipsi.travail.gouv.fr/main-es2015.5ee986c60d05e7fefe51.js
MethodGET
EvidenceR0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=
URLhttps://www.sipsi.travail.gouv.fr
MethodGET
Evidence/ruxitagentjs_ICA2SVfqru_10213210506081349
URLhttps://www.sipsi.travail.gouv.fr/
MethodGET
Evidence/ruxitagentjs_ICA2SVfqru_10213210506081349
Instances3
Solution

Manually confirm that the Base64 data does not leak sensitive information, and that the data cannot be aggregated/used to exploit other vulnerabilities.

Other information

GIF89a\x0001\x0000\x0001\x0000\x0000�\x0000,\x0000\x0000\x0000\x0000\x0001\x0000\x0001\x0000\x0000\x0002\x0000;

Reference

http://projects.webappsec.org/w/page/13246936/Information%20Leakage

CWE Id200
WASC Id13
Source ID3
Informational (Low)Charset Mismatch (Header Versus Meta Charset)
Description

This check identifies responses where the HTTP Content-Type header declares a charset different from the charset defined by the body of the HTML or XML. When there's a charset mismatch between the HTTP header and content body Web browsers can be forced into an undesirable content-sniffing mode to determine the content's correct character set.

An attacker could manipulate content on the page to be interpreted in an encoding of their choice. For example, if an attacker can control content at the beginning of the page, they could inject script using UTF-7 encoded text and manipulate some browsers into interpreting that text.

URLhttps://www.sipsi.travail.gouv.fr
MethodGET
URLhttps://www.sipsi.travail.gouv.fr/
MethodGET
Instances2
Solution

Force UTF-8 for all text content in both the HTTP header and meta tags in HTML or encoding declarations in XML.

Other information

There was a charset mismatch between the HTTP Header and the META charset encoding declaration: [ISO-8859-1] and [utf-8] do not match.

Reference

http://code.google.com/p/browsersec/wiki/Part2#Character_set_handling_and_detection

CWE Id436
WASC Id15
Source ID3
Informational (Low)Information Disclosure - Suspicious Comments
Description

The response appears to contain suspicious comments which may help an attacker. Note: Matches made within script blocks or files are against the entire content not only comments.

URLhttps://www.sipsi.travail.gouv.fr/ruxitagentjs_ICA2SVfqru_10213210506081349.js
MethodGET
EvidenceDb
URLhttps://www.sipsi.travail.gouv.fr/polyfills-es5.cbeb8c34beb6ff35f57f.js
MethodGET
EvidenceSelect
URLhttps://www.sipsi.travail.gouv.fr/polyfills-es2015.1764998744653a3e1a7d.js
MethodGET
Evidenceselect
URLhttps://www.sipsi.travail.gouv.fr/main-es2015.5ee986c60d05e7fefe51.js
MethodGET
Evidencebug
URLhttps://www.sipsi.travail.gouv.fr/ruxitagentjs_ICA2SVfqru_10213210506081349.js
MethodGET
EvidenceSELECT
URLhttps://www.sipsi.travail.gouv.fr/ruxitagentjs_ICA2SVfqru_10213210506081349.js
MethodGET
Evidencefrom
Instances6
Solution

Remove all comments that return information that may help an attacker and fix any underlying problems they refer to.

Other information

The following pattern was used: \bDB\b and was detected 23 times, the first in the element starting with: "function Db(p,y){for(var F,ua=[],sb=2;sb<arguments.length;sb++)ua[sb-2]=arguments[sb];return void 0!==Function.prototype.bind&&Q", see evidence field for the suspicious comment/snippet.

Reference

CWE Id200
WASC Id13
Source ID3
Informational (Low)Loosely Scoped Cookie
Description

Cookies can be scoped by domain or path. This check is only concerned with domain scope.The domain scope applied to a cookie determines which domains can access it. For example, a cookie can be scoped strictly to a subdomain e.g. www.nottrusted.com, or loosely scoped to a parent domain e.g. nottrusted.com. In the latter case, any subdomain of nottrusted.com can access the cookie. Loosely scoped cookies are common in mega-applications like google.com and live.com. Cookies set from a subdomain like app.foo.bar are transmitted only to that domain by the browser. However, cookies scoped to a parent-level domain may be transmitted to the parent, or any subdomain of the parent.

URLhttps://www.sipsi.travail.gouv.fr/robots.txt
MethodGET
URLhttps://www.sipsi.travail.gouv.fr
MethodGET
URLhttps://www.sipsi.travail.gouv.fr/
MethodGET
Instances3
Solution

Always scope cookies to a FQDN (Fully Qualified Domain Name).

Other information

The origin domain used for comparison was:

www.sipsi.travail.gouv.fr

dtCookie=v_4_srv_9_sn_BA3A3602DB58AD3C33C9AD6E740DE55B_perc_100000_ol_0_mul_1_app-3Aea7c4b59f27d43eb_1

TS01fc06af=012f5c94eac00b3d835df440d3cb10c237400ce4f56111e83c738c8030c4510e2b968e8b07311a5c82e4590a1d1db7897def41cb43415968466764cebcc15258c4993eeca2

Reference

https://tools.ietf.org/html/rfc6265#section-4.1

https://owasp.org/www-project-web-security-testing-guide/v41/4-Web_Application_Security_Testing/06-Session_Management_Testing/02-Testing_for_Cookies_Attributes.html

http://code.google.com/p/browsersec/wiki/Part2#Same-origin_policy_for_cookies

CWE Id565
WASC Id15
Source ID3
Informational (Medium)Modern Web Application
Description

The application appears to be a modern web application. If you need to explore it automatically then the Ajax Spider may well be more effective than the standard one.

URLhttps://www.sipsi.travail.gouv.fr/polyfills-es5.cbeb8c34beb6ff35f57f.js
MethodGET
Evidence<script>
URLhttps://www.sipsi.travail.gouv.fr/polyfills-es2015.1764998744653a3e1a7d.js
MethodGET
Evidence<script>
URLhttps://www.sipsi.travail.gouv.fr/
MethodGET
Evidence<script type="text/javascript" src="/ruxitagentjs_ICA2SVfqru_10213210506081349.js" data-dtconfig="app=ea7c4b59f27d43eb|rcdec=1209600000|featureHash=ICA2SVfqru|rdnt=1|uxrgce=1|srcss=1|bp=2|srmcrv=10|cuc=bkulvisy|mel=100000|dpvc=1|ssv=4|lastModification=1630308962910|dtVersion=10213210506081349|srmcrl=1|tp=500,50,0,1|uxdcw=1500|vs=2|agentUri=/ruxitagentjs_ICA2SVfqru_10213210506081349.js|reportUrl=/rb_ae8c4144-addf-4535-803a-23b7bba15d1e|rid=RID_2418|rpid=884192613|domain=travail.gouv.fr"></script>
URLhttps://www.sipsi.travail.gouv.fr/
MethodGET
Evidence<script type="text/javascript" src="/ruxitagentjs_ICA2SVfqru_10213210506081349.js" data-dtconfig="app=ea7c4b59f27d43eb|rcdec=1209600000|featureHash=ICA2SVfqru|rdnt=1|uxrgce=1|srcss=1|bp=2|srmcrv=10|cuc=bkulvisy|mel=100000|dpvc=1|ssv=4|lastModification=1630308962910|dtVersion=10213210506081349|srmcrl=1|tp=500,50,0,1|uxdcw=1500|vs=2|agentUri=/ruxitagentjs_ICA2SVfqru_10213210506081349.js|reportUrl=/rb_ae8c4144-addf-4535-803a-23b7bba15d1e|rid=RID_2418|rpid=298830257|domain=travail.gouv.fr"></script>
URLhttps://www.sipsi.travail.gouv.fr
MethodGET
Evidence<script type="text/javascript" src="/ruxitagentjs_ICA2SVfqru_10213210506081349.js" data-dtconfig="app=ea7c4b59f27d43eb|rcdec=1209600000|featureHash=ICA2SVfqru|rdnt=1|uxrgce=1|srcss=1|bp=2|srmcrv=10|cuc=bkulvisy|mel=100000|dpvc=1|ssv=4|lastModification=1630308962910|dtVersion=10213210506081349|srmcrl=1|tp=500,50,0,1|uxdcw=1500|vs=2|agentUri=/ruxitagentjs_ICA2SVfqru_10213210506081349.js|reportUrl=/rb_ae8c4144-addf-4535-803a-23b7bba15d1e|rid=RID_2418|rpid=1527551445|domain=travail.gouv.fr"></script>
URLhttps://www.sipsi.travail.gouv.fr/ruxitagentjs_ICA2SVfqru_10213210506081349.js
MethodGET
Evidence<script id="dtjsagentdw" type="text/javascript" src="'+ug+'">
Instances6
Solution

This is an informational alert and so no changes are required.

Other information

No links have been found while there are scripts, which is an indication that this is a modern web application.

Reference

Source ID3
Informational (Medium)Non-Storable Content
Description

The response contents are not storable by caching components such as proxy servers. If the response does not contain sensitive, personal or user-specific information, it may benefit from being stored and cached, to improve performance.

URLhttps://www.sipsi.travail.gouv.fr/
MethodGET
Evidenceno-store
URLhttps://www.sipsi.travail.gouv.fr/sitemap.xml
MethodGET
Evidenceno-store
URLhttps://www.sipsi.travail.gouv.fr/robots.txt
MethodGET
Evidenceno-store
URLhttps://www.sipsi.travail.gouv.fr/assets/favicon/apple-icon-144x144.png
MethodGET
Evidenceno-store
URLhttps://www.sipsi.travail.gouv.fr/assets/favicon/apple-icon-114x114.png
MethodGET
Evidenceno-store
URLhttps://www.sipsi.travail.gouv.fr/assets/favicon/apple-icon-57x57.png
MethodGET
Evidenceno-store
URLhttps://www.sipsi.travail.gouv.fr/assets/favicon/apple-icon-76x76.png
MethodGET
Evidenceno-store
URLhttps://www.sipsi.travail.gouv.fr/assets/favicon/apple-icon-120x120.png
MethodGET
Evidenceno-store
URLhttps://www.sipsi.travail.gouv.fr
MethodGET
Evidenceno-store
URLhttps://www.sipsi.travail.gouv.fr/assets/favicon/apple-icon-60x60.png
MethodGET
Evidenceno-store
URLhttps://www.sipsi.travail.gouv.fr/assets/favicon/apple-icon-72x72.png
MethodGET
Evidenceno-store
Instances11
Solution

The content may be marked as storable by ensuring that the following conditions are satisfied:

The request method must be understood by the cache and defined as being cacheable ("GET", "HEAD", and "POST" are currently defined as cacheable)

The response status code must be understood by the cache (one of the 1XX, 2XX, 3XX, 4XX, or 5XX response classes are generally understood)

The "no-store" cache directive must not appear in the request or response header fields

For caching by "shared" caches such as "proxy" caches, the "private" response directive must not appear in the response

For caching by "shared" caches such as "proxy" caches, the "Authorization" header field must not appear in the request, unless the response explicitly allows it (using one of the "must-revalidate", "public", or "s-maxage" Cache-Control response directives)

In addition to the conditions above, at least one of the following conditions must also be satisfied by the response:

It must contain an "Expires" header field

It must contain a "max-age" response directive

For "shared" caches such as "proxy" caches, it must contain a "s-maxage" response directive

It must contain a "Cache Control Extension" that allows it to be cached

It must have a status code that is defined as cacheable by default (200, 203, 204, 206, 300, 301, 404, 405, 410, 414, 501).

Reference

https://tools.ietf.org/html/rfc7234

https://tools.ietf.org/html/rfc7231

http://www.w3.org/Protocols/rfc2616/rfc2616-sec13.html (obsoleted by rfc7234)

CWE Id524
WASC Id13
Source ID3
Informational (Low)Timestamp Disclosure - Unix
Description

A timestamp was disclosed by the application/web server - Unix

URLhttps://www.sipsi.travail.gouv.fr/assets/favicon/apple-icon-57x57.png
MethodGET
Evidence481715690
URLhttps://www.sipsi.travail.gouv.fr/sitemap.xml
MethodGET
Evidence1969910392
URLhttps://www.sipsi.travail.gouv.fr/
MethodGET
Evidence298830257
URLhttps://www.sipsi.travail.gouv.fr/
MethodGET
Evidence1209600000
URLhttps://www.sipsi.travail.gouv.fr/assets/favicon/apple-icon-57x57.png
MethodGET
Evidence1548233249
URLhttps://www.sipsi.travail.gouv.fr/
MethodGET
Evidence884192613
URLhttps://www.sipsi.travail.gouv.fr
MethodGET
Evidence483383624
URLhttps://www.sipsi.travail.gouv.fr/
MethodGET
Evidence298728346
URLhttps://www.sipsi.travail.gouv.fr
MethodGET
Evidence1527551445
URLhttps://www.sipsi.travail.gouv.fr/robots.txt
MethodGET
Evidence1960652950
URLhttps://www.sipsi.travail.gouv.fr
MethodGET
Evidence1209600000
URLhttps://www.sipsi.travail.gouv.fr/
MethodGET
Evidence55014110
Instances12
Solution

Manually confirm that the timestamp data is not sensitive, and that the data cannot be aggregated to disclose exploitable patterns.

Other information

481715690, which evaluates to: 1985-04-07 09:54:50

Reference

http://projects.webappsec.org/w/page/13246936/Information%20Leakage

CWE Id200
WASC Id13
Source ID3